#mainimage {
background-image: url("../image/top/mainimage.jpg");
background-size: cover;
background-position: center center;
display: block;
width: 100%;
height: 700px;
position: relative;
z-index: 1;
}
#mainimage:before {
width: 100%;
height: 100%;
content: '';
position: absolute;
top: 0;
left: 0;
opacity: 1;
background-image: url(../image/dot.png);
background-size: 2px auto;
z-index: 11;
background-color: rgba(0,0,0,0.1);
}
#mainimage .box {
position: relative;
top: 53%;
left: 50%;
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
z-index: 15;
}
#mainimage h1 {
position: relative;
color: #FFF;
font-family: lxgw-wenkai-mono-tc, sans-serif;
font-weight: 700;
font-style: normal;
font-size: clamp(0.813rem, -0.278rem + 5.45vw, 3.813rem);
line-height: 1.8em;
text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
letter-spacing: 0.1em;
}
#mainimage h1 span {
vertical-align:-15%;
}
#mainimage h1 br {
display: none;
}
#mainimage p {
position: relative;
color: #FFF;
font-family: longhand-lp, sans-serif;
font-weight: 400;
font-style: normal;
font-size: clamp(0.813rem, 0.176rem + 3.18vw, 2.563rem);
}

#top {
}
#top h3 {
font-family: shippori-mincho, sans-serif;
font-weight: 600;
font-style: normal;
font-size: clamp(0.813rem, 0.517rem + 1.48vw, 1.625rem);
line-height: 1.5em;
margin: 0px auto 1.5em auto;
}
#top h3 b {
font-family: longhand-lp, sans-serif;
font-weight: 400;
font-style: normal;
font-size: clamp(0.813rem, -0.256rem + 5.34vw, 3.75rem);
line-height: 1.2em;
color: #314464;
}
#top h4 {
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 700;
font-style: normal;
font-size: clamp(0.813rem, 0.517rem + 1.48vw, 1.625rem);
line-height: 1.5em;
margin: 0px auto 1.5em auto;
}
#top p {
color: #4f4f4f;
font-size: clamp(0.813rem, 0.699rem + 0.57vw, 1.125rem);
line-height: 1.5em;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 500;
font-style: normal;
margin: 0px auto 1em auto;
}
#top p.bt {
font-family: shippori-mincho, sans-serif;
font-weight: 400;
font-style: normal;
font-size: clamp(0.813rem, 0.563rem + 1.25vw, 1.5rem);
line-height: 1.5em;
width: 260px;
margin: 0px auto 0 auto;
height: auto;
}
#top p.bt a {
color: #FFF;
background-color: #830324;
display: block;
border-radius: 100vh;
text-align: center;
text-decoration: none;
padding: 0.2em 0 0.3em 0;
position: relative;
}
#top p.bt a:after {
content: '';
box-sizing: border-box;
display: inline-block;
position: absolute;
width: 10px;
height: 10px;
border-style: solid;
border-width: 3px 3px 0 0;
border-color: #aaaaaa;
transform: rotate(45deg);
top: 38%;
right: 7%;
}
#top p.bt a:hover {
background-color: #916691;
}
#top p.bt a:hover:after {
right: 6%;
border-color: #FFF;
}

#copy {
padding: 70px 1em 70px 1em;
}
#copy h2 {
font-family: ryo-display-plusn, serif;
font-weight: 600;
font-style: normal;
font-size: clamp(0.813rem, 0.426rem + 1.93vw, 1.875rem);
line-height: 1.8em;
position: relative;
margin: 0px auto 1em auto;
}
#copy h2:after {
content: '';
display: block;
width: 100px;
height: 3px;
position: relative;
background-color: #632d60;
margin: 0.5em auto 0 auto;
}
#copy p {
font-family: shippori-mincho, sans-serif;
font-weight: 400;
font-style: normal;
font-size: clamp(0.813rem, 0.653rem + 0.8vw, 1.25rem);
line-height: 1.8em;
}

/*********** service **************/
#service {
background-color: #f0eff9;
padding: 70px 1em 70px 1em;
}
#service dl {
margin: 80px auto 0 auto;
max-width: 1200px;
text-align: left;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
box-sizing: border-box;
}
#service dd {
width: 47%;
max-width: 580px;
margin-bottom: 80px;
}
#service dd h5 {
color: #9e9e9e;
font-family: shippori-mincho, "Noto Serif JP", serif !important;
font-weight: 600;
font-style: normal;
font-size: clamp(0.813rem, 0.608rem + 1.02vw, 1.375rem);
line-height: 1.8em;
margin: 0 0 1.5em 0;
}
#service dd h5 b {
font-family: shippori-mincho, "Noto Serif JP", serif !important;
font-size: clamp(0.813rem, 0.426rem + 1.93vw, 1.875rem);
line-height: 1.2em;
color: #000;
}
#service dd h5:after {
content: '';
display: block;
width: 100px;
height: 3px;
position: relative;
background-color: #632d60;
margin: 1em auto 0 0;
}
#service dd img {
width: 100%;
height: auto;
}
#service dd p {
font-family: shippori-mincho, "Noto Serif JP", serif !important;
font-weight: 600;
font-style: normal;
font-size: clamp(0.813rem, 0.699rem + 0.57vw, 1.05rem);
line-height: 1.8em;
display: block;
height: 8em;
}
#service dd p.bt {
margin: 0px 0 0 auto;
}
@media screen and (min-width: 0px) and (max-width: 800px) {
#service dd p {
height: auto;
}
}
/***************** choose **************/
#choose {
padding: 70px 1em 70px 1em;
}
#choose h4 {
margin: 3em auto 1em auto;
}
#choose p {
line-height: 2em;
margin: 0px auto 3em auto;
}
/***************** project **************/
#project {
width: 90%;
padding: 0px auto 70px auto;
margin: 150px auto 0 auto;
}
#project ul {
margin: 40px auto 40px auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#project ul:after {
display: block;
content:"";
width: 24%;
}
#project ul li {
display: block;
line-height: 0;
width: 24%;
margin-bottom: 1.5%;
}
#project .image {
position: relative;
overflow: hidden;
width: 100%;
text-align: center;
margin: 0px auto 0 auto;
display: block;
height: 18vw;
}
#project .image img {
width: 100%;
height: 18vw;
object-fit: cover;
aspect-ratio: 4 / 3;
object-position: 50% 50%;
}
#project .hover-mask {
align-items: center;
background: rgba(0, 0, 0, .5);
bottom: 0;
display: flex;
height: auto;
justify-content: center; 
left: 0;
opacity: 0;
position: absolute;
right: 0;
top: 0;
transition: opacity .6s ease;
width: 100%;
}
#project .hover-mask:hover {
opacity: 1;
}
#project .hover-mask p {
width: 80%;
color: #fff;
font-family: shippori-mincho, sans-serif;
font-weight: 600;
font-style: normal;
font-size: clamp(0.813rem, 0.653rem + 0.8vw, 1.25rem);
line-height: 1.8em;
}
/***************** news **************/
#news {
background-color: #f9f2f4;
padding: 70px 1em 70px 1em;
margin: 100px auto 0 auto;
}
#news ul {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
max-width: 1200px;
width: 90%;
margin: 0px auto 40px auto;
}
#news ul li {
font-family: shippori-mincho, sans-serif;
font-weight: 400;
font-style: normal;
border-bottom: 1px solid #cecece;
width: 100%;
text-align: left;
padding: 0.8em 1em 0.8em 0.5em;
}
#news ul li span {}
#news ul li span:nth-child(1) {
color: #8c8c8c;
margin-right: 2em;
}
#news ul li span:nth-child(2) {

}
#news ul li a {
color: #353535;
text-decoration: none;
}
#news ul li a:hover {
color: #314464;
text-decoration: underline;
}
/***************** company **************/
#company {
margin: 100px auto 100px auto;
}
#company ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
max-width: 1200px;
width: 80%;
margin: 0px auto 0 auto;
}
#company ul li {}
#company img {
border: 1px solid #cccccc;
}
#company img:hover {
border: 1px solid #830324;
}








