/* =========================
Common
========================= */
html,
body {
  overflow-x: hidden;
}

.room-page {
  overflow-x: hidden;
  width: 100%;
}
.room-page {
  background: #f8f5f0;
  color: #2f2a28;
}
.room-page__inner {
  width: min(1720px, calc(100% - 64px));
  margin: 0 auto;
}
/* =========================
   Room Hero
========================= */
.room-page-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background: #2f2a28;
  opacity: 0;
  filter: blur(10px);
  transform: scale(1.03);
  transition:
    opacity 1.2s ease,
    filter 1.2s ease,
    transform 1.4s ease;
}

.room-page-hero.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.room-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.room-page-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.room-page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.28) 45%,
      rgba(0, 0, 0, 0.42) 100%
    );
}

.room-page-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: 56px;
}

.room-page-hero__content {
  width: min(100%, 760px);
  color: #fff;
}

.room-page-hero__subtitle {
  margin: 0 0 12px;
  font-size: 15.4px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.room-page-hero__title {
  margin: 0;
font-size: clamp(34px, 8vw, 60px);
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.room-page-hero__lead {
  margin: 20px 0 0;
  max-width: 680px;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* =========================
Intro
========================= */
.room-page-intro {
  padding: clamp(64px, 8vw, 120px) 0;
}

.room-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
margin-top: 66px;
}

/* 左：画像 */
.room-intro-image {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 42px 0 42px 0;
  box-shadow: 0 28px 70px rgba(47, 42, 40, 0.14);
}

/* 右：文章 */
.room-intro-content {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  padding: clamp(24px, 3.5vw, 48px) 0;
}

.room-intro-heading {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.5;
  letter-spacing: 0.07em;
  font-weight: 500;
  color: #2f2a28;
}

.room-intro-text {
  position: relative;
  margin: 0;
  padding-left: 24px;
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.04em;
  color: rgba(47, 42, 40, 0.72);
}

.room-intro-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1px;
  height: calc(100% - 1.1em);
  background: rgba(122, 106, 86, 0.34);
}

.room-intro-image__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 0.7s ease,
    transform 3.2s linear;
  will-change: opacity, transform;
}

.room-intro-image__slide.is-active {
  opacity: 1;
  transform: scale(1.08);
}
/* =========================
Intro background themes
========================= */
.room-page-intro {
  position: relative;
  overflow: hidden;
}

.room-page-intro--none {
  background: transparent;
}

.room-page-intro--light {
  background:
    linear-gradient(
      rgba(248,245,240,0.88),
      rgba(248,245,240,0.9)
    ),
    url("../img/bk1.jpeg") center center / cover no-repeat;
}

.room-page-intro--dark {
  background:
    linear-gradient(
      rgba(17,17,17,0.72),
      rgba(17,17,17,0.82)
    ),
    url("../img/bk4.jpg") center center / cover no-repeat;
}

/* blue */
.room-page-intro--blue {
  background:
    linear-gradient(
      rgba(238,244,248,0.82),
      rgba(238,244,248,0.9)
    ),
    url("../img/bk6.jpeg") center center / cover no-repeat;
}
.room-page-intro--dark .room-intro-heading,
.room-page-intro--dark .room-intro-text {
  color: #f7f3ee;
}

.room-page-intro--dark .room-intro-text::before {
  background: rgba(255,255,255,0.24);
}
/* =========================
   Building
========================= */
.room-page-intro {
  padding: 0 0 96px;
}

.room-buildings {
  padding: 66px 0 128px;
}

.room-section-head {
  margin-bottom: 40px;
}

.room-section-head__subtitle {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(47, 42, 40, 0.62);
}

.room-section-head__title {
  margin: 8px 0 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.2;
  color: #2f2a28;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.room-section-head__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;

  background: linear-gradient(
    90deg,
    rgba(122, 106, 86, 0.9) 0%,
    rgba(122, 106, 86, 0.7) 70%,
    rgba(122, 106, 86, 0.0) 100%
  );
width: min(360px, 70vw);
}
.room-section-head__title::before {
  content: "";
  position: absolute;
  bottom: -1px;

  width: 18px;
  height: 18px;

  background: linear-gradient(
    135deg,
    rgba(122, 106, 86, 0.9) 0%,
    rgba(122, 106, 86, 0) 70%
  );

  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  opacity: 0.7;
  left: min(360px, 70vw);
}

.room-section-head__title::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.room-section-head.is-visible .room-section-head__title::after {
  transform: scaleX(1);
}


.room-buildings__list {
  display: grid;
  gap: 56px;
}

.building-card {
  position: relative;
}

.building-card__main {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 0;
  align-items: start;
}

/* 左：写真 */
.building-card__slider {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: #1f1b19;
  border-radius: 80px 0 0 0;
}

.building-card__slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 620px;
}

.building-card__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.building-card__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.building-card__slide img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  display: block;
}

.building-card__dots {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.building-card__dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;
}

.building-card__dot.is-active,
.building-card__dot:hover {
  background: #fff;
  transform: scale(1.15);
}
/* 右カラム */
.building-card__text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: end;
  min-height: auto;
  padding: 34px 30px 30px;
color:#2f2a28;
}

.building-card__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
}

/* きらっとSVG */
.room-section-head {
  position: relative;
}
.room-section-head__mark {
  position: absolute;
  top: -48px;
  left: 5px;
  display: inline-flex;
  width: 34px;
  height: auto;
  color: #7a6a56;
  opacity: 0.9;
  pointer-events: none;
  animation: roomSparkle 4.8s ease-in-out infinite;
  transform-origin: center;
}
@keyframes roomSparkle {
  0% {
    opacity: 0.72;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(186, 160, 112, 0));
  }

  12% {
    opacity: 1;
transform: scale(1.14) rotate(3deg);
filter: drop-shadow(0 0 12px rgba(186, 160, 112, 0.34));
  }

  18% {
    opacity: 0.92;
    transform: scale(1.02) rotate(-1deg);
    filter: drop-shadow(0 0 4px rgba(186, 160, 112, 0.14));
  }

  100% {
    opacity: 0.72;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(186, 160, 112, 0));
  }
}

.room-section-head__mark svg {
  display: block;
  width: 100%;
  height: auto;
}

/* タイトル文字 */
.building-card__title {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #655d57;
  font-size: clamp(34px, 3.5vw, 65px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  box-sizing: border-box;
  transition: color 0.3s ease, transform 0.3s ease;
}

.building-card__text:hover .building-card__title {
  color: #b29a80;
}

.building-card__text:hover .building-card__title-mark {
  color: #b29a80;
  transform: rotate(-2deg) scale(1.06);
  opacity: 1;
}

.building-card__body {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 2.05;
  color: rgba(47, 42, 40, 0.72);
}
.building-card__body p {
  margin: 0 0 1em;
}

.building-card__body p:last-child {
  margin-bottom: 0;
}
/* Galleryボタン */
.building-card__gallery-button {
  margin: 26px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 58px;
  min-width: 220px;
  padding: 0 30px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 18px 2px 18px 2px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;

  background: rgba(117, 106, 95, 0.08);
  color: #6b625b;
  border: 1px solid rgba(117, 106, 95, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.building-card__gallery-button:hover {
  background: rgba(117, 106, 95, 0.14);
  color: #5d554f;
  border-color: rgba(117, 106, 95, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.building-card__gallery-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}
.building-card__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  margin-bottom: 18px;
}



.building-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.building-card__title {
  margin: 0;
}

.building-card__lead {
  margin: 0 0 22px;
  padding: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: #6f655c;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-shadow: none;
}
.building-card__sub-name {
  margin: 4px 0 0;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.7;
  letter-spacing: 0.16em;
  color: rgba(101, 93, 87, 0.56);
  text-transform: uppercase;
}

.js-fade-slide-left,
.js-building-reveal {
  opacity: 0;
  transform: translateX(-32px);
  filter: blur(6px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s ease;
  will-change: opacity, transform, filter;
}

.js-fade-slide-left.is-visible,
.js-building-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}


.building-card__title-wrap {
  align-items: flex-start;
  text-align: left;
}

.building-card__sub-name {
  text-align: left;
  width: 100%;
}

.room-modal__dialog {
  box-sizing: border-box;
}
/* =========================
Spaces
========================= */
.room-spaces {padding: 50px 0 112px;
  position: relative;
  z-index: 1;
}

.room-space {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 72px;
}

.room-space__media img {
  width: 100%;
  border-radius: 24px;
  display: block;
}


.room-space__text {
  margin-top: 18px;
  line-height: 2;
}

.room-space__points {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  padding-left: 1.2em;
}


/* 背景のふわっと暗転レイヤー */
.room-spaces::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0) 30%
    ),
    linear-gradient(
      180deg,
      rgba(24, 22, 21, 0.82) 0%,
      rgba(38, 34, 33, 0.92) 100%
    ),
    url("https://varie-fuji-terrace.com/wp-content/uploads/2026/03/vv40-6-scaled.webp") center center / cover no-repeat;

  opacity: 0;
  transition: opacity 0.9s ease;
  transform: scale(1.03);
}

/* セクションが表示されたら背景を出す */
.room-spaces.is-dark::before {
  opacity: 1;
}

/* 背景が暗くなった時、文字色も白寄りに */
.room-spaces.is-dark .room-section-head__subtitle,
.room-spaces.is-dark .room-section-head__title,
.room-spaces.is-dark .room-space__title,
.room-spaces.is-dark .room-space__text {
  color: #f7f3ee;
}

.room-space {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 88px;
}

.room-space:last-child {
  margin-bottom: 0;
}

.room-space__media img {
  width: 100%;
  display: block;
}

/* メイン画像：角丸なし */
.room-space__main-image {
  overflow: hidden;
}

.room-space__main-image img {
  width: 100%;
  display: block;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}


.room-space__thumbs {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.room-space__thumb {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.72;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease;
}

.room-space__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

.room-space__thumb.is-active,
.room-space__thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: brightness(1.04);
}


/* テキスト側 */
.room-space__content {
  position: relative;
}

.room-space__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;

  margin: 0 0 22px;
  padding: 0 0 14px;

  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: 0.08em;
  font-weight: 500;

  color: #2f2a28;

  background: none;
  border: none;
  box-shadow: none;

  width: fit-content;
  max-width: 100%;
}

/* 左ライン */
.room-space__title::before {
  content: "";
  display: block;

  width: 38px;
  height: 1px;

  background: rgba(122, 106, 86, 0.6);

  flex-shrink: 0;
}

/* 下ライン */
.room-space__title::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: linear-gradient(
    90deg,
    rgba(122,106,86,0.45) 0%,
    rgba(122,106,86,0.08) 100%
  );
}

/* 本文 */
.room-space__text {
  margin-top: 0;

  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.04em;

  color: rgba(47, 42, 40, 0.74);
}

/* dark時 */
.room-spaces.is-dark .room-space__title {
  color: #f7f3ee;
}

.room-spaces.is-dark .room-space__title::before {
  background: rgba(255,255,255,0.5);
}

.room-spaces.is-dark .room-space__title::after {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.4) 0%,
    rgba(255,255,255,0.06) 100%
  );
}

.room-spaces.is-dark .room-space__text {
  color: rgba(247,243,238,0.82);
}

/* section全体が暗くなった時、画像を少しだけなじませる */
.room-spaces.is-dark .room-space__main-image img,
.room-spaces.is-dark .room-space__thumb img {
  filter: brightness(0.96);
}

/* =========================
Amenities
========================= */
.room-info-panels {
    margin-top: 80px;
  padding: 0 0 112px;
}

.room-info-panels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.room-info-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
}

.room-info-card__title {
  font-size: 24px;
  margin-bottom: 20px;
}

.room-chip-list,
.room-rule-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.room-chip-list li {
  padding: 10px 14px;
  font-size: 14px;
}

.room-rule-list {
  display: grid;
  gap: 12px;
}

.room-rule-list li {
  line-height: 1.8;
}

.room-cta {
  padding: 0 0 120px;
}

.room-cta__box {
  position: relative;
  overflow: hidden;
  border-radius: 0 28px 0 28px;
  padding: 44px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.room-cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.room-cta__box > * {
  position: relative;
  z-index: 1;
}

/* モダンホワイト */
.room-cta--light .room-cta__box {
  background-image: url("../img/bk1.jpeg");
}

.room-cta--light .room-cta__box::before {
  background: rgba(255, 255, 255, 0.62);
}

/* ダークブラック */
.room-cta--dark .room-cta__box {
  background-image: url("../img/bk4.jpeg");
}

.room-cta--dark .room-cta__box::before {
  background: rgba(0, 0, 0, 0.52);
}

/* ライトブルー */
.room-cta--blue .room-cta__box {
  background-image: url("../img/bk6.jpeg");
}

.room-cta--blue .room-cta__box::before {
  background: rgba(210, 230, 242, 0.54);
}
.room-cta--light .room-cta__title,
.room-cta--light .room-cta__text {
  color: #2f2a28;
}

.room-cta--dark .room-cta__title,
.room-cta--dark .room-cta__text {
  color: #fff;
}

.room-cta--blue .room-cta__title {
  color: #35556b;
}

.room-cta--blue .room-cta__text {
  color: rgba(53, 85, 107, 0.82);
}

.room-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-width: 220px;
  min-height: 54px;
  border-radius: 999px;
  background: #fff;
  color: #2f2a28 !important;
  text-decoration: none;
}



/* オーバーレイ */
.room-cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.38),
    rgba(0, 0, 0, 0.22)
  );
  z-index: 0;
}

/* terrace版だけ少し深く */
.room-cta--terrace .room-cta__box::before {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.48),
    rgba(0, 0, 0, 0.28)
  );
}

.room-cta__title {
  color: #fff;
}

.room-cta__text {
  color: rgba(255, 255, 255, 0.92);
}

.room-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-width: 220px;
  min-height: 54px;
  border-radius: 999px;
  background: #fff;
  color: #2f2a28 !important;
  text-decoration: none;
}


.room-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.room-modal.is-open {
  display: block;
}
.room-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.64);
}

.room-modal__dialog {
  position: relative;
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  margin: 20px auto;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  z-index: 1;
}

.room-modal__close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 20px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.room-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.room-modal__thumb {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.room-modal__thumb img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

body.room-modal-open {
  overflow: hidden;
}


.room-space__main-image img {
  width: 100%;
  display: block;
  border-radius: 24px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}


.room-space__thumb.is-active,
.room-space__thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.room-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.room-lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.86);
  z-index: 1;
}

.room-lightbox__inner {
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-lightbox__image {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 14px;
}

.room-lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.room-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.room-lightbox__nav--prev {
  left: 18px;
}

.room-lightbox__nav--next {
  right: 18px;
}

/* =========================
Room spaces thumbnails - PC only
========================= */
@media (min-width: 768px) {
  .room-space__thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;

    width: 100%;
    margin-top: 12px;
    overflow: hidden;
  }
  .room-space__thumb {
    flex: 0 0 88px;
    aspect-ratio: 1 / 1;
  }

  .room-space__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.room-cta {
    padding: 0 0 50px;
}
.room-spaces {
    padding: 50px 0px 50px;
}
.room-info-panels {
    padding: 0 0 60px;
}

/* =========================
SP
========================= */
@media (max-width: 767px) {
  .room-page-intro {
    padding: 10px 0 72px;
  }

  .room-intro-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .room-intro-image {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4 / 3;
    border-radius: 28px 0 28px 0;
  }

  .room-intro-content {
    grid-column: 1;
    grid-row: 2;
    padding: 0 4px;
  }

  .room-intro-heading {
    margin: 0 0 18px;
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.65;
    letter-spacing: 0.06em;
  }

  .room-intro-text {
    padding-left: 18px;
    font-size: 14px;
    line-height: 2;
  }

  .room-page-hero {
    min-height: 88vw;
  }
  .room-page-hero__inner {
    min-height: 88vw;
    align-items: flex-end;
    padding-top: 88px;
    padding-bottom: 28px;
  }
  .room-page__inner {
    width: min(100%, calc(100% - 24px));
  }

  .room-page-hero__subtitle {
    margin-bottom: 10px;
    font-size: 13.5px;
    letter-spacing: 0.14em;
  }

  .room-page-hero__title {
 font-size: clamp(35px, 8vw, 40px);
    line-height: 1.18;
  }

  .room-page-hero__lead {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.9;
max-width: 300px;
  }
  .room-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 34px;
  }

  .room-lightbox__nav--prev {
    left: 8px;
  }

  .room-lightbox__nav--next {
    right: 8px;
  }
  .room-page-hero {
    padding: 96px 0 56px;
  }

  .building-card {
    padding: 20px;
  }

  .building-card__main,
  .room-space,
  .room-info-panels__grid {
    grid-template-columns: 1fr;
  }

  .room-space {
    gap: 22px;
    margin-bottom: 56px;
  }

  .room-modal__grid {
    grid-template-columns: 1fr 1fr;
  }

  .room-cta__box {
    padding: 32px 20px;
  }
  .room-space {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 56px;
  }

  .room-space__thumbs {
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .room-space__thumb {
    width: 100%;
  }

  .room-space__main-image img {
    aspect-ratio: 16 / 11;
  }
 .room-space__title {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 28px 5px;
    gap: 14px;
    font-size: clamp(20px, 6vw, 28px);
    letter-spacing: 0.06em;
  }

  .room-space__title::before {
    width: 28px;
    flex-shrink: 0;
  }
  .room-section-head__title::after {
    width: min(220px, 62vw);
  }

  .room-section-head__title::before {
    left: min(220px, 62vw);
  }
}

@media (max-width: 1024px) {
  .building-card__main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .building-card__slider,
  .building-card__slides,
  .building-card__slide img {
    min-height: 520px;
  }

  .building-card__lead {
    padding: 14px 10px 0 0;
    margin: 0 0 18px;
    line-height: 1.85;
    border-radius: 16px 12px 18px 10px;
    transform: rotate(-0.6deg);
  }
.building-card__sub-name {
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .room-buildings {
    padding: 58px 0 96px;
  }

  .room-section-head {
    margin-bottom: 26px;
  }

  .building-card__slider,
  .building-card__slides,
  .building-card__slide img {
    min-height: 92vw;
  }

  .building-card__slider {
    border-radius: 22px 0 22px 0;
  }

  .building-card__dots {
    left: 16px;
    bottom: 16px;
    gap: 8px;
  }

  .building-card__dot {
    width: 9px;
    height: 9px;
  }
.building-card__text {
    padding: 24px 18px 22px;
  }

  .building-card__title-wrap {
    gap: 10px;
    margin-bottom: 14px;
  }

  .building-card__title-mark {
    width: 16px;
  }

  .building-card__title {
    font-size: clamp(28px, 10vw, 44px);
    line-height: 0.98;
  }

  .building-card__body {
    font-size: 13px;
    line-height: 1.95;
  }

  .building-card__gallery-button {
    margin-top: 20px;
    min-height: 52px;
    min-width: 190px;
    padding: 0 22px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }
}