@charset "UTF-8";

main{
  background-color: #fff;
}

.mv{
  position: relative;
}
.mv .tit{
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 610px;
  width: 80%;
  z-index: 1;
}
.mv span{
  font-size: 12px;
  z-index: 1;
  line-height: 1;
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  display: block;
  padding: 5px 5% 5px 5%;
  background: linear-gradient(to right, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 50%);  
}
@media screen and (max-width: 767px) {
  .mv .tit{
    top: 55px;
  }
}

.obi-txt{
  font-size: clamp(18px,3vw,34px);
  line-height: 1.6;
  text-align: center;
  padding: 60px 0;
  background-color: #060001;
  color: #fff;
  letter-spacing: .25rem;
  margin: 0 auto 100px;
}
@media screen and (max-width: 767px) {
  .obi-txt{
    padding: 15px 0;
    margin: 0 auto 50px;
  }
}

.conts{
  max-width: 1050px;
  width: 90%;
  margin: 0 auto 100px;
}
.conts-tit{
  margin: 0 auto 45px;
}
.exterior-tit{
  max-width: 250px;
  width: 55%;
}
.modelhouse-tit{
  max-width: 400px;
  width: 90%;
}
@media screen and (max-width: 767px) {
  .conts{
    margin: 0 auto 50px;
  }
  .conts-tit{
    margin: 0 auto 25px;
  }
}

.conts .slider .slick-prev{
  background: url(../img/gallery/prev.png) no-repeat center center / contain;
  left: 10px;
}
.conts .slider .slick-next{
  background: url(../img/gallery/next.png) no-repeat center center / contain;
  right: 10px;
}

.slick-prev,
.slick-next{
  width: 45px;
  height: 45px;
  top: 50%;
}
.conts .peger{
  margin-top: 20px;
}
.conts .peger p{
  margin: 0 12px 10px 0;
  position: relative;
  padding-bottom: 5px;
  cursor: pointer;
}
.conts .peger .slick-track {
  transform: unset !important;
  width: 100% !important;
}
.conts .peger strong{
  position: relative;
  display: block;
}
.conts .peger strong:after{
  content: '';
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: .7;
  position: absolute;
  top: 0;
  left: 0;
  transition: .3s;
}
.conts .peger p span{
  display: block;
  margin-top: 5px;
  color: #000;
  font-size: 16px;
  position: relative;
  bottom: inherit;
  right: inherit;
  text-align: center;
}
.conts .peger .img.slick-current strong:after{
  opacity: 0;
}

@media screen and (min-width: 768px) {
  .conts .peger p{
    width: calc(100% / 4 - 9px) !important;
  }
  .conts .peger p:nth-child(4n){
    margin-right: 0;
  }
}
@media screen and (max-width: 767px) {
  .conts .slide-box{
    margin-bottom: 50px;
  }
  .slick-prev,
  .slick-next{
    width: 20px;
    height: 40px;
  }
  .conts .peger p{
    width: calc(100% / 2 - 6px) !important;
  }
  .conts .peger p:nth-child(2n){
    margin-right: 0;
  }
  .conts .peger p span{
    font-size: 10px;
  }
}

.plan-btn{
  max-width: 500px;
  width: 90%;
  margin: 0 auto 100px;
  text-align: center;
  background-color: #304220;
  color: #fff;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1;
  padding: 20px 5px;
  position: relative;
  box-shadow: 1px 1px 4px rgba(0,0,0,.4);
  transition: .3s;
  display: block;
}
.plan-btn:after{
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width:0;
  height:0;
  border-style:solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #fff;
  transform: translateY(-50%);
}
.plan-btn:hover{
  opacity: .8;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
@media screen and (max-width: 767px) {
  .plan-btn{
    margin: 0 auto 50px;
    padding: 15px 5px;
  }
}