/* キッズパークLP：色はKV（img/kv_1200x630.jpg）から拾う */
:root {
  /* 文字と線は、黄色寄りの背景になじむ温かみのあるグレー（背景 --bg の上でのコントラスト：ink 14.1／ink-2 8.7／muted 5.0） */
  --ink: #2b2621;
  --ink-2: #4d463f;
  --muted: #736a60;
  --line: #ddd5c6;
  --line-2: #ece6d9;
  --ground: #f4f0e8; /* 選択肢チップなどの地。温かみのある薄いグレー */
  --maru: #e46143;  /* セクション見出しの文字（1・4・7…文字目）。KVのオレンジ赤そのまま */
  --maru-2: #3f8e4d; /* 同（2・5・8…文字目）。KVの緑そのまま */
  --maru-3: #153e7c; /* 同（3・6…文字目）。KVの紺（--ok と同じ） */
  --kv-yellow: #eec549; /* KVの地の黄色。ナビのマーカー線 */
  --bg: #fdf8ea;    /* LPの地。KVの地の黄色（#eec549）をごく薄くした色 */
  --quote-bg: #fffbf0; /* 目玉の口コミの地。白にほんのり黄色を足した色（--muted の文字とのコントラスト5.2） */
  --page: #f1e8cf;  /* PCで見たときのLPの外側。--bg より一段濃くして、LPの幅の境目を見せる（温泉LPと同じ作り） */
  --ok: #153e7c;    /* KVの紺（「遊び場ガイド」の文字）。カードの「できる・ある」のチェック（白地とのコントラスト10.4） */
  --accent: #34753f;    /* 操作するところ（ナビ・NEW・絞り込み・点）。KVの緑（#3f8e4d）を、白文字と薄緑地の文字が読める濃さまで落とした色（白5.58／--accent-bg上5.05） */
  --accent-bg: #eff4f0; /* --accent を白に8%混ぜた薄い緑 */
  --off: #c93d1d;   /* 割引率の帯。KVのオレンジ赤（#e46143）を、白文字が読める濃さ（白とのコントラスト5.0）まで落とした色 */
  --price: #c93d1d; /* 金額の色。--off と同じ（白地とのコントラスト5.0） */
  --r: 12px;        /* カード・パネルの角の丸み（全体でそろえる） */
  --r-s: 8px;       /* カードの中の写真・帯 */
  --shadow: 0 1px 3px rgba(43, 38, 33, .08);
  --star: #eec549;  /* 評点の星。KVの地の黄色。飾りなので数字（文字色）と一緒に出す */
  --nav-h: 44px;
  /* 見出し・リードの書体（M PLUS 1）。本文・カード・口コミは body の Noto Sans JP。読み込み前は標準のゴシックで出す */
  --font-display: "M PLUS 1", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
/* 画面には出さず、読み上げ（VoiceOver・TalkBack など）だけで読ませる文字 */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: 14px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
/* 幅は温泉LPと同じ480px。PCでは左右に線を引き、外側（--page）と分けて見せる */
.lp { max-width: 480px; margin: 0 auto; overflow-x: clip; background: var(--bg); min-height: 100vh;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

/* ---------- head / KV ---------- */
.site-head { height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line-2); }
.kv h1 { margin: 0; }
.kv img { width: 100%; height: auto; }
.kv-ph {
  aspect-ratio: 1200 / 630; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--line-2); color: var(--ink-2); font-size: 15px; font-weight: 700;
}
.kv-ph small { font-size: 12px; font-weight: 400; }
.lead-box { padding: 32px 16px 0; text-align: center; }
/* 中央寄せの文が単語の途中で折り返さないように（対応ブラウザのみ） */
.lead-box p { word-break: auto-phrase; text-wrap: balance; }
.lead-title { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.5; }
.lead { margin: 8px 0 0; font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--ink-2); }

/* ---------- nav ---------- */
/* 温泉LPと同じ形：背景と同じ色の帯に文字を並べ、項目のあいだに縦線。いま見ているセクションは緑の文字。項目が増えたら横にはみ出してスクロール */
.navjump {
  position: sticky; top: 0; z-index: 20; height: var(--nav-h); margin-top: 4px;
  display: flex; align-items: center; padding: 0 4px; overflow-x: auto;
  background: var(--bg); scrollbar-width: none; transition: box-shadow .15s;
}
.navjump::-webkit-scrollbar { display: none; }
/* 項目がはみ出しているあいだは、右端を薄く消して「続きがある」ことを見せる（項目の切れ方は端末の幅で変わるため、切れ目だけに頼らない）。
   項目の左右の余白は8px：いまの6項目が360pxの画面でも1行に収まる幅（広い画面では flex で均等に広がる）。
   キャンペーンなどで項目が増えてはみ出したときは、この has-more で右端が薄くなり、横にスクロールできると分かる */
.navjump.has-more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent); }
.navjump.is-stuck { box-shadow: 0 2px 8px rgba(43, 38, 33, .08); }
.navjump a {
  flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 4px 8px;
  font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink);
  text-decoration: none; white-space: nowrap; transition: color .15s;
}
/* 項目のあいだだけ縦線。出していない項目をはさんでも線が消えないよう、見えている項目どうしで引く */
.navjump a:not([hidden]) ~ a:not([hidden]) { border-left: 1px solid var(--line); }
.navjump a[hidden] { display: none; }
/* いま見ているセクション：文字は濃い色の太字、下にKVの黄色のマーカー線。
   黄色は背景（#fdf8ea）の上では文字に使えない（1.56）ので、文字の色は変えずにマーカーとして引く */
.navjump a[aria-current="true"] {
  font-weight: 700;
  /* 文字の幅ぴったりに引く。iPhoneのSafariは text-decoration の一括指定で太さを読めず線ごと消えるので、1つずつ指定する */
  -webkit-text-decoration-line: underline; text-decoration-line: underline;
  -webkit-text-decoration-color: var(--kv-yellow); text-decoration-color: var(--kv-yellow);
  text-decoration-thickness: 6px; text-underline-offset: -1px;
  -webkit-text-decoration-skip: none; text-decoration-skip-ink: none;
}

/* ---------- section ---------- */
/* 見出しは中央寄せ（温泉LPと同じ）。背景が全部同じ色なので、上の余白でセクションを区切る（英語の小見出しをやめた分も広げて72px） */
.sec { padding: 72px 0 0; }
.sec-head, .sec-note { padding: 0 16px; text-align: center; }
.sec-head h2 { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
/* 見出しはKVのタイトルと同じ作り：1文字ずつオレンジ→緑→紺の順に色を回し、白フチで囲む（2026-11-13 安達さん決定。丸に白文字の案から変更）。
   読み上げは h2 の aria-label でひと続きに読む。28px・900＝大きな文字の扱い。地とのコントラストはオレンジ3.25・緑3.82・紺9.84（基準3以上） */
.sec-head h2 { display: flex; justify-content: center; }
.pop { display: inline-flex; justify-content: center; isolation: isolate; }
.pop span { position: relative; flex: none; color: var(--maru); font-size: 28px; font-weight: 900; line-height: 1.2; letter-spacing: 0; }
.pop span:nth-child(3n+2) { color: var(--maru-2); }
.pop span:nth-child(3n)   { color: var(--maru-3); }
.pop span + span { margin-left: 1px; }
/* 長い見出しは2行に分ける（1行28pxだと13文字がスマホの幅に収まらない）。.pop を行ごとに並べる。色は行ごとにオレンジから回す */
.sec-head h2.h2-2line { flex-direction: column; align-items: center; }
/* 白フチは文字と別の層（data-c の同じ字）にして全部の字の後ろに敷く。字ごとに付けると、後ろの字のフチが前の字にかぶる */
.pop span::before { content: attr(data-c); position: absolute; left: 0; top: 0; z-index: -1; color: #fff; -webkit-text-stroke: 7px #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.sec-note { margin: 12px 0 0; /* 見出しの下と、説明文→カードの見た目の隙間をそろえる */ font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--ink-2); }

/* ---------- rails ---------- */
.rail {
  margin-top: 14px; padding: 0 16px 6px; display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { position: relative; scroll-snap-align: start; flex: none; } /* 中の読み上げ用の文字（.vh）を横スクロールの中に閉じ込める。無いとページ全体が横にはみ出す */
.draft-frame {
  flex: 1 1 auto; width: 100%; min-height: 120px; padding: 16px; display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--line); border-radius: var(--r); color: var(--muted); font-size: 12px; text-align: center;
}
.newlist .draft-frame { grid-column: 1 / -1; }

/* ---------- card ---------- */
/* 目玉のカード幅は温泉LPと同じ（画面幅の80%・最大384px） */
.card { width: min(80vw, 384px); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; }
.rail-sm .card { width: 168px; }
.thumb, .r-thumb, .nthumb { position: relative; background: var(--line-2); overflow: hidden; }
.thumb { aspect-ratio: 3 / 2; }
.thumb img, .r-thumb img, .nthumb img { width: 100%; height: 100%; object-fit: cover; }
.badge-off {
  /* 割引バッジは写真の左下（新着のNEWは左上） */
  position: absolute; bottom: 8px; left: 8px; padding: 1px 8px; border-radius: 999px;
  background: var(--off); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.6;
}
/* 目玉カードの所在地は写真の左上（割引は左下）。写真の上でも読めるよう白地に濃い文字 */
.badge-area {
  position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 10px 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94);
  color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.6; box-shadow: 0 1px 3px rgba(43, 38, 33, .18);
}
.badge-area .ic-s { width: 12px; height: 12px; color: var(--maru); flex: none; }
/* NEWはカードの右上の角からはみ出させる。左は写真で重いので、白い右側に置いて左右の重さをそろえる */
.badge-new {
  position: absolute; top: -6px; right: -6px; z-index: 1; padding: 2px 10px; border-radius: 999px;
  background: var(--off); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.5; letter-spacing: .04em;
}
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
/* 所在地は「近いところ」を探す手がかりなので、施設名の上に濃いめに出す。ピンはKVのオレンジ */
.c-loc { display: flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.c-loc .ic-s { width: 11px; height: 11px; color: var(--maru); }
.rail-2 .c-loc { font-size: 11px; }  /* テーマのカードでは施設名（13.5px）との差を保つ */
.rail-2 .badge-area { top: 6px; left: 6px; padding: 1px 8px 1px 6px; font-size: 10.5px; }  /* テーマのカードは小さいので割引ラベル（10px）に合わせる */
.rail-2 .badge-area .ic-s { width: 11px; height: 11px; }
/* 対象年齢と評点は1行に並べる。年齢は色を付けず、子どものアイコンと太字で見分ける（ポイント欄の緑と重ねない） */
.c-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin-top: 2px; }
.c-age { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.c-age .ic-s { width: 12px; height: 12px; color: var(--ok); }  /* 子どものアイコンはチェックと同じ紺 */
.ic-s { width: 11px; height: 11px; flex: none; }
.c-name { font-size: 14px; font-weight: 700; line-height: 1.45; font-feature-settings: "palt"; }
/* 施設名はカタカナ・記号の前後の空きを詰める（palt）。全カード共通。文字の大きさは変えずに、
   「ファンタジーキッズリゾート」が一覧のカードで1行に収まる（182px→166px。2026-11-13） */
.c-review { font-size: 11px; color: var(--ink-2); }
.c-review .score { color: var(--ink-2); font-weight: 700; }
.c-review .st, .rv .st { color: var(--star); } /* 星は飾り。点数は数字で読ませる */
/* 金額は赤系。元値は小さく灰色にして、金額との大きさの差をはっきりさせる */
.c-price { margin-top: auto; padding-top: 4px; text-align: right; font-size: 15px; font-weight: 700; color: var(--price); font-variant-numeric: tabular-nums; }
.c-price del { margin-right: 5px; font-size: 11px; font-weight: 400; color: var(--muted); }
/* カードの中は温泉LP・当日LPと同じ行間。目玉の金額は温泉LPの目玉と同じ17px */
.card, .newcard, .row { line-height: 1.45; }
.card .c-price { font-size: 17px; }
/* 目玉は温泉LPと同じく、金額を中身のすぐ下に置き、空きはカードの下にまとめる */
.card-pickup .c-price { margin-top: 0; padding-top: 6px; }
.card-pickup .c-plan { margin: 6px 0 0; color: var(--ink-2); }
.c-price .grp { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-2); }

/* 口コミ・おすすめポイントの地は、KVの黄色に寄せた薄い黄色（緑の地だと浮くため） */
.pts { margin: 6px 0 2px; padding: 8px 10px; background: var(--quote-bg); border-radius: var(--r-s); font-size: 12px; line-height: 1.8; }
.pts-title { font-weight: 700; color: var(--accent); }
.pts ul { margin: 2px 0 0; padding-left: 1.2em; }
.pts-quote .q { margin: 0; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pts-quote .q-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pts-quote .q-av { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #d9d4cb; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.pts-quote .q-av svg { width: 20px; height: 20px; fill: #fff; }
.pts-quote .q-src { font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.pts-quote .q-date { margin: 2px 0 0; text-align: right; font-size: 10.5px; line-height: 1.4; color: var(--muted); }

/* テーマで探す：テーマ名（h3）は左寄せ、施設は横に流す（2枚見えて3枚目が少しのぞく幅） */
.theme { margin-top: 20px; }
.theme + .theme { margin-top: 48px; } /* テーマ同士の区切り。カードの列の下からの間を広めに取る */
.theme-head { padding: 0 16px; }
.theme-title { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.5; }
.theme-note { margin: 4px 0 0; font-family: var(--font-display); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.theme .rail { margin-top: 12px; gap: 8px; }
/* 横スクロールの最後の「すべて見る」（アソビューのアプリと同じ形） */
.card-all { flex: none; align-self: center; width: 88px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; background: none; border: 0; font: inherit; font-size: 12px; font-weight: 700; color: var(--accent); cursor: pointer; }
.card-all .arr { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--accent); border-radius: 50%; }
.card-all .arr svg { width: 14px; height: 14px; }
/* テーマ名の横の「すべて見る」（アソビューのアプリで押されている位置） */
.theme-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.see-all { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 4px 0; background: none; border: 0; font: inherit; font-size: 12px; font-weight: 700; color: var(--accent); cursor: pointer; white-space: nowrap; }
.see-all svg { width: 12px; height: 12px; }
/* アソビューのアプリの横スクロールのカードと同じくらい（390pxの画面で約160px） */
/* テーマのカードは1.5枚ほど見える幅にして、右に続きがあることを見せる */
.rail-2 .card { width: min(62vw, 260px); }
.rail-2 .card-body { padding: 10px 12px 12px; }
.rail-2 .c-name { font-size: 13.5px; }
.rail-2 .c-plan { margin: 6px 0 2px; }  /* 代表プランの名前（2行で切る） */
.rail-2 .card .c-price { font-size: 15px; }
/* 小さいカードなので、割引バッジも新着のNEWバッジと同じ大きさに */
.rail-2 .badge-off, .r-thumb .badge-off { bottom: 6px; left: 6px; padding: 0 6px; font-size: 10px; letter-spacing: .03em; }
/* 新着の2列カード：施設名12.5px、金額15px、カードのすき間8px */
.newcard .ndesc { font-size: 11px; }

/* 新着：2列 */
/* 新着：温泉LPと同じ横長のカード（正方形の写真が左）を縦に並べる */
.newlist { margin-top: 20px; padding: 0 16px; display: flex; flex-direction: column; gap: 14px; } /* NEWのはみ出し分（6px）を上と間に足す */
/* 目玉のカードと同じ枠。写真は枠いっぱい、文字だけ内側に余白 */
.newcard {
  position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 11px; padding: 10px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; box-shadow: var(--shadow);
}
.nthumb { width: 104px; aspect-ratio: 1 / 1; border-radius: var(--r-s); }
.nbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.newcard .c-name { font-size: 13px; }
.ndesc { font-size: 11.5px; color: var(--ink-2); }
.newcard .c-price { margin-top: auto; }

/* ---------- search ---------- */
.sec-search { padding: 72px 0 0; }
.filter { margin-top: 14px; padding: 0 16px; }
.fields2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.field {
  width: 100%; height: 40px; padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  display: flex; align-items: center; gap: 8px; text-align: left;
}
.field[aria-expanded="true"] { border: 2px solid var(--accent); padding: 0 13px; }
.field-wide { margin-top: 8px; }

/* キーワード検索。エリア・条件の欄と同じ丸い枠。文字は16px（iPhoneで入力時に拡大されないため） */
.kw { position: relative; margin-bottom: 8px; }
.kw-ic { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; pointer-events: none; }
.kw-input {
  width: 100%; height: 44px; padding: 0 40px 0 38px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.kw-input::placeholder { color: var(--muted); font-size: 13px; }
.kw-input::-webkit-search-cancel-button { display: none; }
.kw-input:focus { outline: none; border: 2px solid var(--accent); padding: 0 39px 0 37px; }
.kw-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--ground); display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.kw-clear[hidden] { display: none; }
.kw-clear svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.field .ic { flex: none; font-size: 11px; color: var(--muted); }
.field .val { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field .val.empty { font-weight: 400; color: var(--muted); }
/* 欄の右の矢印は細い線（ほかのアイコンと同じ線の太さ） */
.field .caret { flex: none; display: flex; color: var(--ink-2); transition: transform .15s; }
.field .caret svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.field[aria-expanded="true"] .caret { transform: rotate(180deg); }

.panel {
  margin-top: 8px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, .1);
}
.panel-note { margin: 12px 0 0; font-size: 11.5px; color: var(--ink-2); }
.panel-foot { margin-top: 14px; display: flex; gap: 8px; }
.btn-clear, .btn-apply { height: 44px; border-radius: 999px; }
.btn-clear { flex: 1; background: #fff; border: 1px solid var(--line); }
.btn-apply { flex: 2; background: var(--accent); border: 0; color: #fff; font-weight: 700; }

.area-panel { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
.regions { display: flex; flex-direction: column; border-right: 1px solid var(--line-2); padding-right: 8px; }
.region {
  display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px;
  background: none; border: 0; border-radius: 999px; text-align: left; font-size: 13px;
}
.region[aria-current="true"] { background: var(--accent-bg); color: var(--accent); font-weight: 700; }
.region .n { margin-left: auto; font-size: 11.5px; color: var(--muted); }
/* 地方の左の印：全部選ぶと塗り＋チェック、一部なら中に点 */
.region .box {
  flex: none; width: 16px; height: 16px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff;
}
.region[data-all] .box {
  background: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}
.region[data-some] .box { border-color: var(--accent); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--accent); }
/* 都道府県は条件パネルと同じ丸い選択肢。「◯◯すべて」は1行まるごと */
.prefs > .check { width: 100%; margin-bottom: 8px; }
.checks .check, .prefs > .check { font-size: 12.5px; }

/* 条件パネル：見出しにアイコン、選択肢は幅をそろえて格子状に。選んだ項目は色とチェック */
.fgroup + .fgroup { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.fg-title { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.fg-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-bg); color: var(--accent); }
.fg-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: grid; gap: 8px; }
.chips.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chip {
  display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; padding: 4px 8px;
  background: var(--ground); border: 1px solid transparent; border-radius: 999px; font-size: 13px; line-height: 1.3; text-align: center;
  transition: background-color .15s, color .15s;
}
.chip .chip-ck { display: none; flex: none; width: 12px; height: 12px; }
.chip[aria-pressed="true"] { background: var(--accent); color: #fff; font-weight: 700; }
.chip[aria-pressed="true"] .chip-ck { display: block; }
.fg-note { margin: 8px 0 0; font-size: 11.5px; color: var(--ink-2); }

.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bchip {
  display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 44px; padding: 6px 12px;
  background: var(--ground); border: 0; border-radius: var(--r); font-size: 13px; font-weight: 700; line-height: 1.4; text-align: left;
  transition: background-color .15s, color .15s;
}
.bchip .n { flex: none; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.bchip[aria-pressed="true"] { background: var(--accent); color: #fff; }
.bchip[aria-pressed="true"] .n { color: #fff; }
.bchip:disabled { color: #767c79; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); cursor: default; }

.applied { margin-top: 12px; padding: 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; scroll-margin-top: 12px; }
.applied .count { font-size: 16px; font-weight: 700; margin-right: 4px; }
.applied .count small { font-size: 11.5px; }
.achip {
  padding: 2px 10px; background: var(--accent-bg); border: 1px solid var(--accent); border-radius: 999px;
  color: var(--accent); font-size: 12px;
}
.achip .x { margin-left: 4px; }
.flagnote { margin: 8px 0 0; padding: 0 16px; font-size: 11.5px; color: var(--ink-2); }

/* ---------- results ---------- */
/* ページ全体を同じ背景色にして、白いカードを浮かせる */
.sec-results { padding: 10px 0 0; } /* 下の余白は次のセクション（.sec の上72px）にまかせ、どのセクション間も72pxにそろえる */
#results { padding: 0 16px; }
.rows { display: flex; flex-direction: column; gap: 8px; }
/* 一件ずつ角丸の枠で囲み、押せるものに見せる（「＞」は使わない） */
.row {
  display: flex; flex-direction: column; gap: 6px; padding: 12px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--r); background: #fff;
  box-shadow: var(--shadow); transition: background-color .15s;
}
.row:active { background: #faf6ee; }
@media (hover: hover) { .row:hover { border-color: var(--line); } }
.r-top { display: flex; gap: 12px; }
.c-checks { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 11.5px; color: var(--ink-2); }
.c-checks li { display: inline-flex; align-items: center; gap: 3px; }
.c-checks svg { width: 12px; height: 12px; flex: none; color: var(--ok); }
.row .c-price { margin-top: 0; padding-top: 0; }
/* 一覧のカードの下段：区切り線の下に、プラン名 → 金額の順で縦に並べる（上から「このプランが、この金額」と読める）。
   元値は金額のすぐ左に打ち消し線で並べ、割引前と後の関係を見せる */
.r-plan { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.r-plan .c-plan { margin: 0 0 2px; }
/* 代表プランの名前は2行で切り、続きは「…」（温泉LPと同じ） */
.c-plan { margin: 0 0 4px; font-size: 11.5px; line-height: 1.5; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r-thumb { flex: none; width: 120px; height: 80px; border-radius: var(--r-s); } /* 3:2。132×88から縮めて、360pxの画面でも「ファンタジーキッズリゾート」が1行に収まる幅を空ける */
.r-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.btn-more {
  display: block; width: calc(100% - 32px); height: 44px; margin: 16px auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.empty-state { padding: 32px 0; text-align: center; }
.empty-state p { margin: 0; font-weight: 700; }
.empty-state span { display: block; font-size: 12px; color: var(--ink-2); }
.empty-state .btn-clear { margin-top: 12px; padding: 0 20px; }
.suggest { margin: 14px auto 0; max-width: 340px; display: flex; flex-direction: column; gap: 8px; }
.suggest-btn { min-height: 44px; padding: 8px 16px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent-bg); color: var(--accent); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
.suggest-btn b { flex: none; font-size: 12px; }
.skel div { height: 96px; margin: 12px 0; border-radius: var(--r); background: var(--line-2); animation: skel 1.2s ease-in-out infinite alternate; }
@keyframes skel { to { opacity: .5; } }

/* ---------- reviews ---------- */
.rail-rv .rv {
  width: 270px; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
}
.rv-head { display: flex; justify-content: space-between; font-size: 12px; }
.rv .stars { letter-spacing: 1px; }
.rv .st-off { color: var(--line); }
.rv .stars .num { margin-left: 4px; color: var(--ink-2); font-weight: 700; letter-spacing: 0; }
.rv .when { color: var(--muted); }
.rv .body {
  font-weight: 400;  /* 本文は標準の太さ。太字は施設名だけにして、読み物の部分を軽く見せる */
  font-size: 13px; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
/* 口コミ本文と施設名のあいだに線（温泉LPと同じ） */
.rv .fac { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line-2); font-size: 13px; font-weight: 700; }
.rv .fac .loc { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.dots { margin-top: 10px; display: flex; justify-content: center; gap: 2px; }
.dot { width: 24px; height: 24px; padding: 0; background: none; border: 0; position: relative; }
.dot::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--line); }
.dot[aria-current="true"]::after { background: var(--accent); }

/* ---------- gift ----------
   アソビュー！ギフトのキッズ・ファミリー商品への導線。レポートの下、ページの締め（温泉LPと同じ作り）。
   上段は商品2つを横並び（写真は正方形。ギフトストアの商品写真が正方形のため）、下段はシリーズ一覧への細いバナー。
   カードは一覧と同じ白地・罫線。バナーの面はKVの紺（白文字とのコントラスト10.4） */
.gift-wrap { margin-top: 20px; padding: 0 16px; }
.gift-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gift-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
  overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: box-shadow .2s; }
@media (hover: hover) { .gift-card:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, .10); } }
/* 写真が届くまで・読めなかったときも、箱の大きさと地の色は保つ */
.gift-ph { display: block; aspect-ratio: 1 / 1; background: var(--line-2); }
.gift-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gift-ph img[hidden] { display: none; }
.gift-body { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 9px 10px 10px; }
.gift-lead { font-size: 10.5px; line-height: 1.55; color: var(--muted); }
.gift-name { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; line-height: 1.5; color: var(--ink); font-feature-settings: "palt"; }
/* 狭い画面で語の途中で折れないよう、折り返しは <wbr> と空白の位置だけにする */
.gift-lead, .gift-name { word-break: keep-all; overflow-wrap: anywhere; }
/* 「詳しく見る」は下端にそろえる。左右で上の文の行数が違っても高さがずれないように */
.gift-more { margin-top: auto; padding-top: 4px; font-size: 11.5px; font-weight: 700; line-height: 1.4; color: var(--accent); text-align: right; }
/* 別サイト（ギフトストア）へ移ることを示すアイコン */
.ext { display: inline-block; width: 10px; height: 10px; margin-left: 4px; vertical-align: -1px; flex: none; }
/* シリーズ一覧へのバナー。左に紺の面（見出し・ボタン）、右に写真、境目は波形。バナー全体が1つのリンク（ボタンは見た目だけ） */
.gift-bn { position: relative; display: block; margin-top: 24px; border-radius: var(--r); overflow: hidden; background: var(--line-2); text-decoration: none; box-shadow: var(--shadow); }
/* 写真は面の右端から始める（面の下にもぐらせない）。写真の左端に写っている人が面や波に隠れないように。
   波（最大16px）の下には少しもぐるので、面はスマホで62%・PCで54%まで狭めて写真を広く見せる */
.gift-bn-ph { position: absolute; top: 0; right: 0; bottom: 0; left: 62%; overflow: hidden; background: var(--line-2); }
/* 写真は家族3人の顔（元の写真の横27〜85%・縦16〜60%）が入るように切る。
   左端は波の谷（約6px）の下から始める（谷より左は波が必ず覆うので隙間は見えない）。
   スマホ（枠が正方形に近い）は高さに合わせて少し右寄せ、PC（横長）は幅に合わせて上寄せになる */
.gift-bn-ph img { position: absolute; top: 0; left: 6px; display: block; width: calc(100% - 6px); height: 100%; object-fit: cover; object-position: 55% 30%; }
.gift-bn-ph img[hidden] { display: none; }
.gift-bn-panel { position: relative; z-index: 1; width: 62%; min-height: 108px; padding: 12px 0 12px 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--ok); color: #fff; text-align: center; }
.gift-bn-wave { position: absolute; top: 0; left: 100%; width: 22px; height: 100%; color: var(--ok); }
.gift-bn-title { position: relative; z-index: 1; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.5;
  word-break: keep-all; overflow-wrap: anywhere; font-feature-settings: "palt"; letter-spacing: .02em; }
.gift-bn-title .nw { white-space: nowrap; }
.gift-bn-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; padding: 6px 12px; white-space: nowrap;
  background: #fff; color: var(--ok); border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.3; }
.gift-bn-btn .ext { margin-left: 0; }
/* PC（LPの幅いっぱい）では面が横に間延びするので、面を狭めて写真を広く見せる */
@media (min-width: 420px) { .gift-bn-panel { width: 54%; } .gift-bn-ph { left: 54%; } }

footer { margin-top: 72px; /* セクションの間と同じ間隔にそろえる */ padding: 20px 16px; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--muted); text-align: center; }
footer .copy { margin: 0; }

/* ---------- 絞り込みバー / TOPへ ---------- */
.fbar {
  position: fixed; top: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transform: translateY(-100%); transition: transform .2s;
}
.fbar.is-shown { transform: none; }
/* ナビと同じ高さ（全体44px・丸い欄30px）にそろえる。見出しと値は1行に並べる */
.fbar-in { max-width: 480px; height: var(--nav-h); margin: 0 auto; padding: 0 12px; display: flex; gap: 6px; align-items: center; }
.fbar-f {
  flex: 1; min-width: 0; height: 30px; padding: 0 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  display: flex; align-items: center; gap: 4px; text-align: left; line-height: 1;
}
.fbar-f .ic { flex: none; font-size: 12px; color: var(--muted); }  /* 条件で探す欄の見出し・「指定なし」と同じ色 */
.fbar-f.is-set .ic, .fbar-f:not(.is-set) .val { display: none; }
.fbar-f.is-set { border-color: var(--accent); background: var(--accent-bg); color: var(--accent); }
.fbar-f .val { min-width: 0; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbar-n { flex: none; font-size: 16px; font-weight: 700; }
.fbar-n small { font-size: 11.5px; }
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 25; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top svg { width: 14px; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* 掲載期間・状態の札（ステージング・手元だけ。script.js の schedMark） */
.sched-note {
  display: inline-block; align-self: flex-start; margin-bottom: 4px; padding: 1px 8px; border-radius: 4px;
  background: #2b2621; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1.6;
}
