/* やまびこキャンプフィールド（デモ） */
:root {
  --cream: #fff6e5;
  --ink: #1b2a22;
  --green: #1f5a3d;
  --orange: #ff6b2c;
  --yellow: #ffc93c;
  --sky: #6cc4e8;
  --pink: #ff9ec4;
  --leaf: #9ad27a;
  --navy: #2b3a67;
  --en: 'Unbounded', 'Zen Maru Gothic', sans-serif;
  --disp: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  --ja: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', sans-serif;
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--ja); font-weight: 500; font-size: 16px; line-height: 1.9; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font-family: inherit; color: inherit; }
.wrap { width: min(1160px, 100% - 64px); margin-inline: auto; }
.sp { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.demo-bar { position: relative; z-index: 60; background: var(--ink); color: #cfd8d2; font-size: 12px; line-height: 1.6; padding: 8px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.demo-bar a { color: var(--yellow); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 28px; height: 52px; border-radius: 999px; background: var(--orange); color: #fff; font-family: var(--disp); font-weight: 900; font-size: 16px; letter-spacing: .06em; text-decoration: none; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .2s var(--pop), box-shadow .2s; }
.btn:hover { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--big { height: 60px; width: 100%; font-size: 17px; }

/* ヘッダー */
.header { position: sticky; top: 10px; z-index: 50; display: flex; align-items: center; gap: 24px; margin: 10px 20px 0; padding: 8px 10px 8px 18px; background: #fff; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 0 5px 0 var(--ink); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--en); font-weight: 800; font-size: 17px; line-height: 1; letter-spacing: .02em; }
.logo svg { width: 40px; height: 34px; }
.logo span { display: flex; flex-direction: column; }
.logo small { font-size: 9px; letter-spacing: .3em; margin-top: 4px; color: var(--green); }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 6px; }
.gnav a { display: block; padding: 6px 14px; border-radius: 999px; font-family: var(--en); font-weight: 600; font-size: 13px; text-decoration: none; transition: background .2s, transform .2s var(--pop); }
.gnav a:hover { background: var(--yellow); transform: rotate(-4deg) scale(1.08); }
.menu-btn { display: none; }
.drawer[hidden] { display: none; }

/* 見出し */
.eyebrow { font-family: var(--en); font-weight: 800; font-size: 14px; letter-spacing: .08em; color: var(--orange); }
.eyebrow--light { color: var(--yellow); }
.big-title { font-family: var(--disp); font-weight: 900; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.25; letter-spacing: .02em; margin-top: 10px; }
.big-title--light { color: #fff; }
.big-title > span { display: inline-block; }

/* ファーストビュー：風景が組み上がる */
.hero { position: relative; overflow: hidden; padding: 30px 0 0; min-height: max(680px, calc(100svh - 60px)); display: flex; flex-direction: column; }
@keyframes openWinSp { 0% { clip-path: circle(0% at 60% 30%); } 35% { clip-path: circle(22% at 60% 30%); } 55% { clip-path: circle(19% at 60% 30%); } 100% { clip-path: circle(150% at 60% 30%); } }
.hero__stage { position: relative; flex: 1; margin: 0 20px; min-height: 600px; }
.hero__screen { position: absolute; z-index: 1; inset: 0 0 90px; border-radius: 40px; border: 4px solid var(--ink); overflow: hidden; background: #cfe9d2; }
.hero__media { position: absolute; inset: 0; background: url(images/hero-poster.jpg) center / cover no-repeat, linear-gradient(160deg, #6cc4e8 0%, #9ad27a 65%, #3e8a57 100%); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 35, 26, .35), rgba(20, 35, 26, 0) 55%); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.motion .hero__media { clip-path: circle(0% at 72% 42%); animation: openWin 1.3s cubic-bezier(.7, 0, .2, 1) .15s forwards; }
@keyframes openWin { 0% { clip-path: circle(0% at 72% 42%); } 35% { clip-path: circle(16% at 72% 42%); } 55% { clip-path: circle(14% at 72% 42%); } 100% { clip-path: circle(150% at 72% 42%); } }
.motion .hero__screen { animation: popIn .6s var(--pop) both; }
.hero__deco { position: absolute; top: 22px; right: 22px; z-index: 3; width: 210px; padding: 14px 16px 12px; background: #fff; border: 4px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.wx__head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 900; font-size: 13px; color: var(--green); }
.wx__head span { font-family: var(--en); font-weight: 600; font-size: 11px; color: var(--ink); }
.wx__main { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.wx__icon { width: 54px; height: 54px; flex: none; }
.wx__icon svg { width: 100%; height: 100%; display: none; }
.wx[data-sky="sun"] .wx__sun, .wx[data-sky="cloud"] .wx__cloud { display: block; }
.motion .wx__sun { animation: spin 12s linear infinite; }
.motion .wx__cloud { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.wx__temp { line-height: 1; }
.wx__temp b { font-family: var(--en); font-weight: 800; font-size: 40px; font-variant-numeric: tabular-nums; }
.wx__temp small { font-weight: 900; font-size: 18px; }
.wx__temp span { display: block; margin-top: 4px; font-weight: 700; font-size: 13px; }
.wx__rows { margin-top: 10px; border-top: 2px dashed rgba(27, 42, 34, .25); padding-top: 8px; display: grid; gap: 2px; }
.wx__rows div { display: flex; justify-content: space-between; align-items: center; font-size: 12px; line-height: 1.6; }
.wx__rows dt { font-weight: 700; }
.wx__rows dd { font-weight: 700; }
.wx__stars { letter-spacing: 1px; font-size: 15px; color: #d9d2c3; }
.wx__stars i { font-style: normal; color: var(--orange); }
.motion .wx__stars i { display: inline-block; animation: starPop .4s var(--pop) both; animation-delay: calc(1.9s + var(--k) * .12s); }
@keyframes starPop { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
.wx__note { margin-top: 4px; font-size: 10px; color: #7b857f; text-align: right; }
.motion .hero__deco { animation: cardIn .7s var(--pop) 1.4s both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(-30px) rotate(-8deg) scale(.7); } to { opacity: 1; transform: none; } }
.hero__text { position: absolute; left: clamp(24px, 5vw, 72px); bottom: 200px; z-index: 3; color: #fff; }
.hero__tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px 6px 8px; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; }
.hero__tag span { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 99px; color: #fff; font-weight: 900; font-size: 13px; }
.hero__tag span:nth-child(1) { background: var(--sky); } .hero__tag span:nth-child(2) { background: var(--green); } .hero__tag span:nth-child(3) { background: var(--navy); }
.hero__title { margin-top: 18px; font-family: var(--disp); font-weight: 900; font-size: clamp(42px, 6.4vw, 96px); line-height: 1.18; letter-spacing: .02em; -webkit-text-stroke: 10px var(--ink); paint-order: stroke fill; }
.hero__line { display: block; white-space: nowrap; }
.hero__line--accent { color: var(--yellow); }
.hero__title .c { display: inline-block; }
.motion .hero__title .c { opacity: 0; transform: translateY(-.9em) scale(.6); animation: drop .6s var(--pop) forwards; animation-delay: calc(1.2s + var(--i) * .05s); }
@keyframes drop { 60% { opacity: 1; transform: translateY(.08em) scaleY(.88) scaleX(1.08); } to { opacity: 1; transform: none; } }
.hero__en { margin-top: 10px; font-family: var(--en); font-weight: 800; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .06em; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.btn--white { background: #fff; color: var(--ink); }
.motion .hero__tag, .motion .hero__en, .motion .hero__btns { opacity: 0; animation: fadeUp .6s var(--ease) forwards; }
.motion .hero__tag { animation-delay: 1.1s; }
.motion .hero__en { animation-delay: 2s; }
.motion .hero__btns { animation-delay: 2.15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.hero__land { position: absolute; left: 0; bottom: 0; z-index: 2; width: 100%; height: 210px; overflow: visible; pointer-events: none; }
.land, .tree, .tent, .fire, .river { transform-box: fill-box; transform-origin: 50% 100%; }
.motion .land--back { animation: rise .9s var(--pop) 1.2s both; }
.motion .land--mid { animation: rise .9s var(--pop) 1.35s both; }
.motion .land--front { animation: rise .9s var(--pop) 1.5s both; }
.motion .tree { animation: sprout .6s var(--pop) both; }
.motion .tree:nth-child(1) { animation-delay: 1.7s; } .motion .tree:nth-child(2) { animation-delay: 1.78s; } .motion .tree:nth-child(3) { animation-delay: 1.86s; } .motion .tree:nth-child(4) { animation-delay: 1.94s; } .motion .tree:nth-child(5) { animation-delay: 2.02s; }
.motion .tent { animation: sprout .7s var(--pop) 2.1s both; }
.motion .fire { animation: sprout .5s var(--pop) 2.3s both; }
.motion .river { stroke-dasharray: 260; animation: flow 1s var(--ease) 1.8s both; }
.motion .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker .5s ease-in-out infinite alternate; }
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sprout { from { transform: scale(0); } to { transform: none; } }
@keyframes flow { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
@keyframes flicker { from { transform: scale(1, 1) rotate(-3deg); } to { transform: scale(.9, 1.12) rotate(3deg); } }
.hero__scroll { position: absolute; left: 50%; bottom: 14px; z-index: 4; width: 72px; height: 72px; margin-left: -36px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); display: grid; place-items: center; font-family: var(--en); font-weight: 800; font-size: 9px; letter-spacing: .1em; text-decoration: none; }
.hero__scroll::after { content: ""; position: absolute; bottom: 14px; width: 8px; height: 8px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
.motion .hero__scroll::after { animation: arrow 1.4s ease-in-out infinite; }
.hero__scroll span { margin-top: -12px; }
@keyframes arrow { 50% { transform: translateY(5px) rotate(45deg); } }
.motion .hero__scroll { animation: fadeUp .5s var(--ease) 2.6s both; }

/* 写真ストリップ */
.snaps { overflow: hidden; padding: 70px 0 40px; }
.snaps__track { display: flex; width: max-content; }
.motion .snaps__track { animation: marquee 48s linear infinite; }
.snaps:hover .snaps__track { animation-play-state: paused; }
.snaps__list { display: flex; gap: 34px; padding-right: 34px; }
.snap { flex: none; width: clamp(180px, 18vw, 250px); transform: rotate(var(--r)); transition: transform .4s var(--pop); }
.snap:nth-child(even) { margin-top: 26px; }
.snap:hover { transform: rotate(0) scale(1.08); z-index: 1; }
.snap figure { margin: 0; padding: 12px 12px 0; background: #fff; border: 3px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--ink); }
.snap__img { aspect-ratio: 1; border-radius: 4px; overflow: hidden; border: 2px solid var(--ink); }
.snap__img.ph { background: var(--c); }
.snap__img img { width: 100%; height: 100%; object-fit: cover; }
.snap figcaption { padding: 8px 0 10px; text-align: center; font-weight: 900; font-size: 16px; }
.snap::before { content: ""; position: absolute; top: -12px; left: 50%; width: 70px; height: 24px; margin-left: -35px; background: rgba(255, 201, 60, .85); border: 2px solid var(--ink); transform: rotate(-3deg); z-index: 1; }
.snap { position: relative; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about { padding: 70px 0 140px; transition: background .6s var(--ease), color .6s; }
.about.is-night { background: #1c2547; color: #fff; }
.about__lead { max-width: 820px; margin-top: 30px; font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.9; }
.about__lead .w { transition: opacity .3s, color .3s; }
.motion .about__lead .w { opacity: .18; }
.motion .about__lead .w.is-on { opacity: 1; }
.daynight { margin-top: 60px; }
.switch { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.switch__btn { position: relative; z-index: 1; width: 110px; height: 44px; border: 0; background: none; border-radius: 999px; font-family: var(--en); font-weight: 800; font-size: 14px; cursor: pointer; color: var(--ink); transition: color .3s; }
.switch__btn.is-on { color: #fff; }
.switch__knob { position: absolute; top: 5px; left: 5px; width: 110px; height: 44px; border-radius: 999px; background: var(--orange); transition: transform .5s var(--pop), background .4s; }
.about.is-night .switch__knob { transform: translateX(110px); background: var(--navy); }
.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.flip { perspective: 1400px; }
.flip:nth-child(2) { margin-top: 60px; }
.flip__inner { position: relative; aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform .9s var(--pop); transition-delay: var(--fd, 0s); }
.about.is-night .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; border-radius: 28px; border: 3px solid var(--ink); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__face img { width: 100%; height: 100%; object-fit: cover; }
.flip__face--night { transform: rotateY(180deg); background: linear-gradient(160deg, #2b3a67, #10162e); }
.flip__face--day { background: linear-gradient(160deg, #6cc4e8, #9ad27a); }
.flip__cap { margin-top: 14px; font-size: 14px; }
.flip__cap b { display: block; font-family: var(--en); font-weight: 800; font-size: 20px; }

/* サイト */
.sites { position: relative; background: var(--green); color: #fff; }
.sites__pin { padding: 90px 0 70px; overflow: hidden; }
.sites__head { position: relative; }
.sites__count { position: absolute; right: 0; bottom: 6px; font-family: var(--en); font-weight: 800; font-size: 18px; color: rgba(255, 255, 255, .6); }
.sites__count b { font-size: 56px; color: var(--yellow); }
.sites__track { display: flex; gap: 32px; margin-top: 40px; padding: 0 max(32px, (100vw - 1160px) / 2); will-change: transform; }
.site { flex: 0 0 min(760px, 78vw); display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 32px; overflow: hidden; box-shadow: 10px 10px 0 var(--c); }
.site__img { aspect-ratio: 4 / 3.4; }
.site__img img { width: 100%; height: 100%; object-fit: cover; }
.site__body { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.site__no { font-family: var(--en); font-weight: 800; font-size: 44px; line-height: 1; color: var(--c); -webkit-text-stroke: 2px var(--ink); }
.site__name { font-family: var(--disp); font-weight: 900; font-size: 24px; line-height: 1.4; }
.site__name small { display: block; font-family: var(--en); font-weight: 600; font-size: 11px; letter-spacing: .1em; color: var(--green); }
.site__body > p { font-size: 14px; line-height: 1.8; }
.site__spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.site__spec div { background: var(--cream); border-radius: 14px; padding: 8px 6px; text-align: center; }
.site__spec dt { font-size: 11px; color: #5c6b62; }
.site__spec dd { font-family: var(--disp); font-weight: 900; font-size: 14px; line-height: 1.4; white-space: nowrap; }
.site__spec small { font-size: 9px; }
.sites__bar { width: min(1160px, 100% - 64px); height: 8px; margin: 40px auto 0; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.sites__bar span { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(.25); }
/* PCでは縦スクロールで横に流れる */
@media (min-width: 961px) {
  .sites.is-pinned { height: 300vh; }
  .sites.is-pinned .sites__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 70px 0 40px; }
}

/* あそび */
.play { padding: 130px 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.tile { position: relative; padding: 28px 26px 26px; border-radius: 28px; border: 3px solid var(--ink); background: var(--c); box-shadow: 0 7px 0 var(--ink); transition: transform .35s var(--pop), box-shadow .35s; }
.tile:nth-child(4) { color: #fff; }
.tile:hover { transform: translateY(-8px) rotate(var(--tilt, -2deg)); box-shadow: 0 15px 0 var(--ink); }
.tile:nth-child(even) { --tilt: 2deg; }
.tile svg { width: 76px; height: 76px; padding: 6px; background: #fff; border: 3px solid var(--ink); border-radius: 22px; }
.tile:hover svg { animation: wiggle .6s var(--pop); }
.tile h3 { font-family: var(--disp); font-weight: 900; font-size: 24px; margin-top: 16px; }
.tile p { font-size: 14px; line-height: 1.8; margin-top: 6px; }
.motion .tile[data-r] { transform: translateY(60px) scale(.8) rotate(-6deg); }
.motion .tile[data-r].is-in { transform: none; transition: opacity .6s, transform .7s var(--pop); transition-delay: var(--d, 0s); }
.motion .tile[data-r].is-in:hover { transform: translateY(-8px) rotate(var(--tilt, -2deg)); transition-delay: 0s; }

/* 1日 */
.oneday { --p: 0; position: relative; padding: 120px 0 260px; color: #fff; overflow: hidden; }
.oneday__sky { position: absolute; inset: 0; background: var(--skycolor, #6cc4e8); transition: background .2s linear; }
.oneday__stars { position: absolute; inset: 0; opacity: var(--stars, 0); background-image: radial-gradient(2px 2px at 10% 20%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 30% 60%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 50% 30%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 70% 15%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 85% 50%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 20% 85%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 60% 75%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 92% 80%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 40% 8%, #fff 50%, transparent 52%); background-size: 420px 420px; }
.oneday__orb { position: absolute; top: 0; left: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 3px solid var(--ink); background: var(--orbcolor, #ffc93c); transform: translate(var(--ox, 10vw), var(--oy, 40vh)); box-shadow: 0 0 0 16px rgba(255, 201, 60, .25); }
.oneday__hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 220px; }
.oneday__inner { position: relative; z-index: 1; }
.timeline { position: relative; margin-top: 50px; max-width: 640px; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: rgba(255, 255, 255, .5); }
.timeline li { position: relative; padding: 18px 22px 18px 70px; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); }
.timeline li::before { content: ""; position: absolute; left: 10px; top: 24px; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
.timeline time { font-family: var(--en); font-weight: 800; font-size: 14px; color: var(--orange); }
.timeline h3 { font-family: var(--disp); font-weight: 900; font-size: 20px; line-height: 1.4; }
.timeline p { font-size: 14px; line-height: 1.7; }
.motion .timeline li[data-r] { transform: translateX(-60px) rotate(-3deg); }
.motion .timeline li[data-r].is-in { transform: none; transition: opacity .6s, transform .7s var(--pop); }

/* 数字 */
.numbers { background: var(--yellow); border-block: 3px solid var(--ink); padding: 60px 0; }
.numbers__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.numbers b { font-family: var(--en); font-weight: 800; font-size: clamp(48px, 6vw, 84px); line-height: 1; font-variant-numeric: tabular-nums; }
.numbers span { font-family: var(--disp); font-weight: 900; font-size: 20px; margin-left: 4px; }
.numbers p { font-size: 13px; margin-top: 8px; }

/* 予約 */
.reserve { padding: 130px 0; }
.reserve__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.reserve__text > p:not(.eyebrow) { margin-top: 18px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i, .cal__day i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.ok { background: var(--leaf); } .few { background: var(--yellow); } .full { background: #c9c3b6; }
.cal { padding: 26px; background: #fff; border: 3px solid var(--ink); border-radius: 32px; box-shadow: 10px 10px 0 var(--sky); }
.cal__head { display: flex; align-items: center; justify-content: space-between; }
.cal__month { font-family: var(--en); font-weight: 800; font-size: 22px; }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: var(--cream); font-size: 22px; line-height: 1; cursor: pointer; transition: transform .2s var(--pop), background .2s; }
.cal__nav:hover:not(:disabled) { transform: scale(1.12) rotate(-8deg); background: var(--yellow); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal__week { margin-top: 14px; font-size: 12px; color: #6a756e; }
.cal__week span:first-child { color: #d0533a; } .cal__week span:last-child { color: #2f72b5; }
.cal__grid { margin-top: 6px; }
.cal__day { position: relative; aspect-ratio: 1; border-radius: 14px; border: 2px solid transparent; background: var(--cream); font-family: var(--en); font-weight: 600; font-size: 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: transform .25s var(--pop), border-color .2s, background .2s; }
.cal__day i { width: 9px; height: 9px; border-width: 1.5px; }
.cal__day:hover:not(:disabled) { transform: scale(1.12); border-color: var(--ink); }
.cal__day.is-sel { background: var(--orange); color: #fff; border-color: var(--ink); transform: scale(1.08); }
.cal__day:disabled { background: none; color: #c0bcb2; cursor: default; }
.cal__day:disabled i { display: none; }
.cal__detail { margin: 16px 0; padding: 14px 16px; border-radius: 16px; background: var(--cream); font-size: 14px; line-height: 1.8; min-height: 60px; }
.cal__detail b { font-family: var(--disp); font-weight: 900; }
.cal__detail ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; margin-top: 4px; }
.cal__detail li { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.cal__note { margin-top: 10px; font-size: 12px; color: #6a756e; text-align: center; }

/* アクセス */
.access { padding: 40px 0 130px; }
.access__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.info { margin-top: 26px; }
.info div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 12px 0; border-bottom: 2px dashed rgba(27, 42, 34, .25); font-size: 15px; line-height: 1.7; }
.info dt { font-family: var(--disp); font-weight: 900; color: var(--green); }
.map svg { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--leaf); }
.motion .map__road { animation: road 1.2s linear infinite; }
@keyframes road { to { stroke-dashoffset: -26; } }
.motion .map__pin { animation: pin 1.6s var(--pop) infinite; transform-origin: 330px 214px; }
@keyframes pin { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-16px) scale(1.06, .94); } }

/* 予約への誘導：夜の焚き火 */
.night { position: relative; overflow: hidden; background: #1c2547; color: #fff; padding: 110px 0 0; text-align: center; }
.night__stars i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; }
.motion .night__stars i { animation: twinkle 3s ease-in-out infinite; animation-delay: var(--d); }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.6); } }
.night__shoot { position: absolute; top: 12%; left: 70%; width: 120px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); opacity: 0; transform: rotate(-20deg); }
.motion .night__shoot { animation: shoot 7s ease-in 2s infinite; }
@keyframes shoot { 0% { opacity: 0; translate: 0 0; } 3% { opacity: 1; } 10% { opacity: 0; translate: -320px 120px; } 100% { opacity: 0; translate: -320px 120px; } }
.night__inner { position: relative; z-index: 2; }
.night__en { font-family: var(--en); font-weight: 800; font-size: 14px; letter-spacing: .14em; color: var(--yellow); }
.night__title { margin: 12px 0 30px; font-family: var(--disp); font-weight: 900; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.25; letter-spacing: .02em; }
.btn--yellow { background: var(--yellow); color: var(--ink); height: 60px; padding: 0 40px; font-size: 18px; }
.night__ground { position: relative; height: 300px; margin-top: 20px; }
.night__hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 220px; }
.fire { position: absolute; left: 50%; bottom: 40px; width: 170px; margin-left: -85px; }
.fire__svg { display: block; width: 100%; height: auto; overflow: visible; }
.fire__flame { transform-box: fill-box; transform-origin: 50% 100%; }
.motion .fire__flame { animation: flicker2 .45s ease-in-out infinite alternate; }
@keyframes flicker2 { from { transform: scale(1, 1) skewX(-2deg); } to { transform: scale(.92, 1.08) skewX(3deg); } }
.fire::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 480px; height: 300px; margin-left: -240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 140, 60, .35), rgba(255, 140, 60, 0)); pointer-events: none; }
.motion .fire::before { animation: glow 2s ease-in-out infinite alternate; }
@keyframes glow { to { opacity: .6; transform: scale(.92); } }
.fire__sparks { position: absolute; left: 50%; bottom: 90px; }
.fire__sparks i { position: absolute; left: 0; bottom: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); opacity: 0; }
.motion .fire__sparks i { animation: spark 2.8s ease-out infinite; animation-delay: var(--d); }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), -140px) scale(.4); } }

/* フッター */
.footer { position: relative; background: #163f2b; padding-top: 0; margin-top: -1px; }
.footer__hills { display: block; width: 100%; height: 100px; }
.footer__inner { width: auto; max-width: none; margin: 0; padding: 20px 32px 40px; background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.logo--foot { color: #fff; }
.logo--foot small { color: var(--yellow); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__nav a { font-family: var(--en); font-weight: 600; font-size: 13px; text-decoration: none; }
.footer__inner > small { width: 100%; text-align: center; font-size: 11px; color: #9aa69f; }

/* 右下の予約ボタン */
.float-btn { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: #fff; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); display: grid; place-items: center; font-family: var(--disp); font-weight: 900; font-size: 17px; text-decoration: none; transform: scale(0) rotate(-90deg); transition: transform .5s var(--pop); }
.float-btn.is-show { transform: none; }
.float-btn.is-show:hover { transform: rotate(-12deg) scale(1.1); }

/* 写真がまだないときの仮の背景 */
:where(.ph) { position: relative; background: linear-gradient(150deg, #9ad27a, #1f5a3d); }
.ph.is-missing img, .ph.is-missing video { display: none; }
.ph.is-missing:not(.hero__media)::after { content: "写真準備中"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: rgba(255, 255, 255, .85); }

/* スクロールで現れる */
.motion [data-r] { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .7s var(--ease), transform .8s var(--pop); transition-delay: var(--d, 0s); }
.motion [data-r].is-in { opacity: 1; transform: none; }
.motion .big-title[data-r] { transform: translateY(60px) rotate(-3deg); }
.motion .big-title[data-r].is-in { transform: none; }

/* タブレット */
@media (max-width: 960px) {
  .gnav { display: none; }
  .header .btn--sm { margin-left: auto; }
  .menu-btn { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: var(--yellow); cursor: pointer; padding: 0; }
  .menu-btn span { display: block; width: 18px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .3s var(--pop), opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .drawer { position: fixed; inset: 0; z-index: 48; background: var(--yellow); padding: 160px 24px 40px; display: flex; flex-direction: column; gap: 26px; overflow-y: auto; }
  .motion .drawer:not([hidden]) li { animation: chPop .5s var(--pop) both; }
  .motion .drawer li:nth-child(2) { animation-delay: .05s; } .motion .drawer li:nth-child(3) { animation-delay: .1s; } .motion .drawer li:nth-child(4) { animation-delay: .15s; } .motion .drawer li:nth-child(5) { animation-delay: .2s; }
  .drawer a:not(.btn) { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 3px solid var(--ink); text-decoration: none; font-family: var(--en); font-weight: 800; font-size: 28px; }
  .drawer small { font-family: var(--ja); font-size: 12px; font-weight: 700; }
  .flips { gap: 16px; }
  .hero__text { bottom: 180px; }
    .site { grid-template-columns: 1fr; flex-basis: min(420px, 80vw); }
  .site__img { aspect-ratio: 4 / 3; }
  .sites__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: none; }
  .sites__track::-webkit-scrollbar { display: none; }
  .site { scroll-snap-align: center; }
  .sites__count { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .reserve__inner, .access__inner { grid-template-columns: 1fr; gap: 40px; }
  .numbers__list { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

/* スマホ */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 40px); }
  .sp { display: inline; }
  .demo-bar { padding: 8px 16px; }
  .header { margin: 8px 10px 0; gap: 10px; padding: 6px 6px 6px 12px; }
  .logo { font-size: 14px; } .logo svg { width: 32px; height: 28px; }
  .header .btn--sm { height: 40px; padding: 0 14px; font-size: 13px; box-shadow: 0 3px 0 var(--ink); }
  .snaps { padding: 50px 0 30px; }
  .snaps__list { gap: 22px; padding-right: 22px; }
  .snap { width: 150px; }
  .snap figure { padding: 8px 8px 0; box-shadow: 4px 4px 0 var(--ink); }
  .snap figcaption { font-size: 13px; padding: 6px 0 8px; }
  .hero { padding-top: 20px; }
  .hero__stage { margin: 0 10px; min-height: 560px; }
  .hero__screen { inset: 0 0 60px; border-radius: 28px; }
  .hero__text { left: 18px; right: 18px; bottom: 140px; }
  .hero__title { font-size: 38px; margin-top: 12px; -webkit-text-stroke: 8px var(--ink); }
  .hero__line { white-space: normal; }
  .hero__deco { top: 12px; right: 12px; width: 150px; padding: 10px 12px 8px; border-width: 3px; border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .wx__head { font-size: 11px; } .wx__head span { display: none; }
  .wx__icon { width: 38px; height: 38px; } .wx__temp b { font-size: 28px; }
  .wx__rows { margin-top: 6px; padding-top: 4px; } .wx__rows div { font-size: 10px; } .wx__stars { font-size: 11px; }
  .wx__note { display: none; }
  .motion .hero__media { animation-name: openWinSp; }
  .hero__tag { font-size: 12px; }
  .hero__btns .btn { flex: 1; padding: 0 12px; font-size: 15px; }
  .hero__land { height: 140px; }
    .about { padding: 40px 0 100px; }
  .flips { grid-template-columns: 1fr 1fr; }
  .flip:nth-child(2) { margin-top: 40px; }
  .flip:nth-child(3) { grid-column: 1 / -1; width: 70%; margin: -10px auto 0; }
  .switch__btn, .switch__knob { width: 92px; }
  .about.is-night .switch__knob { transform: translateX(92px); }
  .sites__pin { padding: 70px 0 50px; }
  .site__body { padding: 20px; }
  .site__name { font-size: 20px; }
  .play, .reserve { padding: 90px 0; }
  .tiles { grid-template-columns: 1fr; gap: 18px; }
  .tile { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px; }
  .tile svg { width: 60px; height: 60px; grid-row: span 2; border-radius: 18px; }
  .tile h3 { margin-top: 0; font-size: 19px; }
  .tile p { margin-top: 0; font-size: 13px; }
  .oneday { padding: 90px 0 200px; }
  .oneday__orb { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
  .timeline li { padding: 14px 16px 14px 60px; }
  .numbers span { font-size: 16px; }
  .cal { padding: 16px; border-radius: 24px; box-shadow: 6px 6px 0 var(--sky); }
  .cal__week, .cal__grid { gap: 4px; }
  .cal__day { border-radius: 10px; font-size: 12px; }
  .cal__detail ul { grid-template-columns: 1fr; }
  .access { padding: 20px 0 90px; }
  .info div { grid-template-columns: 1fr; gap: 0; }
  .float-btn { width: 70px; height: 70px; right: 12px; bottom: 12px; font-size: 15px; }
}
@media (max-width: 640px) {
  .night { padding-top: 80px; }
  .night__ground { height: 220px; }
  .night__hills { height: 160px; }
  .fire { width: 120px; margin-left: -60px; bottom: 26px; }
  .btn--yellow { height: 54px; padding: 0 28px; font-size: 16px; }
}
