@charset "UTF-8";
/* ============================================================
   style.css — また吉
   構成: 1.トークン → 2.リセット/ベース → 3.言語切替 → 4.レイアウト
        → 5.共通部品 → 6.トップの各幕 → 7.メニューページ
        → 8.モーション → 9.停止ポリシー
   色・余白は必ず変数経由。色の由来は 01_docs/デザイン企画案 参照
   ============================================================ */

/* ---------- 1. トークン ---------- */
:root {
  /* 色: 店の実物から実測 → 画面用に調整 */
  --color-bg: #f4efe6;          /* 漆喰(白壁) */
  --color-surface: #fbf8f2;     /* 面 */
  --color-text: #1c1a17;        /* 墨 */
  --color-muted: #5f574c;       /* 補助文字(漆喰上で 6.6:1) */
  --color-sugi: #985233;        /* 杉カウンター(漆喰上で 5.1:1。#a65d3aは4.3:1で不足のため濃く) */
  --color-sugi-pale: #ead8c4;   /* 杉の淡色(午後の面) */
  --color-ai: #1e3566;          /* 伊万里の藍 */
  --color-shu: #a00c04;         /* 落款の朱(予約導線と印だけ) */
  --color-night: #141210;       /* 夜墨(夜・かき氷の面) */
  --color-night-text: #efe8dc;  /* 夜墨の上の文字 */
  --color-night-muted: #b3a998; /* 夜墨の上の補助文字 */
  --color-line: #d9cfbf;        /* 罫線 */
  --color-accent: var(--color-sugi);

  /* イタリアンの質感: テラッツォ(石の粒を散らしたイタリアの床材)を薄く敷く。消すときは none に */
  --texture: url("../img/common/terrazzo.svg");
  --texture-size: 420px;
  --color-accent-ink: #ffffff;

  /* タイポ: 明朝=本店の品格 / ゴシック=読みやすさ / イタリック=イタリアンの軽さ */
  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;  /* 本文も明朝(2026-10-09)。元はZen Kaku Gothic New */
  --font-italic: "Cormorant Garamond", "Shippori Mincho", Georgia, serif;

  /* 型: 8px系 */
  --space: 8px;
  --section-pad: clamp(80px, 12vw, 160px);
  --container: 1160px;
  --container-narrow: 720px;
  --radius: 0;
  --header-h: 72px;

  /* 格子(花ブロック)の1マス */
  --lattice-cell: 120px;

  /* 階層 */
  --z-header: 100;
  --z-nav: 200;
  --z-cta: 300;
  --z-modal: 1000;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 1s;
}

/* ---------- 2. リセット/ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  font-weight: 500;                 /* 明朝は画面で細く見えるため本文はMedium */
  color: var(--color-text);
  background: var(--color-bg) var(--texture) repeat;
  background-size: var(--texture-size);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  line-break: strict;
}

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

a { color: inherit; }
a:hover { opacity: 0.7; transition: opacity 0.3s; }

:focus-visible {
  outline: 2px solid var(--color-sugi);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. 言語切替 ----------
   1つのHTMLに日英を両方持ち、<html lang> で出し分ける。
   日本語は .ja / 英語は .en を付ける */
html[lang="ja"] .en,
html[lang="en"] .ja { display: none !important; }

/* 英語の本文は字間を詰め、行間を少し下げる */
html[lang="en"] body { letter-spacing: 0.01em; line-height: 1.75; }

/* ---------- 4. レイアウト ---------- */
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(var(--container-narrow), 100% - 48px); margin-inline: auto; }

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: calc(var(--section-pad) * 0.6); }

/* セクション見出し: イタリックの英字+明朝の日本語 */
.section-head { margin-bottom: calc(var(--space) * 7); }
.section-head__en {
  display: block;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.04em;
  color: var(--color-sugi);
  margin-bottom: calc(var(--space) * 1);
}
.section-head__title { font-size: clamp(26px, 3.8vw, 40px); }
.section-head--center { text-align: center; }

/* ---------- 5. 共通部品 ---------- */

/* 格子の1マス(花ブロック)をCSSで描く小さな印。見出しや区切りに使う */
.lattice-mark {
  display: inline-block;
  width: 18px; height: 18px;
  background:
    radial-gradient(circle at 25% 25%, var(--color-bg) 22%, transparent 23%),
    radial-gradient(circle at 75% 25%, var(--color-bg) 22%, transparent 23%),
    radial-gradient(circle at 25% 75%, var(--color-bg) 22%, transparent 23%),
    radial-gradient(circle at 75% 75%, var(--color-bg) 22%, transparent 23%),
    var(--color-sugi);
  vertical-align: middle;
}

/* ヘッダー */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  display: flex; align-items: center; gap: calc(var(--space) * 3);
  padding: 0 clamp(16px, 3vw, 40px);
  background: var(--color-bg);  /* 格子の上でもナビが読めるよう、最初から白壁の帯にする */
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--color-line);
}
.site-header__logo { display: block; flex-shrink: 0; }
.site-header__logo img { width: 44px; height: auto; }
/* トップ: ロゴはスクロールに合わせてヒーロー⇔ヘッダーを移動する(transformはJSが毎フレーム設定) */
.js-logo-flight { position: relative; z-index: 2; transform-origin: 0 0; will-change: transform; }
.site-header__tools { display: flex; align-items: center; gap: calc(var(--space) * 2); margin-left: auto; }

/* ナビ: 明朝の小さめの文字を並べるだけ(参考: shuku-kokon.com) */
.global-nav ul { display: flex; gap: calc(var(--space) * 3.75); list-style: none; padding: 0; }
.global-nav { position: absolute; left: 50%; transform: translateX(-50%); }  /* ヘッダーの中央に置く(ロゴ・JA/ENの幅に左右されない) */
.global-nav a { text-decoration: none; font-size: 13.5px; letter-spacing: 0.05em; }
html[lang="en"] .global-nav a { font-family: var(--font-italic); font-style: italic; font-size: 16px; letter-spacing: 0.02em; }
.global-nav a[aria-current="page"] { border-bottom: 1px solid currentColor; }
@media (max-width: 1023px) { .global-nav { display: none; } }  /* SPはドロワーに集約 */

/* 言語切替: 「JA / EN」のテキスト。選択中に下線 */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-italic); }
.lang-switch button {
  font: inherit; font-style: normal; font-size: 15px; letter-spacing: 0.06em;
  background: none; border: 0; cursor: pointer; color: var(--color-text);
  padding: 8px 6px; min-width: 32px; min-height: 40px;
}
.lang-switch button span { padding-bottom: 2px; }
.lang-switch button[aria-pressed="true"] span { border-bottom: 1px solid currentColor; }
.lang-switch button[aria-pressed="false"] { opacity: 0.6; }
.lang-switch__sep { font-size: 18px; opacity: 0.6; }

/* ハンバーガー: 細い2本線。PC・SPとも右上に置き、ドロワーを開く */
.nav-toggle {
  width: 48px; height: 44px; margin-left: 8px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 36px; height: 1px; margin: 8px auto; background: var(--color-text); }

/* ドロワー(右から出るパネル) */
.drawer { position: fixed; inset: 0; z-index: var(--z-nav); visibility: hidden; transition: visibility 0.5s; }
.drawer.is-open { visibility: visible; }
/* 閉じた瞬間からクリックを受け付けない(閉じる動きの0.5秒間、透明なメニューが三本線ボタンを塞ぐのを防ぐ) */
.drawer:not(.is-open) { pointer-events: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(28, 26, 23, 0.45); opacity: 0; transition: opacity 0.5s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(460px, 100%);
  background: var(--color-bg) var(--texture) repeat; background-size: var(--texture-size);
  padding: 40px clamp(28px, 4vw, 64px) 40px;
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.6s var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { align-self: flex-end; width: 48px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.drawer__close span { position: absolute; left: 6px; top: 50%; width: 36px; height: 1px; background: var(--color-text); }
.drawer__close span:first-child { transform: rotate(20deg); }
.drawer__close span:last-child { transform: rotate(-20deg); }
.drawer__nav { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 22px; }
.drawer__nav a { text-decoration: none; font-family: var(--font-display); font-size: 20px; letter-spacing: 0.1em; }
.drawer__nav small { font-family: var(--font-italic); font-size: 14px; letter-spacing: 0.02em; margin-left: 8px; color: var(--color-muted); }
.drawer__nav .en { font-family: var(--font-italic); font-style: italic; font-size: 24px; letter-spacing: 0.01em; }
.drawer__actions { display: grid; gap: 14px; margin-top: 40px; }
.drawer__foot { margin-top: auto; padding-top: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 13px; line-height: 1.8; }
.drawer__foot a { text-underline-offset: 4px; text-decoration-style: dashed; }
.drawer__foot img { width: 64px; }
.icon-ig { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }

/* 丸い帯のリンク(ドロワー内の予約・地図) */
.pill-link {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-line);
  text-decoration: none; font-size: 15px; letter-spacing: 0.06em;
}
.pill-link::after { content: ">"; font-family: var(--font-italic); font-size: 22px; line-height: 1; }

/* ボタン */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 40px; min-height: 52px;
  background: var(--color-text); color: var(--color-bg);
  border: 1px solid var(--color-text); border-radius: var(--radius);
  font-size: 15px; letter-spacing: 0.1em; text-decoration: none;
  cursor: pointer; transition: background 0.3s, color 0.3s;
}
.button:hover { background: transparent; color: var(--color-text); opacity: 1; }
.button--shu { background: var(--color-shu); border-color: var(--color-shu); color: #fff; }
.button--shu:hover { background: transparent; color: var(--color-shu); }
.button--ghost { background: transparent; color: var(--color-text); }
.button--ghost:hover { background: var(--color-text); color: var(--color-bg); }
.button--light { background: var(--color-night-text); border-color: var(--color-night-text); color: var(--color-night); }
.button--light:hover { background: transparent; color: var(--color-night-text); }

/* 料理キャプション: 料理名/器 */
.dish-caption { margin-top: calc(var(--space) * 2); }
.dish-caption__name { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.06em; line-height: 1.6; }
.dish-caption__name .en { font-family: var(--font-italic); font-style: italic; font-size: 19px; letter-spacing: 0.01em; }
.dish-caption__vessel { display: block; font-size: 12px; color: var(--color-muted); letter-spacing: 0.08em; margin-top: 4px; }
.dish-caption__vessel::before { content: ""; display: inline-block; width: 16px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 8px; }

/* 下中央に浮かぶ予約ボタン(電話)。参考サイトの「宿泊予約 Reservation」の型 */
.reserve-pill {
  position: fixed; z-index: var(--z-cta);
  left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap;
  padding: 11px 26px; border-radius: 999px;
  background: #e3d8c6; color: var(--color-text);
  box-shadow: 0 2px 14px rgba(28, 26, 23, 0.12);
  text-decoration: none; font-size: 15px; letter-spacing: 0.08em;
}
.reserve-pill:hover { opacity: 1; background: #d9ccb6; }
.reserve-pill__label-en { font-family: var(--font-italic); font-size: 13px; letter-spacing: 0.04em; }
.reserve-pill__tel { font-size: 16px; letter-spacing: 0.06em; }
html[lang="en"] .reserve-pill .reserve-pill__label-ja { display: none; }
.reserve-pill { transition: opacity 0.3s; }
body.is-drawer-open .reserve-pill { opacity: 0; pointer-events: none; }

/* フッター */
.site-footer {
  background: var(--color-night); color: var(--color-night-text);
  padding: calc(var(--space) * 12) 0 calc(var(--space) * 12);  /* 下は浮かぶ予約ボタンと重ならない余白 */
  font-size: 14px;
}
.site-footer__grid {
  display: grid; gap: calc(var(--space) * 6);
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: auto 1fr auto; align-items: start; gap: calc(var(--space) * 8); }
}
.site-footer__logo img { width: 72px; filter: invert(1); }
.site-footer dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; }
.site-footer dt { color: var(--color-night-muted); font-size: 12px; letter-spacing: 0.1em; padding-top: 3px; }
.site-footer a { color: var(--color-night-text); }
.site-footer__links { list-style: none; padding: 0; display: grid; gap: 10px; }
/* フッターのInstagram: アイコンのみ。押しやすいよう44px四方、マウスを乗せると金色に */
.site-footer__ig { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; color: var(--color-night-text); transition: color 0.3s; }
.site-footer__ig svg { width: 44px; height: 44px; }  /* 2026-10-13 26→44px */
.site-footer__ig:hover { color: #d4ad55; opacity: 1; }
.site-footer__copy { margin-top: calc(var(--space) * 8); font-size: 12px; color: var(--color-night-muted); }

/* ---------- 6. トップの各幕 ---------- */

/* ===== 幕1: ヒーロー(格子越しにのぞいて、入る) =====
   .hero の高さ分スクロールする間、中身は sticky で固定。
   JSが --p(0→1)を更新し、格子が拡大して抜ける */
.hero { position: relative; height: 230vh; --p: 0; }
.hero__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--color-night);
}
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.14 - var(--p) * 0.14));
  will-change: transform;
}
.hero__lattice {
  position: absolute; left: 50%; top: 50%;
  width: 200vmax; height: 200vmax;
  transform: translate(-50%, -50%) scale(calc(1 + var(--p) * var(--p) * 5));
  opacity: clamp(0, calc((1 - var(--p)) * 2.4), 1);
  will-change: transform, opacity;
  pointer-events: none;
}
.hero__lattice-fill { fill: var(--color-bg); }  /* ブロックの面は白壁色 */
.hero__lattice-edge { fill: none; stroke: #aaaaaa; }  /* 茶みのない一般的な薄いグレー(2026-10-12)。以前: #8a857d / #57524b */  /* 太さはHTML属性＋JS(initLatticeStroke)で見た目1pxに */  /* 細い線は濃いめの温かいグレー(黒だと重いため)。元は #d6cab6 */
/* 窓の上辺・左辺に細い陰。ブロックの厚みを感じさせる */
.hero__lattice-shade { fill: none; stroke: #aaaaaa; }  /* 元は #c4b49c */

/* 左の白壁(ロゴとキャッチを置く面) */
.hero__panel {
  position: absolute; z-index: 2; inset: 0 auto 0 0;
  width: clamp(320px, 34vw, 500px);
  background: var(--color-bg) var(--texture) repeat;
  background-size: var(--texture-size);
  display: grid; grid-template-rows: 1fr auto; justify-items: center;
  padding: calc(var(--header-h) + 24px) 32px 48px;
  transform: translateX(calc(var(--p) * -110%));
  will-change: transform;
}
.hero__logo-slot { align-self: center; width: clamp(200px, 20vw, 290px); aspect-ratio: 1222 / 1287; }  /* ロゴの着地点(中身は空) */
.hero__copy { text-align: center; }
.hero__catch { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); letter-spacing: 0.18em; line-height: 1.7; }
.hero__catch.en { font-family: var(--font-italic); font-style: italic; letter-spacing: 0.02em; font-size: clamp(24px, 2.4vw, 32px); }
.hero__sub { margin-top: 12px; font-size: 13px; color: var(--color-muted); letter-spacing: 0.12em; }

/* 右下の営業時間カード */
.hero__info {
  position: absolute; z-index: 2; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 4vh, 40px);
  /* 重厚感: 夜墨の面に明るい文字。内側に細い一本線の枠(額縁のように) */
  /* 金砂子(きんすなご): 夜墨の地に細かな金の粉。文字のない右下に金のかすみ */
  background:
    radial-gradient(ellipse 75% 100% at 100% 100%, rgba(212, 173, 85, 0.14), transparent 72%),
    url("../img/common/kinsunago.svg") no-repeat right bottom / cover,
    var(--color-night);
  color: var(--color-night-text);
  padding: 24px 30px; font-size: 13px; line-height: 1.9; letter-spacing: 0.06em;
  min-width: 280px;
  outline: 1px solid rgba(201, 169, 97, 0.38); outline-offset: -7px;  /* 内枠も金砂子に合わせて淡い金 */
  box-shadow: 0 8px 28px rgba(20, 18, 16, 0.28);
  opacity: clamp(0, calc(1 - var(--p) * 3), 1);
}
.hero__info dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 20px; }
.hero__info dt { color: var(--color-night-muted); }
.hero__info small { color: var(--color-night-muted); }

/* 画面幅が狭いPCでは、下中央の予約ボタンと重ならないようカードを上へ */
@media (max-width: 1279px) { .hero__info { bottom: 88px; } }

/* スクロール誘導 */
.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 84px;  /* 下中央の予約ボタンの上 */
  font-family: var(--font-italic); font-style: italic; font-size: 15px; color: var(--color-bg);
  transform: translateX(-50%);
  opacity: clamp(0, calc(1 - var(--p) * 5), 1);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.hero__scroll::after {
  content: ""; display: block; width: 1px; height: 40px; margin: 8px auto 0;
  background: currentColor; transform-origin: top;
  animation: scrollLine 2.2s var(--ease-out) infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 格子を抜けた後に浮かぶ一言 */
.hero__enter {
  position: absolute; z-index: 2; inset: auto 0 18vh 0; text-align: center;
  color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  opacity: clamp(0, calc((var(--p) - 0.62) * 3.2), 1);
  transform: translateY(calc((1 - var(--p)) * 24px));
}
.hero__enter p { font-family: var(--font-display); font-size: clamp(22px, 3vw, 36px); letter-spacing: 0.2em; }
.hero__enter p.en { font-family: var(--font-italic); font-style: italic; letter-spacing: 0.02em; font-size: clamp(28px, 3.6vw, 44px); }

@media (max-width: 767px) {
  :root { --lattice-cell: 84px; }
  .hero { height: 200vh; }
  .hero__panel {
    inset: auto 0 0 0; width: 100%;
    grid-template-rows: auto; grid-template-columns: auto 1fr; align-items: center; justify-items: start;
    gap: 20px; padding: 24px 24px calc(28px + 64px + env(safe-area-inset-bottom));  /* 浮かぶ予約ボタンの高さ分を空ける */
    transform: translateY(calc(var(--p) * 110%));
  }
  .hero__logo-slot { width: 100px; }
  .hero__copy { text-align: left; }
  .hero__catch { font-size: 19px; letter-spacing: 0.12em; }
  .hero__catch.en { font-size: 23px; }
  .hero__info { display: none; }
  .hero__scroll { display: none; }
  .hero__enter { inset: auto 0 38vh 0; }
}

/* ===== 幕2: はじまり(本店とのつながり) ===== */
.story { display: grid; gap: calc(var(--space) * 8); align-items: center; }
@media (min-width: 1024px) {
  .story { grid-template-columns: 1fr 1.1fr; gap: calc(var(--space) * 12); }
}
.story__text { display: flex; flex-direction: column; gap: calc(var(--space) * 4); }
html[lang="ja"] .story__text { flex-direction: row-reverse; justify-content: center; align-items: flex-start; gap: calc(var(--space) * 6); }
.story__title { font-size: clamp(26px, 3.4vw, 38px); }
html[lang="ja"] .story__title {
  writing-mode: vertical-rl; letter-spacing: 0.24em; line-height: 1.8;
  white-space: nowrap;
}
.story__title.en { font-family: var(--font-italic); font-style: italic; font-weight: 500; letter-spacing: 0.01em; line-height: 1.3; font-size: clamp(30px, 4vw, 46px); }
.story__body { max-width: 30em; }
html[lang="ja"] .story__body { max-width: 19em; padding-top: 12px; }
.story__body p + p { margin-top: 1.2em; }
.story__sign { margin-top: calc(var(--space) * 3); font-size: 13px; color: var(--color-muted); }
.story__figure { position: relative; }
.story__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story__figure figcaption { margin-top: 10px; font-size: 12px; color: var(--color-muted); }
@media (max-width: 1023px) {
  html[lang="ja"] .story__text { justify-content: flex-start; }
  html[lang="ja"] .story__title { font-size: 26px; }
}

/* ===== 幕3: 3つの使い方(破調: 時間で面の色が変わる) ===== */
.scenes { display: grid; }
@media (min-width: 1024px) { .scenes { grid-template-columns: repeat(3, 1fr); } }
.scene { display: flex; flex-direction: column; }
.scene__img { aspect-ratio: 4 / 3; overflow: hidden; }
.scene__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.scene:hover .scene__img img { transform: scale(1.04); }
.scene__body { flex: 1; padding: clamp(28px, 3.5vw, 48px); }
.scene--noon { background: var(--color-surface); }
.scene--afternoon { background: var(--color-sugi-pale); }
.scene--night { background: var(--color-night); color: var(--color-night-text); }
.scene__time { font-family: var(--font-italic); font-style: italic; font-size: 20px; letter-spacing: 0.02em; color: var(--color-sugi); }
.scene--night .scene__time { color: #d79a72; }
.scene__title { font-size: clamp(22px, 2.2vw, 28px); margin-top: 6px; }
.scene__title.en { font-family: var(--font-italic); font-style: italic; letter-spacing: 0.01em; font-size: clamp(26px, 2.6vw, 32px); }
.scene__text { margin-top: 16px; font-size: 15px; }
.scene__list { margin-top: 16px; padding: 0; list-style: none; font-size: 14px; }
.scene__list li { padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.scene__price { margin-top: 20px; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.06em; }
.scene__note { margin-top: 6px; font-size: 12px; opacity: 0.75; }

/* ===== お昼ごはんの切り替え(魚御膳／肉御膳) =====
   タブを押すと、写真がふわっと入れ替わり(クロスフェード＋わずかなズーム)、品書きも切り替わる */
.lunch-tabs__imgs { position: relative; }
.lunch-tabs__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  opacity: 0; transform: scale(1.05);
  transition: opacity 0.9s var(--ease-out), transform 1.6s var(--ease-out);
}
.lunch-tabs__img.is-active { opacity: 1; transform: none; }
.lunch-tabs__img[data-tab-img="meat"] { object-position: center 38%; }  /* 肉御膳: 上の小鍋が切れないよう少し上寄せ */
.scene .lunch-tabs__img { transition: opacity 0.9s var(--ease-out), transform 1.6s var(--ease-out); }
.scene:hover .lunch-tabs__img.is-active { transform: scale(1.03); }

.lunch-tabs__tabs { display: flex; gap: 6px 22px; margin-top: 14px; }
.lunch-tabs__tabs--center { justify-content: center; margin: 18px 0 22px; }
.lunch-tabs__tab {
  font: inherit; font-family: var(--font-display); font-size: 16px; letter-spacing: 0.16em;
  background: none; border: 0; cursor: pointer; color: var(--color-muted);
  padding: 6px 0 7px; position: relative; min-height: 40px;
  transition: color 0.3s;
}
html[lang="en"] .lunch-tabs__tab { font-family: var(--font-italic); font-style: italic; font-size: 19px; letter-spacing: 0.02em; }
/* 選択中: 杉色の細い下線がすっと伸びる */
.lunch-tabs__tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-sugi);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.lunch-tabs__tab[aria-selected="true"] { color: var(--color-text); }
.lunch-tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.lunch-tabs__tab:hover { color: var(--color-text); }
/* 品書きの切り替え時にふわっと表示 */
.lunch-tabs__panel:not([hidden]) { animation: lunchFade 0.6s var(--ease-out); }
@keyframes lunchFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* メニューページ: 写真枠 */
.lunch-set__imgs { aspect-ratio: 4 / 3; max-width: 560px; margin: 0 auto 8px; overflow: hidden; background: var(--color-night); }
/* ===== 幕4: 器とひと皿(横スクロール) ===== */
.dishes { overflow: hidden; }
.dishes__lead { max-width: 34em; margin-top: -24px; margin-bottom: calc(var(--space) * 6); color: var(--color-muted); }
/* 説明文は1行で見せる(タブレット以上。SPは画面が狭いので折り返す) */
@media (min-width: 768px) { html[lang="ja"] .dishes__lead { max-width: none; white-space: nowrap; } }
@media (min-width: 1024px) { html[lang="en"] .dishes__lead { max-width: none; white-space: nowrap; } }
.dishes__track {
  display: flex; gap: clamp(20px, 3vw, 40px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2)) 24px;
  scrollbar-width: thin; scrollbar-color: var(--color-sugi) transparent;
}
.dishes__item { flex: 0 0 auto; scroll-snap-align: start; }
.dishes__item img { height: clamp(320px, 46vw, 520px); width: auto; max-width: none; }
.dishes__item--wide img { height: clamp(260px, 38vw, 420px); }
.dishes__no { font-family: var(--font-italic); font-style: italic; color: var(--color-sugi); font-size: 15px; margin-right: 8px; }
.dishes__hint { margin-top: 12px; text-align: right; font-size: 12px; color: var(--color-muted); }
.dishes__track { scroll-padding-inline: max(24px, calc((100vw - var(--container)) / 2)); }
@media (max-width: 767px) {
  /* SPは縦横の写真を同じ枠(4:5)にそろえ、1枚ずつスワイプ */
  .dishes__item { width: 78vw; }
  .dishes__item img, .dishes__item--wide img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
}

/* ===== 幕5: かき氷(夜墨の全面) ===== */
.kakigori { background: var(--color-night); color: var(--color-night-text); }
.kakigori__hero { position: relative; }
.kakigori__hero img { width: 100%; height: clamp(360px, 62vw, 760px); object-fit: cover; }
/* 氷の塊が写真の中央にあるので、コピーは左上の黒い余白に置く */
.kakigori__hero-copy {
  position: absolute; left: max(24px, calc((100vw - var(--container)) / 2)); top: 9%;
  max-width: 21em;
}
.kakigori__title { font-size: clamp(30px, 4vw, 52px); letter-spacing: 0.14em; white-space: nowrap; }
@media (max-width: 767px) {
  .kakigori__hero-copy { position: static; padding: 32px 24px 0; }
}
html[lang="en"] .kakigori__title { font-family: var(--font-italic); font-style: italic; letter-spacing: 0.01em; }
.kakigori__lead { margin-top: 16px; color: var(--color-night-muted); }
.kakigori__body { display: grid; gap: calc(var(--space) * 8); padding-block: calc(var(--space) * 10) var(--section-pad); }
@media (min-width: 1024px) { .kakigori__body { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.kakigori__menu { list-style: none; padding: 0; }
.kakigori__menu li {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid #3a342d;
}
.kakigori__menu .name { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.06em; }
.kakigori__menu .name-en { display: block; font-family: var(--font-italic); font-style: italic; font-size: 16px; color: var(--color-night-muted); letter-spacing: 0.01em; }
.kakigori__menu .price { font-family: var(--font-display); font-size: 17px; }
.kakigori__topping { margin-top: 20px; font-size: 14px; color: var(--color-night-muted); }
/* PCでは1行に収める: 欄の幅に合わせて文字を小さくし、改行させない(2026-10-13) */
@media (min-width: 1024px) {
  html[lang="ja"] .kakigori__topping { font-size: clamp(11px, 0.9vw, 13px); letter-spacing: 0.02em; white-space: nowrap; }
}
.kakigori__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (max-width: 767px) { .kakigori__grid { grid-template-columns: repeat(2, 1fr); } }

/* かき氷のキャプション: 写真の下に置くカード型(写真を隠さない)。
   金の細い内枠で写真と名前をひとまとめにし、番号・金の細線・英字を添える(メニュー帳の趣) */
.kakigori__grid { gap: 10px; }
.kakigori__item {
  position: relative; display: flex; flex-direction: column;
  background: #1d1a17; padding: 10px 10px 0;
}
.kakigori__item img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;   /* 元写真の比率のまま全体を見せる */
  transition: transform 1.4s var(--ease-out);
}
.kakigori__item:hover img { transform: scale(1.04); }
/* 金の細い枠(額縁)。マウスを乗せると少し濃くなる */
.kakigori__item::after {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  border: 1px solid rgba(212, 173, 85, 0.32);
  transition: border-color 0.6s;
}
.kakigori__item:hover::after { border-color: rgba(212, 173, 85, 0.75); }
.kakigori__cap {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 2px; padding: 12px 8px 16px;
}
.kakigori__cap-no {
  font-family: var(--font-italic); font-style: italic; font-size: 12px; letter-spacing: 0.12em;
  color: #d4ad55;
}
/* 番号の下に金の細線 */
.kakigori__cap-no::after { content: ""; display: block; width: 22px; height: 1px; margin: 4px auto 6px; background: #d4ad55; opacity: 0.8; }
.kakigori__cap-ja { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.12em; line-height: 1.5; color: var(--color-night-text); text-wrap: balance; }  /* 2行になる時は左右の長さをそろえ、1文字だけ落ちるのを防ぐ */
.kakigori__cap-en { font-family: var(--font-italic); font-style: italic; font-size: 13px; letter-spacing: 0.02em; line-height: 1.3; color: #d9bf86; }
/* 英語モードは英語名を主役に、日本語を添え書きに */
html[lang="en"] .kakigori__cap-ja { order: 3; font-size: 11px; color: var(--color-night-muted); letter-spacing: 0.08em; }
html[lang="en"] .kakigori__cap-en { order: 2; font-size: 16px; color: var(--color-night-text); }
@media (max-width: 767px) {
  .kakigori__cap-ja { font-size: 13px; letter-spacing: 0.06em; }
}
/* ===== 幕6: メニュー抜粋 ===== */
.menu-preview { display: grid; gap: calc(var(--space) * 6); }
@media (min-width: 768px) { .menu-preview { grid-template-columns: repeat(3, 1fr); gap: calc(var(--space) * 5); } }
.menu-preview__cat { font-family: var(--font-italic); font-style: italic; font-size: 24px; color: var(--color-sugi); border-bottom: 1px solid var(--color-text); padding-bottom: 8px; margin-bottom: 8px; letter-spacing: 0.02em; }
.menu-preview__cat span { font-family: var(--font-body); font-style: normal; font-size: 12px; color: var(--color-muted); margin-left: 10px; letter-spacing: 0.1em; }
.menu-preview__foot { margin-top: calc(var(--space) * 7); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.menu-preview__note { font-size: 13px; color: var(--color-muted); }

/* メニュー行(トップ抜粋・メニューページ共通) */
.menu-list { list-style: none; padding: 0; }
.menu-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--color-line);
}
.menu-list .name { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.04em; line-height: 1.6; }
.menu-list .name-en { display: block; font-family: var(--font-italic); font-style: italic; font-size: 16px; color: var(--color-muted); letter-spacing: 0.01em; line-height: 1.4; }
.menu-list .price { font-family: var(--font-display); font-size: 16px; white-space: nowrap; text-align: right; }
.menu-list .price small { display: block; font-size: 12px; color: var(--color-muted); }

/* ===== 幕7: 店内(マガジングリッド) ===== */
.interior-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.interior-grid figure { position: relative; overflow: hidden; }
.interior-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .interior-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 12px; }
  .interior-grid .g1 { grid-column: 1 / 5;  grid-row: 1 / 6; }
  .interior-grid .g2 { grid-column: 5 / 10; grid-row: 1 / 4; }
  .interior-grid .g3 { grid-column: 10 / 13; grid-row: 1 / 4; }
  .interior-grid .g4 { grid-column: 5 / 8;  grid-row: 4 / 7; }
  .interior-grid .g5 { grid-column: 8 / 13; grid-row: 4 / 7; }
  .interior-grid .g6 { grid-column: 1 / 5;  grid-row: 6 / 9; }
  .interior-grid .g7 { grid-column: 5 / 13; grid-row: 7 / 9; }
}
@media (max-width: 1023px) {
  .interior-grid figure { aspect-ratio: 4 / 5; }
  .interior-grid .g1, .interior-grid .g7 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
.interior-seats { margin-top: calc(var(--space) * 6); display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 15px; }
.interior-seats strong { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-right: 6px; }

/* ===== 幕8: ご予約・アクセス ===== */
.reserve { background: var(--color-ai); color: #fff; text-align: center; }
.reserve__title { font-size: clamp(26px, 3.6vw, 40px); }
html[lang="en"] .reserve__title { font-family: var(--font-italic); font-style: italic; letter-spacing: 0.01em; }
.reserve__tel {
  display: inline-block; margin-top: calc(var(--space) * 4);
  font-family: var(--font-display); font-size: clamp(34px, 5.6vw, 60px); letter-spacing: 0.08em;
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.reserve__note { margin-top: calc(var(--space) * 3); font-size: 14px; opacity: 0.88; }
.reserve__concierge {
  display: inline-block; margin-top: calc(var(--space) * 3);
  padding: 10px 20px; border: 1px solid rgba(255, 255, 255, 0.45); font-size: 14px;
}
.access { display: grid; gap: calc(var(--space) * 6); }
@media (min-width: 1024px) { .access { grid-template-columns: 1fr 1.2fr; gap: calc(var(--space) * 10); } }
.access dl { display: grid; grid-template-columns: 7.5em 1fr; }
html[lang="en"] .access dl { grid-template-columns: 9em 1fr; }
.access dt, .access dd { padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.access dt { font-size: 13px; color: var(--color-muted); letter-spacing: 0.1em; padding-top: 19px; }
.access dd small { display: block; color: var(--color-muted); font-size: 13px; }
.access__map { min-height: 360px; background: var(--color-surface); }
.access__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(0.6) sepia(0.15); }
.access__maplink { margin-top: 16px; display: inline-block; font-size: 14px; }

/* ---------- 7. メニューページ ---------- */
.page-header { position: relative; min-height: 64vh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--color-night); }
.page-header img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
/* 見出しの背後だけを暗くして、写真の文字と重ならず読めるようにする */
.page-header::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,18,16,0.82) 0%, rgba(20,18,16,0.55) 34%, rgba(20,18,16,0.08) 68%, transparent 100%); }
@media (max-width: 767px) { .page-header::after { background: linear-gradient(0deg, rgba(20,18,16,0.85) 0%, rgba(20,18,16,0.55) 45%, rgba(20,18,16,0.15) 100%); } }
.page-header__inner { z-index: 1; position: relative; padding-block: calc(var(--header-h) + 40px) calc(var(--space) * 8); }
.page-header__en { font-family: var(--font-italic); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 0.02em; }
.page-header__title { font-size: clamp(30px, 4.6vw, 52px); margin-top: 4px; }
.page-header .breadcrumb { color: rgba(255, 255, 255, 0.85); margin-top: 16px; }

.breadcrumb { padding-block: calc(var(--space) * 1); font-size: 12px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.6em; list-style: none; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.6em; }
.breadcrumb a { text-decoration: none; }

.menu-nav {
  position: sticky; top: var(--header-h); z-index: calc(var(--z-header) - 10);
  background: color-mix(in srgb, var(--color-bg) 94%, transparent); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}
.menu-nav ul { display: flex; gap: 8px 28px; list-style: none; padding: 14px 0; overflow-x: auto; white-space: nowrap; }
.menu-nav a { text-decoration: none; font-family: var(--font-italic); font-style: italic; font-size: 18px; }
.menu-nav small { font-family: var(--font-body); font-style: normal; font-size: 12px; letter-spacing: 0.1em; color: var(--color-muted); margin-left: 8px; }
/* スマホの日本語表示: 目次は日本語だけにして4項目を1行に収める */
@media (max-width: 767px) {
  html[lang="ja"] .menu-nav a { font-size: 0; }
  html[lang="ja"] .menu-nav small { font-size: 15px; margin-left: 0; color: var(--color-text); }
  .menu-nav ul { gap: 8px 22px; }
}

.menu-block { display: grid; gap: calc(var(--space) * 5); padding-block: calc(var(--section-pad) * 0.7); border-bottom: 1px solid var(--color-line); }
@media (min-width: 1024px) { .menu-block { grid-template-columns: 300px 1fr; gap: calc(var(--space) * 10); } }
.menu-block__aside { align-self: start; }
@media (min-width: 1024px) { .menu-block__aside { position: sticky; top: calc(var(--header-h) + 80px); } }
.menu-block__aside img { margin-top: 24px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.menu-block__time { margin-top: 8px; font-size: 14px; color: var(--color-muted); }
.menu-group + .menu-group { margin-top: calc(var(--space) * 7); }
.menu-group__title { font-family: var(--font-italic); font-style: italic; font-weight: 500; font-size: 26px; letter-spacing: 0.02em; color: var(--color-sugi); }
.menu-group__title span { font-family: var(--font-body); font-style: normal; font-size: 13px; color: var(--color-muted); margin-left: 12px; letter-spacing: 0.1em; }
.menu-group__lead { font-size: 14px; color: var(--color-muted); margin-top: 4px; }
.menu-tax { margin-top: 20px; font-size: 13px; color: var(--color-muted); }
/* メニューページは浮かぶ予約ボタンが無いので、フッター下の余白を通常に戻す */
.p-menu .site-footer { padding-bottom: calc(var(--space) * 5); }

/* ページ全体にかかる注記: 最後の一覧から大きく離し、中央に置く */
.menu-footnote { margin: calc(var(--space) * 12) 0 calc(var(--space) * 14); text-align: center; font-size: 13px; color: var(--color-muted); letter-spacing: 0.08em; }
.menu-footnote::before { content: ""; display: block; width: 40px; height: 1px; margin: 0 auto 24px; background: var(--color-line); }
.lunch-set { background: var(--color-surface); padding: clamp(28px, 4vw, 48px); text-align: center; }
.lunch-set__title { font-size: clamp(22px, 2.6vw, 30px); }
.lunch-set ul { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 14px; }
.lunch-set .name-en { display: block; font-family: var(--font-italic); font-style: italic; color: var(--color-muted); font-size: 16px; }
.lunch-set__price { margin-top: 24px; font-family: var(--font-display); font-size: 28px; letter-spacing: 0.06em; }

/* 英語モードでは、メニューの英語名を主役・日本語名を添え書きにする(インバウンド7割のため) */
html[lang="en"] .menu-list li > span:first-child,
html[lang="en"] .kakigori__menu li > span:first-child { display: flex; flex-direction: column-reverse; }
html[lang="en"] .menu-list .name-en,
html[lang="en"] .kakigori__menu .name-en { font-size: 19px; color: inherit; line-height: 1.35; }
html[lang="en"] .menu-list .name,
html[lang="en"] .kakigori__menu .name { font-size: 13px; color: var(--color-muted); letter-spacing: 0.04em; margin-top: 2px; }
html[lang="en"] .kakigori__menu .name { color: var(--color-night-muted); }
html[lang="en"] .lunch-set li { display: flex; flex-direction: column-reverse; font-size: 13px; color: var(--color-muted); }
html[lang="en"] .lunch-set .name-en { font-size: 20px; color: var(--color-text); }

@media (max-width: 1023px) {
  .menu-block__aside img { display: none; }  /* SPはメニュー本体を先に見せる */
}

/* メニューページ: かき氷の帯(トップのかき氷と同じ夜墨×金) */
.menu-ice { background: var(--color-night); color: var(--color-night-text); }
.menu-ice .menu-block { border-bottom: 0; }
.menu-ice .menu-group__title { color: #d4ad55; }
.menu-ice .menu-group__title span { color: var(--color-night-muted); }
.menu-ice .menu-block__time { color: var(--color-night-muted); }
.menu-ice__lead { margin-top: 20px; font-size: 15px; line-height: 2; color: var(--color-night-text); }
.menu-ice .kakigori__grid { margin-top: calc(var(--space) * 6); }
@media (min-width: 1024px) {
  html[lang="ja"] .menu-ice .kakigori__topping { white-space: nowrap; }
}
/* ---------- 8. モーション ---------- */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
.js-reveal.is-inview { opacity: 1; transform: none; }
.js-reveal[data-delay="1"] { transition-delay: 0.12s; }
.js-reveal[data-delay="2"] { transition-delay: 0.24s; }
.js-reveal[data-delay="3"] { transition-delay: 0.36s; }

/* 格子の窓から写真が開く(写真用リビール) */
.js-window { clip-path: inset(12% 12% 12% 12%); transition: clip-path 1.4s var(--ease-out); }
.js-window.is-inview { clip-path: inset(0 0 0 0); }

/* 筆文字ロゴ: 墨がにじむように1回だけ現れる(0.8秒) */
.js-logo-flight img { animation: inkIn 0.8s var(--ease-out) both; }  /* 最初の1回だけ墨がにじむように現れる */
@keyframes inkIn {
  from { opacity: 0; filter: blur(6px); transform: translateY(8px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}

/* ---------- 9. モーション停止(削除禁止) ---------- */
.motion-stop {
  display: none;
  position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: var(--z-modal);
  padding: 10px 16px; font-size: 12px;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: 999px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .motion-stop { display: block; }
}
html.is-motion-off .js-reveal,
html.is-motion-off *[class] {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}
html.is-motion-off .js-reveal { opacity: 1; transform: none; }
html.is-motion-off .js-window { clip-path: none; }
/* 静的表示: ヒーローは1画面に縮め、格子は開いた状態を見せない(のぞき窓のまま) */
html.is-motion-off .hero { height: auto; }
html.is-motion-off .hero__stage { position: relative; }
html.is-motion-off .hero__enter { display: none; }
