@charset "UTF-8";
/* ============================================================
   はたらく路線図（お仕事の現在地診断） — 紙の路線図と駅名標
   生成りの紙に、インクの紺。路線色（在職=青 / おやすみ=緑 / 学生=橙）と、
   現在地を示す朱の丸。
   ※ musubi-lp（夜明け前の桜・暗）/ kou-lp（墨紺×金・暗）/ tenshi-lp（天上の明・暖）/
     renji-lp（深夜のバー・暗）/ taishoku-lp（消灯後のオフィス・暗）/ nurse-lp（夜勤明けの空・水色）
     とは別の視覚体系。混ぜないこと。
   ゴシックのみ（駅の案内サインは、語り部ではなく標識）。
   外部リクエストゼロ（Webフォント・画像・CDNを一切使わない）
   ============================================================ */

:root {
  /* 紙 */
  --paper-0: #f5f3ec;
  --paper-1: #eeeade;
  --card:    #fdfcf8;

  /* インクの紺 */
  --ink:      #1d2b45;
  --ink-soft: #45526b;
  --ink-dim:  #5f6a82;   /* 紙の上で 4.5:1 以上を確保 */

  /* 路線色 */
  --line-a: #2e6db4;   /* 在職 */
  --line-b: #35915f;   /* おやすみ中 */
  --line-c: #d97e18;   /* 学生 */

  /* 現在地の朱（CTA・警告） */
  --aka:      #bd3a29;
  --aka-deep: #a03021;
  --aka-soft: rgba(189, 58, 41, .10);

  --hair:   rgba(29, 43, 69, .14);
  --hair-2: rgba(29, 43, 69, .30);
  --veil:   rgba(29, 43, 69, .045);
  --veil-2: rgba(29, 43, 69, .08);

  --sans:  "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
           "Noto Sans JP", system-ui, -apple-system, sans-serif;

  --pad: clamp(20px, 5.5vw, 30px);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--paper-0);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper-0);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── 地 ── 紙の方眼と、遠くの路線 ─────────────────── */
/* iOS/アプリ内ブラウザはアドレスバー出没で fixed の高さ基準が揺れる → 動的ビューポートに固定 */
.map-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  height: 100vh; height: 100dvh;
}

.map-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(253, 252, 248, .9) 0%, rgba(253, 252, 248, 0) 55%),
    linear-gradient(180deg, var(--paper-0) 0%, var(--paper-0) 60%, var(--paper-1) 100%);
}

/* 方眼 — 地図の下敷き。うっすらと */
.map-bg__grid {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(29, 43, 69, .035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(29, 43, 69, .03) 0 1px, transparent 1px 72px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.25) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.25) 100%);
}

/* 遠くを走る路線 — 三本だけ、静かに */
.map-bg__lines {
  position: absolute; inset: 0;
  background:
    linear-gradient(171deg, transparent calc(18% - 2px), rgba(46, 109, 180, .10) calc(18% - 2px) calc(18% + 2px), transparent calc(18% + 2px)),
    linear-gradient(174deg, transparent calc(38% - 2px), rgba(53, 145, 95, .09) calc(38% - 2px) calc(38% + 2px), transparent calc(38% + 2px)),
    linear-gradient(168deg, transparent calc(74% - 2px), rgba(217, 126, 24, .09) calc(74% - 2px) calc(74% + 2px), transparent calc(74% + 2px));
}

/* ── 骨格 ────────────────────────────────────────── */
.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 640px; margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) var(--pad) 6px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
/* 小さな駅名標（白いプレートに路線の帯と、現在地の朱） */
.brand__sign {
  position: relative;
  width: 20px; height: 16px;
  border-radius: 4px;
  background: var(--card);
  border: 1.5px solid var(--ink);
}
.brand__sign::before {
  content: "";
  position: absolute; left: 3px; right: 3px; bottom: 3px;
  height: 3px; border-radius: 2px;
  background: var(--ink);
}
.brand__sign::after {
  content: "";
  position: absolute; left: 50%; bottom: 1.5px;
  width: 6px; height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--aka);
  border: 1px solid var(--card);
}
.brand__name {
  font-size: 14px; letter-spacing: .2em;
  color: var(--ink-soft);
}

.pr-badge {
  font-size: 12px; letter-spacing: .04em; color: var(--ink);
  border: 1px solid var(--hair-2); border-radius: 999px;
  background: var(--card);
  padding: 4px 12px; white-space: nowrap;
}

main { max-width: 640px; margin: 0 auto; padding: 0 var(--pad) 96px; }

.view { display: none; }
.view--active { display: block; animation: rise .7s var(--ease) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ── 入口 — 大きな駅名標 ── */
.intro { padding: clamp(34px, 10vh, 70px) 0 0; text-align: center; }

/* シェアリンク（?r=型ID）から来た人への一言 */
.intro__greet {
  margin: 0 0 24px;
  font-size: 13px; letter-spacing: .1em;
  color: var(--aka-deep);
}
.intro__greet[hidden] { display: none; }

/* 駅名標プレート。二重枠（renji）や誘導灯（taishoku）とは別の骨格 */
.sign {
  position: relative;
  margin: 0 auto 38px;
  padding: clamp(28px, 7.5vw, 42px) clamp(18px, 6vw, 38px) clamp(30px, 8vw, 44px);
  max-width: 440px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 22px 50px -30px rgba(29, 43, 69, .55);
}

/* 路線ピクト（三駅と現在地の朱） */
.sign__pict {
  display: block;
  width: 84px; height: 26px;
  margin: 0 auto 18px;
  background:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 26'><path d='M6 13h72' stroke='%231d2b45' stroke-width='3' stroke-linecap='round'/><circle cx='14' cy='13' r='5' fill='%23fdfcf8' stroke='%231d2b45' stroke-width='2.4'/><circle cx='42' cy='13' r='6.4' fill='%23bd3a29' stroke='%23fdfcf8' stroke-width='2.2'/><circle cx='70' cy='13' r='5' fill='%23fdfcf8' stroke='%231d2b45' stroke-width='2.4'/></svg>") center / contain no-repeat;
}

.intro__title { position: relative; margin: 0; }
.intro__title-sub {
  display: block; margin-bottom: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .5em; text-indent: .5em;
  color: var(--ink-dim);
}
.intro__title-main {
  display: block;
  font-weight: 700;
  font-size: clamp(24px, 6.8vw, 31px); line-height: 1.78; letter-spacing: .09em;
  color: var(--ink);
}

/* 駅名標の下帯（路線の帯と、現在地の朱） */
.sign__bar {
  position: absolute; left: 22px; right: 22px; bottom: 14px;
  height: 7px; border-radius: 4px;
  background: var(--ink);
}
.sign__bar i {
  position: absolute; left: 50%; top: 50%;
  width: 13px; height: 13px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--aka);
  border: 2.5px solid var(--card);
  box-shadow: 0 0 0 1px var(--ink);
}

.intro__lead {
  margin: 0 auto 38px; max-width: 24em;
  font-size: 14.5px; line-height: 2.25;
  color: var(--ink-soft);
}
.intro__lead-break { display: block; height: 1.1em; }

.intro__facts {
  list-style: none; margin: 34px auto 0; padding: 0;
  max-width: 27em; text-align: center;
}
.intro__facts li {
  font-size: 12px; line-height: 1.9; color: var(--ink-dim);
}

/* ── 釦（ボタン）— インク紺の標識。 ── */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  min-height: 58px; padding: 15px 40px;
  border: 0; border-radius: 14px;
  font-family: var(--sans); font-size: 16px; letter-spacing: .12em;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.982); }

.btn--primary {
  color: var(--card);
  background: linear-gradient(100deg, #16223a 0%, var(--ink) 50%, #2c3d61 100%);
  box-shadow: 0 16px 36px -16px rgba(29, 43, 69, .6), 0 0 0 1px rgba(253, 252, 248, .12) inset;
}
.btn--primary:hover { box-shadow: 0 22px 46px -16px rgba(29, 43, 69, .7), 0 0 0 1px rgba(253, 252, 248, .2) inset; }
.btn__label { font-weight: 700; }
.btn__sub { font-size: 10.5px; letter-spacing: .22em; opacity: .72; }

.btn--ghost {
  color: var(--ink-soft); background: var(--card);
  border: 1px solid var(--hair-2);
  font-size: 14px; letter-spacing: .1em; min-height: 50px; padding: 13px 26px;
}
.btn--ghost:hover { background: var(--veil); border-color: var(--ink-soft); color: var(--ink); }

.btn--retake { display: flex; width: 100%; margin-top: 30px; }

/* ── 問い ────────────────────────────────────────── */
.quiz { padding: 26px 0 0; }

.quiz__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 44px; }

.quiz__back {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--hair-2);
  color: var(--ink-soft); cursor: pointer;
  transition: opacity .25s, background .25s;
}
.quiz__back:hover { background: var(--veil); color: var(--ink); }
.quiz__back[disabled] { opacity: .25; cursor: default; }

/* 停車駅の列。進んだ駅から順に、インクで塗られていく */
.punch {
  position: relative;
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 0 2px;
}
.punch::before {
  content: "";
  position: absolute; left: 6px; right: 6px; top: 50%;
  height: 3px; border-radius: 2px;
  transform: translateY(-50%);
  background: var(--hair);
}
.punch b {
  position: relative;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--hair-2);
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.punch b.is-done {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 2.5px var(--card) inset;
}

.quiz__count {
  flex: 0 0 auto; min-width: 58px; text-align: right;
  font-size: 15px; letter-spacing: .06em; font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.quiz__count i { font-style: normal; font-size: 11px; font-weight: 400; color: var(--ink-dim); margin-left: 3px; }

.qcard { animation: qin .55s var(--ease) both; }
.qcard.is-out { animation: qout .22s var(--ease) both; }

@keyframes qin  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes qout { to { opacity: 0; transform: translateY(-10px); } }

.qcard__title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: clamp(21px, 6vw, 27px); line-height: 1.78; letter-spacing: .06em;
  white-space: pre-line;
  color: var(--ink);
}
.qcard__note { margin: 0 0 30px; font-size: 12.5px; color: var(--ink-dim); line-height: 1.85; }

.opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* 選択肢＝行き先の札。左端に路線の栞 */
.opt {
  position: relative; width: 100%;
  display: block; text-align: left;
  padding: 16px 44px 16px 20px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--hair);
  border-left: 4px solid var(--hair-2);
  color: var(--ink);
  font-family: var(--sans); font-size: 15.5px; line-height: 1.6;
  cursor: pointer;
  box-shadow: 0 4px 14px -10px rgba(29, 43, 69, .35);
  transition: transform .26s var(--ease), background .26s, border-color .26s, box-shadow .26s;
  -webkit-tap-highlight-color: transparent;
  animation: optin .55s var(--ease) both;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes optin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (hover: hover) {
  .opt:hover {
    background: #fffef9;
    border-color: var(--hair-2);
    border-left-color: var(--aka);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -18px rgba(29, 43, 69, .5);
  }
  .opt:hover .opt__mark { opacity: 1; color: var(--aka); transform: translateY(-50%) translateX(3px); }
}
.opt:focus-visible {
  background: #fffef9;
  border-color: var(--hair-2);
  border-left-color: var(--aka);
}
.opt.is-picked {
  background: var(--aka-soft);
  border-color: var(--hair-2);
  border-left-color: var(--aka);
}

.opt__label { display: block; font-weight: 600; }
.opt__sub {
  display: block; margin-top: 4px;
  font-size: 12px; color: var(--ink-dim); letter-spacing: .04em; font-weight: 400;
}
.opt__mark {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--ink-dim); opacity: .45; font-size: 18px;
  transition: opacity .26s, transform .26s, color .26s;
}

/* ── 結果 ────────────────────────────────────────── */
.result { padding: 30px 0 0; }

.rhead { text-align: center; margin-bottom: 30px; }
.rhead__eyebrow {
  margin: 0 0 16px;
  font-size: 11px; letter-spacing: .3em; text-indent: .3em; color: var(--ink-dim);
}

/* 駅名標 — 結果のヒーロー。data-line（A/B/C）で帯の色が変わる */
.eki { --line: var(--line-a); }
.eki[data-line="B"] { --line: var(--line-b); }
.eki[data-line="C"] { --line: var(--line-c); }

.eki {
  position: relative;
  margin: 0 auto;
  /* 上パディングは駅番号バッジ（top:16 + 34px + 枠）をクリアする値。
     長い駅名（「停車中。ドアは開けたまま」等）が2行に折り返してもバッジと重ならない */
  padding: 60px 20px 46px;
  max-width: 460px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 22px 50px -30px rgba(29, 43, 69, .55);
}

/* 駅ナンバリング（路線色の丸に、駅番号） */
.eki__code {
  position: absolute; left: 16px; top: 16px;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--line);
  background: var(--card);
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: var(--ink);
}
.eki__code[hidden] { display: none; }

.eki__name {
  margin: 0 12px 0; font-weight: 700;
  font-size: clamp(26px, 7.6vw, 36px); line-height: 1.5; letter-spacing: .1em;
  color: var(--ink);
}
.eki__kana {
  margin: 10px 12px 0; font-size: 13px;
  color: var(--ink-soft); letter-spacing: .08em; line-height: 1.9;
}

/* 下帯 — 路線色の帯に、現在地の朱 */
.eki__bar {
  position: absolute; left: 20px; right: 20px; bottom: 26px;
  height: 8px; border-radius: 4px;
  background: var(--line);
}
.eki__bar i {
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--aka);
  border: 2.5px solid var(--card);
  box-shadow: 0 0 0 1px var(--ink);
}
.eki__side {
  position: absolute; bottom: 7px;
  font-size: 10px; letter-spacing: .18em; color: var(--ink-dim);
}
.eki__side--l { left: 22px; }
.eki__side--r { right: 22px; }

/* 結果のひとこと＝一枚のきっぷ。付箋（taishoku）・伝票（renji）とは別 */
.ticket {
  position: relative;
  margin: 26px 0 34px; padding: 28px 26px;
  background: #fbf7ea;
  border: 1.5px dashed rgba(29, 43, 69, .4);
  border-radius: 6px;
  box-shadow: 0 14px 32px -22px rgba(29, 43, 69, .55);
  font-size: 15px; line-height: 2.2; letter-spacing: .04em; font-weight: 500;
  color: var(--ink);
  white-space: pre-line;
}
/* きっぷの切り取り穴（左右） */
.ticket::before,
.ticket::after {
  content: "";
  position: absolute; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  /* 背景は fixed の方眼＋グラデなので、ベタ塗りだと円の縁が浮く。端をぼかして「抜けた穴」に見せる */
  background: radial-gradient(closest-side, var(--paper-0) 88%, rgba(245, 243, 236, 0));
  border: 1.5px dashed rgba(29, 43, 69, .4);
}
.ticket::before { left: -11px; border-left-color: transparent; }
.ticket::after  { right: -11px; border-right-color: transparent; }

.panel {
  position: relative;
  margin: 0 0 16px; padding: 25px 22px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--hair);
  box-shadow: 0 8px 24px -20px rgba(29, 43, 69, .5);
}
.panel__title {
  margin: 0 0 12px;
  font-weight: 700; font-size: 16.5px;
  letter-spacing: .1em; line-height: 1.7; color: var(--ink);
}
.panel__note { margin: 0 0 20px; font-size: 12px; line-height: 1.9; color: var(--ink-dim); }
.panel__note small { display: inline-block; margin-top: 8px; font-size: 11.5px; color: var(--ink-soft); }

.prose {
  font-size: 14.5px; line-height: 2.2;
  color: var(--ink-soft); white-space: pre-line; letter-spacing: .04em;
}

/* 四つの目盛り（停車駅ドットの路線）。横バー/グラス/目盛りセルとは別の見せ方 */
.meters {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: grid; gap: 22px;
}
.meter-item__head {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.meter-item__label {
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--ink);
}
.meter-item__hint { font-size: 10.5px; line-height: 1.6; color: var(--ink-dim); }

.meter {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2px;
}
.meter::before {
  content: "";
  position: absolute; left: 5px; right: 5px; top: 50%;
  height: 3px; border-radius: 2px;
  transform: translateY(-50%);
  background: var(--hair);
}
.meter__cell {
  position: relative;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--hair-2);
}
.meter__cell.is-on {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--card) inset;
  animation: cellon .4s var(--ease) both;
  animation-delay: calc(var(--c) * 55ms + .25s);
}
/* 残りわずかの目盛りは、停止信号の朱で灯す */
.meter--low .meter__cell.is-on {
  background: var(--aka);
  border-color: var(--aka);
}
@keyframes cellon { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

/* あしたの案内板 — 乗る（進む札）と、見送る（下げた札） */
.board__sec { margin: 0 0 8px; }
.board__sec + .board__sec { margin-top: 24px; }
.board__label {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
}
.board__label span { font-weight: 400; font-size: 11px; color: var(--ink-dim); letter-spacing: .06em; }
.board__label--do   { color: var(--line-b); }
.board__label--dont { color: var(--ink-dim); }

.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.board li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 8px;
  font-size: 13.5px; line-height: 1.9;
  background: var(--card);
  border: 1px solid var(--hair);
  box-shadow: 0 6px 18px -14px rgba(29, 43, 69, .45);
}
.board--do li { border-left: 4px solid var(--line-b); }
.board--do li::before {
  content: "";
  position: absolute; left: 16px; top: 21px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--line-b);
  box-shadow: 0 0 0 2px var(--card) inset;
}
.board--dont li {
  border-left: 4px solid #b3ac9c;
  color: var(--ink-soft);
  background: #faf8f1;
}
.board--dont li::before,
.board--dont li::after {
  content: "";
  position: absolute; left: 15px; top: 26px;
  width: 14px; height: 2.5px;
  border-radius: 2px;
  background: #a49b87;
}
.board--dont li::before { transform: rotate(45deg); }
.board--dont li::after  { transform: rotate(-45deg); }

/* 知っておくといい決まりごと */
.kimari { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.kimari li {
  position: relative; padding-left: 24px;
  font-size: 13.5px; line-height: 1.9; color: var(--ink-soft);
}
.kimari li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 8px; height: 8px;
  border: 2px solid var(--line-a);
  border-radius: 50%;
}

/* 紹介先（広告） */
.panel--offer {
  background: linear-gradient(170deg, #fdfaf3, var(--card));
  border-color: var(--hair-2);
}

.ex { display: block; text-decoration: none; color: inherit; }
.ex__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
/* 窓口の丸スタンプ */
.ex__avatar {
  flex: 0 0 auto; width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 18px; font-weight: 700; color: var(--ink);
  background: var(--card);
  border: 2.5px solid var(--ink);
  box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--hair-2);
}
.ex__name { font-size: 16.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink); }
.ex__field { display: block; font-size: 11.5px; color: var(--ink-dim); margin-top: 4px; letter-spacing: .04em; }
.ex__blurb {
  margin: 0 0 16px;
  font-size: 14px; line-height: 2.1; color: var(--ink-soft);
}
/* 対象条件（年齢・卒業年・地域など）。CTAの上＝クリック前に読める位置に置く */
.ex__note {
  margin: 0 0 16px; padding: 10px 14px;
  border-left: 3px solid var(--hair-2);
  background: var(--veil);
  border-radius: 0 8px 8px 0;
  font-size: 12px; line-height: 1.9; color: var(--ink-soft);
}
.ex__cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 15px 20px; border-radius: 14px;
  font-size: 15.5px; letter-spacing: .08em; font-weight: 700;
  color: #fff;
  /* グラデ終端は白文字と 4.5:1 を割らない朱に留める（#d1543f はAA割れ） */
  background: linear-gradient(100deg, var(--aka-deep), var(--aka) 55%, #c74a35);
  box-shadow: 0 14px 30px -14px rgba(189, 58, 41, .55);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.ex:hover .ex__cta { transform: translateY(-2px); }
.ex:active .ex__cta { transform: scale(.985); }

/* 開示 */
.pr-tag {
  margin: 13px 0 0;
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-align: center; color: var(--aka-deep);
}
.fineprint { margin: 10px 0 0; font-size: 13px; line-height: 1.9; color: var(--ink-soft); text-align: center; }
.fineprint a { color: var(--aka-deep); }

.panel--care { background: #eef3f7; border-color: rgba(46, 109, 180, .3); }
.panel--care .fineprint { text-align: left; margin-top: 16px; }

/* ── 脚 ──────────────────────────────────────────── */
.footer {
  max-width: 640px; margin: 0 auto;
  padding: 36px var(--pad) max(40px, calc(env(safe-area-inset-bottom) + 24px));
  border-top: 1px solid var(--hair);
  text-align: center;
}
.footer__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 18px; }
.footer__nav a {
  font-size: 11.5px; color: var(--ink-soft); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.footer__nav a:hover { border-bottom-color: var(--hair-2); color: var(--ink); }
.footer__copy { margin: 0; font-size: 11px; letter-spacing: .3em; color: var(--ink-dim); }

/* ── about ページ ────────────────────────────────── */
.page { max-width: 640px; margin: 0 auto; padding: 40px var(--pad) 60px; }
.page h1 {
  font-weight: 700; font-size: 24px;
  letter-spacing: .1em; margin: 0 0 30px; color: var(--ink);
}
.page h2 {
  font-weight: 700; font-size: 15.5px;
  letter-spacing: .1em; margin: 36px 0 12px; color: var(--ink);
  padding-left: 12px;
  border-left: 4px solid var(--line-a);
}
.page p, .page li { font-size: 13.5px; line-height: 2.1; color: var(--ink-soft); }
.page ul { padding-left: 1.2em; }
.page a { color: var(--aka-deep); }
.page strong { color: var(--ink); }
.page .back { display: inline-block; margin-top: 40px; font-size: 12.5px; color: var(--ink-soft); text-decoration: none; }
.page .back:hover { color: var(--ink); }

/* ── 補助 ────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--aka); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (min-width: 620px) {
  .panel { padding: 28px 26px; }
  .ticket { padding: 32px 30px; }
  .meter__cell { width: 15px; height: 15px; }
  .punch b { width: 16px; height: 16px; }
}

@media (max-width: 380px) {
  .eki__side { display: none; }
}
