@charset "UTF-8";
/* ====================================================
   MODEL ROOM
   ==================================================== */
.modelroom_inner {
  padding-top: 80px;
  padding-bottom: 10px;
  overflow: hidden;
}

.mr-sec {
  /* 見出し */
}
.mr-sec .ttl-box {
  text-align: center;
  margin-bottom: 80px;
}
.mr-sec .mr-ttl {
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #009faa;
}
.mr-sec .mr-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: #777;
}

/* メインスライダー */
.mr-main {
  position: relative;
  margin-bottom: 12px;
  /* 左下：英字タイトル */
  /* 右下：小キャプション */
  /* 前後ナビ（SVG矢印） */
}
.mr-main .swiper-slide {
  position: relative;
}
.mr-main .swiper-slide img {
  display: block;
  width: 100%;
}
.mr-main .mr-slide-ttl {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  padding: 16px 22px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
.mr-main .mr-slide-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 4px 14px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.mr-main .swiper-button-prev,
.mr-main .swiper-button-next {
  width: 18px;
  height: 50px;
  margin-top: -25px;
  transition: opacity 0.2s;
}
.mr-main .swiper-button-prev:hover,
.mr-main .swiper-button-next:hover {
  opacity: 0.7;
}
.mr-main .swiper-button-prev:after,
.mr-main .swiper-button-next:after {
  content: none;
}
.mr-main .swiper-button-prev img,
.mr-main .swiper-button-next img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
}
.mr-main .swiper-button-prev {
  left: 20px;
}
.mr-main .swiper-button-next {
  right: 20px;
}

/* サムネイル */
.mr-thumb {
  margin-top: 12px;
  /* 非アクティブ：中央の英字タイトル */
  /* アクティブ：オーバーレイ・タイトルを消す */
}
.mr-thumb .swiper-slide {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* 非アクティブ：緑のオーバーレイ */
}
.mr-thumb .swiper-slide img {
  display: block;
  width: 100%;
}
.mr-thumb .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.7;
  background: url(../images/modelroom/maku.png) center center/cover no-repeat;
  transition: opacity 0.25s;
}
.mr-thumb .mr-thumb-ttl {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.25s;
}
.mr-thumb .swiper-slide-thumb-active::before,
.mr-thumb .swiper-slide-thumb-active .mr-thumb-ttl {
  opacity: 0;
}

.ex-notes {
  font-size: 10px;
  margin-top: 30px;
}

@media screen and (max-width: 900px) {
  .modelroom_inner {
    padding-top: 12vw;
    padding-bottom: 6vw;
  }
  .mr-sec .ttl-box {
    margin-bottom: 9.6vw;
  }
  .mr-sec .mr-ttl {
    font-size: 7.4vw;
  }
  .mr-sec .mr-note {
    margin-top: 3vw;
    font-size: 3vw;
  }
  .mr-main .mr-slide-ttl {
    padding: 1vw 2vw;
    font-size: 3vw;
  }
  .mr-main .mr-slide-caption {
    right: 0;
    bottom: 0;
    padding: 1.5vw 2vw;
    font-size: 2.3vw;
  }
  .mr-main .swiper-button-prev,
.mr-main .swiper-button-next {
    width: 4vw;
    height: 11vw;
    margin-top: -5.5vw;
  }
  .mr-main .swiper-button-prev {
    left: 3vw;
  }
  .mr-main .swiper-button-next {
    right: 3vw;
  }
  /* SP：横スライダーをやめ、2カラムで左上→右下に並べる */
  .mr-thumb {
    margin-top: 4vw;
  }
  .mr-thumb .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5vw;
    transform: none !important; /* Swiperの横移動を無効化 */
  }
  .mr-thumb .swiper-slide {
    width: auto !important; /* Swiperのインライン幅を上書き */
    height: auto !important;
    margin: 0 !important; /* spaceBetween由来の余白を打ち消し */
  }
  .mr-thumb .mr-thumb-ttl {
    font-size: 3.9vw;
  }
  .ex-notes {
    font-size: 2.3vw;
    margin-top: 4vw;
  }
}
/*# sourceMappingURL=style-modelroom.css.map */