:root {
  --blue-950: #092967;
  --blue-800: #0d4da2;
  --blue-600: #1478d4;
  --sky-100: #e7f7ff;
  --sky-200: #c8eeff;
  --yellow-300: #ffd84c;
  --yellow-500: #ffbd1b;
  --green-600: #25a84a;
  --orange-600: #f05a28;
  --pink-500: #f2557f;
  --ink: #16213a;
  --muted: #526176;
  --line: #d6e5ef;
  --surface: #ffffff;
  --surface-soft: #f7fcff;
  --shadow: 0 18px 40px rgba(9, 41, 103, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    system-ui,
    sans-serif;
  line-height: 1.75;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.78) 620px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0 18px, rgba(255, 255, 255, 0) 18px 40px),
    linear-gradient(180deg, #20a8f2 0, #dff7ff 760px, #fff9df 100%);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(9, 41, 103, 0.14);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--blue-950);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}

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

.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--sky-100);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--orange-600);
}

.site-nav .nav-cta:hover {
  background: #d9481d;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 42px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 54px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.hero::before {
  top: 48px;
  right: 22%;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--yellow-300) 0 42%, transparent 43%),
    repeating-conic-gradient(from 0deg, rgba(255, 216, 76, 0.9) 0deg 10deg, transparent 10deg 18deg);
}

.hero::after {
  left: -36px;
  bottom: 40px;
  width: 230px;
  height: 74px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    70px -26px 0 8px rgba(255, 255, 255, 0.64),
    156px -8px 0 -4px rgba(255, 255, 255, 0.74);
}

.hero-copy {
  min-width: 0;
}

.hero-mobile-art {
  display: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-800);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
dl,
ol {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--blue-950);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.title-lead {
  display: block;
  color: var(--orange-600);
}

.title-line {
  display: block;
}

.title-line span {
  white-space: nowrap;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #1d3458;
  font-size: 20px;
  font-weight: 700;
}

.hero-actions,
.apply-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12);
}

.button.primary {
  color: #fff;
  border-color: #c73c1d;
  background: var(--orange-600);
}

.button.primary:hover {
  background: #d9481d;
}

.button.secondary {
  color: var(--blue-950);
  border-color: var(--blue-800);
  background: #fff;
}

.button.secondary:hover {
  background: var(--sky-100);
}

.button.line {
  color: #fff;
  border-color: #078c3d;
  background: #06c755;
}

.button.line:hover {
  background: #05ad4a;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.hero-facts div {
  min-width: 0;
  padding: 14px;
  border: 2px solid rgba(13, 77, 162, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-facts dt {
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  border: 4px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--blue-950);
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 42px;
  align-items: start;
  border-top: 4px solid rgba(255, 255, 255, 0.9);
}

.intro p:last-child {
  margin: 6px 0 0;
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: #213755;
  font-size: 18px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 28px 24px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(9, 41, 103, 0.12);
}

.feature-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border: 4px solid currentColor;
  border-radius: 50%;
  opacity: 0.18;
  content: "";
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.3;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.step-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  background: var(--card-accent);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.15);
}

.accent-orange {
  --card-accent: var(--orange-600);
  color: var(--orange-600);
  border-color: rgba(240, 90, 40, 0.32);
}

.accent-green {
  --card-accent: var(--green-600);
  color: var(--green-600);
  border-color: rgba(37, 168, 74, 0.32);
}

.accent-blue {
  --card-accent: var(--blue-600);
  color: var(--blue-600);
  border-color: rgba(20, 120, 212, 0.32);
}

.safety-band {
  width: 100%;
  padding: 76px max(16px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(90deg, rgba(255, 216, 76, 0.18), rgba(37, 168, 74, 0.12)),
    #fff;
}

.safety-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.safety-list article {
  min-height: 190px;
  padding: 26px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.safety-list h3 {
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 22px;
  line-height: 1.35;
}

.safety-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.timeline time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  background: var(--blue-800);
}

.timeline h3 {
  margin-bottom: 4px;
  color: var(--blue-950);
  font-size: 21px;
  line-height: 1.35;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.schedule-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.88);
}

.overview {
  width: 100%;
  padding-right: max(16px, calc((100% - 1120px) / 2));
  padding-left: max(16px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(180deg, #fffef7, #ffffff);
}

.overview-panel {
  border: 3px solid var(--blue-800);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.overview-panel dl {
  margin: 0;
}

.overview-panel div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.overview-panel div:last-child {
  border-bottom: 0;
}

.overview-panel dt,
.overview-panel dd {
  margin: 0;
  padding: 16px 18px;
}

.overview-panel dt {
  color: var(--blue-950);
  font-weight: 900;
  background: var(--sky-100);
}

.overview-panel dd {
  color: #263951;
  font-weight: 700;
}

.apply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
  padding-bottom: 90px;
}

.apply-copy,
.apply-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.apply-copy {
  padding: 34px;
  border: 3px solid var(--orange-600);
}

.apply-copy h2 {
  margin-bottom: 16px;
  color: var(--blue-950);
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

.apply-copy p {
  color: var(--muted);
  font-weight: 700;
}

.apply-copy .required-note {
  margin: 20px 0 24px;
  padding: 16px 18px;
  border: 2px solid rgba(240, 90, 40, 0.35);
  border-radius: 8px;
  color: var(--blue-950);
  font-weight: 900;
  background: #fff7dc;
}

.note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.apply-card {
  display: flex;
  align-items: center;
  padding: 28px;
  border: 3px solid var(--yellow-500);
}

.apply-card ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  counter-reset: apply-step;
  list-style: none;
}

.apply-card li {
  position: relative;
  min-height: 52px;
  padding-left: 66px;
  color: var(--blue-950);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.apply-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  background: var(--green-600);
  counter-increment: apply-step;
  content: counter(apply-step);
}

.faq {
  padding-top: 10px;
  padding-bottom: 86px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(9, 41, 103, 0.08);
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 18px 58px 18px 22px;
  color: var(--blue-950);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  background: var(--blue-800);
  content: "+";
  transform: translateY(-50%);
}

.faq-list details[open] summary {
  color: var(--orange-600);
  background: #fff7dc;
}

.faq-list details[open] summary::after {
  background: var(--orange-600);
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  padding: 24px 16px;
  color: #fff;
  text-align: center;
  background: var(--blue-950);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .intro,
  .apply {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-visual img {
    transform: none;
  }

  .hero-facts,
  .feature-grid,
  .safety-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .safety-list article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  body {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0.86) 520px),
      linear-gradient(180deg, #25aaf3 0, #e9f9ff 720px, #fff8de 100%);
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    gap: 10px;
    width: min(100% - 20px, 1120px);
    margin-top: 10px;
  }

  .brand span:last-child {
    font-size: 14px;
  }

  .nav-toggle {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    justify-self: end;
    width: 48px;
    height: 48px;
    border: 2px solid var(--blue-800);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--blue-950);
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 8px;
  }

  .site-nav a {
    display: grid;
    place-items: center start;
    min-height: 42px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    font-size: 14px;
    text-align: left;
    background: #fff;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-toggle:checked ~ .site-nav {
    display: grid;
  }

  .hero,
  .section {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    display: block;
    gap: 30px;
    padding-top: 22px;
    padding-bottom: 44px;
  }

  .hero-mobile-art {
    display: block;
    margin: 0 0 -2px;
    border: 4px solid #fff;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(9, 41, 103, 0.14);
  }

  .hero-mobile-art img {
    width: 100%;
    aspect-ratio: 1.72;
    object-fit: cover;
    object-position: 50% 50%;
  }

  .hero-copy {
    padding: 24px 20px 0;
    border: 4px solid #fff;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(9, 41, 103, 0.14);
  }

  .hero-visual {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(29px, 8vw, 33px);
    line-height: 1.14;
  }

  .title-line span {
    display: block;
  }

  .hero::before {
    display: none;
  }

  .lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions,
  .apply-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 50px 0;
  }

  .section-heading h2,
  .apply-copy h2 {
    font-size: 30px;
  }

  .intro p:last-child,
  .apply-copy,
  .apply-card {
    padding: 22px;
  }

  .timeline li,
  .overview-panel div {
    grid-template-columns: 1fr;
  }

  .timeline li {
    gap: 12px;
  }

  .timeline time {
    justify-content: flex-start;
  }

  .overview-panel dt,
  .overview-panel dd {
    padding: 12px 14px;
  }

  .overview-panel dt {
    padding-bottom: 6px;
  }

  .overview-panel dd {
    padding-top: 8px;
  }
}
