/* =====================================================================
   金太郎 川越店 — 本場月島もんじゃ
   Refined sample-site system
   Type:  Shippori Mincho B1 (display) / Zen Kaku Gothic New (text)
          Cormorant Garamond (latin accents)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@500;600;700;800&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  --ink: #1d1712;
  --ink-soft: #4f463d;
  --paper: #f6efe2;
  --paper-2: #efe6d5;
  --muted: #877a6b;
  --line: rgba(29, 23, 18, 0.14);
  --hair: rgba(29, 23, 18, 0.10);
  --accent: #bb3b1d;       /* 金太郎 vermilion */
  --accent-deep: #8f2c14;
  --gold: #b78a3c;
  --gold-soft: #d9b878;
  --charcoal: #15110d;
  --green: #2f4034;

  --serif: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  --latin: "Cormorant Garamond", Georgia, serif;

  --maxw: 1180px;
  --radius: 3px;

  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, a, span, strong, small, b, dd, dt {
  overflow-wrap: anywhere;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main { overflow: hidden; }

/* ---- Latin label / eyebrow ---- */
.latin {
  font-family: var(--latin);
  font-style: italic;
  letter-spacing: 0.04em;
}

.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* =====================================================================
   Top bar (shared by live / private / drinks)
   ===================================================================== */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(8, 5, 3, 0.72), rgba(8, 5, 3, 0));
  transition: background 0.3s ease;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
}
.brand b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand small {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}
.nav a:hover { color: #fff; }

.button {
  max-width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.14); }

.button.primary {
  border-color: transparent;
  background: var(--accent);
  font-weight: 700;
  box-shadow: 0 10px 30px -10px rgba(187, 59, 29, 0.7);
}
.button.primary:hover { background: var(--accent-deep); }

.nav .button { min-height: 40px; padding: 9px 18px; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #15110d;
}
.hero.short { min-height: 80vh; }

.hero-media { position: absolute; inset: 0; }
.hero-media img { transform: scale(1.03); }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(10, 7, 4, 0.80), rgba(10, 7, 4, 0.18) 56%, rgba(10, 7, 4, 0.46)),
    linear-gradient(0deg, rgba(10, 7, 4, 0.86), rgba(10, 7, 4, 0) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 64px;
  min-width: 0;
}

h1 {
  max-width: min(16ch, 100%);
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.lead {
  max-width: min(40ch, 100%);
  margin: 26px 0 0;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ---- Stat strip ---- */
.stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(960px, calc(100% - 40px));
  margin: -42px auto 0;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 70px -28px rgba(20, 12, 6, 0.5);
}
.stat {
  padding: 26px 28px;
  border-left: 1px solid var(--hair);
}
.stat:first-child { border-left: none; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* =====================================================================
   Sections
   ===================================================================== */
.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 64px);
}
.section.dark { color: #fff; background: var(--charcoal); }
.section.green { color: #fff; background: var(--green); }
.section.tint { background: var(--paper-2); }

.inner { width: min(var(--maxw), 100%); margin: 0 auto; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.section-head .eyebrow { color: var(--gold); }
.dark .section-head .eyebrow,
.green .section-head .eyebrow { color: var(--gold-soft); }

h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.22;
  letter-spacing: 0.02em;
}
.section-head h2 { max-width: 18ch; }

.section-head p, .muted {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.dark .muted, .green .muted,
.dark .section-head p, .green .section-head p { color: rgba(255, 255, 255, 0.7); }

/* ---- Grid + cards ---- */
.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:where(a):hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20, 12, 6, 0.55); }
.dark .card, .green .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.thumb { aspect-ratio: 4 / 3; background: #ddd; overflow: hidden; }
.thumb img { transition: transform 0.6s ease; }
.card:hover .thumb img { transform: scale(1.05); }

.card-body { padding: 24px 26px 28px; }
.card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.dark .card p, .green .card p { color: rgba(255, 255, 255, 0.74); }

/* ---- Menu rows ---- */
.menu-list { display: grid; }
.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.menu-row:first-child { padding-top: 0; }
.dark .menu-row, .green .menu-row { border-color: rgba(255, 255, 255, 0.16); }
.menu-row strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.menu-row .tag {
  margin-left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  vertical-align: middle;
}
.dark .menu-row .tag, .green .menu-row .tag { color: var(--gold-soft); }
.menu-row span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.dark .menu-row span, .green .menu-row span { color: rgba(255, 255, 255, 0.66); }
.price {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.price small { font-size: 12px; font-weight: 500; }
.dark .price, .green .price { color: var(--gold-soft); }

/* ---- Feature strip (split image / copy) ---- */
.feature-strip { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.feature-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(36px, 6vw, 88px);
}
.feature-copy h2 { max-width: 14ch; }
.feature-copy p { max-width: 44ch; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.95; }
.feature-image { min-height: 400px; overflow: hidden; }
.feature-image img { transition: transform 0.8s ease; }
.feature-strip:hover .feature-image img { transform: scale(1.04); }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pill-list span {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.dark .pill-list span, .green .pill-list span {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
}

/* ---- Reservation panel ---- */
.reservation {
  min-width: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: clamp(34px, 5vw, 60px);
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(187, 59, 29, 0.28), transparent 55%),
    #221c16;
}
.reservation h2 { color: #fff; }
.reservation .eyebrow { color: var(--gold-soft); }
.reservation p { color: rgba(255, 255, 255, 0.78); font-size: 14.5px; line-height: 1.9; }
.reservation .button { margin-top: 18px; }

.info-list { display: grid; gap: 0; }
.info-list div {
  display: grid;
  grid-template-columns: minmax(72px, 96px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.info-list div:first-child { padding-top: 0; }
.info-list strong { font-weight: 700; color: var(--gold-soft); font-size: 13px; letter-spacing: 0.08em; }
.info-list span { color: rgba(255, 255, 255, 0.86); font-size: 14px; line-height: 1.7; }

/* ---- Footer (shared) ---- */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 40px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.6);
  background: #110d09;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.footer .brand b { font-size: 20px; }
.footer .brand small { color: var(--gold-soft); }

/* =====================================================================
   INDEX hub
   ===================================================================== */
.index-page { background: #14100c; color: #fff; }

.index-hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: 110px clamp(18px, 5vw, 64px) 56px;
  overflow: hidden;
}
.index-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(187, 59, 29, 0.4), transparent 55%),
    radial-gradient(70% 90% at 100% 100%, rgba(47, 64, 52, 0.55), transparent 60%),
    #14100c;
}
.index-hero .inner { position: relative; display: grid; gap: 22px; max-width: 100%; }
.index-hero h1 {
  max-width: min(22ch, 100%);
  color: #fff;
  font-size: clamp(34px, 5.4vw, 66px);
}
.index-hero .lead { color: rgba(255, 255, 255, 0.78); max-width: 56ch; }
.index-brand { display: flex; align-items: baseline; gap: 14px; }
.index-brand b { font-family: var(--serif); font-size: 30px; font-weight: 800; letter-spacing: 0.1em; }
.index-brand small { font-size: 12px; letter-spacing: 0.3em; color: var(--gold-soft); font-weight: 700; }

.index-grid { padding: clamp(40px, 6vw, 80px) clamp(18px, 5vw, 64px) 96px; }
.index-grid .inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.example-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.example-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 184, 120, 0.5);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.8);
}
.example-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.example-card .thumb img { transition: transform 0.7s ease; }
.example-card:hover .thumb img { transform: scale(1.06); }
.example-card .card-body { display: grid; gap: 10px; padding: 24px 26px 28px; }
.example-card .no { font-family: var(--latin); font-style: italic; font-size: 15px; color: var(--gold-soft); }
.example-card h3 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: 0.03em; }
.example-card p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.8; }
.example-card .go {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.example-card .go::after { content: "→"; transition: transform 0.3s ease; }
.example-card:hover .go::after { transform: translateX(5px); }

.index-note {
  width: min(var(--maxw), 100%);
  margin: 0 auto;
  padding-bottom: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* =====================================================================
   Per-concept palettes
   ===================================================================== */
.site-live   { --accent: #c8401b; --accent-deep: #9c2c0f; }
.site-private { --accent: #8c3322; --accent-deep: #6d2417; --green: #33453a; --paper: #f4ece0; }
.site-drinks { --accent: #b9842a; --accent-deep: #936417; }

.site-private .hero::after {
  background:
    linear-gradient(95deg, rgba(22, 13, 8, 0.78), rgba(22, 13, 8, 0.12) 58%, rgba(22, 13, 8, 0.5)),
    linear-gradient(0deg, rgba(22, 13, 8, 0.84), rgba(22, 13, 8, 0) 56%);
}
.site-drinks .hero::after {
  background:
    linear-gradient(95deg, rgba(6, 5, 4, 0.84), rgba(6, 5, 4, 0.24) 46%, rgba(6, 5, 4, 0.34)),
    linear-gradient(0deg, rgba(6, 5, 4, 0.88), rgba(6, 5, 4, 0) 60%);
}

/* =====================================================================
   Entrance animation (progressive, print/reduced-motion safe)
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* =====================================================================
   Responsive — shared pages
   ===================================================================== */
@media (max-width: 900px) {
  .nav { display: none; }
  .topbar { padding: 16px 20px; }
  .stats, .grid.three, .grid.two, .reservation, .feature-strip { grid-template-columns: 1fr; }
  .stats { width: 100%; margin-top: 0; border-radius: 0; border-left: none; border-right: none; }
  .stat { border-left: none; border-top: 1px solid var(--hair); }
  .stat:first-child { border-top: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .feature-strip { min-height: 0; }
  .feature-image { min-height: 300px; }
  .reservation { gap: 28px; }
  .index-grid .inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 15px; line-height: 1.75; }
  .topbar { padding: 12px 14px; }
  .brand { gap: 8px; white-space: normal; align-items: center; }
  .brand b { font-size: 20px; line-height: 1.1; }
  .brand small { font-size: 10px; letter-spacing: 0.16em; }
  .eyebrow {
    display: flex;
    max-width: 100%;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.16em;
    line-height: 1.55;
  }
  .eyebrow::before {
    width: 18px;
    flex: 0 0 18px;
  }
  .hero,
  .hero.short {
    min-height: auto;
  }
  .hero-content {
    width: min(100% - 28px, var(--maxw));
    padding: 96px 0 40px;
  }
  h1 {
    max-width: 100%;
    font-size: clamp(32px, 12vw, 46px);
    line-height: 1.18;
    letter-spacing: 0.01em;
  }
  h2 {
    max-width: 100%;
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.32;
    letter-spacing: 0.01em;
  }
  .lead {
    margin-top: 20px;
    font-size: 14.5px;
    line-height: 1.9;
  }
  .section {
    padding: 52px 16px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .section-head h2,
  .feature-copy h2 {
    max-width: 100%;
  }
  .card-body,
  .example-card .card-body {
    padding: 20px 18px 22px;
  }
  .menu-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .price {
    justify-self: start;
    white-space: normal;
  }
  .feature-copy {
    padding: 34px 16px 40px;
  }
  .feature-image {
    min-height: 240px;
  }
  .reservation {
    padding: 28px 18px;
  }
  .button { width: 100%; }
  .hero-actions { width: 100%; gap: 10px; }
  .info-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .footer {
    align-items: flex-start;
  }
  .index-hero {
    min-height: auto;
    padding: 84px 16px 42px;
  }
  .index-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .index-brand b { font-size: 25px; }
  .index-brand small { letter-spacing: 0.16em; line-height: 1.5; }
  .index-hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 10vw, 42px);
  }
  .index-grid {
    padding: 36px 16px 64px;
  }
}

@media (max-width: 380px) {
  .hero-content {
    width: min(100% - 24px, var(--maxw));
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  .button,
  .nav a,
  .pill-list span {
    letter-spacing: 0.06em;
  }
}
