/* 炭火酒場 庵 — スマホ特化サンプル
   差し替え箇所は index.html の文言が中心です。 */

:root {
  --bg: #100e0c;
  --bg-raised: #1b1814;
  --bg-card: #221e19;
  --line: rgba(243, 226, 204, 0.12);
  --text: #f6f1ea;
  --muted: #cbbba8;
  --faint: #9c8d7c;
  --ember: #e07a3d;
  --ember-deep: #c45e24;
  --ink: #1a100c;
  --header-h: 60px;
  --banner-h: 34px;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--banner-h) + var(--header-h) + 12px);
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(90, 48, 24, 0.35), transparent 50%),
    var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.sample-banner {
  position: sticky;
  top: 0;
  z-index: 70;
  margin: 0;
  min-height: var(--banner-h);
  padding: 7px 16px;
  background: #3a2418;
  color: #ffd8c2;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.5;
}

.header {
  position: sticky;
  top: var(--banner-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 16px 0 18px;
  background: rgba(16, 14, 12, 0.94);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}

.logo-kana {
  color: var(--ember);
  font-size: 10px;
  letter-spacing: 0.28em;
}

.logo-name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.gnav {
  position: relative;
  z-index: 3;
}

.gnav-btn {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  list-style: none;
}

.gnav-btn::-webkit-details-marker {
  display: none;
}

.ham {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.ham i {
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.ham i:nth-child(1) { top: 0; }
.ham i:nth-child(2) { top: 7px; }
.ham i:nth-child(3) { top: 14px; }

.gnav[open] .ham i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.gnav[open] .ham i:nth-child(2) {
  opacity: 0;
}

.gnav[open] .ham i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.gnav-panel {
  display: none;
}

.gnav[open] .gnav-panel {
  position: fixed;
  top: calc(var(--banner-h) + var(--header-h));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 32px calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 50% 100%, rgba(224, 122, 61, 0.2), transparent 42%),
    #100e0c;
}

.gnav-panel a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

html:has(.gnav[open]),
html:has(.gnav[open]) body {
  overflow: hidden;
}

html:has(.gnav[open]) .fixed-cta {
  visibility: hidden;
}

.fv {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - var(--banner-h) - var(--header-h));
  min-height: calc(100svh - var(--banner-h) - var(--header-h));
  min-height: calc(100dvh - var(--banner-h) - var(--header-h));
  overflow: hidden;
  background: #140e0b;
}

.fv-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 62% at 50% 118%, #ffb15a 0%, #ff6a1a 18%, #9a2c0c 40%, transparent 68%),
    radial-gradient(ellipse 24% 18% at 24% 76%, rgba(255, 214, 140, 0.95), transparent 70%),
    radial-gradient(ellipse 16% 14% at 68% 70%, rgba(255, 90, 20, 1), transparent 72%),
    radial-gradient(circle at 82% 18%, rgba(255, 150, 70, 0.35), transparent 24%),
    linear-gradient(180deg, #5a4032 0%, #2a1c16 34%, #140c09 100%);
}

.ember {
  position: absolute;
  border-radius: 50%;
  background: #ffb15a;
  filter: blur(1px);
  opacity: 0.7;
}

.ember-a {
  width: 7px;
  height: 7px;
  left: 22%;
  bottom: 18%;
  animation: rise 7s ease-in-out infinite;
}

.ember-b {
  width: 5px;
  height: 5px;
  left: 58%;
  bottom: 22%;
  animation: rise 9s ease-in-out 1s infinite;
}

.ember-c {
  width: 4px;
  height: 4px;
  left: 74%;
  bottom: 14%;
  animation: rise 8s ease-in-out 0.4s infinite;
}

.coals {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 16px,
      rgba(0, 0, 0, 0.38) 16px 18px
    ),
    linear-gradient(180deg, transparent, rgba(12, 5, 3, 0.72));
}

.fv-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}

.fv-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 640px);
  margin: 0 auto;
  padding: 48px 0 calc(96px + env(safe-area-inset-bottom));
}

.fv-kicker {
  margin: 0 0 14px;
  color: #ffc49a;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.fv-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 5.9vw, 2.65rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.fv-sub {
  margin: 18px 0 0;
  color: #f0e4d6;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.cta-row {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #f0944e 0%, #d4652a 100%);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.btn-ghost {
  border: 1px solid rgba(255, 236, 220, 0.72);
  background: rgba(0, 0, 0, 0.28);
  color: #fff8f2;
}

.section {
  padding: 76px 20px;
}

.section-menu {
  background:
    linear-gradient(180deg, rgba(255, 140, 60, 0.05), transparent 120px),
    #16130f;
}

.section-faq {
  background: #14110e;
}

.inner {
  width: min(100%, 960px);
  margin: 0 auto;
}

.inner-narrow {
  width: min(100%, 640px);
}

.sec-label {
  margin: 0 0 8px;
  color: var(--ember);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sec-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.sec-lead {
  margin: 16px 0 0;
  max-width: 38em;
  color: var(--muted);
}

.reason-list,
.menu-list,
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.reason-card,
.menu-card,
.faq-item {
  padding: 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.reason-no {
  margin: 0 0 10px;
  color: var(--ember);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.reason-card h3,
.menu-card h3,
.faq-item h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.reason-card p,
.menu-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.menu-en {
  margin: 0 0 6px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.price span {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.info-list {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.info-list div {
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.info-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.info-note {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.faq-item h3::before {
  content: "Q. ";
  color: var(--ember);
}

.footer {
  padding: 48px 20px 28px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}

.footer-en {
  margin: 6px 0 0;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sample-footer {
  margin: 22px 0 0;
  color: #ffd8c2;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.copyright {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(calc(100% - 32px), 520px);
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0944e 0%, #c45e24 100%);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

@media (min-width: 560px) {
  .cta-row {
    grid-template-columns: 1fr 1fr;
  }

  .menu-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .reason-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .fv-inner {
    width: min(100% - 80px, 960px);
    padding-bottom: 64px;
  }

  .section {
    padding: 96px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ember,
  .ham i {
    animation: none;
    transition: none;
  }
}

@keyframes rise {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-18px);
    opacity: 0.85;
  }
}
