/* =========================================================
   KYABEL / SOUND GALLERY (SITE 43)
   ミュージックラウンジ・左右固定型・中央720px・暗(カーボン)。
   質感=音の展覧会：カーボン地／真鍮(アンバー)の吊り線／ステージブルーの面光／
   Space Mono の時刻ラベル／Oswald の展示見出し。
   シグネチャ=縦型タイムテーブル（展覧会キャプション風）＋選択で背景ステージ切替。
   AIデフォルト(b)黒＋単色蛍光を回避：アンバー×ステージブルーの2色運用＋
   壁ラベル/吊り線/音波の展示メタファーで「夜のギャラリー」に寄せる。
   34(紙×銅の台帳)/35(盤と棚)とは主役が別（43=時間と席）。
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --carbon: #161719;       /* カーボンブラック（基調） */
  --panel: #1e2023;        /* パネル面 */
  --panel-2: #23262b;      /* やや明るいパネル */
  --deep: #101113;         /* 影・帯 */
  --text: #e7e3db;         /* 本文（暗背景で高コントラスト） */
  --muted: #aaa69d;        /* 補足（暗背景で約7:1・14px以上） */
  --grey: #8d8880;         /* ウォームグレー（装飾・罫） */
  --amber: #cf9146;        /* アンバー（面・吊り線・見出し・約6:1で文字可） */
  --amber-ink: #dda15e;    /* アンバー小文字用（暗背景で約7:1） */
  --blue: #35507c;         /* ステージブルー（面・光。文字には使わない） */
  --blue-ink: #86a4d6;     /* ブルー文字/リンク用（暗背景で約6:1） */
  --line: rgba(231, 227, 219, 0.12);
  --line-2: rgba(231, 227, 219, 0.22);
  --ok: #62b98a;           /* 空席あり（暗背景で判別可） */

  --main: 720px;
  --rail-left: 240px;
  --rail-right: 300px;
  --shell-max: 1440px;

  --display: "Oswald", "Noto Sans JP", system-ui, sans-serif;
  --sans: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --mono: "Space Mono", "Courier New", monospace;

  --topbar-h: 56px;
  --mcta-h: 60px;
  --ease: cubic-bezier(.2, .6, .32, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--carbon);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--mcta-h) + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 3px; border-radius: 2px; }
body.is-locked { overflow: hidden; }

/* カーボンの面光（固定・薄い縦の吊り線＋上部のステージ光） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% -8%, rgba(207, 145, 70, 0.10), transparent 70%),
    radial-gradient(50% 40% at 88% 8%, rgba(53, 80, 124, 0.12), transparent 72%);
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  background: var(--amber); color: var(--deep);
  padding: 10px 16px; font-size: 14px; font-weight: 700;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: .06em;
  border: 1px solid var(--line-2); border-radius: 0;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
  text-align: center; text-transform: uppercase;
}
.btn--amber { background: var(--amber); color: var(--deep); border-color: var(--amber); }
.btn--amber:hover { background: var(--amber-ink); border-color: var(--amber-ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber-ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }

/* ---------- placeholder figure ---------- */
.ph { position: relative; overflow: hidden; background: var(--deep); }
.ph::before { content: ""; display: block; }
.ph[data-ratio="4x5"]::before { padding-top: 125%; }
.ph[data-ratio="3x4"]::before { padding-top: 133.33%; }
.ph[data-ratio="2x3"]::before { padding-top: 150%; }
.ph[data-ratio="1x1"]::before { padding-top: 100%; }
.ph[data-ratio="3x2"]::before { padding-top: 66.66%; }
.ph[data-ratio="16x9"]::before { padding-top: 56.25%; }
.ph[data-ratio="21x9"]::before { padding-top: 42.85%; }
.ph[data-ratio="4x3"]::before { padding-top: 75%; }
.ph > img, .ph > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph__label {
  position: absolute; left: 10px; bottom: 8px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  color: var(--text); opacity: .5;
}
.ph.is-broken { background: repeating-linear-gradient(45deg, var(--deep) 0 12px, #1c1e22 12px 24px); }
.ph.is-broken > img { display: none; }

/* ============================================================
   モバイルヘッダー（左レール → topbar/drawer）
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--topbar-h);
  background: rgba(22, 23, 25, .92);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line-2);
  padding-top: env(safe-area-inset-top);
}
.topbar__inner {
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
}
.topbar__toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.topbar__toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.topbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.topbar__logo { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: .12em; color: var(--text); text-transform: uppercase; }
.topbar__logo span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--amber-ink); text-transform: none; }
.topbar__reserve {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px;
  font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .06em;
  background: var(--amber); color: var(--deep);
}
@media (min-width: 1024px) { .topbar { display: none; } }

/* ---------- ドロワー ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(10, 11, 13, .58);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.drawer[aria-hidden="false"] { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: min(86vw, 340px);
  background: var(--panel);
  border-right: 2px solid var(--amber);
  padding: calc(env(safe-area-inset-top) + 26px) 26px calc(env(safe-area-inset-bottom) + 26px);
  overflow-y: auto;
  transform: translateX(-100%); transition: transform .34s var(--ease);
  display: flex; flex-direction: column; gap: 22px;
}
.drawer[aria-hidden="false"] .drawer__panel { transform: translateX(0); }
.drawer__brand { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: .08em; color: var(--text); line-height: 1.1; text-transform: uppercase; }
.drawer__brand span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--amber-ink); margin-top: 6px; text-transform: none; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 2px; min-height: 48px; border-bottom: 1px solid var(--line);
}
.drawer__nav .en { font-family: var(--display); font-size: 17px; letter-spacing: .06em; color: var(--text); min-width: 116px; text-transform: uppercase; }
.drawer__nav .ja { font-size: 14px; color: var(--muted); }
.drawer__info { font-size: 14px; color: var(--text); line-height: 1.7; }
.drawer__tel { font-family: var(--mono); font-size: 22px; letter-spacing: .02em; color: var(--amber-ink); }

/* ============================================================
   固定レール・シェル
   ============================================================ */
.shell { padding: var(--topbar-h) 16px 0; }
.shell__grid { display: block; max-width: var(--main); margin: 0 auto; }
.rail { display: none; }

/* ---- rail 共通見た目 ---- */
.rail__box { border: 1px solid var(--line); background: var(--panel); }
.rail__head {
  display: flex; align-items: baseline; gap: 8px; justify-content: space-between;
  padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2);
}
.rail__head .en { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--text); text-transform: uppercase; }
.rail__head .ja { font-size: 12px; color: var(--amber-ink); font-family: var(--mono); letter-spacing: .06em; }
.rail__pad { padding: 12px 14px; }
.rail__book { display: grid; gap: 8px; }

/* ============================================================
   メイン
   ============================================================ */
.main { min-width: 0; }

/* ---------- HERO ---------- */
.hero { padding: 20px 0 6px; }
.hero__stage { border: 1px solid var(--line-2); }
.hero__stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(22, 23, 25, 0) 40%, rgba(22, 23, 25, .55) 100%);
}
.hero__body { padding: 22px 0 0; }
.hero__eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  color: var(--amber-ink); border: 1px solid var(--amber); padding: 4px 10px; margin-bottom: 14px;
}
.hero__logo {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(44px, 13vw, 88px); line-height: .92; letter-spacing: .01em; color: var(--text);
}
.hero__logo small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--amber-ink); margin-top: 12px; font-weight: 400; text-transform: none; }
.hero__copy {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(22px, 6vw, 32px); line-height: 1.25; color: var(--amber-ink);
  margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--amber); text-transform: uppercase; letter-spacing: .04em;
}
.hero__sub { margin-top: 16px; font-size: 16px; line-height: 1.85; color: var(--text); max-width: 38em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- section 共通 ---------- */
.sec { padding: 34px 0; border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 20px; }
.sec-head__en {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--amber-ink);
}
.sec-head__en::before { content: ""; width: 26px; height: 1px; background: var(--amber); }
.sec-head__ja { font-family: var(--display); font-size: clamp(26px, 6vw, 34px); font-weight: 600; color: var(--text); line-height: 1.2; margin-top: 8px; text-transform: uppercase; letter-spacing: .02em; }
.sec-lead { font-size: 16px; line-height: 1.85; color: var(--text); margin-top: 8px; max-width: 42em; }
.note { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 14px; }

/* ---------- TONIGHT full ---------- */
.tonight-panel { border: 1px solid var(--line-2); background: var(--panel); display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); }
.tonight-panel__badge { padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 168px; }
.open-dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; font-family: var(--display); letter-spacing: .04em; text-transform: uppercase; }
.open-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grey); }
.open-dot--on { color: var(--amber-ink); }
.open-dot--on::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(98, 185, 138, .18); }
.open-dot--off { color: var(--muted); }
.tonight-panel__badge small { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.tonight-panel__body { padding: 16px 20px; }
.tonight-list { display: grid; gap: 8px; margin-bottom: 14px; }
.tonight-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.tonight-row__time { font-family: var(--mono); font-size: 14px; color: var(--amber-ink); white-space: nowrap; }
.tonight-row__body b { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--text); display: block; letter-spacing: .02em; }
.tonight-row__body span { font-size: 13px; color: var(--muted); }
.tonight-empty { font-size: 15px; color: var(--muted); line-height: 1.7; }
.tonight-panel__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.tonight-panel__meta div { display: flex; gap: 8px; font-size: 14px; }
.tonight-panel__meta dt { color: var(--muted); min-width: 4em; }
.tonight-panel__meta dd { color: var(--text); font-family: var(--mono); font-size: 14px; }
@media (max-width: 560px) {
  .tonight-panel { grid-template-columns: minmax(0, 1fr); }
  .tonight-panel__badge { border-right: 0; border-bottom: 1px solid var(--line); min-width: 0; }
}

/* ---------- TONIGHT compact (rail / msum) ---------- */
.tonight { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; width: 100%; }
.tonight__time { font-family: var(--mono); font-size: 20px; color: var(--amber-ink); }
.tonight__title { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.2; display: block; letter-spacing: .02em; }
.tonight__meta { font-size: 12px; color: var(--muted); display: block; }
.tonight__open { font-family: var(--mono); font-size: 12px; color: var(--amber-ink); margin-top: 4px; display: inline-block; }

/* ---------- TIME (rail / msum) ---------- */
.times-list { display: grid; gap: 6px; }
.times-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 5px 0; border-bottom: 1px dotted var(--line); }
.times-list li:last-child { border-bottom: 0; }
.times-list__t { font-family: var(--mono); font-size: 15px; color: var(--amber-ink); }
.times-list__n { font-size: 14px; color: var(--text); }
.times-empty { font-size: 14px; color: var(--muted); }

/* ---------- 空席デモ ---------- */
.seat-list { display: grid; gap: 8px; }
.seat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.seat-row:last-child { border-bottom: 0; }
.seat-row__name b { font-size: 14px; color: var(--text); }
.seat-row__name span { font-size: 12px; color: var(--muted); font-family: var(--mono); margin-left: 6px; }
.seat-badge { font-family: var(--mono); font-size: 12px; padding: 3px 8px; border: 1px solid; white-space: nowrap; }
.seat-badge--open { color: var(--ok); border-color: var(--ok); }
.seat-badge--few { color: var(--amber-ink); border-color: var(--amber); }
.seat-badge--full { color: var(--muted); border-color: var(--line-2); }
.seat-note { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.6; }

/* ---------- 席種クイック（rail） ---------- */
.seat-quick { display: grid; gap: 6px; }
.seat-quick button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; padding: 9px 10px; border: 1px solid var(--line); background: var(--panel-2); min-height: 44px; }
.seat-quick button:hover { border-color: var(--amber); }
.seat-quick__n { font-size: 14px; color: var(--text); }
.seat-quick__c { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- MENU ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.menu-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 46px; padding: 6px 16px; border: 1px solid var(--line-2); background: var(--panel); }
.menu-tab__en { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--text); text-transform: uppercase; }
.menu-tab__ja { font-size: 12px; color: var(--muted); }
.menu-tab[aria-selected="true"] { background: var(--amber); border-color: var(--amber); }
.menu-tab[aria-selected="true"] .menu-tab__en { color: var(--deep); }
.menu-tab[aria-selected="true"] .menu-tab__ja { color: rgba(16, 17, 19, .7); }
.menu-tab:hover { border-color: var(--amber); }
.menu-grid { display: grid; gap: 12px; }
.menu-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 1px solid var(--line); background: var(--panel); padding: 10px; }
.menu-item__ph { width: 76px; }
.menu-item__name { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: .02em; }
.menu-item__ja { font-size: 13px; color: var(--amber-ink); }
.menu-item__note { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 3px; }
.menu-item__price { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
.menu-charge { margin-top: 14px; font-size: 14px; color: var(--muted); font-family: var(--mono); }

/* ---------- SEATS: 席種図 + カード ---------- */
.seatmap { border: 1px solid var(--line); background: var(--deep); padding: 12px; margin-bottom: 16px; }
.seatmap__svg { width: 100%; height: auto; }
.sm-frame { stroke: var(--line-2); }
.sm-stage rect { fill: var(--blue); fill-opacity: .5; }
.sm-t { fill: var(--muted); font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: .04em; }
.sm-stage .sm-t { fill: var(--text); }
.sm-zone circle, .sm-zone rect { fill: var(--grey); fill-opacity: .3; stroke: var(--line-2); transition: fill-opacity .2s, fill .2s; }
.sm-zone.is-active circle, .sm-zone.is-active rect { fill: var(--amber); fill-opacity: .85; }
.sm-zone.is-active .sm-t { fill: var(--amber-ink); }
.sm-zone.is-dim { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .sm-zone circle, .sm-zone rect { transition: none; } }

.seat-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seat-card { border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; transition: border-color .2s; }
.seat-card:hover, .seat-card:focus-visible { border-color: var(--amber); }
.seat-card__body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.seat-card__name { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: .02em; }
.seat-card__name small { display: block; font-family: var(--mono); font-size: 11px; color: var(--amber-ink); letter-spacing: .08em; margin-top: 2px; }
.seat-card__cap { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.seat-card__note { font-size: 14px; color: var(--text); line-height: 1.7; }
.seat-card__price { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--amber-ink); margin-top: 2px; }

/* ============================================================
   PROGRAM — 縦型タイムテーブル（シグネチャ）＋背景切替
   ============================================================ */
.stageview { border: 1px solid var(--line-2); margin-bottom: 16px; }
.stageview > img { transition: opacity .32s var(--ease); }
.stageview.is-swapping > img { opacity: .18; }
.stageview::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(16, 17, 19, 0) 30%, rgba(16, 17, 19, .82) 100%); }
.stageview__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px; display: grid; gap: 3px; }
.stageview__time { font-family: var(--mono); font-size: 13px; color: var(--amber-ink); letter-spacing: .06em; }
.stageview__title { font-family: var(--display); font-size: clamp(20px, 4.5vw, 26px); font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.stageview__meta { font-size: 13px; color: var(--text); }
.stageview__note { font-size: 14px; color: var(--text); line-height: 1.65; max-width: 44em; margin-top: 3px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: reduce) { .stageview > img { transition: none; } }

.prog-days { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.prog-day { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 56px; min-height: 48px; padding: 6px 8px; border: 1px solid var(--line-2); background: var(--panel); }
.prog-day__en { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.prog-day__ja { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--text); }
.prog-day[aria-selected="true"] { background: var(--amber); border-color: var(--amber); }
.prog-day[aria-selected="true"] .prog-day__en, .prog-day[aria-selected="true"] .prog-day__ja { color: var(--deep); }
.prog-day:not(.is-closed):hover { border-color: var(--amber); }
.prog-day.is-closed { opacity: .5; cursor: not-allowed; }
.prog-genre-note { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 4px 0 14px; }

.timetable { display: grid; gap: 0; }
.tt-row { border-top: 1px solid var(--line); }
.tt-row:last-child { border-bottom: 1px solid var(--line); }
.tt-row__btn { display: grid; grid-template-columns: 66px 24px minmax(0, 1fr); gap: 0; width: 100%; text-align: left; padding: 16px 6px 18px; align-items: start; transition: background .2s; }
.tt-row__btn:hover { background: var(--panel); }
.tt-row__time { display: flex; flex-direction: column; gap: 2px; }
.tt-row__start { font-family: var(--mono); font-size: 16px; color: var(--amber-ink); }
.tt-row__end { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tt-row__spine { position: relative; display: block; width: 100%; height: 100%; }
.tt-row__spine::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: -18px; width: 1px; background: var(--line-2); transform: translateX(-.5px); }
.tt-row__spine::after { content: ""; position: absolute; left: 50%; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--carbon); border: 2px solid var(--grey); transform: translateX(-50%); transition: border-color .2s, background .2s; }
.tt-row:last-child .tt-row__spine::before { bottom: 50%; }
.tt-row__btn[aria-pressed="true"] .tt-row__spine::after { border-color: var(--amber); background: var(--amber); }
.tt-row__btn[aria-pressed="true"] { background: linear-gradient(90deg, rgba(207, 145, 70, .09), transparent 60%); }
.tt-row__body { display: grid; gap: 4px; padding-left: 4px; }
.tt-row__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.tt-row__title { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.tt-row__genre { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--amber-ink); border: 1px solid var(--line-2); padding: 2px 8px; }
.tt-row__artist { font-size: 13px; color: var(--blue-ink); font-family: var(--mono); }
.tt-row__note { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 42em; }
.tt-row__sel { font-family: var(--mono); font-size: 12px; color: var(--amber-ink); margin-top: 2px; opacity: 0; transition: opacity .2s; }
.tt-row__btn:hover .tt-row__sel, .tt-row__btn[aria-pressed="true"] .tt-row__sel { opacity: 1; }
.tt-empty { padding: 20px 4px; font-size: 15px; color: var(--muted); line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .tt-row__sel { opacity: 1; } }

/* ---- 特別イベント（strip → ポスターモーダル） ---- */
.events-head { margin: 30px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.events-head__en { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--amber-ink); }
.event-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.event-card { display: flex; flex-direction: column; text-align: left; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .2s; }
.event-card:hover { border-color: var(--amber); }
@media (prefers-reduced-motion: no-preference) { .event-card:hover { transform: translateY(-2px); } }
.event-card__body { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.event-card__date { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.event-card__title { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .01em; line-height: 1.2; }
.event-card__ja { font-size: 12px; color: var(--muted); }
.event-card__open { font-family: var(--mono); font-size: 11px; color: var(--amber-ink); margin-top: 4px; }

/* ---------- ARTIST ---------- */
.artist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.artist-card { border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.artist-card__body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.artist-card__name { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: .04em; text-transform: uppercase; }
.artist-card__name small { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 6px; text-transform: none; letter-spacing: 0; }
.artist-card__role { font-family: var(--mono); font-size: 12px; color: var(--amber-ink); letter-spacing: .04em; }
.artist-card__profile { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- PRIVATE / OCCASION ---------- */
.private-banner { border: 1px solid var(--line-2); margin-bottom: 16px; }
.occasion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.occ-card { border: 1px solid var(--line); background: var(--panel); padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--amber); }
.occ-card__en { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--amber-ink); }
.occ-card__name { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .02em; }
.occ-card__body { font-size: 14px; color: var(--text); line-height: 1.75; }
.occ-card__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: auto; padding-top: 6px; }

/* ---------- ACCESS ---------- */
.access-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.access-grid > .ph { border: 1px solid var(--line-2); }
.access-dl { display: grid; gap: 8px; }
.access-dl > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 10px; font-size: 14px; border-bottom: 1px dotted var(--line); padding-bottom: 6px; }
.access-dl dt { color: var(--muted); }
.access-dl dd { color: var(--text); line-height: 1.6; }
.access-steps { display: grid; gap: 8px; margin-top: 14px; counter-reset: step; }
.access-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.7; color: var(--text); }
.access-steps li::before { counter-increment: step; content: counter(step); font-family: var(--mono); font-size: 13px; color: var(--deep); background: var(--amber); width: 26px; height: 26px; display: grid; place-content: center; }
@media (max-width: 640px) { .access-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- RESERVATION ---------- */
.form { display: grid; gap: 14px; margin-top: 8px; border: 1px solid var(--line); background: var(--panel); padding: 18px; }
.form__row { display: flex; flex-direction: column; gap: 6px; }
.form__row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form__label { font-size: 14px; font-weight: 600; color: var(--text); }
.form__label .req { font-size: 11px; color: var(--deep); background: var(--amber); padding: 1px 6px; margin-left: 6px; font-family: var(--mono); }
.form__field {
  min-height: 48px; padding: 12px 14px; font-size: 16px; font-family: var(--sans);
  border: 1px solid var(--line-2); background: var(--deep); color: var(--text);
}
.form__field::placeholder { color: #726f68; }
.form__field:focus-visible { border-color: var(--amber-ink); }
textarea.form__field { min-height: 96px; resize: vertical; }
.form__note { font-size: 13px; color: var(--muted); line-height: 1.7; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.confirm { border: 1px solid var(--amber); background: var(--panel); padding: 18px; margin-top: 8px; }
.confirm__h { font-family: var(--display); font-size: 18px; color: var(--text); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .04em; }
.confirm__list { display: grid; gap: 8px; margin-bottom: 16px; }
.confirm__row { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 10px; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.confirm__row dt { color: var(--muted); }
.confirm__row dd { color: var(--text); }

/* ---------- footer ---------- */
.site-footer { border-top: 2px solid var(--amber); margin-top: 20px; padding: 30px 0 40px; }
.site-footer__logo { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .06em; }
.site-footer__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--amber-ink); margin-top: 4px; }
.site-footer__info { margin: 20px 0; display: grid; gap: 8px; }
.site-footer__info > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 10px; font-size: 14px; }
.site-footer__info dt { color: var(--muted); }
.site-footer__info dd { color: var(--text); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0; }
.site-footer__nav a { font-size: 14px; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; }
.site-footer__nav a:hover { color: var(--amber-ink); }
.site-footer__demo { font-size: 14px; color: var(--muted); line-height: 1.7; border-top: 1px solid var(--line); padding-top: 16px; }
.site-footer__copy { font-size: 13px; color: var(--muted); font-family: var(--mono); margin-top: 10px; }

/* ============================================================
   モバイル要約（右レール → トップ要約）
   ============================================================ */
.msum { margin: 18px 0 4px; display: grid; gap: 12px; }
.msum__box { border: 1px solid var(--line-2); background: var(--panel); }
.msum__title { display: flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.msum__title .en { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--amber-ink); }
.msum__title .ja { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: .04em; }
.msum__pad { padding: 12px 14px; }

/* ============================================================
   モバイル固定CTA（MUSIC LOUNGE: TONIGHT / SEAT / BOOK）
   ============================================================ */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  height: calc(var(--mcta-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--deep); border-top: 2px solid var(--amber);
}
.mcta__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--text); min-height: var(--mcta-h);
  border-right: 1px solid var(--line);
}
.mcta__btn:last-child { border-right: 0; }
.mcta__ic { font-size: 18px; line-height: 1; color: var(--amber-ink); }
.mcta__t { font-size: 12px; font-family: var(--mono); letter-spacing: .06em; }
@media (min-width: 1024px) { .mcta { display: none; } }

/* page top */
.page-top {
  position: fixed; right: 16px; bottom: calc(var(--mcta-h) + 16px + env(safe-area-inset-bottom)); z-index: 80;
  width: 46px; height: 46px; display: grid; place-content: center;
  background: var(--panel); border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 11px; color: var(--text);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.page-top.is-show { opacity: 1; visibility: visible; }
@media (min-width: 1024px) { .page-top { bottom: 20px; } }

/* ============================================================
   ポスター型モーダル（イベント詳細 2:3）
   ============================================================ */
.poster { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.poster.is-open { visibility: visible; }
.poster__backdrop { position: absolute; inset: 0; background: rgba(10, 11, 13, .72); opacity: 0; transition: opacity .3s; }
.poster.is-open .poster__backdrop { opacity: 1; }
.poster__panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -46%);
  width: min(760px, 94vw); max-height: 92vh; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--amber);
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.poster.is-open .poster__panel { opacity: 1; transform: translate(-50%, -50%); }
.poster__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; display: grid; place-content: center; font-size: 24px; color: var(--text); background: var(--panel); border: 1px solid var(--line-2); }
.poster__scroll { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.poster__art { border-right: 1px solid var(--line); }
.poster__info { padding: 22px 22px calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 4px; align-content: start; }
.poster__date { font-family: var(--mono); font-size: 14px; color: var(--amber-ink); letter-spacing: .06em; }
.poster__title { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; margin-top: 2px; }
.poster__ja { font-size: 14px; color: var(--muted); }
.poster__open { font-family: var(--mono); font-size: 14px; color: var(--blue-ink); margin-top: 8px; }
.poster__lead { font-size: 14px; color: var(--text); line-height: 1.75; margin: 10px 0; }
.poster__meta { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.poster__meta div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 10px; font-size: 14px; }
.poster__meta dt { color: var(--muted); }
.poster__meta dd { color: var(--text); }
.poster__detail { display: grid; gap: 6px; margin: 12px 0; }
.poster__detail li { font-size: 13px; color: var(--muted); line-height: 1.6; padding-left: 14px; position: relative; }
.poster__detail li::before { content: "—"; position: absolute; left: 0; color: var(--amber-ink); }
.poster__cta { margin-top: 12px; display: grid; gap: 10px; }
@media (max-width: 620px) {
  .poster__scroll { grid-template-columns: minmax(0, 1fr); }
  .poster__art { border-right: 0; border-bottom: 1px solid var(--line); max-height: 44vh; }
  .poster__art .ph { max-height: 44vh; }
}
@media (prefers-reduced-motion: reduce) {
  .poster__panel, .poster__backdrop { transition: none !important; }
}

/* ============================================================
   共通モーダル（デモ通知・送信完了）
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 220; display: none; place-content: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 11, 13, .6); }
.modal__panel { position: relative; z-index: 1; width: min(440px, 100%); background: var(--panel); border: 1px solid var(--amber); padding: 24px; }
.modal__title { font-family: var(--display); font-size: 20px; color: var(--text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .03em; }
.modal__body { font-size: 15px; line-height: 1.8; color: var(--text); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.modal__close-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-content: center; font-size: 22px; color: var(--text); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .drawer__panel { transition: none !important; }
}

/* ============================================================
   レスポンシブ：レール出現
   ============================================================ */

/* >=1024: 左レール出現（2カラム）／topbar・固定CTA退場。右レール情報はモバイル要約に残す */
@media (min-width: 1024px) {
  .shell { padding: 40px 24px 0; }
  .shell__grid {
    display: grid;
    grid-template-columns: var(--rail-left) minmax(0, 1fr);
    gap: 28px; max-width: 1040px; align-items: start;
  }
  .rail { display: block; }
  .rail-right { display: none; }
  .rail-left { position: sticky; top: 24px; align-self: start; }
  .main { max-width: var(--main); }
}

/* >=1280: 右レール出現（3カラム）／モバイル要約は退場 */
@media (min-width: 1280px) {
  .shell__grid {
    grid-template-columns: var(--rail-left) minmax(0, var(--main)) var(--rail-right);
    justify-content: center; max-width: var(--shell-max); gap: 30px;
  }
  .rail-right { display: flex; position: sticky; top: 24px; align-self: start; }
  .msum { display: none; }
}

/* <1280 のあいだ左レール幅を詰める */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --rail-left: 208px; }
}

/* ---- 左レール中身 ---- */
.rail-left { display: flex; flex-direction: column; gap: 18px; }
.rl-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.rl-logo { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--text); line-height: 1.0; text-transform: uppercase; letter-spacing: .02em; }
.rl-logo small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--amber-ink); margin-top: 8px; text-transform: none; }
.rl-tag { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.rl-nav { display: flex; flex-direction: column; }
.rl-nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); min-height: 40px; }
.rl-nav a .ja { font-size: 15px; color: var(--text); }
.rl-nav a .en { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.rl-nav a:hover .ja { color: var(--amber-ink); }
.rl-genres { display: grid; gap: 2px; padding: 8px; }
.rl-genre { display: flex; align-items: center; text-align: left; width: 100%; padding: 8px 10px; font-size: 13px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); min-height: 40px; transition: border-color .2s, background .2s; }
.rl-genre:hover { border-color: var(--amber); }
.rl-genre[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--deep); font-weight: 600; }
.rl-artists { display: grid; gap: 2px; padding: 8px; }
.rl-artists a { display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; border: 1px solid transparent; min-height: 40px; justify-content: center; }
.rl-artists a:hover { border-color: var(--line-2); background: var(--panel-2); }
.rl-artists .n { font-family: var(--display); font-size: 15px; color: var(--text); letter-spacing: .06em; text-transform: uppercase; }
.rl-artists .r { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ---- 右レール中身 ---- */
.rail-right { flex-direction: column; gap: 16px; }

@media (max-width: 1023px) {
  .rail { display: none !important; }
}

/* ---- 小画面調整 ---- */
@media (max-width: 720px) {
  .seat-types, .artist-grid, .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .form__row--2 { grid-template-columns: minmax(0, 1fr); }
  .seat-types, .artist-grid, .occasion-grid { grid-template-columns: minmax(0, 1fr); }
  .menu-item { grid-template-columns: 64px minmax(0, 1fr); }
  .menu-item__foot { grid-column: 2; }
  .tt-row__btn { grid-template-columns: 56px 20px minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .event-strip { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   V4-3 下層ページ共通・専用コンポーネント
   ============================================================ */
/* .ph の余白担保（教訓②：figure のUAマージンを明示的に0） */
.ph { margin: 0; }

/* 現在地表示（下層の左レール／ドロワー） */
.rl-nav a[aria-current="page"] .ja { color: var(--amber-ink); font-weight: 700; }
.rl-nav a[aria-current="page"] { border-left: 2px solid var(--amber); padding-left: 8px; margin-left: -10px; }
.drawer__nav a[aria-current="page"] .en { color: var(--amber-ink); }

/* 下層ページの見出し（page-hero） */
.page-hero { padding: 24px 0 20px; border-bottom: 1px solid var(--line); }
.page-hero__eyebrow { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--amber-ink); border: 1px solid var(--amber); padding: 4px 10px; margin-bottom: 14px; }
.page-hero__h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 8vw, 52px); line-height: 1.0; color: var(--text); text-transform: uppercase; letter-spacing: .02em; }
.page-hero__h1 small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .24em; color: var(--amber-ink); margin-top: 10px; text-transform: none; font-weight: 400; }
.page-hero__lead { font-size: 16px; line-height: 1.85; color: var(--text); margin-top: 14px; max-width: 42em; }

/* 本文プロース（concept / privacy） */
.prose { max-width: 44em; }
.prose h2 { font-family: var(--display); font-size: clamp(20px, 4vw, 26px); font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .02em; margin: 26px 0 10px; }
.prose h3 { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--amber-ink); margin: 20px 0 8px; }
.prose p { font-size: 16px; line-height: 1.9; color: var(--text); margin: 10px 0; }
.prose ul { display: grid; gap: 8px; margin: 10px 0; }
.prose li { font-size: 15px; line-height: 1.75; color: var(--text); padding-left: 16px; position: relative; }
.prose li::before { content: "—"; position: absolute; left: 0; color: var(--amber-ink); }

/* program.html：週間フル版 */
.pw-day { margin-top: 22px; }
.pw-day__h { margin: 0 0 4px; }
.pw-day__head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--amber); }
.pw-day__en { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--amber-ink); }
.pw-day__ja { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--text); text-transform: uppercase; }
.pw-day__today { font-family: var(--mono); font-size: 11px; color: var(--deep); background: var(--amber); padding: 2px 8px; margin-left: auto; }

/* artists.html：roleKey 別グループ */
.ag-group { margin-top: 24px; }
.ag-group__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.ag-group__en { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .02em; }
.ag-group__c { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* 比較表（広い表は .table-wrap 内スクロール） */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); margin-top: 8px; -webkit-overflow-scrolling: touch; }
.ctable { width: 100%; border-collapse: collapse; min-width: 560px; }
.ctable th, .ctable td { padding: 12px 14px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.ctable thead th { font-family: var(--display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); background: var(--panel-2); white-space: nowrap; }
.ctable tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
.ctable tbody td { color: var(--muted); }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: 0; }

/* gallery.html */
.gal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gal-card { display: flex; flex-direction: column; text-align: left; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s; }
.gal-card:hover { border-color: var(--amber); }
.gal-card__cap { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.gal-card__cap b { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .01em; }
.gal-card__cap span { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 560px) { .gal-grid { grid-template-columns: minmax(0, 1fr); } }

/* ライトボックス */
.lightbox { position: fixed; inset: 0; z-index: 210; visibility: hidden; }
.lightbox.is-open { visibility: visible; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(10, 11, 13, .82); opacity: 0; transition: opacity .3s; }
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(900px, 94vw); max-height: 92vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--amber); }
.lightbox__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; display: grid; place-content: center; font-size: 24px; color: var(--text); background: var(--panel); border: 1px solid var(--line-2); }
.lightbox__cap { padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); }
.lightbox__title { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .02em; }
.lightbox__note { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .lightbox__backdrop { transition: none !important; } }

/* faq.html：アコーディオン */
.faq-list { display: grid; gap: 10px; margin-top: 8px; }
.faq-item { border: 1px solid var(--line); background: var(--panel); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 16px 16px; min-height: 56px; }
.faq-q > span:first-child { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.5; }
.faq-q__ic { position: relative; width: 16px; height: 16px; flex: none; }
.faq-q__ic::before, .faq-q__ic::after { content: ""; position: absolute; background: var(--amber-ink); transition: opacity .2s; }
.faq-q__ic::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-q__ic::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-q__ic::after { opacity: 0; }
.faq-a { padding: 0 16px 16px; }
.faq-a p { font-size: 15px; line-height: 1.85; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .faq-q__ic::before, .faq-q__ic::after { transition: none; } }

/* recruit.html */
.rec-positions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.rec-card { border: 1px solid var(--line); background: var(--panel); padding: 16px; display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--amber); }
.rec-card__en { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--amber-ink); }
.rec-card__name { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .02em; }
.rec-card__body { font-size: 14px; color: var(--muted); line-height: 1.7; }
.rec-card__meta { display: grid; gap: 4px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.rec-card__meta div { display: grid; grid-template-columns: 3.5em minmax(0, 1fr); gap: 8px; font-size: 13px; }
.rec-card__meta dt { color: var(--muted); }
.rec-card__meta dd { color: var(--text); font-family: var(--mono); }
.rec-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rec-benefit { font-family: var(--mono); font-size: 13px; color: var(--text); border: 1px solid var(--line-2); padding: 6px 12px; }
.rec-steps { display: grid; gap: 10px; margin-top: 8px; counter-reset: rstep; }
.rec-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid var(--line); background: var(--panel); padding: 12px 14px; }
.rec-step::before { counter-increment: rstep; content: counter(rstep); font-family: var(--display); font-size: 16px; color: var(--deep); background: var(--amber); width: 30px; height: 30px; display: grid; place-content: center; }
.rec-step__t { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .02em; }
.rec-step__b { font-size: 14px; color: var(--muted); line-height: 1.6; }
.rec-faq { display: grid; gap: 12px; margin-top: 8px; }
.rec-faq__item { border-left: 2px solid var(--amber); padding: 4px 0 4px 14px; }
.rec-faq__q { font-size: 15px; font-weight: 600; color: var(--text); }
.rec-faq__a { font-size: 14px; color: var(--muted); line-height: 1.75; margin-top: 4px; }
@media (max-width: 720px) { .rec-positions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rec-positions { grid-template-columns: minmax(0, 1fr); } }

/* 汎用: セクション補助テキスト */
.sub-note { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 14px; }
