/* ============================================================
   飲み処 まどい — Madoi / Style
   Independent stylesheet — NOT inherited from sample source
   Palette: 赤暖簾 × 山吹黄看板 × 墨黒 × 生成り紙 × 木目
   Mood: 昭和大衆居酒屋・名古屋市内通・PM5:00・¥100おでん・地元の止まり木
   ============================================================ */

:root {
  --c-bg-paper:   #F4E9CE;   /* 生成り紙 (お品書き地色) */
  --c-bg-cream:   #FBF4DF;   /* 薄黄白 (基調) */
  --c-bg-dark:    #1A1612;   /* 墨黒 (帯背景) */
  --c-bg-deep:    #2A1E16;   /* 焦げ茶 */
  --c-ink:        #1A1612;
  --c-ink-soft:   #3D3328;
  --c-red:        #C8281F;   /* 暖簾の赤 */
  --c-red-deep:   #962118;
  --c-yellow:     #E3B007;   /* 看板の山吹黄 */
  --c-gold:       #D4A537;   /* 灯火 */
  --c-wood:       #8B5A2B;   /* 木格子戸 */
  --c-wood-soft:  #B58455;
  --c-line:       #C9B98C;
  --c-muted:      #6E5B3C;

  --f-jp:        "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  --f-jp-bold:   "Reggae One", "Yuji Boku", "Noto Serif JP", serif;   /* 看板用太筆 */
  --f-en-display:"Bebas Neue", "Oswald", sans-serif;
  --f-en-body:   "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--c-bg-cream);
  color: var(--c-ink);
  font-family: var(--f-jp);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
  letter-spacing: 0.05em;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  background: rgba(26, 22, 18, 0.0);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
  color: #FBF4DF;
}
.site-header.is-condensed {
  padding: 12px 40px;
  background: rgba(26, 22, 18, 0.94);
  box-shadow: 0 1px 0 rgba(212, 165, 55, 0.18);
  backdrop-filter: blur(8px);
}

.site-logo { display: flex; align-items: baseline; gap: 14px; }
.site-logo__brand {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.28em;
  color: #FBF4DF;
}
.site-logo__sub {
  font-family: var(--f-jp);
  font-size: 12px;
  letter-spacing: 0.30em;
  color: var(--c-gold);
}

.global-nav { display: flex; gap: 36px; }
.global-nav a {
  font-family: var(--f-en-display);
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #FBF4DF;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.global-nav a:hover { color: var(--c-yellow); }
.global-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--c-yellow);
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-tel {
  font-family: var(--f-en-display);
  font-size: 20px;
  letter-spacing: 0.10em;
  color: #FBF4DF;
  font-weight: 500;
}
.reserve-btn {
  display: inline-flex; align-items: center;
  padding: 10px 22px;
  background: var(--c-red);
  color: #FBF4DF;
  font-family: var(--f-jp);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.28em;
  transition: background 0.3s ease;
}
.reserve-btn:hover { background: var(--c-red-deep); }

/* Sub-pages: 黒ヘッダ常時 */
.site-header[data-page]:not([data-page="home"]) {
  background: rgba(26, 22, 18, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(212, 165, 55, 0.18);
  padding: 14px 40px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: stretch;
  overflow: hidden;
  color: #FBF4DF;
  background: var(--c-bg-dark);
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.55) saturate(0.92) contrast(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,22,18,0.55) 0%, rgba(26,22,18,0.25) 40%, rgba(26,22,18,0.85) 100%);
  z-index: 1;
}
.hero__copy {
  position: relative; z-index: 3;
  align-self: flex-end;
  padding: 0 80px 110px;
  max-width: 920px;
}
.hero__time {
  display: inline-block;
  font-family: var(--f-en-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--c-yellow);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-yellow);
}
.hero__mark {
  font-family: var(--f-jp);
  font-size: 14px;
  letter-spacing: 1.3em;
  margin-bottom: 18px;
  color: rgba(251, 244, 223, 0.86);
  padding-left: 0.65em;
}
.hero__brand {
  font-family: var(--f-jp-bold);
  font-weight: 800;
  font-size: clamp(64px, 12vw, 168px);
  letter-spacing: 0.12em;
  line-height: 1.02;
  margin-bottom: 28px;
  color: #FBF4DF;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.hero__sub {
  font-family: var(--f-jp);
  font-size: 14px;
  letter-spacing: 0.5em;
  color: rgba(251, 244, 223, 0.88);
  margin-bottom: 28px;
  padding-left: 0.25em;
}
.hero__lead {
  font-family: var(--f-jp);
  font-size: 17px;
  line-height: 2.0;
  letter-spacing: 0.12em;
  color: rgba(251, 244, 223, 0.92);
  max-width: 540px;
}
.hero__strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: var(--c-red);
  color: #FBF4DF;
  padding: 14px 80px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-jp);
  font-size: 13px;
  letter-spacing: 0.20em;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero__strip span { color: var(--c-yellow); font-weight: 700; padding: 0 8px; }

/* ============================================================
   Section
   ============================================================ */
.section {
  padding: 130px 80px;
  position: relative;
}
.section--paper { background: var(--c-bg-paper); }
.section--cream { background: var(--c-bg-cream); }
.section--dark  { background: var(--c-bg-dark); color: #FBF4DF; }
.section--dark .s-label { color: var(--c-yellow); }
.section--dark .s-title { color: #FBF4DF; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.s-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-en-display);
  font-size: 17px;
  letter-spacing: 0.38em;
  color: var(--c-red);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.s-label::before {
  content: ""; width: 40px; height: 2px;
  background: var(--c-red);
}
.s-title {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0.10em;
  line-height: 1.5;
  color: var(--c-ink);
  margin-bottom: 56px;
}

/* ============================================================
   Concept
   ============================================================ */
.concept-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.concept-text .lead {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.95;
  letter-spacing: 0.10em;
  color: var(--c-red-deep);
  margin-bottom: 28px;
}
.concept-text p {
  font-family: var(--f-jp);
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.08em;
  color: var(--c-ink-soft);
  margin-bottom: 22px;
}
.concept-figure {
  position: relative;
}
.concept-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.concept-figure::after {
  content: ""; position: absolute;
  top: 18px; right: -18px; bottom: -18px; left: 18px;
  border: 2px solid var(--c-yellow);
  z-index: -1;
}

/* ============================================================
   Price strip (¥100 おでん帯)
   ============================================================ */
.price-strip {
  background: var(--c-bg-dark);
  color: #FBF4DF;
  padding: 80px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 4px solid var(--c-yellow);
  border-bottom: 4px solid var(--c-yellow);
}
.price-strip > div {
  text-align: center;
  padding: 30px 16px;
  border-right: 1px dashed rgba(212, 165, 55, 0.3);
}
.price-strip > div:last-child { border-right: none; }
.price-strip__num {
  font-family: var(--f-en-display);
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-yellow);
  margin-bottom: 6px;
}
.price-strip__yen {
  font-family: var(--f-jp);
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--c-yellow);
  margin-bottom: 22px;
}
.price-strip__name {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.24em;
  color: #FBF4DF;
  margin-bottom: 8px;
}
.price-strip__desc {
  font-family: var(--f-jp);
  font-size: 12px;
  letter-spacing: 0.10em;
  color: rgba(251, 244, 223, 0.65);
  line-height: 1.7;
}

/* ============================================================
   Signature dishes (HOME)
   ============================================================ */
.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dish {
  background: #FFFBE9;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
  border: 1px solid var(--c-line);
}
.dish:hover { transform: translateY(-4px); }
.dish__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.dish__body { padding: 26px 24px 28px; }
.dish__num {
  font-family: var(--f-en-display);
  font-size: 14px;
  letter-spacing: 0.30em;
  color: var(--c-red);
  margin-bottom: 8px;
}
.dish__name {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.16em;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.dish__desc {
  font-family: var(--f-jp);
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  margin-bottom: 18px;
  min-height: 50px;
}
.dish__price {
  font-family: var(--f-en-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--c-red-deep);
}
.dish__price small {
  font-family: var(--f-jp);
  font-size: 12px;
  letter-spacing: 0.20em;
  margin-left: 4px;
  color: var(--c-muted);
}

.section-action {
  display: flex; justify-content: center;
  margin-top: 48px;
}
.text-btn {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--c-red);
  padding: 12px 0;
  border-bottom: 2px solid var(--c-yellow);
  transition: color 0.3s ease, padding 0.3s ease;
}
.text-btn:hover { color: var(--c-red-deep); padding-right: 8px; }

/* ============================================================
   Story (counter band)
   ============================================================ */
.story-band {
  background: var(--c-bg-dark);
  color: #FBF4DF;
  padding: 130px 80px;
  position: relative;
  overflow: hidden;
}
.story-band__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.story-band__img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
}
.story-band__copy .s-label { color: var(--c-yellow); }
.story-band__copy h2 {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: 0.10em;
  line-height: 1.65;
  margin-bottom: 32px;
  color: #FBF4DF;
}
.story-band__copy p {
  font-family: var(--f-jp);
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.08em;
  color: rgba(251, 244, 223, 0.85);
  margin-bottom: 22px;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; }
.gallery-grid figure img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.6s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid .span-3 { grid-column: span 3; aspect-ratio: auto; }
.gallery-grid .span-3 img { aspect-ratio: 6 / 5; }
.gallery-grid .span-2 { grid-column: span 2; }
.gallery-notice {
  margin-top: 28px;
  font-family: var(--f-jp);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-muted);
  text-align: center;
}

/* ============================================================
   Access
   ============================================================ */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.access-info dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px 36px;
  margin-top: 8px;
}
.access-info dt {
  font-family: var(--f-en-display);
  font-size: 16px;
  letter-spacing: 0.30em;
  color: var(--c-red);
  padding-top: 4px;
  text-transform: uppercase;
}
.access-info dd {
  font-family: var(--f-jp);
  font-size: 15px;
  line-height: 2.0;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 22px;
}
.access-info dd a { color: var(--c-red-deep); border-bottom: 1px dotted var(--c-yellow); }
.access-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--c-wood);
  filter: grayscale(0.15);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--c-red);
  color: #FBF4DF;
  padding: 110px 80px;
  text-align: center;
  position: relative;
}
.cta-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--c-yellow);
}
.cta-band__en {
  font-family: var(--f-en-display);
  font-size: 19px;
  letter-spacing: 0.36em;
  color: var(--c-yellow);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.cta-band__jp {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.14em;
  margin-bottom: 40px;
}
.cta-band__row {
  display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap;
}
.cta-link {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 40px;
  border: 2px solid rgba(251, 244, 223, 0.5);
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: #FBF4DF;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cta-link:hover {
  background: var(--c-yellow);
  color: var(--c-bg-dark);
  border-color: var(--c-yellow);
}
.cta-link--tel {
  background: var(--c-yellow);
  color: var(--c-bg-dark);
  border-color: var(--c-yellow);
  font-family: var(--f-en-display);
  font-size: 22px;
  letter-spacing: 0.10em;
}
.cta-link--tel:hover { background: #FBF4DF; color: var(--c-bg-dark); }

/* ============================================================
   Page hero (sub)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: #FBF4DF;
  text-align: center;
  background: var(--c-bg-dark);
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}
.page-hero::after {
  content: ""; position: absolute; inset: 24px;
  border: 2px solid rgba(251, 244, 223, 0.22);
}
.page-hero__copy { position: relative; z-index: 2; padding: 0 24px; padding-top: 60px; }
.page-hero__en {
  font-family: var(--f-en-display);
  font-weight: 400;
  font-size: clamp(64px, 9vw, 124px);
  letter-spacing: 0.10em;
  line-height: 1;
  margin-bottom: 18px;
}
.page-hero__jp {
  font-family: var(--f-jp);
  font-size: 14px;
  letter-spacing: 1.1em;
  padding-left: 0.55em;
  opacity: 0.92;
}

/* ============================================================
   Menu list (full menu page)
   ============================================================ */
.menu-group { margin-bottom: 64px; }
.menu-group__head {
  display: flex; align-items: baseline; gap: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-red);
  margin-bottom: 26px;
}
.menu-group__en {
  font-family: var(--f-en-display);
  font-size: 36px;
  letter-spacing: 0.14em;
  color: var(--c-red);
}
.menu-group__jp {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.40em;
  color: var(--c-ink);
}

.menu-list { display: grid; gap: 18px; }
.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--c-line);
}
.menu-row__name {
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.menu-row__desc {
  font-family: var(--f-jp);
  font-size: 12.5px;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
}
.menu-row__price {
  font-family: var(--f-en-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--c-red-deep);
  white-space: nowrap;
}
.menu-row__price small {
  font-family: var(--f-jp);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-left: 4px;
  color: var(--c-muted);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0F0C09;
  color: #C9B98C;
  padding: 80px 80px 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px;
}
.footer-brand .b-en {
  display: block;
  font-family: var(--f-jp-bold);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.28em;
  color: #FBF4DF;
  margin-bottom: 8px;
}
.footer-brand .b-jp {
  display: block;
  font-family: var(--f-jp);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--c-yellow);
  margin-bottom: 22px;
}
.footer-brand p {
  font-family: var(--f-jp);
  font-size: 13px;
  line-height: 2.0;
  letter-spacing: 0.06em;
  opacity: 0.78;
}
.footer-col h4 {
  font-family: var(--f-en-display);
  font-size: 16px;
  letter-spacing: 0.32em;
  color: var(--c-yellow);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-family: var(--f-jp);
  font-size: 13px;
  letter-spacing: 0.10em;
  margin-bottom: 12px;
  opacity: 0.86;
}
.footer-col li a { transition: color 0.3s ease; }
.footer-col li a:hover { color: var(--c-yellow); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 185, 140, 0.18);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-family: var(--f-en-display);
  font-size: 12px;
  letter-spacing: 0.24em;
  opacity: 0.75;
}
.footer-group { display: inline-flex; align-items: center; gap: 12px; }
.footer-group__label {
  font-family: var(--f-en-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  opacity: 0.7;
}
.footer-group__brand {
  font-family: var(--f-en-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.26em;
  color: var(--c-yellow);
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .site-header { padding: 12px 20px; }
  .global-nav { display: none; }
  .header-tel { font-size: 14px; }
  .reserve-btn { padding: 8px 14px; font-size: 11px; letter-spacing: 0.18em; }
  .hero__copy { padding: 0 24px 100px; }
  .hero__strip { padding: 12px 24px; font-size: 11px; flex-direction: column; gap: 4px; }
  .hero__time { font-size: 44px; }
  .section { padding: 80px 24px; }
  .concept-grid, .access-grid, .story-band__grid { grid-template-columns: 1fr; gap: 40px; }
  .price-strip { grid-template-columns: 1fr 1fr; padding: 48px 20px; }
  .price-strip > div { border-right: none; border-bottom: 1px dashed rgba(212,165,55,0.3); padding: 24px 8px; }
  .price-strip > div:nth-last-child(-n+2) { border-bottom: none; }
  .price-strip__num { font-size: 56px; }
  .dishes { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .span-3, .gallery-grid .span-2 { grid-column: span 2; }
  .story-band { padding: 80px 24px; }
  .cta-band { padding: 70px 24px; }
  .site-footer { padding: 60px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .access-info dl { grid-template-columns: 1fr; gap: 4px 0; }
  .access-info dt { padding-top: 18px; }
  .access-info dd { padding-bottom: 12px; }
  .concept-figure::after { display: none; }
}
