/* ==========================================================
   炭火焼肉 燠火-OKABI- デモサイト
   Design concept: 備長炭の炎・熾火（おきび）をモチーフにした
   ドラマチックな焼肉レストランサイト
   ========================================================== */

:root {
  --bg: #110C09;
  --bg-panel: #1B1410;
  --bg-panel-alt: #241A14;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 158, 92, 0.28);
  --text: #F4EBE1;
  --text-muted: #B6A392;
  --ember: #FF6A2C;
  --ember-bright: #FFA24D;
  --ember-deep: #C8401A;
  --gold: #E8B36B;

  --font-display: "Shippori Mincho", "Noto Sans JP", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-nav: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;

  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.6em;
  color: var(--text);
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

img, svg, canvas { max-width: 100%; }

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
}

/* ---------- Demo banner ---------- */
.demo-banner {
  position: relative;
  z-index: 60;
  margin: 0;
  padding: 10px 20px;
  text-align: center;
  font-size: 12.5px;
  color: #2A1B10;
  background: var(--gold);
}

.demo-banner a {
  text-decoration: underline;
  font-weight: 700;
}

/* ---------- Ember particle canvas ---------- */
#ember-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* Rising smoke wisps — drift slowly upward across the whole page */
.smoke-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.smoke {
  position: absolute;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 160, 130, 0.12), transparent 70%);
  filter: blur(30px);
  opacity: 0;
}

.smoke.s1 { left: 8%;  width: 420px; height: 420px; animation: smokeRise 28s linear infinite; }
.smoke.s2 { left: 52%; width: 520px; height: 520px; animation: smokeRise 36s linear infinite 7s; }
.smoke.s3 { left: 78%; width: 360px; height: 360px; animation: smokeRise 32s linear infinite 14s; }

@keyframes smokeRise {
  0%   { transform: translate(0, 0) scale(1);      opacity: 0; }
  10%  { opacity: 0.45; }
  50%  { transform: translate(20px, -55vh) scale(1.15); opacity: 0.3; }
  90%  { opacity: 0.12; }
  100% { transform: translate(-15px, -110vh) scale(1.3); opacity: 0; }
}

/* Glowing coal bed — a soft warm pulse along the bottom of the viewport */
.coal-glow {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 106, 44, 0.22), transparent 70%);
  animation: coalPulse 4.5s ease-in-out infinite;
}

@keyframes coalPulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 8px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(17, 12, 9, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.logo-jp {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ember-bright);
  letter-spacing: 0.04em;
}

.logo-en {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-nav);
  font-size: 13.5px;
}

.main-nav a {
  position: relative;
  color: var(--text);
  opacity: 0.85;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border: 1px solid var(--line-strong);
  padding: 6px 16px;
  border-radius: 3px;
  line-height: 1.3;
}

.nav-tel::after { display: none; }

.nav-tel-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.nav-tel-number {
  font-family: var(--font-nav);
  font-weight: 700;
  color: var(--ember-bright);
  font-size: 14px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-nav);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  white-space: nowrap;
}

.open-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.open-status.is-open {
  color: #8FE0A8;
  border-color: rgba(143, 224, 168, 0.4);
}
.open-status.is-open::before {
  background: #4CD97B;
  box-shadow: 0 0 8px 1px rgba(76, 217, 123, 0.6);
}

.open-status.is-closed {
  color: var(--text-muted);
  border-color: var(--line-strong);
}
.open-status.is-closed::before {
  background: #8A7B6E;
}

.nav-cta-link {
  border: 1px solid var(--ember);
  color: var(--ember-bright) !important;
  padding: 6px 16px;
  border-radius: 3px;
}
.nav-cta-link::after { display: none; }

/* Sticky mobile reservation bar */
.sticky-reserve-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(17, 12, 9, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line-strong);
}

.sticky-status {
  font-family: var(--font-nav);
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.sticky-reserve-btn {
  padding: 11px 20px;
  font-size: 13.5px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .sticky-reserve-bar { display: flex; }
  body { padding-bottom: 68px; }
  /* Hero now has 3 stacked buttons on mobile, which pushes content tall
     enough to collide with the scroll hint — hide it here since the
     sticky reserve bar already gives a persistent scroll affordance. */
  .scroll-cue { display: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 28px 20px;
  background: rgba(17, 12, 9, 0.97);
  font-family: var(--font-nav);
}

.mobile-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.site-header.nav-open .mobile-nav { display: flex; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ember-bright);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 106, 44, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, rgba(23, 16, 9, 0.5) 0%, rgba(13, 9, 6, 0.5) 100%);
}

.hero-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  max-width: 140vw;
  background: radial-gradient(circle, rgba(255, 122, 44, 0.35) 0%, transparent 65%);
  filter: blur(20px);
  animation: emberFlicker 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes emberFlicker {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  30%      { opacity: 0.95; transform: translateX(-50%) scale(1.04); }
  55%      { opacity: 0.65; transform: translateX(-49%) scale(0.98); }
  80%      { opacity: 0.9;  transform: translateX(-51%) scale(1.02); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.hero-eyebrow {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.5;
  margin-bottom: 30px;
  text-shadow: 0 0 40px rgba(255, 122, 44, 0.25);
}

.title-mask {
  display: block;
  overflow: hidden;
}

.hero-lead {
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 14.5px;
  padding: 15px 30px;
  border-radius: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-fire {
  background: linear-gradient(135deg, var(--ember-bright), var(--ember-deep));
  color: #1A0D06;
  box-shadow: 0 0 0 rgba(255, 106, 44, 0.5);
  animation: firePulse 2.6s ease-in-out infinite;
}

@keyframes firePulse {
  0%, 100% { box-shadow: 0 0 0px 0px rgba(255, 106, 44, 0.35); }
  50%      { box-shadow: 0 0 22px 4px rgba(255, 106, 44, 0.45); }
}

.btn-fire:hover { transform: translateY(-2px); }

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--ember-bright);
  color: var(--ember-bright);
}

.btn-large {
  padding: 18px 40px;
  font-size: 16px;
}

/* Reveal-line text mask (used for hero + section headings) */
.reveal-line-wrap,
.title-mask {
  overflow: hidden;
}

.reveal-line {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-eyebrow .reveal-line { transition-delay: 0.05s; }
.hero-title .title-mask:nth-of-type(1) .reveal-line { transition-delay: 0.2s; }
.hero-title .title-mask:nth-of-type(2) .reveal-line { transition-delay: 0.38s; }

.hero.is-in .reveal-line,
.reveal.is-visible .reveal-line {
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.hero.is-in .reveal-fade {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.scroll-cue-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--ember-bright), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ember-bright);
  animation: scrollDrip 1.8s ease-in-out infinite;
}

@keyframes scrollDrip {
  0%   { top: -100%; }
  100% { top: 100%; }
}

.scroll-cue-text {
  font-family: var(--font-nav);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* ---------- Generic section ---------- */
.section {
  padding: 110px 0;
  position: relative;
}

.eyebrow {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 18px;
}

.h2-mask {
  overflow: hidden;
  font-size: clamp(26px, 3.4vw, 38px);
  padding-bottom: 4px;
}

.section-note {
  color: var(--text-muted);
  max-width: 56ch;
  font-size: 14px;
}

/* Scroll reveal (fade + scale) reused across sections */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1), transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- Concept ---------- */
.concept-section { background: rgba(27, 20, 16, 0.5); }

.concept-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.concept-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 480px;
  margin: 0 auto;
}

.concept-photo {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

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

.concept-photo-2 {
  inset: 0;
  background: linear-gradient(200deg, #241812, #0F0A07);
  border: 1px solid var(--line-strong);
}

.concept-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--gold);
  color: #211307;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 3px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
}

.concept-copy p {
  color: var(--text-muted);
  font-size: 15px;
}

.concept-points {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.concept-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text);
}

.concept-points span {
  font-family: var(--font-nav);
  font-weight: 700;
  color: var(--ember-bright);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 3px 9px;
  font-size: 12px;
}

/* ---------- Menu ---------- */
.menu-section { background: rgba(17, 12, 9, 0.5); }

.menu-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}

.menu-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-nav);
  font-size: 14px;
  padding: 12px 6px;
  cursor: pointer;
  position: relative;
  margin-right: 18px;
}

.menu-tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.menu-tab.is-active {
  color: var(--ember-bright);
}

.menu-tab.is-active::after { transform: scaleX(1); }

.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: panelIn 0.5s ease; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-list {
  display: flex;
  flex-direction: column;
}

.menu-list--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

.menu-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease, border-color 0.3s ease;
}

.menu-item:hover {
  padding-left: 10px;
  border-color: var(--line-strong);
}

.menu-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.menu-item-head h3 {
  font-size: 16.5px;
  margin: 0;
  font-weight: 700;
}

.menu-tag {
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 10.5px;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 2px 7px;
  margin-left: 10px;
  font-weight: 500;
  vertical-align: middle;
}

.menu-price {
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 17px;
  color: var(--ember-bright);
  white-space: nowrap;
}

.menu-item p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 8px 0 0;
}

/* Course accordion (menu-item-toggle button + expandable detail) */
.menu-item--course {
  padding: 0;
}

.menu-item--course:hover {
  padding-left: 0;
}

.menu-item-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  transition: padding-left 0.3s ease;
}

.menu-item--course:hover .menu-item-toggle,
.menu-item-toggle[aria-expanded="true"] {
  padding-left: 10px;
}

.menu-item-toggle .menu-item-head {
  flex: 1;
}

.menu-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.menu-chevron::before,
.menu-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 2px;
  background: var(--gold);
}

.menu-chevron::before { left: 1px; transform: rotate(45deg); }
.menu-chevron::after  { right: 1px; transform: rotate(-45deg); }

.menu-item-toggle[aria-expanded="true"] .menu-chevron {
  transform: rotate(180deg);
}

.menu-item-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.menu-item-detail.is-open {
  max-height: 480px;
  opacity: 1;
  padding-bottom: 22px;
}

.dish-note {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0 0 12px;
}

.dish-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.dish-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text);
  counter-increment: dish;
}

.dish-list {
  counter-reset: dish;
}

.dish-list li::before {
  content: counter(dish);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-nav);
  font-size: 11px;
  color: var(--gold);
}

/* ---------- Testimonials ---------- */
.testimonials-section { background: rgba(27, 20, 16, 0.5); }

.testimonials-list {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 22px;
  background: rgba(23, 17, 12, 0.6);
}

.testimonial-stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 15px;
}

.testimonial-body {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.85;
  margin: 0 0 16px;
}

.testimonial-name {
  font-family: var(--font-nav);
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 720px) {
  .testimonials-list { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery-section { background: rgba(27, 20, 16, 0.5); }

.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(160deg, #241812, #120C08);
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-family: var(--font-nav);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text);
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.gallery-item--clickable {
  cursor: pointer;
  position: relative;
}

.gallery-item--clickable:focus-visible {
  outline: 2px solid var(--ember-bright);
  outline-offset: 3px;
}

/* Always-visible badge on the thumbnail itself — hover alone can't be
   relied on since touch devices have no hover state at all. */
.gallery-item--clickable::before {
  content: "タップして詳細を見る";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-family: var(--font-nav);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: #1A0D06;
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.5);
  animation: galleryBadgePulse 2.4s ease-in-out infinite;
}

@keyframes galleryBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.gallery-more {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.gallery-item--clickable:hover .gallery-more,
.gallery-item--clickable:focus-visible .gallery-more {
  color: var(--ember-bright);
}

/* ---------- Private rooms modal ---------- */
.rooms-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 5, 3, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rooms-overlay[hidden] { display: none; }

.rooms-overlay.is-open { opacity: 1; }

.rooms-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  overflow-y: auto;
  background: #17110C;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}

.rooms-overlay.is-open .rooms-modal {
  transform: translateY(0) scale(1);
}

.rooms-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.rooms-close:hover {
  color: var(--ember-bright);
  border-color: var(--ember-bright);
}

.rooms-modal h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.rooms-lead {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 26px;
}

.rooms-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rooms-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.rooms-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rooms-photo {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.rooms-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rooms-photo:hover img,
.rooms-photo:focus-visible img {
  transform: scale(1.08);
}

.rooms-photo:focus-visible {
  outline: 2px solid var(--ember-bright);
  outline-offset: 3px;
}

.rooms-copy h4 {
  font-size: 15px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rooms-tag {
  font-family: var(--font-nav);
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 2px 8px;
}

.rooms-copy p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

@media (max-width: 560px) {
  .rooms-modal { padding: 26px 20px; }
  .rooms-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
    row-gap: 12px;
  }
  .rooms-photo {
    aspect-ratio: 16/9;
    width: 100%;
  }
  .rooms-copy {
    width: 100%;
  }
}

/* ---------- Image lightbox (enlarged room photo) ---------- */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(4, 2, 1, 0.88);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.image-lightbox[hidden] { display: none; }

.image-lightbox.is-open { opacity: 1; }

.image-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.image-lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #F4EBE1;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--ember-bright);
  border-color: var(--ember-bright);
}

/* ---------- Access ---------- */
.access-section { background: rgba(17, 12, 9, 0.5); }

.access-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.access-list div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.access-list dt {
  font-family: var(--font-nav);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.access-list a { color: var(--ember-bright); text-decoration: underline; }

.js-fake-tel {
  font: inherit;
  cursor: pointer;
}

.link-style {
  background: none;
  border: none;
  padding: 0;
  color: var(--ember-bright);
  text-decoration: underline;
  font-size: inherit;
}

.fictional-note {
  display: inline-block;
  margin-left: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Fake-tel toast notification */
.fake-tel-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  z-index: 200;
  background: #1B1410;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 16px 24px;
  border-radius: 6px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fake-tel-toast p { margin: 0; }

.fake-tel-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
  filter: grayscale(0.15) contrast(1.05);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-caption {
  margin: 12px 2px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.map-placeholder {
  aspect-ratio: 4/3;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  background: linear-gradient(160deg, #201510, #100B08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
}

.map-placeholder span {
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ---------- Reservation form ---------- */
.reserve-form-section { background: rgba(17, 12, 9, 0.5); }

.reservation-form {
  margin-top: 36px;
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row--wide {
  grid-column: 1 / -1;
}

.form-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-row .req {
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 10.5px;
  color: #E0776B;
  background: rgba(224, 119, 107, 0.12);
  border: 1px solid rgba(224, 119, 107, 0.4);
  border-radius: 3px;
  padding: 2px 7px;
}

.form-row .opt {
  font-family: var(--font-nav);
  font-size: 10.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 2px 7px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.date-select-group {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}

.form-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-row select option {
  color: #1A1410;
  background: #FDF6EE;
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ember-bright);
  box-shadow: 0 0 0 3px rgba(255, 106, 44, 0.15);
}

#reservation-submit {
  border: none;
  cursor: pointer;
}

.form-status {
  margin: 16px 0 0;
  font-size: 13.5px;
  min-height: 1.2em;
}

.form-status.is-success { color: #6FCB8F; }
.form-status.is-error   { color: #E0776B; }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Reservation confirm modal (reuses .rooms-overlay/.rooms-modal chrome) */
.reservation-confirm-modal .confirm-list {
  margin: 0 0 26px;
  border-top: 1px solid var(--line);
}

.reservation-confirm-modal .confirm-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.reservation-confirm-modal .confirm-list dt {
  font-family: var(--font-nav);
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.reservation-confirm-modal .confirm-list dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.reservation-confirm-modal .confirm-list dd:empty::after {
  content: "（指定なし）";
  color: var(--text-muted);
}

.reservation-confirm-modal .confirm-message {
  white-space: pre-wrap;
  line-height: 1.7;
}

.reservation-confirm-modal .confirm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.reservation-confirm-modal .confirm-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* ---------- Reserve CTA ---------- */
.reserve-section {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 106, 44, 0.18), transparent 60%),
    rgba(36, 26, 20, 0.5);
  text-align: center;
}

.reserve-inner h2 {
  font-size: clamp(24px, 3.6vw, 34px);
}

.reserve-inner p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(11, 7, 5, 0.5);
  padding: 46px 0;
  text-align: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-inner p {
  color: var(--text-muted);
  font-size: 12.5px;
  margin: 4px 0;
}

.footer-note a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .concept-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .wrap { padding: 0 20px; }
  .section { padding: 76px 0; }
  .menu-list--grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .access-list div { grid-template-columns: 76px 1fr; }
  .open-status { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .btn-fire, .scroll-cue-line::after, .gallery-item--clickable::before { animation: none !important; }
  .reveal-line, .reveal, .reveal-fade { opacity: 1 !important; transform: none !important; }
  #ember-canvas { display: none; }
  .smoke-layer { display: none; }
  .coal-glow { animation: none !important; opacity: 0.85; }
  .rooms-overlay, .rooms-modal { transition: none !important; }
  .image-lightbox, .image-lightbox img { transition: none !important; }
  .menu-item-detail, .menu-chevron { transition: none !important; }
}
