/* ============================================================
   YORON BBQ — ヨロンバーベキュー
   Palette: Yoron blue ocean / white sand / sunset coral
   ============================================================ */

:root {
  --ocean-deep: #06536a;
  --ocean: #0a8ea0;
  --ocean-bright: #18b0c4;
  --aqua: #5fd3d8;
  --sand: #f4ecdd;
  --sand-deep: #e8d9bd;
  --cream: #fbf8f1;
  --coral: #ff7a4d;
  --coral-deep: #e8623a;
  --night: #07222e;
  --ink: #123038;
  --ink-soft: #3a565d;
  --text-muted: #6c8389;
  --border: rgba(18, 48, 56, 0.12);
  --border-dim: rgba(18, 48, 56, 0.07);
  --shadow: 0 18px 50px -22px rgba(7, 34, 46, 0.35);

  --serif: "Zen Old Mincho", "Shippori Mincho", serif;
  --serif-it: "Cormorant Garamond", serif;
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p { overflow-wrap: break-word; }

::selection { background: var(--coral); color: #fff; }

/* ---------- shared section ---------- */
section { position: relative; padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.section-container { width: 90%; max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  font-family: var(--serif-it);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: var(--coral-deep);
  margin-bottom: 1rem;
  text-transform: none;
}

.section-header { text-align: center; max-width: 760px; margin: 0 auto 4rem; }
.section-header h2,
.stay-text h2,
.reserve-text h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--ink);
}
h2 em { font-style: italic; color: var(--ocean); font-family: var(--serif); }
.section-lead {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: clamp(0.94rem, 1.7vw, 1.05rem);
  font-weight: 300;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: linear-gradient(120deg, var(--coral), var(--coral-deep));
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(232, 98, 58, 0.7);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(232, 98, 58, 0.8); }
.btn-ghost {
  background: transparent; color: var(--cream); border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-large { padding: 1.1rem 2.4rem; font-size: 1rem; width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 1.1rem 0;
}
#nav.scrolled {
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -16px rgba(7,34,46,0.5);
  padding: 0.7rem 0;
}
.nav-inner {
  width: 90%; max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif); font-weight: 700; font-size: 1.18rem;
  color: var(--cream); text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.4s; line-height: 1.1;
}
.nav-logo span { display: block; font-size: 0.6rem; letter-spacing: 0.34em; font-family: var(--sans); font-weight: 500; opacity: 0.85; }
#nav.scrolled .nav-logo { color: var(--ink); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  text-decoration: none; color: var(--cream); font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.04em; transition: color 0.3s, opacity 0.3s; opacity: 0.92;
}
.nav-links a:hover { opacity: 1; }
#nav.scrolled .nav-links a { color: var(--ink-soft); }
#nav.scrolled .nav-links a:hover { color: var(--ocean); }
.nav-cta {
  padding: 0.5rem 1.2rem; border: 1.5px solid var(--coral);
  border-radius: 100px; color: var(--coral) !important; opacity: 1 !important;
}
#nav.scrolled .nav-cta { color: var(--coral-deep) !important; }
.nav-cta:hover { background: var(--coral); color: #fff !important; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--cream); transition: 0.3s; }
#nav.scrolled .nav-hamburger span { background: var(--ink); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(7, 34, 46, 0.97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { color: var(--cream); text-decoration: none; font-size: 1.25rem; font-family: var(--serif); letter-spacing: 0.04em; }
.mobile-menu .mm-cta { color: var(--coral); border: 1.5px solid var(--coral); padding: 0.6rem 2rem; border-radius: 100px; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--cream); overflow: hidden;
  padding: 7rem 1.2rem 9rem;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  background-color: var(--ocean-deep);
}
/* animated ocean gradient fallback (shows until a hero image is set) */
.hero-ocean {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(95,211,216,0.55), transparent 60%),
    linear-gradient(180deg, #0a6f86 0%, #0a8ea0 38%, #11a7b6 64%, #5fd3d8 100%);
  background-size: 100% 200%;
  animation: oceanShift 14s ease-in-out infinite alternate;
}
.hero-media.has-img .hero-ocean { display: none; }
/* AI-generated loop video (injected by JS when viewport is wide & motion allowed) */
.hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
}
.hero-media.video-on video { opacity: 1; }
.hero-media.video-on { animation: none !important; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,34,46,0.45) 0%, rgba(7,34,46,0.15) 40%, rgba(7,34,46,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 880px; }
.hero-eyebrow {
  font-family: var(--serif-it); font-style: italic; font-size: 1.1rem;
  letter-spacing: 0.22em; opacity: 0.92; margin-bottom: 1.3rem;
}
.hero-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.4rem, 7.5vw, 5rem); line-height: 1.16; letter-spacing: 0.01em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
  overflow-wrap: break-word;
}
.hero-title em { font-style: italic; color: #ffd9a0; }
.hero-sub {
  margin-top: 1.6rem; font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300; line-height: 1.9; text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  position: absolute; left: 50%; bottom: 3.4rem; z-index: 2; transform: translateX(-50%);
  display: flex; align-items: center; gap: clamp(1rem, 4vw, 2.8rem);
  flex-wrap: wrap; justify-content: center; width: 90%; max-width: 880px;
}
.hero-stat { text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.1rem); color: #ffd9a0; line-height: 1.1; }
.stat-unit { font-size: 0.6em; margin-left: 2px; }
.stat-label { display: block; font-size: 0.72rem; letter-spacing: 0.04em; opacity: 0.85; margin-top: 0.35rem; }
.stat-sep { width: 1px; height: 38px; background: rgba(255,255,255,0.3); }

.hero-scroll { position: absolute; left: 50%; bottom: 1rem; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0.8; }
.hero-scroll span { font-size: 0.6rem; letter-spacing: 0.3em; }
.scroll-bar { width: 1px; height: 34px; background: linear-gradient(var(--cream), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   PROBLEM
   ============================================================ */
#problem { background: var(--cream); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1rem; }
.prob-card {
  background: #fff; border: 1px solid var(--border-dim); border-radius: 14px;
  padding: 2.4rem 2rem; box-shadow: var(--shadow);
}
.prob-num { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--aqua); margin-bottom: 0.8rem; }
.prob-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.7rem; color: var(--ink); }
.prob-card p { font-size: 0.92rem; color: var(--ink-soft); font-weight: 300; }
.problem-statement {
  margin-top: 3.4rem; text-align: center; padding: 2.6rem 2rem;
  background: linear-gradient(120deg, rgba(10,142,160,0.08), rgba(95,211,216,0.12));
  border-radius: 16px; border: 1px solid var(--border-dim);
}
.problem-statement p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--ink); font-weight: 300; line-height: 1.95; }
.problem-statement strong { color: var(--ocean-deep); font-weight: 700; }

/* ============================================================
   NEW BBQ
   ============================================================ */
#newbbq { background: var(--sand); }
.comparison-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.4rem; align-items: stretch;
  max-width: 920px; margin: 0 auto;
}
.comp-card { border-radius: 16px; padding: 2.2rem 1.9rem; }
.comp-slow { background: #fff; border: 1px solid var(--border); }
.comp-new {
  background: linear-gradient(150deg, var(--ocean), var(--ocean-deep)); color: var(--cream);
  box-shadow: 0 20px 44px -20px rgba(6,83,106,0.7);
}
.comp-label { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; margin-bottom: 1.4rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border-dim); }
.comp-new .comp-label { border-color: rgba(255,255,255,0.25); }
.comp-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.comp-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.comp-key { color: var(--text-muted); font-weight: 500; }
.comp-new .comp-key { color: rgba(255,255,255,0.7); }
.comp-val { font-weight: 500; text-align: right; }
.comp-vs { display: flex; align-items: center; justify-content: center; }
.comp-vs-inner {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em;
  box-shadow: 0 10px 24px -10px rgba(232,98,58,0.8);
}
.newbbq-statement { margin: 3.2rem auto 0; max-width: 820px; text-align: center; }
.newbbq-statement p { font-size: clamp(1rem, 2vw, 1.18rem); font-weight: 300; line-height: 1.95; color: var(--ink); }
.newbbq-statement strong { color: var(--coral-deep); }
.newbbq-statement em { font-style: italic; color: var(--ocean); font-family: var(--serif); font-weight: 700; }

.menu-strip { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.8rem; }
.menu-chip {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border: 1px solid var(--border-dim); border-radius: 12px;
  padding: 1rem 1.4rem; min-width: 120px;
}
.mc-time { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--coral-deep); }
.mc-name { font-size: 0.86rem; font-weight: 500; margin-top: 0.2rem; }

.bbq-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.6rem; }
.bbq-shot {
  position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  background-size: cover; background-position: center;
  background-color: var(--ocean-deep);
  background-image: linear-gradient(135deg, #b9542e, #6a2a17);
  box-shadow: var(--shadow);
}
.bbq-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem 0.9rem;
  color: #fff; font-family: var(--serif); font-size: 0.9rem; letter-spacing: 0.03em;
  background: linear-gradient(transparent, rgba(7,34,46,0.72));
}
@media (max-width: 640px) { .bbq-shots { grid-template-columns: 1fr; } }

/* ============================================================
   FLOW
   ============================================================ */
#flow { background: var(--cream); }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.flow-step { position: relative; padding: 2rem 1.5rem; }
.flow-step::before {
  content: ""; position: absolute; top: 30px; right: -0.7rem; width: 1.4rem; height: 2px;
  background: var(--aqua);
}
.flow-step:last-child::before { display: none; }
.fs-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(140deg, var(--ocean-bright), var(--ocean));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 1.1rem;
  box-shadow: 0 10px 22px -12px rgba(10,142,160,0.9);
}
.flow-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.flow-step p { font-size: 0.9rem; color: var(--ink-soft); font-weight: 300; }

/* ============================================================
   STAY
   ============================================================ */
#stay { background: var(--night); color: var(--cream); }
#stay .eyebrow { color: #ffd9a0; }
#stay h2 { color: var(--cream); }
#stay h2 em { color: #ffd9a0; }
.stay-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.stay-media {
  aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  background-size: cover; background-position: center;
  background-color: #0c3140;
  background-image: linear-gradient(135deg, #0a6f86, #07222e);
  box-shadow: var(--shadow); position: relative;
}
.stay-media::after {
  content: "宿の写真（準備中）"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 0.85rem; letter-spacing: 0.1em;
}
.stay-media.has-img::after { display: none; }
.stay-text p { color: rgba(251,248,241,0.82); font-weight: 300; font-size: 0.96rem; }
.stay-features { list-style: none; margin: 1.6rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.stay-features li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; color: rgba(251,248,241,0.92); }
.stay-features li::before { content: "✦"; position: absolute; left: 0; color: #ffd9a0; }
.stay-note { font-size: 0.8rem !important; color: rgba(251,248,241,0.55) !important; margin-bottom: 1.6rem; }

/* ============================================================
   SHARE CAR
   ============================================================ */
#car { background: var(--sand); }
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.car-card { background: #fff; border-radius: 16px; padding: 2.4rem 2rem; border: 1px solid var(--border-dim); box-shadow: var(--shadow); }
.car-icon { font-size: 2.2rem; margin-bottom: 0.9rem; }
.car-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.car-card p { font-size: 0.9rem; color: var(--ink-soft); font-weight: 300; }

/* ============================================================
   ISLAND GALLERY
   ============================================================ */
#island { background: var(--cream); }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem;
}
.gal-item {
  position: relative; border-radius: 14px; overflow: hidden;
  background-size: cover; background-position: center;
  background-color: var(--ocean-deep);
  background-image: linear-gradient(135deg, #0a8ea0, #06536a);
  box-shadow: var(--shadow);
}
.gal-item.gal-lg { grid-column: span 2; grid-row: span 2; }
.gal-item figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 1.4rem 1.2rem 1rem; color: #fff;
  font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.04em;
  background: linear-gradient(transparent, rgba(7,34,46,0.7));
}
.gallery-note { text-align: center; margin-top: 1.6rem; font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   RESERVE
   ============================================================ */
#reserve { background: linear-gradient(160deg, var(--ocean-deep), var(--night)); color: var(--cream); overflow: hidden; }
.reserve-glow { position: absolute; top: -120px; right: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,77,0.35), transparent 70%); filter: blur(20px); }
.reserve-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; position: relative; z-index: 1; }
.reserve-text .eyebrow { color: #ffd9a0; }
.reserve-text h2 { color: var(--cream); }
.reserve-text h2 em, #reserve h2 em { color: #ffd9a0; }
.reserve-desc { margin-top: 1.4rem; color: rgba(251,248,241,0.82); font-weight: 300; font-size: 0.96rem; }
.reserve-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 2.2rem; backdrop-filter: blur(6px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.reserve-form label { display: block; margin-bottom: 1.1rem; }
.reserve-form label span { display: block; font-size: 0.78rem; letter-spacing: 0.05em; color: rgba(251,248,241,0.8); margin-bottom: 0.4rem; }
.reserve-form input, .reserve-form select, .reserve-form textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
  color: var(--cream); font-family: var(--sans); font-size: 0.92rem; resize: vertical;
}
.reserve-form input::placeholder, .reserve-form textarea::placeholder { color: rgba(251,248,241,0.4); }
.reserve-form input:focus, .reserve-form select:focus, .reserve-form textarea:focus { outline: none; border-color: #ffd9a0; }
.reserve-form select option { color: #123038; }
.form-fallback { margin-top: 1rem; font-size: 0.85rem; color: #ffd9a0; line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--night); color: rgba(251,248,241,0.7); padding: 3.5rem 0 2rem; }
.footer-inner { width: 90%; max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--cream); line-height: 1.1; }
.footer-logo span { display: block; font-size: 0.6rem; letter-spacing: 0.32em; font-family: var(--sans); font-weight: 500; opacity: 0.8; }
.footer-tagline { font-family: var(--serif-it); font-style: italic; font-size: 1.05rem; margin-top: 0.6rem; color: rgba(251,248,241,0.85); }
.footer-social { display: flex; gap: 1.2rem; margin-top: 1.2rem; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(251,248,241,0.75); text-decoration: none; font-size: 0.78rem; transition: color 0.3s; }
.footer-social a:hover { color: #ffd9a0; }
.footer-nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a { color: rgba(251,248,241,0.7); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-nav a:hover { color: #ffd9a0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; }
.footer-copy { font-size: 0.74rem; color: rgba(251,248,241,0.5); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-ocean, .scroll-bar { animation: none; }
  html { scroll-behavior: auto; }
}
/* static self-review mode (?static=1): freeze reveals & ambient motion */
html.is-static .reveal { opacity: 1; transform: none; transition: none; }
html.is-static .hero-ocean,
html.is-static .scroll-bar { animation: none; }
html.is-static { scroll-behavior: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .problem-grid, .car-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-step::before { display: none; }
  .stay-wrap, .reserve-wrap { grid-template-columns: 1fr; gap: 2.4rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gal-item.gal-lg { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .comparison-grid { grid-template-columns: 1fr; }
  .comp-vs { transform: rotate(90deg); }
  .flow-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .stat-sep { display: none; }
  .footer-top { flex-direction: column; }
  /* small viewports: stack hero content in normal flow instead of overlaying
     absolutely-positioned stats/scroll-cue over the title (prevents collision) */
  #hero { min-height: auto; padding: 6.5rem 1.2rem 3rem; }
  .hero-title { font-size: clamp(2rem, 8.4vw, 2.6rem); }
  .hero-stats { position: static; transform: none; margin-top: 2.6rem; }
  .hero-scroll { display: none; }
}

/* ============================================================
   PHOTO BACKGROUNDS — full-bleed photo sections (richer look)
   ============================================================ */
#problem, #newbbq, #flow, #car {
  color: var(--cream);
}
#stay { color: var(--cream); }

/* photo-background sections: image lives on a transform-only ::before layer
   (parallax via translateY driven by JS, background-attachment not used) */
.sec-photo { position: relative; overflow: hidden; isolation: isolate; }
.sec-photo::before {
  content: ""; position: absolute; left: -3%; right: -3%; top: -8%; bottom: -8%;
  z-index: 0; background-position: center; background-size: cover; background-repeat: no-repeat;
  transform: translateY(var(--py, 0px)); will-change: transform; pointer-events: none;
}
.sec-photo > * { position: relative; z-index: 1; }
.sec-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
#problem::before { background-image: url('images/island-sunset.jpg?v=2'); }
#problem::after   { background: linear-gradient(rgba(6,26,35,0.30), rgba(6,26,35,0.52)); }
#newbbq::before  { background-image: url('images/island-sea.jpg'); }
#newbbq::after   { background: linear-gradient(rgba(6,26,35,0.40), rgba(6,26,35,0.58)); }
#flow::before    { background-image: url('images/island-blue.jpg?v=2'); }
#flow::after     { background: linear-gradient(rgba(6,26,35,0.38), rgba(6,26,35,0.56)); }
#car::before     { background-image: url('images/island-beach.jpg'); }
#car::after      { background: linear-gradient(rgba(6,26,35,0.32), rgba(6,26,35,0.52)); }
#stay::before    { background-image: url('images/island-milkyway.jpg'); }
#stay::after     { background: linear-gradient(rgba(5,22,30,0.42), rgba(5,22,30,0.62)); }
#gather { color: var(--cream); }
#gather::before  { background-image: url('images/island-star.jpg'); }
#gather::after   { background: linear-gradient(rgba(5,22,30,0.46), rgba(5,22,30,0.66)); }
#gather h2 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
#gather h2 em { color: #ffd9a0; }
#gather .problem-statement { background: rgba(9,28,38,0.5); border-color: rgba(255,255,255,0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#gather .problem-statement p { color: #fff; }
#gather .problem-statement strong { color: #ffd9a0; }
@media (max-width: 899px) {
  .sec-photo::before { transform: none !important; }
}

/* light text inside photo sections */
#problem .eyebrow, #newbbq .eyebrow, #flow .eyebrow, #car .eyebrow { color: #ffd9a0; }
#problem h2, #newbbq h2, #flow h2, #car h2 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
#problem h2 em, #newbbq h2 em, #flow h2 em, #car h2 em { color: #ffd9a0; }
#problem .eyebrow, #newbbq .eyebrow, #flow .eyebrow, #car .eyebrow,
#problem .section-lead, #newbbq .section-lead, #flow .section-lead, #car .section-lead { text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
#problem .section-lead, #newbbq .section-lead, #flow .section-lead, #car .section-lead { color: rgba(251,248,241,0.92); }
/* 写真をより見せるため文字は影で可読性を担保（背景の暗幕は薄め） */
#stay .section-lead, #stay h2, #reserve h2, #reserve .section-lead { text-shadow: 0 2px 14px rgba(0,0,0,0.55); }

/* glass cards on photo */
#problem .prob-card, #car .car-card {
  background: rgba(9,28,38,0.52);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.14);
}
#problem .prob-card h3, #car .car-card h3 { color: #fff; }
#problem .prob-card p, #car .car-card p { color: rgba(251,248,241,0.84); }
#problem .prob-num { color: var(--aqua); }
#problem .problem-statement { background: rgba(9,28,38,0.5); border-color: rgba(255,255,255,0.14); }
#problem .problem-statement p { color: #fff; }
#problem .problem-statement strong { color: #ffd9a0; }

/* flow steps on photo: glass card */
#flow .flow-step {
  background: rgba(9,28,38,0.5); border: 1.5px solid rgba(255,255,255,.16); border-radius: 20px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1), border-color .5s cubic-bezier(.16,1,.3,1);
}
#flow .flow-step:hover {
  transform: translateY(-6px) scale(1.012); border-color: rgba(255,255,255,.4);
  box-shadow: 0 24px 46px -20px rgba(7,34,46,.5), 0 14px 34px -18px rgba(24,176,196,.35);
}
#flow .flow-step::before { display: none; }
#flow .flow-step h3 { color: #fff; }
#flow .flow-step p { color: rgba(251,248,241,0.84); }
@media (max-width: 900px) { #flow .flow-steps { row-gap: 1.8rem; } }

/* newbbq on photo — keep comparison legible */
#newbbq .newbbq-statement p { color: #fff; }
#newbbq .newbbq-statement strong { color: #ffd9a0; }
#newbbq .newbbq-statement em { color: var(--aqua); }
#newbbq .menu-chip { background: rgba(9,28,38,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: rgba(255,255,255,0.14); }
#newbbq .mc-name { color: var(--cream); }
#newbbq .comp-slow { background: rgba(251,248,241,0.96); }
#newbbq .comp-slow .comp-label, #newbbq .comp-slow .comp-val { color: var(--ink); }
#newbbq .comp-slow .comp-key { color: var(--text-muted); }

/* desktop parallax handled via transform layer (.sec-photo) below — no background-attachment */

/* ---------- guide teaser (home) ---------- */
#guide-teaser { background: var(--sand); }
.gt-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.gt-pill {
  display: inline-block; padding: 0.85rem 1.5rem; border-radius: 100px;
  background: #fff; border: 1px solid var(--border-dim); font-size: 0.9rem; font-weight: 500;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform 0.25s, color 0.25s;
}
a.gt-pill:hover { transform: translateY(-3px); color: var(--coral-deep); }
.gt-soon { color: var(--text-muted); opacity: 0.72; box-shadow: none; }

/* car section: SVGアイコン＋レンタカーリンク */
#car .car-icon { line-height: 0; margin-bottom: 1rem; }
#car .car-icon svg { width: 42px; height: 42px; color: #ffd9a0; }
#car .car-links { text-align: center; margin-top: 2.4rem; font-size: 0.92rem; color: rgba(251,248,241,0.9); line-height: 2; }
#car .car-links a { color: #ffd9a0; text-decoration: none; }
#car .car-links a:hover { text-decoration: underline; }
#car .car-links-note { display: block; font-size: 0.78rem; color: rgba(251,248,241,0.6); margin-top: 0.3rem; }

/* ============================================================
   FABLE REFRESH 2026-07-08 — header glass / hero motion /
   giant section system / card unification / news-cards /
   reserve dark card / footer links
   ============================================================ */

/* ---------- HEADER: transparent overlay -> scroll glass pill ---------- */
#nav { padding: 0; background: transparent; box-shadow: none; }
#nav .nav-inner {
  margin-top: 14px; padding: 0 1.6rem; height: 62px;
  border-radius: 999px;
  transition: height .45s cubic-bezier(.16,1,.3,1), background .45s cubic-bezier(.16,1,.3,1),
              box-shadow .45s cubic-bezier(.16,1,.3,1), border-color .45s cubic-bezier(.16,1,.3,1);
  border: 1px solid transparent;
}
#nav.scrolled { background: transparent; box-shadow: none; padding: 0; }
#nav.scrolled .nav-inner {
  height: 54px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 10px 32px -14px rgba(7,34,46,.35);
  border-color: rgba(18,48,56,.08);
}
.nav-cta {
  transition: background .3s, color .3s, transform .25s;
}
.nav-cta:hover { transform: translateY(-2px); }
@media (max-width: 900px) {
  .mobile-menu { background: rgba(7,34,46,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .mobile-menu-inner {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px; padding: 2.4rem 2.6rem; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  }
}

/* ---------- HERO: ken burns + stagger entrance ---------- */
.hero-media { transform: scale(1); animation: heroKenBurns 30s ease-in-out infinite alternate; }
@keyframes heroKenBurns { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-in { opacity: 0; transform: translateY(22px); animation: heroInUp .9s cubic-bezier(.16,1,.3,1) forwards; }
.hero-in-1 { animation-delay: .15s; }
.hero-in-2 { animation-delay: .32s; }
.hero-in-3 { animation-delay: .52s; }
.hero-in-4 { animation-delay: .72s; }
@keyframes heroInUp { to { opacity: 1; transform: none; } }
/* hero-stats keeps its own translateX(-50%) centering baked into the keyframe
   (animating `transform` replaces the whole value, so it can't be combined
   with the static positioning transform via a separate property) */
.hero-stats.hero-in-5 { opacity: 0; transform: translate(-50%, 14px); animation: heroStatsFade .9s cubic-bezier(.16,1,.3,1) .92s forwards; }
@keyframes heroStatsFade { to { opacity: 1; transform: translate(-50%, 0); } }
.hero-stats { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-stat {
  padding: .55rem 1rem; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.hero-scroll .scroll-bar { height: 40px; }
html.is-static .hero-media,
html.is-static .hero-in { animation: none !important; opacity: 1 !important; transform: none !important; }
html.is-static .hero-stats.hero-in-5 { transform: translateX(-50%) !important; }
@media (prefers-reduced-motion: reduce) {
  .hero-media, .hero-in { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-stats.hero-in-5 { transform: translateX(-50%) !important; }
}
/* on narrow viewports hero-stats becomes a static in-flow block (see the
   560px block above) — it must NOT keep the desktop translateX(-50%) centering */
@media (max-width: 560px) {
  html.is-static .hero-stats.hero-in-5,
  .hero-stats.hero-in-5 { transform: none !important; }
}

/* ---------- SECTION TONE VARIABLES (giant-title system) ---------- */
.sec-tone-navy  { --sec: #06536a; --sec-lt: rgba(6,83,106,.14); --sec-bd: rgba(6,83,106,.4); --sec-ghost-c: rgba(255,255,255,.08); }
.sec-tone-coral { --sec: #ff7a4d; --sec-lt: rgba(255,122,77,.16); --sec-bd: rgba(255,122,77,.42); --sec-ghost-c: rgba(255,255,255,.10); }
.sec-tone-ocean { --sec: #18b0c4; --sec-lt: rgba(24,176,196,.16); --sec-bd: rgba(24,176,196,.42); --sec-ghost-c: rgba(255,255,255,.10); }
.sec-tone-gold  { --sec: #e8623a; --sec-lt: rgba(232,98,58,.12); --sec-bd: rgba(232,98,58,.34); --sec-ghost-c: rgba(18,48,56,.05); }
#guide-teaser.sec-tone-gold, #island.sec-tone-ocean { --sec-ghost-c: rgba(18,48,56,.045); }

.sec-ghost {
  position: absolute; top: clamp(.5rem, 3vw, 2rem); left: 50%; transform: translateX(-50%);
  font-family: var(--serif-it); font-style: normal; font-weight: 700;
  font-size: clamp(64px, 10.5vw, 158px); line-height: 1; letter-spacing: .02em;
  color: var(--sec-ghost-c); white-space: nowrap; pointer-events: none; z-index: 0;
  user-select: none;
}
.sec-kicker { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.sec-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sec); color: #fff; font-size: .74rem; font-weight: 700;
  font-family: var(--sans); box-shadow: 0 6px 14px -6px var(--sec-bd);
}
.sec-en {
  font-family: var(--serif-it); font-style: italic; font-size: 1.02rem;
  letter-spacing: .16em; color: var(--sec);
}
.sec-h2 { position: relative; padding-bottom: .9rem; }
.sec-h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--sec), transparent);
}
.stay-text .sec-h2::after, .reserve-text h2::after { left: 0; transform: none; }
.reserve-text h2 { position: relative; padding-bottom: .9rem; }
.reserve-text h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 64px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #ffd9a0, transparent);
}
#problem .eyebrow, #newbbq .eyebrow, #flow .eyebrow, #car .eyebrow { display: none; } /* superseded by sec-kicker */
.stay-text .sec-kicker .sec-en, .stay-text .sec-kicker .sec-chip { }

/* ---------- CARD UNIFICATION: no top line / thin borders / spring hover / colored glow ---------- */
.prob-card, .car-card, .comp-card, .menu-chip, .nc-card {
  border-radius: 20px !important;
  border: 1.5px solid var(--border-dim);
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1), border-color .5s cubic-bezier(.16,1,.3,1);
}
.prob-card:hover, .car-card:hover, .comp-card.comp-slow:hover, .menu-chip:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: var(--sec-bd, rgba(255,122,77,.4));
  box-shadow: 0 24px 46px -20px rgba(7,34,46,.45), 0 0 0 1px var(--sec-lt, rgba(255,122,77,.12)) inset, 0 14px 34px -18px var(--sec-bd, rgba(24,176,196,.35));
}
#problem .prob-card, #car .car-card { border: 1.5px solid rgba(255,255,255,.16) !important; }
#problem .prob-card:hover, #car .car-card:hover { border-color: rgba(255,255,255,.4) !important; }
.problem-grid, .car-grid, .comparison-grid { row-gap: 2.2rem; }
.problem-grid, .car-grid { margin-top: 2.2rem; }

/* ---------- NEWS-CARDS (guide teaser) ---------- */
.nc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.4rem; margin-top: 1rem; }
.nc-card {
  display: block; text-decoration: none; color: inherit; background: #fff;
  overflow: hidden; box-shadow: var(--shadow);
}
.nc-thumb {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  transition: transform .6s cubic-bezier(.16,1,.3,1); overflow: hidden;
}
.nc-card:hover .nc-thumb { transform: scale(1.05); }
.nc-meta { display: flex; align-items: center; gap: .6rem; padding: .95rem 1.1rem 0; }
.nc-cat { font-size: .74rem; font-weight: 700; color: var(--coral-deep); letter-spacing: .03em; }
.nc-date { font-size: .72rem; color: var(--text-muted); }
.nc-title { padding: .4rem 1.1rem 1.15rem; font-size: 1rem; font-weight: 700; line-height: 1.5; color: var(--ink); }
@media (max-width: 900px) { .nc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nc-grid { grid-template-columns: 1fr; } }

/* ---------- RESERVE: dark rounded card on white page ---------- */
#reserve { background: var(--cream); color: var(--ink); overflow: visible; padding-top: clamp(3rem,7vw,6rem); }
.reserve-card {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(165deg, #0a2530, var(--night) 60%, #04141c);
  color: var(--cream); padding: clamp(2.4rem, 5vw, 4.2rem);
  box-shadow: 0 40px 90px -32px rgba(6,20,28,.55), 0 0 0 1px rgba(255,255,255,.05) inset;
}
.reserve-corner { position: absolute; width: 220px; height: 220px; pointer-events: none; z-index: 0; }
.rc-tl { top: -60px; left: -60px; background: radial-gradient(circle, rgba(255,122,77,.35), transparent 70%); }
.rc-tr { top: -60px; right: -60px; background: radial-gradient(circle, rgba(24,176,196,.3), transparent 70%); }
.rc-bl { bottom: -60px; left: -60px; background: radial-gradient(circle, rgba(24,176,196,.22), transparent 70%); }
.rc-br { bottom: -60px; right: -60px; background: radial-gradient(circle, rgba(255,122,77,.28), transparent 70%); }
.reserve-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.reserve-stars .rs-dot {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,.2) 70%, transparent);
  animation: yb-glint ease-in-out infinite;
}
.reserve-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.reserve-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.check-pill {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 500;
  padding: .5rem 1rem; border-radius: 100px; color: #ffd9a0;
  background: rgba(255,217,160,.1); border: 1px solid rgba(255,217,160,.3);
}
.reserve-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 2.2rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 900px) { .reserve-wrap { grid-template-columns: 1fr; gap: 2.4rem; } }

/* aurora CTA + cursor-origin fill (multi-color box-shadow, no blur filter) */
.aurora-btn {
  position: relative; isolation: isolate; overflow: hidden;
  box-shadow: 0 12px 28px -12px rgba(232,98,58,.7),
              0 0 40px -18px rgba(255,122,77,.55),
              0 0 60px -24px rgba(24,176,196,.4);
}
.aurora-btn::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: var(--ox, 50%); top: var(--oy, 50%);
  width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%,-50%) scale(0);
  background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.aurora-btn:hover::before { transform: translate(-50%,-50%) scale(22); }

/* ============================================================
   RESPONSIVE — refresh additions
   ============================================================ */
@media (max-width: 900px) {
  .sec-ghost { font-size: clamp(48px, 16vw, 90px); }
  .reserve-corner { width: 140px; height: 140px; }
}
