/* ============================================================
   ぎょうざ専門店 ぼんてん - Sannomiya Center Plaza East B1F.
   Gyoza-counter theme: near-white ground, seared rayu accent.
   VARIANCE 6 / MOTION 3 / DENSITY 4. Theme lock: light.
   Accent lock: #a63c14 only. Radius lock: 7px. Wrap 1000px.
   Display: Rampart One (ships 400 ONLY: every display rule below
   pins 400; asking for more would render smeared synthetic bold,
   which this project has shipped twice). Body: M PLUS 2, reused
   from site 06 deliberately: the JA multi-weight catalogue is
   nearly exhausted and the two sites share nothing else.
   Contrast, computed before writing: text/bg 14.84, muted/bg 5.95,
   muted/bg-2 5.28, accent-as-text 6.14, ink-on-accent 6.0. All AA.
   ============================================================ */
:root {
  --bg: #fcfaf5; --bg-2: #f3ecdf; --bg-3: #ece2d0;
  --line: rgba(42, 35, 29, 0.16);
  --text: #2a231d; --muted: #6b5f52;
  --accent: #a63c14; --accent-ink: #fff6ef; --warn: #8c3418;
  --font-display: "Rampart One", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-body: "M PLUS 2", "Hiragino Kaku Gothic ProN", sans-serif;
  --nav-h: 64px; --r: 7px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--text); font-family: var(--font-body);
  font-size: 1rem; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* Nav: inline bar, brand left, filled CTA right. */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; background: rgba(252, 250, 245, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.nav .wrap { width: 100%; display: flex; align-items: center; gap: 1.2rem; }
.brand { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem;
  letter-spacing: 0.06em; white-space: nowrap; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto;
  font-size: 0.9rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.lang { display: flex; gap: 0.3rem; font-size: 0.78rem; font-weight: 700; }
.lang a { padding: 0.35rem 0.5rem; min-height: 44px; display: inline-flex;
  align-items: center; color: var(--muted); border: 1px solid transparent;
  white-space: nowrap; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: var(--text); border-color: var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.7rem 1.4rem; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 700; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--r);
  transition: transform 0.15s, background 0.2s, border-color 0.2s; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #b8481c; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }

/* Hero: the price IS the hero. Big fact, pan slot beneath. */
.hero { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(3rem, 6vw, 4.5rem);
  min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 1.2rem; }
.hero h1 { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.3; margin-bottom: 1.2rem; }
.hero-sub { color: var(--muted); max-width: 34em; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 3rem); }
.hero-media { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }

section { padding: clamp(3.6rem, 7.5vw, 6rem) 0; }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.35; }
.sec-head p { color: var(--muted); max-width: 40em; margin-top: 0.8rem; }

.menu-list { list-style: none; max-width: 36em; }
.menu-item { display: flex; align-items: baseline; gap: 0.9rem; padding: 1rem 0;
  border-bottom: 1px solid var(--line); }
.menu-item .name { font-weight: 700; font-size: 1.08rem; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted rgba(42, 35, 29, 0.3);
  transform: translateY(-4px); }
.menu-item .price { font-weight: 700; white-space: nowrap; }
.menu-item .price.tbc { color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.note { margin-top: 1.2rem; color: var(--muted); font-size: 0.88rem; }
.menu-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }

.hours-table { width: 100%; max-width: 36em; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line); }
.hours-table th { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--muted);
  font-weight: 700; white-space: nowrap; }
.hours-table td { font-weight: 500; }
.closed-flag { display: inline-block; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 0.15rem 0.6rem; font-size: 0.82rem;
  color: var(--muted); font-weight: 700; }

.steps { list-style: none; counter-reset: s; max-width: 34em; }
.steps li { counter-increment: s; position: relative; padding: 0.9rem 0 0.9rem 3.2rem;
  border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0.85rem;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); border-radius: var(--r);
  font-weight: 700; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); }
.info-list { list-style: none; }
.info-list li { padding: 1rem 0; display: flex; flex-direction: column; gap: 0.15rem;
  border-bottom: 1px solid var(--line); }
.info-list .label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--muted); }
.info-list a.link { color: var(--accent); font-weight: 700; min-height: 44px;
  display: inline-flex; align-items: center; }
.info-list a.link:hover { text-decoration: underline; }
.info-actions { margin-top: 1.6rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Reserve: split. */
.reserve { background: var(--bg-2); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.reserve-grid { display: grid; grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.reserve-copy h2 { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.9rem; }
.reserve-copy p { color: var(--muted); max-width: 32em; }
.reserve-alt { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: 0.9rem; color: var(--muted); }
.reserve-alt a { color: var(--accent); font-weight: 700; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.84rem; font-weight: 700; letter-spacing: 0.05em; }
.field input, .field select { background: var(--bg); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  padding: 0.85rem 1rem; border-radius: var(--r); appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b5f52' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent);
  outline-offset: 0; border-color: var(--accent); }
.field input::placeholder { color: rgba(107, 95, 82, 0.75); }
.form-error { grid-column: 1 / -1; display: none; color: var(--warn);
  font-size: 0.9rem; font-weight: 500; }
.form-error.show { display: block; }
.form-ok { grid-column: 1 / -1; display: none; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); padding: 1rem 1.2rem;
  border-radius: var(--r); font-size: 0.95rem; }
.form-ok.show { display: block; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-hint { grid-column: 1 / -1; color: var(--muted); font-size: 0.85rem; }

/* Footer: two-column strip. */
footer { padding: 2.8rem 0 3.2rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.88rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-brand { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem;
  color: var(--text); margin-bottom: 0.4rem; }
.foot-links { display: flex; gap: 1.5rem; align-items: center; }
.foot-links a:hover { color: var(--text); }
.demo-note { margin-top: 1.5rem; font-size: 0.8rem; }

.rv { opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .lang a, .nav-links a { transition: none; }
}

/* Mobile collapse block: nothing below it may add unscoped layout rules
   (the 04-eyelit cascade lesson). */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .info-grid, .reserve-grid { grid-template-columns: 1fr; }
  .menu-slots { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .nav .wrap { gap: 0.55rem; }
  .brand { font-size: 1.05rem; }
  .lang { gap: 0.1rem; }
  .lang a { padding: 0.3rem 0.35rem; font-size: 0.7rem; }
  .nav .btn { padding: 0.5rem 0.8rem; font-size: 0.8rem; min-width: 0; }
  .hero-ctas .btn { width: 100%; }
}
