/* 中華そば ほそみち（デモ）全ページ共通
   白の地・黒の太い線・どんぶりの雷紋の青だけ。券売機のボタンの形をどこでも同じに使う */
:root {
  --ink: #111111;
  --blue: #1F4E9C;
  --blue6: #F2F5FA;
  --blue12: #E4EAF3;
  --line: #111111;
  --mute: #4a4a4a;
  --w: 1160px;
  --pad: clamp(18px, 4vw, 40px);
  --ff-h: "RocknRoll One", "BIZ UDPGothic", sans-serif;
  --ff-b: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --raimon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'%3E%3Cpath d='M0 13H16M13 13V1H3V10H9V5H6' fill='none' stroke='%231F4E9C' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--ff-b); font-size: clamp(15px, 1.05vw + 11px, 17px); line-height: 1.8;
  letter-spacing: .02em; font-feature-settings: "palt" 0;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.num { font-weight: 700; font-variant-numeric: tabular-nums; }
.in { width: min(100% - var(--pad) * 2, var(--w)); margin-inline: auto; }
.wb { word-break: auto-phrase; text-wrap: pretty; }
.small { font-size: .86em; color: var(--mute); line-height: 1.7; }

/* 雷紋の帯（ヘッダーの下とフッターの上の2本だけ） */
.raimon { height: 14px; background: var(--raimon) 0 0 / 16px 14px repeat-x; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; }
.hd__in { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo { width: 196px; height: auto; display: block; }
.logo__sub { font-family: var(--ff-b); font-weight: 700; fill: var(--ink); letter-spacing: .3em; }
.logo__nm { font-family: var(--ff-h); fill: var(--ink); }
.demo { font: 700 10px/1 var(--ff-b); letter-spacing: .12em; color: var(--mute); border: 1px solid #bbb; padding: 3px 5px; align-self: center; flex: none; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.gnav a { position: relative; display: block; padding: 10px 0; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.gnav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 22px; height: 4px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.gnav a:hover::after { transform: scaleX(.6); }
.gnav a[aria-current="page"]::after { transform: scaleX(1); }
.hd__jikan { flex: none; }
.menu { display: none; }

/* ---------- 券売機のボタンの形（最初の画面・お品書き・R-1 で同じ） ---------- */
.tk { position: relative; isolation: isolate; display: block; text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.tk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translate(4px, 4px); transition: opacity .12s ease; }
.tk__f { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; background: #fff; border: 3px solid var(--ink); padding: 12px 14px; transition: transform .12s ease; }
.tk__n { font-family: var(--ff-h); font-weight: 400; line-height: 1.3; letter-spacing: .02em; word-break: keep-all; overflow-wrap: anywhere; }
.tk__p { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .9em; }
a.tk:hover .tk__f { transform: translate(1px, 1px); }
a.tk:active::before, .tk.is-push::before { opacity: 0; }
a.tk:active .tk__f, .tk.is-push .tk__f { transform: translate(2px, 2px); }
.tk--blue .tk__f { background: var(--blue); color: #fff; }

/* ボタン（黒の地に白の字・角は0・右下に青のずれた影） */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; letter-spacing: .08em; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translate(4px, 4px); transition: opacity .12s ease; }
.btn span { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); padding: 14px 24px; transition: transform .12s ease; }
.btn:hover span { transform: translate(1px, 1px); }
.btn:active::before { opacity: 0; }
.btn:active span { transform: translate(2px, 2px); }
.btn--s span { padding: 9px 16px; font-size: 14px; }
.tlink { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--blue); }
.tlink:hover { text-decoration-thickness: 4px; }

/* ---------- 区画 ---------- */
.sec { padding-block: clamp(60px, 7vw, 104px); }
.sec--tint { background: var(--blue6); }
.sec:not(.sec--tint) + .sec:not(.sec--tint) { padding-top: clamp(20px, 2.5vw, 36px); }
.sh { display: flex; align-items: center; gap: 14px; font-family: var(--ff-h); font-weight: 400; font-size: clamp(25px, 2.4vw + 12px, 38px); line-height: 1.3; letter-spacing: .03em; }
.sh__k { flex: none; display: grid; place-items: center; width: 1.3em; height: 1.3em; background: var(--ink); color: #fff; font-size: .78em; line-height: 1; padding-bottom: .04em; }
.sh--plain { display: block; }
.h3 { font-family: var(--ff-h); font-weight: 400; font-size: clamp(19px, 1vw + 14px, 24px); line-height: 1.4; }
.lead { margin-top: 18px; max-width: 34em; }
.lead p + p, .txt p + p { margin-top: .5em; }
.more { margin-top: 34px; }
.more--r { text-align: right; }

.crumb { font-size: 13px; color: var(--mute); padding-top: 22px; }
.crumb a { color: inherit; }
.crumb span { margin-inline: .5em; }

/* ページの頭（下層） */
.ph { padding-top: clamp(30px, 5vw, 64px); }
.ph__t { display: flex; align-items: center; gap: 18px; font-family: var(--ff-h); font-weight: 400; font-size: clamp(34px, 4vw + 14px, 64px); line-height: 1.2; letter-spacing: .03em; }
.ph__t .sh__k { font-size: .62em; }
.ph__lead { margin-top: 20px; max-width: 36em; }
.ph__wide { margin-top: clamp(28px, 4vw, 48px); }
.ph__wide img { width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; }

/* 写真 */
.ph-cut { mix-blend-mode: multiply; }
.ph-frame img { width: 100%; height: 100%; object-fit: cover; }

/* 表 */
.tbl { width: 100%; border-collapse: collapse; border-top: 3px solid var(--ink); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 8px; border-bottom: 1px solid #c9c9c9; }
.tbl th { width: 7.5em; font-weight: 700; white-space: nowrap; padding-right: 18px; }
.tbl td { font-variant-numeric: tabular-nums; }
.tbl--price td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.tbl--price th { width: auto; white-space: normal; font-weight: 400; }

/* 日付の並び */
.news li { display: grid; grid-template-columns: 7.2em 1fr; gap: 6px 22px; padding: 18px 0; border-bottom: 1px solid #c9c9c9; }
.news li:first-child { border-top: 3px solid var(--ink); }
.news time { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* 次に読むページ */
.next { padding-block: 0 clamp(72px, 9vw, 120px); }
.next__in { display: flex; flex-wrap: wrap; gap: 18px 40px; border-top: 3px solid var(--ink); padding-top: 28px; }

/* ---------- 最初の画面 ---------- */
.hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero__g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25em); grid-template-areas: "h lead" "h act" "bowls bowls" "gu gu"; column-gap: 48px; align-items: end; }
.hero__h { grid-area: h; font-family: var(--ff-h); font-weight: 400; font-size: clamp(38px, 4.6vw + 12px, 80px); line-height: 1.16; letter-spacing: .01em; font-feature-settings: "palt"; }
.hero__lead { grid-area: lead; }
.hero__act { grid-area: act; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 18px; }
.hero__bowls { grid-area: bowls; display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 24px clamp(24px, 5vw, 80px); margin-top: clamp(24px, 3vw, 40px); }
.hero__bowl img { width: 100%; aspect-ratio: 1; }
.hero__bowl .tk { margin-top: 6px; margin-right: 4px; }
.hero__bowl .tk__f { padding: 14px 18px 12px; }
.hero__bowl .tk__n { font-size: clamp(22px, 1.8vw + 12px, 36px); }
.hero__bowl .tk__p { font-size: clamp(13px, .4vw + 11px, 16px); font-family: var(--ff-b); }
.hero__gu { grid-area: gu; display: flex; justify-content: center; gap: clamp(16px, 3vw, 44px); margin-top: clamp(26px, 3vw, 44px); }
.hero__gu li { width: min(12vw, 140px); text-align: center; font-size: 14px; font-weight: 700; }
.hero__gu img { width: 100%; aspect-ratio: 1; }

/* トップ: お品書き */
.top-menu__g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.tk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 18px; padding: 0 4px 4px 0; }
.tk-grid .tk__n { font-size: clamp(16px, .6vw + 12px, 21px); }
.tk-grid .tk__f { min-height: 96px; }

/* トップ: 券売機のこと */
.top-kenbaiki__g { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.top-kenbaiki .txt { margin-top: 22px; }

/* トップ: スープと麺 */
.wide { margin-top: clamp(26px, 3vw, 40px); }
.wide img { width: 100%; height: clamp(200px, 24vw, 340px); object-fit: cover; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(28px, 5vw, 72px); margin-top: clamp(26px, 3vw, 40px); }
.two .h3 { padding-bottom: 8px; border-bottom: 3px solid var(--ink); margin-bottom: 12px; }

/* トップ: お知らせ */
.top-news__g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px clamp(32px, 5vw, 72px); align-items: start; }

/* 左右に分ける区画 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.split--r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split .tbl { margin-top: 0; }

/* ---------- お品書き ---------- */
.ramen { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(24px, 3vw, 40px); }
.ramen + .ramen { border-top: 1px solid #c9c9c9; }
.ramen--r .ramen__ph { order: 2; }
.ramen__ph img { width: 100%; aspect-ratio: 1; }
.ramen__t { font-family: var(--ff-h); font-weight: 400; font-size: clamp(26px, 2vw + 14px, 42px); line-height: 1.25; }
.ramen__t span { display: inline-block; background: var(--blue); color: #fff; font-size: .48em; padding: 3px 10px 4px; margin-right: 12px; vertical-align: .35em; letter-spacing: .1em; }
.ramen__t span.miso { background: var(--ink); }
.ramen .tk-col { display: grid; gap: 16px; margin-top: 22px; padding: 0 4px 4px 0; }
.ramen .tk__f { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 18px; }
.ramen .tk__n { font-size: clamp(17px, .6vw + 13px, 22px); }
.ramen .tk__p { font-size: 17px; white-space: nowrap; }
.ramen .txt { margin-top: 22px; }

.gu-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 20px clamp(16px, 2.5vw, 36px); margin-top: clamp(26px, 3vw, 40px); align-items: end; }
.gu-row figure { text-align: center; }
.gu-row img { width: 100%; aspect-ratio: 1; }
.gu-row figcaption { margin-top: 4px; font-weight: 700; border-top: 3px solid var(--ink); padding-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; text-align: left; line-height: 1.5; }
.gu-row figcaption .num { white-space: nowrap; }
.gu-txt { border-top: 3px solid var(--ink); }
.gu-txt li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #c9c9c9; font-weight: 700; }
.gu-txt li small { display: block; font-weight: 400; font-size: 13px; color: var(--mute); }
.gu-txt .num { white-space: nowrap; }

.rice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(24px, 3vw, 40px); }
.rice img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }

.drink { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px clamp(28px, 5vw, 72px); align-items: start; }
.alc { margin-top: 16px; font-size: .9em; font-weight: 700; border-left: 4px solid var(--blue); padding: 4px 0 4px 14px; line-height: 1.7; }

.gentei { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; border: 3px solid var(--ink); padding: clamp(22px, 3vw, 36px); }

.allergy .tbl th { width: 13em; white-space: normal; }

/* ---------- はじめての方へ ---------- */
.flow { display: flex; align-items: stretch; gap: 0; margin-top: clamp(30px, 4vw, 48px); }
.flow li { display: flex; align-items: center; flex: 1 1 0; }
.flow .tk { flex: 1 1 auto; }
.flow .tk__f { min-height: 78px; }
.flow .tk__n { font-size: clamp(15px, .5vw + 12px, 19px); text-align: center; }
.flow__ar { flex: none; width: 46px; height: 20px; margin-inline: 6px; }
.flow li:last-child .flow__ar { display: none; }
.flow--s { margin-top: 0; }
.say { display: flex; flex-wrap: wrap; gap: 16px 18px; margin-top: 22px; padding: 0 4px 4px 0; }
.say .tk__f { padding: 8px 16px; }
.say .tk__n { font-size: 16px; }
.faq { margin-top: clamp(24px, 3vw, 40px); border-top: 3px solid var(--ink); }
.faq div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6px 40px; padding: 20px 0; border-bottom: 1px solid #c9c9c9; }
.faq dt { font-family: var(--ff-h); font-weight: 400; font-size: 18px; line-height: 1.5; }
.faq dd { margin: 0; }
.seat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.seat img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- こだわり ---------- */
.k-soup { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.k-soup__ph { position: relative; }
.k-soup__ph img { width: 100%; aspect-ratio: 12 / 7; object-fit: cover; }
.k-soup__cap { position: absolute; left: 0; bottom: 0; background: #fff; border: 3px solid var(--ink); border-left: 0; border-bottom: 0; padding: 8px 16px 6px 0; font-weight: 700; font-size: 14px; }
.men { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.men__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.men__pair figure { text-align: center; }
.men__pair img { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); }
.men__pair figcaption { margin-top: 12px; font-weight: 700; }
.men__pair figcaption b { font-family: var(--ff-h); font-weight: 400; margin-right: .5em; }
.men__hand { margin-top: 26px; max-width: 360px; }
.men__hand img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- 店舗情報 ---------- */
.map { display: grid; place-items: center; min-height: 260px; background: #e6e6e6; color: #666; font-weight: 700; letter-spacing: .3em; }
.line-btn { margin-top: 10px; display: inline-block; }
.line-btn .tk__f { flex-direction: row; align-items: center; gap: 8px; padding: 6px 12px; }
.line-btn .tk__n { font-size: 14px; }
.line-btn svg { width: 18px; height: 18px; flex: none; }
.notes { margin-top: 16px; display: grid; gap: 6px; }
.shop-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 72px); align-items: end; margin-top: clamp(24px, 3vw, 40px); }
.shop-in img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.name-box { max-width: 40em; border-left: 6px solid var(--blue); padding-left: clamp(18px, 3vw, 32px); }

/* ---------- 図の共通 ---------- */
.fig__t { font-family: var(--ff-h); font-weight: 400; font-size: clamp(18px, .8vw + 13px, 22px); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.fig__t::before { content: ""; width: 14px; height: 14px; background: var(--blue); flex: none; }
.fig__note { margin-top: 18px; font-size: .86em; color: var(--mute); }

/* R-1 券売機のボタンの並び */
.r1 { --lbw: 7.2em; --hw: 10em; font-size: 16px; }
.r1__m { position: relative; display: grid; grid-template-columns: var(--hw) var(--lbw) minmax(0, 1fr); }
.r1__frame { grid-column: 3; grid-row: 2 / span 6; border: 3px solid var(--ink); background: #fff; }
.r1__slots { grid-column: 3; grid-row: 2; display: flex; justify-content: flex-end; gap: 14px; padding: 16px 18px 6px; }
.r1__slots span { border: 2px solid var(--ink); padding: 4px 12px; font-size: .78em; font-weight: 700; background: var(--blue12); }
.r1__lb { grid-column: 2; align-self: center; font-size: .8em; font-weight: 700; color: var(--mute); padding-right: 12px; text-align: right; line-height: 1.4; word-break: keep-all; }
.r1__g { grid-column: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 7px 22px 7px 18px; }
.r1__g:last-of-type { padding-bottom: 20px; }
.r1__g .tk__f { padding: 8px 10px; min-height: 4.6em; }
.r1__g .tk__n { font-size: .92em; letter-spacing: 0; }
.r1__g .tk__p { font-size: .8em; }
.r1__here { grid-column: 1; grid-row: 3 / span 2; align-self: center; display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: .84em; line-height: 1.45; color: var(--blue); }
.r1__here svg { flex: none; width: 2.2em; height: 1em; }
.r1--sm { font-size: 12.5px; --lbw: 8.6em; --hw: 7.4em; }
.r1--sm .r1__g { gap: 7px; padding-inline: 12px; }
.r1--sm .r1__g .tk__f { padding: 6px 6px; border-width: 2px; }
.r1--sm .tk::before { transform: translate(3px, 3px); }
.r1--sm .r1__slots { padding: 10px 12px 4px; }

/* R-2 麺のかたさと、味の濃さ */
.r2__g { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px 36px; align-items: center; }
.r2__band + .r2__band { margin-top: 26px; }
.r2__lb { font-family: var(--ff-h); font-size: 17px; margin-bottom: 10px; }
.r2__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.r2__opts li { position: relative; }
.r2__box { position: relative; isolation: isolate; display: grid; place-items: center; height: 64px; border: 3px solid var(--ink); margin-right: -3px; font-family: var(--ff-h); font-size: clamp(16px, .6vw + 12px, 21px); background: #fff; }
.r2__opts li:last-child .r2__box { margin-right: 0; }
.r2__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); opacity: 0; }
.r2__std .r2__box { color: #fff; }
.r2__std .r2__box::before { opacity: 1; }
.r2__std .r2__box { background: var(--blue); }
.r2__sub { display: block; padding: 8px 6px 0; font-size: 13px; font-weight: 700; text-align: center; line-height: 1.5; }
.r2__std .r2__sub { color: var(--blue); }
.r2__side { position: relative; display: grid; justify-items: center; gap: 12px; }
.r2__ticket { width: 120px; height: auto; }
.r2__bubble { position: relative; border: 3px solid var(--ink); background: #fff; padding: 8px 18px; font-family: var(--ff-h); font-size: 18px; }
.r2__bubble::after { content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 14px; background: #fff; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: translate(-50%, -6px) rotate(45deg); }
.r2__side { flex-direction: column-reverse; }

/* R-3 一杯の中身 */
.r3__g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(20px, 4vw, 56px); }
.r3__b figcaption { text-align: center; margin-top: 4px; font-weight: 700; }
.r3__b figcaption b { font-family: var(--ff-h); font-weight: 400; font-size: 1.15em; margin-right: .6em; }
.r3 svg { width: 100%; height: auto; display: block; overflow: visible; }
.r3 .lbl { font-family: var(--ff-h); font-size: 19px; fill: var(--ink); }
.kp { word-break: keep-all; overflow-wrap: anywhere; }

/* R-4 11月の休み */
.r4 { max-width: 760px; }
.r4__ym { font-family: var(--ff-h); font-size: clamp(22px, 1.2vw + 16px, 30px); margin-bottom: 12px; }
.r4__ym .num { font-family: var(--ff-b); }
.r4__cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 3px solid var(--ink); border-left: 3px solid var(--ink); }
.r4__cal > * { border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.r4__wd { text-align: center; font-weight: 700; font-size: 13px; padding: 4px 0; background: var(--ink); color: #fff; border-color: var(--ink); }
.r4__d { position: relative; isolation: isolate; min-height: 84px; padding: 6px 6px 8px; display: flex; flex-direction: column; align-items: flex-start; }
.r4__d b { font-weight: 700; font-size: clamp(17px, .6vw + 13px, 22px); font-variant-numeric: tabular-nums; line-height: 1.1; }
.r4__d small { display: block; margin-top: auto; font-size: 12px; font-weight: 700; line-height: 1.35; }
.r4__d sup { position: absolute; top: 5px; right: 6px; font-size: 11px; font-weight: 700; color: var(--blue); line-height: 1; }
.r4__d.is-off { color: #fff; }
.r4__d.is-off::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); }
.r4__d.is-off small + small { margin-top: 0; }
.r4__d.is-empty { background: repeating-linear-gradient(45deg, transparent 0 6px, #ececec 6px 7px); }
.r4__legend { display: flex; gap: 22px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.r4__legend span { display: inline-flex; align-items: center; gap: 8px; }
.r4__legend i { width: 18px; height: 18px; border: 3px solid var(--ink); background: #fff; }
.r4__legend i.off { background: var(--blue); }

/* ---------- フッター ---------- */
.ft { margin-top: 0; }
.ft__in { display: grid; grid-template-columns: auto 1fr; gap: 24px 56px; padding-block: 44px 36px; }
.ft .logo { width: 190px; }
.ft__info { font-size: 14px; line-height: 1.9; }
.ft__nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; margin-top: 14px; }
.ft__nav a { text-decoration: none; }
.ft__nav a:hover { text-decoration: underline; }
.ft__copy { grid-column: 1 / -1; font-size: 12px; color: var(--mute); border-top: 1px solid #c9c9c9; padding-top: 16px; }

/* ---------- 動き（JS が html に motion を付けたときだけ） ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes push {
  0%, 100% { transform: none; }
  35%, 60% { transform: translate(2px, 2px); }
}
@keyframes shadowOff { 0%, 100% { opacity: 1; } 35%, 60% { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes fillIn { from { opacity: 0; } to { opacity: 1; } }

.motion .rv:not(.is-in) { opacity: 0; transform: translateY(18px); }
.motion .rv { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.motion .hero__gu:not(.is-in) li { opacity: 0; transform: translateY(26px); }
.motion .hero__gu.is-in li { animation: rise .65s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * .15s); }
.motion .r1.is-in .tk--blue .tk__f { animation: push .7s ease .5s 1 both; }
.motion .r1.is-in .tk--blue::before { animation: shadowOff .7s ease .5s 1 both; }
.motion .r1.is-in .tk--late .tk__f, .motion .r1.is-in .tk--late::before { animation-delay: 1.1s; }
.motion .r3:not(.is-in) .gu { opacity: 0; }
.motion .r3.is-in .gu { animation: pop .5s cubic-bezier(.2, .7, .2, 1.2) both; animation-delay: calc(var(--i) * .12s + .2s); transform-box: fill-box; transform-origin: center; }
.motion .r4:not(.is-in) .r4__d.is-off::before { opacity: 0; }
.motion .r4.is-in .r4__d.is-off::before { animation: fillIn .45s ease both; animation-delay: calc(var(--i) * .12s + .2s); }
.motion .r2:not(.is-in) .r2__std .r2__box::before { opacity: 0; }
.motion .r2.is-in .r2__std .r2__box::before { animation: fillIn .5s ease .3s both; }
.motion .r2 .r2__std .r2__box { background: #fff; }
.motion .r2:not(.is-in) .r2__std .r2__box { color: var(--ink); }
.motion .r2 .r2__std .r2__box { transition: color .3s ease .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 画面の幅ごと ---------- */
@media (max-width: 1040px) {
  .gnav ul { gap: 16px; }
  .gnav a { font-size: 14px; }
  .logo { width: 150px; }
}
@media (max-width: 900px) {
  .menu { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 44px; margin-left: 4px; border: 3px solid var(--ink); background: #fff; font: 700 13px/1 var(--ff-b); letter-spacing: .12em; color: var(--ink); cursor: pointer; }
  .hd__jikan { margin-left: auto; }
  .js .gnav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--ink); padding: 8px var(--pad) 18px; display: none; }
  .js body.nav-open .gnav, .js .nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { padding: 14px 0; border-bottom: 1px solid #ddd; font-size: 16px; }
  .gnav a::after { bottom: 8px; }
  html:not(.js) .hd__in { flex-wrap: wrap; }
  html:not(.js) .gnav { order: 9; width: 100%; margin-left: 0; }
  html:not(.js) .gnav ul { flex-direction: row; flex-wrap: wrap; gap: 0 16px; }
  html:not(.js) .menu { display: none; }

  .hero__g { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "lead" "bowls" "gu" "act"; }
  .hero__lead { margin-top: 16px; }
  .hero__act { margin-top: 32px; }
  .top-menu__g, .top-kenbaiki__g, .top-news__g, .split, .ramen, .rice, .drink, .seat, .k-soup, .men, .shop-in { grid-template-columns: minmax(0, 1fr); }
  .ramen--r .ramen__ph { order: 0; }
  .ramen__ph { max-width: 460px; }
  .gu-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gu-txt { grid-column: 1 / -1; }
  .r1--sm { font-size: 13px; }
  .r2__g { grid-template-columns: minmax(0, 1fr); }
  .r2__side { flex-direction: row; display: flex; justify-content: center; align-items: center; gap: 22px; }
  .r2__bubble::after { left: auto; right: 100%; top: 50%; transform: translate(6px, -50%) rotate(135deg); }
  .faq div { grid-template-columns: minmax(0, 1fr); }
  .ft__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hd__in { min-height: 64px; gap: 10px; }
  .logo { width: 128px; }
  .demo { font-size: 9px; padding: 2px 4px; }
  .hd__jikan.btn--s span { padding: 9px 10px; font-size: 13px; letter-spacing: .02em; }
  .hero__bowls { gap: 18px 14px; }
  .hero__bowl .tk__f { padding: 10px 10px 8px; }
  .hero__bowl .tk__n { font-size: 21px; }
  .hero__gu { display: grid; grid-template-columns: repeat(2, minmax(0, 150px)); justify-content: center; gap: 10px 28px; }
  .hero__gu li { width: auto; }
  .tk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tk-grid .tk__f { min-height: 84px; padding: 10px 12px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .news li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .gu-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gentei { grid-template-columns: minmax(0, 1fr); }
  .flow { flex-direction: column; }
  .flow li { flex-direction: column; align-items: stretch; }
  .flow .tk__f { min-height: 58px; }
  .flow__ar { transform: rotate(90deg); margin: 12px auto; width: 30px; }
  .tbl th { width: 5.6em; padding-right: 10px; }
  .allergy .tbl th { width: 8.5em; }
  .tbl--price th { width: auto; }

  /* R-1 はスマホで 2列×10段（並びの順は変えない） */
  .r1, .r1--sm { font-size: 13px; --lbw: 1.9em; }
  .r1__m { grid-template-columns: var(--lbw) minmax(0, 1fr); }
  .r1__frame, .r1__slots, .r1__g { grid-column: 2; }
  .r1__slots { justify-content: flex-end; padding: 12px 12px 4px; }
  .r1__here { grid-column: 2; grid-row: 1; flex-direction: row; justify-content: flex-start; padding: 0 0 6px 14px; }
  .r1__here svg { transform: rotate(90deg); width: 1.6em; }
  .r1__lb { grid-column: 1; writing-mode: vertical-rl; text-orientation: upright; padding: 0; text-align: center; justify-self: center; font-size: .82em; letter-spacing: .05em; }
  .r1__g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 6px 14px 6px 12px; }
  .r1__g .tk__f { min-height: 3.9em; padding: 6px 9px; }
  .r1--sm .r1__g { padding-inline: 12px; }

  .r2__opts { grid-template-columns: minmax(0, 1fr); }
  .r2__opts li { display: grid; grid-template-columns: 8.2em minmax(0, 1fr); align-items: center; }
  .r2__box { margin-right: 0; margin-bottom: -3px; height: 54px; }
  .r2__opts li:last-child .r2__box { margin-bottom: 0; }
  .r2__sub { text-align: left; padding: 0 0 0 12px; }
  .r3__g { grid-template-columns: minmax(0, 1fr); }
  .r4__d { min-height: 66px; padding: 4px 3px 5px; }
  .r4__d small { font-size: 10px; letter-spacing: 0; }
  .r4__wd { font-size: 12px; }
}
