#mit_header{
height: 60px;
}

#contentarea{
width: 100%;
margin: 0 auto;
color: #555;
padding: 0; 
font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
}

.bg-slider{
width: 100%;
height: calc(100vh - 60px);
background-position:center center;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}

.bg-slider::after{
content: '';
background-color: rgba(0,0,0,.4);
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}

.bg-slider_content{
width: 100%;
z-index: 10;
text-align: center;
}

.bg-slider_content img{
width: auto;
max-width: 60vw;
height: auto;
max-height: 70vh;
margin: 0 auto;
}

#maincontents{
width: 100%;
margin: 0 auto;
padding: 100px 0 0;
color: #555;
}

#maincontents .about{
width: 100%;
margin: 0 auto;
}

#maincontents .about h1{
color: #4fa2c2;
font-size: 36px;
line-height: 1em;
text-align: center;
display: block;
position: relative;
margin: 0 auto 50px;
padding: 0 5%;
font-weight: normal;
}

#maincontents .about h1 span{
display: block;
margin: 1em auto 0;
color: #555;
font-size: 14px;
line-height: 1em;
}

#maincontents .about h1:before{
content: '';
position: absolute;
left: 50%;
bottom: -20px;
display: inline-block;
width: 50px;
height: 2px;
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translate(-50%);
background: #4fa2c2;
}

#maincontents .about h2{
color: #4fa2c2;
font-size: 28px;
line-height: 1.6em;
text-align: center;
margin: 0 auto;
font-weight: normal;
padding: 0 5%;
}

#maincontents .about img{
display: block;
width: 100%;
margin: 100px auto 0;
}

#maincontents .about p{
font-size: 18px;
line-height: 1.8em;
margin: -4% auto 0;
text-align: justify;
word-break: break-all;
padding: 0 5%;
}

#maincontents .detail{
width: 100%;
margin: 100px auto 0;
background: #a1c2d3;
padding: 100px 5%;
}

#maincontents .detail h3{
font-size: 26px;
line-height: 1em;
text-align: center;
margin: 0 auto 50px;
color: #fff;
display: block;
position: relative;
font-weight: normal;
}

#maincontents .detail h3 span{
display: block;
margin: 1em auto 0;
font-size: 14px;
line-height: 1em;
font-weight: normal;
}

#maincontents .detail h3:before{
content: '';
position: absolute;
left: 50%;
bottom: -20px;
display: inline-block;
width: 50px;
height: 2px;
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translate(-50%);
background: #fff;
}

#maincontents .detail .swiper-parent{
position: relative;
}

#maincontents .detail .swiper-container{
width: 100%;
padding: 0 0 40px;
box-sizing: content-box;
}

#maincontents .detail .swiper-container-horizontal>.swiper-pagination-bullets{
bottom: -5px;
}

#maincontents .detail .swiper-pagination-bullet{
border-radius: inherit;
margin: 0 10px !important;
width: 40px;
height: 3px;
background: #fff;
opacity: 0.5;
}

#maincontents .detail .swiper-pagination-bullet-active{
opacity: 1;
}

#maincontents .detail .swiper-slide{
width: 100%;
height: auto;
display: -webkit-flex;
display: flex;
-webkit-justify-content: center;
justify-content: center;
padding:0;
list-style: none;
flex-wrap: wrap;
}

#maincontents .detail .slide_left{
width: 55%;
background: #fff;
padding: 25px 0 25px 25px;
display: flex;
align-items: center;
}

#maincontents .detail .slide_left img{
display: block;
width: 100%;
}

#maincontents .detail .slide_right{
width: 45%;
padding: 50px 25px;
background: #fff;
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
flex-wrap: wrap;
height: auto; 
}

#maincontents .detail .slide_right h4{
font-size: 24px;
line-height: 1.5em;
text-align: center;
display: block;
position: relative;
margin: 0 auto 50px;
color: #4fa2c2;
font-weight: normal;
}

#maincontents .detail .slide_right h4:before{
content: '';
position: absolute;
left: 50%;
bottom: -20px;
display: inline-block;
width: 50px;
height: 2px;
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translate(-50%);
background: #4fa2c2;
}

#maincontents .detail .slide_right p{
font-size: 16px;
line-height: 1.8em;
text-align: justify;
word-break: break-all;
}

#maincontents .products{
width: 100%;
margin: 0 auto;
padding: 0 5%;
}

#maincontents .products h5{
font-size: 26px;
line-height: 1.5em;
text-align: center;
display: block;
position: relative;
margin: 100px auto 0;
font-weight: bold;
font-weight: normal;
}

#maincontents .products h5 span{
display: block;
margin: 1em auto 0;
font-size: 14px;
line-height: 1em;
}

#maincontents .products h5:before{
content: '';
position: absolute;
left: 50%;
bottom: -20px;
display: inline-block;
width: 50px;
height: 2px;
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translate(-50%);
background: #4fa2c2;
}

#maincontents .products_link{
width: 100%;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
grid-auto-rows: 1fr;
grid-gap: 50px 25px;
padding: 50px 0 0;
margin: 0 auto ;
}

#maincontents .products_link > div{
overflow: auto;
min-width: 0;
text-align: center;
}

#maincontents .products_link > div img{
width: 100%;
display: block;
}

#maincontents .products_link > div p{
width: 100%;
font-size: 17px;
line-height: 1.5em;
padding: 1em 10px 0;
}

#maincontents .products_button{
margin: 0 auto;
text-align: center;
}

#maincontents .products_button a{
display: inline-block;
text-align: center;
transition: 0.5s;
border: 1px solid #4fa2c2;
border-radius: 2px;
color: #4fa2c2;
padding: 1em 3em 1em 2em;
font-size: 16px;
line-height: 1em;
position: relative;
}

#maincontents .products_button a:after{
position: absolute;
font-family: "Font Awesome 5 Free";
content: "\f054";
-webkit-font-smoothing: antialiased;
display: inline-block;
font-weight: 600;
font-size: 14px;
line-height: 1em;
top: 50%;
right: 1.5em;
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
}

#maincontents .products_button a:hover{
color: #fff;
background: #4fa2c2;
}

#maincontents .products_link .sold{
margin: 0 auto;
text-align: center;
color: #555;
font-size: 16px;
line-height: 1em;
}

#maincontents .products_link .sold span{
margin: 0 auto;
display: inline-block;
text-align: center;
color: #555;
padding: 1em 3em;
border: 1px solid #555;
border-radius: 2px;
}

#maincontents .past_model{
margin: 100px auto 0;
padding: 100px 50px;
background: #f8f8f8;
}

#maincontents .past_model h5{
margin: 0 auto;
}

#maincontents .past_model > div p{
font-size: 15px;
padding: 1em 10px 0;
}

#maincontents .past_model .products_link{
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
grid-gap: 50px 25px;
}


@media only screen and (max-width: 1000px) {

bg-slider_content img {
max-width: 55vw;
max-height: 60vh;
}
}


@media only screen and (max-width: 800px) {
#mit_header{
height: 50px;
}

.bg-slider{
height: calc(100vh - 50px);
}
}


@media only screen and (max-width: 750px) {

#maincontents{
padding: 80px 0 0;
}

#maincontents .about h1{
font-size: 32px;
margin: 0 auto 40px;
}

#maincontents .about h1:before{
bottom: -15px;
width: 40px;
}

#maincontents .about h1 span{
font-size: 13px;
}

#maincontents .about h2{
font-size: 24px;
}

#maincontents .about img{
margin: 80px auto 0;
}

#maincontents .about p{
font-size: 16px;
}

#maincontents .detail{
margin: 80px auto 0;
padding: 80px 5%;
}

#maincontents .detail h3{
font-size: 23px;
margin: 0 auto 40px;
}

#maincontents .detail h3 span{
font-size: 13px;
}

#maincontents .detail h3:before{
bottom: -15px;
width: 40px;
}

#maincontents .detail .swiper-container{
padding: 0 0 30px;
}

maincontents .detail .swiper-pagination-bullet{
margin: 0 7px !important;
width: 32px;
}

#maincontents .detail .slide_left{
width: 100%;
padding: 0;
align-items: start;
}

#maincontents .detail .slide_right{
width: 100%;
padding: 40px 20px;
}

#maincontents .detail .slide_right h4{
font-size: 20px;
margin: 0 auto 40px;
}

#maincontents .detail .slide_right h4:before{
bottom: -15px;
width: 40px;
}

#maincontents .products h5{
margin: 80px auto 0;
font-size: 23px;
}

#maincontents .products h5:before{
bottom: -15px;
width: 40px;
}

#maincontents .products h5 span{
font-size: 13px;
}

#maincontents .products_link{
grid-gap: 40px 25px;
padding: 40px 0 0;
}

#maincontents .products_link > div p{
font-size: 16px;
}

#maincontents .products_button a{
font-size: 15px;
padding: 0.8em 2.5em 0.8em 1.8em;
}

#maincontents .products_button a:after{
font-size: 13px;
right: 1.3em;
}

#maincontents .products_link .sold span{
font-size: 15px;
padding: 0.8em 2.5em;
}

#maincontents .past_model{
margin: 80px auto 0;
padding: 80px 5%;
}

#maincontents .past_model h5{
margin: 0 auto;
}

#maincontents .past_model > div p{
font-size: 14px;
padding: 1em 10px 0;
}

#maincontents .past_model .products_link{
grid-gap: 40px 25px;
padding: 40px 0 0;
}

}


@media only screen and (max-width: 450px) {

#maincontents .products_link{
grid-template-columns: repeat(auto-fill, minmax(237px, 1fr));
}

#maincontents .past_model .products_link{
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
}