:root {
  color-scheme: light;
  --navy: #123c69;
  --navy-deep: #0a294d;
  --teal: #087f8c;
  --coral: #e75a4c;
  --gold: #f1b94a;
  --ink: #18212c;
  --muted: #566476;
  --line: #d9e2ec;
  --surface: #ffffff;
  --tint: #f2f7fb;
  --shadow: 0 14px 36px rgba(10, 41, 77, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #075d83;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 16px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: relative;
  z-index: 10;
  color: #fff;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  color: #fff;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.35;
}

.brand strong {
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}

.brand small {
  margin-top: 2px;
  color: #c8d9ec;
  font-size: 0.74rem;
}

.word-cards {
  position: relative;
  width: 44px;
  height: 40px;
  flex: 0 0 auto;
}

.word-cards span {
  position: absolute;
  width: 33px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: var(--teal);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
}

.word-cards span:nth-child(1) {
  top: 1px;
  left: 1px;
  transform: rotate(-9deg);
}

.word-cards span:nth-child(2) {
  top: 8px;
  left: 7px;
  transform: rotate(4deg);
  background: var(--coral);
}

.word-cards span:nth-child(3) {
  top: 14px;
  left: 11px;
  background: var(--gold);
}

.word-cards span:nth-child(3)::after {
  content: "Aa";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 800;
}

.header-inner nav,
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.header-inner nav a,
.footer-inner nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #f4f8fc;
  font-size: 0.92rem;
}

.hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(241, 185, 74, 0.23), transparent 28%),
    radial-gradient(circle at 4% 80%, rgba(8, 127, 140, 0.45), transparent 35%),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  min-height: 550px;
  padding-block: 72px;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero .eyebrow {
  color: #78d4dc;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.35;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 3.85rem);
  letter-spacing: -0.025em;
}

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

h2 {
  margin: 0 0 28px;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
}

h3 {
  margin: 14px 0 8px;
  font-size: 1.16rem;
}

.lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: #e1ebf5;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: #087786;
  box-shadow: 0 8px 20px rgba(8, 127, 140, 0.28);
}

.button-primary:hover {
  background: #066773;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.hero-card {
  padding: 30px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-card-title {
  margin: 0 0 16px;
  color: var(--navy-deep);
  font-size: 1.18rem;
  font-weight: 800;
}

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

.feature-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 8px;
}

.feature-list span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--teal);
  font-weight: 900;
  line-height: 1;
}

.section {
  padding-block: clamp(64px, 9vw, 104px);
  scroll-margin-top: 20px;
}

.section-tint {
  background: var(--tint);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(10, 41, 77, 0.07);
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.info-icon {
  display: inline-grid;
  min-width: 48px;
  height: 48px;
  padding-inline: 8px;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: var(--navy);
  font-weight: 900;
  line-height: 1;
}

.prose-container {
  max-width: 900px;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

summary {
  min-height: 58px;
  padding: 16px 54px 16px 20px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--teal);
  font-size: 1.5rem;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: var(--tint);
}

.contact-panel h2 {
  margin-bottom: 12px;
}

.contact-panel p {
  margin: 0;
}

.contact-panel .note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.email-text {
  white-space: nowrap;
}

.contact-button {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(0.78rem, 3.5vw, 0.95rem);
  letter-spacing: -0.01em;
}

.site-footer {
  padding-block: 42px;
  color: #e7eff7;
  background: var(--navy-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 24px 40px;
  align-items: start;
}

.footer-inner p {
  margin: 4px 0 0;
  color: #c8d9ec;
  font-size: 0.9rem;
}

.footer-inner .copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.document-main {
  background: var(--tint);
}

.document {
  max-width: 900px;
  padding-top: 50px;
  padding-bottom: 80px;
}

.breadcrumb {
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 0.9rem;
}

.document > h1 {
  color: var(--navy-deep);
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.document-date {
  margin: 12px 0 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.document > section {
  margin-top: 34px;
  padding: 26px clamp(20px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.document section h2 {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font-size: 1.3rem;
}

.document section p:last-child,
.document section ul:last-child {
  margin-bottom: 0;
}

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

.contact-list {
  margin: 0;
}

.notice-list {
  margin: 0 0 22px;
}

.notice-list div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 12px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}

.notice-list dt {
  font-weight: 750;
}

.notice-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-list div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 12px;
  padding-block: 8px;
}

.contact-list dt {
  font-weight: 750;
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 780px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-block: 14px;
  }

  .header-inner nav {
    width: 100%;
    gap: 4px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-inner,
  .support-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-block: 58px;
  }

  .hero-card {
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner .copyright {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner nav a {
    font-size: 0.85rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .actions,
  .actions .button,
  .contact-button {
    width: 100%;
  }

  .section {
    padding-block: 58px;
  }

  .info-card {
    padding: 22px;
  }

  .contact-panel {
    padding: 24px 20px;
  }

  .contact-button {
    padding-inline: 12px;
    white-space: nowrap;
  }

  .document {
    padding-top: 34px;
    padding-bottom: 58px;
  }

  .document > section {
    padding: 22px 18px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .notice-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 340px) {
  h1 {
    font-size: 1.95rem;
  }

  .title-line {
    white-space: normal;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  body,
  .document-main {
    color: #000;
    background: #fff;
  }

  .document > section {
    break-inside: avoid;
    border-color: #bbb;
  }
}
