@charset "utf-8";
.pc-block {
  display: block;
}
.sp-block {
  display: none;
}

ul {
  list-style: none;
}

.title_header span {
  font-size: 140%;
  letter-spacing: 0.1em;
  margin: 0;
  color: #fff;
  background: none;
  text-align: center;
  display: block;
  font-weight: normal;
  padding: 8px 25px 0;
}

h3 {
  font-size: 26px;
  background: inherit;
  letter-spacing: .2em;
  padding: 7px 20px;
  border-left: 7px solid #ada17a;
  border-radius: 0%;
  margin: 0;
}

.modelhouse_section {
  max-width: 1000px;
  margin: 6rem auto 0;
  color: #333;
}

.bg-ttl .modelhouse_section {
  margin: 0 auto;
}

.modelhouse_section.consept {
  margin: 3rem auto 0;
}


.bg-ttl {
  position: relative;
  overflow: hidden;
  margin: 70px auto 0;
}

.first-section {
  margin: 50px auto 0;
}


.ttl-box {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.ttl-box h2 {
  position: absolute;
  
  top: 30px;
  left: -20px;
  
}

.modelhouse h2 {
  color: #333;
  background: #fff;
  font-size: 32px;
  letter-spacing: .3em;
  padding: 10px 20px 10px 30px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.23);
}
.modelhouse h2 span {
  display: block;
  font-size: 28px;
}

.bg-ttl .vertical-text {
  position: absolute;
  top: 0;            
  right: 0;              
  writing-mode: vertical-rl;  
  font-size: 5rem;          
  color: rgba(0,0,0,0.1); 
  pointer-events: none;  
  user-select: none;   
  white-space: nowrap;  
  z-index: 1; 
  letter-spacing: .05em;
  font-family: 'Noto Serif JP', serif;
  line-height: 1;
}

.bg-ttl.left .vertical-text {
  left: 0;
  right: inherit;
}

.ttl-box img {
  width: 100%;
}

.consept {
  margin-bottom: 5rem;
}
.consept .lead {
  position: relative;
  font-size: 28px;
  padding: 0 0 15px 85px;
  margin-bottom: 5px;
  color: #3c3c3c;
  letter-spacing: 0.03em;
}
.consept .lead::before {
  content: '';
  position: absolute;
  top: 42%;
  display: inline-block;
  width: 70px;
  height: 1px;
  background-color: #3c3c3c;
  left: 0;
}

.consept .txt {
  line-height: 1.8;
}

.gallery {
  background: #f2ede1;
}
.container {
  margin: 30px auto;
  max-width: 800px;
  width: 100%;
}
.container img {
  height: auto;
  width: 100%;
}

.thumbnail-img {
  cursor: pointer;
}

.slick-prev, .slick-next {
  z-index: 10; /* 前面に出す */
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #555;
}

.slick-prev:before,
.slick-next:before {
  color: #555 !important;
  font-size: 30px !important;
}

.slick-prev {
  left: -35px !important;
}

/* .slick-next {
  right: 10px;
} */

.movie-frame {
  max-width: 800px;
  margin: 50px auto 30px;
}

.movie {
  position: relative;
  width: 100%;
  /* 16:9 のアスペクト比なら 9 / 16 * 100 = 56.25% */
  padding-bottom: 56.25%;
  height: 0;
}

.movie iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.point-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 30px;
  margin: 50px 0 0;
}

.point-list .ttl {
  font-size: 25px;
  padding-bottom: 10px;
  color: #9b8c60;
}

.point-list .ttl span {
  font-family: 'Noto Serif JP', serif;
  padding: 1px 13px;
  background: #9b8c60;
  color: #fff;
  margin-right: 8px;
}

.point-list .txt {
  margin-top: 8px;
}

.banner {
  max-width: 650px;
  margin: 50px auto 0;
}

.banner img {
  transition: .4s all;
}



#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8); /* 背景を黒く半透明に */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.floor-plan_img {
  max-width: 600px;
  margin: 0 auto;
}
.floor-plan_img img {
  cursor: pointer;
}

.lightbox-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.zoom-icon {
  position: absolute;
  bottom: 0;
  right: 10px;
  width: 30px;
  height: 30px;
  background: url('/modelhouse/img/ico_zoom.svg') no-repeat center center;
  background-size: contain;
  transition: opacity 0.2s;
}

.lightbox-wrapper:first-of-type {
  margin-bottom: 30px;
}

.detail {
  margin-top: 30px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
}

.detail th,
.detail td {
  line-height: 1.8;
}

.detail th {
  width: 160px;
  box-sizing: border-box;
  font-weight: normal;
  border: 1px solid #fff;
  padding: 10px;
  background: #d8c591;
  color: #fff;
}

.detail td {
  padding: 10px 5px 10px 15px;
  /* border-top: 2px solid #ffd6df; */
  border: 1px solid #fff;
  background-color: #F3F3F3;
}
/* .detail td:last-child {
  border-bottom: 2px solid #ffd6df;
} */
.detail-img {
  max-width: 500px;
}

.detail_map {
  max-width: 1000px;
  display: block;
  margin: 50px auto 0;
  width: 100%;
}


.cam-bnr {
  display: block;
  margin: 50px auto 0;
  max-width: 900px;
}



.standard ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 2rem auto 0;
  background: #d1d1d1;
  padding: 20px;
  gap: 25px 10px;
  border-radius: 4px;
  overflow: hidden;
}

.standard ul .ttl {
  background: #fff;
  padding: 8px;
  text-align: center;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 18px;
}

.standard ul .flex {
  gap: 10px;
  flex-wrap: nowrap;
}

.standard ul .img {
  flex-shrink: 0;
  width: 200px;
}

.standard ul .img img {
  width: 100%;
}

.info .ttl {
  text-align: center;
  font-size: 22px;
  display: inline-block;
  position: relative;
  /* margin-bottom: 1em; */
  font-weight: bold;
  letter-spacing: .04em;
}


.tel_box {
  margin: 1rem auto 0;
  text-align: center;
}

.tel_link {
  border: 1px solid #666;
  padding: 2rem 0;
  max-width: 60rem;
  margin: 1.5rem 0 5rem;
  text-align: center;
}

.tel_link a,
.form_link a {
  transition: .4s all;
}
.tel_link a:hover {
  opacity: .7;
}

.info_tel strong {
  font-size: 30px;
  color: #202020;
  position: relative;
  white-space: nowrap;
  letter-spacing: .07em;
}

.info_tel strong::before {
  content: "";
  display: inline-block;
  width: 3.5rem;
  height: 3.5rem;
  background-image: url(/modelhouse/img/tel.svg);
  background-position: top -2px left;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.2rem;
  vertical-align: middle;
}

.tel_link p {
  margin-top: 1rem;
}

.web_box {
  text-align: center;
}
.web_box .txt {
  text-align: center;
  line-height: 1.7;
  margin: 1.5rem 0;
}

.web_box .notice {
  text-align: center;
  background: #666;
  padding: 1rem 0;
  color: #fff;
  letter-spacing: .05em;
}
.web_box .notice span {
  font-weight: bold;
  font-size: 18px;
  padding: 0 7px;
}

.quo_jyoken {
  display: none;
}


.open_form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  margin: 1rem auto 3rem;
}

.open_form .tel_link,
.open_form .form_link {
  width: 400px;
  margin: 0;
  display: flex; 
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}
.open_form .tel_link p {
  margin-top: 0;
}

.form_link {
  border: none;
  background: #555;
  color: #fff;
  text-align: center;
}

.form_link a {
  display: block;
  color: #fff;
  padding: 2rem 0;
}

.form_link strong {
  font-size: 23px;
  position: relative;
  letter-spacing: .04em;
}

.form_link strong::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-image: url(/modelhouse/img/mail.svg);
  background-position: top -2px left;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.form_link p {
  margin-top: 5px;
}

.open_form .info_tel strong {
  font-size: 26px;
}
.open_form .info_tel strong::before {
  width: 2.5rem;
  height: 2.5rem;
}

.open_form .tel_link:hover,
.open_form .form_link:hover {
  /* transform: translateY(-4px); */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.open_form .tel_link:hover {
  border-color: #555;
}

.open_form .form_link:hover {
  background: #000;
}


.open_txt {
  text-align: center;
  margin-top: 1rem;
}




@media screen and (max-width: 1150px) {
  .bg-ttl .vertical-text {
    display: none !important;
  }
  /* .bg-ttl .vertical-text,
  .bg-ttl.left .vertical-text {
    writing-mode: horizontal-tb;
    font-size: 2rem; 
    top: 10px;       
    right: 10px; 
    left: inherit;
  } */

}


@media screen and (max-width: 800px) {
  .detail {
    flex-direction: column;
    align-items: center;
  }

  .standard ul {
    grid-template-columns: 1fr;
    /* max-width: 500px; */
  }
}

@media screen and (max-width: 650px) {
  .modelhouse h2 {
    font-size: 26px;
    padding: 7px 20px;
    background: #ada17a;
    color: #fff;
    box-shadow: none;
    margin-bottom: 0;
  }

  .modelhouse h2 span {
    font-size: 22px;
  }

  .first-section {
    margin: 20px auto 0;
  }

  .consept .lead {
    font-size: 24px;
    padding: 0 0 15px 70px;
  }
  .consept .lead::before {
    width: 55px;
  }

  .point-list {
    grid-template-columns: 1fr;
    margin: 30px 0 0;
  }

  h3 {
    font-size: 22px;
    padding: 2px 0px 2px 20px;
  }

  .point-list .ttl {
    font-size: 20px;
  }

  .point-list .ttl span {
    padding: 3px 13px;
  }
}

@media screen and (max-width: 550px) {
  .pc-block {
    display: none;
  }
  .sp-block {
    display: block;
  }

  table {
    width: 100%;
  }

  .detail th {
    width: 132px;
  }

  .standard ul .flex {
    flex-direction: column;
  }

  .standard ul .img {
    width: 100%;
  }

  .tel_link {
    padding: 1.5rem 0;
    margin: 1.5rem 0 3.5rem;
  }

  .tel_link strong {
    font-size: 28px;
  }
  .tel_link strong::before {
    width: 2.5rem;
    height: 2.5rem;
  }

  .open_txt {
    text-align: left;
  }

  .open_form .info_tel strong {
    font-size: 24px;
  }
  .open_form .info_tel strong::before {
    width: 2rem;
    height: 2rem;
  }
  .form_link strong {
    font-size: 20px;
  }
  .form_link strong::before {
    width: 1.5rem;
    height: 1.5rem;
  }
}