/* このファイルは scripts/build-wrt-lp.mjs が world-routine-travel/_lp/ から生成します。直接編集しないでください。 */

/* ---- styles/tokens.css ---- */
/* =====================================================================
   やることトラベル LP のデザイントークン
   - 色・影・角丸・文字サイズ・動きの値は、ここだけに書く（scripts/build-wrt-lp.mjs が検査する）
   - 色の役割：見出しと番号は紺（primary）、申し込みボタンだけオレンジ（cta）、
     黄色は印・マーカーだけ。強い色の面は「旅とおみやげ」の青い帯（band）だけ
   - PC の値は末尾の @media (min-width: 900px) で上書きする
   ===================================================================== */
:root {
  color-scheme: light;

  /* 紙・面 */
  --color-paper: #FFFDF9;
  --color-paper-warm: #F5EEE3;
  --color-paper-footer: #F4F1EC;
  --color-before-surface: #FBF8F3;
  --color-before-surface-on-white: #F7F2EA;
  --color-white: #FFFFFF;
  --color-sky-tint: #EEF6FD;
  --color-sky-line: #D3E7F8;
  --color-band: #1E6FC0;

  /* 文字 */
  --color-ink: #1E2A44;
  --color-sub: #3A4457;
  --color-mute: #5A6578;
  --color-hush: #4F5C73;
  --color-primary: #1D3B81;
  --color-on-band: #F1F7FD;
  --color-on-sky: #2E3B55;

  /* 印・ボタン */
  --color-yellow: #FFD84D;
  --color-cta: #C9501F;
  --color-cta-hover: #AE4317;

  /* 線 */
  --color-line: #E7E1D7;
  --color-line-warm: #D9CFBF;
  --color-line-before: #E2D8C8;

  /* 端末の枠 */
  --color-phone: #1B2236;
  --color-notch: #0B0F1A;
  --color-statusbar-sky: #70B7DA;
  --color-statusbar-sky-text: #14263F;
  --color-notice-screen: #3962C3;
  --color-notice-fade: #E6F2FB;

  /* グラデーション（空） */
  --gradient-dome: linear-gradient(180deg, #8FD0F4 0%, #C3E5FA 55%, #EAF6FE 100%);
  --gradient-closing: linear-gradient(180deg, #A6DAF9 0%, #CDEBFC 46%, #EAF6FE 100%);
  --gradient-postcard: linear-gradient(180deg, #CBE8FC 0%, #EAF6FE 100%);

  /* 透過・影に使う RGB チャンネル（色を再定義しないため） */
  --rgb-white: 255 255 255;
  --rgb-black: 0 0 0;
  --rgb-ink: 30 42 68;
  --rgb-shadow: 20 32 60;
  --rgb-cta: 201 80 31;
  --rgb-cta-shadow: 160 60 20;

  --shadow-card: 0 18px 36px -26px rgb(var(--rgb-shadow) / .45);
  --shadow-shot: 0 18px 30px -22px rgb(var(--rgb-shadow) / .55);
  --shadow-float: 0 12px 22px -14px rgb(var(--rgb-shadow) / .45);
  --shadow-phone: 0 30px 50px -30px rgb(var(--rgb-shadow) / .55);
  --shadow-cta: 0 12px 22px -14px rgb(var(--rgb-cta-shadow) / .75);

  /* 角丸 */
  --radius-ui: 12px;
  --radius-card: 20px;
  --radius-panel: 28px;
  --radius-pill: 999px;

  /* 文字 */
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "Meiryo", sans-serif;
  --fs-body: 16px;
  /* 幅 320px 前後の端末でも見出しが3行に収まるよう、画面幅に合わせて縮める */
  --fs-eyebrow: clamp(12px, 3.6vw, 13.5px);
  --fs-h1: clamp(27px, 8.2vw, 32px);
  --fs-h2: 26px;
  --fs-lead: 16px;
  --fs-number: 40px;

  /* 余白 */
  --gutter: 20px;
  --section-space: 64px;
  --section-space-end: 72px;
  --content-max: 1208px;
  --header-height: 60px;

  /* 動き（assets/js/lp.js と styles/motion.css が使う） */
  --motion-duration: .6s;
  --motion-ease: cubic-bezier(.2, .7, .2, 1);
  --motion-distance: 16px;
  --motion-stagger: 80ms;
}

@media (min-width: 900px) {
  :root {
    --fs-body: 17px;
    --fs-eyebrow: 14.5px;
    --fs-h1: 58px;
    --fs-h2: 38px;
    --fs-lead: 18px;
    --fs-number: 56px;
    --gutter: 32px;
    --section-space: 112px;
    --section-space-end: 120px;
    --header-height: 72px;
  }
}

/* ---- styles/base.css ---- */
/* =====================================================================
   土台：リセット・本文・レイアウトの枠・見出しの型
   スマホ（1カラム）が基準。PC は min-width: 900px で上書きする
   ===================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  /* 日本語は文節（<wbr> と .ph）でだけ折り返す */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  overflow-x: clip;
}

:is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) {
  margin: 0;
  padding: 0;
}

:is(ul, ol) {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--color-yellow);
  border-radius: 6px;
}

:is(p, dd, h3, h4) {
  text-wrap: pretty;
}

/* 本文へ移動（キーボード操作のときだけ見える） */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-ui);
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 12px;
}

/* 横幅の枠 */
.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 文節。改行してよい位置の単位 */
.ph {
  display: inline-block;
}

.br-pc {
  display: none;
}

/* 見出し用の字詰め */
.disp {
  font-feature-settings: "palt";
  letter-spacing: .02em;
  text-wrap: balance;
}

/* 見出しの型 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-primary);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: var(--color-yellow);
}

.h1 {
  color: var(--color-primary);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.42;
}

.h2 {
  color: var(--color-primary);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.5;
}

.lead {
  color: var(--color-sub);
  font-size: var(--fs-lead);
  line-height: 1.85;
}

.head {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

/* 黄色のマーカー */
.mark {
  background: linear-gradient(transparent 64%, var(--color-yellow) 64% 94%, transparent 94%);
}

/* 大きな番号 */
.n {
  display: block;
  color: var(--color-primary);
  font-size: var(--fs-number);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  font-feature-settings: "tnum";
}

/* 横にスクロールする列（スマホ） */
.scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 10px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.scroller::-webkit-scrollbar {
  display: none;
}

/* スマホの配置のまま幅が広い画面（タブレット縦など）では、本文の幅を抑える */
@media (min-width: 600px) and (max-width: 899px) {
  .wrap {
    max-width: 640px;
  }
}

@media (min-width: 900px) {
  .br-pc {
    display: inline;
  }

  .head {
    gap: 16px;
  }

  .lead {
    line-height: 1.95;
  }

  .scroller {
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
}

/* ---- styles/components.css ---- */
/* =====================================================================
   部品：ボタン・端末の枠・絵はがき・番号つきの説明
   ===================================================================== */

/* App Store へのボタン。申し込みの色（オレンジ）はここだけで使う */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 34px;
  border-radius: var(--radius-pill);
  background: var(--color-cta);
  color: var(--color-white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-cta);
  transition: background-color .15s ease, transform .15s ease;
}

.btn:hover {
  background: var(--color-cta-hover);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

.btn:focus-visible {
  border-radius: var(--radius-pill);
}

/* ボタンの下の一言（無料・登録不要・広告なし）。押す前の不安（課金・登録・広告）に答える。
   ボタンと取り合わないよう、小さく控えめな色にする。リンクにはしない */
.cta-note {
  color: var(--color-sub);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 900px) {
  .cta-note {
    font-size: 15px;
  }
}

/* 公開前：押せないので、ボタンに見せない（角を四角寄りにし、時計の印で「待ち」を示す） */
.btn-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 1.5px solid var(--color-line-warm);
  border-radius: var(--radius-ui);
  background: var(--color-before-surface);
  color: var(--color-sub);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.btn-pending::before {
  content: "";
  flex: none;
  width: 1.1em;
  height: 1.1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 端末の枠。--pw（幅）に合わせて角丸・ふちが縮む */
.phone {
  --pw: 220px;
  flex: none;
  width: var(--pw);
  padding: calc(var(--pw) * .032);
  border-radius: calc(var(--pw) * .16);
  background: var(--color-phone);
  box-shadow: var(--shadow-phone);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--pw) * .13);
  background: var(--sb-bg, var(--color-white));
}

.phone-screen > img {
  width: 100%;
}

/* 端末の上の時刻・電波の帯（飾り） */
.sb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--pw) * .108);
  padding: 0 calc(var(--pw) * .085) 0 calc(var(--pw) * .1);
  color: var(--sb-fg, var(--color-ink));
  font-size: calc(var(--pw) * .041);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.sb::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--pw) * .028);
  width: calc(var(--pw) * .27);
  height: calc(var(--pw) * .074);
  border-radius: var(--radius-pill);
  background: var(--color-notch);
  transform: translateX(-50%);
}

.sb svg {
  width: auto;
  height: calc(var(--pw) * .038);
  fill: currentColor;
}

.sb-sky {
  --sb-bg: var(--color-statusbar-sky);
  --sb-fg: var(--color-statusbar-sky-text);
}

/* 空色の台紙 */
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--color-sky-tint);
}

/* 絵はがき（国の絵＋町の名前） */
.pc {
  padding: 5px 5px 8px;
  border-radius: var(--radius-ui);
  background: var(--color-white);
  color: var(--color-ink);
  box-shadow: 0 16px 30px -18px rgb(var(--rgb-black) / .45);
}

.pc .pic {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--gradient-postcard);
}

.pc .pic img {
  width: 100%;
}

.pc figcaption {
  padding: 6px 4px 0;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
}

.pc figcaption small {
  display: block;
  color: var(--color-mute);
  font-size: 11px;
  font-weight: 500;
}

/* 画像の下の短い説明（番号＋見出し＋本文） */
.cap {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.cap .n {
  margin-bottom: 2px;
  font-size: 24px;
}

.cap b {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.cap .d {
  color: var(--color-sub);
  font-size: 14px;
  line-height: 1.7;
}

/* 白いカードの手順（旅・はじめ方で共通） */
.step-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-white);
  color: var(--color-ink);
}

.step-card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 4px;
}

.step-card-art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-ui);
  box-shadow: 0 12px 24px -16px rgb(var(--rgb-shadow) / .55);
}

.step-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 12px;
  align-items: center;
  padding: 10px 20px 20px;
}

.step-card-body .n {
  grid-row: 1 / span 2;
  font-size: 26px;
}

.step-card-body h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.step-card-body p {
  color: var(--color-sub);
  font-size: 14.5px;
  line-height: 1.7;
}

@media (min-width: 900px) {
  .pc {
    padding: 8px 8px 12px;
  }

  .pc figcaption {
    padding: 10px 6px 0;
    font-size: 15px;
  }

  .pc figcaption small {
    font-size: 13px;
  }

  .cap .n {
    font-size: 30px;
  }

  .cap b {
    font-size: 20px;
  }

  .cap .d {
    font-size: 16px;
  }

  .step-card-body {
    padding: 14px 26px 26px;
  }

  .step-card-body h3 {
    font-size: 19px;
  }

  .step-card-body p {
    font-size: 15.5px;
  }
}

/* アクセス解析の同意（公開時に scripts/wrt-lp-analytics.mjs が差し込む。環境変数が無いときは出ない）。
   下に固定。2つのボタンは同じ大きさ・同じ重さにし、App Store のボタンの色（--color-cta）は使わない。
   出現の動き（data-reveal）は付けない。初回表示でフォーカスは奪わない。
   本文を小さく短くして、スマホでも本文を隠す高さを抑える。閉じる手段は2つのボタンだけ（✕ は置かない） */
.consent {
  position: fixed;
  z-index: 90;
  right: 12px;
  bottom: 12px;
  left: 12px;
  max-width: 640px;
  margin-inline: auto;
  padding: 12px 14px;
  border: 1px solid var(--color-line-warm);
  border-radius: var(--radius-card);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
  color: var(--color-ink);
}

.consent[hidden],
.consent-settings[hidden] {
  display: none;
}

.consent-text {
  margin: 0;
  color: var(--color-sub);
  font-size: 12px;
  line-height: 1.6;
}

.consent-text a {
  color: var(--color-primary);
  text-underline-offset: .2em;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.consent-btn {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-ui);
  background: var(--color-white);
  color: var(--color-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.consent-btn:hover {
  background: var(--color-sky-tint);
}

/* フッターの「アクセス解析の設定」。選択を保存したあとに見える（リンクと同じ見た目） */
.consent-settings {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

@media (min-width: 900px) {
  .consent {
    right: 24px;
    bottom: 24px;
    left: auto;
    width: 380px;
    padding: 14px 16px;
  }

  .consent-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- styles/motion.css ---- */
/* =====================================================================
   動き：画面に入ったら現れる（data-reveal）
   - assets/js/lp.js が html に .motion-ready を付けたときだけ初期状態を隠す。
     JS が動かない・読み込めないときは、最初から全部見えている
   - 「動きを減らす」設定では lp.js が何もしないので、動きは出ない
   - 新しい動きを足すときは、このファイルに「data-reveal="名前"」の型を足す
   ===================================================================== */
.motion-ready [data-reveal] {
  transition:
    opacity var(--motion-duration) var(--motion-ease) var(--reveal-delay, 0ms),
    transform var(--motion-duration) var(--motion-ease) var(--reveal-delay, 0ms);
}

/* 既定（data-reveal / data-reveal="up"）：下から少し上がって現れる */
.motion-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(var(--motion-distance));
}

/* data-reveal="fade"：その場で現れる（位置を動かすと崩れる要素向け） */
.motion-ready [data-reveal="fade"]:not(.is-visible) {
  transform: none;
}

@media print {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- sections/header.css ---- */
/* ヘッダー */
.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgb(var(--rgb-ink) / .08);
  background: rgb(var(--rgb-white) / .96);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--color-primary);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
}

.logo img {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav {
  display: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-ink);
  font-size: 14.5px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-header :is(.btn, .btn-pending) {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13.5px;
  box-shadow: none;
}

.site-header .btn-pending {
  gap: 6px;
  padding: 0 12px;
}

/* 狭い画面ではヘッダーのボタンを短い文言にする（元の文言は読み上げ用に残す） */
.cta-compact {
  display: none;
}

@media (max-width: 419px) {
  .site-header .cta-full {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .site-header .cta-compact {
    display: inline;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    gap: 30px;
  }

  .logo {
    font-size: 19px;
  }

  .logo img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .site-header :is(.btn, .btn-pending) {
    padding: 0 22px;
    font-size: 14px;
  }
}

/* ---- sections/hero.css ---- */
/* 01 ファーストビュー：中央に大きな見出し、その下に端末をまるごと中央に */
.fv {
  position: relative;
  overflow: hidden;
  padding-top: 24px;
}

.fv-text {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.fv-text .h1 {
  margin-top: 12px;
  line-height: 1.6;
}

.fv-text .h1 .hush {
  color: var(--color-hush);
}

/* 行の長さをそろえる。1行目だけ端まで詰まり、2行目が短く残るのを防ぐ */
.fv-text .lead {
  max-width: 22em;
  text-wrap: balance;
}

.fv-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding-bottom: 48px;
}

/* 絵の台。スマホの配置は幅 390px 前後で組んだので、広い画面でも 430px に収める */
.fv-art {
  position: relative;
  max-width: 430px;
  height: 446px;
  margin: 24px auto 0;
}

.dome {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 404px;
  height: 404px;
  border-radius: 50%;
  background: var(--gradient-dome);
  transform: translateX(-50%);
}

/* 画面のまわりに、ほかの国の絵はがきとおみやげを散らし、点線の航路でつなぐ */
.fv-route {
  position: absolute;
  left: 0;
  top: 40px;
  overflow: visible;
  width: 100%;
  height: 320px;
}

.fv-route path {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2.2;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  opacity: .4;
}

.fv-pc {
  position: absolute;
  z-index: 1;
  width: 92px;
}

.fv-pc figcaption small {
  display: none;
}

.fv-pc-1 {
  left: 5px;
  top: 64px;
  transform: rotate(-7deg);
}

.fv-pc-2 {
  right: 5px;
  top: 208px;
  transform: rotate(6deg);
}

.fv-souv {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding: 11px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: var(--shadow-float);
}

.fv-souv img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fv-s1 {
  left: 20px;
  bottom: 40px;
}

.fv-s2 {
  right: 22px;
  bottom: 28px;
  width: 56px;
  height: 56px;
  padding: 9px;
}

.fv-s3 {
  right: 34px;
  top: 84px;
  width: 50px;
  height: 50px;
  padding: 8px;
}

.fv-art .phone {
  --pw: 186px;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
}

/* 見出しの漫符：「できたね」に紺の線のきらきら */
.h1 :is(.hush, .mark) {
  position: relative;
}

.mp {
  position: absolute;
  pointer-events: none;
  line-height: 0;
}

img.mp {
  display: block;
  max-width: none;
  height: auto;
}

.mp-kira {
  width: .42em;
}

.mp-kira-l {
  left: -.5em;
  top: .1em;
}

.mp-kira-r {
  right: .4em;
  top: -.04em;
  width: .3em;
}

/* 幅 375px 未満：画面と絵はがきが重ならないよう、絵の台を小さくする */
@media (max-width: 374px) {
  .fv-art {
    height: 400px;
  }

  .fv-art .phone {
    --pw: 164px;
  }

  .fv-pc {
    width: 76px;
  }

  .fv-pc-1 {
    left: 2px;
  }

  .fv-pc-2 {
    right: 2px;
  }

  .fv-souv {
    transform: scale(.85);
  }
}

@media (min-width: 900px) {
  .fv {
    padding-top: 64px;
  }

  .fv-text {
    gap: 22px;
  }

  .fv-text .h1 {
    line-height: 1.56;
  }

  .fv-text .lead {
    max-width: none;
  }

  .fv-cta {
    margin-top: 28px;
    padding-bottom: 96px;
  }

  .fv-art {
    max-width: none;
    height: 640px;
    margin-top: 40px;
  }

  .dome {
    width: 600px;
    height: 600px;
  }

  .fv-route {
    left: calc(50% - 560px);
    width: 1120px;
    height: 470px;
  }

  .fv-pc {
    width: 212px;
  }

  .fv-pc figcaption small {
    display: block;
  }

  .fv-pc-1 {
    left: calc(50% - 480px);
    top: 96px;
  }

  .fv-pc-2 {
    left: calc(50% + 262px);
    right: auto;
    top: 262px;
  }

  .fv-souv {
    width: 104px;
    height: 104px;
    padding: 18px;
  }

  .fv-s1 {
    left: calc(50% - 340px);
    bottom: 64px;
  }

  .fv-s2 {
    left: calc(50% + 330px);
    right: auto;
    bottom: 28px;
    width: 96px;
    height: 96px;
    padding: 16px;
  }

  .fv-s3 {
    left: calc(50% + 190px);
    right: auto;
    top: 54px;
    width: 86px;
    height: 86px;
    padding: 15px;
  }

  .fv-art .phone {
    --pw: 270px;
    top: 24px;
  }
}

/* ---- sections/empathy.css ---- */
/* 02 共感：3つの場面を1列に小さく → 「これまで」を控えめに → 「やることトラベルでは」を大きく */
.empathy {
  padding-top: var(--section-space);
  background: var(--color-paper-warm);
}

.scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.scene {
  display: grid;
  gap: 4px;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.scene-art {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-ui);
  background: var(--color-white);
}

/* 高さは幅から決める（iOS Safari は aspect-ratio の箱の中で height: 100% を解決しないことがある） */
.scene-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scene .n {
  margin-top: 6px;
  font-size: 28px;
}

.scene h3 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-wrap: balance;
}

.ba {
  padding-block: 36px var(--section-space);
}

.ba-bridge {
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
  text-align: center;
  white-space: nowrap;
  font-feature-settings: "palt";
}

.ba-in {
  display: grid;
  gap: 10px;
}

.ba-label {
  display: inline-block;
  justify-self: start;
  padding: 1px 12px;
  border: 1px solid var(--color-line-warm);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-mute);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.8;
}

.ba-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.55;
}

.ba-body {
  color: var(--color-sub);
  font-size: 15px;
  line-height: 1.8;
}

.ba-art img {
  width: 100%;
  height: auto;
}

/* これまで：小さな絵と一文の控えめなカード */
.ba-before {
  display: grid;
  grid-template-areas: "label label" "art title";
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px 10px 10px;
  border: 1.5px solid var(--color-line-before);
  border-radius: 16px;
  background: var(--color-before-surface);
}

.ba-before .ba-label {
  grid-area: label;
  align-self: start;
}

.ba-before .ba-art {
  grid-area: art;
  overflow: hidden;
  border-radius: 10px;
}

.ba-before .ba-title {
  grid-area: title;
  align-self: center;
  color: var(--color-sub);
  font-size: 14px;
  line-height: 1.55;
}

.ba-arrow {
  justify-self: center;
  width: 26px;
  height: 20px;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* やることトラベルでは：白い大きなカード */
.ba-after {
  display: grid;
  gap: 10px;
  padding: 12px 12px 24px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.ba-after :is(.ba-label, .ba-title, .ba-body) {
  margin-inline: 8px;
}

.ba-after .ba-label {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

.ba-after .ba-art {
  overflow: hidden;
  margin-bottom: 6px;
  border-radius: 14px;
}

.ba-after .ba-title {
  color: var(--color-primary);
  font-size: 25px;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .scenes {
    gap: 24px;
    max-width: 900px;
    margin: 48px auto 0;
  }

  .scene .n {
    font-size: 40px;
  }

  .scene h3 {
    font-size: 18px;
  }

  .ba {
    padding-block: 48px var(--section-space);
  }

  .ba-bridge {
    margin-bottom: 28px;
    font-size: 30px;
  }

  .ba-label {
    font-size: 13.5px;
  }

  .ba-title {
    font-size: 22px;
  }

  .ba-body {
    font-size: 16.5px;
  }

  /* 左に「これから」の大きな絵、右に これまで → 矢印 → これから の文 */
  .ba-in {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-rows: 1fr repeat(5, auto) 1fr;
    gap: 12px 56px;
    align-items: start;
    max-width: 1144px;
    padding: 32px 40px 32px 32px;
    border-radius: var(--radius-panel);
    background: var(--color-white);
    box-shadow: 0 22px 44px -32px rgb(var(--rgb-shadow) / .45);
  }

  .ba-before {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: 150px 1fr;
    background: var(--color-before-surface-on-white);
  }

  .ba-before .ba-title {
    font-size: 16px;
  }

  .ba-arrow {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin-left: 62px;
  }

  .ba-after {
    display: contents;
  }

  .ba-after :is(.ba-label, .ba-title, .ba-body) {
    margin-inline: 0;
  }

  .ba-after .ba-art {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
    margin: 0;
    border-radius: var(--radius-card);
  }

  .ba-after .ba-label {
    grid-column: 2;
    grid-row: 4;
    margin-top: 4px;
  }

  .ba-after .ba-title {
    grid-column: 2;
    grid-row: 5;
    font-size: 36px;
  }

  .ba-after .ba-body {
    grid-column: 2;
    grid-row: 6;
  }
}

/* ---- sections/feature.css ---- */
/* 03 やることリスト */
.feature {
  padding-block: var(--section-space) var(--section-space-end);
}

.feature-main {
  display: grid;
  grid-template-areas: "head" "art" "list";
  gap: 28px;
}

.feature-main .head {
  grid-area: head;
}

.feature-art {
  grid-area: art;
  padding: 22px 22px 70px;
}

.list-shot {
  position: relative;
  width: min(100%, 320px);
  margin: 0 auto;
}

.list-shot img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 32px -20px rgb(var(--rgb-shadow) / .5);
}

/* 「まるをタッチ」の位置。画像の中の まる に合わせた割合 */
.tap {
  --tap-size: 46px;
  position: absolute;
  left: 83%;
  top: 88.2%;
  width: var(--tap-size);
  height: var(--tap-size);
  margin: calc(var(--tap-size) / -2) 0 0 calc(var(--tap-size) / -2);
  border: 3px solid var(--color-cta);
  border-radius: 50%;
  background: rgb(var(--rgb-cta) / .12);
  box-shadow: 0 0 0 7px rgb(var(--rgb-cta) / .16);
}

/* 指のアイコン（紺・白ふち） */
.tap::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 40px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74zm9.84 4.63l-4.54-2.26c-.17-.07-.35-.11-.54-.11H13v-6c0-.83-.67-1.5-1.5-1.5S10 6.67 10 7.5v10.74l-3.43-.72c-.08-.01-.15-.03-.24-.03-.31 0-.59.13-.79.33l-.79.8 4.94 4.94c.27.27.65.44 1.06.44h6.79c.75 0 1.33-.55 1.44-1.28l.75-5.27c.01-.07.02-.14.02-.2 0-.62-.38-1.16-.91-1.38z' fill='%231D3B81' stroke='white' stroke-width='1.2' paint-order='stroke'/%3E%3C/svg%3E") center / contain no-repeat;
}

.callout {
  position: absolute;
  right: -4px;
  top: calc(100% + 20px);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: var(--shadow-float);
}

.callout::before {
  content: "";
  position: absolute;
  right: 38px;
  top: -8px;
  width: 14px;
  height: 9px;
  background: var(--color-white);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.steps {
  grid-area: list;
  display: grid;
  border-top: 1px solid var(--color-line);
}

.steps > li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}

.steps .n {
  padding-top: 2px;
  font-size: 34px;
}

.steps b {
  display: block;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.5;
}

.steps .d {
  display: block;
  margin-top: 2px;
  color: var(--color-sub);
  font-size: 15px;
  line-height: 1.75;
}

/* そのほかの機能 */
.subhead {
  margin-top: 56px;
}

.subhead h3 {
  color: var(--color-primary);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.55;
}

.subfeatures {
  margin-top: 20px;
}

.subfeatures:focus-visible {
  border-radius: var(--radius-card);
}

.sf {
  display: flex;
  flex: 0 0 74%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-white);
  scroll-snap-align: start;
}

.sf-art {
  position: relative;
  overflow: hidden;
  height: 170px;
  background: var(--color-sky-tint);
}

.sf-body {
  display: grid;
  gap: 4px;
  padding: 14px 18px 18px;
}

.sf h4 {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.5;
}

.sf p {
  color: var(--color-sub);
  font-size: 14.5px;
  line-height: 1.75;
}

.sf-art .shot {
  position: absolute;
  border-radius: var(--radius-ui);
  box-shadow: 0 14px 28px -18px rgb(var(--rgb-shadow) / .5);
}

/* 生活の時間のお知らせ：端末の上の部分だけを見せる */
.notice-mock {
  --pw: 300px;
  position: absolute;
  left: 50%;
  top: 28px;
  width: min(300px, 90%);
  padding: 7px 7px 0;
  border-radius: 34px 34px 0 0;
  background: var(--color-phone);
  box-shadow: 0 18px 30px -20px rgb(var(--rgb-shadow) / .6);
  transform: translateX(-50%);
}

.notice-screen {
  --sb-fg: var(--color-white);
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: var(--color-notice-screen);
}

.notice-screen::after {
  content: "";
  display: block;
  height: 46px;
  background: linear-gradient(var(--color-notice-fade), var(--color-sky-tint));
}

.sf-notice .sf-art::after,
.sf-items .sf-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40px;
  background: linear-gradient(transparent, var(--color-sky-tint));
}

.sf-items .sf-art::after {
  height: 44px;
}

.sf-cal .shot {
  left: 50%;
  top: 50%;
  width: 88%;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 26px -18px rgb(var(--rgb-shadow) / .45);
}

.sf-items .shot {
  left: 50%;
  top: 16px;
  width: 66%;
  border-radius: 18px 18px 0 0;
  transform: translateX(-50%);
}

.scroll-note {
  margin-top: 4px;
  color: var(--color-mute);
  font-size: 12.5px;
  text-align: right;
}

@media (min-width: 900px) {
  .feature-main {
    grid-template-areas: "head art" "list art";
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 32px 64px;
    align-items: start;
  }

  .feature-main .head {
    align-self: end;
    justify-items: start;
    text-align: left;
  }

  .feature-art {
    align-self: center;
    padding: 44px 44px 92px;
  }

  .list-shot {
    width: min(100%, 420px);
  }

  .tap {
    --tap-size: 58px;
  }

  .tap::after {
    left: 18px;
    top: 20px;
    width: 50px;
    height: 50px;
  }

  .callout {
    top: calc(100% + 24px);
    padding: 10px 20px;
    font-size: 16px;
  }

  .callout::before {
    right: 46px;
  }

  .steps > li {
    grid-template-columns: 76px 1fr;
  }

  .steps .n {
    font-size: 40px;
  }

  .subhead {
    margin-top: 104px;
  }

  .subhead h3 {
    font-size: 28px;
  }

  .subfeatures {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
  }

  .sf-art {
    height: 230px;
  }

  .sf-body {
    padding: 20px 24px 26px;
  }

  .sf h4 {
    font-size: 20px;
  }

  .sf p {
    font-size: 15.5px;
  }

  .scroll-note {
    display: none;
  }
}

/* ---- sections/timer.css ---- */
/* 04 タイマー */
.timer {
  padding-block: var(--section-space) var(--section-space-end);
  background: var(--color-sky-tint);
}

.timer-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.timer-steps > li {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: center;
}

.timer-steps img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-shot);
}

@media (min-width: 900px) {
  .timer-steps {
    gap: 64px;
    max-width: 720px;
    margin: 56px auto 0;
  }
}

/* ---- sections/trip.css ---- */
/* 05 旅とおみやげ（強い色の面はここだけ） */
.trip {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space) var(--section-space-end);
  background: var(--color-band);
  color: var(--color-white);
}

.trip :is(.eyebrow, .h2) {
  color: var(--color-white);
}

.trip-inner {
  display: grid;
  gap: 32px;
}

/* 3枚の絵はがきを航路でつなぎ、真ん中につばめ */
.trip-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
  padding-top: 62px;
}

.trip-cards .route {
  position: absolute;
  left: 8%;
  top: 30px;
  overflow: visible;
  width: 84%;
  height: 40px;
}

.trip-cards .route path {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2.5;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  opacity: .85;
}

.trip-cards .yatta {
  position: absolute;
  left: 50%;
  top: -6px;
  width: 76px;
  transform: translateX(-50%);
}

.trip-steps {
  display: grid;
  gap: 12px;
}

.trip-steps .step-card-art {
  height: 220px;
}

/* おみやげの例 */
.souv {
  display: grid;
  gap: 16px;
  padding: 22px 18px 24px;
  border: 1px solid rgb(var(--rgb-white) / .3);
  border-radius: var(--radius-card);
  /* 白の重ねは 5% まで（国名の白い小さな文字とのコントラスト 4.5:1 を保つため。10% だと 4.3） */
  background: rgb(var(--rgb-white) / .05);
  text-align: center;
}

.souv h3 {
  font-size: 18px;
  font-weight: 800;
}

.souv ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.souv li {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.souv .pic {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  padding: 13%;
  border-radius: var(--radius-card);
  background: var(--color-white);
}

/* 高さは幅から決める。iOS Safari は aspect-ratio の箱の中で height: 100% を解決せず、絵が下へずれて切れるため */
.souv .pic img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.souv b {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.souv small {
  display: block;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  white-space: nowrap;
}

/* スマホの配置のまま幅が広いとき：手順を3列に並べ、絵が小さく余白だらけになるのを防ぐ */
@media (min-width: 600px) and (max-width: 899px) {
  .trip-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trip-steps .step-card-art {
    padding-inline: 12px;
  }

  .trip-steps .step-card-body {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  .trip-steps .step-card-body .n {
    grid-row: auto;
    margin-bottom: 4px;
  }
}

@media (min-width: 900px) {
  .trip-inner {
    gap: 56px;
  }

  .trip-cards {
    gap: 28px;
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
    padding-top: 96px;
  }

  .trip-cards .route {
    top: 52px;
    height: 56px;
  }

  .trip-cards .yatta {
    top: -10px;
    width: 120px;
  }

  .trip-cards .pc:nth-of-type(1) {
    transform: rotate(-2deg);
  }

  .trip-cards .pc:nth-of-type(3) {
    transform: rotate(2deg);
  }

  .trip-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .trip-steps .step-card-art {
    height: 280px;
    padding: 24px 24px 8px;
  }

  .trip-steps .step-card-body .n {
    font-size: 32px;
  }

  .souv {
    gap: 24px;
    justify-items: center;
    padding: 32px 36px 36px;
  }

  .souv h3 {
    font-size: 22px;
  }

  .souv ul {
    gap: 28px;
    width: 100%;
    max-width: 720px;
  }

  .souv small {
    font-size: 13.5px;
    letter-spacing: .03em;
  }
}

/* ---- sections/talk.css ---- */
/* 06 おしゃべりカード */
.talk {
  padding-block: var(--section-space) var(--section-space-end);
}

.talk-grid {
  display: grid;
  gap: 28px;
}

.talk-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.talk-flow > li {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.talk-flow img {
  width: 100%;
  filter: drop-shadow(0 14px 16px rgb(var(--rgb-shadow) / .22));
}

/* 2枚のあいだの矢印（塗りの三角） */
.talk-flow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% - 30px);
  width: 16px;
  height: 20px;
  margin-left: -8px;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

@media (min-width: 900px) {
  .talk-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: center;
  }

  .talk-grid .head {
    justify-items: start;
    text-align: left;
  }

  .talk-flow {
    justify-self: center;
    width: 100%;
    max-width: 560px;
    gap: 56px;
  }

  .talk-flow::before {
    width: 20px;
    height: 26px;
    margin-left: -10px;
  }
}

/* ---- sections/start.css ---- */
/* 07 はじめ方 */
.start {
  overflow: hidden;
  padding-block: var(--section-space) var(--section-space-end);
  background: var(--color-sky-tint);
}

.start-steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.start-steps .step-card {
  border: 1px solid var(--color-sky-line);
}

.start-steps .step-card-art {
  height: 168px;
}

.start-steps .step-card-art img {
  box-shadow: 0 12px 24px -16px rgb(var(--rgb-shadow) / .5);
}

.start-cta {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-bottom: 36px;
}

/* つばめはボタンの右下に置き、文字に重ねない */
.start-cta .hello {
  position: absolute;
  right: 0;
  bottom: -18px;
  width: 64px;
  pointer-events: none;
}

@media (min-width: 600px) and (max-width: 899px) {
  .start-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .start-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
  }

  .start-steps .step-card-art {
    height: 200px;
    padding: 20px 20px 6px;
  }

  .start-steps .step-card-body {
    grid-template-columns: 1fr;
    gap: 2px;
    align-items: start;
  }

  .start-steps .step-card-body .n {
    grid-row: auto;
    margin-bottom: 4px;
    font-size: 30px;
  }


  .start-cta {
    margin-top: 48px;
    padding-bottom: 0;
  }

  .start-cta .hello {
    right: auto;
    left: calc(50% + 170px);
    bottom: -24px;
    width: 110px;
  }
}

/* ---- sections/faq.css ---- */
/* 08 よくある質問 */
.faq {
  padding-block: var(--section-space) var(--section-space-end);
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.qa {
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: var(--color-white);
}

.qa summary {
  display: grid;
  grid-template-columns: 26px 1fr 18px;
  gap: 6px;
  align-items: center;
  min-height: 60px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::before {
  content: "Q.";
  color: var(--color-primary);
  font-weight: 900;
}

/* 開閉の三角 */
.qa summary::after {
  content: "";
  justify-self: end;
  width: 12px;
  height: 8px;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: transform .2s ease;
}

.qa[open] summary::after {
  transform: rotate(180deg);
}

.qa p {
  padding: 0 18px 18px 48px;
  color: var(--color-sub);
  font-size: 15px;
  line-height: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  .qa summary::after {
    transition: none;
  }
}

@media (min-width: 900px) {
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    max-width: 1080px;
    margin: 44px auto 0;
  }

  .qa summary {
    min-height: 72px;
    padding: 14px 22px;
    font-size: 17.5px;
  }

  .qa p {
    padding: 0 24px 22px 56px;
    font-size: 16px;
  }
}

/* ---- sections/closing.css ---- */
/* 09 最後の呼びかけ：空のグラデーションの下に日本の景色とつばめ */
.closing {
  position: relative;
  overflow: hidden;
  padding-top: var(--section-space);
  background: var(--gradient-closing);
}

.closing-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.closing .icon {
  width: 80px;
  height: 80px;
  border-radius: 19px;
  box-shadow: 0 18px 30px -18px rgb(var(--rgb-shadow) / .55);
}

.closing .lead {
  color: var(--color-on-sky);
}

.closing :is(.btn, .btn-pending) {
  margin-top: 6px;
}

/* ボタンの下の一言はボタンに寄せる（.closing-inner の gap 16px を詰める） */
.closing .cta-note {
  margin-top: -6px;
}

/* 景色は画面幅より狭くしない（端が切れて見えないように）。
   つばめの位置と大きさは景色の幅（--art-w）に合わせて伸び縮みする。440px のとき右 128px・幅 82px */
.closing-art {
  --art-w: max(440px, 100%);
  position: relative;
  overflow: hidden;
  margin-top: 28px;
}

.closing-art .country {
  position: relative;
  left: 50%;
  width: var(--art-w);
  max-width: none;
  transform: translateX(-50%);
}

.closing-art .flag {
  position: absolute;
  right: calc(50% - var(--art-w) * .291);
  bottom: calc(var(--art-w) * .009);
  width: calc(var(--art-w) * .186);
}

@media (min-width: 900px) {
  .closing .icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .closing-art {
    margin-top: 24px;
  }

  .closing-art {
    --art-w: max(1320px, 100%);
  }

  .closing-art .flag {
    right: calc(50% - 360px);
    bottom: 10px;
    width: 168px;
  }
}

/* スマホで読み取る QR（partials/qr.html）。スマホで見ている人には要らないので、PC の幅だけ出す。
   説明文は置かず QR だけ。白い台の余白が QR の静穏領域を兼ねる（SVG の中の余白 2 モジュール＋台の 12px）。
   QR を 160px にしているのは、キャンペーン付きの URL で 49×49 マスになり、128px だと 1 マスが 2.4px と細かいため */
.qr-card {
  display: none;
}

@media (min-width: 900px) {
  .qr-card {
    position: relative;
    display: block;
    width: 184px;
    height: 184px;
    margin-top: 14px;
    padding: 12px;
    border-radius: var(--radius-card);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
  }

  .qr-code {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* 真ん中のアプリアイコン。白いふちを含めた 32px が、QR の空けてある範囲（13 モジュール ≒ 39px）に収まる。
     大きくするときは scripts/wrt-lp-qr.mjs の QR_BADGE_MODULES も見直す */
  .qr-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px var(--color-white);
  }
}

/* ---- sections/footer.css ---- */
/* フッター */
.site-footer {
  padding-block: 28px 36px;
  background: var(--color-paper-footer);
}

.site-footer .wrap {
  display: grid;
  gap: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}

.site-footer nav a,
.site-footer nav .consent-settings {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-sub);
  font-size: 13.5px;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav .consent-settings:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer small {
  color: var(--color-mute);
  font-size: 12.5px;
}

@media (min-width: 900px) {
  .site-footer .wrap {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
  }

  .site-footer nav {
    justify-content: center;
  }
}
