/* =========================================================
   Lounge Rio NAKASU — styles.css
   Mobile-first; PC at >=900px
   ========================================================= */

:root {
  --cream: #f6f4ef;
  --cream-2: #efeae0;
  --bg: #f1ece2;
  --paper: #f9f6f0;
  --ink: #3a342c;
  --ink-soft: #6b6256;
  --ink-mute: #8a8074;
  --line: #d9cfbd;
  --gold: #b8945a;
  --gold-deep: #a3793d;
  --gold-soft: #d4b685;
  --brown: #2a2520;
  --brown-2: #3b332b;
  --red-cta: #be4334;
  --pink-blog: #d34a4a;
  --shadow-card: 0 10px 30px rgba(60,40,20,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-feature-settings: "palt" 1;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Type helpers ---------- */
.serif-en { font-family: "Cinzel", "Cormorant Garamond", serif; }
.italic-en { font-family: "Cormorant Garamond", serif; font-style: italic; }

/* Rio brand glyph (script-y) */
.rio-glyph {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: 0;
  line-height: 1;
}
.rio-glyph i { font-style: italic; }
.rio-glyph-lg { font-size: 56px; }

/* ---------- Layout ---------- */
.section { padding: 56px 20px; position: relative; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-title {
  font-family: "Cinzel", serif;
  color: var(--gold-deep);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .18em;
  margin: 0 0 -6px;
}
.section-sub {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold-deep);
  margin: 0;
}
.section-foot { margin-top: 28px; text-align: center; }

/* =================================================
   HEADER
   ================================================= */
.site-header {
  position: fixed;
  /* 1. 位置を正常な 0 に戻す */
  top: 0; 
  left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  
  /* 2. セーフエリアを考慮したパディングのみにする */
  padding: env(safe-area-inset-top, 0px) 16px;
  
  /* 3. 帯のベースの高さを決める（ロゴの大きさに合わせる） */
  height: calc(env(safe-area-inset-top, 0px) + 90px);
  
  transition: background 0.4s ease, height 0.4s ease;
  pointer-events: none;
}

/* スクロール時の背景色（帯） */
.site-header.is-scrolled {
  background: rgba(82, 75, 71, 0.90); /* ブランドカラーの茶色。少し透かすと綺麗です */
  height: calc(env(safe-area-inset-top, 0px) + 56px); /* スクロール時は少し細くする */
  pointer-events: auto; /* スクロール時はヘッダー全体で入力を受け付ける（任意） */
}

/* ロゴのサイズ調整 */
.brand-logo {
  height: 90px; /* 通常時 */
  width: auto;
  transition: height 0.4s ease;
}

.site-header.is-scrolled .brand-logo {
  height: 50px; /* スクロール時 */
}

/* 不要になった古いレイヤー設定はすべて削除 */
.header-gradient-layer,
.site-header::before {
  display: none;
}

/* スクロール時にロゴを縮小 */
.site-header.is-scrolled .brand-logo {
  height: 50px;
}

/* キャスト一覧・詳細ページ：
   ヘッダーのサイズ・ロゴは大きいまま（トップの非スクロール時と同じ）、
   背景色だけ最初からスクロール時の色にする。スクロールしても縮小しない。 */
.page-cast .site-header,
.page-cast .site-header.is-scrolled {
  background: rgba(82, 75, 71, 0.90);
  height: calc(env(safe-area-inset-top, 0px) + 90px);
  pointer-events: auto;
}
.page-cast .site-header.is-scrolled .brand-logo {
  height: 90px; /* スクロールしても縮小させない（大きいまま） */
}

/* 共通：戻り導線（キャスト一覧・詳細ページ） */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 20px 0;
  padding: 9px 18px 9px 13px;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--gold-deep);
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
  box-shadow: 0 1px 5px rgba(82, 75, 71, .08);
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}
.nav-back:hover,
.nav-back:focus-visible {
  background: var(--gold-deep);
  color: #fff;
  box-shadow: 0 3px 12px rgba(82, 75, 71, .22);
}
.nav-back .nav-back-arrow {
  width: 7px;
  height: 13px;
  flex-shrink: 0;
  transition: transform .22s ease;
}
.nav-back:hover .nav-back-arrow { transform: translateX(-4px); }

.brand-jp {
  font-family: "Shippori Mincho", serif;
  font-size: 10px; letter-spacing: .25em; color: #fff;
}

.hamburger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  border-radius: 4px;
  /* スクロール前はヘッダーが操作不可（pointer-events:none）なので、
     押せないハンバーガーは隠しておく。スクロールで操作範囲に入ったら表示。 */
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
/* スクロール後、またはキャスト系ページ（最初から操作可能）では表示 */
.site-header.is-scrolled .hamburger,
.page-cast .hamburger {
  opacity: 1; visibility: visible;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: #fff;
  transition: transform .25s, opacity .25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed; top: 0; right: 0; width: 86%; max-width: 380px; height: 100dvh;
  background: var(--brown);
  color: #e8dec6;
  z-index: 60;
  padding: 80px 28px 32px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.drawer[aria-hidden="false"] { transform: translateX(0); }
.drawer-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; font-size: 28px; color: #e8dec6;
}
.drawer-menu li { border-bottom: 1px solid rgba(232,222,198,.15); }
.drawer-menu a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 18px 4px;
  font-family: "Cinzel", serif; font-size: 18px; letter-spacing: .15em;
  color: var(--gold-soft);
}
.drawer-menu a span {
  font-family: "Shippori Mincho", serif;
  font-size: 11px; letter-spacing: .2em; color: #b8ad94;
}
.drawer-contact { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.drawer-pill {
  display: block; text-align: center;
  border: 1px solid var(--gold-soft); color: var(--gold-soft);
  border-radius: 999px; padding: 12px 16px;
  letter-spacing: .1em; font-size: 14px;
}
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 55; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

/* =================================================
   HERO
   ================================================= */
.hero {
  position: relative;
  padding-top: 0;
}
.hero-stage {
  position: relative;
  height: 86vh; min-height: 480px;
  overflow: hidden;
}
.hero-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 55%, transparent 75%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 25%, transparent 70%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1);
  will-change: opacity, transform;
}
.hero-slide.is-active {
  /* 【調整箇所】アニメーションの長さ（秒） */
  /* ※ script.js の INTERVAL より少し長く設定してクロスフェードさせます */
  animation:
    heroZoom 5s linear forwards,
    heroFade 5s linear forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.18); }
}
/* 0–1s : fade in / 1–2s : solo / 2–3s : fade out (crossfade w/ next) */
@keyframes heroFade {
  0%   { opacity: 0; }
  33%  { opacity: 1; }
  66%  { opacity: 1; }
  100% { opacity: 0; }
}
.hero-sign {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 45vw; max-width: 192px; aspect-ratio: 1/1;
  background: transparent;
  border: 0;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
}
.hero-sign-svg {
  width: 100%; height: 100%; display: block;
}
/* legacy hero-sign-inner text styles (kept harmless) */
.hero-sign-inner { display: none; }

/* =================================================
   INTRO
   ================================================= */
.intro {
  text-align: center;
  padding: 48px 20px 56px;
  background: #FFF;
}
.intro-eyebrow {
  font-size: 15px; letter-spacing: .25em; color: var(--ink-soft);
  margin: 0 0 14px; color: var(--gold-deep);font-weight: 500;
  padding: 0px 0px 0px 20px;
}
.intro-title {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 0 28px;
  font-weight: normal;
  flex-wrap: wrap;
}
.intro-rio {
  height: 44px; width: auto; flex-shrink: 0;
}
.intro-name {
  font-family: "Shippori Mincho", serif;
  font-size: 24px; letter-spacing: .12em; color: var(--ink);font-weight: 700;
}
/* ロゴ画像モード */
.intro-logo-full { height: 60px; width: auto; margin: 0 auto; }

/* CTA buttons */
.cta-gold {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-width: 220px;
  background: linear-gradient(180deg, #c79c5e 0%, #a07239 100%);
  color: #fff;
  border-radius: 999px;
  padding: 14px 28px;
  letter-spacing: .15em;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(160,114,57,.3);
  transition: transform .15s;
}
.cta-gold:hover { transform: translateY(-1px); }

.cta-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold-deep);
  color: var(--gold-deep);
  border-radius: 999px;
  padding: 18px 36px;
  letter-spacing: .15em;
  font-size: 14px;
  background: transparent;
  line-height: 1;
}
.cta-arrow { font-family: serif; font-size: 18px; line-height: 1; }
/* SVG矢印（›の代替）：グリフの下ズレを回避し常に中央に揃える */
svg.cta-arrow { width: 7px; height: 13px; flex-shrink: 0; vertical-align: middle; }

/* =================================================
   CAST
   ================================================= */
.cast-section { background: var(--bg); }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
.cast-card {
  transition: transform .2s;
}
.cast-card:hover { transform: translateY(-3px); }
.cast-card-link { display: block; }
.cast-name-block { text-decoration: none; }
.cast-img {
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ece4d4;
  margin-bottom: 8px;
  box-shadow: var(--shadow-card);
}
.cast-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s;
}
.cast-card:hover .cast-img img { transform: scale(1.04); }
.cast-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding-right: 2px;
}
.cast-name-block { display: flex; flex-direction: column; min-width: 0; }
.cast-name {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-size: 18px; letter-spacing: .08em;
  color: var(--ink);
}
.cast-name-en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 12px; color: var(--gold-deep);
  letter-spacing: .2em;
}
.cast-sns { display: flex; gap: 5px; flex-shrink: 0; }
.cast-sns-btn {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  color: var(--gold-deep);
  background: var(--paper);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.cast-card:hover .cast-sns-btn { border-color: var(--gold-soft); }
.cast-sns-btn:hover { background: var(--gold-deep); color: #fff; }
.cast-sns-empty { opacity: .3; cursor: default; }

/* =================================================
   FLOATING CTA (always bottom-right)
   ================================================= */
.floating-cta {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 80;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  font-family: "Shippori Mincho", serif;
  font-size: 15px; letter-spacing: .14em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #c89352 0%, #a86a2e 50%, #8a3a1e 100%);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.18);
  border-radius: 999px;
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}
.floating-cta .cta-arrow {
  font-family: "Cinzel", serif;
  font-size: 18px;
  transition: transform .25s ease;
}
.floating-cta:hover {
  opacity: .82;
  transform: translateY(-3px) translateX(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.32), 0 4px 10px rgba(0,0,0,.2);
}
.floating-cta:hover .cta-arrow { transform: translateX(3px); }
@media (min-width: 768px) {
  .floating-cta {
    right: 28px; bottom: 28px;
    padding: 16px 28px;
    font-size: 16px;
  }
}

/* =================================================
   ABOUT - 統合・最終調整版
   ================================================= */

/* 1. セクション全体の構造 */
.about-section {
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #fff; 
}

/* 2. 背景画像 */
.about-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35; 
  filter: grayscale(10%);
}

/* 3. 背景のグラデーション（境界をぼかす） */
.about-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, #fff 0%, transparent 20%, transparent 80%, #fff 100%);
}

/* 4. レイアウトの基本 */
.about-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}

/* 5. ロゴの設定 */
.about-rio {
  display: block; margin: 0 auto 14px;
  height: 60px; width: auto;
  filter: none;
  opacity: 1;
}

/* 6. タイトル */
.about-title {
  font-family: "Shippori Mincho", serif;
  font-size: 36px; 
  font-weight: 600;
  margin: -12px 0 -10px; 
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}

/* レスポンシブ設定 */
@media (min-width: 600px) {
  .about-title br {
    display: none;
  }
}

/* PCサイズ */
@media (min-width: 900px) {
  .about-title {
    font-size: 44px;
  }
}

/* 7. 白い枠 */
.about-card {
  background: rgba(255, 255, 255, 0.5); 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);

  padding: 64px 32px;
  width: 100%; 
  max-width: 540px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  border-radius: 50px;
  text-align: center;
}

/* 8. リード文 */
.about-lead {
  font-family: "Shippori Mincho", serif;
  font-size: 1.25em;
  font-weight: 600;
  margin: 0 0 32px;
  color: var(--ink);
  letter-spacing: .05em;
  line-height: 1.6;
  text-align: center;
}

/* 9. 説明文 */
.about-body {
  font-size: 0.9em;
  color: var(--ink-soft);
  margin: 0; 
  line-height: 2.4;
  letter-spacing: .1em;
  display: inline-block; 
  text-align: left; 
  max-width: 100%;
}

/* =================================================
   GALLERY
   ================================================= */
.gallery-section { background: var(--bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gallery-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #ddd;
  cursor: zoom-in;
  width: 100%;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* =================================================
   SYSTEM
   ================================================= */
.system-section { background: #FFF; }
.system-tabs { display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 0 auto; }
.system-card {
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.system-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: linear-gradient(180deg, #fbf7ed, #f2e9d6);
  border-bottom: 1px solid var(--gold-soft);
  text-align: left;
  position: relative;
}
.system-head[aria-expanded="false"] { border-bottom-color: transparent; }
.system-head-title {
  font-family: "Shippori Mincho", serif;
  font-size: 17px; letter-spacing: .12em; color: var(--ink);
}
.system-head-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px; color: var(--gold-deep); font-weight: 500;
  margin-left: auto; margin-right: 14px;
}
.system-head-icon {
  width: 14px; height: 14px;
  border-right: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: transform .3s;
}
.system-head[aria-expanded="true"] .system-head-icon {
  transform: rotate(-135deg);
}
.system-body {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}
.system-body[data-open="true"] { max-height: 1200px; }
.system-lead {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-deep);
  font-size: 18px;
  margin: 22px 0 14px;
  letter-spacing: .08em;
}
.system-cols { display: flex; flex-direction: column; }
.system-list { padding: 0 22px 26px; margin: 0; }
.system-list > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dotted var(--line);
  /* 行の文字サイズ：管理画面の「文字px」を --rfs で受け取る（未指定は15px） */
  font-size: var(--rfs, 15px);
}
.system-list > div:last-child { border-bottom: 0; }
.system-list dt { color: var(--ink-soft); }
/* （60分）等の補足・金額・税込は行の文字サイズに比例（em） */
.system-list dt small { font-size: 0.72em; color: var(--ink-mute); }
.system-list dd {
  margin: 0; color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2em; font-weight: 500; flex-shrink: 0; margin-left: 12px;
}
.system-list dd small { font-size: 0.62em; color: var(--ink-mute); margin-left: 2px; }
/* テキスト種別の値（カラオケ完備・各種カードご利用可 等）は本文サイズ・通常フォント */
.system-list dd.dd-text {
  font-family: inherit;
  font-size: 0.9em;
  font-weight: 400;
}
/* 延長・その他は少し小さめ（行で個別指定があればそちら優先） */
.system-list--secondary > div { font-size: var(--rfs, 13px); }
.system-list--secondary dd { font-size: 1.1em; }

/* スマホでは行の文字サイズに上限をかけ、大きいpx指定でも崩れないようにする */
@media screen and (max-width: 767px) {
  .system-list > div,
  .system-list--secondary > div { font-size: min(var(--rfs, 15px), 16px); }
}

/* 通常システム ＋ その他 の並び（スマホは縦積み） */
.system-row { display: flex; flex-direction: column; gap: 14px; }
.system-row .system-card { flex: 1; min-width: 0; }

/* 「各種カードご利用可」行のカードアイコン */
.system-list dd.dd-pay {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.system-pay-icons {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end;
}

/* =================================================
   ACCESS
   ================================================= */
.access-section { background: var(--bg); }
.access-table {
  font-family: "Shippori Mincho", serif;
  max-width: 560px; margin: 0 auto;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 32px 24px 0;
  box-shadow: none;
}
.access-table > div {
  display: grid; grid-template-columns: 106px 1fr;
  align-items: center;
  padding: 16px 0 16px 11px;
  border-bottom: 0.5px solid #ddd;
  font-size: 1em;
}
.access-table > div:last-child { border-bottom: 0; padding-bottom: 24px; }
.access-table dt {
  font-family: "Shippori Mincho", serif;
  font-size: 0.9em; letter-spacing: .06em;
  color: var(--gold-deep);
  font-weight: 600;
}
.access-table dd { margin: 0; color: var(--ink); line-height: 1.7; font-size: 0.8em }
.access-table .row-tel dd {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3em; font-weight: 500; letter-spacing: .04em;
  line-height: 1.2;
}
.access-table .row-store { grid-template-columns: 1fr; }
.access-table .row-store dd {
  font-family: "Shippori Mincho", serif;
  font-size: 1em; font-weight: 600; color: var(--gold-deep); letter-spacing: .1em;
}
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.payment-icon  { height: 22px; width: auto; object-fit: contain; }
.access-map {
  max-width: 560px; margin: 0 auto;
  aspect-ratio: 1;
  background: #fff;
  padding: 0 24px 32px;
  border-radius: 0 0 24px 24px;
  box-shadow: none;
}
.access-map iframe {
  border-radius: 12px;
}

@media (min-width: 900px) {
  .access-table {
    background: var(--paper);
    border-radius: 0;
    background-color: #FFF;
    padding: 10px;
    box-shadow: var(--shadow-card);
  }
  .access-table > div {
    padding: 16px 18px;
  }
  .access-table > div:last-child { padding-bottom: 16px; }
  .access-map {
    background: #ddd;
    padding: 0;
    border-radius: 0;
    margin: 0;
    aspect-ratio: auto;
    box-shadow: var(--shadow-card);
  }
  .access-map iframe {
    border-radius: 0;
  }
}

/* =================================================
   OTHER STORE
   ================================================= */
.other-section { background: #FFF; }
.other-list { display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 0 auto; }
.other-card {
  display: block; position: relative;
  height: 110px;
  background-size: cover; background-position: center;
  overflow: hidden;
  color: #fff;
}
span.other-card { cursor: default; }
.other-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%);
}
.other-name, .other-name-en {
  position: relative; z-index: 1;
}
.other-name {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-size: 22px; letter-spacing: .1em;
  margin: 30px 0 0 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.other-name-en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px; letter-spacing: .25em;
  margin: 4px 0 0 26px;
  color: #e8c88c;
}
.other-name-en i { font-style: italic; }

/* =================================================
   SNS
   ================================================= */
.sns-section { background: var(--bg); text-align: center; padding-top: 0; }
.sns-section .section-head { padding-top: 40px; }
.sns-list {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 560px; margin: 0 auto;
}
.sns-btn {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  height: 64px;
  font-family: "Cinzel", serif;
  letter-spacing: .15em;
  font-size: 17px;
  color: #fff;
}
.sns-btn .cta-arrow {
  position: absolute; right: 20px;
  top: 50%; transform: translateY(-50%);
}
.sns-instagram { background: linear-gradient(90deg, #f06ea8 0%, #f59755 100%); }
.sns-tiktok { background: #1c1c1c; }
.sns-blog { background: #d34a4a; font-family: "Shippori Mincho", serif; }

/* =================================================
   FOOTER
   ================================================= */
.site-footer {
  background: #524b47;
  color: #c9bda3;
  padding: 60px 24px 32px;
  text-align: left;
}
.footer-inner { max-width: 560px; margin: 0 auto; }
.footer-brand {
  font-family: "Cinzel", serif;
  font-size: 1.6rem; letter-spacing: .1em;
  font-weight: 500;
  color: #FFF;
  margin: 0 0 14px;
  font-variant: small-caps; /* 「LOUNGE RIO」を小型大文字風に（旧 <small> 相当） */
}
.footer-brand small {
  font-size: 1.2rem; font-weight: 400; letter-spacing: .15em;
}
.footer-brand-accent { color: var(--gold-soft); }
.footer-tagline {
  font-size: 14px; line-height: 1.6; color: #FFF;
  margin: 0 0 32px;
}
.footer-h {
  font-family: "Cinzel", serif;
  font-size: 22px; letter-spacing: .12em;
  color: var(--gold-soft);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.footer-pill {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border: 1px solid #FFF; border-radius: 999px;
  padding: 10px 16px;
  margin: 3px 16px;
  font-family: "Cinzel", serif; letter-spacing: .1em;
  color: #FFF; font-size: 1.4em;
}
.footer-pill .cta-arrow { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: #FFF; }
.footer-nav {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 4px 0 24px;
  margin-bottom: 24px;
  font-size: 1.1em; letter-spacing: .04em;
  color: #FFF;
}
.footer-nav li:not(:last-child)::after {
  content: "｜"; color: #FFF; margin-left: 16px;
}

/* スマホ表示：フッターナビを小さく・中央揃え（区切り「｜」はPC同様に表示） */
@media screen and (max-width: 767px) {
  .footer-nav {
    justify-content: center;
    align-items: center;
    font-size: 13px;
    gap: 10px;
    padding: 4px 0 20px;
  }
  .footer-nav li { white-space: nowrap; }
  .footer-nav li:not(:last-child)::after { margin-left: 10px; }
}

.footer-social { display: flex; gap: 18px; margin-bottom: 32px; }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #FFF;
}

/* 最下部：リオグループのロゴ＋説明文＋コピーライト */
.footer-bottom {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1.5px solid rgba(255,255,255,.4);
  text-align: center;
}
.footer-group {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.footer-group-mark {
  margin: 0;
}
.footer-group-mark img {
  height: 28px;
  width: auto;
  max-width: none;
}
.footer-group-mark .rio-glyph { color: var(--gold-soft); font-size: 22px; }
.footer-group-desc {
  /* スマホ12px〜PC13px。clampで一元管理し、PC側で逆に小さくなる事故を防ぐ */
  font-size: clamp(9px, 1vw, 10px);
  color: #b1b1b1; line-height: 1.9; margin: 0;
}
.footer-copy {
  font-family: "Cormorant Garamond", serif;
  font-size: 9px; color: #b1b1b1;
  margin: 0;
}

/* =================================================
   GALLERY MODAL
   ================================================= */
.modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15,10,5,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.modal[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; font-size: 32px; color: #e8dec6;
  z-index: 2;
}
.modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; font-size: 36px;
  color: #e8dec6;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.modal-prev { left: 6px; }
.modal-next { right: 6px; }
.modal-stage {
  max-width: 92vw; max-height: 80vh;
  display: flex; align-items: center; justify-content: center;
}
.modal-stage img {
  max-width: 92vw; max-height: 80vh; object-fit: contain;
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
}
.modal-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #b1a48b; font-family: "Cormorant Garamond", serif; font-size: 14px;
  letter-spacing: .25em;
  margin: 0;
}

/* =================================================
   PC (>= 900px)
   ================================================= */
@media (min-width: 900px) {
  .section { padding: 96px 40px; }
  .section-title { font-size: 40px; }
  .section-sub { font-size: 13px; }

  /* Hero */
  .hero-image { height: 90vh; min-height: 600px; }
  .sign-title { font-size: 44px; }
  .sign-eyebrow { font-size: 13px; }

  /* Header */
  .site-header { padding: 18px 32px; }
  .brand-logo { height: 100px; }
  /* キャスト系ページもPCでは大きいロゴ(100px)を維持（スクロール時も縮小しない） */
  .page-cast .site-header.is-scrolled .brand-logo { height: 100px; }

  /* Intro */
  .intro { padding: 35px 20px 25px; }
  .intro-rio { height: 60px; }
  .intro-name { font-size: 30px; }

  /* Cast — 4 columns */
  .cast-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 24px;
    max-width: 1100px; margin: 0 auto;
  }
  .cast-name { font-size: 20px; }

  /* About — side by side */
  .about-section { padding: 130px 40px; }
  .about-inner {
    flex-direction: row; align-items: center; justify-content: center;
    gap: 80px;
    max-width: 1080px; margin: 0 auto;
  }
  .about-title-block { text-align: left; }
  .about-title { font-size: 44px; }
  .about-rio { margin: 0 0 18px; height: 100px; }
  .about-card { max-width: 460px; padding: 44px 40px 48px; }
  .about-lead { font-size: 26px; }
  .about-body { font-size: 18px; }

  /* Gallery — 3 columns */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 1100px; margin: 0 auto;
  }

  /* System */
  .system-tabs { max-width: 900px; }
  .system-head-title { font-size: 20px; }
  .system-head-price { font-size: 26px; }
  /* 通常システム ＋ その他 をPCでは横並び・同じ高さに揃える */
  .system-row { flex-direction: row; align-items: stretch; gap: 20px; }
  .system-row .system-card { display: flex; flex-direction: column; }
  .system-row .system-body[data-open="true"] { flex: 1; max-height: none; }
  /* 通常システム：3行を縦に広げて余白を増やし、その他の高さに合わせる */
  .system-row [data-system="normal"] .system-list {
    height: 100%; display: flex; flex-direction: column; justify-content: space-evenly;
  }
  .system-row [data-system="normal"] .system-list > div { padding: 18px 0; }
  /* その他：行間を詰めてコンパクトに */
  .system-list--secondary > div { font-size: var(--rfs, 13px); padding: 9px 0; }
  .system-list--secondary dd { font-size: 1.1em; }

  /* Access — side by side */
  .access-section .access-table,
  .access-section .access-map { max-width: none; }
  .access-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "head head" "table map";
    column-gap: 32px;
    max-width: 1100px; margin: 0 auto;
  }
  .access-section .section-head { grid-area: head; }
  .access-section .access-table { grid-area: table; }
  .access-section .access-map { grid-area: map; aspect-ratio: auto; height: 100%; min-height: 360px; margin: 0; }

  /* Other store — 3 col */
  .other-list { flex-direction: row; max-width: 1100px; }
  .other-list li { flex: 1; }
  .other-card { height: 160px; }
  .other-name { margin-top: 50px; font-size: 24px; }

  /* SNS */
  .sns-list { flex-direction: row; max-width: 1100px; }
  .sns-list li { flex: 1; }
  .sns-btn { height: 80px; font-size: 18px; }

  /* Footer */
  .site-footer { padding: 60px 40px 32px; }
  .footer-inner {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand    contacth"
      "tagline  contact"
      "nav      contact"
      "social   contact"
      "bottom   bottom";
    column-gap: 80px;
    row-gap: 12px;
    align-items: start;
  }
  .footer-brand { grid-area: brand; font-size: 26px; margin-bottom: 0; }
  .footer-tagline { grid-area: tagline; margin-bottom: 0; }
  .footer-h { grid-area: contacth; margin-top: 0; }
  .footer-contact { grid-area: contact; margin: 0; }
  /* ナビ・SNSは左列のまま、CONTACT（電話〜採用情報）の高さあたりへ上げる */
  .footer-nav { grid-area: nav; margin: 0; align-self: center; }
  .footer-social { grid-area: social; margin: 0; justify-content: flex-start; align-self: center; }
  /* 最下部：ロゴ＋説明＋コピーライトを横いっぱいに */
  .footer-bottom { grid-area: bottom; margin-top: 24px; }
  /* ロゴの下に説明文（縦並び・中央揃え） */
  .footer-group { gap: 8px; margin-bottom: 14px; }
  .footer-group-mark img { height: 26px; width: auto; max-width: none; }
  .footer-group-desc { line-height: 1.6; margin: 0; }
}
