/* ============================================================
   海鮮寿司酒場 えびすちゃん 三宮店 - tairyō-bata (big-catch flag).

   DESIGN RATIONALE. A busy 7th-floor seafood izakaya, 4.6 from 363
   Google reviews five months after opening, whose real problem is
   that first-timers hesitate to ride an unmarked lift. The palette
   is the fishing-boat celebration flag: deep sea indigo ground
   #182342, off-white, and ONE coral-red accent #f0785f. Distinct
   from the other dark-blue grounds by hue and value: 05-tamaya is
   warm near-black #151a26 with karashi GOLD, 12-bar-sky is colder
   near-black #0f1418 with pale silver-blue, 16 is ink navy with
   brown-copper and a mincho voice. This is brighter, bluer, and
   louder on purpose.

   Type: Train One display (heavy, energetic lettering, the typeface of
   an izakaya banner; ships 400 ONLY, verified against the Fonts API,
   so every display rule pins 400) over Kaisei Decol 400/500/700 (body, de-duped 2026-09-13),
   which is unused anywhere in the project (M PLUS 1, 1p and 2 are
   different families on 19, 07/14 and 06).

   Radius lock: 10px. ACCENT RULE, computed not assumed: #f0785f
   passes as text on --bg (5.57) and --bg-2 (4.61) but FAILS on
   --bg-3 (3.95), so accent-coloured text never sits on bg-3;
   accent surfaces always take --accent-ink #251008 (6.54).

   Chrome variant: inline nav / full-width band reserve / two-column
   footer. Checked against the ledger: 01 inline+split+2col, 07
   inline+band+centred. inline+band+2col is unused.
   ============================================================ */

:root {
  --bg: #182342;
  --bg-2: #20305c;
  --bg-3: #293a6b;
  --line: rgba(240, 241, 233, 0.18);
  --text: #f0f1e9;
  --muted: #aeb4c4;
  --accent: #f0785f;
  --accent-ink: #251008;
  --warn: #f2b48c;
  --font-display: "Train One", "Hiragino Sans", sans-serif;  /* de-dup 2026-09-13: Reggae One collided three ways (24/26/29); 26-bar-kabukicho keeps it, since a kabuki-themed bar is what that shout-style face is actually for. Train One is heavy and energetic, right for a busy seventh-floor seafood izakaya. */
  --font-body: "Kaisei Decol", "Hiragino Mincho ProN", serif;  /* de-duped from M PLUS Rounded 1c (kept by site 30); Decol ships 400/500/700, verified */
  --nav-h: 66px;
  --r: 10px;
}

* { 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: 1150px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ---------- Nav: inline ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(24, 35, 66, 0.9);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { width: 100%; display: flex; align-items: center; gap: 1.4rem; }

.brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.22rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-links { display: flex; gap: 1.4rem; font-size: 0.9rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }

.nav .langsw { margin-left: auto; }

.btn-nav {
  min-height: 44px;
  display: inline-flex; align-items: center;
  padding: 0.45rem 1.05rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.9rem; font-weight: 700;
  border-radius: var(--r);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: transform 0.15s, background 0.25s, border-color 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #f38a74; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- Hero: headline, fact strip, no photo behind text ---------- */

.hero {
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h);
}

.eyebrow {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  line-height: 1.34;
  letter-spacing: 0.02em;
  margin-bottom: 1.3rem;
}

.hero-sub { color: var(--muted); max-width: 36em; margin-bottom: 2rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

/* Facts the customer needs before riding the lift. Plain data, no dots. */
.facts {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  list-style: none;
}
.facts li {
  padding: 1rem 1.8rem 1rem 0;
  margin-right: 1.8rem;
  font-size: 0.95rem;
}
.facts .k { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.facts .v { font-weight: 700; }

/* ---------- Sections ---------- */

section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.sec-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.35;
}
.sec-head p { color: var(--muted); max-width: 38em; margin-top: 0.9rem; }

/* 名物: 2x2 dish cards */
.dishes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  list-style: none;
}
.dish {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.dish .m-ph { border-radius: 0; }
.dish-body { padding: 1.1rem 1.25rem 1.3rem; }
.dish h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.5; }
.dish p { color: var(--muted); font-size: 0.92rem; margin-top: 0.35rem; }

.sample-note { color: var(--muted); font-size: 0.87rem; margin-top: 1.5rem; }

/* ---------- 7Fへの行き方: three steps ---------- */

#howto { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  list-style: none;
  counter-reset: step;
}
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.4rem 1.4rem 1.5rem;
}
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1.15rem;
  border-radius: 50%;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.6; }
.step p { color: var(--muted); font-size: 0.93rem; margin-top: 0.4rem; }

/* ---------- Access ---------- */

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.hours dt {
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 1.3rem;
}
.hours dt:first-child { margin-top: 0; }
.hours dd { font-size: 1.12rem; font-weight: 500; }

.info-list { list-style: none; }
.info-list li { padding: 1rem 0; display: flex; flex-direction: column; gap: 0.15rem; }
.info-list li + li { border-top: 1px solid var(--line); }
.info-list .label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.info-list a.link { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.info-actions { margin-top: 1.6rem; }

/* ---------- Reserve: full-width band, three-column form ---------- */

.reserve { background: var(--bg-2); border-top: 1px solid var(--line); }

.reserve .sec-head { margin-bottom: 1.8rem; }
.reserve-alt { color: var(--muted); font-size: 0.92rem; margin-bottom: 2rem; }
.reserve-alt a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.86rem; 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.8rem 0.95rem;
  min-height: 48px;
  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='%23aeb4c4' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field input::placeholder { color: #8d93a6; }

.form-error { grid-column: 1 / -1; display: none; color: var(--warn); font-size: 0.9rem; font-weight: 700; }
.form-error.show { display: block; }
.form-ok {
  grid-column: 1 / -1; display: none;
  color: var(--text); background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem 1.2rem; font-size: 0.95rem;
}
.form-ok.show { display: block; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form .sample-note { grid-column: 1 / -1; margin-top: 0.2rem; }

/* ---------- Footer: two columns ---------- */

footer { border-top: 1px solid var(--line); padding: 2.6rem 0 3rem; color: var(--muted); font-size: 0.88rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.foot-brand { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--text); margin-bottom: 0.35rem; }
.foot-links { display: flex; gap: 1.4rem; align-items: center; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--text); }
.demo-note { margin-top: 1.5rem; font-size: 0.8rem; line-height: 1.9; }

/* ---------- Reveal ---------- */

.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s 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; } }

/* ---------- Mobile (scoped max-width, placed last; no unscoped
   layout rules follow, per the 04-eyelit cascade lesson) ---------- */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .dishes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .facts li { padding-right: 1.2rem; margin-right: 1.2rem; }
}

@media (max-width: 430px) {
  .nav .wrap { gap: 0.55rem; }
  .brand { font-size: 1.02rem; }
  .btn-nav { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
  .hero-ctas .btn { width: 100%; }
  .facts { flex-direction: column; }
  .facts li { padding: 0.7rem 0; margin: 0; border-bottom: 1px solid var(--line); }
}
