/* 珪化 keica
   夜の店の空気。照明を落としたコンクリートの壁と、灯りに照らされた料理。
   角はすべて直角。アクセント色は使わず、明るい色はボタン（灯り）だけ。
   z-index: 10 予約バー / 30 ヘッダー / 31 上の帯 / 40 言語メニュー / 50 ドロワー / 70 フィルムの粒子 */

:root {
  --bg: #100f0e;
  --bg-2: #171614;
  --bg-3: #201e1c;
  --ink: #ede9e2;
  --ink-2: #bdb7ad;
  --ink-3: #938d84;
  --line: rgba(237, 233, 226, 0.12);
  --line-strong: rgba(237, 233, 226, 0.3);
  --on-light: #151413;
  --gutter: clamp(16px, 4vw, 72px);
  --col-gap: clamp(16px, 1.8vw, 28px);
  --maxw: 1560px;
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --f-latin: "Albert Sans";
  --f-cjk: "Noto Sans JP";
  --f-ja: "Noto Sans JP";
  color-scheme: dark;
}
html[data-lang="zh-hans"] { --f-cjk: "Noto Sans SC"; }
html[data-lang="zh-hant"] { --f-cjk: "Noto Sans TC"; }
html[data-lang="ko"] { --f-cjk: "Noto Sans KR"; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-latin), var(--f-cjk), "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-break: strict;
}
/* フィルムの粒子。写真の質感をそろえ、暗い面をのっぺりさせない */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[lang="en"] body { line-height: 1.7; letter-spacing: 0.005em; font-size: 16px; }
html[lang="ko"] body { word-break: keep-all; line-height: 1.85; letter-spacing: 0; }
[lang="ja"] { font-family: var(--f-latin), var(--f-ja), "Hiragino Sans", sans-serif; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
::selection { background: rgba(237, 233, 226, 0.25); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-3); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.ph { display: inline-block; }
.nowrap { white-space: nowrap; }
figcaption { font-size: 12px; line-height: 1.6; letter-spacing: 0.06em; color: var(--ink-3); }
html[lang="en"] figcaption { letter-spacing: 0.01em; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 80; background: var(--ink); color: var(--on-light); padding: 8px 14px; font-size: 13px; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------- 上の細い帯（言語の案内・提案用の表示） ---------- */
html.has-bar { --bar-h: 30px; }
html.has-lang-bar { --bar2-h: 34px; }
.lang-bar, .preview-bar {
  position: relative; z-index: 31;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 var(--gutter);
  font-size: 12px; line-height: 1.3; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden;
}
.lang-bar { height: var(--bar2-h, 34px); background: var(--ink); color: var(--on-light); font-size: 13px; }
.lang-bar[hidden] { display: none; }
.lang-bar a { text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }
.preview-bar { height: var(--bar-h); background: var(--bg-3); color: var(--ink-2); }
.preview-bar p { overflow: hidden; text-overflow: ellipsis; }
.lang-bar button, .preview-bar button { display: grid; place-items: center; width: 30px; height: 30px; margin-right: -8px; opacity: 0.75; }
.lang-bar .icon, .preview-bar .icon { width: 14px; height: 14px; }

/* ---------- ロゴ（看板と同じ組み方） ---------- */
.lockup { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); }
/* 店名は、お店のロゴ（明朝の「珪化」の絵）の下に、看板・ショップカードと同じく小さく「keica」を添える */
.lockup svg { display: block; height: 20px; width: auto; }
.lockup__latin { font-family: var(--f-latin), sans-serif; font-weight: 300; font-size: 10px; letter-spacing: 0.52em; margin-right: -0.52em; margin-top: 8px; }

/* ---------- ボタンとリンク ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.14em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.15s ease;
}
html[lang="en"] .btn { letter-spacing: 0.05em; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 15px; height: 15px; }
.btn__via { font-size: 11.5px; font-weight: 400; letter-spacing: 0.06em; opacity: 0.62; margin-left: -2px; }
.btn--light { background: var(--ink); color: var(--on-light); }
.btn--light:hover { background: #fff; }
.btn--line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 13px; letter-spacing: 0.08em; gap: 8px; font-weight: 400; }
.btn--lg { min-height: 62px; padding: 0 38px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; letter-spacing: 0.12em; text-decoration: none; color: var(--ink);
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
html[lang="en"] .link { letter-spacing: 0.03em; }
.link:hover { background-size: 0% 1px; background-position: 100% 100%; }
.link .icon { width: 14px; height: 14px; }

/* ---------- ヘッダー（トップの写真の上では透明） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(16, 15, 14, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.site-header.is-over-hero { background: rgba(16, 15, 14, 0); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px);
}
.site-header__brand { text-decoration: none; margin-right: auto; }
.site-nav ul { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.site-nav a { font-size: 13.5px; letter-spacing: 0.16em; text-decoration: none; color: var(--ink); opacity: 0.82; transition: opacity 0.3s; }
html[lang="en"] .site-nav a { letter-spacing: 0.04em; font-size: 14px; }
.site-nav a:hover { opacity: 1; }
.site-header__tools { display: flex; align-items: center; gap: 14px; }
.site-header__reserve { min-height: 40px; padding: 0 18px; font-size: 13px; }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; margin-right: -10px; }
.menu-button .icon { width: 24px; height: 24px; }

/* 言語メニュー */
.lang { position: relative; }
.lang__button { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 6px; font-size: 13px; letter-spacing: 0.04em; color: var(--ink); opacity: 0.85; }
.lang__button:hover { opacity: 1; }
.lang__button .icon { width: 17px; height: 17px; }
.lang__button .icon--caret { width: 11px; height: 11px; transition: transform 0.3s var(--ease); }
.lang__button[aria-expanded="true"] .icon--caret { transform: rotate(180deg); }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  min-width: 180px; padding: 8px 0;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}
.lang__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 18px; font-size: 14px; line-height: 1.4; letter-spacing: 0.02em; text-decoration: none; color: var(--ink-2); }
.lang__list a:hover, .lang__list a[aria-current] { color: var(--ink); background: var(--bg-3); }
.lang__list .icon--check { width: 14px; height: 14px; }

/* ドロワー（スマホのメニュー） */
.drawer { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--bg); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.drawer__nav { margin-top: 40px; }
.drawer__nav a { display: block; padding: 14px 0; font-size: 26px; font-weight: 300; letter-spacing: 0.12em; text-decoration: none; }
html[lang="en"] .drawer__nav a { letter-spacing: 0; }
.drawer__langs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: auto 0 24px; padding-top: 32px; }
.drawer__langs a { font-size: 14px; text-decoration: none; color: var(--ink-3); padding: 6px 0; }
.drawer__langs a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* ---------- トップ ---------- */
.hero {
  --hero-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  position: relative;
  height: calc(100svh - var(--bar-h, 0px) - var(--bar2-h, 0px));
  min-height: 600px;
  margin-top: calc(-1 * var(--header-h));
  overflow: hidden;
  background: #0a0908;
}
.hero__stage { position: absolute; inset: 0; }
.hero__stage--sp { display: none; }
.hero__slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; transition: opacity 1.8s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__panel { position: relative; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos) !important; }
@media (prefers-reduced-motion: no-preference) {
  .hero__img { transform: scale(1.07); transition: transform 9s cubic-bezier(0.25, 0.1, 0.25, 1); }
  .hero__slide.is-active .hero__img { transform: scale(1); }
}
/* 写真の説明：2枚の境目をはさんで、予約ボタンより下の帯に置く（見出しやボタンと重ならない） */
.hero__cap { position: absolute; bottom: calc(clamp(44px, 8vh, 96px) / 2); transform: translateY(50%); max-width: calc(100% - 2 * var(--gutter)); font-size: 12.5px; line-height: 1.5; letter-spacing: 0.04em; color: rgba(237, 233, 226, 0.72); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.hero__panel:first-child .hero__cap { right: var(--gutter); text-align: right; }
.hero__panel:last-child .hero__cap { left: var(--gutter); }
/* 文字を読みやすくする影。写真ごとに持たせ、写真の説明はその上に重ねる。
   左下の丸い影は左の写真にだけ届く（トップ全体で 70%×60% の大きさ ＝ 左の写真では 140%×60%） */
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.62) 0%, rgba(10, 9, 8, 0) 24%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.92) 0%, rgba(10, 9, 8, 0.66) 30%, rgba(10, 9, 8, 0) 62%);
}
.hero__stage--pc .hero__panel:first-child .hero__shade {
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.62) 0%, rgba(10, 9, 8, 0) 24%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.92) 0%, rgba(10, 9, 8, 0.66) 30%, rgba(10, 9, 8, 0) 62%),
    radial-gradient(140% 60% at 0% 100%, rgba(10, 9, 8, 0.55) 0%, rgba(10, 9, 8, 0) 70%);
}
.hero__inner { position: absolute; left: var(--hero-left); right: var(--gutter); bottom: clamp(44px, 8vh, 96px); max-width: 680px; }
.hero__title { font-size: clamp(32px, 3.6vw, 58px); font-weight: 200; line-height: 1.38; letter-spacing: 0.1em; font-feature-settings: "palt"; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
html[lang="en"] .hero__title { font-weight: 300; letter-spacing: -0.015em; line-height: 1.06; font-size: clamp(38px, 4.6vw, 74px); }
html[lang="ko"] .hero__title { letter-spacing: 0.01em; font-weight: 300; line-height: 1.35; }
.hero__sub { margin-top: 18px; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
html[lang="en"] .hero__sub { font-size: 17px; line-height: 1.55; max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 34px; }

/* ---------- 珪化について ---------- */
.name {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(96px, 10vw, 160px) var(--gutter) clamp(80px, 8vw, 128px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  align-items: center;
  overflow: hidden; overflow: clip; /* clip はスクロールの箱を作らないので、石の奥行きがページのスクロールに連動する */
}
.name__stone { grid-column: 5 / 13; grid-row: 1; margin-right: calc(-1 * var(--gutter)); }
/* 写真の黒い背景をページの地に溶かし、断面だけを浮かべる */
.name__img { width: 100%; mix-blend-mode: lighten; }
.name__text { grid-column: 1 / 6; grid-row: 1; position: relative; z-index: 1; }
.name__reading { font-family: var(--f-latin), var(--f-cjk), sans-serif; font-size: 13px; letter-spacing: 0.4em; color: var(--ink-3); line-height: 1; }
.name__word { margin-top: 24px; font-family: var(--f-ja), sans-serif; font-size: clamp(96px, 11vw, 184px); font-weight: 200; line-height: 0.95; letter-spacing: 0.1em; margin-left: -0.05em; }
.name__meaning { margin-top: clamp(28px, 3vw, 44px); max-width: 19em; font-size: clamp(18px, 1.6vw, 23px); font-weight: 300; line-height: 1.8; letter-spacing: 0.08em; font-feature-settings: "palt"; }
html[lang="en"] .name__meaning { letter-spacing: 0; line-height: 1.45; max-width: 22em; }
.name__body { margin-top: 26px; max-width: 30em; font-size: 15px; line-height: 2.1; color: var(--ink-2); }
html[lang="en"] .name__body { font-size: 16px; line-height: 1.7; }
.name__pair { grid-column: 1 / 13; margin-top: clamp(64px, 7vw, 112px); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); align-items: start; }
.name__photo-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.name__photo figcaption { margin-top: 12px; }

/* ---------- セクション見出し ---------- */
.section-title { font-size: clamp(24px, 2.2vw, 34px); font-weight: 300; line-height: 1.45; letter-spacing: 0.16em; font-feature-settings: "palt"; }
html[lang="en"] .section-title { letter-spacing: -0.01em; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.15; }
html[lang="ko"] .section-title { letter-spacing: 0.02em; }

/* ---------- コース ---------- */
.courses { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 4vw, 64px) var(--gutter) clamp(96px, 9vw, 150px); }
.ccards { margin-top: clamp(36px, 4vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); align-items: start; }
.ccard:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.ccard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.ccard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.ccard:hover .ccard__img { transform: scale(1.04); }
.ccard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 9, 8, 0.72) 0%, rgba(10, 9, 8, 0) 42%); pointer-events: none; }
.ccard__kanji { position: absolute; left: 22px; bottom: 16px; z-index: 1; font-family: var(--f-ja), sans-serif; font-size: clamp(64px, 6vw, 96px); font-weight: 200; line-height: 1; color: var(--ink); }
.ccard__note { position: absolute; right: 14px; top: 12px; z-index: 1; font-size: 10.5px; color: rgba(237, 233, 226, 0.72); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.ccard__body { padding-top: 24px; }
.ccard__name { font-family: var(--f-latin), sans-serif; font-size: 12.5px; font-weight: 400; letter-spacing: 0.4em; line-height: 1.4; color: var(--ink-2); }
.ccard__tags { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; line-height: 1.4; letter-spacing: 0.08em; color: var(--ink-3); }
.ccard__tags span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; margin-right: 14px; background: var(--line-strong); vertical-align: -1px; }
.ccard__lead { margin-top: 16px; font-size: clamp(18px, 1.45vw, 21px); font-weight: 300; line-height: 1.6; letter-spacing: 0.06em; font-feature-settings: "palt"; }
html[lang="en"] .ccard__lead { letter-spacing: -0.005em; line-height: 1.3; }
.ccard__text { margin-top: 12px; font-size: 14px; line-height: 1.95; color: var(--ink-2); }
html[lang="en"] .ccard__text { font-size: 15px; line-height: 1.65; }
.ccard__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.ccard__price { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.ccard__amount { font-family: var(--f-latin), var(--f-cjk), sans-serif; font-size: clamp(26px, 2.1vw, 32px); font-weight: 300; letter-spacing: 0.02em; font-variant-numeric: tabular-nums lining-nums; }
.ccard__tax { font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-3); }
.ccard__cta { font-size: 13px; }
.courses__note { margin-top: 40px; font-size: 13px; line-height: 1.9; color: var(--ink-3); max-width: 60em; }

.drinks { margin-top: clamp(72px, 7vw, 112px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; align-items: end; }
.drinks__photo { grid-column: 1 / 7; grid-row: 1 / 3; }
.drinks__img { width: 100%; aspect-ratio: 16 / 9.6; object-fit: cover; }
.drinks__photo figcaption { margin-top: 12px; }
.drinks__head { grid-column: 8 / 13; grid-row: 1; align-self: end; }
.drinks__title { font-size: clamp(20px, 1.7vw, 26px); font-weight: 300; line-height: 1.5; letter-spacing: 0.14em; font-feature-settings: "palt"; }
html[lang="en"] .drinks__title { letter-spacing: -0.005em; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.drinks__body { margin-top: 16px; max-width: 28em; font-size: 15px; line-height: 2; color: var(--ink-2); }
html[lang="en"] .drinks__body { font-size: 16px; line-height: 1.7; }
.drinks .drink-list { grid-column: 8 / 13; grid-row: 2; align-self: start; margin-bottom: 0; }
.drink-list { border-top: 1px solid var(--line-strong); }
.drink-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.drink-list__name { font-size: 15px; letter-spacing: 0.06em; }
.drink-list__note { font-size: 12.5px; color: var(--ink-3); text-align: right; }

/* ---------- この季節の皿（店主が更新） ---------- */
/* 列は画面の端まで流し、カードの並び始めと終わりは本文の端に合わせる（--edge は親の幅で決まる本文の端） */
.dishes { --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); padding: 0 0 clamp(72px, 6vw, 104px); }
.dishes__head { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 var(--edge); margin-bottom: clamp(32px, 3.4vw, 52px); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav[hidden] { display: none; }
.rail-nav__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); transition: border-color 0.3s, opacity 0.3s; }
.rail-nav__btn:hover { border-color: var(--ink); }
.rail-nav__btn:disabled { opacity: 0.3; cursor: default; }
.rail-nav__btn .icon { width: 18px; height: 18px; }
.dish-rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.4 * var(--col-gap)) / 3.4);
  gap: var(--col-gap);
  padding: 0 var(--edge);
  scroll-padding-inline: var(--edge);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; align-items: start;
}
.dish-rail::-webkit-scrollbar { display: none; }
.dish { scroll-snap-align: start; }
.dish__frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.dish__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.dish figure:hover .dish__img { transform: scale(1.04); }
.dish figcaption { display: grid; gap: 4px; padding-top: 16px; color: var(--ink); }
.dish__name { font-size: 14.5px; line-height: 1.7; letter-spacing: 0.04em; }
html[lang="en"] .dish__name { letter-spacing: 0; }
.dish__text { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.dish__date { margin-top: 4px; font-size: 12px; line-height: 1.5; letter-spacing: 0.06em; color: var(--ink-3); }
.dish__sample { padding: 1px 6px; border: 1px solid var(--line-strong); font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-3); }

/* ---------- 入口 ---------- */
/* 上の区切り線は画面の端から端まで。中身は本文の幅 */
.door {
  padding: clamp(72px, 6vw, 104px) max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))) clamp(88px, 8vw, 132px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  border-top: 1px solid var(--line);
}
.door__photo { grid-column: 1 / 7; grid-row: 1; }
.door__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.door__photo figcaption { margin-top: 12px; }
.door__head { grid-column: 8 / 13; grid-row: 1; align-self: center; }
.door__label { font-size: 13px; letter-spacing: 0.24em; color: var(--ink-3); }
html[lang="en"] .door__label { letter-spacing: 0.04em; }
.door__title { margin-top: 18px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; line-height: 1.55; letter-spacing: 0.08em; font-feature-settings: "palt"; }
html[lang="en"] .door__title { letter-spacing: -0.01em; line-height: 1.2; }
.door__lead { margin-top: 18px; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.route { grid-column: 1 / 13; margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); border-top: 1px solid var(--line-strong); }
.route__step { padding: 28px 28px 0 0; }
.route__n { display: block; font-family: var(--f-latin), sans-serif; font-size: 44px; font-weight: 200; line-height: 1; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.route__title { margin-top: 18px; font-size: 19px; font-weight: 400; line-height: 1.6; letter-spacing: 0.06em; }
html[lang="en"] .route__title { letter-spacing: 0; font-weight: 500; }
.route__body { margin-top: 8px; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.door__grid { grid-column: 1 / 13; margin-top: clamp(64px, 7vw, 104px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; align-items: start; }
.door__inside { grid-column: 1 / 7; }
.door__seats { display: grid; grid-template-columns: 1.45fr 1fr; gap: var(--col-gap); align-items: end; }
.door__seat-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.door__seat--table .door__seat-img { aspect-ratio: 4 / 3.3; }
.door__seat figcaption { margin-top: 10px; }
.door__sub { margin-top: 28px; font-size: clamp(19px, 1.6vw, 24px); font-weight: 300; line-height: 1.5; letter-spacing: 0.12em; }
html[lang="en"] .door__sub { letter-spacing: 0; }
.door__body { margin-top: 14px; max-width: 32em; font-size: 15px; line-height: 2; color: var(--ink-2); }
html[lang="en"] .door__body { font-size: 16px; line-height: 1.7; }
.door__map { grid-column: 8 / 13; }
.map-frame { position: relative; aspect-ratio: 1 / 1; background: var(--bg-2); overflow: hidden; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.86) brightness(0.92); }
.door__address { margin-top: 22px; font-style: normal; font-size: 14.5px; line-height: 1.85; }
.door__postal { display: block; color: var(--ink-3); font-size: 12.5px; }
.door__others { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
.door__buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* タクシーの運転手に見せる画面（運転手が読むので明るいカード） */
.taxi { width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 24px; border: 0; background: var(--bg-2); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); }
.taxi::backdrop { background: rgba(0, 0, 0, 0.7); }
.taxi__lead { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.taxi__card { margin: 18px 0 22px; padding: 22px 20px; background: #f4f3f0; color: #1d1c1b; font-family: var(--f-latin), var(--f-ja), sans-serif; }
.taxi__ask { font-size: 18px; line-height: 1.6; }
.taxi__addr { margin-top: 14px; font-size: clamp(19px, 5.6vw, 30px); font-weight: 500; line-height: 1.5; }
.taxi__addr span { display: block; white-space: nowrap; }
.taxi__name { margin-top: 10px; font-size: 22px; line-height: 1.5; }
.taxi__near { margin-top: 6px; font-size: 16px; color: #4a4846; }

/* ---------- 営業時間とご案内 ---------- */
.visit {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(24px, 3vw, 48px) var(--gutter) clamp(100px, 9vw, 150px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 56px;
}
.visit .section-title { font-size: clamp(20px, 1.7vw, 26px); }
.visit__hours { grid-column: 1 / 6; }
.visit__notes { grid-column: 7 / 13; display: grid; gap: clamp(48px, 5vw, 72px); }
.visit__time { margin-top: 24px; font-family: var(--f-latin), var(--f-cjk), sans-serif; font-size: clamp(40px, 4.2vw, 64px); font-weight: 200; line-height: 1.2; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.visit__lo { margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.visit__days { margin-top: 32px; display: grid; border-top: 1px solid var(--line-strong); }
.visit__days > div, .info-list > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 14px; font-size: 15px; line-height: 1.85; padding: 14px 0; border-bottom: 1px solid var(--line); }
html[lang="en"] .visit__days > div, html[lang="en"] .info-list > div { grid-template-columns: 5.5em 1fr; }
.visit__days dt, .info-list dt { color: var(--ink-2); font-size: 13.5px; }
.visit__days .muted { font-size: 13px; color: var(--ink-2); }
.info-list { margin-top: 20px; display: grid; border-top: 1px solid var(--line-strong); }
.policy-list { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--col-gap); }
.policy-list li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.85; color: var(--ink); }
.policy-list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 7px; height: 1px; background: var(--ink-3); }

/* ---------- ご予約 ---------- */
.reserve { position: relative; min-height: 80svh; display: grid; place-items: center; padding: clamp(120px, 12vw, 200px) var(--gutter); overflow: hidden; overflow: clip; text-align: center; }
.reserve__media { position: absolute; inset: 0; }
.reserve__img { width: 100%; height: 100%; object-fit: cover; }
.reserve__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 55%, rgba(10, 9, 8, 0.55) 0%, rgba(10, 9, 8, 0.86) 100%); }
.reserve__text { position: relative; z-index: 1; max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.reserve__title { font-size: clamp(34px, 3.6vw, 56px); font-weight: 200; line-height: 1.3; letter-spacing: 0.16em; margin-right: -0.16em; }
html[lang="en"] .reserve__title { font-weight: 300; letter-spacing: -0.015em; margin-right: 0; }
.reserve__body { margin-top: 24px; font-size: 15px; line-height: 2; color: var(--ink-2); }
html[lang="en"] .reserve__body { font-size: 16.5px; line-height: 1.65; }
.reserve .btn { margin-top: 38px; }
.reserve__deadline { margin-top: 16px; font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink-2); }

/* ---------- フッター ---------- */
.site-footer { background: var(--bg-2); }
.site-footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 72px var(--gutter) calc(44px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 36px;
  font-size: 13px; line-height: 1.8;
}
.lockup--footer { grid-column: 1 / 3; align-self: start; }
.lockup.lockup--footer svg { height: 27px; }   /* スマホのヘッダー用の大きさ（.lockup svg）より優先する */
.lockup--footer .lockup__latin { font-size: 11px; margin-top: 10px; }
.site-footer__address { grid-column: 4 / 7; font-style: normal; color: var(--ink-2); }
.site-footer__links { grid-column: 7 / 9; display: grid; gap: 6px; align-content: start; }
.site-footer__links a, .site-footer__langs a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); }
.site-footer__links a:hover, .site-footer__langs a:hover { color: var(--ink); }
.site-footer__langs { grid-column: 9 / 13; display: flex; flex-wrap: wrap; gap: 4px 18px; align-content: start; justify-content: flex-end; }
.site-footer__langs a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.site-footer__copy { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-3); }
.site-footer__credit a { color: inherit; }

/* ---------- スマホの予約バー ---------- */
.sticky-reserve { display: none; }

/* ---------- 動き（動きを減らす設定では止める） ----------
   文は下から少し浮かぶ。見出しは言葉ごとにせり上がる。写真は暗いところから灯りがともる。
   大きな写真（店名の石と予約の背景）だけ、スクロールより少し遅れて動く。
   is-done は動き終わった印。付いたら動き用の指定を外し、カードの上での拡大などを元に戻す */
.shot { overflow: hidden; }
.w { display: inline-block; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.w__in { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal="fade"] { transform: none; transition: opacity 1.8s ease; }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* 見出し */
  .js [data-reveal="rise"] { opacity: 1; transform: none; transition: none; }
  .js [data-reveal="rise"]:not(.is-done) .w { clip-path: inset(-0.5em -0.5em 0 -0.5em); }
  .js [data-reveal="rise"]:not(.is-done) .w__in { transform: translateY(130%); transition: transform 1.6s cubic-bezier(0.22, 0.7, 0.24, 1); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 0.09s); }
  .js [data-reveal="rise"].is-in:not(.is-done) .w__in { transform: none; }

  /* 写真: 先に明るいところが見え、ゆっくり全体に灯りが回る */
  .js [data-reveal="light"] { opacity: 1; transform: none; transition: none; }
  .js [data-reveal="light"]:not(.is-done) img { opacity: 0; filter: brightness(0.25); transform: scale(1.06); transition: opacity 0.9s ease-out, filter 1.9s cubic-bezier(0.3, 0.1, 0.2, 1), transform 2.4s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal="light"].is-in:not(.is-done) img { opacity: 1; filter: none; transform: none; }
  .js [data-reveal="light"]:not(.is-done) figcaption { opacity: 0; transform: translateY(10px); transition: opacity 1.2s ease, transform 1.4s var(--ease); transition-delay: calc(var(--d, 0s) + 0.6s); }
  .js [data-reveal="light"].is-in:not(.is-done) figcaption { opacity: 1; transform: none; }
  /* 横に並ぶ皿は、スワイプに遅れないよう短く */
  .js .dish[data-reveal="light"]:not(.is-done) img { transition-duration: 0.45s, 0.8s, 1s; }
  .js .dish[data-reveal="light"]:not(.is-done) figcaption { transition-duration: 0.6s, 0.8s; transition-delay: calc(var(--d, 0s) + 0.15s); }
  /* コースの漢字は、写真に灯りが回ったあとで現れる */
  .js [data-reveal="light"]:not(.is-done) .ccard__kanji { opacity: 0; transform: translateY(14px); transition: opacity 1.4s ease, transform 1.8s var(--ease); transition-delay: calc(var(--d, 0s) + 0.9s); }
  .js [data-reveal="light"].is-in:not(.is-done) .ccard__kanji { opacity: 1; transform: none; }
}
/* 奥行き。スクロールに連動する CSS の機能だけを使い、対応していないブラウザでは止まったまま */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .name__img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    .reserve__img { position: absolute; left: 0; top: -8%; height: 116%; animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes drift { from { transform: translateY(-6%); } to { transform: translateY(6%); } }

/* ---------- タブレット ---------- */
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .menu-button { display: grid; }
  .name__stone { grid-column: 4 / 13; }
  .name__text { grid-column: 1 / 7; }
  .ccards { gap: 20px; }
  .visit__hours { grid-column: 1 / 13; }
  .visit__notes { grid-column: 1 / 13; }
  .door__inside { grid-column: 1 / 13; }
  .door__map { grid-column: 1 / 13; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); }
  .door__map .map-frame { grid-row: 1 / 5; aspect-ratio: 4 / 3; }
}

/* ---------- スマホ ---------- */
@media (max-width: 899px) {
  :root { --header-h: 62px; }
  body { font-size: 15px; }
  .lockup svg { height: 17px; }
  .lockup__latin { font-size: 8.5px; margin-top: 6px; }
  .site-header__reserve { display: none; }
  .site-header__tools { gap: 4px; }
  .lang__button { padding: 0 8px; }
  html.has-bar { --bar-h: 26px; }
  .preview-bar { font-size: 10.5px; }

  .hero { min-height: 560px; }
  .hero__stage--pc { display: none; }
  .hero__stage--sp { display: block; }
  .hero__slide { grid-template-columns: 1fr; gap: 0; }
  .hero__stage--sp .hero__panel .hero__cap { left: auto; right: 16px; top: calc(var(--header-h) + 12px); bottom: auto; transform: none; text-align: right; font-size: 11px; }
  .hero__stage--sp .hero__shade { background: linear-gradient(180deg, rgba(10, 9, 8, 0.6) 0%, rgba(10, 9, 8, 0) 20%), linear-gradient(0deg, rgba(10, 9, 8, 0.94) 0%, rgba(10, 9, 8, 0.6) 34%, rgba(10, 9, 8, 0) 62%); }
  .hero__inner { left: var(--gutter); right: var(--gutter); bottom: calc(24px + env(safe-area-inset-bottom)); }
  .hero__title { font-size: clamp(28px, 8vw, 36px); line-height: 1.45; letter-spacing: 0.08em; }
  html[lang="en"] .hero__title { font-size: clamp(32px, 9vw, 40px); line-height: 1.08; }
  .hero__sub { margin-top: 10px; font-size: 14px; line-height: 1.8; }
  html[lang="en"] .hero__sub { font-size: 15px; line-height: 1.5; }
  .hero__cta { margin-top: 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__cta .link { display: none; }

  .name { display: block; padding: 80px var(--gutter) 80px; }
  .name__stone { margin: 0 calc(-1 * var(--gutter)); }
  .name__text { margin-top: -12px; }
  .name__word { font-size: clamp(88px, 28vw, 128px); }
  .name__meaning { font-size: 17px; }
  .name__body { font-size: 14.5px; }
  .name__pair { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }

  .courses { padding-top: 24px; padding-bottom: 88px; }
  .ccards { grid-template-columns: 1fr; gap: 64px; }
  .ccard:nth-child(2) { margin-top: 0; }
  .ccard__media { aspect-ratio: 4 / 4.2; }
  .drinks { display: block; margin-top: 72px; }
  .drinks__head { margin-top: 32px; }
  .drinks .drink-list { margin: 26px 0 0; }

  .dishes { padding-bottom: 88px; }
  .dish-rail { grid-auto-columns: 76%; }
  .rail-nav { display: none; }

  .door { display: block; padding: 80px var(--gutter) 88px; }
  .door__photo { margin: 0 calc(-1 * var(--gutter)); }
  .door__photo figcaption { padding: 0 var(--gutter); }
  .door__head { margin-top: 36px; }
  .route { grid-template-columns: 1fr; margin-top: 48px; }
  .route__step { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; }
  .route__n { grid-row: 1 / 3; font-size: 34px; }
  .route__title { margin-top: 0; font-size: 17px; }
  .door__grid { display: block; margin-top: 64px; }
  .door__inside { margin: 0 calc(-1 * var(--gutter)); }
  .door__inside .door__sub, .door__inside .door__body { padding: 0 var(--gutter); }
  .door__seats { grid-template-columns: 1fr; gap: 20px; }
  .door__seat figcaption { padding: 0 var(--gutter); }
  .door__seat--table { width: 72%; margin-left: auto; }
  .door__seat--table figcaption { padding-left: 0; }
  .door__map { display: block; margin-top: 56px; }
  .door__map .map-frame { aspect-ratio: 1 / 1; } /* 札の下にピンと道が見える高さを取る */
  .door__buttons .btn { flex: 1 1 auto; }

  .visit { display: block; padding-top: 8px; padding-bottom: 88px; }
  .visit__notes { margin-top: 56px; gap: 56px; }
  .policy-list { grid-template-columns: 1fr; }

  .reserve { min-height: 78svh; padding: 110px var(--gutter); }
  .reserve__body { font-size: 14.5px; }

  .site-footer__inner { display: grid; grid-template-columns: 1fr; padding-top: 56px; padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .lockup--footer, .site-footer__address, .site-footer__links, .site-footer__langs, .site-footer__copy { grid-column: 1; }
  .lockup--footer { justify-self: start; }
  .site-footer__langs { justify-content: flex-start; }

  .sticky-reserve {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(16, 15, 14, 0.9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform 0.5s var(--ease);
  }
  .sticky-reserve.is-shown { transform: none; }
  .sticky-reserve[hidden] { display: block; visibility: hidden; }
  .sticky-reserve.is-shown[hidden] { visibility: visible; }
  .sticky-reserve .btn { min-height: 50px; }
  .sticky-reserve__note { margin-top: 6px; text-align: center; font-size: 11.5px; line-height: 1.4; letter-spacing: 0.04em; color: var(--ink-3); }
}
