/* ==========================================================================
   超特割LP（2026-11）
   イルミ特集／平日割LP v2 の構成を継承。色は KV から取る:
   テーマ＝KVの枠とリボンの青緑、強調＝「超」の朱色（割引・価格）、差し色＝「お早めに！」の緑
   色は :root のトークンだけを使う
   ========================================================================== */

:root {
  --c-main: #12A5C6;          /* KVの青緑。面・枠・影に使う（白文字は載せない） */
  --c-main-deep: #0B6F86;     /* 白文字を載せる青緑（5.6:1）。選択中チップ・フッター */
  --c-main-ink: #0A6378;      /* 白地での青緑の文字（6.6:1） */
  --c-main-soft: #E3F5F9;     /* 青緑の薄い面 */
  --c-accent: #D9430E;        /* 朱色。割引バッジ・価格（白地 4.7:1 / 白文字 4.7:1） */
  --c-accent-soft: #FFF1E8;
  --c-green: #12833F;         /* 「お早めに」の緑。白文字 4.9:1 */
  --c-ink: #17262C;
  --c-ink-2: #46565C;
  --c-ink-3: #6E7C81;
  --c-line: #DCE6E9;
  --c-line-strong: #93A4AA;
  --c-band: #FFF7E0;          /* カード下の価格帯（KVの白フキダシに合う薄い黄） */
  --c-marker: #FFD95A;        /* 見出しのマーカー */
  --c-bg: #F2F8FA;
  --c-card: #FFFFFF;
  /* ジャンルリボン（白文字で 4.5:1 以上） */
  --c-g-park: #C2410C;
  --c-g-aqua: #0B6F86;
  --c-g-cafe: #9D3C72;
  --c-g-onsen: #8A5A12;
  --c-g-snow: #2F5FB3;
  --c-g-museum: #4C6B1F;
  --c-g-ent: #5B3FA8;
  --c-g-gourmet: #A8321F;
  --c-g-other: #46565C;
  --radius: 10px;
  --stripe-a: 18, 165, 198;   /* PC背景の斜めストライプ。rgba(var(--x), a) で使う */
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #CFEDF4;
  color: var(--c-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* PC 背景（480px の外側）＝KVの枠と同じ青緑の斜めストライプ。スマホは本文が全幅なので見えない */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(-45deg, rgba(var(--stripe-a), .10) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, #D9F1F7 0%, #BFE6EF 100%);
}

a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

#app-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: var(--c-bg);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  box-shadow: 0 0 32px rgba(11, 111, 134, .28);
}
#app-wrapper > main { flex: 1 0 auto; display: flex; flex-direction: column; }
#app-wrapper > main > .section-catalog { flex: 1 0 auto; }
#app-wrapper > .footer { flex-shrink: 0; }

.container { padding: 0 16px; }

/* ---------- ヘッダー ---------- */
.header { background: #fff; border-bottom: 1px solid var(--c-line); padding: 12px 0; }
.header-logo { display: flex; justify-content: center; }
.header-logo img { height: 24px; display: block; }

/* ---------- ヒーロー（KV画像 1500×700） ---------- */
.hero { background: var(--c-main); }
.hero-image { width: 100%; height: auto; aspect-ratio: 1500 / 700; display: block; }

/* ---------- イントロ（リード＋数字3つ） ---------- */
.intro { background: #fff; padding: 16px 16px 18px; border-bottom: 1px solid var(--c-line); text-align: center; }
.intro-lead { font-size: 13px; line-height: 1.8; color: var(--c-ink-2); }
.intro-lead b { color: var(--c-accent); font-weight: 900; font-size: 15px; }
.intro-stats {
  list-style: none; margin: 14px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--c-ink); box-shadow: 3px 3px 0 var(--c-main); background: #fff;
}
.intro-stats[hidden] { display: none; }
.intro-stats li { padding: 8px 4px 9px; }
.intro-stats li + li { border-left: 1px dashed var(--c-line-strong); }
.intro-stats .k { display: block; font-size: 10px; font-weight: 700; color: var(--c-main-ink); letter-spacing: .08em; }
.intro-stats .v { display: block; font-size: 11px; font-weight: 700; color: var(--c-ink); line-height: 1.3; white-space: nowrap; }
.intro-stats .v b { font-size: 21px; font-weight: 900; color: var(--c-accent); margin: 0 1px; font-feature-settings: "tnum"; }

/* ---------- カタログ ---------- */
.section-catalog {
  padding: 0 0 32px;
  background-image: radial-gradient(var(--c-line) 1.2px, transparent 1.2px); background-size: 16px 16px;
}

.sticky-filter {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-bg);
  padding: 10px 0 8px;
}
.sticky-filter.is-stuck { box-shadow: 0 4px 10px -6px rgba(11, 60, 75, .35); }

/* キーワード検索 */
.search { position: relative; margin: 0 16px 8px; }
.search-icon { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--c-main-ink); pointer-events: none; }
.search-input {
  width: 100%; height: 44px;
  font-family: inherit; font-size: 16px;   /* 16px 未満だと iPhone が入力時に拡大する */
  color: var(--c-ink);
  padding: 0 42px 0 38px;
  border: 2px solid var(--c-main-deep); border-radius: 999px; background: #fff;
  -webkit-appearance: none; appearance: none;
}
.search-input::placeholder { color: var(--c-ink-3); font-size: 14px; }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(var(--stripe-a), .3); }
.search-clear {
  position: absolute; right: 6px; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--c-line); color: var(--c-ink-2); cursor: pointer;
}
.search-clear[hidden] { display: none; }
.search-clear svg { width: 14px; height: 14px; }

.chip-row {
  display: flex; gap: 8px;
  overflow-x: auto; padding: 0 16px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  font-size: 14px; font-weight: 700; line-height: 1;
  padding: 11px 16px;   /* 38px */
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: #fff; color: var(--c-ink-2);
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip .n { font-size: 12px; font-weight: 500; color: var(--c-ink-3); margin-left: 4px; }
.chip[aria-pressed="true"] { background: var(--c-main-deep); border-color: var(--c-main-deep); color: #fff; }
.chip[aria-pressed="true"] .n { color: rgba(255, 255, 255, .82); }
.chip:disabled { opacity: .45; cursor: default; }

/* 都道府県（エリアを選んだときだけ出る）とジャンル＝1行の横スクロール */
.sub-row, .genre-row {
  display: flex; gap: 6px; margin: 0 -16px; padding: 0 16px;
  overflow-x: auto; scrollbar-width: none;
}
.sub-row::-webkit-scrollbar, .genre-row::-webkit-scrollbar { display: none; }
.sub-row:empty, .genre-row:empty { display: none; }
.sub-row { margin-top: 4px; margin-bottom: 10px; }
.genre-row { margin-top: 4px; margin-bottom: 4px; }
.pchip, .gchip {
  flex-shrink: 0;
  font-size: 13px; font-weight: 700; line-height: 1;
  padding: 9px 13px; border-radius: 999px; cursor: pointer;   /* 33px */
  border: 1px solid var(--c-line-strong); background: #fff; color: var(--c-ink-2);
}
.pchip { border-style: dashed; border-color: var(--c-main-deep); color: var(--c-main-ink); background: var(--c-main-soft); }
.pchip[aria-pressed="true"] { border-style: solid; background: var(--c-main-deep); color: #fff; }
.gchip[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.gchip:disabled { opacity: .4; cursor: default; }

.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 10px; }
.result-status { font-size: 12px; color: var(--c-ink-3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-status b { color: var(--c-ink); font-size: 16px; font-weight: 900; margin-right: 1px; }
.sort { display: flex; flex-shrink: 0; gap: 2px; background: rgba(11, 111, 134, .08); border-radius: 8px; padding: 2px; }
.sort button {
  font-size: 12px; font-weight: 700; line-height: 1;
  border: 0; background: transparent; color: var(--c-ink-2);
  padding: 9px 10px; border-radius: 6px; cursor: pointer;
}
.sort button[aria-pressed="true"] { background: #fff; color: var(--c-ink); box-shadow: 0 1px 2px rgba(11, 60, 75, .2); }

/* ---------- カード（特集LP共通のトーン: 黒の細枠＋右下にずらした硬い影・斜めリボン・下の価格帯） ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; padding: 0 3px 3px 0; }

@keyframes gridFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.product-grid.is-fade { animation: gridFade .25s ease both; }

.card {
  position: relative;
  background: var(--c-card);
  border: 1px solid var(--c-ink);
  box-shadow: 3px 3px 0 var(--c-ink);
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--c-ink); }
.card:active { transform: none; box-shadow: 1px 1px 0 var(--c-ink); }

/* ジャンル＝右上の斜めカットのリボン */
.c-ribbon {
  position: absolute; top: -1px; right: -1px; z-index: 3;
  padding: 3px 8px 3px 14px;
  background: var(--g, var(--c-main-deep)); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .02em;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
  max-width: 75%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g-park { --g: var(--c-g-park); }
.g-aqua { --g: var(--c-g-aqua); }
.g-cafe { --g: var(--c-g-cafe); }
.g-onsen { --g: var(--c-g-onsen); }
.g-snow { --g: var(--c-g-snow); }
.g-museum { --g: var(--c-g-museum); }
.g-ent { --g: var(--c-g-ent); }
.g-gourmet { --g: var(--c-g-gourmet); }
.g-other { --g: var(--c-g-other); }

.thumb { position: relative; flex: none; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-main-soft); border-bottom: 1px solid var(--c-ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(14px) brightness(.7); transform: scale(1.15);
}
.thumb .thumb-fit { position: relative; z-index: 1; object-fit: contain; }

/* 割引率＝画像左上の丸いシール（超特割の主役なので大きめ） */
.badge-off {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  min-width: 44px; height: 44px; padding: 0 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--c-accent); color: #fff; border: 2px solid #fff; border-radius: 999px;
  font-weight: 900; line-height: 1; font-feature-settings: "tnum";
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  transform: rotate(-8deg);
}
.badge-off b { font-size: 17px; letter-spacing: -.02em; }
.badge-off b small { font-size: 10px; }
.badge-off span { font-size: 8px; letter-spacing: .06em; margin-top: 1px; }
/* イチオシ＝左上の斜めカットのリボン */
.badge-pick {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--c-marker); color: var(--c-ink);
  font-size: 11px; font-weight: 800; line-height: 1.5; letter-spacing: .04em;
  padding: 3px 14px 3px 8px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.badge-pick + .badge-off { top: 30px; }
/* 所在地＝画像左下の白いラベル（どこの施設かをひと目で。白地＋太字＋朱色のピン） */
.badge-loc {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  max-width: calc(100% - 8px);
  display: inline-flex; align-items: center; gap: 3px;
  background: #fff; color: var(--c-ink);
  border-top: 1px solid var(--c-ink); border-right: 1px solid var(--c-ink);
  font-size: 13px; font-weight: 800; line-height: 1; letter-spacing: .02em;
  padding: 6px 12px 6px 7px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
  white-space: nowrap; overflow: hidden;
}
.badge-loc svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--c-accent); }
.badge-loc span { overflow: hidden; text-overflow: ellipsis; }
/* まもなく終了＝所在地ラベルのすぐ上 */
.badge-soon {
  position: absolute; left: 6px; bottom: 33px; z-index: 2;
  background: var(--c-green); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 999px;
}

.card-body { padding: 8px 10px 0; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.c-meta { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 5px; }
.c-cond {
  font-size: 9px; font-weight: 700; line-height: 1.5; padding: 0 6px;
  border: 1px solid var(--c-line-strong); border-radius: 999px; color: var(--c-ink-2); background: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.c-name {
  font-size: 13px; font-weight: 700; line-height: 1.45; color: var(--c-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.c-plan {
  font-size: 11px; line-height: 1.5; color: var(--c-ink-2); margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.c-desc {
  font-size: 10px; line-height: 1.5; color: var(--c-ink-3); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
mark { background: var(--c-marker); color: inherit; padding: 0 1px; }
/* 下の価格帯＝価格と「詳細を見る ›」 */
.c-foot {
  margin: auto -10px 0; padding: 7px 10px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 6px;
  background: var(--c-band); border-top: 1px solid var(--c-line);
}
.card-body > :not(.c-foot):nth-last-child(2) { margin-bottom: 10px; }
.c-price { font-size: 17px; font-weight: 900; color: var(--c-accent); line-height: 1.2; min-width: 0; font-feature-settings: "tnum"; }
.c-price del { display: block; font-size: 10px; font-weight: 500; color: var(--c-ink-3); }
.c-price small { font-size: 10px; font-weight: 500; color: var(--c-ink-3); margin-left: 2px; }
.c-cta { flex: none; font-size: 11px; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.c-cta::after { content: " \203A"; }

/* ---------- いま人気の超特割（イチオシ）。おすすめ順・キーワードなしのときだけ。
   大枠＝全幅の大カード／中枠＝全幅の横長カード（左に画像）。青緑の硬い影で一覧と分ける ---------- */
.pickup { margin: 2px 0 26px; }
.pickup[hidden] { display: none; }
.sec-head { margin: 0 0 12px; font-size: 17px; font-weight: 900; color: var(--c-ink); letter-spacing: .04em; line-height: 1.4; }
.sec-head span { background: linear-gradient(transparent 58%, var(--c-marker) 58%); padding: 0 2px; }
.pickup-rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 0 5px 5px 0; }
.card.is-pickup { box-shadow: 5px 5px 0 var(--c-main); }
.card.is-pickup:hover { box-shadow: 7px 7px 0 var(--c-main); }
.card.is-pickup:active { box-shadow: 2px 2px 0 var(--c-main); }
.card.is-pickup .thumb .thumb-fit { position: absolute; inset: 0; }
.card.is-pickup .c-desc { white-space: normal; }
/* 大枠 */
.card.pick-l .thumb { aspect-ratio: 3 / 2; }
.card.pick-l .card-body { padding: 12px 14px 0; }
.card.pick-l .c-foot { margin-left: -14px; margin-right: -14px; padding: 9px 14px; }
.card.pick-l .c-name { font-size: 18px; -webkit-line-clamp: 1; }
.card.pick-l .c-plan { font-size: 12px; }
.card.pick-l .c-price { font-size: 23px; }
.card.pick-l .c-cta { font-size: 13px; }
.card.pick-l .c-ribbon { font-size: 11px; padding: 4px 10px 4px 16px; }
.card.pick-l .badge-pick { font-size: 12px; padding: 4px 16px 4px 10px; }
.card.pick-l .badge-off { min-width: 58px; height: 58px; top: 36px; left: 8px; }
.card.pick-l .badge-off b { font-size: 23px; }
.card.pick-l .badge-off b small { font-size: 12px; }
.card.pick-l .badge-off span { font-size: 10px; }
.card.pick-l .badge-loc { font-size: 15px; padding: 8px 16px 8px 10px; }
.card.pick-l .badge-loc svg { width: 16px; height: 16px; }
.card.pick-l .badge-soon { bottom: 40px; left: 8px; font-size: 11px; }
/* 中枠＝左に画像、右に文 */
.card.pick-m { flex-direction: row; }
.card.pick-m .thumb { flex: 0 0 52%; aspect-ratio: 3 / 2; align-self: stretch; border-bottom: 0; border-right: 1px solid var(--c-ink); }
.card.pick-m .card-body { padding: 26px 10px 0; }
.card.pick-m .c-name { font-size: 14px; }
.card.pick-m .c-price { font-size: 18px; }
.card.pick-m .c-ribbon { max-width: 46%; }

.list-head[hidden] { display: none; }

/* もっと見る */
.more-wrap { margin: 22px 0 4px; text-align: center; }
.more-wrap[hidden] { display: none; }
.more-btn {
  width: 100%; min-height: 48px;
  font-size: 14px; font-weight: 800; color: var(--c-ink);
  background: #fff; border: 1px solid var(--c-ink); box-shadow: 3px 3px 0 var(--c-main);
  cursor: pointer;
}
.more-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--c-main); }
.more-btn small { font-size: 11px; font-weight: 500; color: var(--c-ink-3); margin-left: 6px; }

.empty-state { text-align: center; padding: 40px 8px 24px; }
.empty-title { font-size: 14px; font-weight: 700; color: var(--c-ink); }
.empty-text { font-size: 12px; color: var(--c-ink-3); margin-top: 6px; }
/* 0件のときの「こちらならあります」ボタン */
.empty-suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.empty-suggest:empty { display: none; }
.suggest-btn {
  min-height: 40px; padding: 0 14px;
  font-size: 13px; font-weight: 700; color: var(--c-main-ink);
  background: #fff; border: 1px solid var(--c-main-deep); border-radius: 999px; cursor: pointer;
}
.suggest-btn b { font-weight: 900; color: var(--c-accent); margin-left: 4px; }
.reset-btn {
  margin-top: 16px; min-height: 44px; padding: 0 24px;
  font-size: 14px; font-weight: 700; color: #fff;
  background: var(--c-main-deep); border: 0; border-radius: 999px; cursor: pointer;
}
.catalog-note { font-size: 10px; color: var(--c-ink-3); margin-top: 18px; line-height: 1.7; }

/* ---------- 超特割の使い方 ---------- */
.about { background: #fff; border-top: 1px solid var(--c-line); padding: 26px 16px 30px; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 10px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 10px 12px 10px 52px; min-height: 52px;
  border: 1px solid var(--c-line); background: var(--c-bg);
  display: flex; flex-direction: column; justify-content: center;
}
.steps li::before {
  content: counter(step); position: absolute; left: 12px; top: 50%; margin-top: -15px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-main-deep); color: #fff; font-size: 15px; font-weight: 900;
}
.steps b { font-size: 14px; font-weight: 800; line-height: 1.4; }
.steps span { font-size: 11px; color: var(--c-ink-2); line-height: 1.5; }

/* ---------- フッター ---------- */
.footer { background: var(--c-main-deep); padding: 24px 16px 28px; text-align: center; }
.footer p { font-size: 12px; color: rgba(255, 255, 255, .85); }

/* ---------- 読み込み・エラー ---------- */
.loading-container, .error-container {
  display: flex; align-items: center; justify-content: center;
}
.loading-container { padding: 28px 16px 32px; }                 /* 読み込み中は中身ぶんの高さだけ（約170px） */
.error-container { min-height: 46vh; padding: 48px 16px; }
.error-content { text-align: center; }
/* 読み込み中＝道を歩いて「超特割」の札に向かう人（asobi-map の歩く人を流用。色と行き先だけ超特割用） */
.walkload { width: 100%; text-align: center; }
.walkload__road {
  position: relative; height: 62px; max-width: 264px; margin: 0 auto 14px;
  background: linear-gradient(90deg, var(--c-line-strong) 50%, transparent 50%) left bottom / 12px 2px repeat-x;   /* 点線の道 */
}
.walkload__me { position: absolute; left: 0; bottom: 4px; color: var(--c-main-deep); animation: walk-go 3.2s linear infinite; }
.walkload__me svg { display: block; }
.wl-lg, .wl-ar { transform-box: view-box; }
.wl-lg { transform-origin: 11px 14px; animation: none .7s ease-in-out infinite; }
.wl-ar { transform-origin: 12px 8px; animation: none .7s ease-in-out infinite; }
.wl-legF { animation-name: wl-legF; } .wl-legB { animation-name: wl-legB; }
.wl-armL { animation-name: wl-armL; } .wl-armR { animation-name: wl-armR; }
@keyframes wl-legF { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(66deg); } }
@keyframes wl-legB { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-66deg); } }
@keyframes wl-armL { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(-92deg); } }
@keyframes wl-armR { 0%, 100% { transform: rotate(20deg); } 50% { transform: rotate(92deg); } }
@keyframes walk-go { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 92px); opacity: 0; } }
/* 行き先＝ぴょこぴょこ跳ねる「超特割」の札（チケットの切り欠きつき） */
.walkload__goal {
  position: absolute; right: 0; bottom: 8px;
  display: grid; place-items: center; width: 58px; height: 34px;
  background: var(--c-accent); color: #fff; border-radius: 5px;
  -webkit-mask: radial-gradient(circle 5px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 5px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transform-origin: 50% 100%; animation: goal-hop 1.1s ease-in-out infinite;
}
.walkload__goal b { font-size: 13px; font-weight: 900; letter-spacing: .04em; line-height: 1; }
@keyframes goal-hop { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-7px) rotate(5deg); } }
.walkload__dots i { font-style: normal; animation: dot-blink 1.2s infinite both; }
.walkload__dots i:nth-child(2) { animation-delay: .2s; }
.walkload__dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot-blink { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
.loading-text { font-size: 13px; font-weight: 500; color: var(--c-ink-2); }
.error-text { font-size: 14px; color: var(--c-accent); margin-bottom: 16px; }
.retry-button {
  padding: 8px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--c-main-deep); color: #fff; font-size: 14px; font-weight: 700;
}

/* ---------- プレビュー（staging / ローカルのみ表示される状態） ---------- */
[data-display-status="preview-only"]::after,
[data-display-status="upcoming"]::after,
[data-display-status="ended"]::after {
  content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  box-shadow: inset 0 0 0 2px #E53935;
}
.preview-badge {
  position: absolute; top: 26px; right: 6px; z-index: 5;
  background: #E53935; color: #fff; padding: 3px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 700;
}
.pr-badge {
  position: absolute; top: 28px; right: 6px; z-index: 3;
  background: rgba(255, 255, 255, .85); color: #6b7280;
  border: 1px solid rgba(107, 114, 128, .35); border-radius: 3px;
  padding: 0 5px; font-size: 9px; font-weight: 600; line-height: 1.5;
}

@media (max-width: 359px) {
  .intro-lead br { display: none; }
  .sort button { padding: 9px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .walkload__me { left: calc(50% - 60px); }   /* 動きを止める設定の人には、道の途中に立った絵で見せる */
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
