:root {
  --ink: #10243a;
  --muted: #50677e;
  --blue: #0969d7;
  --blue-dark: #0754aa;
  --teal: #008ea8;
  --pale: #eef7ff;
  --panel: #ffffff;
  --line: rgba(9, 105, 215, 0.16);
  --shadow: 0 18px 45px rgba(16, 52, 86, 0.11);
  --shadow-soft: 0 8px 24px rgba(16, 52, 86, 0.08);
  --radius: 22px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(9, 105, 215, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(0, 142, 168, 0.09), transparent 30rem),
    linear-gradient(180deg, #eff8ff 0, #fff 34rem, #f7fbff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(9, 105, 215, 0.45);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-link {
  display: flex;
  min-width: 290px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 86px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-size: clamp(17px, 1.65vw, 23px);
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav a,
.nav-status {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 9px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--pale);
}

.nav-status {
  margin-left: 3px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  cursor: default;
}

.nav-status span {
  margin-left: 6px;
  padding: 2px 6px;
  color: var(--blue-dark);
  background: #fff;
  border-radius: 999px;
  font-size: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

.hero-photo {
  position: relative;
  min-height: clamp(240px, 39vw, 510px);
  overflow: hidden;
  background: #b7d8ed;
}

.hero-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 34, 64, 0.02), rgba(5, 34, 64, 0.34));
  content: "";
}

.hero {
  position: relative;
  margin-top: clamp(-82px, -8vw, -46px);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.notice-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 4vw, 54px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-lead,
.page-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 25px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 10px 22px rgba(9, 105, 215, 0.22);
}

.btn-secondary {
  color: var(--blue-dark);
  background: #fff;
  border-color: var(--line);
}

.notice-card {
  padding: 28px;
}

.notice-card h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.notice-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.notice-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.badge {
  display: inline-block;
  margin-right: 7px;
  padding: 2px 8px;
  color: var(--blue-dark);
  background: var(--pale);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.section-compact {
  padding-top: 24px;
}

.section-tint {
  background: linear-gradient(135deg, rgba(9, 105, 215, 0.06), rgba(0, 142, 168, 0.05));
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.section-head h2,
.content h2 {
  margin: 0;
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.3;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.grid + .card {
  margin-top: 18px;
}

.card {
  padding: clamp(23px, 3vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card h2,
.card h3,
.card h4 {
  margin-top: 0;
  line-height: 1.4;
}

.card h3 { font-size: 21px; }
.card p:last-child,
.card ul:last-child,
.card ol:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }

.kicker {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.link-arrow {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.link-arrow::after {
  margin-left: 7px;
  content: "→";
}

.list {
  padding-left: 1.35em;
}

.list li + li {
  margin-top: 7px;
}

.page-intro {
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    linear-gradient(120deg, rgba(9, 105, 215, 0.11), rgba(0, 142, 168, 0.05)),
    #f8fcff;
  border-bottom: 1px solid var(--line);
}

.page-intro-inner {
  max-width: 900px;
}

.page-intro h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.content {
  max-width: 900px;
}

.content-wide {
  max-width: none;
}

.prose h2 {
  margin-top: 2.3em;
  font-size: 26px;
}

.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; }
.prose p,
.prose li { color: #314a62; }

.callout {
  padding: 20px 22px;
  color: #24506e;
  background: var(--pale);
  border-left: 4px solid var(--blue);
  border-radius: 13px;
}

.status-panel {
  display: grid;
  gap: 12px;
  place-items: start;
}

.status-label {
  display: inline-flex;
  padding: 4px 10px;
  color: #76550b;
  background: #fff4cf;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.site-footer {
  padding: 52px 0 22px;
  color: #dcecff;
  background: #102c46;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.footer-grid p {
  margin: 6px 0 0;
  color: #9fbad2;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

.footer-nav a {
  color: #dcecff;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  color: #8faac3;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

@media (max-width: 1080px) {
  .brand-link { min-width: auto; }
  .brand-name { font-size: 17px; }
  .nav a,
  .nav-status { padding-inline: 7px; font-size: 12px; }
}

@media (max-width: 960px) {
  .header-inner { min-height: 72px; }
  .brand-logo { width: 74px; height: 38px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    max-height: calc(100vh - 92px);
    overflow: auto;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: grid; }
  .nav a,
  .nav-status { justify-content: space-between; padding: 11px 13px; font-size: 15px; }
  .nav-status { margin: 4px 0 0; }
  .hero-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { width: min(100% - 28px, var(--container)); }
  .brand-name { font-size: 14px; }
  .brand-logo { width: 62px; }
  .hero-photo { min-height: 220px; }
  .hero { margin-top: -46px; }
  .hero-copy,
  .notice-card { border-radius: 18px; }
  .hero-copy { padding: 27px 22px; }
  .hero h1 { font-size: 35px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .section-head,
  .footer-grid { display: grid; }
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

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