@charset "utf-8";

.mv_cap.con_cap{
  margin-top: 0;
  padding-top: 16px;
  text-align: right;
  max-width: 1000px;
  margin-left: auto;
  padding-right: 24px;
}
.pic{position: relative;}
.cap{
  position: absolute;
  bottom: 0; right: 0;
  line-height: 1.3;
}

.content_area{
  color: #211815;
  h3{
    text-align: center;
    letter-spacing: 12px;
    font-size: 3rem;
    color: #75643D;
    font-weight: 300;
  }
}

h4 {
  margin: 80px auto -30px;
  text-align: center;
  color: #75643d;
  font-size: 2.8rem;
  letter-spacing: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

h4::before {
    margin-right: 30px;
}

h4::after {
    margin-left: 30px;
}

h4::before, h4::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #75643d;
}

.modelroom{
  padding: min(10%, 136px) 0 min(8.5%, 120px);
}
.con_txt{
  text-align: center;
  font-size: 2rem;
  margin: 0 auto 32px;
}

.swiper-container{
  position: relative;
  max-width: 1300px;
  margin: 70px auto 0;
  overflow: hidden;
  /* .swiper {
    width: 100%;
  } */
  .swiper-wrapper{
    width: 100%;
    display: flex;
    align-items: center;
    .swiper-slide{
      .cap{
        position: absolute;
        right: 0;
        bottom: 0;
        color: #fff;
        text-align: right;
        background: rgba(0, 0, 0, 0.5);
        text-align: right;
        text-shadow: 0 0 4px #000, 0 0 10px #000, 0 0 10px #000;
        font-size: 12px;
        letter-spacing: 2.88px;
        padding: 3px 10px;
      }
      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }  
  }
  .thumbnail{
    margin-top: 25px;
    .swiper-slide {
      &::after{
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: rgba(0, 0, 0, 0.65);
        z-index: 2;
      }
      p{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 3;
        color: #fff;
        text-align: center;
        line-height: 1.3;
        font-size: 2.2rem;
      }
      &:nth-child(n+5){
        margin-top: 10px;
      }
      &.swiper-slide-thumb-active{
        &::after{
          background: none;
        }
        p{
          opacity: 0;
        }
      }
    }
  }

  .swiper-button-prev,
  .swiper-button-next{
    content: "";
    width: 65px;
    height: 40px;
    svg{
      fill-opacity: 0;
      display: none;
    }
  }
  .swiper-button-prev{
    left: 0;
    background: url(../img/ico_arw_l.svg) no-repeat left center / cover;
  }
  .swiper-button-next{
    right: 0;
    background: url(../img/ico_arw_r.svg) no-repeat left center / cover;
  }
}

.common{
  background-image: url(../img/modelroom_bg.jpg);
  background-size: cover;
  background-position: top center;
  padding: min(8%, 110px) 0;
  h3{
    color: #412600;
    letter-spacing: 6px;
    margin-bottom: 40px;
  }
  .commonarea{
    display: grid;
    grid-template-columns: repeat(3, calc(100% / 3 - 3%));
    gap: 3%;
    figure{
      position: relative;
      figcaption{
        position: absolute;
        right: 5px;
        bottom: 5px;
        color: #fff;
        font-size: 1.2rem;
        text-shadow: 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 1px #000;
      }
    }
    p{
      color: #000;
      margin-top: 15px;
    }
  }
}




@media screen and (max-width: 640px) {
  .modelroom{
    padding: 68px 0 60px;
  }
  .content_area h3{
    letter-spacing: 8px;
    font-size: 1.6rem;
    margin-bottom: 48px;
  }
  .con_txt{
    font-size: 1.5rem;
  }

  .swiper-container{
    .swiper-wrapper{
      .swiper-slide{
        .cap{
          font-size: 11px;
        }
      }
    }
    .thumbnail{
      margin-top: 20px;
      .swiper-slide {
        p{
          font-size: 1.5rem;
        }
      }
    }
    .swiper-button-prev,
    .swiper-button-next{
      content: "";
      width: 42px;
      height: 26px;
      margin-top: -13px;
      svg{
        fill-opacity: 0;
        display: none;
      }
    }
  }
  
  .common{
    padding: 60px 0;
    h3{
      font-size: 2rem;
      margin-bottom: 25px;
    }
    .commonarea{
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      p{
        color: #000;
        margin-top: 15px;
      }
    }
  }
  h4 {
    margin: 50px auto -50px;
    font-size: 1.8rem;
  }
  h4::before {
    margin-right: 10px;
  }

  h4::after {
    margin-left: 10px;
  }
}

/*260821追記*/
.obi p{
  text-align: center;
  font-size: 13px;
  margin-top: 80px;
}
.obi p span{
  display: inline-block;
  background: rgba(228, 203, 143, 0.2);
  color: #211815;
  font-size: 130%;
  padding: 1px 5px;
  margin: 3px;
}

@media screen and (max-width: 768px) {
  .obi p span{
    font-size: 110%;
    padding: 1px 5px;
    margin: 4px 1px;
  }
}
/*260821追記 end*/

/*260917 B1 PLAN追加*/

.plan_wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 100px;
}
.plan_detail_wrap{
  display: block;
  width: 46%;
}
.plan_detail_spec_wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.plan_detail_spec_wrap h3{
    text-align: center;
    position: relative;
    background-image: url(../img/plan_bg.jpg);
    background-size: cover;
    background-position: center center;
    display: block;
    height: 100%;
    min-height: 160px;
    width: 100%;
    color: #75643d;
    text-align: center;
    box-shadow: 9px 9px 15px 0px #9c9c9c;
    transition: .3s;
    line-height: .9;
    font-size: 6rem;
    letter-spacing: 10px;
    padding: 40px 0 0px;
    flex-basis: 30%;
}
.plan_detail_spec_wrap h3 small{
    display: block;
    font-size: 30%;
    letter-spacing: 2px;
}
.plan_detail_spec{
    flex-basis: 64%;
    color: #716442;
}
.plan_detail_spec .spec{
    font-size: 3.2rem;
}
.plan_detail_spec .space{
    display: flex;
    align-items: center;
    line-height: 1.4;
    align-items: flex-end;
}
.plan_detail_spec .space span{
    display: block;
}
.plan_detail_spec .space span:nth-of-type(1){
    font-size: 1.2rem;
    line-height: 1.2;
    padding-bottom: 6px;
}
.plan_detail_spec .space span:nth-of-type(2){
    font-size: 3.4rem;
    margin-left: 8px;
}
.plan_detail_spec .space span:nth-of-type(3){
    font-size: 1.4rem;
    padding-bottom: 6px;
    margin-left: 8px;
}
.plan_detail_spec .space2{
    font-size: 1.4rem;
    padding-top: 8px;
    line-height: 1.5;
}
.plan_detail_cap{
    font-size: 1rem;
    line-height: 2.2;
    margin-top: 60px;
}
.plan_detail_cap span{
    border: 1px solid #211815;
    width: 30px; height: 12px;
    display: inline-block;
    vertical-align: -2px;
    margin-right: 4px;
}
.plan_detail_cap span.shunou{background-color: #e8e5d5;}
.plan_detail_cap span.danbou{background-color: #e9dedc;}

@media screen and (max-width: 640px) {

    /* プラン詳細 SP*/
.plan_wrap{
  display: block
}
.plan_detail_wrap{
    display: block;
    width: 100%;
}
.plan_detail_img{margin-top: 32px;}
.plan_detail_spec_wrap{
    display: block;
}
.plan_detail_spec_wrap h3{
    display: block;
    height: 100%;
    min-height: 160px;
    width: 160px;
    margin: auto;
    padding: 42px 0 0px;
}
.plan_detail_spec_wrap h3 small{
    display: block;
    font-size: 30%;
    letter-spacing: 2px;
}
.plan_detail_spec{
    margin-top: 32px;
    text-align: center;
}
.plan_detail_spec .spec{
    font-size: 2.4rem;
}
.plan_detail_spec .space{
    justify-content: center;
}
.plan_detail_spec .space span{
    display: block;
}
.plan_detail_spec .space span:nth-of-type(1){
    font-size: 1rem;
}
.plan_detail_spec .space span:nth-of-type(2){
    font-size: 3rem;
}
.plan_detail_spec .space span:nth-of-type(3){
    font-size: 1.2rem;
}
.plan_detail_spec .space2{
    font-size: 1.1rem;
}
.plan_detail_cap{
   margin-top: 20px;
}
.plan_detail_cap span.shunou{background-color: #e8e5d5;}
.plan_detail_cap span.danbou{background-color: #e9dedc;}
}