#mainimage {
background-image: url("../image/top/mainimage_sp.jpg");
background-size: cover;
background-position: center center;
display: block;
width: 100%;
height: 250px;
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: 26px;
line-height: 1.3em;
text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
letter-spacing: 0.1em;
padding: 0 2em 0 2em;
text-align: center;
}
#mainimage h1 span {
vertical-align:-20%;
margin-left: -0.3em;
display: none;
}
#mainimage p {
position: relative;
color: #FFF;
font-family: longhand-lp, sans-serif;
font-weight: 400;
font-style: normal;
font-size: 15px;
text-align: center;
}

#top {
}
#top h3 {
font-family: shippori-mincho, sans-serif;
font-weight: 600;
font-style: normal;
font-size: 18px;
line-height: 1.3em;
margin: 0px auto 1.5em auto;
text-align: center;
}
#top h3 b {
font-family: longhand-lp, sans-serif;
font-weight: 400;
font-style: normal;
font-size: 40px;
line-height: 1.2em;
color: #314464;
}
#top h4 {
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 700;
font-style: normal;
font-size: 18px;
line-height: 1.3em;
margin: 0px auto 1.5em auto;
text-align: center;
}
#top p {
color: #4f4f4f;
font-size: 16px;
line-height: 1.3em;
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: 14px;
line-height: 1.3em;
width: 80%;
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.7em 0 0.8em 0;
position: relative;
}
#top p.bt a:after {
content: '';
box-sizing: border-box;
display: inline-block;
position: absolute;
width: 6px;
height: 6px;
border-style: solid;
border-width: 1px 1px 0 0;
border-color: #aaaaaa;
transform: rotate(45deg);
top: 39%;
right: 5%;
}
#top p.bt a:hover {
background-color: #916691;
}
#top p.bt a:hover:after {
right: 6%;
border-color: #FFF;
}

#copy {
padding: 2em 1em 2em 1em;
}
#copy h2 {
font-family: ryo-display-plusn, serif;
font-weight: 600;
font-style: normal;
font-size: 20px;
line-height: 1.3em;
position: relative;
margin: 0px auto 1em auto;
text-align: center;
}
#copy h2:after {
content: '';
display: block;
width: 50%;
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: 16px;
line-height: 1.3em;
}

/*********** service **************/
#service {
background-color: #f0eff9;
padding: 2em 1em 2em 1em;
}
#service dl {
margin: 20px auto 0 auto;
text-align: left;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
box-sizing: border-box;
}
#service dd {
width: 90%;
margin: 0px auto 40px auto;
}
#service dd h5 {
color: #9e9e9e;
font-family: shippori-mincho, "Noto Serif JP", serif !important;
font-weight: 600;
font-style: normal;
font-size: 14px;
line-height: 1.5em;
margin: 0 0 1.5em 0;
}
#service dd h5 b {
font-size: 18px;
line-height: 1.2em;
color: #000;
}
#service dd h5:after {
content: '';
display: block;
width: 8em;
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: 14px;
line-height: 1.3em;
display: block;
}
#service dd p.bt {
margin: 0px auto 0 auto;
}

/***************** choose **************/
#choose {
padding: 2em 1em 2em 1em;
}
#choose h4 {
margin: 2em auto 1em auto;
}
#choose p {
line-height: 1.5em;
margin: 0px auto 2em auto;
}
/***************** project **************/
#project {
width: 90%;
padding: 0px auto 0px auto;
margin: 2em auto 0 auto;
}
#project ul {
margin: 30px auto 0px auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#project ul:after {
display: block;
content:"";
width: 48%;
}
#project ul li {
display: block;
line-height: 0;
width: 48%;
margin-bottom: 3%;
}
#project .image {
cursor: pointer;
position: relative;
width: 100%;
}
#project .image img {
height: auto;
width: 100%;
}
#project .hover-mask {
height: auto;
width: 100%;
}
#project .hover-mask p {
width: 100%;
color: #000;
font-family: shippori-mincho, sans-serif;
font-weight: 600;
font-style: normal;
font-size: 15px;
line-height: 1.3em;
text-decoration: none;
padding: 0.5em 0 0 0;
}
#project a {
text-decoration: none;
}
/***************** news **************/
#news {
background-color: #f9f2f4;
padding: 2em 1em 2em 1em;
margin: 50px auto 0 auto;
}
#news ul {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
width: 100%;
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;
display: block;
font-size: 14px;
line-height: 1.3em;
}
#news ul li span:nth-child(2) {
font-size: 16px;
line-height: 1.3em;
}
#news ul li a {
color: #353535;
text-decoration: none;
}
#news ul li a:hover {
color: #314464;
text-decoration: underline;
}
/***************** company **************/
#company {
margin: 40px auto 40px auto;
}
#company ul {
width: 80%;
margin: 0px auto 0 auto;
}
#company ul li {
line-height: 0;
margin-bottom: 1em;
}
#company img {
border: 1px solid #cccccc;
}
#company img:hover {
border: 1px solid #830324;
}








