/* ==========================================================================
   Girl's Bar Universal Century — 案A「NIGHT FILM」
   フルブリード動画 × 白サインパネル × チャコール地
   ========================================================================== */

:root {
  --c-bg: #131114;        /* 地(チャコール黒) */
  --c-bg2: #1C181B;       /* 面の切替 */
  --c-text: #F2EDE6;      /* 主文字(生成り白) */
  --c-muted: #B9B2AC;     /* 補助文字 */
  --c-red: #8C2136;       /* 深紅(ブランド核) */
  --c-red-light: #A93A50; /* 深紅の明 */
  --c-line: #332D31;      /* 罫線 */

  --font-en: "Bodoni Moda", "Didot", serif;
  --font-ja-serif: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --font-ja-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --pad-x: clamp(20px, 5vw, 48px);
  --sec-pad: clamp(96px, 14vw, 176px);
  --header-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-ja-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }

ul { list-style: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; }

:focus-visible {
  outline: 2px solid var(--c-red-light);
  outline-offset: 3px;
  border-radius: 1px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container-narrow { max-width: 820px; }

.pc-br { display: none; }
@media (min-width: 768px) { .pc-br { display: inline; } }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--pad-x);
  background: transparent;
  transition: background-color 0.5s ease;
}

.site-header.scrolled { background: var(--c-bg); }

.header-logo {
  display: inline-flex;
  align-items: center;
  padding-block: 3px; /* 38px画像+上下3pxで44pxのタップ領域 */
}

.header-logo img {
  width: auto;
  height: 38px;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.5));
}

/* ヒーローの「一枚看板」を立てる: スクロール前はヘッダーロゴを隠す */
html.js .site-header:not(.scrolled) .header-logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html.js .site-header .header-logo { transition: opacity 0.4s ease, visibility 0.4s; }

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 48px;
  min-height: 48px;
  cursor: pointer;
}

.menu-btn-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 28px;
}

.menu-btn-bars span {
  display: block;
  height: 1px;
  background: var(--c-text);
  transition: transform 0.4s ease;
}

.menu-btn:hover .menu-btn-bars span:first-child { transform: translateY(-1px); }
.menu-btn:hover .menu-btn-bars span:last-child { transform: translateY(1px); }

.menu-btn-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--c-muted);
}

/* ==========================================================================
   全画面メニュー
   ========================================================================== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 6vh, 56px);
  background: var(--c-bg);
  padding: var(--pad-x);
  overflow-y: auto;
}

/* safe center: 低背環境では上下スクロールで全項目に到達できる。
   ※第1子は絶対配置の×ボタンのため、autoマージンはリストとフッタに直接当てる */
.overlay-list { margin-top: auto; }
.overlay-foot { margin-bottom: auto; }

.overlay[hidden] { display: none; }

html.js .overlay { opacity: 0; transition: opacity 0.45s ease; }
html.js .overlay.is-open { opacity: 1; }

.overlay-close {
  position: absolute;
  top: 12px;
  right: calc(var(--pad-x) - 12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: var(--c-muted);
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.overlay-close:hover { transform: rotate(90deg); color: var(--c-text); }

.overlay-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3.4vh, 30px);
  text-align: center;
}

.overlay-list a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 18px;
  min-height: 44px;
  justify-content: center;
}

.overlay-list .en {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 5.4vh, 44px);
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: none;
  transition: color 0.4s ease;
}

.overlay-list .ja {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--c-muted);
}

.overlay-list a:hover .en { color: var(--c-red-light); }

.overlay-foot {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--c-muted);
}

/* メニュー開時の背面スクロールロック */
body.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO — フルブリード動画
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }

.hero-video,
.hero-fallback,
.hero-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback { display: none; }

/* 再生不能時・省モーション時はポスターへ */
.hero.video-off .hero-video { display: none; }
.hero.video-off .hero-fallback { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-fallback { display: block; }
}

/* スクリム: 下部グラデ+上部を薄く(可読性最優先) */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(19, 17, 20, 0.92) 0%,
      rgba(19, 17, 20, 0.62) 22%,
      rgba(19, 17, 20, 0.18) 42%,
      rgba(19, 17, 20, 0) 55%),
    linear-gradient(to bottom,
      rgba(19, 17, 20, 0.55) 0%,
      rgba(19, 17, 20, 0) 22%);
}

.hero-inner {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--pad-x) clamp(76px, 13svh, 130px);
}

.hero-logo img {
  width: min(380px, 80vw);
  height: auto;
  filter: drop-shadow(0 4px 26px rgba(0, 0, 0, 0.55));
}

/* ヒーローコピーはオーナー指示で撤去(2026-07-18)。ロゴ+英字サブのみの一枚看板 */
.hero-sub {
  margin-top: clamp(24px, 4svh, 38px);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--c-muted);
}

@media (min-width: 900px) {
  .hero-inner {
    align-items: flex-start;
    text-align: left;
    max-width: 1160px;
    margin-inline: auto;
    padding-bottom: clamp(90px, 15svh, 150px);
  }
  .hero-sub { text-indent: 0; }
}

/* HERO 導入モーション */
html.js .hero-logo,
html.js .hero-sub {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

html.js .hero-sub { animation-delay: 0.5s; }

@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* SCROLLインジケータはオーナー方針により不使用(the O でも撤去指示・恒久) */

/* ==========================================================================
   セクション共通
   ========================================================================== */
.section { padding-block: var(--sec-pad); }

.section[id] { scroll-margin-top: var(--header-h); }

.sec-head { margin-bottom: clamp(48px, 8vw, 88px); }

/* 固有名詞・文節の分断防止 */
.nw { white-space: nowrap; }
.concept-copy, .concept-text { word-break: keep-all; overflow-wrap: anywhere; }

.sec-head h2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-weight: 400;
  line-height: 1.1;
}

/* 見出しはイタリック小文字のディドン——the O(直立大文字+広字間)と声を分ける */
.sec-head .en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(42px, 9vw, 76px);
  letter-spacing: 0.02em;
  text-transform: none;
}

.sec-head .ja {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--c-muted);
}

/* 深紅は「キャプション頭」の線として使う */
.tick {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--c-red);
  flex: none;
}

/* ==========================================================================
   CONCEPT
   ========================================================================== */
.section-concept { padding-top: calc(var(--sec-pad) + 24px); }

.concept-copy {
  font-family: var(--font-ja-serif);
  font-weight: 500;
  font-size: clamp(20px, 4.4vw, 30px);
  letter-spacing: 0.14em;
  line-height: 2.3;
}

.concept-text {
  margin-top: clamp(32px, 5vw, 48px);
  max-width: 40em;
  color: var(--c-muted);
  font-size: 16px;
  line-height: 2.3;
}

/* ==========================================================================
   SPACE
   ========================================================================== */
.section-space { background: var(--c-bg2); }

.photo-frame { overflow: hidden; }

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) {
  .photo-frame img { transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1); }
  .photo:hover .photo-frame img { transform: scale(1.045); }
}

.photo-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--c-muted);
}

/* 全幅シネマスコープ(21:9) */
.photo-cinema { width: 100%; }

.photo-cinema .photo-frame {
  aspect-ratio: 21 / 9;
}

/* 狭幅では比率を立てて帯の薄さを防ぐ(min-heightはaspect-ratioと併用すると幅が広がるため使わない) */
@media (max-width: 640px) {
  .photo-cinema .photo-frame { aspect-ratio: 16 / 10; }
}

/* 左右非対称の2枚組 */
.photo-duo {
  display: grid;
  gap: clamp(40px, 7vw, 72px);
  margin-top: clamp(64px, 10vw, 120px);
}

.photo-duo-a .photo-frame { aspect-ratio: 4 / 3; }
.photo-duo-b .photo-frame { aspect-ratio: 4 / 5; }

@media (min-width: 768px) {
  .photo-duo {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: clamp(32px, 5vw, 64px);
  }
  .photo-duo-b { margin-top: clamp(72px, 10vw, 128px); }
}

/* 大きめ1枚 */
.photo-solo {
  margin-top: clamp(64px, 10vw, 120px);
}

.photo-solo .photo-frame { aspect-ratio: 16 / 10; }

@media (min-width: 768px) {
  .photo-solo {
    width: 86%;
    margin-left: auto;
  }
}

/* ==========================================================================
   SYSTEM — 罫線のみの表組み
   ========================================================================== */
.sys-table {
  width: 100%;
  border-collapse: collapse;
}

.sys-table tr { border-top: 1px solid var(--c-line); }
.sys-table tr:last-child { border-bottom: 1px solid var(--c-line); }

.sys-table th,
.sys-table td {
  padding: clamp(20px, 3.4vw, 28px) 4px;
  text-align: left;
  font-weight: 400;
  vertical-align: middle;
  word-break: keep-all; /* 「別途」等の語中分断を防ぐ(折返しは空白・記号位置のみ) */
  overflow-wrap: anywhere;
}

.sys-table th {
  width: 46%;
  color: var(--c-muted);
  font-size: 15px;
  letter-spacing: 0.1em;
}

.sys-table th [lang="en"] {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.26em;
}

.sys-table td {
  font-size: 16px;
  letter-spacing: 0.08em;
}

.sys-table .price {
  font-family: var(--font-en);
  font-size: clamp(17px, 2.6vw, 20px);
  letter-spacing: 0.04em;
  margin-left: 0.5em;
}

/* SYSTEMは控えめに(2026-07-19 オーナー指示): 余白・見出し・行間を一段絞る */
.section-system { padding-block: calc(var(--sec-pad) * 0.62); }
.section-system .sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-system .sec-head .en { font-size: clamp(32px, 6.4vw, 52px); }
.section-system .sys-table th,
.section-system .sys-table td { padding-block: clamp(14px, 2.4vw, 20px); }

/* ==========================================================================
   ACCESS
   ========================================================================== */
.section-access {
  background: var(--c-bg2);
}

.access-list { display: grid; }

.access-row {
  display: grid;
  grid-template-columns: 7em 1fr;
  align-items: center;
  gap: 16px;
  padding-block: clamp(18px, 3vw, 26px);
  border-top: 1px solid var(--c-line);
}

.access-row:last-child { border-bottom: 1px solid var(--c-line); }

.access-row dt {
  color: var(--c-muted);
  font-size: 15px;
  letter-spacing: 0.14em;
}

.access-row dd { font-size: 16px; letter-spacing: 0.08em; }

/* ==========================================================================
   RECRUIT — 深紅の帯(赤の面はここだけ)
   ========================================================================== */
.section-recruit {
  position: relative;
  background: var(--c-red);
  color: var(--c-text);
  overflow: clip;
  min-height: 15rem;
}

/* 女性2人組シルエット(右側・装飾)。the O(1人)とは人数で差別化(オーナー確定 2026-07-18)。
   狭幅=本文の下・右に小さく立つ(重なり禁止) / 900px以上=右側に大きく並び立つ */
.recruit-duo {
  position: absolute;
  right: 16px;
  bottom: 0;
  height: 220px;
  width: auto;
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
}

/* 狭幅はシルエットの立ち場所ぶん帯の下端を延ばす(本文と重ねない) */
.section-recruit { padding-bottom: 240px; }

@media (min-width: 900px) {
  .section-recruit { padding-bottom: var(--sec-pad); }
  .recruit-duo {
    right: clamp(24px, 5vw, 96px);
    height: min(86%, 500px);
  }
  /* 本文をシルエットから退避(右側ガード) */
  .section-recruit .container-narrow { padding-right: clamp(200px, 24vw, 280px); }
}

.sec-head-onred .ja { color: rgba(242, 237, 230, 0.82); }

.tick-onred { background: var(--c-text); }

.recruit-text {
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 2.2;
}

.recruit-action { margin-top: clamp(32px, 5vw, 44px); }

/* ==========================================================================
   ボタン(disabled = 準備中)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 34px;
  border: 1px solid var(--c-line);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--c-muted);
  background: transparent;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

.btn:not([disabled]) {
  cursor: pointer;
  border-color: var(--c-red);
  color: var(--c-text);
  background: var(--c-red);
}

.btn:not([disabled]):hover { background: var(--c-red-light); border-color: var(--c-red-light); }
.btn:not([disabled]):active { transform: scale(0.98); }

.btn[disabled] { cursor: not-allowed; }

/* 地図2導線(見る=赤ソリッド / 経路=アウトライン) */
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 5vw, 44px);
}

.btn-ghost:not([disabled]) {
  background: transparent;
  border-color: var(--c-line);
  color: var(--c-text);
}
.btn-ghost:not([disabled]):hover { background: rgba(242, 237, 230, 0.08); border-color: var(--c-muted); }

.btn .ext { margin-left: 10px; font-size: 12px; }

/* 電話リンク(当たり判定のみ44px相当へ拡大) */
.tel-link {
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 2px;
  padding-block: 12px;
  margin-block: -12px;
}
.tel-link:hover { border-bottom-color: var(--c-red-light); }

.btn-onred {
  border-color: rgba(242, 237, 230, 0.55);
  color: var(--c-text);
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding-block: clamp(72px, 10vw, 110px) clamp(40px, 6vw, 56px);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo img { width: min(230px, 58vw); height: auto; }

.footer-fact {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--c-muted);
}

.footer-fact:first-of-type { margin-top: clamp(32px, 5vw, 44px); }

.footer-fact[lang="en"] { font-family: var(--font-en); letter-spacing: 0.2em; }

.footer-copyright {
  margin-top: clamp(36px, 6vw, 52px);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--c-muted);
}

/* ==========================================================================
   スクロール出現(JS有効時のみ非表示化 → IntersectionObserverで解除)
   ========================================================================== */
html.js .reveal,
html.js .reveal-photo,
html.js .reveal-head {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 見出し: フェード+横方向がわずかに締まる(transformのみで再現) */
html.js .reveal-head {
  transform: translateY(14px) scaleX(1.02);
  transform-origin: left center;
}

/* 写真: ゆっくり opacity + 浮上 + scale(1.04 → 1) */
html.js .reveal-photo {
  transform: translateY(26px);
  opacity: 0;
}

html.js .reveal-photo .photo-frame img {
  transform: scale(1.04);
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* キャプションは写真の後から遅れて灯る */
html.js .reveal-photo .photo-caption {
  opacity: 0;
  transition: opacity 0.9s ease 0.4s;
}
html.js .is-visible.reveal-photo .photo-caption { opacity: 1; }

/* 見出しのティック線: 左から伸びる */
html.js .reveal-head .tick {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
html.js .is-visible.reveal-head .tick { transform: scaleX(1); }

/* 装飾図版(シルエット・グラス等): ゆっくり浮上 */
html.js .reveal-fig {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
html.js .reveal-fig.is-visible { opacity: 1; transform: none; }

html.js .is-visible.reveal,
html.js .is-visible.reveal-photo,
html.js .is-visible.reveal-head {
  opacity: 1;
  transform: none;
}

html.js .is-visible.reveal-photo .photo-frame img { transform: scale(1); }

/* 表の行: 時間差フェード */
html.js .reveal-table tr {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .reveal-table.is-visible tr { opacity: 1; transform: none; }

html.js .reveal-table.is-visible tr:nth-child(1) { transition-delay: 0.05s; }
html.js .reveal-table.is-visible tr:nth-child(2) { transition-delay: 0.2s; }
html.js .reveal-table.is-visible tr:nth-child(3) { transition-delay: 0.35s; }
html.js .reveal-table.is-visible tr:nth-child(4) { transition-delay: 0.5s; }

/* ==========================================================================
   prefers-reduced-motion: 出現アニメ無効(即表示)・動きを止める
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.js .reveal,
  html.js .reveal-photo,
  html.js .reveal-head,
  html.js .reveal-table tr {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html.js .reveal-photo .photo-frame img {
    transform: none !important;
    transition: none !important;
  }

  html.js .hero-logo,
  html.js .hero-sub {
    opacity: 1;
    transform: none;
    animation: none;
  }


  .photo-frame img { transition: none !important; }
  .photo:hover .photo-frame img { transform: none !important; }

  html.js .overlay { opacity: 1; transition: none; }
}

/* ==========================================================================
   映画的ディテール(2026-07-18 オーナー要望「アニメーション充実」)
   ========================================================================== */

/* レターボックス開幕: 上下の黒帯が読み込み後に静かに引く(1回きり) */
html.js .hero::before,
html.js .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 7svh;
  background: #0B0A0C;
  z-index: 6;
  pointer-events: none;
  animation: letterbox-out 1.5s cubic-bezier(0.65, 0, 0.35, 1) 1.1s forwards;
}
html.js .hero::before { top: 0; transform-origin: top; }
html.js .hero::after { bottom: 0; transform-origin: bottom; }

@keyframes letterbox-out {
  to { transform: scaleY(0); }
}

/* アール・デコ線オーナメント */
.deco-line {
  display: block;
  width: min(340px, 64vw);
  height: auto;
  margin: 0 auto clamp(48px, 8vw, 80px);
  opacity: 0.55;
}
html.js .deco-line.is-visible { opacity: 0.55; }
.deco-line-footer { margin: 0 auto 40px; }

/* CONCEPT のクープグラス線画: そっと漂う */
.concept-inner { position: relative; }

.concept-art {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 7vw, 56px);
}

.concept-art img {
  width: min(88px, 22vw);
  height: auto;
  opacity: 0.5;
}

@media (min-width: 900px) {
  .concept-art {
    position: absolute;
    right: calc(var(--pad-x) + 2vw);
    inset-block: 0;
    align-items: center;
    margin: 0;
  }
  .concept-art img { width: 110px; }
}

html.js .concept-art img { animation: floaty 7s ease-in-out infinite alternate; }

@keyframes floaty {
  from { transform: translateY(4px); }
  to   { transform: translateY(-8px); }
}

/* SYSTEM 行のホバー(静かな面) */
@media (hover: hover) {
  .sys-table tbody tr:hover th,
  .sys-table tbody tr:hover td { background: rgba(242, 237, 230, 0.04); }
}

/* 省モーション: 追加分も全て静止 */
@media (prefers-reduced-motion: reduce) {
  html.js .hero::before,
  html.js .hero::after { display: none; }

  html.js .reveal-fig,
  html.js .reveal-head .tick,
  html.js .reveal-photo .photo-caption {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html.js .deco-line { opacity: 0.55 !important; }
  html.js .concept-art img { animation: none; }
  .btn:not([disabled]):active { transform: none; }
}
