/* KIBOTCHA 予約ページ。公式サイトのトップと同じトーン:
   文字 Zen Kaku Gothic New / 英字 Barlow Condensed / 地は白 / 文字 #282828 / 予約の赤 #AA0E17 / 差し色 緑 #6FB11E・黄 #DBA700 */
:root {
  --ink: #282828; --sub: #555555; --line: #e3e3e3; --bg: #ffffff; --bg2: #F4F4F4;
  --red: #AA0E17; --red-dark: #8c0b12; --green: #6FB11E; --yellow: #DBA700; --sky: #0bf;
  --radius: 14px; --gutter: 16px; --max: 760px;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --en: "Barlow Condensed", "Zen Kaku Gothic New", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--jp); font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.loading { padding: 40px 0; text-align: center; color: var(--sub); }
.en { font-family: var(--en); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* 上の帯 */
.top { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); max-width: var(--max); margin: 0 auto; }
.top .logo img { height: 34px; width: auto; }
.top .logo b { font-family: var(--en); font-size: 24px; }
.top-en { font-family: var(--en); font-weight: 700; font-size: 18px; letter-spacing: .12em; color: var(--red); }

/* お知らせ */
#notice:empty { display: none; }
#notice .bar { max-width: var(--max); margin: 0 auto 8px; padding: 10px var(--gutter); background: #fff7df; color: #7a5a00; font-size: 14px; border-top: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); }
#notice .bar.test { background: #efe9ff; color: #4c1d95; border-color: #a78bfa; }

/* 入口のヒーロー */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; margin: 6px 0 20px; background: var(--bg2); aspect-ratio: 16 / 9; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%); }
.hero .text { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; }
.hero .kicker { font-family: var(--en); font-weight: 600; letter-spacing: .15em; font-size: 14px; opacity: .9; }
.hero h1 { margin: 2px 0 0; font-size: clamp(22px, 5.6vw, 34px); font-weight: 900; line-height: 1.25; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.hero p { margin: 4px 0 0; font-size: 14px; opacity: .95; }

h2.sec { margin: 26px 0 6px; font-size: 22px; font-weight: 900; line-height: 1.3; }
h2.sec .en { display: block; font-size: 13px; color: var(--red); margin-bottom: 2px; }
.lead { color: var(--sub); font-size: 15.5px; margin: 0 0 14px; }

/* 大項目のタイル */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 430px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--bg2); aspect-ratio: 4 / 3; color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.04); }
.tile .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.62) 100%); }
.tile .t { position: absolute; left: 14px; right: 14px; bottom: 12px; }
.tile .t .en { font-size: 13px; opacity: .95; }
.tile .t .name { font-size: 22px; font-weight: 900; line-height: 1.2; }
.tile .t .catch { font-size: 13.5px; margin-top: 2px; opacity: .95; }
.tile .arrow { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--en); font-weight: 700; }

/* プランのカード */
.plan { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 14px; background: #fff; }
.plan .ph { aspect-ratio: 16 / 9; background: var(--bg2); }
.plan .ph img { width: 100%; height: 100%; object-fit: cover; }
.plan .body { padding: 14px 16px 16px; }
.plan .en { font-size: 12px; color: var(--red); }
.plan .name { font-size: 20px; font-weight: 900; margin: 0; line-height: 1.3; }
.plan .catch { font-weight: 700; margin: 6px 0 4px; }
.plan .desc { font-size: 15px; color: var(--sub); margin: 0; white-space: pre-line; }
.plan .price { margin: 10px 0 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price strong { font-family: var(--en); font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1; }
.plan .price small { font-size: 13.5px; color: var(--sub); }
.plan .sub-price { font-size: 13.5px; color: var(--sub); margin-top: 6px; line-height: 1.6; }
.plan .chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 0; padding: 0; list-style: none; }
.plan .chips li { font-size: 13px; padding: 4px 11px; line-height: 1.5; border-radius: 999px; background: var(--bg2); color: var(--sub); }
.plan .chips li.g { background: #eef7e2; color: #3f6b0b; }
.plan .chips li.y { background: #fff4cc; color: #7a5a00; }
.plan .video { margin-top: 12px; border-radius: 10px; overflow: hidden; background: var(--bg2); }
.plan .video iframe { width: 100%; height: 520px; border: 0; display: block; }
.plan details summary { cursor: pointer; font-size: 13.5px; color: var(--sub); margin-top: 8px; }

/* 写真の上の札（宿泊プラン） */
.plan .ph { position: relative; }
.plan .walkin { width: 100%; padding: 12px 14px; border-radius: 12px; background: #eef7e2; color: #3f6b0b; font-weight: 700; text-align: center; }
.others { margin: 18px 0 8px; }
/* 詳細ページ: 写真は横にすべらせる（1 枚ずつ止まる） */
.detail { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 8px 0 0; }
.detail .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; background: #1f1f1f; }
.detail .gallery::-webkit-scrollbar { display: none; }
/* チラシ（正方形・縦長）も切らずに全体を見せる */
.detail .gallery img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; background: #1f1f1f; scroll-snap-align: start; }
.detail .gal-nav { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 0 0; font-size: 14px; color: var(--sub); }
.detail .gal-nav button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }
.detail .body { padding: 18px 18px 22px; }
.detail .name { font-size: 22px; margin: 4px 0 6px; }
.detail .chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 14px; }
.detail .chips li { font-size: 13px; padding: 4px 11px; line-height: 1.5; border-radius: 999px; background: var(--bg2); color: var(--sub); }
.detail .chips li.g { background: #eef7e2; color: #3f6b0b; }
.detail .chips li.y { background: #fff4cc; color: #7a5a00; }
.detail .chips li.wide { border-radius: 10px; }
.detail .detail-text { white-space: pre-wrap; line-height: 1.9; margin: 14px 0; }
.detail .dh { font-size: 15px; margin: 20px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.detail .place { line-height: 1.8; }
.detail .place a { color: var(--red); font-weight: 700; }
.detail .walkin { width: 100%; padding: 12px 14px; border-radius: 12px; background: #eef7e2; color: #3f6b0b; font-weight: 700; text-align: center; }
.detail .nav { margin-top: 18px; }
.plan .nav .btn.ghost + .btn, .plan .nav .btn.ghost + .walkin { margin-top: 10px; }
.others .btn { width: 100%; }
.plan .ph-badge { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
/* 長い説明は箇条書き（チェックの印） */
.plan .points { list-style: none; margin: 4px 0 0; padding: 0; }
.plan .points li { position: relative; padding: 5px 0 5px 26px; font-size: 15px; line-height: 1.6; border-bottom: 1px dashed var(--line); }
.plan .points li:last-child { border-bottom: 0; }
.plan .points li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
/* 日によって変わる料金の表 */
.ptable { width: 100%; border-collapse: collapse; margin: 10px 0 0; font-size: 14.5px; }
.ptable th, .ptable td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: right; }
.ptable thead th { font-size: 12.5px; color: var(--sub); font-weight: 700; background: var(--bg2); white-space: nowrap; }
.ptable thead th:first-child { text-align: left; }
.ptable tbody th { text-align: left; font-weight: 700; color: var(--ink); }
.ptable td { font-family: var(--en); font-size: 18px; font-weight: 700; white-space: nowrap; }
.ptable thead th:first-child, .ptable tbody th { padding-left: 8px; }
/* 札: 長い文の札は 1 行ぶん使う */
.plan .chips li.wide { flex-basis: 100%; border-radius: 10px; }
/* 大項目の写真の帯（プランの一覧の上） */
.cat-banner { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; margin: 6px 0 4px; background: var(--bg2); color: #fff; }
.cat-banner img { width: 100%; height: 100%; object-fit: cover; }
.cat-banner .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.6)); }
.cat-banner .t { position: absolute; left: 14px; bottom: 10px; }
.cat-banner .en { font-size: 13px; }
.cat-banner .name { font-size: 24px; font-weight: 900; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.4); }

/* カレンダーの下の注意（1 つの箱にまとめる） */
.cal-notes { margin: 12px 0 0; padding: 10px 12px 10px 28px; background: var(--bg2); border-radius: 10px; font-size: 14px; color: var(--sub); line-height: 1.6; }
.cal-notes li + li { margin-top: 4px; }
/* その日の料金の段（人数の歩） */
.tier-tag { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 999px; background: #fff4cc; color: #7a5a00; font-size: 13px; font-weight: 700; }

/* パソコンの幅では、確認の左の見出しを広めに */
@media (min-width: 560px) { .summary dt { flex-basis: 110px; } }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--red); background: var(--red); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; width: 100%; transition: background .2s; }
.btn:hover { background: var(--red-dark); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg2); }
.btn.green { background: var(--green); border-color: var(--green); }
.btn .en { font-size: 13px; opacity: .9; }
.nav { display: flex; gap: 10px; margin: 18px 0 8px; }
.nav .btn.ghost { flex: 0 0 34%; }
/* ボタンの字は折り返さない。ボタンが 1 つだけ（「予約の入口へ」など）のときは、字の長さに合わせる */
.btn { white-space: nowrap; }
.nav .btn.ghost:only-child { flex: 0 1 auto; padding: 12px 32px; }
/* 戻るリンクは指で押しやすいように 44px の高さを取る */
.back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 0; margin: 4px 0 0; font-size: 15px; color: var(--sub); text-decoration: none; }
.back:hover { color: var(--ink); }

/* 進み具合 */
.steps { display: flex; gap: 6px; margin: 14px 0 4px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps span.on { background: var(--red); }
.stephead { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 4px; }
.stephead .n { font-family: var(--en); font-weight: 700; font-size: 28px; color: var(--red); line-height: 1; }
.stephead h2 { margin: 0; font-size: 20px; font-weight: 900; }
.picked { font-size: 14.5px; color: var(--sub); margin: 0 0 10px; }
.picked b { color: var(--ink); }

/* カレンダー */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 6px; }
.cal-head strong { font-family: var(--en); font-size: 22px; font-weight: 700; letter-spacing: .04em; }
.cal-head button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }
.cal-head button:disabled { opacity: .3; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .h { text-align: center; font-size: 12px; color: var(--sub); padding: 4px 0; }
.cal .h:first-child { color: var(--red); } .cal .h:nth-child(7) { color: var(--sky); }
.cal .d { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; cursor: pointer; font-size: 15px; background: #fff; }
.cal .d small { font-size: 12px; font-weight: 400; color: var(--sub); line-height: 1.1; white-space: nowrap; }
.cal .d.off { color: #bbb; background: var(--bg2); cursor: not-allowed; border-color: transparent; }
.cal .d.sel { background: var(--red); color: #fff; border-color: var(--red); }
.cal .d.sel small { color: #fff; }
.cal .d.blank { border: 0; cursor: default; }
.cal .d.today:not(.sel) { border-color: var(--yellow); }

/* 人数 */
.counters { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 14px; }
.counter { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.counter:last-child { border-bottom: 0; }
.counter .lbl { font-weight: 700; }
.counter .lbl small { display: block; font-weight: 400; font-size: 13.5px; color: var(--sub); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.stepper button:disabled { opacity: .3; }
.stepper input { width: 48px; text-align: center; font-size: 20px; font-weight: 700; border: 0; font-family: var(--en); }
.stepper input.zero { color: #bbb; }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 2px 0; }
.totals .amount { font-family: var(--en); font-size: 32px; font-weight: 700; }
.totals .amount small { font-size: 13px; font-family: var(--jp); font-weight: 400; color: var(--sub); }

/* 時間 */
.sess-title { margin: 12px 0 6px; font-weight: 700; }
.slotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--line); border-radius: 10px; padding: 10px 4px; text-align: center; font-family: var(--en); font-size: 19px; font-weight: 700; cursor: pointer; background: #fff; }
.slot small { display: block; font-family: var(--jp); font-size: 12px; font-weight: 400; color: var(--sub); }
.slot.off { color: #bbb; background: var(--bg2); text-decoration: line-through; cursor: not-allowed; border-color: transparent; }
.slot.off small { text-decoration: none; }
.slot.sel { background: var(--red); color: #fff; border-color: var(--red); }
.slot.sel small { color: #fff; }

/* 入力 */
.field { margin-top: 12px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.field label .req { display: inline-block; font-size: 11px; color: #fff; background: var(--red); border-radius: 4px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; }
.field input, .field select, .field textarea { width: 100%; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--yellow); border-color: var(--yellow); }
.field .hint { font-size: 13.5px; color: var(--sub); margin-top: 3px; }
/* 入力の間違い: 欄に赤い枠、すぐ下に赤字 */
.field.bad input, .field.bad textarea, .field.bad select { border-color: var(--red); background: #fff7f7; }
.field .err-text { color: var(--red); font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.field .count { text-align: right; font-size: 12.5px; color: var(--sub); margin-top: 3px; }
.field .count.over { color: var(--red); font-weight: 700; }
.min-note { font-size: 13.5px; color: var(--ink); background: var(--bg2); border-radius: 10px; padding: 8px 12px; margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 確認 */
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px; margin: 0; }
.summary div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary dt { flex: 0 0 76px; font-size: 14px; color: var(--sub); padding-top: 2px; }
.summary dd { margin: 0; flex: 1; font-weight: 500; }
.summary dd.amount { font-family: var(--en); font-size: 26px; font-weight: 700; }
.terms { font-size: 14.5px; color: var(--sub); padding-left: 1.2em; margin: 8px 0; }
.check { display: flex; gap: 10px; align-items: center; margin: 12px 0; font-weight: 700; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--red); }
.agree-hint { font-size: 13.5px; color: var(--red); font-weight: 700; text-align: center; margin: 6px 0 0; }
.deadline { font-size: 13px; color: var(--sub); margin: 6px 0 0; }

/* 知らせ */
.msg { padding: 12px 14px; border-radius: 10px; margin: 10px 0; font-size: 14.5px; white-space: pre-wrap; }
.msg.err { background: #fde8e9; color: var(--red); border: 1px solid #f3c2c5; }
.msg.ok { background: #eef7e2; color: #2f5a00; }
.msg.info { background: var(--bg2); color: var(--ink); }
.done { text-align: center; padding: 10px 0; }
.done .en { color: var(--green); font-size: 16px; }
.done h2 { font-size: 24px; font-weight: 900; margin: 4px 0 8px; }
.done .id { font-family: var(--en); font-size: 30px; font-weight: 700; letter-spacing: .04em; }

/* ---- 動き（公式サイトのトップと同じ、飛び出す・降りてくる・ゆらゆらの組み合わせ） ---- */
@keyframes kb-pop   { from { opacity: 0; transform: scale(.55); } 65% { transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes kb-down  { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
@keyframes kb-up    { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes kb-in-l  { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
@keyframes kb-in-r  { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes kb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes kb-bob   { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(3deg); } }
@keyframes kb-drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(22px); } }
@keyframes kb-spin  { to { transform: rotate(360deg); } }
@keyframes kb-fly   { from { transform: translateX(-30%); } to { transform: translateX(260%); } }
@keyframes kb-stamp { from { opacity: 0; transform: scale(2.2) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes kb-bump  { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes kb-wave  { 0%, 100% { transform: translateY(0) skewX(0); } 50% { transform: translateY(-4px) skewX(-1.5deg); } }

/* 入口のヒーロー（絵の部品の寄せ集め）*/
.hero2 { position: relative; overflow: hidden; border-radius: var(--radius); margin: 6px 0 20px; aspect-ratio: 4 / 3; background: #dff0f7; isolation: isolate; }
@media (min-width: 640px) { .hero2 { aspect-ratio: 16 / 9; } }
.hero2 .hb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero2 .fp { position: absolute; opacity: 0; animation-fill-mode: forwards; will-change: transform, opacity; }
.hero2 .fp img { width: 100%; height: auto; display: block; }
/* 文字は左上（空の上）。絵は右と下に寄せて、文字と重ねない */
.hero2 .wave     { left: -8%; bottom: -6%; width: 70%; animation: kb-in-l .9s cubic-bezier(.2,.8,.2,1) forwards .1s; }
.hero2 .wave img { animation: kb-wave 7s ease-in-out infinite 1s; }
.hero2 .mountain { right: -8%; bottom: 0; width: 60%; animation: kb-in-r .9s cubic-bezier(.2,.8,.2,1) forwards .2s; }
.hero2 .school   { left: 28%; bottom: -3%; width: 46%; animation: kb-down .7s cubic-bezier(.2,.8,.2,1) forwards .55s; }
.hero2 .school img { animation: kb-float 6s ease-in-out infinite 1.5s; }
.hero2 .entrance { right: -3%; bottom: -4%; width: 44%; animation: kb-pop .7s cubic-bezier(.3,1.4,.5,1) forwards .85s; }
.hero2 .sun      { right: 36%; top: 6%; width: 10%; animation: kb-pop .6s cubic-bezier(.3,1.6,.5,1) forwards 1.1s; }
.hero2 .sun img  { animation: kb-spin 28s linear infinite; }
.hero2 .cloud    { right: 1%; top: 3%; width: 32%; animation: kb-down .6s ease-out forwards 1.25s; }
.hero2 .cloud img { animation: kb-drift 9s ease-in-out infinite 2s; }
.hero2 .bird     { right: 20%; top: 20%; width: 14%; animation: kb-pop .6s cubic-bezier(.3,1.5,.5,1) forwards 1.4s; }
.hero2 .bird img { animation: kb-bob 2.6s ease-in-out infinite 2s; }
.hero2 .child    { right: 7%; top: 30%; width: 10%; animation: kb-up .6s ease-out forwards 1.5s; }
.hero2 .child img { animation: kb-float 4.5s ease-in-out infinite 2.2s; }
.hero2 .fireboy  { left: 4%; bottom: 3%; width: 12%; animation: kb-pop .6s cubic-bezier(.3,1.5,.5,1) forwards 1.65s; }
.hero2 .fireboy img { animation: kb-bob 3s ease-in-out infinite 2.4s; }
.hero2 .canoe    { left: 17%; bottom: 0; width: 13%; animation: kb-up .6s ease-out forwards 1.75s; }
.hero2 .canoe img { animation: kb-bob 3.4s ease-in-out infinite 2.6s; }
.hero2 .runner   { left: 3%; bottom: 26%; width: 11%; animation: kb-in-l .7s cubic-bezier(.2,.8,.2,1) forwards 1.9s; }
.hero2 .runner img { animation: kb-float 2.2s ease-in-out infinite 2.8s; }
.hero2-text { position: absolute; left: 16px; right: 16px; top: 9%; z-index: 2; pointer-events: none; }
@media (min-width: 640px) { .hero2-text { left: 30px; top: 11%; width: 44%; } }
/* 文字と人物が重ならないように（2026-10-23）: 校舎を少し右へ、寝転ぶ人はカヌーの右の下へ */
@media (min-width: 640px) {
  .hero2 .school { left: 34%; }
  .hero2 .runner { left: 30%; bottom: 0; width: 9%; }
}
.hero2-text .kicker { font-family: var(--en); font-weight: 700; letter-spacing: .16em; font-size: 14px; color: var(--red); opacity: 0; animation: kb-down .5s ease-out forwards .2s; }
.hero2-text h1 { margin: 2px 0 0; font-size: clamp(26px, 6.6vw, 44px); font-weight: 900; line-height: 1.18; color: var(--ink); text-shadow: 0 0 12px #fff, 0 0 24px #fff, 0 2px 0 #fff; }
.hero2-text h1 .w { display: inline-block; opacity: 0; animation: kb-pop .55s cubic-bezier(.3,1.5,.5,1) forwards; animation-delay: calc(.35s + var(--i, 0) * .14s); }
.hero2-text p { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); text-shadow: 0 0 10px #fff, 0 0 16px #fff; opacity: 0; animation: kb-up .5s ease-out forwards 1s; }
.hero2-text .pill { display: inline-block; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; opacity: 0; animation: kb-pop .5s cubic-bezier(.3,1.5,.5,1) forwards 1.2s; }
@media (max-width: 639px) {
  .hero2 .child, .hero2 .runner, .hero2 .canoe { display: none; }
  .hero2 .school { left: 38%; width: 50%; bottom: -4%; }
  .hero2 .mountain { right: -16%; bottom: -5%; }
  .hero2 .entrance { width: 50%; }
  .hero2 .bird { right: 3%; top: 58%; width: 15%; }
  .hero2 .sun { right: 3%; top: 2%; width: 11%; }
  .hero2 .cloud { top: -3%; right: 14%; width: 30%; }
  .hero2 .fireboy { width: 15%; }
  .hero2-text { top: 7%; }
}

/* 現れる（スクロールで見えたところから順に）*/
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.tile .arrow { animation: kb-bob 2.4s ease-in-out infinite; }
.tile { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.plan { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.10); }
.btn { transition: background .2s, transform .15s; }
.btn:not(:disabled):active { transform: scale(.97); }

/* 予約の各ステップ */
.step-in { animation: kb-up .45s cubic-bezier(.2,.8,.2,1) both; }
.steps span { transform-origin: left; transition: background .3s; }
.steps span.on { animation: kb-wipe .5s cubic-bezier(.65,0,.35,1) both; }
@keyframes kb-wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.stephead .n { opacity: 0; animation: kb-pop .5s cubic-bezier(.3,1.5,.5,1) forwards .05s; }
.cal .d.sel, .slot.sel { animation: kb-pop .35s cubic-bezier(.3,1.5,.5,1); }
.stepper input.bump { animation: kb-bump .35s ease-out; }
.totals .amount { transition: transform .2s; }
.totals .amount.bump { animation: kb-bump .35s ease-out; }
.summary div { opacity: 0; animation: kb-up .4s ease-out forwards; animation-delay: calc(var(--i, 0) * 70ms); }

/* 完了の印 */
.done { position: relative; }
.stamp { display: inline-block; margin: 10px auto 0; padding: 6px 16px; border: 4px solid var(--red); border-radius: 10px; color: var(--red); font-family: var(--en); font-weight: 700; font-size: 26px; letter-spacing: .14em; opacity: 0; animation: kb-stamp .45s cubic-bezier(.3,1.6,.5,1) forwards .9s; transform: rotate(-8deg); }
.stamp.green { border-color: var(--green); color: var(--green); }
.done .fx { position: absolute; width: 14%; max-width: 90px; pointer-events: none; opacity: 0; }
.done .fx.l { left: 2%; top: 0; animation: kb-pop .5s cubic-bezier(.3,1.5,.5,1) forwards .3s; }
.done .fx.l img { animation: kb-bob 2.6s ease-in-out infinite .8s; }
.done .fx.r { right: 2%; top: 6px; animation: kb-pop .5s cubic-bezier(.3,1.5,.5,1) forwards .5s; }
.done .fx.r img { animation: kb-spin 22s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero2 .fp, .hero2-text .kicker, .hero2-text h1 .w, .hero2-text p, .hero2-text .pill, .stamp, .done .fx, .stephead .n, .summary div { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero2 .fp img, .tile .arrow, .done .fx img { animation: none !important; }
  .hero2 .jets { display: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .step-in, .steps span.on, .cal .d.sel, .slot.sel, .stepper input.bump, .totals .amount.bump { animation: none !important; }
}

/* 下の帯 */
.foot { margin-top: 48px; background: var(--bg2); padding: 26px 0 34px; font-size: 14px; color: var(--sub); }
.foot-en { font-family: var(--en); font-weight: 700; font-size: 22px; letter-spacing: .14em; color: var(--ink); margin-bottom: 4px; }
.foot-links { margin-top: 8px; }
.foot-links a { color: var(--ink); }

/* メールマガジン（任意）は、必須の同意より控えめに */
.check.news span { font-size: 14px; color: var(--sub); }
.check .linkish { display: inline; padding: 0; margin: 0; border: 0; background: none; font: inherit; color: var(--red); text-decoration: underline; cursor: pointer; }
/* プライバシーポリシーの小窓 */
.pp-bg { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pp { background: #fff; width: 100%; max-width: 640px; max-height: 88vh; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.pp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 10px; border-bottom: 1px solid var(--line); }
.pp-head .en { font-size: 12px; letter-spacing: .12em; color: var(--sub); }
.pp-head h2 { font-size: 19px; margin: 2px 0 0; }
.pp-x { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }
.pp-body { overflow-y: auto; padding: 14px 18px; font-size: 14px; line-height: 1.85; color: var(--ink); }
.pp-body h3 { font-size: 15px; margin: 18px 0 6px; }
.pp-body h4 { font-size: 14px; margin: 12px 0 4px; }
.pp-body p { margin: 0 0 8px; }
.pp-body ul { margin: 0 0 8px; padding-left: 1.3em; }
.pp-body li { margin: 2px 0; }
.pp-foot { display: flex; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.pp-foot .btn { min-height: 48px; }

/* 少人数の場所代（人数の画面） */
.fee-line { display: flex; justify-content: space-between; margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff4cc; color: #7a5a00; font-size: 14px; }

/* 追加でつけられるもの（飲み放題など） */
.opt-title { font-size: 15px; margin: 18px 0 6px; }
