:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  --bg: #f3f8fa;
  --bg-sky: #eaf5fb;
  --surface: #ffffff;
  --surface-soft: #f2f7f7;
  --surface-sky: #f2f9fd;
  --ink: #15232d;
  --muted: #647781;
  --line: #d8e5e9;
  --brand: #155e56;
  --brand-dark: #0f4b45;
  --brand-soft: #e7f3f0;
  --sky: #4c9fc2;
  --sky-dark: #287895;
  --sky-soft: #e4f4fb;
  --purchase: #f26b38;
  --purchase-dark: #d95728;
  --warning: #805b0f;
  --warning-soft: #fff8e6;
  --radius: 18px;
  --radius-small: 12px;
  --shadow: 0 14px 36px rgba(30, 70, 88, 0.08);
  --shadow-hover: 0 20px 44px rgba(30, 70, 88, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 3%, rgba(76,159,194,.12), transparent 25rem),
    linear-gradient(180deg, #f9fcfd 0, var(--bg) 28rem, #f6f9f8 100%);
  color: var(--ink);
}
a { color: inherit; }
button, select { font: inherit; }
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216,229,233,.88);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
}
.header-inner, .main-inner, .footer-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { position: relative; text-decoration: none; font-weight: 900; letter-spacing: -.035em; }
.brand span { color: var(--brand); }
.brand::after { content: ""; display: inline-block; width: 26px; height: 1px; margin-left: 9px; vertical-align: middle; background: linear-gradient(90deg, var(--sky), transparent); }
.main-nav a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 12px; border-radius: 999px; color: var(--brand-dark); text-decoration: none; font-size: .88rem; font-weight: 800; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--brand-soft); }

main { padding: 34px 0 68px; }
.eyebrow { margin: 0 0 10px; color: var(--sky-dark); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; letter-spacing: -.035em; }
h1 { margin-bottom: 14px; font-size: clamp(2.15rem, 9vw, 4.35rem); line-height: 1.04; }
h2 { margin-bottom: 16px; font-size: clamp(1.35rem, 5vw, 2rem); }
p { line-height: 1.75; }
.small { font-size: .86rem; }
.muted { color: var(--muted); }
.section { margin-top: 42px; }
.hero-simple { position: relative; max-width: 850px; padding: 30px 0 38px; }
.hero-simple::after { content: ""; position: absolute; left: 0; bottom: 18px; width: min(420px, 70vw); height: 1px; background: linear-gradient(90deg, var(--sky), rgba(76,159,194,0)); }
.hero-simple h1 { max-width: 820px; }
.compact-copy { max-width: 720px; }
.compact-copy p { margin: 0; color: var(--muted); }

.airline-picker { padding: 0; scroll-margin-top: 82px; }
.airline-picker h2 { margin-bottom: 18px; font-size: 1.15rem; }
.airline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 34px; margin-bottom: 8px; }
.airline-card { position: relative; display: block; min-height: 104px; overflow: visible; border: 0; border-radius: 0; background: linear-gradient(135deg, #fff 0%, #fff 62%, #e9f5f8 100%); box-shadow: 0 12px 28px rgba(31,77,94,.09); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.airline-card-copy { position: relative; z-index: 2; display: flex; min-height: 104px; flex-direction: column; justify-content: center; padding: 18px 92px 18px 17px; }
.airline-card-copy strong { color: var(--brand-dark); font-size: 1rem; line-height: 1.25; }
.airline-card-copy small { margin-top: 5px; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.airline-card-mark { position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 92px; text-align: center; color: var(--sky-dark); font-size: clamp(1.8rem, 7vw, 3rem); font-weight: 950; letter-spacing: -.08em; opacity: .14; white-space: nowrap; }
.airline-card::after { content: ""; position: absolute; right: 68px; top: 16px; bottom: 16px; width: 1px; background: rgba(40,120,149,.13); }
.airline-card::before { content: "→"; position: absolute; right: 12px; bottom: -27px; z-index: 4; color: var(--sky-dark); font-size: 1.3rem; font-weight: 950; line-height: 1; opacity: 0; transform: translateX(-16px); transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1); }
.airline-card:hover, .airline-card:focus-visible { transform: translateY(-5px); background: linear-gradient(135deg, #fff 0%, #fff 55%, #def1f7 100%); box-shadow: var(--shadow-hover); outline: none; }
.airline-card:hover::before, .airline-card:focus-visible::before { opacity: 1; transform: translateX(0); }
.airline-card:focus-visible { box-shadow: var(--shadow-hover), 0 0 0 3px rgba(76,159,194,.18); }

.notice, .product-card, .airline-summary, .legal-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.notice { padding: 14px 16px; }
.notice.warning { border-color: #eadba9; background: var(--warning-soft); color: var(--warning); }
.notice strong { color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 13px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 900; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.button.secondary { background: #fff; border-color: #bfd3d8; color: var(--brand-dark); }
.button.secondary:hover { background: var(--surface-sky); }
.button.purchase { background: var(--purchase); }
.button.purchase:hover { background: var(--purchase-dark); }
.button.disabled { opacity: .48; pointer-events: none; }

.breadcrumbs { margin-bottom: 18px; color: var(--muted); font-size: .84rem; }
.breadcrumbs a { color: var(--sky-dark); text-decoration: none; }
.airline-summary { position: relative; overflow: hidden; padding: 20px; box-shadow: var(--shadow); }
.airline-summary::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: linear-gradient(180deg, var(--sky), var(--brand)); }
.airline-summary-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.airline-name { display: flex; gap: 12px; align-items: center; }
.airline-code { display: grid; min-width: 54px; height: 46px; padding: 0 10px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--sky-soft), var(--brand-soft)); color: var(--brand-dark); font-weight: 900; font-size: .82rem; }
.airline-name h2 { margin: 0; font-size: 1.15rem; }
.airline-name p { margin: 3px 0 0; color: var(--muted); font-size: .84rem; }
.airline-facts { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed #cddde1; }
.airline-fact { display: flex; flex-direction: column; gap: 3px; }
.airline-fact span, .airline-detail-source span { color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .02em; }
.airline-fact strong { font-size: .9rem; }
.airline-source { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.airline-source a { color: var(--sky-dark); font-size: .82rem; font-weight: 850; }
.airline-source span { color: var(--muted); font-size: .76rem; }
.airline-note { margin: 12px 0 0; color: #5c6770; font-size: .8rem; line-height: 1.65; }

.results-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; justify-content: space-between; margin: 30px 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 7px 24px rgba(31,77,94,.05); }
.results-bar strong { display: block; font-size: 1rem; }
.sort-control { display: flex; min-width: min(100%, 260px); flex-direction: column; gap: 5px; color: var(--muted); font-size: .72rem; font-weight: 850; }
.select-wrap { position: relative; display: block; }
.select-wrap::after { content: "⌄"; position: absolute; right: 14px; top: 50%; transform: translateY(-55%); color: var(--sky-dark); font-size: 1rem; font-weight: 900; pointer-events: none; }
.sort-select { width: 100%; min-height: 44px; appearance: none; border: 1px solid #c7dbe1; border-radius: 12px; padding: 0 40px 0 14px; background: linear-gradient(180deg,#fff,var(--surface-sky)); color: var(--ink); font-weight: 800; outline: none; box-shadow: 0 2px 0 rgba(31,77,94,.03); }
.sort-select:hover { border-color: #9fc3d0; }
.sort-select:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(76,159,194,.15); }

.product-grid, .spec-grid { display: grid; gap: 16px; }
.product-card { position: relative; overflow: hidden; box-shadow: 0 8px 24px rgba(30,70,88,.06); transition: transform .18s ease, box-shadow .18s ease; }
.product-card::before { content: "CABIN BAG"; position: absolute; top: 12px; left: 12px; z-index: 3; padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--sky-dark); font-size: .62rem; font-weight: 900; letter-spacing: .08em; backdrop-filter: blur(8px); }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-media { display: grid; min-height: 210px; place-items: center; background: linear-gradient(145deg, #eaf5f7, #fbfdfd); color: #7b8a8f; text-align: center; font-size: .85rem; }
.product-body { padding: 18px; border-top: 1px solid #edf3f4; }
.product-title { margin: 0 0 6px; font-size: 1.1rem; line-height: 1.45; }
.price-label { display: block; margin-top: 10px; color: var(--sky-dark); font-size: .68rem; font-weight: 900; letter-spacing: .04em; }
.price { margin: 2px 0 0; font-size: 1.3rem; font-weight: 950; letter-spacing: -.02em; }
.spec-line { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.product-card .button { width: 100%; margin-top: 14px; }
.decision-metrics { display: grid; gap: 8px; margin-top: 14px; }
.decision-metric { padding: 11px 12px; border-radius: 13px; background: linear-gradient(135deg, var(--surface-soft), var(--surface-sky)); }
.decision-metric span { display: block; color: #55666d; font-size: .73rem; font-weight: 800; }
.decision-metric strong { display: block; margin-top: 2px; color: var(--brand-dark); font-size: 1rem; }
.decision-metric small { display: block; margin-top: 2px; color: var(--muted); font-size: .69rem; line-height: 1.45; }
.comparison-scope { margin: 18px 0 0; line-height: 1.7; }

.compatibility-details { padding: 0; overflow: hidden; }
.compatibility-details summary { position: relative; list-style: none; cursor: pointer; }
.compatibility-details summary::-webkit-details-marker { display: none; }
.compatibility-details summary::after { content: "+"; position: absolute; right: 12px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); border-radius: 999px; background: rgba(21,94,86,.09); color: var(--brand-dark); text-align: center; line-height: 21px; font-size: 1rem; font-weight: 900; }
.compatibility-details[open] summary::after { content: "−"; }
.compatibility-details summary:focus-visible { outline: 3px solid rgba(76,159,194,.15); outline-offset: -3px; }
.decision-metric.compatibility-details summary { padding: 11px 40px 11px 12px; }
.compatible-airline-list { padding: 11px 12px 12px; border-top: 1px solid #d7e3e0; background: #fff; }
.compatible-airline-list span { display: block; color: #55666d; font-size: .72rem; font-weight: 850; }
.compatible-airline-list p { margin: 6px 0 0; color: #405159; font-size: .78rem; line-height: 1.65; }

.detail-layout { display: grid; gap: 24px; }
.detail-media { min-height: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #eaf5f7, #fbfdfd); display: grid; place-items: center; color: #7b8a8f; text-align: center; box-shadow: var(--shadow); }
.detail-summary { min-width: 0; }
.detail-summary .price { font-size: 1.62rem; }
.decision-panel { display: grid; gap: 10px; margin-top: 18px; }
.decision-primary, .decision-secondary { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.decision-primary { border-color: #bdd6d1; background: linear-gradient(135deg, var(--brand-soft), #f3f9f7); }
.decision-primary > span, .decision-secondary summary > span { display: block; color: #526369; font-size: .76rem; font-weight: 850; }
.decision-primary > strong, .decision-secondary summary > strong { display: block; margin-top: 4px; color: var(--brand-dark); font-size: 1.3rem; }
.decision-primary p { margin: 7px 0 0; color: #526369; font-size: .76rem; line-height: 1.6; }
.decision-secondary.compatibility-details { padding: 0; }
.decision-secondary.compatibility-details summary { min-height: 100%; padding: 16px 44px 16px 16px; }
.decision-secondary.compatibility-details summary > small { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.decision-secondary .compatible-airline-list { padding: 12px 16px 15px; }
.airline-detail-source { position: relative; margin-top: 10px; padding: 15px 16px 15px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.airline-detail-source::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 99px; background: var(--sky); }
.airline-detail-source > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.airline-detail-source strong { font-size: .9rem; }
.airline-detail-source small { color: var(--muted); font-size: .78rem; }
.airline-detail-source .airline-source { margin-top: 10px; }
.direct-warning { margin-top: 12px; }

.purchase-box { margin-top: 18px; padding: 18px; border: 1px solid #efd8ce; border-radius: 18px; background: linear-gradient(135deg, #fffaf7, #fff); box-shadow: 0 9px 28px rgba(116,69,48,.05); }
.purchase-box > p:first-child { margin: 0 0 12px; color: #6c5147; font-size: .88rem; }
.store-offers { display: grid; gap: 9px; }
.store-offer { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px 10px 10px 14px; border: 1px solid #eadfd9; border-radius: 14px; background: #fff; }
.store-offer-copy { min-width: 0; }
.store-offer-name { display: block; font-size: .84rem; font-weight: 900; }
.store-offer-price { display: block; margin-top: 2px; color: var(--muted); font-size: .76rem; font-weight: 800; }
.store-offer .button { min-width: 142px; min-height: 44px; padding: 0 14px; font-size: .83rem; }
.store-offer.is-best { border-color: #f0c5b3; background: #fff9f6; }
.store-offer.is-best .store-offer-price { color: var(--purchase-dark); }
.purchase-fallback { display: inline-flex; margin-top: 12px; color: var(--sky-dark); font-size: .8rem; font-weight: 800; }

.spec-grid { margin-top: 18px; grid-template-columns: repeat(2, 1fr); }
.spec-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.spec-card span { display: block; color: var(--muted); font-size: .76rem; font-weight: 800; }
.spec-card strong { display: block; margin-top: 5px; font-size: 1rem; }

.legal-card { max-width: 820px; padding: 22px; box-shadow: var(--shadow); }
.legal-card h2 { margin-top: 34px; font-size: 1.25rem; }
.legal-card p, .legal-card li { color: #43535a; line-height: 1.8; }
.site-footer { margin-top: 42px; border-top: 1px solid var(--line); background: rgba(255,255,255,.82); }
.footer-inner { padding: 26px 0 38px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.footer-links a { color: var(--muted); font-size: .84rem; }

@media (min-width: 700px) {
  main { padding-top: 52px; }
  .airline-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .airline-facts { grid-template-columns: 1.3fr .7fr 1fr; align-items: start; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .detail-layout { grid-template-columns: .95fr 1.05fr; align-items: start; }
  .decision-panel { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(4,1fr); }
}
@media (min-width: 980px) {
  .airline-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 540px) {
  .header-inner { min-height: 58px; }
  .main-nav a { padding: 0 8px; font-size: .82rem; }
  .button { width: 100%; }
  .actions { width: 100%; }
  .airline-card { min-height: 98px; }
  .airline-card-copy { min-height: 98px; padding-left: 14px; padding-right: 78px; }
  .airline-card-copy strong { font-size: .91rem; }
  .airline-card-copy small { font-size: .67rem; }
  .airline-card-mark { width: 76px; font-size: 1.8rem; }
  .airline-card::after { right: 58px; }
  .airline-card::before { right: 8px; bottom: -24px; }
  .results-bar { align-items: stretch; }
  .sort-control { width: 100%; }
  .store-offer { grid-template-columns: 1fr; }
  .store-offer .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .airline-card, .airline-card::before, .button, .product-card { transition: none; }
}
