:root {
  --color-primary: #7a2e2e;
  --color-primary-dark: #5c2222;
  --color-ember: #ff5722;
  --color-bg: #15110d;
  --color-bg-alt: #1c1611;
  --color-card: #241c16;
  --color-border: #3d3128;
  --color-text: #f3e9db;
  --color-text-muted: #a3937f;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-sans: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  background-image:
    url("../img/noise.png"),
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255,87,34,0.09), transparent 60%);
  background-size: 48px 48px, auto;
  background-repeat: repeat, no-repeat;
  color: var(--color-text);
  line-height: 1.7;
}

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

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(42, 20, 18, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  padding: 10px 0;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.brand span { font-family: var(--font-sans); font-size: 0.85rem; opacity: 0.85; margin-left: 4px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: opacity 0.2s ease;
}
.main-nav a:hover { opacity: 0.7; }
.nav-cta {
  background: var(--color-ember);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { opacity: 0.9 !important; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
  font-size: 0.78rem;
}
.lang-switch a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: color 0.2s ease;
}
.lang-switch a:hover, .lang-switch a.is-active { color: #fff; font-weight: 700; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg img {
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,6,4,0.55) 0%, rgba(10,6,4,0.35) 45%, rgba(10,6,4,0.75) 100%);
}
.hero-stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-stars span {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  animation: twinkle 4s ease-in-out infinite;
}
.hero-stars span:nth-child(1) { top: 12%; left: 6%; animation-delay: 0s; }
.hero-stars span:nth-child(2) { top: 20%; left: 18%; animation-delay: 0.6s; width: 3px; height: 3px; }
.hero-stars span:nth-child(3) { top: 8%; left: 30%; animation-delay: 1.4s; }
.hero-stars span:nth-child(4) { top: 26%; left: 42%; animation-delay: 2.1s; }
.hero-stars span:nth-child(5) { top: 10%; left: 55%; animation-delay: 0.9s; width: 3px; height: 3px; }
.hero-stars span:nth-child(6) { top: 18%; left: 66%; animation-delay: 2.8s; }
.hero-stars span:nth-child(7) { top: 6%; left: 78%; animation-delay: 1.7s; }
.hero-stars span:nth-child(8) { top: 24%; left: 88%; animation-delay: 3.3s; width: 3px; height: 3px; }
.hero-stars span:nth-child(9) { top: 15%; left: 95%; animation-delay: 0.3s; }
.hero-stars span:nth-child(10) { top: 30%; left: 10%; animation-delay: 2.5s; }
.hero-stars span:nth-child(11) { top: 5%; left: 48%; animation-delay: 1.1s; }
.hero-stars span:nth-child(12) { top: 22%; left: 74%; animation-delay: 3.7s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.3); box-shadow: 0 0 6px 1px rgba(255,255,255,0.6); }
}

.hero-embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-embers span {
  position: absolute;
  bottom: -20px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-ember);
  box-shadow: 0 0 8px 2px rgba(255,87,34,0.8);
  opacity: 0;
  animation: ember-rise 7s linear infinite;
}
.hero-embers span:nth-child(1) { left: 8%; animation-delay: 0s; }
.hero-embers span:nth-child(2) { left: 22%; animation-delay: 1.2s; animation-duration: 8s; }
.hero-embers span:nth-child(3) { left: 40%; animation-delay: 2.5s; }
.hero-embers span:nth-child(4) { left: 58%; animation-delay: 0.6s; animation-duration: 9s; }
.hero-embers span:nth-child(5) { left: 75%; animation-delay: 3.4s; }
.hero-embers span:nth-child(6) { left: 90%; animation-delay: 1.8s; animation-duration: 7.5s; }
.hero-embers span:nth-child(7) { left: 15%; animation-delay: 4.2s; animation-duration: 6.5s; width: 3px; height: 3px; }
.hero-embers span:nth-child(8) { left: 50%; animation-delay: 5.1s; animation-duration: 8.5s; width: 4px; height: 4px; }
.hero-embers span:nth-child(9) { left: 68%; animation-delay: 3.9s; animation-duration: 7s; width: 3px; height: 3px; }
.hero-embers span:nth-child(10) { left: 96%; animation-delay: 4.8s; animation-duration: 9.5s; width: 4px; height: 4px; }
@keyframes ember-rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-90vh) scale(0.3); opacity: 0; }
}

.hero-content { position: relative; z-index: 1; padding: 0 20px; }
.hero-eyebrow {
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  margin: 0 0 14px;
  opacity: 0.9;
  animation: fade-up 0.9s ease both;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: 0.06em;
  text-shadow: 0 0 14px rgba(255,87,34,0.55), 0 0 30px rgba(230,74,25,0.35);
  animation: fade-up 1.1s ease both, flicker 2.6s ease-in-out infinite alternate;
  animation-delay: 0.1s, 1.2s;
}
@keyframes flicker {
  0%, 100% { text-shadow: 0 0 14px rgba(255,87,34,0.55), 0 0 30px rgba(230,74,25,0.35); }
  50% { text-shadow: 0 0 20px rgba(255,87,34,0.8), 0 0 42px rgba(230,74,25,0.5); }
}
.hero-lang-badge {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  margin: 0 0 26px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  animation: fade-up 1.4s ease both;
}
.hero-lead {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  margin: 0 0 34px;
  opacity: 0.92;
  animation: fade-up 1.3s ease both;
  animation-delay: 0.2s;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fade-up 1.5s ease both;
  animation-delay: 0.3s;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--color-ember);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,87,34,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,87,34,0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-cue span {
  display: block;
  width: 22px; height: 22px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: bounce-down 1.8s ease-in-out infinite;
  opacity: 0.85;
}
@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translate(0,0); }
  50% { transform: rotate(45deg) translate(6px,6px); }
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt {
  background-color: var(--color-bg-alt);
  background-image:
    url("../img/noise.png"),
    linear-gradient(180deg, rgba(255,87,34,0.06), transparent 30%);
  background-size: 48px 48px, auto;
  background-repeat: repeat, no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), inset 0 -1px 0 rgba(0,0,0,0.3);
}
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-eyebrow {
  text-align: center;
  color: var(--color-ember);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin: 0 0 48px;
  color: var(--color-text);
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* History story blocks */
.story-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.story-block {
  padding-left: 56px;
  position: relative;
}
.story-icon {
  position: absolute;
  left: 0; top: 2px;
  font-size: 1.6rem;
  line-height: 1;
}
.story-block h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-ember);
}
.story-block p {
  margin: 0 0 10px;
  color: var(--color-text-muted);
}
.story-block p:last-child { margin-bottom: 0; }

/* Concept */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.concept-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.concept-card:hover { transform: translateY(-6px); border-color: rgba(255,87,34,0.4); box-shadow: 0 18px 36px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,87,34,0.15); }
.concept-icon { font-size: 2.2rem; margin-bottom: 14px; }
.concept-card h3 { margin: 0 0 10px; font-size: 1.1rem; color: var(--color-ember); }
.concept-card p { margin: 0; color: var(--color-text-muted); font-size: 0.92rem; }

/* Menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.menu-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.menu-item:hover { transform: translateY(-4px); border-color: rgba(255,87,34,0.4); box-shadow: 0 14px 28px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,87,34,0.15); }
.menu-item-name {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 700; font-size: 1.05rem; margin-bottom: 8px;
}
.menu-item-price { color: var(--color-ember); font-family: var(--font-serif); }
.menu-item-desc { margin: 0; color: var(--color-text-muted); font-size: 0.88rem; }
.menu-note { text-align: center; color: var(--color-text-muted); font-size: 0.82rem; margin-top: 28px; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 10px 26px rgba(0,0,0,0.35); border: 1px solid var(--color-border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-wide { grid-column: span 2; }

/* Access */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.info-list { margin: 0 0 28px; }
.info-list div {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.info-list dt { flex: 0 0 90px; color: var(--color-text-muted); font-size: 0.88rem; }
.info-list dd { margin: 0; font-weight: 600; }
.access-map {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.access-map iframe {
  width: 100%; height: 100%; min-height: 300px;
  border: 0; border-radius: 10px;
  display: block;
}

/* Footer */
.site-footer { background: var(--color-primary-dark); color: #fff; padding: 48px 0 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; text-align: center; }
.footer-brand { font-family: var(--font-serif); font-size: 1.3rem; margin: 0 0 18px; letter-spacing: 0.05em; }
.footer-nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.footer-nav a { text-decoration: none; color: rgba(255,255,255,0.85); font-size: 0.88rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { margin: 0; font-size: 0.78rem; opacity: 0.6; }

/* ===== Responsive ===== */
.sp-only { display: none; }

@media (max-width: 880px) {
  .access-grid { grid-template-columns: 1fr; }
  .access-map iframe { min-height: 260px; }
}

@media (max-width: 720px) {
  .sp-only { display: inline; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(20,10,8,0.97);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .lang-switch { gap: 7px; font-size: 0.7rem; margin-left: 8px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-wide { grid-column: span 2; }
}

/* Full menu (generated by tools/gen_homepage_menu.py) */
.fm-title { text-align: center; font-family: var(--font-serif); font-size: 1.4rem; margin: 56px 0 24px; color: var(--color-ember); }
.fm { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.fm-cat { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 14px; padding: 0 22px; box-shadow: 0 8px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.fm-cat:hover { border-color: rgba(255,87,34,0.4); box-shadow: 0 14px 28px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,87,34,0.15); }
.fm-cat[open] { grid-column: 1 / -1; border-color: rgba(255,87,34,0.4); }
.fm-cat summary { cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; align-items: baseline; gap: 10px; }
.fm-cat summary::-webkit-details-marker { display: none; }
.fm-cat summary::after { content: "＋"; color: var(--color-ember); font-family: var(--font-serif); margin-left: 10px; }
.fm-cat[open] summary::after { content: "－"; }
.fm-count { margin-left: auto; color: var(--color-text-muted); font-size: 0.8rem; font-weight: 400; }
.fm-sub { margin: 6px 0 4px; font-size: 0.85rem; color: var(--color-ember); font-weight: 700; }
.fm-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 28px; }
.fm-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--color-border); font-size: 0.95rem; }
.fm-img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; background: var(--color-bg-alt); }
.fm-name { flex: 1; }
.fm-price { color: var(--color-ember); font-family: var(--font-serif); white-space: nowrap; }

/* こだわり・宴会カード: 押せるリンク */
a.concept-link { display: block; color: inherit; text-decoration: none; cursor: pointer; position: relative; }
a.concept-link::after { content: "→"; position: absolute; right: 18px; bottom: 14px; color: var(--color-ember); font-family: var(--font-serif); opacity: 0.7; transition: transform 0.25s ease, opacity 0.25s ease; }
a.concept-link:hover::after { transform: translateX(4px); opacity: 1; }
a.concept-link:focus-visible { outline: 2px solid var(--color-ember); outline-offset: 3px; }
.hero-lang-badge a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.45); }
.hero-lang-badge a:hover { color: var(--color-ember); text-decoration-color: var(--color-ember); }

.main-nav a.nav-featured { color: var(--color-ember); white-space: nowrap; }
.main-nav a.nav-featured { padding: 6px 14px; border: 1px solid var(--color-ember); border-radius: 999px; background: rgba(255,87,34,0.16); font-weight: 700; }
.main-nav a.nav-featured:hover { background: rgba(255,87,34,0.32); }

/* ナビが増えても折り返さない */
.header-inner { max-width: 1280px; }
.main-nav { gap: 20px; }
.main-nav a, .lang-switch a { white-space: nowrap; }
@media (min-width: 721px) and (max-width: 1180px) {
  .header-inner { padding: 0 12px; }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 0.8rem; letter-spacing: 0; }
  .main-nav a.nav-featured { padding: 5px 10px; }
  .nav-cta { padding: 8px 13px; }
  .lang-switch { gap: 7px; margin-left: 6px; font-size: 0.72rem; }
}

/* ナビのPR(運営元の他事業へのリンク) */
.nav-pr { position: relative; }
.main-nav .nav-pr-btn { background: none; border: 0; padding: 4px 2px; color: #fff; font: inherit; font-size: 0.92rem; letter-spacing: 0.03em; text-shadow: 0 1px 4px rgba(0,0,0,0.4); cursor: pointer; white-space: nowrap; opacity: 0.85; }
.nav-pr-menu { display: none; position: absolute; top: 100%; right: 0; min-width: 170px; padding: 8px; margin-top: 8px; background: rgba(20,10,8,0.97); border: 1px solid var(--color-border); border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,0.5); z-index: 60; }
.nav-pr:hover .nav-pr-menu, .nav-pr:focus-within .nav-pr-menu, .nav-pr.open .nav-pr-menu { display: block; }
.nav-pr::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-pr-menu a { display: block; padding: 9px 12px; border-radius: 8px; white-space: nowrap; }
.nav-pr-menu a:hover { background: rgba(255,255,255,0.08); opacity: 1; }
@media (min-width: 721px) and (max-width: 1180px) { .main-nav .nav-pr-btn { font-size: 0.8rem; letter-spacing: 0; } }
@media (max-width: 720px) {
  .nav-pr-btn { display: none; }
  .nav-pr-menu { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; margin: 0; min-width: 0; }
  .nav-pr-menu a { padding: 0; text-align: center; margin-top: 30px; font-size: 1.05rem; opacity: 0.8; }
  .nav-pr::after { display: none; }
}
