/* =========================================================
   ゆげ サンプルサイト 共通スタイル（店のサイト・メニュー表・部品カタログ）
   正本：system/DESIGN.md。色は 2章の9色と 2.3 の派生値だけ、角丸は 8/12/16、
   余白は 4・8・12・16・24・32・48・64・96（狭幅のページ余白 20 だけ例外）。
   狭幅（640px 以下）の規則は 11章。390×844 で先に確かめる。
   ========================================================= */

/* ---------- 1. トークン（DESIGN.md 2.3・6.1・7.1・7.3） ---------- */
:root {
  --bg: #FAF3E7; --surface: #FFFDF8; --text: #3B2F2A; --text-2: #8A7A6D;
  --accent: #C2603E; --matcha: #7D8C5C; --azuki: #9C5B5B; --tamago: #E3A72F; --wood: #A9805A;
  --line: #D6CFC7; --accent-hover: #AB5437; --accent-pressed: #974B30;
  --on-accent: #FFFDF8; --on-photo: #FFFDF8;
  --tint-accent: #F5E4DA; --tint-azuki: #EFE3DF; --tint-matcha: #EAEBDF; --tint-tamago: #FBEFD8; --tint-wood: #F1E9DF;
  --hover: rgba(59, 47, 42, .05); --pressed: rgba(59, 47, 42, .08);
  --scrim: rgba(59, 47, 42, .72); --backdrop: rgba(59, 47, 42, .48);
  --focus: var(--accent);

  --font-heading: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --shadow-soft: 0 2px 8px rgba(59, 47, 42, .08);
  --shadow-raised: 0 8px 24px rgba(59, 47, 42, .12);
  --shadow-bar: 0 -4px 16px rgba(59, 47, 42, .10);

  --page-pad: 32px; --gutter: 24px; --section-pad: 96px; --header-h: 64px;
  --bar-h: 64px;
  --t-hover: 150ms ease-out; --t-overlay: 200ms ease-out;
}
@media (max-width: 640px) {
  :root { --page-pad: 20px; --gutter: 16px; --section-pad: 64px; --header-h: 56px; }
}

/* ---------- 2. 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; font-weight: 400; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.container { width: 100%; max-width: calc(1200px + var(--page-pad) * 2); margin-inline: auto; padding-inline: var(--page-pad); }
.num, .price, .time, .tel, .date { font-variant-numeric: tabular-nums; }
.wrap-any { overflow-wrap: anywhere; }
/* 見出し・一言は文節で折り返す（効かないブラウザでは通常の折り返し） */
.h1, .h2, .h3, .lead, .hero__word, .rec-card__name, .rec-card__word, .tile__items { word-break: auto-phrase; }

/* 写真（DESIGN.md 3.1）：比率は3種だけ。aspect-ratio と object-fit で切り抜く */
.ph { display: block; width: 100%; height: auto; object-fit: cover; object-position: 50% 50%; background: var(--tint-wood); }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.caption { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--text-2); }

/* 湯気の印（DESIGN.md 3.7）。線は currentColor、動かさない */
.steam { fill: none; stroke: currentColor; stroke-linecap: round; }

/* ---------- 3. 文字の階梯（DESIGN.md 6.4） ---------- */
.h1 { font-family: var(--font-heading); font-weight: 700; font-size: 40px; line-height: 1.35; letter-spacing: .04em; }
.h2 { font-family: var(--font-heading); font-weight: 600; font-size: 32px; line-height: 1.4; letter-spacing: .04em; }
.h3 { font-family: var(--font-heading); font-weight: 600; font-size: 22px; line-height: 1.5; letter-spacing: .04em; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: .12em; }
.eyebrow::before { content: ""; flex: none; width: 16px; height: 2px; background: var(--accent); } /* 見出しの印：横棒にそろえる */
.lead { font-size: 18px; line-height: 1.9; letter-spacing: .04em; max-width: 40em; }
.small { font-size: 14px; line-height: 1.8; }
.note { font-size: 13px; line-height: 1.6; }
@media (max-width: 640px) {
  .h1 { font-size: 30px; } .h2 { font-size: 26px; } .h3 { font-size: 20px; } .lead { font-size: 16px; }
}

/* ---------- 4. ボタンと文字のリンク（DESIGN.md 9.1） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--radius-md); border: 1px solid transparent;
  font-family: var(--font-sans); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-hover), box-shadow var(--t-hover);
}
.btn--primary { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { background: var(--accent-pressed); }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--text-2); }
.btn--secondary:hover { box-shadow: inset 0 0 0 100px var(--hover); }
.btn--secondary:active { box-shadow: inset 0 0 0 100px var(--pressed); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.btn--sm { height: 44px; }
.btn__ext { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
  .btn-row { flex-direction: column; }
  .btn-row > .btn { width: 100%; }
}
.link {
  color: var(--text); text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-thickness var(--t-hover);
}
.link:hover { text-decoration-thickness: 2px; }
.link--more { display: inline-flex; align-items: center; gap: 4px; }
.arrow { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 5. サンプルの行き来（ゆげのサンプル一覧。店のサイトの部品ではない） ---------- */
.sample-nav { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.sample-nav__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; min-height: 44px; }
.sample-nav__label { color: var(--text-2); letter-spacing: .08em; }
.sample-nav ul { display: flex; flex-wrap: wrap; gap: 0 16px; }
.sample-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.sample-nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.sample-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .sample-nav__label { flex: 0 0 100%; padding-top: 8px; }
  .sample-nav ul { gap: 0 12px; }
}

/* ---------- 6. お知らせの帯（DESIGN.md 9.3） ---------- */
.notice-bar { background: var(--surface); border-bottom: 1px solid var(--wood); }
.notice-bar__inner { display: flex; align-items: baseline; gap: 16px; padding-block: 12px; }
.notice-bar__label { flex: none; font-size: 13px; font-weight: 700; line-height: 1.6; }
.notice-bar__body { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.notice-bar__body .link { margin-left: 8px; white-space: nowrap; }
@media (max-width: 640px) {
  .notice-bar__inner { flex-direction: column; gap: 4px; }
}

/* ---------- 7. ヘッダーとページの一覧（DESIGN.md 9.2） ---------- */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-h); background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex: none; text-decoration: none; color: var(--text); }
.logo__mark { width: 24px; height: 24px; color: var(--accent); stroke-width: 1.5; }
.logo__name { font-family: var(--font-heading); font-weight: 700; font-size: 22px; line-height: 1.3; letter-spacing: .06em; white-space: nowrap; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 32px; }
.gnav a {
  position: relative; display: inline-flex; align-items: center; height: 44px;
  font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; color: var(--text); white-space: nowrap;
}
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: transparent; transition: background-color var(--t-hover); }
.gnav a:hover::after { background: var(--line); }
.gnav a[aria-current="page"]::after { background: var(--accent); }
.page-btn {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; margin-right: -12px;
  border: 0; border-radius: var(--radius-md); background: transparent; cursor: pointer;
}
.page-btn:hover { background: var(--hover); }
.page-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
@media (max-width: 960px) { .site-header__inner { gap: 24px; } .gnav ul { gap: 24px; } }
@media (max-width: 860px) {
  .gnav, .site-header .header-reserve { display: none; }
  .page-btn { display: inline-flex; }
}
@media (max-width: 640px) { .logo__name { font-size: 20px; } }

/* 右から出るシート（9.2・9.15） */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: var(--backdrop); opacity: 0; transition: opacity var(--t-overlay); }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 51; width: 320px; max-width: 100%;
  display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--line);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg); box-shadow: var(--shadow-raised);
  padding: 8px 24px 24px; overflow-y: auto; opacity: 0; transform: translateX(8px);
  transition: opacity var(--t-overlay), transform var(--t-overlay);
}
.sheet[hidden], .sheet-backdrop[hidden] { display: none; }
.sheet.is-open, .sheet-backdrop.is-open { opacity: 1; transform: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.sheet__title { font-size: 13px; font-weight: 500; color: var(--text-2); letter-spacing: .08em; }
.sheet__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -12px; border: 0; border-radius: var(--radius-md); background: transparent; cursor: pointer; }
.sheet__close:hover { background: var(--hover); }
.sheet__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.sheet__list { border-top: 1px solid var(--line); margin-bottom: 24px; }
.sheet__list a { display: flex; align-items: center; height: 56px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; text-decoration: none; }
.sheet__list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sheet .btn { width: 100%; }
@media (max-width: 640px) { .sheet { width: 100%; border-left: 0; border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-backdrop { transition: opacity var(--t-overlay); transform: none; } }

/* ---------- 8. セクションの骨格（DESIGN.md 8.1・8.4） ---------- */
.section { padding-block: var(--section-pad); }
.section + .section { padding-top: 0; }
.section--band { background: var(--surface); border-block: 1px solid var(--line); }
.section--band + .section, .section + .section--band { padding-top: var(--section-pad); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.sec-head--center { align-items: center; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- 9. ヒーロー（DESIGN.md 3.4・9.5） ---------- */
.hero-wrap { padding-top: 32px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.hero__img { grid-area: 1 / 1 / 3 / 2; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 55%; }
.hero__scrim {
  grid-area: 1 / 1 / 3 / 2; pointer-events: none;
  /* 文字のまとまり（下から約 41%）までが 72%、そこから写真の高さの 19% で 0。覆う範囲は 60% まで */
  background: linear-gradient(to top, var(--scrim) 0%, var(--scrim) 41%, rgba(59, 47, 42, 0) 60%);
}
.hero__text { grid-area: 1 / 1 / 2 / 2; align-self: end; z-index: 1; padding: 0 48px 24px; color: var(--on-photo); }
.hero__name { font-family: var(--font-heading); font-weight: 700; font-size: 56px; line-height: 1.3; letter-spacing: .06em; word-break: keep-all; overflow-wrap: anywhere; }
.hero__word { margin-top: 12px; max-width: 28em; font-size: 18px; font-weight: 500; line-height: 1.9; }
.hero__cta { grid-area: 2 / 1 / 3 / 2; z-index: 1; padding: 0 48px 48px; }
@media (max-width: 640px) {
  .hero-wrap { padding: 0; }
  .hero-wrap > .container { padding-inline: 0; }
  .hero { border-radius: 0; }
  .hero__img { grid-area: 1 / 1 / 2 / 2; aspect-ratio: 4 / 3; }
  .hero__scrim { grid-area: 1 / 1 / 2 / 2; background: linear-gradient(to top, var(--scrim) 0%, var(--scrim) 50%, rgba(59, 47, 42, 0) 60%); }
  .hero__text { padding: 0 20px 24px; }
  .hero__name { font-size: 36px; }
  .hero__word { font-size: 16px; }
  /* 狭幅ではボタンが写真の高さに収まらないので、写真の下（ミルクの地）へ（9.5） */
  .hero__cta { grid-area: 2 / 1 / 3 / 2; padding: 16px 20px 0; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- 10. 状態札（DESIGN.md 4.4〜4.6・10.9） ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px;
  border: 1px solid var(--tag-line); border-radius: var(--radius-sm); background: var(--tag-face);
  color: var(--text); font: 700 12px/1 var(--font-sans); letter-spacing: .04em; white-space: nowrap;
}
.tag__mark { width: 12px; height: 12px; color: var(--accent); flex: none; stroke-width: 2; }
.tag--recommend { --tag-line: var(--accent); --tag-face: var(--tint-accent); }
.tag--spring    { --tag-line: var(--azuki);  --tag-face: var(--tint-azuki); }
.tag--summer    { --tag-line: var(--matcha); --tag-face: var(--tint-matcha); }
.tag--autumn    { --tag-line: var(--tamago); --tag-face: var(--tint-tamago); }
.tag--winter    { --tag-line: var(--wood);   --tag-face: var(--tint-wood); }
.tag--soldout   { --tag-line: var(--text);   --tag-face: var(--text); color: var(--surface); }
.tag--required  { --tag-line: var(--text-2); --tag-face: var(--surface); }

/* 価格（4.2）：珈琲・500・tabular-nums・右揃え・折り返さない。「円」は 0.8em・400 */
.price { font-weight: 500; white-space: nowrap; text-align: right; }
.yen { font-size: .8em; font-weight: 400; margin-left: 1px; }
.is-soldout .price, .is-soldout .mi__price { color: var(--text-2); }
.is-soldout .mi__thumb, .is-soldout .rec-card__photo { opacity: .5; }

/* ---------- 11. おすすめカード（DESIGN.md 9.4） ---------- */
.rec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.rec-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: hidden; text-decoration: none; color: var(--text);
  transition: box-shadow var(--t-hover), transform var(--t-hover);
}
a.rec-card:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.rec-card__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.rec-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 24px; }
.rec-card__body .tags { margin-bottom: 8px; }
.rec-card__name { font-family: var(--font-heading); font-weight: 600; font-size: 22px; line-height: 1.5; letter-spacing: .04em; overflow-wrap: anywhere; }
.rec-card__word { margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 1.8; }
.rec-card__desc { margin-top: 4px; font-size: 14px; line-height: 1.8; }
.rec-card__price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 16px; }
.rec-card__qty { font-size: 14px; line-height: 1.8; min-width: 0; }
.rec-card__price { font-size: 17px; line-height: 1.6; margin-left: auto; }
.rec-card__note { margin-top: 8px; font-size: 13px; line-height: 1.6; }
.after-note { margin-top: 16px; font-size: 13px; line-height: 1.6; }
@media (max-width: 960px) { .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .rec-grid { grid-template-columns: minmax(0, 1fr); }
  .rec-card__body { padding: 16px; }
  .rec-card__name { font-size: 20px; }
  .rec-card__price { font-size: 16px; }
}

/* 写真がない枠（3.6）：同じ比率・面は --tint-wood・中央に挿絵（木の線、枠の幅の 30%） */
.ph-empty { display: grid; place-items: center; width: 100%; background: var(--tint-wood); color: var(--wood); }
.ph-empty svg { width: 30%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 12. メニューへの導線（DESIGN.md 9.6） ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.tile {
  display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); text-decoration: none; color: var(--text); transition: background-color var(--t-hover);
}
.tile:hover { box-shadow: inset 0 0 0 100vmax var(--hover); } /* 面に --hover を重ねる（影ではなく塗りの重ね） */
.tile__items { margin-top: 8px; font-size: 14px; line-height: 1.8; }
.tile__go { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 500; }
.tile__go span { display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.tile:hover .tile__go span { text-decoration-thickness: 2px; }
.tiles-more { margin-top: 32px; display: flex; justify-content: center; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tiles-more .btn { width: 100%; } }

/* ---------- 13. 店のこと（DESIGN.md 9.7） ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gutter); align-items: center; }
.about__media { grid-column: 1 / 8; }
.about__media .ph { border-radius: var(--radius-md); }
.about__text { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 12px; }
.about__body { margin-top: 12px; display: flex; flex-direction: column; gap: 16px; }
.about__sign { margin-top: 8px; font-size: 14px; }
@media (max-width: 960px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about__media, .about__text { grid-column: auto; }
}

/* ---------- 14. 店内の様子（DESIGN.md 9.8） ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery .ph { border-radius: var(--radius-md); }
@media (max-width: 640px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 15. お知らせ一覧（DESIGN.md 9.14・11.2） ---------- */
.news { border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news__row { display: flex; align-items: baseline; gap: 16px; min-height: 56px; padding-block: 12px; text-decoration: none; color: var(--text); }
.news__row:hover { background: var(--hover); }
.news__date { flex: none; width: 7em; font-size: 13px; font-weight: 500; line-height: 1.6; }
/* 省略表示はブロックの箱に付ける。flex の子なので min-width: 0 */
.news__title { display: block; flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 500; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .news__row { flex-direction: column; gap: 4px; }
  .news__date { width: auto; }
  .news__title { width: 100%; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
}

/* ---------- 16. 営業情報・アクセス（DESIGN.md 5章・9.9） ---------- */
.info {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px;
  padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.info__block > .h3 { margin-bottom: 16px; }
.hours { width: 100%; }
.hours th, .hours td { height: 48px; padding: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.hours th { width: 7em; font-size: 14px; font-weight: 500; line-height: 1.5; }
.hours td { font-size: 16px; font-weight: 500; line-height: 1.5; font-variant-numeric: tabular-nums; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 1px solid var(--line); }
.facts { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.facts div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 8px; font-size: 14px; line-height: 1.8; }
.facts dt { font-weight: 500; }
.facts dd { overflow-wrap: anywhere; }
.inline-notice { margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); font-size: 14px; line-height: 1.8; }
.inline-notice strong { display: block; font-size: 13px; }
.map { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--bg); }
.map svg { width: 100%; height: 100%; }
.address { margin-top: 16px; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.address p + p { margin-top: 4px; }
.address .link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 640px) {
  .info { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 24px; }
  .map { aspect-ratio: 4 / 3; }
}

/* ---------- 17. 予約・問い合わせ（DESIGN.md 5.4・9.10） ---------- */
.reserve { display: flex; flex-direction: column; align-items: center; text-align: center; }
.reserve__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.reserve__rules { margin-top: 16px; max-width: 36em; font-size: 13px; line-height: 1.6; }
.reserve__tel { margin-top: 32px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px; }
.reserve__telnum { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.reserve__more { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; max-width: 40em; font-size: 14px; line-height: 1.8; }
.reserve__more p + p { margin-top: 8px; }
@media (max-width: 640px) {
  .reserve__cta, .reserve__cta .btn, .reserve__tel .btn { width: 100%; }
  .reserve__tel { flex-direction: column; width: 100%; }
}

/* ---------- 18. フッター（DESIGN.md 9.13） ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px; font-size: 14px; line-height: 1.8; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px var(--gutter); }
.site-footer h2 { font-size: 13px; font-weight: 700; line-height: 1.6; margin-bottom: 8px; }
.site-footer__links a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.site-footer address { font-style: normal; overflow-wrap: anywhere; }
.site-footer__copy { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 19. 下部固定の予約バー（DESIGN.md 9.11。640px 以下だけ） ---------- */
.reserve-bar { display: none; }
@media (max-width: 640px) {
  body.has-reserve-bar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .reserve-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px;
    height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-bar);
    transform: translateY(100%); visibility: hidden; transition: transform var(--t-overlay), visibility var(--t-overlay);
  }
  .reserve-bar.is-shown { transform: none; visibility: visible; }
  .reserve-bar .btn { width: 100%; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .reserve-bar { transition: none; } }

/* =========================================================
   メニュー表（DESIGN.md 4章・10章）
   ========================================================= */
.menu-page { padding-block: 48px var(--section-pad); }
.menu-sheet {
  max-width: 880px; margin-inline: auto; padding: 48px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.menu-sheet__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.menu-sheet__updated { font-size: 13px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.menu-sheet__sub { margin-top: 8px; font-size: 14px; line-height: 1.8; }
@media (max-width: 960px) { .menu-sheet { padding: 48px 32px; } }
@media (max-width: 640px) {
  .menu-page { padding: 0 0 var(--section-pad); }
  .menu-page > .container { padding-inline: 0; }
  .menu-sheet { padding: 32px 20px; border-radius: 0; box-shadow: none; border-inline: 0; border-top: 0; }
}

/* カテゴリ索引（10.7）：折り返す。横スクロールの帯にしない・固定しない・色分けしない */
.menu-index { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-index a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text);
  transition: background-color var(--t-hover);
}
.menu-index a:hover { background: var(--hover); }

/* 冒頭と末尾の注記（4.1・4.7・5.3）：上下を 1px 罫で区切る。色の面は作らない */
.menu-notes { margin-top: 24px; padding-block: 16px; border-block: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.menu-notes p + p { margin-top: 4px; }

/* カテゴリ（10.2） */
.menu-cat { margin-top: 64px; }
.menu-cat__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--wood); scroll-margin-top: 72px; }
.menu-cat__title { font-family: var(--font-heading); font-weight: 600; font-size: 26px; line-height: 1.4; letter-spacing: .04em; }
.menu-cat__en { font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: .12em; color: var(--text-2); }
.menu-cat__top { margin-left: auto; font-size: 13px; line-height: 1.6; }
.menu-cat__top a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.menu-cat__word { margin-top: 8px; font-size: 14px; line-height: 1.8; }
.menu-cat__list { margin-top: 16px; }
/* 小見出し（10.2）：12品を超えるカテゴリを分けるとき。h3、その下の料理名は h4（見た目は 10.3 のまま） */
.menu-sub { margin-top: 32px; font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 1.5; letter-spacing: .04em; color: var(--text); }
.menu-cat__head + .menu-sub { margin-top: 24px; }
.menu-sub + .menu-cat__list, .menu-sub + .ptable { margin-top: 16px; }
@media (max-width: 640px) {
  .menu-cat { margin-top: 48px; }
  .menu-cat__title { font-size: 22px; }
}

/* 文字だけの行（10.3）：料理名は折り返す、リーダーは最小 24px、価格は折り返さない */
.mi + .mi { margin-top: 24px; }
.mi > .tags { margin-bottom: 4px; }
.mi__head { display: flex; align-items: flex-end; align-items: last baseline; gap: 8px; }
.mi__name { flex: 0 1 auto; min-width: 0; margin: 0; font: 500 17px/1.6 var(--font-sans); letter-spacing: .02em; overflow-wrap: anywhere; word-break: auto-phrase; }
.mi__leader { flex: 1 0 24px; border-bottom: 1px dotted var(--text-2); transform: translateY(-.3em); }
.mi__price { flex: none; margin: 0; font-size: 17px; font-weight: 500; line-height: 1.6; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.mi__yen { font-size: .8em; font-weight: 400; margin-left: 1px; }
.mi__word { font-size: 14px; font-weight: 500; line-height: 1.8; margin: 4px 0 0; }
.mi__desc { font-size: 14px; line-height: 1.8; margin: 4px 0 0; }
.mi__note { font-size: 13px; line-height: 1.6; margin: 4px 0 0; }
.mi__adds { margin: 8px 0 0 16px; font-size: 14px; line-height: 1.8; }
.mi__adds li { display: flex; justify-content: space-between; gap: 16px; }
.mi__adds li + li { margin-top: 4px; }
.mi__adds span:first-child { min-width: 0; overflow-wrap: anywhere; }
.mi__adds .price { flex: none; }
@media (max-width: 640px) { .mi__name, .mi__price { font-size: 16px; } }

/* 写真付きの行（10.4）：リーダーなし、行の下に罫 */
.mi--photo { display: flex; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.mi--photo + .mi { margin-top: 24px; }
.mi--photo + .mi--photo { margin-top: 0; }
.mi__thumb { flex: none; width: 96px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; background: var(--surface); }
.mi__body { flex: 1 1 auto; min-width: 0; }
.mi__body > .tags { margin-bottom: 4px; }
.mi--photo .mi__head { justify-content: space-between; gap: 16px; }
.mi--photo .mi__leader { display: none; } /* 写真付きの行はリーダーなし。印刷では文字だけの行になるので出す */
.menu-cat__list > .mi--photo:first-child { padding-top: 0; }
.mi:not(.mi--photo) + .mi--photo { margin-top: 8px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .mi__thumb { width: 80px; height: 60px; } }

/* 価格が2列以上ある表（10.5・11.5）。横スクロールさせない・min-width を付けない */
.ptable { width: 100%; margin-top: 16px; }
.ptable th, .ptable td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable thead th { padding: 8px 0; font-size: 13px; font-weight: 500; line-height: 1.6; text-align: right; }
.ptable thead th:first-child { text-align: left; }
.ptable tbody tr { height: 48px; }
.ptable tbody th { text-align: left; font-weight: 500; padding-right: 16px; }
.ptable__name { display: block; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.ptable__desc { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; line-height: 1.6; }
.ptable tbody th .tags { margin-bottom: 4px; }
.ptable td { width: 6em; padding-left: 8px; text-align: right; font-size: 16px; font-weight: 500; line-height: 1.6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable .none { color: var(--text-2); }
@media (max-width: 640px) {
  .ptable td { width: 5.5em; }
  /* 3列の表は品ごとの段に組み替える（11.5） */
  .ptable--3 thead { display: none; }
  .ptable--3, .ptable--3 tbody { display: block; }
  .ptable--3 tbody tr { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-block: 12px; border-bottom: 1px solid var(--line); height: auto; }
  .ptable--3 tbody th { flex: 0 0 100%; padding: 0; border: 0; }
  .ptable--3 td { width: auto; padding: 0; border: 0; }
  .ptable--3 td::before { content: attr(data-size) " "; font-size: 14px; font-weight: 400; }
}

/* 印刷（10.8）：A4 縦、背景なし、写真・売り切れ・ナビを消す */
.print-only { display: none; }
@media print {
  @page { size: A4 portrait; margin: 14mm 12mm; }
  body { background: none; font-size: 9pt; }
  .sample-nav, .notice-bar, .site-header, .sheet, .sheet-backdrop, .menu-index, .reserve-bar, .site-footer, .btn, .menu-cat__top, .no-print { display: none !important; }
  .menu-page { padding: 0; }
  .menu-page > .container { padding: 0; max-width: none; }
  .menu-sheet { box-shadow: none; border: 0; border-radius: 0; padding: 0; max-width: none; background: none; }
  .menu-sheet .h1 { font-size: 18pt; }
  .menu-cat { margin-top: 8mm; }
  .menu-cat__title { font-size: 13pt; }
  .menu-cat__head { break-after: avoid; }
  .mi__name, .mi__price, .ptable__name, .ptable td { font-size: 10.5pt; }
  .mi__desc, .mi__word, .menu-cat__word, .mi__adds { font-size: 9pt; }
  .menu-sub { font-size: 11pt; }
  .mi__note, .menu-notes, .ptable__desc { font-size: 8pt; }
  .mi__thumb, .rec-card__photo { display: none; }
  .mi--photo { display: block; padding: 0; border: 0; }
  .mi--photo + .mi--photo, .mi:not(.mi--photo) + .mi--photo { margin-top: 4mm; border: 0; }
  .mi--photo .mi__leader { display: block; }
  .tag--soldout { display: none; }
  .is-soldout .mi__price, .is-soldout .price { color: var(--text); }
  .is-soldout .mi__word--soldout, .menu-sheet__updated { display: none; }   /* 売り切れの代わりの一言と更新時刻は印刷しない（10.8） */
  .mi, tr, .ptable { break-inside: avoid; }
  .menu-sub, .menu-cat__word { break-after: avoid; }
  .mi + .mi { margin-top: 3mm; }
  .print-cols { columns: 2; column-gap: 8mm; }
  .print-only { display: block; margin-top: 8mm; padding-top: 3mm; border-top: 1px solid var(--line); font-size: 9pt; }
}

/* =========================================================
   予約フォーム（DESIGN.md 9.12・11.11）
   ========================================================= */
.form { display: flex; flex-direction: column; gap: 24px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.field__input {
  width: 100%; height: 48px; padding: 0 16px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-md); font: 400 16px/1.5 var(--font-sans); letter-spacing: .04em;
}
textarea.field__input { height: auto; min-height: 120px; padding-block: 12px; resize: vertical; }
select.field__input { appearance: none; padding-right: 48px; background-image: none; }
.field__select { position: relative; }
.field__select svg { position: absolute; right: 16px; top: 16px; width: 16px; height: 16px; pointer-events: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.field__input::placeholder { color: var(--text-2); }
.field__input:focus { border-color: var(--accent); outline: 2px solid var(--focus); outline-offset: 2px; }
.field__help { font-size: 13px; line-height: 1.6; }
.field.is-error .field__input { border: 2px solid var(--accent); }
.field__error { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.6; }
.field__error svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); } .form .btn--primary { width: 100%; } }
