:root {
  color-scheme: light;
  --navy: #01418d;
  --blue: #0867c9;
  --sky: #76bbf4;
  --cloud: #a8d1f5;
  --orange: #c94000;
  --orange-bright: #fc5900;
  --ink: #10233b;
  --muted: #52657b;
  --page: #f4f7fb;
  --surface: #ffffff;
  --soft: #edf6fe;
  --line: #d7e5f1;
  --shadow: 0 22px 60px rgba(1, 65, 141, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% -5%, rgba(118, 187, 244, 0.24), transparent 30rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans", "Noto Sans JP", "Noto Sans KR", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
a:hover { color: var(--navy); }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(215, 229, 241, 0.88);
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner,
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 42px; height: 42px; object-fit: contain; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background: var(--soft); color: var(--navy); }

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.language-button {
  min-width: 40px;
  min-height: 36px;
  padding: 4px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1;
}
.language-button:hover { background: var(--page); }
.language-button[aria-pressed="true"] {
  background: var(--navy);
  box-shadow: 0 4px 12px rgba(1, 65, 141, 0.2);
}
.language-button:focus-visible,
.button:focus-visible,
.site-nav a:focus-visible,
.footer-link:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.hero { padding: clamp(62px, 9vw, 112px) 0 74px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 64px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 9px; background: var(--orange-bright); }

h1, h2, h3 { margin-top: 0; line-height: 1.18; letter-spacing: -0.035em; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(44px, 7vw, 76px); }
h2 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 46px); }
h3 { margin-bottom: 9px; font-size: 20px; }

.lead { max-width: 680px; margin: 0 0 30px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(1, 65, 141, 0.12); }
.button.primary { border-color: var(--navy); background: var(--navy); color: #fff; }
.button.accent { border-color: var(--orange-bright); background: var(--orange-bright); color: #fff; }
.button.disabled { cursor: default; opacity: 0.72; }
.button.disabled:hover { transform: none; box-shadow: none; }

.visual-wrap { position: relative; min-height: 490px; display: grid; place-items: center; }
.visual-orbit { position: absolute; width: 450px; height: 450px; border-radius: 50%; background: linear-gradient(150deg, #dcefff, #fff 62%); box-shadow: inset 0 0 0 1px rgba(118, 187, 244, 0.3); }
.visual-logo { position: absolute; z-index: 3; top: -10px; right: 3%; width: 128px; filter: drop-shadow(0 14px 24px rgba(1, 65, 141, 0.2)); }

.weather-panel {
  position: relative;
  z-index: 2;
  width: min(420px, 94%);
  padding: 24px;
  border: 1px solid rgba(215, 229, 241, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.weather-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.weather-place { font-weight: 850; font-size: 20px; }
.weather-date { color: var(--muted); font-size: 13px; }
.weather-temp { color: var(--navy); font-size: 44px; font-weight: 900; line-height: 1; }
.compare-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 24px; }
.day-card { padding: 16px 10px; border-radius: 18px; background: var(--page); text-align: center; }
.day-card.today { background: var(--soft); box-shadow: inset 0 0 0 1px var(--cloud); }
.day-label { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: 0.08em; }
.day-value { margin-top: 5px; font-size: 24px; font-weight: 900; }
.day-card.today .day-value { color: var(--blue); }
.day-card.tomorrow .day-value { color: var(--orange); }
.chart { height: 100px; margin-top: 20px; position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(to bottom, transparent 32%, var(--line) 33%, transparent 34%, transparent 65%, var(--line) 66%, transparent 67%); }
.chart::before {
  content: "";
  position: absolute;
  inset: 18px 8px 14px;
  background: linear-gradient(135deg, transparent 0 9%, var(--sky) 10% 12%, transparent 13% 23%, var(--blue) 24% 27%, transparent 28% 42%, var(--sky) 43% 46%, transparent 47% 60%, var(--orange-bright) 61% 64%, transparent 65% 78%, var(--orange) 79% 82%, transparent 83%);
  opacity: .92;
}

.section { padding: 86px 0; }
.section.soft { background: linear-gradient(180deg, rgba(237, 246, 254, 0.72), rgba(255,255,255,0.6)); border-block: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(1, 65, 141, 0.06);
}
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; background: var(--soft); font-size: 23px; }
.card p, .body-copy { margin: 0; color: var(--muted); }

.band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(130deg, var(--navy), #0867c9 70%, #2084df);
  color: #fff;
  box-shadow: var(--shadow);
}
.band h2 { margin-bottom: 8px; font-size: clamp(28px, 4vw, 40px); }
.band p { margin: 0; color: rgba(255,255,255,.8); }

.document-hero { padding: 68px 0 34px; }
.document-hero-inner {
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #fff 0%, var(--soft) 100%);
  box-shadow: 0 16px 42px rgba(1,65,141,.08);
}
.document-hero h1 { max-width: 850px; font-size: clamp(38px, 6vw, 62px); }
.document-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; padding: 28px 0 90px; }
.toc { position: sticky; top: 104px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.85); }
.toc strong { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--muted); font-size: 14px; text-decoration: none; }
.toc a:hover { background: var(--soft); color: var(--navy); }
.document { min-width: 0; }
.document-section { scroll-margin-top: 100px; margin-bottom: 18px; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.document-section h2 { font-size: clamp(24px, 3vw, 30px); }
.document-section h3 { margin-top: 24px; }
.document-section p:last-child, .document-section ul:last-child { margin-bottom: 0; }
.document-section li + li { margin-top: 9px; }
.callout { padding: 18px 20px; border-left: 4px solid var(--orange-bright); border-radius: 0 14px 14px 0; background: #fff5ef; color: #66301a; }
.detail-list { display: grid; gap: 14px; margin: 0; }
.detail-list > div { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--page); }
.detail-list dt { margin-bottom: 4px; font-weight: 850; }
.detail-list dd { margin: 0; color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.faq summary { padding: 20px 50px 20px 20px; cursor: pointer; font-weight: 800; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 15px; color: var(--blue); font-size: 26px; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.site-footer { padding: 36px 0 42px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; align-items: center; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 850; }
.footer-brand img { width: 34px; height: 34px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-left: auto; }
.footer-link { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.copyright { color: var(--muted); font-size: 13px; }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 760px; }
  .visual-wrap { min-height: 430px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .document-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .toc strong { width: 100%; }
}

@media (max-width: 700px) {
  .header-inner, .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; justify-content: center; }
  .language-switcher { margin-left: auto; }
  .site-nav a { white-space: nowrap; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero { padding-top: 54px; }
  .visual-wrap { min-height: 370px; }
  .visual-orbit { width: 340px; height: 340px; }
  .visual-logo { width: 92px; right: 1%; }
  .weather-panel { padding: 18px; border-radius: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { margin-left: 0; }
  .document-hero { padding-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
