/* ==================================================
   とうげマルシェ — トップページ（2026-10 作り直し・T230）
   承認済みカンプ：案件/とうげマルシェ/HP運用/参考資料/カンプ/2026-10_リデザイン/
   トップページはこのファイルだけで完結させる（style.css は読まない）。
   style.css は先頭の @import でGoogle Fontsを待つため、スマホで最初の表示が数秒遅れたため（2026-10-07 Lighthouse で計測）。
   下層ページは引き続き style.css を使う。クラスは hm- で始め、他ページに影響させない
   構成：1) tokens → 2) base → 3) layout → 4) components → 5) sections → 6) utilities
   ================================================== */

/* ---------- 1) tokens ----------
   コントラスト比（WCAG 2.2 AA・2026-10-07 計算）
   --hm-ink   #2a2a24 / --hm-canvas #f8f4ea = 13.14:1（本文）
   --hm-soft  #5c5a50 / --hm-canvas          =  6.30:1（補足文）
   --hm-green #1f4a33 / --hm-canvas          =  9.17:1（見出し・リンク）
   --hm-ink   #2a2a24 / --hm-ochre  #d9ab55  =  6.81:1（黄土色ボタンの文字。白文字は2.31:1で不可のため濃い文字にした）
   --hm-ochre-text #8a5d15 / --hm-canvas     =  5.23:1（価格の文字）
   --hm-green / --hm-notice #f3e6c4          =  8.12:1（お知らせの帯）
   --hm-line は飾りの罫線専用（文字には使わない）                                   */
:root {
  --hm-canvas:     #f8f4ea;  /* 生成り：ページの地 */
  --hm-paper:      #fffdf8;  /* カード・箱の地 */
  --hm-green:      #1f4a33;  /* 深い緑：見出し・ロゴ・リンク */
  --hm-green-mid:  #2f6b45;  /* 営業中の表示など */
  --hm-green-tint: #e6eedf;  /* 薄い緑：フッター */
  --hm-ochre:      #d9ab55;  /* やわらかい黄土色：主ボタン・見出しの印 */
  --hm-ochre-text: #8a5d15;  /* 黄土色の文字（価格） */
  --hm-notice:     #f3e6c4;  /* お知らせの帯 */
  --hm-ink:        #2a2a24;
  --hm-soft:       #5c5a50;
  --hm-line:       #e3d8bf;

  --hm-font-mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --hm-font-gothic: "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", sans-serif;
  /* お品書きの手書き風（品名と見出しだけ）。価格は読み違えを防ぐため明朝のまま。
     Yuji Boku は「1」が「7」に見えて価格を読み違えるため不採用（2026-10-07 比較） */
  --hm-font-brush:  "Yuji Syuku", "Zen Old Mincho", "Hiragino Mincho ProN", serif;

  --hm-radius:     14px;
  --hm-radius-sm:  10px;
  --hm-shadow:     0 1px 2px rgba(60, 48, 20, .06), 0 6px 20px rgba(60, 48, 20, .07);

  --hm-header-h:   112px;   /* お知らせの帯＋ロゴの帯 */
  --hm-section-y:  clamp(6.4rem, 9vw, 11.2rem);
}
@media (max-width: 899px) {
  :root { --hm-header-h: 100px; }
}

/* ---------- 2) base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
img { display: block; max-width: 100%; height: auto; } /* width/height属性で縦横比を伝え、高さは自動（失敗メモ 2026-08-20） */
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; }
body.hm {
  word-break: auto-phrase; /* 日本語の改行位置を文節で整える（text-wrap: pretty は日本語に効かない） */
  font-size: 1.6rem;
}

/* 本文へスキップ（キーボード操作用） */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 1000;
  padding: .8rem 1.4rem;
  background: var(--hm-green);
  color: #fff;
  border-radius: 6px;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; outline: 3px solid var(--hm-ochre); outline-offset: 2px; }

/* スクロールで表示（JSが .revealed を付ける。動きを減らす設定では最初から表示） */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

body.hm {
  background: var(--hm-canvas);
  color: var(--hm-ink);
  font-family: var(--hm-font-gothic);
  letter-spacing: .02em;
  line-height: 1.8;
}
html:has(body.hm) { scroll-padding-top: calc(var(--hm-header-h) + 8px); }

/* JSが動かない環境では、スクロール表示の要素を最初から見せる（head で html に js クラスを付ける） */
html:not(.js) .hm [data-reveal] { opacity: 1; transform: none; }

.hm-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hm-ic {
  display: inline-block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}
.hm a:focus-visible,
.hm button:focus-visible,
.hm summary:focus-visible {
  outline: 3px solid var(--hm-green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3) layout ---------- */
.hm-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (min-width: 900px) { .hm-wrap { padding: 0 4rem; } }

.hm-section { padding: var(--hm-section-y) 0 0; }
.hm-section:last-of-type { padding-bottom: var(--hm-section-y); }

.hm-split { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 900px) {
  .hm-split { grid-template-columns: 1fr 1.05fr; gap: 6.4rem; }
}

/* ---------- 4) components ---------- */
/* 見出し：左に黄土色の短い線＋明朝 */
.hm-title {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: clamp(2.6rem, 3.6vw, 3.8rem);
  line-height: 1.35;
  letter-spacing: .04em;
  color: var(--hm-green);
  margin-bottom: 2.4rem;
}
.hm-title::before {
  content: "";
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: .67em; /* 見出しが2行になっても、線を1行目の高さにそろえる */
  width: 3.2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--hm-ochre);
}
.hm-subtitle {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: clamp(2.2rem, 2.8vw, 2.8rem);
  color: var(--hm-green);
  margin: 6.4rem 0 2rem;
}
.hm-subtitle::before {
  content: "";
  width: 2.4rem;
  height: 3px;
  border-radius: 2px;
  background: var(--hm-ochre);
}
.hm-card-title {
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.5;
  color: var(--hm-green);
  margin: 1.2rem 0 1.2rem;
}
.hm-lead {
  font-size: 1.6rem;
  color: var(--hm-ink);
  margin: -.8rem 0 3.2rem;
}
.hm-lead strong { color: var(--hm-green); font-weight: 700; }

/* ボタン：主＝黄土色の塗り／副＝緑の線 */
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 52px;
  padding: 1.2rem 2.8rem;
  border-radius: var(--hm-radius-sm);
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.hm-btn-fill { background: var(--hm-ochre); color: var(--hm-ink); border-color: var(--hm-ochre); }
.hm-btn-fill:hover { background: #cf9d40; border-color: #cf9d40; }
.hm-btn-line { background: var(--hm-paper); color: var(--hm-green); border-color: var(--hm-green); }
.hm-btn-line:hover { background: var(--hm-green-tint); }
.hm-btn-sm { min-height: 44px; padding: .8rem 2rem; font-size: 1.5rem; }
.hm-btn-lg { min-height: 64px; padding: 1.4rem 4rem; font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: .08em; }
.hm-btn:active { transform: translateY(1px); }

.hm-text-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--hm-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .3em;
  padding: .6rem 0;
}

.hm-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 1.3rem;
  color: var(--hm-soft);
  margin-top: .4rem;
}

/* ---------- 5) sections ---------- */

/* HEADER */
.hm-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--hm-canvas);
  box-shadow: 0 1px 0 var(--hm-line);
}
.hm-notice {
  display: block;
  background: var(--hm-notice);
  color: var(--hm-green);
  font-size: 1.3rem;
  text-decoration: none;
}
.hm-notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  max-width: 1240px;
  min-height: 36px;
  margin: 0 auto;
  padding: .4rem 2rem;
}
.hm-notice-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hm-notice strong { font-weight: 700; }
.hm-notice:hover .hm-notice-text { text-decoration: underline; }

.hm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1240px;
  height: 64px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (min-width: 900px) { .hm-bar { height: 76px; padding: 0 4rem; } }

.hm-logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--hm-green);
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: clamp(2.2rem, 2.6vw, 2.8rem);
  letter-spacing: .06em;
  text-decoration: none;
}
.hm-logo img { width: 40px; height: 40px; border-radius: 50%; }

.hm-nav { display: none; gap: 3.2rem; }
.hm-nav a {
  position: relative;
  color: var(--hm-ink);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .06em;
  padding: .8rem 0;
  text-decoration: none;
}
.hm-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .2rem;
  height: 2px;
  background: var(--hm-ochre);
  transform: scaleX(0);
  transition: transform .2s;
}
.hm-nav a:hover::after { transform: scaleX(1); }
@media (min-width: 900px) { .hm-nav { display: flex; } }

.hm-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.hm-burger span { display: block; height: 2px; background: var(--hm-green); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 900px) { .hm-burger { display: none; } }

.hm-drawer {
  display: none;
  flex-direction: column;
  background: var(--hm-paper);
  border-top: 1px solid var(--hm-line);
  padding: .8rem 0 1.6rem;
  max-height: calc(100vh - var(--hm-header-h));
  overflow-y: auto;
}
.hm-drawer.open { display: flex; }
.hm-drawer a {
  padding: 1.4rem 2.4rem;
  color: var(--hm-ink);
  font-size: 1.6rem;
  font-weight: 500;
  border-bottom: 1px solid var(--hm-line);
  text-decoration: none;
}
.hm-drawer a:hover { background: var(--hm-canvas); color: var(--hm-green); }
@media (min-width: 900px) { .hm-drawer, .hm-drawer.open { display: none; } }

/* HERO */
.hm-hero { padding-top: calc(var(--hm-header-h) + 2rem); }
@media (min-width: 900px) { .hm-hero { padding-top: calc(var(--hm-header-h) + 2.4rem); } }

.hm-hero-stage { position: relative; }
.hm-hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--hm-radius);
  aspect-ratio: 4 / 3;
  background: var(--hm-green-tint);
}
@media (min-width: 640px) { .hm-hero-photo { aspect-ratio: 16 / 9; } }
@media (min-width: 900px) { .hm-hero-photo { aspect-ratio: auto; height: clamp(420px, 44vw, 560px); } }

.hm-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hm-hero-photo img.slide-active,
.hm-hero-photo img.slide-prev { opacity: 1; }
.hm-hero-photo img.slide-active { z-index: 2; }
.hm-hero-photo img.slide-prev   { z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hm-hero-photo img { transition: none; }
}

.hm-slide-toggle {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 253, 248, .92);
  color: var(--hm-green);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.hm-slide-toggle:hover { background: var(--hm-paper); }
.hm-slide-toggle .hm-ic { stroke-width: 2.4; }
.hm-slide-toggle .hm-ic[hidden] { display: none; }

.hm-hero-copy { padding: 2.8rem .4rem 0; }
.hm-hero-h1 {
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: clamp(3.6rem, 9vw, 6.4rem);
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--hm-green);
}
.hm-hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1.6rem, 1.8vw, 1.9rem);
  line-height: 1.9;
  color: var(--hm-ink);
}
@media (min-width: 900px) {
  .hm-hero-h1 { font-size: clamp(4.4rem, 4.6vw, 5.6rem); }
  .hm-hero-copy {
    position: absolute;
    left: 3.2rem;
    bottom: 3.2rem;
    z-index: 3;
    max-width: 540px;
    padding: 3.6rem 4.4rem;
    background: rgba(255, 253, 248, .95);
    border-radius: var(--hm-radius-sm);
    box-shadow: var(--hm-shadow);
  }
}

.hm-hero-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
}
@media (min-width: 900px) {
  .hm-hero-info { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 2.8rem; }
}
.hm-hours {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1.2rem;
  row-gap: .8rem;
}
.hm-hours-ic { color: var(--hm-green); }
.hm-status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .3rem 1.4rem;
  border: 1.5px solid var(--hm-green-mid);
  border-radius: 999px;
  color: var(--hm-green-mid);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--hm-paper);
}
.hm-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9aa5a0;
}
.hm-status.is-open::before { background: var(--hm-green-mid); }
.hm-hours-text {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--hm-ink);
}
.hm-hours-lunch { color: var(--hm-soft); font-size: 1.4rem; }
@media (min-width: 900px) {
  .hm-hours { grid-template-columns: auto auto 1fr; }
  .hm-hours-text { grid-column: auto; }
}
.hm-hero-btns { display: flex; flex-direction: column; gap: 1.2rem; }
@media (min-width: 640px) { .hm-hero-btns { flex-direction: row; } }
@media (min-width: 900px) { .hm-hero-btns { flex-shrink: 0; } }

/* MENU — 定食 */
.hm-dish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem 1.4rem;
}
@media (min-width: 900px) { .hm-dish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3.6rem 2.4rem; } }
.hm-dish { position: relative; }
.hm-dish img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--hm-radius-sm);
  background: var(--hm-green-tint);
}
.hm-dish-pop {
  position: absolute;
  top: .8rem;
  left: .8rem;
  padding: .2rem 1rem;
  border-radius: 6px;
  background: var(--hm-ochre);
  color: var(--hm-ink);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.hm-dish-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: .8rem;
  margin-top: 1rem;
}
@media (max-width: 639px) {
  /* スマホの2列では、名前の長さで価格が横に来たり下に来たりしないよう、常に名前の下に置く */
  .hm-dish-row { flex-direction: column; align-items: flex-start; }
}
.hm-dish-name {
  min-width: 0;
  overflow-wrap: anywhere; /* 「エビクリームコロッケ定食」は文節で切れず、スマホ幅ではみ出すため */
  font-size: clamp(1.5rem, 1.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--hm-ink);
}
.hm-dish-price {
  font-size: clamp(1.6rem, 1.8vw, 1.9rem);
  font-weight: 700;
  color: var(--hm-ochre-text);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* そのほかのメニュー（名前と金額だけの一覧・点線でつなぐ） */
.hm-price-list {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 6.4rem;
  padding: 1.2rem 2.4rem;
  background: var(--hm-paper);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}
@media (min-width: 900px) { .hm-price-list { grid-template-columns: 1fr 1fr; padding: 2rem 4rem; } }
.hm-price-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--hm-line);
}
@media (min-width: 900px) {
  .hm-price-list li:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 899px) {
  .hm-price-list li:last-child { border-bottom: none; }
}
.hm-pl-name { font-size: 1.6rem; font-weight: 500; }
.hm-pl-tag {
  display: inline-block;
  margin-left: .8rem;
  padding: 0 .8rem;
  border: 1px solid var(--hm-soft);
  border-radius: 4px;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--hm-soft);
  vertical-align: .15em;
  white-space: nowrap;
}
.hm-pl-dots {
  flex: 1;
  min-width: 2rem;
  border-bottom: 2px dotted var(--hm-line);
  transform: translateY(-.4em);
}
.hm-pl-price { font-size: 1.7rem; font-weight: 700; color: var(--hm-ochre-text); white-space: nowrap; }

/* お品書き（定食メニューを、町の食堂の手書きのお品書きのように見せる・2026-10-07 カンプ「中_お品書き」） */
.hm-menu .hm-title,
.hm-menu .hm-subtitle { font-family: var(--hm-font-brush); font-weight: 400; letter-spacing: .08em; }
.hm-menu .hm-title { font-size: clamp(3rem, 4.2vw, 4.4rem); }
.hm-menu .hm-subtitle { font-size: clamp(2.6rem, 3.2vw, 3.2rem); }
.hm-menu .hm-dish-name { font-family: var(--hm-font-brush); font-weight: 400; font-size: clamp(1.8rem, 1.9vw, 2.1rem); letter-spacing: .02em; }
/* お品書きでは品名が長くなるので、どの幅でも価格を品名の下に置いてそろえる */
.hm-menu .hm-dish-row { flex-direction: column; align-items: flex-start; row-gap: .2rem; }
.hm-menu .hm-dish-price,
.hm-menu .hm-pl-price { font-family: var(--hm-font-mincho); font-weight: 700; }
/* テイクアウトの印は枠線を引かず、薄い色を敷いた札にする（線を減らす・2026-10-07 オーナー指摘） */
.hm-menu .hm-tag {
  padding: .1rem .9rem .1rem .7rem;
  border: 0;
  border-radius: 6px;
  background: #efe6d0;
}
.hm-menu .hm-price-list {
  /* 和紙のような地：生成りより少し黄みの無地（繊維の筋は方眼紙に見えたので外した・2026-10-07） */
  background-color: #fbf5e6;
  box-shadow: inset 0 0 0 1px var(--hm-line), var(--hm-shadow);
}
.hm-menu .hm-pl-name { min-width: 0; overflow-wrap: anywhere; font-family: var(--hm-font-brush); font-size: 2rem; font-weight: 400; }
@media (max-width: 639px) {
  /* 幅320pxの端末でも品名と価格が1行に収まるよう、一覧の余白と文字を少し詰める */
  .hm-menu .hm-price-list { padding: .8rem 1.6rem; }
  .hm-menu .hm-pl-name { font-size: 1.8rem; }
  .hm-pl-dots { min-width: 1.2rem; }
}
.hm-menu .hm-pl-tag { font-family: var(--hm-font-gothic); border: 0; background: #efe6d0; padding: .1rem .8rem; }
/* 札はHTMLでは金額の後ろ（読み上げは「品名・金額・テイクアウト可」の順）。640px以上では品名のすぐ右に並べる */
@media (min-width: 640px) {
  .hm-price-list .hm-pl-tag { order: 1; margin-left: 0; }
  .hm-price-list .hm-pl-dots { order: 2; }
  .hm-price-list .hm-pl-price { order: 3; }
}
/* 線は品名と金額をつなぐ点線だけにする。行の区切り線はやめ、余白で区切る（2026-10-07 オーナー指摘「線が多すぎて見にくい」） */
.hm-menu .hm-price-list li { border-bottom: 0; padding: 1.6rem 0; }
.hm-menu .hm-pl-dots { border-bottom: 2px dotted #e2d5b6; }
@media (max-width: 639px) {
  /* スマホでは札が品名の途中で折り返して浮いて見えるので、札は品名の下に左端をそろえて置き、行の間も詰める */
  .hm-menu .hm-price-list li { padding: 1.1rem 0; }
  /* 札を品名の下に左端をそろえて置く（品名・点線・金額の1段目と、札の2段目） */
  .hm-menu .hm-price-list li { display: grid; grid-template-columns: minmax(0, max-content) minmax(1.2rem, 1fr) auto; column-gap: 1rem; }
  .hm-menu .hm-price-list .hm-pl-tag { grid-row: 2; grid-column: 1 / -1; justify-self: start; margin: .4rem 0 0; }
}

/* MENU — 日替り弁当 */
.hm-bento-band {
  display: grid;
  overflow: hidden;
  background: var(--hm-paper);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}
@media (min-width: 900px) { .hm-bento-band { grid-template-columns: 1.1fr 1fr; } }
.hm-bento-band img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hm-bento-body { padding: 2.8rem 2.4rem 3.2rem; }
@media (min-width: 900px) { .hm-bento-body { padding: 4rem 4.8rem; align-self: center; } }
.hm-bento-price {
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: clamp(4rem, 6vw, 5.6rem);
  line-height: 1.2;
  color: var(--hm-green);
  margin-bottom: 1.2rem;
}
.hm-bento-price span { font-family: var(--hm-font-gothic); font-size: 1.6rem; font-weight: 500; margin-left: .4rem; }
.hm-bento-points { margin: 1.6rem 0 2.4rem; display: grid; gap: .6rem; }
.hm-bento-points li { position: relative; padding-left: 2rem; font-size: 1.5rem; }
.hm-bento-points li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--hm-ochre-text);
}

/* EVENT（差し替えの定型どおり .event-grid の中に .event-card を並べる。2件以上なら横に並ぶ） */
.event-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; }
@media (min-width: 900px) { .event-grid { grid-template-columns: 1fr 1fr; } }
.event-card { display: flex; flex-direction: column; }
.event-photo a { display: block; border-radius: var(--hm-radius-sm); }
.event-photo img { width: 100%; }
.event-card-body { display: flex; flex-direction: column; flex: 1; }
.hm-event .event-grid { margin-bottom: 3.2rem; }
@media (min-width: 768px) {
  /* 告知が1件だけのときは中央に置く */
  .hm-event .event-grid:has(> .event-card:only-child) { grid-template-columns: minmax(0, 880px); justify-content: center; }
}
.hm-event .event-card {
  background: var(--hm-paper);
  border: none;
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
  padding: 2rem;
  gap: 2.4rem;
}
@media (min-width: 640px) {
  .hm-event .event-card { flex-direction: row; align-items: center; padding: 2.4rem; }
  .hm-event .event-photo { flex: 0 0 42%; }
}
.hm-event .event-photo a { max-width: none; }
.hm-event .event-photo img { box-shadow: none; border-radius: var(--hm-radius-sm); }
.hm-event .event-photo a:focus-visible { outline-color: var(--hm-green); }
.hm-event .event-date { color: var(--hm-ochre-text); font-weight: 700; font-size: 1.6rem; letter-spacing: .04em; }
.hm-event .event-name {
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: clamp(2.4rem, 3vw, 3rem);
  color: var(--hm-green);
  line-height: 1.4;
  margin: .4rem 0 1.2rem;
}
.hm-event .event-chips { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hm-event .event-chips span {
  padding: .2rem 1.2rem;
  border: 1.5px solid var(--hm-green-mid);
  border-radius: 999px;
  color: var(--hm-green-mid);
  font-size: 1.3rem;
  font-weight: 700;
}
.hm-event .event-desc { color: var(--hm-ink); font-size: 1.5rem; line-height: 1.9; margin: 0; max-width: none; }
.hm-event-none {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  padding: 3.2rem 2.4rem;
  margin-bottom: 3.2rem;
  background: var(--hm-paper);
  border-radius: var(--hm-radius);
  text-align: center;
  font-size: 1.6rem;
  color: var(--hm-ink);
}
/* 次回未定のときは文の横（スマホは上）に、急須と湯のみ・のれんの線画（点線の枠はやめて線を減らす） */
.hm-lineart-tea { width: 100%; max-width: 240px; }
@media (min-width: 640px) {
  .hm-event-none { grid-template-columns: 260px 1fr; justify-items: start; text-align: left; gap: 3.2rem; padding: 2.4rem 4rem; align-items: center; }
  .hm-lineart-tea { max-width: 260px; }
}
.hm-center { text-align: center; }

/* 3つの居場所 */
.hm-feature-grid { display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .hm-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; } }
.hm-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1.6rem;
  padding: 2.8rem 2.8rem 3.2rem;
  background: var(--hm-paper);
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
}
.hm-feature-ic { color: var(--hm-green); stroke-width: 1.5; }
.hm-feature h3 {
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--hm-green);
  line-height: 1.4;
}
.hm-feature-catch { font-size: 1.4rem; font-weight: 700; color: var(--hm-ochre-text); margin-top: .2rem; }
.hm-feature-desc { grid-column: 1 / -1; margin-top: 1.6rem; font-size: 1.5rem; line-height: 1.85; }
.hm-feature-grid > [data-reveal]:nth-child(2) { --reveal-delay: .12s; }
.hm-feature-grid > [data-reveal]:nth-child(3) { --reveal-delay: .24s; }

/* 門前町の線画（線を1本ずつ描く動き。JSが .is-ready を付けたときだけ隠し、.is-drawn で描く） */
.hm-lineart svg { display: block; width: 100%; height: auto; }
.hm-lineart-small { max-width: 400px; margin: -.8rem 0 2.4rem; }
.hm-pano { max-width: 1600px; margin: 4.8rem auto 0; padding: 0 1rem; }
.hm-lineart.is-ready .ln { transition: stroke-dashoffset var(--draw-time, .6s) ease-out var(--draw-delay, 0s); }
.hm-lineart.is-drawn .ln { stroke-dashoffset: 0 !important; }
.hm-lineart.is-ready .wash { opacity: 0; transition: opacity .8s ease 1.9s; }
.hm-lineart.is-drawn .wash { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hm-lineart .ln { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
  .hm-lineart .wash { opacity: 1 !important; transition: none !important; }
}

/* はじまり */
.hm-origin-lead {
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: clamp(2rem, 2.4vw, 2.4rem);
  line-height: 1.7;
  color: var(--hm-green);
  margin-bottom: 2rem;
}
.hm-split-text p:not(.hm-origin-lead) { font-size: 1.6rem; line-height: 1.95; margin-bottom: 1.6rem; }
.hm-split-text .hm-btn { margin-top: 1.2rem; }
.hm-split-photo img { width: 100%; border-radius: var(--hm-radius); }

/* 発起人あいさつ */
.hm-founder-inner { display: grid; gap: 3.2rem; align-items: start; }
@media (min-width: 900px) { .hm-founder-inner { grid-template-columns: 1fr 1.25fr; gap: 6.4rem; } }
.hm-founder-photo img { width: 100%; border-radius: var(--hm-radius); }
.hm-founder-text p { font-size: 1.6rem; line-height: 2; margin-bottom: 1.6rem; }
.hm-founder-name {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hm-line);
  color: var(--hm-soft);
  font-size: 1.4rem;
}
.hm-founder-name strong { font-family: var(--hm-font-mincho); font-size: 2.2rem; color: var(--hm-green); letter-spacing: .1em; }

/* メディア取材 */
.hm-media-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 640px) { .hm-media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .hm-media-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.hm-media-card {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1rem;
  background: var(--hm-paper);
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius-sm);
  color: var(--hm-ink);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.hm-media-card:hover { border-color: var(--hm-green); box-shadow: var(--hm-shadow); }
.hm-media-card img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.hm-media-info { display: flex; flex-direction: column; min-width: 0; }
.hm-media-name { font-weight: 700; font-size: 1.5rem; line-height: 1.5; }
.hm-media-date { font-size: 1.3rem; color: var(--hm-soft); }
.hm-media-ic { color: var(--hm-green); margin-right: .4rem; }
.hm-more { margin-top: 2rem; }
.hm-more summary {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 44px;
  padding: .6rem 0;
  color: var(--hm-green);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.hm-more summary::-webkit-details-marker { display: none; }
.hm-more summary::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .2s;
}
.hm-more[open] summary::before { transform: rotate(45deg); }
.hm-more[open] summary { margin-bottom: 1.4rem; }

/* 応援のお礼・ライダーの皆さまへ */
.hm-thanks-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .hm-thanks-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; } }
.hm-thanks-grid > * { min-width: 0; } /* 幅320pxの端末で、長い英数字（READYFOR・SSTR2026）がカードを押し広げないように */
.hm-thanks-card {
  overflow-wrap: anywhere;
  padding: 3.2rem 2.8rem;
  background: var(--hm-paper);
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
}
.hm-thanks-ic { color: var(--hm-ochre-text); }
.hm-thanks-card p { font-size: 1.5rem; line-height: 1.9; margin-bottom: 1.2rem; }
.hm-stats { display: flex; flex-wrap: wrap; gap: 1.2rem 3.2rem; margin: 1.6rem 0 1.2rem; }
.hm-stats dt { font-size: 1.3rem; color: var(--hm-soft); }
.hm-stats dd { font-family: var(--hm-font-mincho); font-weight: 700; font-size: 2.8rem; color: var(--hm-green); line-height: 1.3; }
.hm-stats dd span { font-family: var(--hm-font-gothic); font-size: 1.5rem; font-weight: 500; margin-left: .2rem; }

/* アクセス */
.hm-access-inner { display: grid; gap: 3.2rem; }
@media (min-width: 900px) { .hm-access-inner { grid-template-columns: 1.15fr 1fr; gap: 4.8rem; align-items: start; } }
.hm-map {
  overflow: hidden;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-line);
  aspect-ratio: 4 / 3;
  background: var(--hm-green-tint);
}
.hm-map iframe { display: block; width: 100%; height: 100%; border: 0; }
/* 地図の下に、お店の外観の線画（2026-10-07 カンプ「線画追加_アクセスを外観写真のデフォルメに」） */
.hm-access-visual { display: grid; gap: .8rem; }
.hm-lineart-shop { max-width: 560px; margin: 0 auto; width: 100%; }
.hm-info { display: grid; gap: 2rem; }
.hm-info > div { display: grid; gap: .4rem; padding-bottom: 2rem; border-bottom: 1px solid var(--hm-line); }
.hm-info > div:last-child { border-bottom: none; padding-bottom: 0; }
.hm-info dt { display: flex; align-items: center; gap: .8rem; font-size: 1.4rem; font-weight: 700; color: var(--hm-green); }
.hm-info dd { font-size: 1.6rem; line-height: 1.9; padding-left: 3rem; }
.hm-info address { font-style: normal; }
.hm-info a { color: var(--hm-green); text-decoration: underline; text-underline-offset: .25em; }
.hm-info .hm-tel { font-size: 2.4rem; font-weight: 700; letter-spacing: .04em; }

/* お問い合わせ（スマホは他の欄と同じ左寄せでボタン2つを同じ幅に・640px以上は真ん中。2026-10-07 オーナー決定） */
.hm-contact-ctas { display: flex; flex-direction: column; align-items: stretch; gap: 1.6rem; }
@media (min-width: 640px) {
  .hm-contact { text-align: center; }
  .hm-contact .hm-title { justify-content: center; }
  .hm-contact-ctas { align-items: center; }
  .hm-contact-ctas .hm-btn-lg { width: min(100%, 560px); }
}

/* FOOTER（生成り〜薄い緑の地。黒や濃い緑のベタ塗りにしない） */
.hm-footer {
  padding: 5.6rem 0 3.2rem;
  background: var(--hm-green-tint);
  color: var(--hm-ink);
  font-size: 1.4rem;
}
.hm-footer-top { display: grid; gap: 3.2rem; }
@media (min-width: 900px) { .hm-footer-top { grid-template-columns: 1.3fr 1.2fr 1fr; gap: 4.8rem; } }
.hm-footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--hm-font-mincho);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--hm-green);
  margin-bottom: 1.4rem;
}
.hm-footer-logo img { width: 40px; height: 40px; border-radius: 50%; }
.hm-footer address { font-style: normal; line-height: 1.9; }
.hm-footer a { color: var(--hm-green); }
.hm-footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 2rem; align-content: start; }
.hm-footer-nav a { padding: .6rem 0; text-decoration: none; }
.hm-footer-nav a:hover { text-decoration: underline; }
.hm-footer-sns { display: grid; gap: .8rem; align-content: start; }
.hm-footer-sns a { display: inline-flex; align-items: center; gap: .8rem; padding: .6rem 0; text-decoration: none; }
.hm-footer-sns a:hover { text-decoration: underline; }
.hm-footer-closing {
  margin-top: 4rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(31, 74, 51, .2);
  text-align: center;
  font-family: var(--hm-font-mincho);
  font-size: 1.6rem;
  color: var(--hm-green);
}
.hm-footer-copy { margin-top: 1.2rem; text-align: center; color: var(--hm-soft); font-size: 1.3rem; }

/* ---------- 6) utilities ---------- */
@media (prefers-reduced-motion: reduce) {
  .hm-btn, .hm-nav a::after, .hm-burger span, .hm-media-card, .hm-more summary::before { transition: none; }
}
