/* 048 のもりグランピング ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #f2f5ec;
  --c-forest: #1f3d2b;
  --c-night: #0f1a14;
  --c-leaf: #8cc63f;
  --c-lamp: #ff9f1c;
  --c-accent-text: #3f6b1e;
  --c-on-night: #e8efe0;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #d6e0c8;
  --font: "Zen Kaku Gothic New", sans-serif;
  --font-head: "Zen Maru Gothic", sans-serif;
  --font-en: "Fredoka", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.95; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dd, li { word-break: auto-phrase; }
[hidden] { display: none !important; }

.en { font-family: var(--font-en); font-weight: 600; font-size: 18px; letter-spacing: .08em; color: var(--c-accent-text); margin-bottom: 8px; }
.en--light { color: var(--c-leaf); }
.h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(27px, 4vw, 44px); line-height: 1.45; color: var(--c-forest); margin-bottom: 24px; }
.h2--light { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; border: 0; cursor: pointer; transition: transform .2s, background-color .2s; }
.btn--lamp { background: var(--c-lamp); color: var(--c-forest); box-shadow: 0 5px 0 #c26e00; }
.btn--lamp:hover { transform: translateY(2px); box-shadow: 0 3px 0 #c26e00; }
.btn--leaf { background: var(--c-leaf); color: var(--c-forest); }
.btn--ghost { background: transparent; color: var(--c-forest); border: 2px solid var(--c-forest); }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 18px; }

/* D04：等高線の模様（不透明度は1割以下） */
.topo { position: relative; overflow: hidden; }
.topo__layers { position: absolute; inset: -10% 0; pointer-events: none; color: var(--c-forest); }
.topo__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.topo__layer--1 { opacity: .09; }
.topo__layer--2 { opacity: .06; color: var(--c-accent-text); }
.topo > :not(.topo__layers) { position: relative; z-index: 1; }

/* ヘッダー */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(242, 245, 236, .95); box-shadow: 0 1px 0 var(--c-line); }
.header__inner { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 10px 0 16px; max-width: 1440px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; font-family: var(--font-head); font-weight: 900; font-size: 21px; color: var(--c-forest); text-decoration: none; white-space: nowrap; flex: none; line-height: 1.1; }
.logo__mark { width: 34px; height: 34px; }
.logo small { display: block; font-family: var(--font-en); font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--c-accent-text); }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; box-shadow: none; }
.header__btn:hover { box-shadow: none; transform: none; background: #ffb347; }
@media (min-width: 1080px) {
  .header__inner { height: 80px; padding: 0 36px; gap: 28px; }
  .gnav { display: flex; gap: 26px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--c-forest); text-decoration: none; }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-forest); color: #fff; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-bg); padding: 8px 20px 20px; display: flex; flex-direction: column; box-shadow: 0 16px 30px rgba(15, 26, 20, .15); }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--c-forest); text-decoration: none; border-bottom: 2px dashed var(--c-line); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== メインビジュアル ===== */
.hero { padding: 96px 20px 72px; }
.hero__inner { max-width: 1280px; margin: 0 auto; display: grid; gap: 32px; align-items: center; }
.hero__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(34px, 5.6vw, 68px); line-height: 1.3; color: var(--c-forest); margin-bottom: 18px; }
.hero__title em { font-style: normal; background: linear-gradient(transparent 62%, rgba(140, 198, 63, .55) 62%); }
.hero__lead { margin-bottom: 28px; }
.hero__photo { margin-top: 16px; border-radius: 40px; overflow: hidden; background: var(--c-forest); box-shadow: 0 30px 60px rgba(31, 61, 43, .2); }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .hero { padding: 140px 48px 120px; }
  .hero__inner { grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .hero__photo { border-radius: 200px 40px 40px 40px; }
}

/* ===== のもりについて ===== */
.about { padding: 96px 20px; background: #e6eedb; }
.about__inner { max-width: 960px; margin: 0 auto; text-align: center; }
.points { display: grid; gap: 16px; margin-top: 40px; }
.points li { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 24px; padding: 16px 24px; text-align: left; }
.points__num { font-family: var(--font-en); font-weight: 600; font-size: 56px; line-height: 1; color: var(--c-accent-text); min-width: 1.2em; text-align: center; }
@media (min-width: 768px) { .points { grid-template-columns: repeat(3, 1fr); } .points li { flex-direction: column; text-align: center; padding: 28px 16px; } }

/* ===== 演出① B01：のもりの一日 ===== */
.day { background: var(--c-forest); color: var(--c-on-night); }
.day__head { padding: 96px 20px 32px; text-align: center; }
.scene { position: relative; min-height: 88vh; display: grid; align-items: end; overflow: hidden; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__card { position: relative; z-index: 1; margin: 20px; padding: 24px; background: rgba(15, 26, 20, .82); border-radius: 24px; max-width: 460px; }
.scene__time { font-family: var(--font-en); font-weight: 600; font-size: 40px; line-height: 1; color: var(--c-lamp); margin-bottom: 10px; }
.scene__card h3 { font-family: var(--font-head); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: #fff; margin-bottom: 8px; }
.day__meter { display: none; }
@media (min-width: 900px) { .scene__card { margin: 56px 6vw; padding: 32px 36px; } }
.is-motion .day__inner { position: relative; height: 100vh; overflow: hidden; }
.is-motion .scene { position: absolute; inset: 0; min-height: 0; }
.is-motion .day__meter { display: flex; flex-direction: column; gap: 10px; position: absolute; z-index: 3; right: 16px; top: 50%; transform: translateY(-50%); }
.is-motion .day__meter li { font-family: var(--font-en); font-weight: 600; font-size: 15px; color: #fff; background: rgba(15, 26, 20, .7); border-radius: 999px; padding: 4px 14px; opacity: .7; transition: background-color .3s, color .3s, opacity .3s; }
.is-motion .day__meter li.is-on { background: var(--c-lamp); color: var(--c-forest); opacity: 1; }
@media (max-width: 599px) {
  .is-motion .day__meter { top: 88px; transform: none; flex-direction: row; left: 12px; right: 12px; justify-content: center; gap: 6px; }
  .is-motion .day__meter li { padding: 2px 10px; }
}

/* ===== 演出② C06：夜の森 ===== */
.night { background: var(--c-night); color: var(--c-on-night); padding: 96px 20px; }
.night__head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.night__open { margin-top: 24px; }
.stage { position: relative; height: 78vh; min-height: 520px; max-width: 1280px; margin: 0 auto 64px; border-radius: 32px; overflow: hidden; background: var(--c-night); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; outline-offset: 4px; }
.stage.is-dragging { cursor: grabbing; }
.stage__map, .stage__spots { position: absolute; left: 0; top: 0; width: 2200px; height: 1400px; will-change: transform; }
.stage__spots { pointer-events: none; }
.stage__spots .spot { pointer-events: auto; }
.stage__art { display: block; }
.stage__dark { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle 190px at 50% 50%, rgba(10, 16, 12, 0) 0, rgba(10, 16, 12, .25) 55%, rgba(8, 12, 10, .96) 100%); }
.stage__lamp { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: radial-gradient(circle, #ffe08a 0 30%, rgba(255, 159, 28, .6) 31% 60%, transparent 61%); pointer-events: none; }
.spot { position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 0; padding: 0; background: radial-gradient(circle, rgba(255, 224, 138, .95) 0 18%, rgba(255, 224, 138, .25) 19% 55%, transparent 56%); cursor: pointer; z-index: 2; }
.spot__label { position: absolute; left: 50%; top: -12px; transform: translate(-50%, -100%); white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--c-forest); background: var(--c-lamp); border-radius: 999px; padding: 4px 14px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot.is-lit .spot__label { opacity: 1; }
.spot.is-lit { background: radial-gradient(circle, #fff3b0 0 22%, rgba(255, 224, 138, .5) 23% 60%, transparent 61%); }
.spot:focus-visible { outline: 3px solid var(--c-leaf); }
.stage__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 15px; color: var(--c-on-night); background: rgba(15, 26, 20, .8); border-radius: 999px; padding: 4px 16px; white-space: nowrap; pointer-events: none; }
.stage__close { position: absolute; right: 12px; top: 12px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--c-on-night); background: rgba(15, 26, 20, .8); color: var(--c-on-night); font-family: var(--font-head); font-weight: 700; font-size: 15px; cursor: pointer; z-index: 3; }
.stage__panel { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; background: #fff; color: var(--c-text); border-radius: 24px; padding: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); cursor: auto; max-height: calc(100% - 32px); overflow-y: auto; }
.stage__panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 12px; }
.stage__panel .fac__icon { display: none; }
.stage__panel h4 { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--c-forest); }
.stage__panel .btn { margin-top: 14px; }
.stage__intro { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: rgba(8, 12, 10, .72); cursor: auto; }
.stage__intro-box { background: var(--c-bg); color: var(--c-text); border-radius: 28px; padding: 28px 24px; max-width: 520px; }
.stage__intro-box h3 { font-family: var(--font-head); font-weight: 900; font-size: 26px; color: var(--c-forest); margin-bottom: 12px; }
.stage__intro-box ol { counter-reset: n; display: grid; gap: 10px; }
.stage__intro-box li { position: relative; padding-left: 40px; counter-increment: n; }
.stage__intro-box li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-forest); color: #fff; font-family: var(--font-en); font-weight: 600; font-size: 15px; display: grid; place-items: center; }
.stage__intro-box b { color: var(--c-forest); }
.stage__intro-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
/* スマホ：ボタンで全画面に開く */
.stage.is-full { position: fixed; inset: 0; z-index: 100; height: auto; min-height: 0; max-width: none; margin: 0; border-radius: 0; }

.facilities { max-width: 1280px; margin: 0 auto; }
.facilities__title { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: #fff; margin-bottom: 20px; text-align: center; }
.facilities__list { display: grid; gap: 16px; }
.fac { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; background: #1c2e22; border-radius: 20px; padding: 14px; }
.fac figure { border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--c-forest); }
.fac img { width: 100%; height: 100%; object-fit: cover; }
.fac__icon { display: grid; place-items: center; }
.fac__icon svg { width: 64%; }
.fac h4 { font-family: var(--font-head); font-weight: 900; font-size: 19px; color: #fff; }
.fac p { font-size: 15px; color: var(--c-on-night); line-height: 1.8; }
@media (min-width: 768px) { .facilities__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .facilities__list { grid-template-columns: repeat(3, 1fr); } .fac { grid-template-columns: 1fr; } .fac figure { aspect-ratio: 16 / 10; } .night { padding: 140px 48px; } }

/* ===== プラン ===== */
.plans { padding: 96px 20px; }
.plans__inner { max-width: 1040px; margin: 0 auto; }
.plan-list { display: grid; gap: 16px; }
.plan { background: #fff; border-radius: 28px; padding: 28px 24px; border: 3px solid var(--c-leaf); }
.plan h3 { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--c-forest); margin-bottom: 6px; }
.plan__price { margin-top: 10px; font-weight: 700; color: var(--c-accent-text); }
@media (min-width: 768px) { .plan-list { grid-template-columns: 1fr 1fr; gap: 24px; } .plans { padding: 140px 48px; } }

/* ===== ご予約 ===== */
.reserve { background: var(--c-leaf); padding: 96px 20px; text-align: center; color: var(--c-forest); }
.reserve__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(28px, 4.4vw, 48px); line-height: 1.35; margin-bottom: 16px; }
.reserve .btn { margin-top: 28px; }
.reserve__tel { margin-top: 20px; }

/* ===== アクセス ===== */
.access { padding: 96px 20px; }
.access__inner { max-width: 880px; margin: 0 auto; }
.info div { display: grid; grid-template-columns: 4em 1fr; gap: 16px; padding: 14px 0; border-bottom: 2px dashed var(--c-line); }
.info dt { font-weight: 700; color: var(--c-forest); }

/* ===== フッター ===== */
.footer { background: var(--c-forest); color: var(--c-on-night); padding: 64px 20px 32px; text-align: center; font-size: 15px; }
.footer__logo { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin: 18px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 18px; }

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