body{
    font-family: 'Noto serif JP', serif;
}
.bg-gray {
    background-color: #f4f4f4f4;
}

.design_mv {
    width: 100%;
    height: 80vh;
    min-height: 500px;
    background-image:  url('../img/design/design-mv.jpg');
    background-position: 40% center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mv_inner {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 7.2rem;
}

.mv_inner::after {
  content: "";
  position: absolute;
  top: calc(100% + 1rem); /* コンテンツの下から線を出す */
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
   height: calc(40vh - 8.5rem);
   min-height: calc(250px - 8.5rem);
  background: #fff;
}

.mv_title {
  font-size: 3.5rem;
  color: #fff;
}

.mv_content {
  font-size: 1rem;
  letter-spacing: 0.1rem;
  color: #fff;
}

.content_inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 0 3rem;
    letter-spacing: 0.05rem;
    font-size: 1rem;
    line-height: 2;
    text-align: center;
}

.content_inner .sec_title {
    font-family: "EB Garamond", serif;
    font-style: italic;
    font-size: 1.2rem;
    font-weight: normal;
    color: #9b8a6e;
    line-height: 1;
}

.content_inner h2 {
    font-size: 1.8rem;
    font-weight: normal;
     line-height: 1.5;
    margin-bottom: 24px;
}
.content_inner .content_text {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    text-align: left;
    letter-spacing: 0.1rem;
    line-height: 2.5;
}
.design_sec{
    background-image: url("../img/design/design-sec-bg.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.design_sec .sec_title{
    color: #000;
}
.design_sec h2{
    color: #fff;
}
.concept_sec{
    background-image: url("../img/design/concept-sec-bg.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 2881 / 1970;
}

.concept_sec h2{
    color: #fff;
}
.concept_sec .content_text {
    color: #fff;
}
.facade_sec{
    background-image: url("../img/design/facade-sec-bg.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 2881 / 3049; 
}
.facade_sec h2,
.facade_sec .sec_title,
.facade_sec .content_text {
    color: #fff;
}

.entrance_sec{
    background-color: #000;
}
.entrance_sec h2,
.entrance_sec .content_text {
    color: #fff;
}
.entrance_sec .entrance_img{
        background-image: url("../img/design/entrance_img.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 2881 / 1874;
}

.land_plan_layout {
    width: 100%;
    max-width: 1250px;
    margin: 2.5rem auto 2.5rem;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  box-sizing: border-box;
}

.layout_image {
  flex: 1 1 65%;
}

.layout_image img {
    margin-top: 2rem;
  width: 100%;
  height: auto;
}
.layout_image {
  position: relative;
  text-align: center;
  width: 100%;
  overflow: hidden; 
}

.scroll_inner {
  display: inline-block;
}

.layout_info {
  flex: 1 1 35%;
}

.layout_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.layout_list li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.layout_list li::before {
  content: attr(data-number); /* ← HTMLで指定した番号を表示 */
  position: absolute;
  top: 0;
  left: 0;
  background-color: #9b8a6e;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 2px;
  z-index: 2;
}

.layout_list img {
  width: 100%;
}

.layout_list h3 {
  font-size: 1rem;
  font-weight: normal;
  color: #6a4d0f;
  text-align: center;
}

.layout_list p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.model_room_sec{
    background-image: url("../img/design/modelroom-sec-bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 3rem;
    display: none;
}

.model_room_sec .room_slider_section {
  background: #f6f2ea; /* 背景色（画像のような淡いベージュ） */
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.model_room_sec .room-slider {
  width: 90%;
  max-width: 1000px;
}

.model_room_sec .room-slider .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 矢印ボタン */
.swiper-button-prev,
.swiper-button-next {
  color: #fff!important;
  width: 44px;
  height: 44px;
  transition: 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.8;
}

/* ページネーション（下のバー） */
.model_room_sec .swiper-pagination {
  margin-top: 15px;
  position: relative;
}

.model_room_sec .swiper-pagination-bullet {
  background-color: #b3aca1;
  opacity: 0.6;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  margin: 0 4px !important;
  transition: 0.3s;
}

.model_room_sec .swiper-pagination-bullet-active {
  background-color: #9b8a6e;
  opacity: 1;
}


/* スマホ対応 */
@media (max-width: 768px) {
    .design_mv {
    width: 100%;
    background-image:  url('../img/design/design-mv-sp.jpg');
    background-position: center center;
        height: 300px;
        min-height:unset;
    }
.mv_inner {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 0rem;
}


.mv_inner::after {
  content: "";
  position: absolute;
  top: calc(100% + 1rem); 
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
   height: calc(150px - 4.9rem);
  background: #fff;
  min-height:unset;
}

.mv_title {
    font-size: 3.5rem;
    color: #fff;
}
.mv_content{
    font-size:1rem;
     letter-spacing: 0.1rem;
    color: #fff;
}

.content_inner {
    padding: 3rem 1rem 2cqmin;
    font-size: 1rem;
    line-height: 2;
    text-align: left;
    box-sizing: border-box;
}

.content_inner .sec_title {
    font-size: 1rem;
    padding: 0 1rem;
    margin-bottom: 0;
}

.content_inner h2 {
    font-size: 1.2rem;
    font-weight: normal;
     line-height: 2;
    margin-bottom: 1rem;
    padding: 0 1rem;
}
.content_inner .content_text {
    font-size: 0.8rem;
    line-height: 1.8;
    padding: 0 1rem;
    box-sizing: border-box;
}
.design_sec{
    background-image: url("../img/design/design-sec-bg-sp.jpg");
}
.design_sec .content_inner {
    text-align: center;
}

.concept_sec{
    background-image: url("../img/design/concept-sec-bg-sp.jpg");
    aspect-ratio: 751/968;
}

.facade_sec{
    background-image: url("../img/design/facade-sec-bg-sp.jpg");
    aspect-ratio: 751/1171; 
}

  .layout_image {
    overflow: hidden;
  }
.layout_image img{
    margin-top: 0;
}
  .scroll_inner {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: 100%;
  }

  .scroll_inner img {
    width: auto;
    max-width: none;
    height: 90vh;
    display: inline-block;
  }

  /* スクロールアイコン */
  .layout_image::after {
    content: "";
    position: absolute;
    top: 45%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: url('/assets/img/icon_swipe.png') no-repeat center/contain;
    opacity: 0.5;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }
  .scroll-hint {
    display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 50px;
  color: rgba(42, 103, 191, 1);
  pointer-events: none;
  animation: blink 5s infinite; /* 点滅 */
  transition: opacity 0.3s ease;
}

/* 非表示状態 */
.scroll-hint.hidden {
  opacity: 0;
  animation: none; /* 点滅も停止 */
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

  .land_plan_layout {
    padding: 0 1rem;
    flex-direction: column;
  }
  .layout_list h3 {
  font-size: 0.8rem;
  font-weight: normal;
  color: #6a4d0f;
  text-align: center;
}

.layout_list p {
  font-size: 0.7rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}
.model_room_sec .content_inner {
    text-align: center;
}

.model_room_sec .room-slider {
    width: 100%;
}
}


.underline-trigger {
  position: relative;
  display: inline-block;
}

.underline-trigger::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 1px;
  width: 0;
  background: #9b8a6e; /* 任意の色 */
}
.concept_inner .underline-trigger::after{
    bottom: 10px;
}
.animate-underline::after {
  animation: underline-slide 2s ease forwards;
}

@keyframes underline-slide {
  0% { width: 0; left: 0; }
  40% { width: 100%; left: 0; }
  60% { width: 100%; left: 0; }
  100% { width: 0; left: 100%; } /* 左から消える */
}