/* 三刻珈琲 — 全ページ共通のスタイル
   1 変数と刻の色  2 土台  3 文字の部品  4 ヘッダーとフッター  5 トップ  6 お品書き  7 豆  8 店と行き方  9 動き  10 スマートフォン */

/* ---------- 1 変数と刻の色 ---------- */
/* 色は刻ごとに入れ替える。html の data-toki（asa / hiru / yoru）を toki.js が書き換える。
   JavaScript が動かない時は、HTML に書いた asa（朝）のまま。 */
:root {
  --bg: #efe6d8;        /* 地。朝は生成り */
  --bg-2: #e6dac7;      /* 地を分ける面 */
  --ink: #2a1c14;       /* 文字。焦げ茶 */
  --ink-dim: #6a584a;   /* 添え書き */
  --line: rgb(42 28 20 / 16%);
  --accent: #9a4a1b;    /* 差し色。朝は琥珀 */
  --on-accent: #fbf4ea;
  --hero-shade: rgb(24 14 8 / 0%);

  --mincho: "Zen Old Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-xs: 0.75rem;
  --t-s: 0.875rem;
  --t-m: 1rem;
  --t-l: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  --t-xl: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem);
  --t-xxl: clamp(3.5rem, 2.2rem + 6.4vw, 8.5rem);

  --gutter: clamp(20px, 5vw, 80px);
  --gap-section: clamp(88px, 12vw, 180px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
:root[data-toki="hiru"] {
  --bg: #f4f2ed; --bg-2: #e9e5dc; --ink: #1f1b18; --ink-dim: #5f5850;
  --line: rgb(31 27 24 / 14%); --accent: #356b51; --on-accent: #f4f2ed;
}
:root[data-toki="yoru"] {
  --bg: #16100c; --bg-2: #211812; --ink: #ede3d3; --ink-dim: #a89a88;
  --line: rgb(237 227 211 / 16%); --accent: #e0a84b; --on-accent: #16100c;
  color-scheme: dark;
}

/* ---------- 2 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: var(--t-m);
  line-height: 1.95;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.8s var(--ease), color 0.8s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
/* 日本語を文節の切れ目で折り返す（対応するブラウザだけ） */
h1, h2, h3, p, dd, li, figcaption { word-break: auto-phrase; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 600; letter-spacing: 0.08em; line-height: 1.45; text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 8px 14px; background: var(--ink); color: var(--bg); text-decoration: none;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section { scroll-margin-top: 80px; }

/* ---------- 3 文字の部品 ---------- */
.eyebrow { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.lead { font-family: var(--mincho); font-size: var(--t-l); line-height: 1.9; letter-spacing: 0.08em; }
.dim { color: var(--ink-dim); }
.h-sec { font-size: var(--t-xl); }
.more {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--t-s); letter-spacing: 0.14em; text-decoration: none;
  padding-block: 8px; border-bottom: 1px solid currentColor;
  transition: gap 0.4s var(--ease), color 0.3s;
}
.more::after { content: "→"; font-family: var(--mono); }
.more:hover { gap: 20px; color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); border: 0;
  font-size: var(--t-s); letter-spacing: 0.12em; text-decoration: none; cursor: pointer;
  transition: transform 0.3s var(--ease), filter 0.3s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* 営業状況の札。どのページでも同じ形 */
.state { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.06em; white-space: nowrap; }
.state__dot { width: 8px; height: 8px; border-radius: 50%; background: #8a8178; flex: none; }
.is-open .state__dot { background: #4caf6e; box-shadow: 0 0 0 4px rgb(76 175 110 / 20%); }

/* ---------- 4 ヘッダーとフッター ---------- */
.head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 18px var(--gutter);
  padding-top: calc(18px + env(safe-area-inset-top, 0px));
  transition: background-color 0.4s, padding 0.4s var(--ease), color 0.4s;
}
.head.is-solid { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); padding-block: 10px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); border-bottom: 1px solid var(--line); }
.head.on-hero:not(.is-solid) { color: var(--hero-ink, var(--ink)); }
.mark { font-family: var(--mincho); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.22em; text-decoration: none; white-space: nowrap; }
.mark small { display: block; font-family: var(--mono); font-weight: 400; font-size: 0.5625rem; letter-spacing: 0.32em; margin-top: -4px; opacity: 0.8; }
.nav { display: flex; gap: clamp(14px, 2.2vw, 32px); margin-left: auto; }
.nav a { font-size: var(--t-s); letter-spacing: 0.14em; text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.head .state { padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; opacity: 0.92; }

.foot { border-top: 1px solid var(--line); padding-block: 64px 120px; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot__name { font-family: var(--mincho); font-size: var(--t-l); letter-spacing: 0.22em; }
.foot dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: var(--t-s); }
.foot dt { color: var(--ink-dim); }
.foot__links { display: flex; flex-direction: column; gap: 6px; font-size: var(--t-s); }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--accent); }
.foot__note { margin-top: 48px; font-size: var(--t-xs); color: var(--ink-dim); max-width: 64ch; }

/* スマートフォンの下に出す帯：営業状況と2つの入口 */
.bar {
  position: fixed; inset: auto 0 0; z-index: 40; display: none;
  align-items: center; gap: 10px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.bar .state { flex: 1; min-width: 0; white-space: normal; }
.bar a { text-decoration: none; }
.bar .btn { min-height: 40px; padding: 0 16px; }

/* ---------- 5 トップ ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; overflow: hidden; background: var(--bg-2); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
:root[data-toki="asa"] .hero__img[data-for="asa"],
:root[data-toki="hiru"] .hero__img[data-for="hiru"],
:root[data-toki="yoru"] .hero__img[data-for="yoru"] { display: block; }
.hero__img[data-for="asa"] { object-position: 35% 55%; }
.hero__img[data-for="hiru"] { object-position: 60% 50%; }
.hero__img[data-for="yoru"] { object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-veil, transparent) 0%, transparent 62%); pointer-events: none; }
:root[data-toki="asa"] .hero { --hero-veil: rgb(239 230 216 / 72%); }
:root[data-toki="hiru"] .hero { --hero-veil: rgb(244 242 237 / 78%); }
:root[data-toki="yoru"] .hero { --hero-veil: rgb(22 16 12 / 72%); }
.hero__in { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding: 140px var(--gutter) clamp(40px, 7vw, 88px); display: grid; gap: 28px; }
.hero__name { font-size: var(--t-xxl); font-weight: 700; letter-spacing: 0.16em; line-height: 1.05; }
.hero__name span { display: block; }
.hero__word { font-family: var(--mincho); font-size: var(--t-l); letter-spacing: 0.12em; }
.now {
  display: grid; grid-template-columns: auto auto; gap: 4px 28px; align-items: baseline; justify-content: start;
  padding-top: 20px; border-top: 1px solid var(--line); max-width: 520px;
}
.now dt { font-size: var(--t-xs); letter-spacing: 0.14em; color: var(--ink-dim); }
.now dd { font-size: var(--t-s); }
.now .state { font-size: var(--t-s); }

/* 一日の物差し。7時から22時を一本の線にして、今の位置に印を付ける */
.day { position: relative; margin-top: 8px; max-width: 34rem; }
.day__line { position: relative; height: 34px; display: grid; grid-template-columns: 4fr 6fr 5fr; border-bottom: 1px solid var(--ink); }
.day__seg { position: relative; border-left: 1px solid var(--line); padding: 0 8px; font-size: var(--t-xs); letter-spacing: 0.12em; color: var(--ink-dim); display: flex; align-items: center; }
.day__seg.is-now { color: var(--ink); font-weight: 700; }
.day__seg.is-now::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--accent); }
.day__ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-dim); margin-top: 6px; }
.day__pin { position: absolute; top: -6px; bottom: -6px; width: 1px; background: var(--accent); left: calc(var(--p, 0) * 100%); transition: left 1s var(--ease); }
.day__pin::before { content: ""; position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.day__pin[hidden] { display: none; }

/* 三つの刻 */
.toki { padding-block: var(--gap-section); }
.toki__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.toki__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.tk { position: relative; padding: 28px 28px 36px; border-right: 1px solid var(--line); text-align: left; background: none; border-top: 0; border-left: 0; border-bottom: 0; cursor: pointer; display: grid; gap: 14px; align-content: start; transition: background-color 0.4s; }
.tk:last-child { border-right: 0; }
.tk:hover { background: var(--bg-2); }
.tk[aria-pressed="true"] { background: var(--bg-2); }
.tk__time { font-family: var(--mono); font-size: var(--t-s); color: var(--ink-dim); }
.tk__name { font-family: var(--mincho); font-size: var(--t-xl); font-weight: 600; letter-spacing: 0.1em; line-height: 1.2; }
.tk__bean { font-size: var(--t-s); }
.tk__bean b { display: block; font-family: var(--mincho); font-size: 1.1875rem; font-weight: 600; letter-spacing: 0.04em; }
.tk__now { position: absolute; top: 28px; right: 28px; font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.12em; color: var(--on-accent); background: var(--accent); padding: 2px 10px; border-radius: 999px; }
.tk__now[hidden] { display: none; }
.toki__note { margin-top: 18px; font-size: var(--t-xs); color: var(--ink-dim); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.toki__note button { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0; cursor: pointer; }
.toki__note button[hidden] { display: none; }

/* 店主の言葉 */
.word { padding-block: var(--gap-section); background: var(--bg-2); }
.word__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.word__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.word__txt { display: grid; gap: 22px; max-width: 34em; }
.word__txt h2 { font-size: var(--t-xl); }
.word__txt p { font-family: var(--mincho); font-size: 1.0625rem; line-height: 2.2; }
.word__sign { font-size: var(--t-s) !important; color: var(--ink-dim); font-family: var(--gothic) !important; }

/* 焙煎 */
.roast { padding-block: var(--gap-section); }
.roast__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.roast__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.roast__txt { display: grid; gap: 22px; }
.roast__txt .h-sec { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); }
.log { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.log caption { text-align: left; font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.16em; color: var(--ink-dim); padding-bottom: 8px; }
.log th, .log td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: baseline; }
.log th { color: var(--ink-dim); font-size: var(--t-xs); letter-spacing: 0.1em; }
.log td.mono { white-space: nowrap; padding-right: 14px; }

/* 豆の帯（トップ） */
.beans { padding-block: var(--gap-section); background: var(--bg-2); }
.beans__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.beans__img { margin-bottom: 40px; }
.beans__img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: grid; gap: 10px; padding: 24px 0; border-top: 1px solid var(--ink); align-content: start; }
.card h3 { font-size: var(--t-l); }
.card p { font-size: var(--t-s); }
.card .price { font-family: var(--mono); font-size: var(--t-s); }

/* 食べ物 */
.food { padding-block: var(--gap-section); }
.food__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 48px; }
.food figure { display: grid; gap: 16px; }
.food img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.food figcaption { display: grid; gap: 6px; }
.food h3 { font-size: var(--t-l); }
.food p { font-size: var(--t-s); }

/* 夜の帯 */
.night { position: relative; min-height: 80vh; display: grid; align-items: end; color: #ede3d3; background: #16100c; overflow: hidden; }
.night img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.night::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(22 16 12 / 86%) 0%, rgb(22 16 12 / 0%) 60%), linear-gradient(90deg, rgb(22 16 12 / 70%) 0%, rgb(22 16 12 / 0%) 55%); }
.night__in { position: relative; z-index: 1; width: 100%; padding-block: 80px; display: grid; gap: 18px; justify-items: start; }
.night__in > * { max-width: 34em; }
.night .more:hover { color: #e0a84b; }

/* 店の事実 */
.facts { padding-block: var(--gap-section); }
.facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.facts dl > div { padding: 24px 24px 24px 0; border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.facts dl > div + div { padding-left: 24px; }
.facts dl > div:last-child { border-right: 0; }
.facts dt { font-size: var(--t-xs); letter-spacing: 0.14em; color: var(--ink-dim); }
.facts dd { font-family: var(--mincho); font-size: var(--t-l); }
.facts dd small { display: block; font-family: var(--gothic); font-size: var(--t-xs); color: var(--ink-dim); letter-spacing: 0.04em; }
.facts__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* 下層ページの見出し */
.page-head { padding: 160px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--t-xxl); font-weight: 700; letter-spacing: 0.14em; line-height: 1.1; }
.page-head p { margin-top: 18px; max-width: 40em; }

/* ---------- 6 お品書き ---------- */
.tabs { display: flex; gap: 0; margin-top: 48px; border-bottom: 1px solid var(--ink); overflow-x: auto; }
.tab { position: relative; flex: 1 0 auto; padding: 16px 20px; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; text-align: left; display: grid; gap: 2px; min-width: 120px; }
.tab b { font-family: var(--mincho); font-size: var(--t-l); font-weight: 600; letter-spacing: 0.1em; }
.tab span { font-family: var(--mono); font-size: var(--t-xs); color: var(--ink-dim); }
.tab[aria-selected="true"] { border-bottom-color: var(--accent); }
.tab .tag { position: absolute; top: 18px; right: 16px; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.1em; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 0 8px; }
.tab .tag[hidden] { display: none; }
.panel { padding-block: 48px 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.panel[hidden] { display: none; }
.panel__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.panel__txt { display: grid; gap: 40px; align-content: start; }
.menu h2 { font-size: var(--t-s); font-family: var(--mono); font-weight: 400; letter-spacing: 0.18em; color: var(--ink-dim); margin-bottom: 8px; }
.menu li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu li b { font-family: var(--mincho); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.06em; }
.menu li .yen { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.menu li small { grid-column: 1 / -1; color: var(--ink-dim); font-size: var(--t-xs); }
.menu li.is-pick b::after { content: "この刻の一杯"; margin-left: 10px; font-family: var(--gothic); font-size: 0.625rem; letter-spacing: 0.1em; color: var(--on-accent); background: var(--accent); padding: 1px 8px; border-radius: 999px; vertical-align: 3px; display: inline-block; white-space: nowrap; }
.notes { margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: var(--t-s); }
.notes h3 { font-size: 1rem; margin-bottom: 4px; }

/* ---------- 7 豆 ---------- */
.mame-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin-top: 32px; }
.bean { padding: 32px 0; border-top: 1px solid var(--ink); display: grid; gap: 14px; align-content: start; }
.bean__top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.bean h2 { font-size: var(--t-l); }
.bean__origin { font-size: var(--t-xs); color: var(--ink-dim); letter-spacing: 0.1em; }
.bean__notes { font-family: var(--mincho); font-size: 1.0625rem; }
.bean__toki { font-family: var(--mono); font-size: var(--t-xs); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; }
/* 焙煎の深さを7段の目盛りで見せる */
.roastbar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; font-size: var(--t-xs); color: var(--ink-dim); }
.roastbar ol { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.roastbar li { height: 8px; border-radius: 1px; background: var(--line); }
.roastbar li.on { background: var(--c); }
.buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.buy select { font: inherit; font-size: var(--t-s); padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-height: 46px; }
.buy .yen { font-family: var(--mono); font-size: var(--t-m); min-width: 6.5em; }
.cart {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  width: min(360px, calc(100vw - 32px)); background: var(--bg); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 14px; padding: 18px; display: grid; gap: 12px;
  box-shadow: 0 18px 50px rgb(0 0 0 / 18%);
}
.cart[hidden] { display: none; }
.cart h2 { font-size: 1rem; display: flex; justify-content: space-between; }
.cart ul { display: grid; gap: 6px; font-size: var(--t-s); max-height: 30vh; overflow: auto; }
.cart li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.cart li button { background: none; border: 1px solid var(--line); border-radius: 999px; width: 26px; height: 26px; cursor: pointer; line-height: 1; }
.cart__sum { display: flex; justify-content: space-between; font-family: var(--mono); border-top: 1px solid var(--line); padding-top: 10px; }
.cart__note { font-size: var(--t-xs); color: var(--ink-dim); }
.cart__done { font-size: var(--t-s); }

/* ---------- 8 店と行き方 ---------- */
.mise-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); padding-block: 64px var(--gap-section); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { width: 5em; }
.hours tr.is-today { color: var(--accent); font-weight: 700; }
.hours tr.is-today th::after { content: "今日"; margin-left: 8px; font-size: 0.625rem; font-weight: 400; color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 1px 7px; vertical-align: 2px; }
.live { padding: 22px 24px; border: 1px solid var(--ink); border-radius: 14px; display: grid; gap: 6px; margin-bottom: 32px; }
.live .state { font-size: var(--t-m); }
.map { width: 100%; height: auto; border: 1px solid var(--line); background: var(--bg-2); }
.map text { font-family: var(--gothic); fill: var(--ink); }
.steps { counter-reset: s; display: grid; gap: 12px; margin-top: 20px; font-size: var(--t-s); }
.steps li { display: grid; grid-template-columns: 2em minmax(0, 1fr); }
.steps li::before { counter-increment: s; content: counter(s); font-family: var(--mono); color: var(--accent); }
.info { display: grid; gap: 0; margin-top: 40px; }
.info > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-s); }
.info dt { color: var(--ink-dim); }
.faq { margin-top: 56px; display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--mincho); font-weight: 600; letter-spacing: 0.06em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; font-size: var(--t-s); }

/* ---------- 9 動き ---------- */
/* 文字は最初から見えている。JavaScript が動く時だけ、画面に入る時に少し持ち上げる */
.js .rv { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .rv.is-before { opacity: 0.001; transform: translateY(18px); }
.hero__img { animation: breathe 18s ease-in-out infinite alternate; transform-origin: 40% 60%; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .js .rv.is-before { opacity: 1; transform: none; }
}

/* ---------- 10 スマートフォン ---------- */
@media (max-width: 900px) {
  .toki__head, .word__in, .roast__in, .panel, .mise-grid { grid-template-columns: minmax(0, 1fr); }
  .toki__grid { grid-template-columns: minmax(0, 1fr); }
  .tk { border-right: 0; border-bottom: 1px solid var(--line); }
  .cards, .mame-list, .notes { grid-template-columns: minmax(0, 1fr); }
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dl > div { padding: 20px 16px 20px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .word__img img { aspect-ratio: 4 / 3; }
  .panel__img img { aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .head .state { margin-left: auto; }
  .bar { display: flex; }
  .hero { min-height: 92svh; }
  .hero::after { background: linear-gradient(0deg, var(--hero-veil, transparent) 0%, var(--hero-veil, transparent) 30%, transparent 72%); }
  .hero__img[data-for="asa"] { object-position: 80% 50%; }
  .hero__img[data-for="hiru"] { object-position: 66% 50%; }
  .hero__img[data-for="yoru"] { object-position: 72% 50%; }
  .hero__name { letter-spacing: 0.1em; }
  .now { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .now dd { margin-bottom: 8px; }
  .food__grid { grid-template-columns: minmax(0, 1fr); }
  .beans__img img { aspect-ratio: 4 / 3; }
  .day__seg { padding: 0 4px; letter-spacing: 0.04em; }
  .tab { min-width: 0; flex: 1 1 0; padding: 12px 10px; }
  .tab b { font-size: 1.0625rem; }
  .tab .tag { top: 12px; right: 6px; }
  .menu li.is-pick b::after { display: table; margin: 6px 0 0; }
  .cart { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .foot { padding-bottom: 140px; }
}
