/* 飛行機のバッテリー持ち込み早見：空港の出発ロビー。黒い出発案内板に黄色い文字、白い搭乗券、案内サインの黄色
   判定は色だけにせず ○△× の記号と文字を並べる。端末の明暗によらず、明るいロビーに黒い案内板を置いて見せる */
:root {
  --floor: #eceef1; --floor-line: #dfe3e8; --board: #121620; --board-2: #1c2230; --flap: #232a3a; --sign: #ffc915; --sign-ink: #121620;
  --pass: #fffdf8; --ink: #1b2433; --muted: #5b6577; --line: #cfd5de;
  --ok: #18a36b; --cond: #f2a900; --ng: #e0453a; --accent: #0b6e9e; --accent-soft: #dcecf5; --warn: #c5281c;
  --sans: "M PLUS 1p", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: var(--sans);
  --plane-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23121620' d='M22 12c0-.8-.7-1.4-1.5-1.4H15L10.2 3H8.4l2.4 7.6H6.2L4.4 8.2H3l1.1 3.8L3 15.8h1.4l1.8-2.4h4.6L8.4 21h1.8l4.8-7.6h5.5c.8 0 1.5-.6 1.5-1.4z'/%3E%3C/svg%3E");
  --plane: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 12c0-.8-.7-1.4-1.5-1.4H15L10.2 3H8.4l2.4 7.6H6.2L4.4 8.2H3l1.1 3.8L3 15.8h1.4l1.8-2.4h4.6L8.4 21h1.8l4.8-7.6h5.5c.8 0 1.5-.6 1.5-1.4z'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--floor); color-scheme: light; }
body { margin: 0; color: var(--ink); font-family: var(--sans); line-height: 1.75; font-size: 16px; counter-reset: gate;
  background: var(--floor) linear-gradient(90deg, var(--floor-line) 1px, transparent 1px) 0 0 / 64px 64px; }
a { color: var(--accent); text-underline-offset: 3px; }
strong { font-weight: 800; }

/* 頭：空港の案内サイン（黒地に黄色） */
.site-header { background: var(--board); padding: 12px 16px 10px; border-bottom: 6px solid var(--sign); }
.site-name { display: inline-flex; align-items: center; gap: 10px; color: var(--sign); text-decoration: none; font-weight: 800; font-size: 1.08rem; letter-spacing: 0.04em; }
.site-name::before { content: ""; width: 30px; height: 30px; flex: none; border-radius: 4px; background: var(--sign) var(--plane-ink) center / 22px no-repeat; }
.pr-notice { margin: 4px 0 0; font-size: 0.8rem; color: #9aa4b8; }
.site-main { max-width: 820px; margin: 0 auto; padding: 18px 16px 24px; }

h1 { font-weight: 800; line-height: 1.3; margin: 10px 0 12px; }
/* 見出し：搭乗口のサイン。黄色の番号札と黒い帯 */
h2 { counter-increment: gate; display: flex; align-items: center; gap: 12px; margin: 48px 0 16px; padding: 0 12px 0 0; font-weight: 800; font-size: 1.12rem; line-height: 1.4;
  background: var(--board); color: #fff; border-radius: 4px; overflow: hidden; }
h2::before { content: counter(gate, decimal-leading-zero); flex: none; align-self: stretch; display: grid; place-items: center; min-width: 3.1rem; padding: 8px 10px; background: var(--sign); color: var(--sign-ink); font-family: var(--mono); font-weight: 800; font-size: 1.25rem; }
h3 { font-weight: 800; font-size: 1.02rem; margin: 22px 0 8px; }
.lead { margin: 0 0 14px; font-size: 1rem; }
.lead strong { background: linear-gradient(transparent 60%, rgba(255, 201, 21, 0.55) 60%); }
.note, .hint { color: var(--muted); font-size: 0.94rem; }
.hint { margin: 4px 0 0; }

/* はじめ：出発サインと、自宅→機内の飛行経路 */
.hero { position: relative; margin: 4px 0 18px; }
.gate-sign { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 6px 14px 6px 8px; background: var(--sign); color: var(--sign-ink); border-radius: 4px; font-weight: 800; }
.gs-pict { width: 26px; height: 26px; background: var(--sign-ink); -webkit-mask: var(--plane) center / contain no-repeat; mask: var(--plane) center / contain no-repeat; transform: rotate(-35deg); }
.gs-ja { font-size: 1.05rem; letter-spacing: 0.08em; }
.gs-en { font-size: 0.85rem; font-weight: 700; }
.gs-arrow { font-size: 1.2rem; line-height: 1; }
.h1-a { display: block; font-size: 1.05rem; color: var(--muted); font-weight: 700; }
.h1-b { display: block; font-size: 2.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.flight { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 6px 0 16px; padding: 12px 14px; background: var(--board); color: #fff; border-radius: 8px; }
.fl-code { display: grid; text-align: center; font-size: 0.8rem; color: #9aa4b8; line-height: 1.3; }
.fl-code b { font-family: var(--mono); font-weight: 800; font-size: 1.45rem; color: var(--sign); letter-spacing: 0.04em; }
.fl-path { position: relative; height: 34px; }
.fl-path::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #4b5670; }
.fl-plane { position: absolute; left: calc(100% - 26px); top: calc(50% - 13px); width: 26px; height: 26px; background: #fff; -webkit-mask: var(--plane) center / contain no-repeat; mask: var(--plane) center / contain no-repeat; }
.stamps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 0.8rem; }
.stamps li { padding: 2px 10px; border: 1.5px solid var(--ink); border-radius: 3px; font-weight: 700; background: var(--pass); }

/* 入力：搭乗券。右に半券、間にミシン目 */
.pass { position: relative; margin: 18px 0 26px; background: var(--pass); border-radius: 14px; box-shadow: 0 1px 0 var(--line), 0 14px 30px -18px rgba(18, 22, 32, 0.55); }
.pass-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 14px 14px 0 0; }
.pass-head b { font-weight: 800; font-size: 1rem; letter-spacing: 0.1em; }
.ph-en { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.18em; opacity: 0.85; }
.pass-route { display: flex; align-items: center; gap: 10px; padding: 10px 16px 0; font-family: var(--mono); font-weight: 800; font-size: 1.6rem; color: var(--ink); }
.pass-route span { display: grid; line-height: 1.1; }
.pass-route small { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.15em; font-weight: 700; }
.pass-route .pr-plane { flex: 1; height: 22px; background: linear-gradient(var(--line), var(--line)) 0 50% / 100% 2px no-repeat; position: relative; }
.pass-route .pr-plane::after { content: ""; position: absolute; left: calc(50% - 11px); top: 0; width: 22px; height: 22px; background: var(--accent); -webkit-mask: var(--plane) center / contain no-repeat; mask: var(--plane) center / contain no-repeat; }
.pass-body { padding: 14px 16px 18px; }
.field { margin: 0 0 14px; }
.field label { display: block; font-size: 0.8rem; font-weight: 800; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row + .row { margin-top: 8px; }
input, button { font: inherit; }
input[type="text"] { flex: 1; min-width: 8em; min-height: 50px; padding: 0 12px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 6px 6px 0 0; background: #f1f3f6; color: var(--ink);
  font-family: var(--mono); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.04em; }
input[type="text"]::placeholder { color: #a7b0bf; font-weight: 700; }
input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sign); outline-offset: 2px; }
input[aria-invalid="true"] { border-bottom-color: var(--warn); background: #fdeceb; }
.unit { font-family: var(--mono); font-weight: 800; color: var(--muted); }
button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 6px; background: var(--sign); color: var(--sign-ink); font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 #c99a00; transition: transform 0.1s, box-shadow 0.1s; }
button:active { transform: translateY(3px); box-shadow: 0 0 0 #c99a00; }
button.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.chip { min-width: 44px; min-height: 40px; padding: 0 9px; font-size: 0.92rem; border-radius: 4px; background: var(--board); color: var(--sign); font-family: var(--mono); font-weight: 800; box-shadow: 0 3px 0 #000; }
.chip[aria-pressed="true"] { background: var(--sign); color: var(--sign-ink); box-shadow: 0 3px 0 #c99a00; }
.err { color: var(--warn); font-size: 0.8rem; min-height: 1.2em; margin: 4px 0 0; font-weight: 800; }
.msg { font-size: 0.94rem; min-height: 1.2em; margin: 8px 0 0; overflow-wrap: anywhere; }

/* 半券：Wh と、○△× の社数。上にミシン目と左右の切り欠き */
.out { position: relative; display: grid; gap: 6px; margin: 16px -16px -18px; padding: 22px 16px 18px; background: var(--pass); border-radius: 0 0 14px 14px;
  border-top: 2px dashed var(--line); }
.out::before, .out::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--floor); }
.out::before { left: -12px; }
.out::after { right: -12px; }
.out-label { font-size: 0.8rem; font-weight: 800; color: var(--muted); letter-spacing: 0.1em; }
.out-wh { font-family: var(--mono); font-size: 3.6rem; line-height: 1; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.out-wh small { font-size: 1.1rem; margin-left: 4px; color: var(--muted); }
.out-sub { font-size: 0.94rem; color: var(--muted); min-height: 1.5em; }
.tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; padding: 0; margin: 4px 0 0; }
.tally li { display: grid; place-items: center; padding: 6px 4px; border-radius: 6px; font-weight: 800; font-size: 0.94rem; color: #fff; }
.tally b { font-family: var(--mono); font-size: 1.6rem; line-height: 1.1; }
.tally .ok { background: var(--ok); }
.tally .cond { background: var(--cond); color: var(--sign-ink); }
.tally .ng { background: var(--ng); }
.stamp { display: none; justify-self: start; margin-top: 4px; padding: 2px 14px; border: 3px solid var(--ok); color: var(--ok); border-radius: 6px; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.16em; transform: rotate(-4deg); }
.stamp.show { display: inline-block; }
.stamp.cond { border-color: var(--cond); color: #a87400; border-style: dashed; }
.stamp.ng { color: var(--ng); border-color: var(--ng); }
/* 半券の下のバーコード */
.out { padding-bottom: 18px; }
.barcode { display: block; width: 150px; height: 26px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); }

/* 大事な注意：保安検査場の黄色と黒の縞の札 */
.notice { position: relative; margin: 0 0 26px; padding: 22px 16px 14px; background: #fff7d6; border-radius: 6px; overflow: hidden; }
.notice::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--sign-ink) 0 10px, var(--sign) 10px 20px); }
.notice h2 { display: block; margin: 0 0 8px; padding: 0; background: none; color: var(--ink); font-size: 1rem; counter-increment: none; }
.notice h2::before { content: "!"; display: inline-grid; place-items: center; width: 26px; height: 26px; min-width: 0; padding: 0; margin-right: 8px; border-radius: 50%; background: var(--sign-ink); color: var(--sign); font-size: 0.95rem; vertical-align: 2px; }
.notice ul { margin: 0; padding-left: 1.2em; font-size: 0.94rem; }
.notice li { margin-bottom: 4px; }

/* 各社の判定：出発案内板。社名は白、判定は文字板 */
.board { margin: 0 0 24px; padding: 12px 12px 16px; background: var(--board); color: #e8ecf3; border-radius: 10px; box-shadow: inset 0 0 0 4px var(--board-2); }
.board h3 { display: flex; justify-content: space-between; margin: 10px 4px 8px; font-size: 0.94rem; color: var(--sign); letter-spacing: 0.12em; }
.board h3::after { content: "STATUS"; font-family: var(--mono); color: #6f7a90; }
.air { list-style: none; margin: 0; padding: 0; }
.air li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 8px; border-top: 1px solid #2a3142; align-items: center; }
.air .nm { font-weight: 800; font-size: 0.98rem; line-height: 1.45; color: #fff; }
.air .nt { grid-column: 1 / -1; font-size: 0.94rem; color: #aab3c5; line-height: 1.6; }
.air .use { grid-column: 1 / -1; font-size: 0.94rem; color: #cfd6e3; line-height: 1.6; }
.air .more { font-size: 0.94rem; }
.board a { color: var(--sign); }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 7.2em; min-height: 34px; padding: 0 8px; border-radius: 4px; font-weight: 800; font-size: 0.86rem; white-space: nowrap;
  background: var(--flap); color: #fff; position: relative; overflow: hidden; }
.badge::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid rgba(0, 0, 0, 0.55); }
.badge.ok { color: #4fe0a0; }
.badge.cond { color: var(--sign); }
.badge.ng { color: #ff7b70; }
.air li.ng .nm { color: #8a93a6; }
.board .actions button.secondary { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.board .msg { color: #cfd6e3; }
.empty { margin: 0; padding: 22px 16px; text-align: center; font-family: var(--mono); font-weight: 800; letter-spacing: 0.06em; color: var(--sign); background: var(--board); border-radius: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* 表 */
table { border-collapse: collapse; width: 100%; font-size: 0.94rem; background: var(--pass); font-variant-numeric: tabular-nums; }
th, td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
thead th { background: var(--board); color: var(--sign); font-size: 0.8rem; }
caption { text-align: left; font-size: 0.8rem; color: var(--muted); padding: 4px 0; }
.table-wrap { overflow-x: auto; margin: 12px 0; border-radius: 8px; box-shadow: 0 1px 0 var(--line); }
.wh-table td, .wh-table th { white-space: nowrap; }
.wh-table td { font-family: var(--mono); font-weight: 700; }
.limits th[scope="row"] { font-weight: 800; }
.limits td { text-align: right; white-space: nowrap; font-family: var(--mono); font-weight: 700; }
.limits .none { color: var(--muted); }
.limits .area { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.94rem; color: var(--muted); }

/* よくある質問：たたんでおく */
.faq details { background: var(--pass); border-radius: 8px; margin: 0 0 8px; box-shadow: 0 1px 0 var(--line); }
.faq summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: var(--sign); font-family: var(--mono); }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--mono); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 14px 14px 52px; font-size: 0.94rem; }

/* このサイトのページへの入口：搭乗口の札 */
.site-pages { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 44px 0 0; }
.site-pages a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 4px; text-decoration: none; background: var(--board); color: #fff; font-weight: 700; }
.site-pages a[aria-current="page"] { background: var(--sign); color: var(--sign-ink); }

/* 分布：横の帯の長さが社の数 */
.dist th, .dist td { padding: 8px; vertical-align: middle; }
.dist thead th { font-size: 0.8rem; line-height: 1.4; }
.dist tbody th { white-space: nowrap; font-family: var(--mono); }
.stack { display: flex; height: 26px; min-width: 140px; border-radius: 4px; overflow: hidden; background: var(--flap); }
.stack span { display: block; min-width: 0; height: 100%; }
.stack .ok { background: var(--ok); }
.stack .cond { background: repeating-linear-gradient(135deg, var(--cond) 0 5px, #ffd75e 5px 10px); }
.stack .ng { background: var(--ng); }
.nums { font-size: 0.8rem; margin-top: 4px; white-space: nowrap; font-family: var(--mono); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 8px 0 16px; font-size: 0.8rem; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }
.sw.ok { background: var(--ok); }
.sw.cond { background: var(--cond); }
.sw.ng { background: var(--ng); }
.cls { list-style: none; padding: 0; margin: 0 0 16px; }
.cls li { padding: 12px 14px; margin-bottom: 8px; background: var(--pass); border-left: 6px solid var(--sign); border-radius: 4px; }
.cls .cn { font-weight: 800; }
.cls .cc { font-family: var(--mono); font-size: 1.3rem; font-weight: 800; margin-left: 8px; }
.cls .cm { display: block; font-size: 0.8rem; color: var(--muted); }
.bar { display: block; height: 10px; margin-top: 6px; background: var(--floor-line); border-radius: 2px; overflow: hidden; }
.bar::before { content: ""; display: block; height: 100%; width: var(--p); background: var(--accent); }
.checks { padding-left: 1.2em; }
.checks li { margin-bottom: 8px; }
.facts dt { font-weight: 800; margin-top: 8px; }
.facts dd { margin: 0 0 4px; }

/* 各社の規定（出どころの一覧）：搭乗券の控え */
.sources { padding-left: 0; list-style: none; font-size: 0.94rem; }
.sources li { margin-bottom: 14px; padding: 12px 16px; background: var(--pass); border-radius: 10px; border-left: 8px solid var(--accent); overflow-wrap: anywhere; box-shadow: 0 1px 0 var(--line); }
.sources h3 { margin: 0 0 4px; font-size: 1rem; }
.sources q { quotes: "「" "」"; }
.sources .kv { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; margin: 8px 0; font-size: 0.94rem; }
.sources .kv dt { color: var(--muted); }
.sources .kv dd { margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.jump a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 12px; border-radius: 4px; background: var(--sign); color: var(--sign-ink); font-weight: 800; text-decoration: none; }

/* 足：滑走路の灯り */
.site-footer { margin-top: 52px; padding: 26px 16px 22px; background: var(--board); color: #9aa4b8; font-size: 0.94rem; text-align: center; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: radial-gradient(circle, var(--sign) 0 2px, transparent 2.5px) 0 0 / 22px 4px repeat-x; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
.site-footer a { color: #fff; }
.copyright { margin: 8px 0 0; }
.ad-slot { margin: 24px 0; }

/* 旅先の通信（hq #365）：出発ロビーの「通信カウンター」。広告の表示を一番上に、安いほうの札に黄色の縁 */
.tsushin { position: relative; margin: 28px 0; padding: 18px 16px 16px; background: var(--pass); border: 2px solid var(--board); border-radius: 8px; }
.tsushin h2 { margin: 6px 0 8px; font-size: 1.2rem; line-height: 1.5; }
.ts-ad { display: inline-block; margin: 0; padding: 2px 10px; border-radius: 4px; background: var(--board); color: #fff; font-size: 0.875rem; font-weight: 800; letter-spacing: 0.1em; }
.ts-lead { margin: 0 0 12px; font-size: 0.97rem; }
.ts-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.ts-k { min-width: 3.2em; color: var(--muted); font-size: 0.94rem; font-weight: 700; }
.ts-verdict { margin: 14px 0 12px; padding: 12px 14px; border-radius: 6px; background: var(--board); color: #fff; font-size: 1rem; line-height: 1.6; }
.ts-verdict strong { color: var(--sign); }
.ts-cond { display: block; color: #c9d1de; font-size: 0.875rem; }
.ts-cards { display: grid; gap: 12px; }
.ts-card { padding: 14px; border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.ts-card.is-cheaper { border-color: var(--sign); box-shadow: 0 0 0 3px rgba(255, 201, 21, 0.35); }
.ts-card.is-cheaper .ts-name::after { content: "この条件で安い"; margin-left: 8px; padding: 1px 8px; border-radius: 3px; background: var(--sign); color: var(--sign-ink); font-size: 0.8rem; vertical-align: 2px; }
.ts-name { margin: 0; font-size: 1.05rem; font-weight: 800; }
.ts-name small { display: block; color: var(--muted); font-size: 0.875rem; font-weight: 700; }
.ts-total { margin: 6px 0 0; font-family: var(--mono); font-size: 2rem; font-weight: 800; line-height: 1.3; }
.ts-calc, .ts-per { margin: 0; color: var(--muted); font-size: 0.94rem; }
.ts-fit { margin: 10px 0 12px; padding: 0; list-style: none; font-size: 0.94rem; }
.ts-fit li { position: relative; padding-left: 1.5em; margin-bottom: 2px; }
.ts-fit .good::before { content: "○"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.ts-fit .bad::before { content: "△"; position: absolute; left: 0; color: var(--muted); font-weight: 800; }
.shop { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 6px; background: var(--sign); color: var(--sign-ink); font-weight: 800; text-align: center; text-decoration: none; }
.shop::after { content: "→"; margin-left: 8px; }
.ts-src { margin-top: 10px; font-size: 0.94rem; }
.ts-src ul { padding-left: 1.2em; }
.ts-stale { margin: 0; }
@media (min-width: 720px) { .ts-cards { grid-template-columns: 1fr 1fr; } }

@media (min-width: 720px) {
  .h1-b { font-size: 3.2rem; }
  .h1-b br { display: none; }
  .pass-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 0; padding-right: 0; }
  #calc { padding-right: 24px; }
  .out { margin: -14px 0 -18px; padding: 22px 22px; border-top: 0; border-left: 2px dashed var(--line); border-radius: 0 0 14px 0; align-content: start; }
  .out::before { left: -13px; top: -13px; }
  .out::after { left: -13px; right: auto; top: auto; bottom: -13px; }
  .air li { grid-template-columns: 1fr auto; padding: 10px 12px; }
}

/* 広い PC：左に見出し、右に搭乗券。左右を空けない（12/1 採点） */
@media (min-width: 1120px) {
  .site-main { max-width: 1200px; padding-inline: 40px; }
  .fv { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0 56px; align-items: center; min-height: calc(100vh - 120px); }
  .fv .h1-b { font-size: 3.6rem; }
  .fv .h1-b br { display: inline; }
  .fv .pass { margin: 0; }
  .site-main > .notice, .site-main > section:not(.pass) { max-width: 900px; margin-inline: auto; }
}

/* 動き：飛行機が自宅から機内へ飛ぶ・搭乗券が刷り出される・案内板の文字板がめくれる・判定の印が押される・ページの切り替え */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .fl-plane { animation: fly 1.4s 0.3s cubic-bezier(0.45, 0, 0.25, 1) both; }
  .gate-sign { animation: sign-on 0.9s steps(1) both; }
  .pass { animation: print 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .board.is-flap .badge { animation: flap 0.5s calc(var(--i, 0) * 60ms) steps(4) both; }
  .board.is-flap .nm { animation: type 0.45s calc(var(--i, 0) * 60ms) steps(6) both; }
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
  @keyframes fly { 0% { left: 0; transform: translateY(6px) rotate(-8deg); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(-10px) rotate(-4deg); } 100% { left: calc(100% - 26px); transform: none; } }
  @keyframes sign-on { 0% { opacity: 0; } 20% { opacity: 1; } 30% { opacity: 0.3; } 45% { opacity: 1; } }
  @keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-10px); } to { clip-path: inset(0 0 -40px 0); transform: none; } }
  @keyframes flap { 0% { transform: rotateX(90deg); background: #39425a; } 50% { transform: rotateX(-30deg); } 100% { transform: none; } }
  @keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}
