/**
 * BELAUN - Rooms Page Styles
 * 客室ページ専用CSS（ElementorのHTMLウィジェットで使う）
 *
 * 設計方針:
 * - variables.css の --belaun-* を使う
 * - クラス命名は BEM（.belaun-room__xxx）
 * - ElementorのHTMLウィジェット内に配置されるHTMLに適用
 * - スマホ・PC半画面では自然なページスクロール
 * - PC全画面では「サイドバー固定＋メイン内部スクロール」のアプリ型
 */

/* ========================================
   Wrapper（レスポンシブ切替の要）
======================================== */
.belaun-room {
  font-family: var(--belaun-font-sans);
  color: var(--belaun-primary);
  background-color: var(--belaun-beige);
  line-height: 1.8;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/*
 * page-rooms.php で <main class="belaun-room"> として body 直下に置かれる場合、
 * critical.css の main.belaun-room { margin-left: sidebar-width } が乗ると
 * width: 100% + margin-left で合計 120vw 幅となり overflow を起こす。
 * main 用途のときは width: auto + max-width: none にして、残り幅を自然に使わせる。
 */
main.belaun-room {
  width: auto;
  max-width: none;
}

.belaun-room *,
.belaun-room *::before,
.belaun-room *::after {
  box-sizing: border-box;
}

.belaun-room h1,
.belaun-room h2,
.belaun-room h3,
.belaun-room h4,
.belaun-room p,
.belaun-room a,
.belaun-room span,
.belaun-room dl,
.belaun-room address {
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-style: normal;
}

/* dt/dd はブラウザデフォルトのインデント(40px)を消すだけ */
.belaun-room dt,
.belaun-room dd {
  margin: 0;
}

.belaun-room img {
  display: block;
  max-width: 100%;
  height: auto;
}

.belaun-room button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  margin: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
  line-height: inherit;
}

.belaun-room img {
  border-radius: 0;
}

.belaun-room a {
  color: inherit;
}

/*
 * PC でもアプリ型フルスクリーンではなく通常ページスクロールとする。
 * 以前は .belaun-room { height: 100dvh; overflow: hidden } + main { overflow-y: auto }
 * の2段スクロールコンテナ構成だったが、埋込サイドバー/フッターを子テーマ側の
 * 共通 chrome（body 直下 injected）へ移行した結果、body スクロールと main 内部
 * スクロールが競合し「フッター固定に見える」scroll trap が発生していた。
 * Tour セクションの height: 100vh フルスクリーン演出は維持される。
 */

/* ========================================
   Sidebar
======================================== */
.belaun-room__sidebar {
  width: 100%;
  height: 80px;
  background-color: var(--belaun-beige);
  border-bottom: 1px solid rgba(var(--belaun-primary-rgb), 0.1);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: var(--belaun-z-sidebar);
  flex-shrink: 0;
}

.belaun-room__sidebar-logo {
  display: flex;
  align-items: center;
  transition: opacity var(--belaun-transition-fast);
}

.belaun-room__sidebar-logo:hover {
  opacity: 0.7;
}

.belaun-room__sidebar-logo img {
  width: 80px;
  height: auto;
  object-fit: contain;
}

.belaun-room__menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
}

.belaun-room__hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.belaun-room__hamburger span {
  height: 1px;
  background-color: var(--belaun-primary);
  display: block;
  transition: width var(--belaun-transition-fast);
}

.belaun-room__hamburger span:nth-child(1) { width: 32px; }
.belaun-room__hamburger span:nth-child(2) { width: 40px; }
.belaun-room__hamburger span:nth-child(3) { width: 32px; }

.belaun-room__menu-btn:hover .belaun-room__hamburger span {
  width: 48px;
}

.belaun-room__menu-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--belaun-primary);
  margin-top: 4px;
}

.belaun-room__sidebar-desc {
  display: none;
}

@media (min-width: 1024px) {
  .belaun-room__sidebar {
    width: 25vw;
    max-width: 360px;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 0;
    border-bottom: none;
    border-right: 1px solid rgba(var(--belaun-primary-rgb), 0.1);
  }

  .belaun-room__sidebar-logo {
    padding-top: 16px;
  }

  .belaun-room__sidebar-logo img {
    width: 128px;
  }

  .belaun-room__hamburger {
    align-items: center;
  }

  .belaun-room__hamburger span:nth-child(1) { width: 48px; }
  .belaun-room__hamburger span:nth-child(2) { width: 64px; }
  .belaun-room__hamburger span:nth-child(3) { width: 48px; }

  .belaun-room__menu-label {
    font-size: 10px;
    margin-top: 12px;
  }

  .belaun-room__sidebar-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 10%;
    width: 100%;
  }

  .belaun-room__sidebar-desc-small {
    font-size: var(--belaun-text-xs);
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .belaun-room__sidebar-desc-title {
    font-size: clamp(14px, 1.3vw, 22px);
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.6;
    margin-top: 8px;
  }

  .belaun-room__sidebar-desc-script {
    font-family: var(--belaun-font-meddon);
    font-size: clamp(12px, 1.1vw, 18px);
    letter-spacing: 0.1em;
    margin-top: 8px;
  }
}

/* ========================================
   Main
======================================== */
.belaun-room__main {
  flex: 1;
  min-height: 0;
  background: var(--belaun-white);
  position: relative;
}
/*
 * 以前はここで main に overflow-y: auto / scroll-behavior: smooth / box-shadow を
 * 付けて内部スクロール化していたが、.belaun-room の 100dvh 固定解除と同時に廃止。
 * これで body スクロール一本化され、footer 表示後の "scroll trap" が解消される。
 */

/* ========================================
   Hero
======================================== */
.belaun-room__hero {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

@media (min-width: 768px) {
  .belaun-room__hero { height: 60vh; }
}

@media (min-width: 1024px) {
  .belaun-room__hero { height: 65vh; }
}

.belaun-room__hero-images {
  display: flex;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.belaun-room__hero-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.05);
}

.belaun-room__hero-image--right {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/*
 * 背景画像の色を損なわないよう、Hero 全面 20% 青マスクを廃止。
 * 文字の可読性はそれぞれ text-shadow で確保する。
 */
.belaun-room__hero-overlay {
  position: absolute;
  inset: 0;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  z-index: 10;
}

.belaun-room__hero-script {
  display: block;
  font-family: var(--belaun-font-meddon);
  color: var(--belaun-white);
  font-size: 24px;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 0, 0, 0.4);
}

.belaun-room__hero-sub {
  color: var(--belaun-white);
  font-size: 14px;
  letter-spacing: 0.4em;
  margin-bottom: 16px;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

.belaun-room__hero-title {
  color: var(--belaun-white);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .belaun-room__hero-script { font-size: 32px; margin-bottom: 12px; }
  .belaun-room__hero-sub { font-size: 16px; }
  .belaun-room__hero-title { font-size: 36px; }
}

@media (min-width: 1024px) {
  .belaun-room__hero-title { font-size: 42px; }
}

/* ========================================
   Introduction
======================================== */
.belaun-room__intro {
  padding: 80px 24px;
  background: var(--belaun-white);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .belaun-room__intro { padding: 128px 48px; }
}

@media (min-width: 1024px) {
  .belaun-room__intro { padding: 160px 24px; }
}

.belaun-room__intro-container {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

@media (min-width: 1024px) {
  .belaun-room__intro-container {
    flex-direction: row;
    gap: 64px;
  }
}

.belaun-room__intro-image-wrap {
  width: 100%;
  position: relative;
}

@media (min-width: 1024px) {
  .belaun-room__intro-image-wrap { width: 50%; }
}

/* STAY の画像フレーム: 横長 4:3 に統一 (画像は 1600×1200 程度を想定) */
.belaun-room__intro-image-frame {
  position: relative;
  width: 90%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .belaun-room__intro-image-frame {
    width: 100%;
    max-width: 500px;
  }
}

@media (min-width: 1024px) {
  .belaun-room__intro-image-frame {
    max-width: 560px;
    margin-left: 0;
  }
}

/* ベージュオフセット装飾はtablet以上のみ表示（スマホは邪魔になる） */
.belaun-room__intro-image-bg {
  display: none;
}

@media (min-width: 768px) {
  .belaun-room__intro-image-bg {
    display: block;
    position: absolute;
    top: -24px;
    left: -24px;
    width: 100%;
    height: 100%;
    background: var(--belaun-beige);
    z-index: 0;
  }
}

.belaun-room__intro-image-inner {
  position: absolute;
  inset: 0;
  z-index: 10;
  box-shadow: var(--belaun-shadow-xl);
  overflow: hidden;
}

.belaun-room__intro-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--belaun-transition-image);
}

.belaun-room__intro-image-inner:hover img {
  transform: scale(1.1);
}

.belaun-room__intro-text {
  width: 100%;
}

@media (min-width: 1024px) {
  .belaun-room__intro-text { width: 50%; }
}

.belaun-room__intro-text-inner {
  max-width: 640px;
  text-align: left;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .belaun-room__intro-text-inner { margin: 0; }
}

.belaun-room__intro-script {
  font-family: var(--belaun-font-meddon);
  font-size: 32px;
  color: var(--belaun-primary);
  opacity: 0.6;
  margin-bottom: 24px;
}

.belaun-room__intro-heading {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.8;
  color: var(--belaun-primary);
  margin-bottom: 32px;
  display: block;
}

.belaun-room__intro-body {
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 0.1em;
  color: rgba(var(--belaun-primary-rgb), 0.8);
}

.belaun-room__intro-body p:first-child {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .belaun-room__intro-script { font-size: 40px; }
  .belaun-room__intro-heading { font-size: 24px; margin-bottom: 40px; }
  .belaun-room__intro-body { font-size: 16px; }
  .belaun-room__intro-body p:first-child { margin-bottom: 32px; }
}

/* ========================================
   Room Tour — Full-bleed image + dismissible overlay panel + floating thumbs
   - 全 breakpoint で画像 section 全面 (object-fit cover)
   - panel は overlay、data-open=false で slide-out
   - thumbs は panel 外の絶対配置、panel 状態に関係なく常に表示
   - narrow viewport では thumbs を 2x2、通常は 1x4 で表示
======================================== */
.belaun-room__tour {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  max-height: 1100px;
  overflow: hidden;
  background: var(--belaun-primary);
  box-sizing: border-box;
}

/* 背景画像レイヤー (section 全面) */
.belaun-room__tour-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  cursor: grab;
}
.belaun-room__tour-bg-wrap:active { cursor: grabbing; }

.belaun-room .belaun-room__tour-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.belaun-room__tour-bg.is-active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 10;
}

.belaun-room__tour-bg.is-inactive {
  opacity: 0;
  transform: scale(1);
  z-index: 0;
}

/* 縦書きタイトル (左端) */
.belaun-room__tour-label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  z-index: 20;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--belaun-font-meddon);
  color: rgba(255, 255, 255, 0.85);
  font-size: 36px;
  letter-spacing: 0.2em;
  line-height: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  margin: 0;
}

@media (min-width: 768px) {
  .belaun-room__tour-label { left: 32px; font-size: 56px; }
}

@media (min-width: 1280px) {
  .belaun-room__tour-label { left: 48px; font-size: 72px; }
}

/* Panel 表示切替ボタン (右上)
   .belaun-room button の base reset (border-radius:0, background:transparent,
   border:none) を specificity (0,2,1) で確実に上書き */
.belaun-room button.belaun-room__tour-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--belaun-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.belaun-room button.belaun-room__tour-toggle:hover {
  background: rgba(0, 0, 0, 0.45);
  transform: scale(1.08);
}

.belaun-room button.belaun-room__tour-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

@media (min-width: 768px) {
  .belaun-room button.belaun-room__tour-toggle {
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
  }
  .belaun-room button.belaun-room__tour-toggle svg { width: 24px; height: 24px; }
}

/* 情報パネル (overlay, dismissible) */
.belaun-room__tour-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  /* mobile: bottom sheet */
  height: 55vh;
  min-height: 260px;
  max-height: 460px;
  background: rgba(0, 30, 80, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px 130px;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1),
              opacity 0.5s ease;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.belaun-room__tour-panel::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  /* tablet+: right sidebar */
  .belaun-room__tour-panel {
    left: auto;
    top: 0;
    right: 0;
    bottom: 0;
    width: clamp(320px, 38%, 500px);
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 56px 40px 180px;
    background: rgba(0, 30, 80, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  }
}

/* hidden state */
.belaun-room__tour-panel[data-open="false"] {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .belaun-room__tour-panel[data-open="false"] {
    transform: translateX(100%);
  }
}

/* Text inside panel */
.belaun-room__tour-text {
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
}

.belaun-room__tour-text.is-changing {
  opacity: 0;
  transform: translateY(16px);
}

.belaun-room__tour-text-top {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .belaun-room__tour-text-top { margin-bottom: 32px; }
}

.belaun-room__tour-title-en {
  font-family: var(--belaun-font-meddon);
  font-size: 40px;
  line-height: 1;
  color: var(--belaun-accent);
  margin: 0 0 14px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .belaun-room__tour-title-en { font-size: 56px; margin-bottom: 20px; }
}

@media (min-width: 1280px) {
  .belaun-room__tour-title-en { font-size: 64px; }
}

.belaun-room__tour-title-ja {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3em;
  line-height: 1.4;
  color: var(--belaun-white);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  margin: 0;
}

@media (min-width: 768px) {
  .belaun-room__tour-title-ja { font-size: 22px; padding-bottom: 18px; }
}

.belaun-room__tour-desc {
  font-family: var(--belaun-font-mincho);
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.92);
  text-align: justify;
}

.belaun-room__tour-desc p {
  margin: 0;
}

@media (min-width: 768px) {
  .belaun-room__tour-desc { font-size: 15px; line-height: 2.4; }
}

/* Floating thumbnails (panel 外、常時表示) */
.belaun-room__tour-thumbs {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 40;
  max-width: 420px;
  margin-left: auto;
  pointer-events: none; /* 子の thumb だけ受ける */
}

.belaun-room__tour-thumbs > * { pointer-events: auto; }

@media (min-width: 768px) {
  .belaun-room__tour-thumbs {
    bottom: 24px;
    right: 24px;
    left: auto;
    width: clamp(300px, 32%, 440px);
    max-width: 440px;
  }
}

@media (min-width: 1280px) {
  .belaun-room__tour-thumbs { bottom: 40px; right: 40px; }
}

.belaun-room__tour-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

/* narrow viewport: 2x2 に切替 */
@media (max-width: 479px) {
  .belaun-room__tour-thumb-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

@media (min-width: 768px) {
  .belaun-room__tour-thumb-grid { gap: 12px; margin-bottom: 10px; }
}

.belaun-room .belaun-room__tour-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.belaun-room__tour-thumb:hover { opacity: 1; }

.belaun-room__tour-thumb.is-active {
  border-color: var(--belaun-white);
  opacity: 1;
}

.belaun-room .belaun-room__tour-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.belaun-room__tour-thumb:hover img { transform: scale(1.08); }

.belaun-room__tour-hint {
  font-family: var(--belaun-font-sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  text-align: right;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  margin: 0;
}

@media (min-width: 768px) {
  .belaun-room__tour-hint { font-size: 10px; }
}
/* ========================================
   Room Details
======================================== */
.belaun-room__details {
  position: relative;
  width: 100%;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--belaun-primary);
  overflow: hidden;
}

@media (min-width: 768px) {
  .belaun-room__details { padding: 128px 48px; }
}

@media (min-width: 1024px) {
  .belaun-room__details { padding: 160px 48px; }
}

.belaun-room__details-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.belaun-room__details-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/*
 * 背景画像の色を損なわないよう、重厚だった青gradientオーバーレイは廃止。
 * details-card 自体が白背景を持っているためテキストの可読性は確保される。
 * 背景画像だけ minimum に暗くして文字脇の無彩部を落ち着かせる（10% 暗化のみ）。
 */
.belaun-room__details-bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.belaun-room__details-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.belaun-room__details-header {
  text-align: center;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .belaun-room__details-header { margin-bottom: 80px; }
}

.belaun-room__details-script {
  font-family: var(--belaun-font-meddon);
  font-size: 36px;
  color: var(--belaun-white);
  margin-bottom: 16px;
  font-weight: 300;
}

@media (min-width: 768px) {
  .belaun-room__details-script { font-size: 48px; }
}

.belaun-room__details-heading {
  font-size: 20px;
  color: var(--belaun-white);
  letter-spacing: 0.4em;
  font-weight: 300;
}

@media (min-width: 768px) {
  .belaun-room__details-heading { font-size: 24px; }
}

.belaun-room__details-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 24px;
  box-shadow: var(--belaun-shadow-xl);
}

@media (min-width: 768px) {
  .belaun-room__details-card { padding: 56px; }
}

@media (min-width: 1024px) {
  .belaun-room__details-card { padding: 80px; }
}

.belaun-room__details-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: left;
  color: var(--belaun-white);
}

@media (min-width: 768px) {
  .belaun-room__details-list {
    grid-template-columns: 180px 1fr;
    column-gap: 32px;
    row-gap: 48px;
  }
}

@media (min-width: 1024px) {
  .belaun-room__details-list {
    grid-template-columns: 220px 1fr;
    row-gap: 64px;
  }
}

.belaun-room dt.belaun-room__details-term {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--belaun-accent);
  padding-left: 20px;
}

@media (min-width: 768px) {
  .belaun-room dt.belaun-room__details-term {
    padding-left: 24px;
  }
}

.belaun-room__details-term-en {
  color: var(--belaun-white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.belaun-room__details-term-ja {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.belaun-room dd.belaun-room__details-desc {
  letter-spacing: 0.1em;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  padding-top: 8px;
  padding-left: 0;
  margin-left: 0;
}

@media (min-width: 768px) {
  .belaun-room dd.belaun-room__details-desc {
    font-size: 16px;
    padding-top: 0;
    display: flex;
    align-items: center;
  }
}

.belaun-room__details-desc--loose {
  line-height: 2;
}

@media (min-width: 768px) {
  .belaun-room__details-desc--loose {
    display: block;
  }
}

.belaun-room__details-note {
  font-size: 11px;
  color: var(--belaun-accent);
  margin-top: 12px;
  display: block;
  opacity: 0.8;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .belaun-room__details-note { font-size: 12px; margin-top: 16px; }
}

/* ========================================
   Reservation CTA
======================================== */
.belaun-room__cta {
  width: 100%;
  background: var(--belaun-beige);
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .belaun-room__cta { padding: 128px 24px; }
}

.belaun-room__cta-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .belaun-room__cta-header { margin-bottom: 64px; }
}

.belaun-room__cta-script {
  font-family: var(--belaun-font-meddon);
  font-size: 36px;
  color: rgba(var(--belaun-primary-rgb), 0.3);
}

@media (min-width: 768px) {
  .belaun-room__cta-script { font-size: 40px; }
}

.belaun-room__cta-heading {
  font-size: 24px;
  font-weight: 500;
  color: var(--belaun-primary);
  letter-spacing: 0.15em;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .belaun-room__cta-heading { font-size: 28px; }
}

.belaun-room__cta-card {
  width: 100%;
  max-width: 896px;
  background: var(--belaun-white);
  padding: 40px 24px;
  box-shadow: var(--belaun-shadow-xl);
  border: 1px solid rgba(var(--belaun-primary-rgb), 0.05);
  text-align: center;
  transition: border-color var(--belaun-transition-normal);
}

.belaun-room__cta-card:hover {
  border-color: var(--belaun-accent);
}

@media (min-width: 768px) {
  .belaun-room__cta-card { padding: 64px; }
}

@media (min-width: 1024px) {
  .belaun-room__cta-card { padding: 80px; }
}

.belaun-room__cta-text {
  color: rgba(var(--belaun-primary-rgb), 0.7);
  margin-bottom: 32px;
  letter-spacing: 0.1em;
  line-height: 1.9;
  font-size: 15px;
}

@media (min-width: 768px) {
  .belaun-room__cta-text { font-size: 17px; margin-bottom: 40px; }
}

.belaun-room__cta-phone {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--belaun-primary);
  display: block;
  transition: color var(--belaun-transition-fast);
}

.belaun-room__cta-phone:hover {
  color: var(--belaun-accent);
}

@media (min-width: 768px) { .belaun-room__cta-phone { font-size: 36px; } }
@media (min-width: 1024px) { .belaun-room__cta-phone { font-size: 44px; } }

.belaun-room__cta-phone-label {
  font-size: 12px;
  display: block;
  letter-spacing: 0.3em;
  opacity: 0.5;
  margin-bottom: 12px;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .belaun-room__cta-phone-label { font-size: 14px; margin-bottom: 16px; }
}

/* ========================================
   Footer
======================================== */
.belaun-room__footer {
  background: var(--belaun-white);
  color: var(--belaun-primary);
  padding: 80px 32px 40px;
  border-top: 1px solid rgba(var(--belaun-primary-rgb), 0.05);
}

@media (min-width: 768px) {
  .belaun-room__footer { padding: 96px 32px 48px; }
}

.belaun-room__footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 768px) {
  .belaun-room__footer-container { gap: 64px; }
}

.belaun-room__footer-main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 1024px) {
  .belaun-room__footer-main {
    flex-direction: row;
    justify-content: space-between;
    gap: 64px;
  }
}

.belaun-room__footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .belaun-room__footer-brand { width: 33%; }
}

.belaun-room__footer-brand img {
  width: 128px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .belaun-room__footer-brand img { width: 160px; }
}

.belaun-room__footer-address {
  font-size: 13px;
  line-height: 2;
  opacity: 0.7;
  letter-spacing: 0.1em;
  font-weight: 300;
}

@media (min-width: 768px) {
  .belaun-room__footer-address { font-size: 14px; }
}

.belaun-room__footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (min-width: 768px) {
  .belaun-room__footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .belaun-room__footer-nav { width: 66%; }
}

.belaun-room__footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .belaun-room__footer-nav-col { gap: 24px; }
}

.belaun-room__footer-nav-link {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--belaun-primary);
  transition: color var(--belaun-transition-fast);
  font-weight: 400;
}

.belaun-room__footer-nav-link:hover { color: var(--belaun-accent); }

.belaun-room__footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(var(--belaun-primary-rgb), 0.05);
}

.belaun-room__footer-copyright {
  font-size: 9px;
  letter-spacing: 0.3em;
  opacity: 0.4;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .belaun-room__footer-copyright {
    font-size: 10px;
    text-align: left;
  }
}

/* ========================================
   Menu Overlay
======================================== */
.belaun-room__menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--belaun-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--belaun-primary);
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
  visibility: hidden;
  transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.7s step-end;
}

.belaun-room__menu-overlay.is-active {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
  visibility: visible;
  transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s step-start;
}

.belaun-room__menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--belaun-transition-fast);
  font-size: 28px;
  color: var(--belaun-primary);
  font-weight: 300;
  z-index: 50;
}

.belaun-room__menu-close:hover {
  background-color: rgba(var(--belaun-primary-rgb), 0.05);
}

@media (min-width: 768px) {
  .belaun-room__menu-close { top: 40px; right: 40px; font-size: 36px; }
}

.belaun-room__menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 896px;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .belaun-room__menu-nav { gap: 40px; }
}

@media (min-width: 1024px) {
  .belaun-room__menu-nav { gap: 48px; }
}

.belaun-room__menu-link {
  position: relative;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--belaun-primary);
  display: block;
  width: fit-content;
}

.belaun-room__menu-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--belaun-primary);
  transition: width var(--belaun-transition-fast);
}

.belaun-room__menu-link:hover::after {
  width: 100%;
}

@media (min-width: 768px) { .belaun-room__menu-link { font-size: 28px; } }
@media (min-width: 1024px) { .belaun-room__menu-link { font-size: 32px; } }

/* Sasshi #2 (598952b1): スマホで Tour テキストが画像に重なって読みにくい
   → モバイル: 100dvh の縦 flex で「画像 (上) / panel (中) / サムネ 4列1行 (下)」を 1 画面に収める。
     サムネタップで画像切替 (既存 belaunRoomChangeImage が発火)、テキストは画像と重ならない。*/
@media (max-width: 767px) {
  .belaun-room__tour {
    height: 100dvh;
    min-height: 600px;
    max-height: none;
    display: flex;
    flex-direction: column;
  }

  /* 背景画像エリア (画面上 45vh) */
  .belaun-room__tour-bg-wrap {
    position: relative;
    flex: 0 0 45vh;
    inset: auto;
    height: auto;
    min-height: 0;
  }

  .belaun-room__tour-label {
    top: 22vh;
  }

  /* テキストパネル: 画像の下に flex で配置 (overlay 解除) */
  .belaun-room__tour-panel {
    position: relative;
    flex: 1 1 auto;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 18px 20px 10px;
    background: rgba(0, 30, 80, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: none;
  }

  .belaun-room__tour-panel[data-open="false"] {
    transform: none;
    flex: 0 0 0;
    height: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  /* サムネ群: panel の下に static 配置、4列1行に圧縮 */
  .belaun-room__tour-thumbs {
    position: relative;
    flex: 0 0 auto;
    bottom: auto;
    left: auto;
    right: auto;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 8px 12px 14px;
    background: rgba(0, 30, 80, 0.85);
  }

  .belaun-room__tour-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 0;
  }
}

/* 既存の 479px 用 2x2 grid を 767px 内で上書き (サムネ 4列1行を維持) */
@media (max-width: 479px) {
  .belaun-room__tour-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }
}
