:root {
  --red: #9c2b35;
  --red-deep: #7a1f28;
  --gold: #c9a24a;
  --gold-soft: #e6cd8f;
  --gold-deep: #9c7a2f;
  --black: #0f0d0a;
  --charcoal: #1c1815;
  --charcoal-soft: #241f1a;
  --paper: #f6efdd;
  --paper-deep: #ecdfc0;
  --brown: #3d2f22;
  --brown-soft: #7c6a53;
  --cream: #f3ecdd;
  --cream-soft: rgba(243,236,221,0.68);
  --white: #fffcf5;
  --shadow: 0 22px 46px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.30);
  --ph-gradient: linear-gradient(155deg, #e9d9a8 0%, #cba85c 45%, #8f6c28 100%);
  --seigaiha:
    radial-gradient(circle at 0 100%, transparent 23%, rgba(201,162,74,0.07) 24%, rgba(201,162,74,0.07) 27%, transparent 28%),
    radial-gradient(circle at 100% 100%, transparent 23%, rgba(201,162,74,0.07) 24%, rgba(201,162,74,0.07) 27%, transparent 28%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  background: var(--charcoal);
  color: var(--cream);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.pop {
  font-family: "Toppan Bunkyu Midashi Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
}
.mincho {
  font-family: "Toppan Bunkyu Midashi Mincho", "Hiragino Mincho ProN", serif;
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 26px;
}

section { padding: 120px 0; position: relative; }

.washi {
  background-image: var(--seigaiha);
  background-size: 46px 46px;
}

/* ---------- corner frame ---------- */
.corner-frame { position: relative; }
.corner-frame::before, .corner-frame::after,
.corner-frame .cf-tr, .corner-frame .cf-bl {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.85;
}
.corner-frame::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.corner-frame::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }
.corner-frame .cf-tr { top: -1px; right: -1px; border-width: 1.5px 1.5px 0 0; }
.corner-frame .cf-bl { bottom: -1px; left: -1px; border-width: 0 0 1.5px 1.5px; }

/* ---------- Header ---------- */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,13,10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,162,74,0.35);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: "Toppan Bunkyu Midashi Gothic", sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--gold-soft);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand span { color: var(--white); }
.tanuki-icon { width: 26px; height: 26px; color: var(--gold-soft); flex-shrink: 0; }
footer .brand.pop { display: inline-flex; }
.nav-links { display: flex; gap: 30px; font-size: 12.5px; letter-spacing: 0.06em; }
.nav-links a { color: rgba(243,236,221,0.75); transition: color 0.3s ease; font-weight: 500; }
.nav-links a:hover { color: var(--gold-soft); }
.nav-cta {
  position: relative;
  background: transparent;
  color: var(--gold-soft) !important;
  padding: 9px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid var(--gold);
  transition: background 0.35s ease, color 0.35s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 74px;
  background:
    linear-gradient(180deg, rgba(10,8,6,0.72) 0%, rgba(10,8,6,0.8) 55%, rgba(10,8,6,0.96) 100%),
    url("images/exterior.jpg") center 62% / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 460px at 82% 38%, rgba(201,66,54,0.22), transparent 68%);
}
.hero .container { position: relative; z-index: 2; }
.hero .badge-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-soft);
  background: rgba(201,162,74,0.06);
  border: 1px solid var(--gold);
  padding: 9px 26px;
  margin-bottom: 40px;
  letter-spacing: 0.22em;
}
.hero .badge-stamp::before, .hero .badge-stamp::after { content: "◆"; font-size: 7px; color: var(--gold); }
.hero h1 {
  font-family: "Toppan Bunkyu Midashi Gothic", sans-serif;
  font-weight: 700;
  font-size: clamp(50px, 9vw, 94px);
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 30px rgba(201,162,74,0.25);
}
.hero .gold-rule { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); margin: 0 auto 26px; }
.hero .catch {
  font-family: "Toppan Bunkyu Midashi Mincho", serif;
  font-weight: 700;
  font-size: clamp(18px, 2.3vw, 23px);
  color: var(--gold-soft);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}
.hero .sub {
  font-size: 13.5px;
  color: rgba(243,236,221,0.6);
  max-width: 460px;
  margin: 0 auto 48px;
  letter-spacing: 0.02em;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  font-family: "Toppan Bunkyu Midashi Gothic", sans-serif;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(156,43,53,0.4);
}
.btn-red:hover { transform: translateY(-2px) scale(1.03); background: var(--red-deep); box-shadow: 0 20px 38px rgba(156,43,53,0.5); }
.btn-yellow { background: transparent; color: var(--gold-soft); border-color: rgba(201,162,74,0.55); }
.btn-yellow:hover { transform: translateY(-2px); background: rgba(201,162,74,0.1); border-color: var(--gold); }

/* ---------- Section head ---------- */
.section-head { text-align: center; margin-bottom: 64px; position: relative; z-index: 1; }
.section-head .tag {
  display: block;
  font-family: "Toppan Bunkyu Midashi Mincho", serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: "Toppan Bunkyu Midashi Gothic", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 36px);
}
.section-head p { margin-top: 12px; font-size: 14px; }
.on-dark .section-head h2 { color: var(--white); }
.on-dark .section-head p { color: rgba(243,236,221,0.6); }
.on-light .section-head h2 { color: var(--black); }
.on-light .section-head p { color: var(--brown-soft); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(.2,.7,.3,1), transform 0.8s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Atmosphere (dark) ---------- */
.atmosphere { background: var(--black); }
.atmos-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 54px;
  align-items: center;
  position: relative; z-index: 1;
}
.atmos-photos { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.ph {
  background: var(--ph-gradient);
  display: flex; align-items: center; justify-content: center;
  color: rgba(15,13,10,0.55);
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  overflow: hidden;
}
.ph:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-a { grid-row: span 2; aspect-ratio: 3/4.3; }
.ph-b, .ph-c { aspect-ratio: 3/2.2; }
.atmos-text .tag { font-family: "Toppan Bunkyu Midashi Mincho", serif; font-size: 12.5px; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 16px; display: block; }
.atmos-text h3 { font-family: "Toppan Bunkyu Midashi Gothic", sans-serif; font-size: 26px; color: var(--white); margin-bottom: 22px; }
.atmos-text p { color: rgba(243,236,221,0.68); font-size: 14.5px; margin-bottom: 15px; }

/* ---------- Menu (light washi paper) ---------- */
.menu-section { background: var(--paper); color: var(--brown); }
.menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-flow: dense; gap: 26px; margin-bottom: 26px; position: relative; z-index: 1; }
.menu-card {
  background: var(--white);
  border: 1px solid var(--paper-deep);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease, box-shadow 0.4s ease, margin-top 0.4s ease;
}
.menu-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.menu-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.menu-card.featured .menu-photo { aspect-ratio: auto; flex: 1; min-height: 220px; }
.menu-card.featured .menu-body .mname h3 { font-size: 20px; }
.menu-card:nth-child(3n+2) { margin-top: 32px; }
.menu-card:nth-child(5n+4) { margin-top: -14px; }
@media (max-width: 960px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .menu-card.featured { grid-column: span 2; }
  .menu-card:nth-child(3n+2), .menu-card:nth-child(5n+4) { margin-top: 0; }
}
.menu-photo {
  aspect-ratio: 4/3;
  background: var(--ph-gradient);
  display: flex; align-items: center; justify-content: center;
  color: rgba(15,13,10,0.55);
  font-weight: 700;
  font-size: 12.5px;
  overflow: hidden;
}
.menu-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-body { padding: 20px 22px 24px; }
.menu-body .mname { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.menu-body .mname h3 { font-size: 16px; color: var(--black); font-weight: 700; }
.menu-body .mname .price { font-family: "Toppan Bunkyu Midashi Gothic", sans-serif; font-weight: 700; color: var(--red); font-size: 17px; white-space: nowrap; }
.menu-body p { font-size: 12.5px; color: var(--brown-soft); }
.popular-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--black);
  color: var(--gold-soft);
  font-family: "Toppan Bunkyu Midashi Gothic", sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  padding: 4px 12px;
  border: 1px solid var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

/* ---------- Nomihoudai plan ---------- */
.nomihoudai {
  margin-top: 56px;
  background: var(--black);
  padding: 58px 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-deep);
  z-index: 1;
}
.nomihoudai::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--seigaiha);
  background-size: 40px 40px;
}
.nomihoudai-head { position: relative; text-align: center; margin-bottom: 38px; }
.nomihoudai-head .tag2 {
  display: block;
  font-family: "Toppan Bunkyu Midashi Mincho", serif;
  color: var(--gold);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}
.nomihoudai-head h3 { font-family: "Toppan Bunkyu Midashi Gothic", sans-serif; color: var(--white); font-size: 27px; }
.plan-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.plan-card {
  background: rgba(201,162,74,0.04);
  padding: 34px 30px;
  border: 1px solid rgba(201,162,74,0.4);
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.plan-card:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(201,162,74,0.08); }
.plan-card .pname { font-family: "Toppan Bunkyu Midashi Gothic", sans-serif; font-weight: 700; font-size: 17px; color: var(--gold-soft); margin-bottom: 10px; }
.plan-card .pprice { font-family: "Toppan Bunkyu Midashi Gothic", sans-serif; font-weight: 700; font-size: 30px; color: var(--white); margin-bottom: 14px; }
.plan-card .pprice span { font-size: 13px; font-weight: 400; color: rgba(243,236,221,0.5); }
.plan-card ul { list-style: none; font-size: 13.5px; color: rgba(243,236,221,0.78); display: flex; flex-direction: column; gap: 7px; }
.plan-card ul li::before { content: "— "; color: var(--gold); }

/* ---------- Access (dark) ---------- */
.access { background: var(--black); }
.access-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 34px; position: relative; z-index: 1; }
.info-panel {
  background: rgba(201,162,74,0.03);
  padding: 40px 36px;
  border: 1px solid rgba(201,162,74,0.3);
  border-top: 2px solid var(--gold);
}
.info-panel h3 { font-family: "Toppan Bunkyu Midashi Gothic", sans-serif; font-size: 17px; color: var(--white); margin-bottom: 26px; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(201,162,74,0.18); font-size: 14px; }
.info-row:last-child { border-bottom: none; }
.info-row .k { color: rgba(243,236,221,0.55); }
.info-row .v { font-weight: 700; text-align: right; color: var(--gold-soft); }
.map-box {
  aspect-ratio: 16/9;
  background: var(--ph-gradient);
  display: flex; align-items: center; justify-content: center;
  color: rgba(15,13,10,0.6);
  font-weight: 700;
  font-size: 13px;
  margin-top: 24px;
  transition: transform 0.4s ease;
}
.map-box:hover { transform: translateY(-4px); }
.access-note { margin-top: 18px; font-size: 13px; color: rgba(243,236,221,0.5); line-height: 1.9; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--black);
  color: rgba(243,236,221,0.55);
  padding: 54px 0 32px;
  text-align: center;
  font-size: 12.5px;
  border-top: 1px solid var(--gold);
}
footer .brand { font-size: 22px; margin-bottom: 14px; display: block; color: var(--gold-soft); }
footer .foot-links { display: flex; justify-content: center; gap: 26px; margin: 20px 0; flex-wrap: wrap; }
footer .foot-links a { color: rgba(243,236,221,0.8); transition: color 0.3s ease; font-weight: 500; }
footer .foot-links a:hover { color: var(--gold-soft); }
footer .demo-badge {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  color: var(--gold-soft);
  border: 1px solid rgba(201,162,74,0.5);
  padding: 6px 16px;
}

@media (max-width: 780px) {
  section { padding: 78px 0; }
  .nav-links { display: none; }
  .atmos-grid { grid-template-columns: minmax(0,1fr); }
  .plan-grid { grid-template-columns: minmax(0,1fr); }
  .access-grid { grid-template-columns: minmax(0,1fr); }
  .menu-grid { grid-template-columns: minmax(0,1fr); }
  .menu-card.featured { grid-column: span 1; }
}
