:root {
  color-scheme: light;
  --ink: #17212b;
  --ink-soft: #344351;
  --muted: #657480;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --navy: #102b3b;
  --navy-2: #173f50;
  --gold: #b58a3b;
  --gold-pale: #f1e4c8;
  --line: #dcd6cc;
  --shadow: 0 18px 54px rgba(20, 40, 52, .11);
  --radius: 22px;
  font-family: Inter, "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.9; }
a { color: #0e5972; text-underline-offset: .18em; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 100; padding: 10px 16px; color: white; background: var(--navy); }
.skip:focus { top: 12px; }

.sitebar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(16,43,59,.96); color: white; backdrop-filter: blur(14px); }
.sitebar-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: grid; line-height: 1.05; }
.brand strong { font-family: "Yu Mincho", serif; font-size: 1.12rem; letter-spacing: .08em; }
.brand span { margin-top: 5px; color: #e0c58b; font-size: .62rem; letter-spacing: .2em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: .83rem; }
.site-nav a { color: #eaf1f3; font-weight: 700; text-decoration: none; }

.hero { position: relative; min-height: min(78vh, 840px); overflow: hidden; background: var(--navy); color: white; }
.hero-media { width: 100%; min-height: inherit; display: grid; place-items: center; background: var(--navy); }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 70px 0 58px; background: linear-gradient(180deg, transparent 34%, rgba(8,29,41,.18) 52%, rgba(8,29,41,.96) 100%); pointer-events: none; }
.hero-copy-block { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 12px; color: #e8ca8e; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; letter-spacing: .015em; }
h1 { margin: 0; max-width: 780px; overflow-wrap: anywhere; font-size: clamp(2.2rem, 5.2vw, 4.7rem); line-height: 1.16; }
.hero-lead { max-width: 690px; margin: 20px 0 0; color: #dbe7ea; font-size: 1.02rem; }
.hero-photo { position: relative; width: 100%; min-height: inherit; margin: 0; background: #0a202d; }
.hero-photo img { width: 100%; height: min(78vh, 840px); object-fit: contain; object-position: center; }
.hero-photo figcaption { position: absolute; top: 18px; right: 22px; max-width: min(430px, calc(100% - 44px)); padding: 8px 12px; border-radius: 10px; color: #e8f0f2; background: rgba(7,22,31,.72); font-size: .72rem; line-height: 1.5; }

.factbar { margin-top: -1px; padding: 22px 0; border-bottom: 1px solid var(--line); background: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact { min-height: 96px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fbfaf7; }
.fact dt { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.fact dd { margin: 4px 0 0; color: var(--navy); font-family: "Yu Mincho", serif; font-size: 1.18rem; font-weight: 800; line-height: 1.35; }

.main-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); justify-content: center; gap: 54px; padding: 54px 0 90px; }
.toc { position: sticky; top: 92px; align-self: start; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.76); }
.toc strong { display: block; margin-bottom: 9px; color: var(--navy); font-size: .78rem; letter-spacing: .1em; }
.toc ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.toc a { display: block; color: var(--ink-soft); font-size: .78rem; line-height: 1.45; text-decoration: none; }
.toc a:hover { color: #0e5972; }

.story { min-width: 0; }
.story > p:first-of-type { color: var(--ink-soft); font-size: 1.12rem; line-height: 2; }
.story h2 { scroll-margin-top: 92px; margin: 76px 0 22px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.45; }
.story h3 { scroll-margin-top: 92px; margin: 42px 0 14px; color: #24495a; font-size: 1.25rem; line-height: 1.55; }
.story h4 { scroll-margin-top: 92px; margin: 30px 0 10px; color: #355867; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.04rem; line-height: 1.6; }
.story p { margin: 0 0 1.35em; }
.story ul, .story ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.story li + li { margin-top: .55em; }
.story table { width: 100%; margin: 24px 0 34px; border-spacing: 0; border-collapse: separate; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 30px rgba(20,40,52,.05); font-size: .9rem; }
.story th, .story td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.story th { color: var(--navy); background: #edf2f1; font-weight: 800; }
.story tr:last-child td { border-bottom: 0; }

.review-rating-cards { margin: 34px 0 42px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 30px rgba(20,40,52,.05); }
.story .review-rating-cards h3 { margin: 0 0 8px; color: var(--navy); }
.review-rating-cards__caption { margin: 0 0 18px; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.rating-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.rating-grid[data-rating-count="1"] { grid-template-columns: minmax(0, 360px); }
.review-rating-cards .rating { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fbfaf7; }
.review-rating-cards .label { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.review-rating-cards .score { margin-top: 4px; color: var(--navy); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 2rem; font-weight: 800; line-height: 1.2; }
.review-rating-cards .score small { margin-left: 3px; font-size: .8rem; }
.review-rating-cards .rating-stars { margin-top: 6px; color: var(--gold); font-size: 1.05rem; letter-spacing: .08em; white-space: nowrap; }
.review-rating-cards .rating-note { margin: 10px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }

.photo { margin: 34px 0; overflow: hidden; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.photo img { width: 100%; height: auto; }
.photo figcaption { padding: 13px 17px 16px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 34px 0; }
.photo-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.photo-grid .photo { margin: 0; }
.photo-grid .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo-portrait { max-width: 620px; margin-inline: auto; }
.photo-portrait img { max-height: 760px; object-fit: contain; background: #eee9e1; }
.photo-rotate-cw .photo-open { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eee9e1; }
.photo-rotate-cw img { width: 100%; height: 100%; max-height: none; transform: rotate(90deg) scale(1.334); }

.menu-archive { margin-top: 74px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.menu-archive summary { cursor: pointer; padding: 20px 24px; color: var(--navy); font-family: "Yu Mincho", serif; font-size: 1.2rem; font-weight: 800; }
.menu-body { padding: 0 24px 28px; }
.menu-body h3 { margin-top: 34px; }
.menu-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 30px 0 36px; }
.menu-detail-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 30px rgba(20,40,52,.05); }
.story .menu-detail-card h4 { margin: 0 0 12px; color: var(--navy); }
.story .menu-detail-card ul { margin-bottom: 0; padding-left: 1.2em; }
.story .menu-detail-card p { margin: 14px 0 0; color: var(--ink-soft); font-size: .92rem; }
.menu-detail-card--wide { grid-column: 1 / -1; }
.brand-list { columns: 2; column-gap: 34px; }
.brand-list li { break-inside: avoid; }
.rating-unscored { font-size: 1.25rem !important; line-height: 1.5 !important; }
.scope-note { margin: 48px 0 0; padding: 18px 20px; border-left: 4px solid var(--gold); background: var(--gold-pale); color: #5a4827; font-size: .86rem; }
.footer { padding: 30px 0 48px; border-top: 1px solid var(--line); color: var(--muted); background: #f0ece4; font-size: .78rem; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { min-height: 0; }
  .hero-media { min-height: 0; }
  .hero-photo { min-height: 0; }
  .hero-photo img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
  .hero-overlay { position: static; padding: 30px 0 34px; background: var(--navy); }
  .hero-photo figcaption { top: auto; bottom: 10px; right: 12px; max-width: calc(100% - 24px); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .main-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 30px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rating-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .menu-detail-grid { grid-template-columns: 1fr; }
  .menu-detail-card--wide { grid-column: auto; }
  .brand-list { columns: 1; }
}

@media (max-width: 600px) {
  .wrap { width: min(calc(100% - 28px), 1160px); }
  .sitebar-inner { min-height: 58px; }
  .site-nav { display: none; }
  .hero { padding: 36px 0 26px; }
  h1 { font-size: clamp(2rem, 10vw, 2.75rem); line-height: 1.22; }
  .eyebrow { overflow-wrap: anywhere; font-size: .66rem; letter-spacing: .13em; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { min-height: 88px; padding: 14px; }
  .fact dd { font-size: 1rem; }
  .toc ol { grid-template-columns: 1fr; }
  .story h2 { margin-top: 58px; }
  .story table { display: block; overflow-x: auto; white-space: normal; }
  .story th, .story td { min-width: 130px; padding: 11px 12px; }
  .photo-grid, .photo-grid.three { grid-template-columns: 1fr; }
  .review-rating-cards { padding: 18px; }
  .rating-grid { grid-template-columns: 1fr 1fr; }
  .rating-grid[data-rating-count="1"] { grid-template-columns: 1fr; }
  .menu-archive summary { padding: 17px 18px; }
  .menu-body { padding: 0 18px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Confirmed two-category flight ratings. */
.review-rating-cards .rating-grid[data-rating-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .review-rating-cards .rating-grid[data-rating-count="2"] { grid-template-columns: 1fr; }
}
