:root {
      --bg: #f4f7fb;
      --surface: #ffffff;
      --line: #d5deef;
      --text: #16223a;
      --muted: #53617a;
      --deep: #0f2342;
      --primary: #1f5fd6;
      --primary-strong: #184cb0;
      --radius: 15px;
      --container: 1080px;
      --shadow: 0 12px 28px rgba(13, 31, 61, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      color: var(--text);
      background:
        radial-gradient(860px 340px at -5% -10%, #dce7ff 0%, rgba(220, 231, 255, 0) 72%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
      font-family: "Noto Sans JP", "Inter", sans-serif;
      font-weight: 600;
      line-height: 1.78;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-underline-offset: 3px;
    }

    :focus-visible {
      outline: 3px solid rgba(31, 95, 214, 0.36);
      outline-offset: 2px;
      border-radius: 8px;
    }

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

    .topbar {
      position: sticky;
      top: 0;
      z-index: 300;
      background: linear-gradient(135deg, var(--deep) 0%, #0c1a30 100%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 10px 24px rgba(6, 15, 30, 0.35);
    }

    .topbar-inner {
      min-height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #f4f8ff;
      text-decoration: none;
      font-weight: 900;
      font-size: 1.02rem;
      white-space: nowrap;
    }

    .brand-mark {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      color: #fff;
      font-weight: 900;
      letter-spacing: 0.02em;
      background: linear-gradient(140deg, #3f87ff 0%, #2059c0 100%);
    }

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

    .nav-links a {
      color: #d8e5ff;
      text-decoration: none;
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      font-size: 0.9rem;
      font-weight: 800;
    }

    .nav-links a:hover {
      color: #fff;
      text-decoration: underline;
      text-decoration-thickness: 2px;
    }

    .nav-links a[aria-current="page"] {
      color: #fff;
      text-decoration: underline;
      text-decoration-thickness: 2px;
    }

    .hero {
      position: relative;
      overflow: hidden;
      padding: clamp(66px, 9vw, 112px) 0 clamp(58px, 8vw, 88px);
      color: #f8fbff;
      background:
        linear-gradient(90deg, rgba(8, 17, 36, 0.94) 0%, rgba(10, 27, 60, 0.87) 44%, rgba(13, 35, 74, 0.52) 100%),
        url("../img/generated/faq-hero.webp") center / cover no-repeat,
        linear-gradient(135deg, #091527 0%, #173b71 100%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(620px 320px at 18% 25%, rgba(49, 110, 232, 0.22), transparent 72%),
        linear-gradient(180deg, rgba(7, 15, 31, 0.08) 0%, rgba(7, 15, 31, 0.42) 100%);
      pointer-events: none;
    }

    .hero .container {
      position: relative;
      z-index: 1;
    }

    .kicker {
      margin: 0;
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      border-radius: 999px;
      border: 1px solid rgba(191, 219, 254, 0.46);
      background: rgba(255, 255, 255, 0.13);
      color: #dbeafe;
      padding: 0 12px;
      font-size: 0.77rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    h1,
    h2 {
      margin: 0;
      line-height: 1.36;
      letter-spacing: 0.01em;
    }

    h1 {
      margin-top: 12px;
      font-size: clamp(1.9rem, 4vw, 2.8rem);
      color: #ffffff;
      max-width: 18ch;
      text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
    }

    .hero p {
      margin: 12px 0 0;
      color: #dbeafe;
      max-width: 58ch;
      font-size: 1.01rem;
    }

    .summary-links {
      margin-top: 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .summary-links a {
      min-height: 38px;
      padding: 0 12px;
      border: 1px solid rgba(191, 219, 254, 0.58);
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      color: #12316a;
      background: rgba(255, 255, 255, 0.93);
      font-size: 0.86rem;
      font-weight: 800;
      box-shadow: 0 10px 22px rgba(6, 15, 30, 0.18);
    }

    .summary-links a:hover {
      background: #ffffff;
    }

    .section {
      padding: clamp(26px, 4vw, 44px) 0;
    }

    .section + .section {
      border-top: 1px solid rgba(22, 41, 74, 0.08);
    }

    .section h2 {
      font-size: clamp(1.34rem, 2.7vw, 1.9rem);
      color: #152c4e;
      margin-bottom: 10px;
    }

    .section p.section-lead {
      margin: 0 0 14px;
      color: #4f5f79;
    }

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

    details.faq-item {
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--surface);
      box-shadow: var(--shadow);
      padding: 0 14px;
    }

    details.faq-item summary {
      list-style: none;
      cursor: pointer;
      min-height: 56px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      font-size: 0.94rem;
      font-weight: 800;
      color: #173967;
    }

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

    details.faq-item summary::after {
      content: "+";
      font-size: 1.24rem;
      line-height: 1;
      color: #225bc2;
      font-weight: 500;
    }

    details.faq-item[open] summary::after {
      content: "−";
    }

    details.faq-item p {
      margin: 0 0 14px;
      color: #355170;
      font-size: 0.9rem;
    }

    .cta {
      border: 1px solid #c3d9fa;
      border-radius: 16px;
      background: linear-gradient(145deg, #0f2342 0%, #173b71 52%, #1f5fd6 100%);
      color: #ebf3ff;
      box-shadow: 0 18px 36px rgba(8, 20, 40, 0.32);
      padding: clamp(20px, 4.2vw, 30px);
    }

    .cta h2 {
      color: #f4f8ff;
      margin-bottom: 8px;
    }

    .cta p {
      margin: 0;
      color: #d6e5ff;
      font-size: 0.95rem;
      max-width: 62ch;
    }

    .btn-row {
      margin-top: 15px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .btn {
      min-height: 42px;
      padding: 0 15px;
      border-radius: 11px;
      border: 1px solid transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 900;
      transition: transform 0.15s ease, background 0.15s ease;
    }

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

    .btn.primary {
      background: #fff;
      color: #184ca9;
    }

    .btn.secondary {
      border-color: rgba(255, 255, 255, 0.36);
      background: rgba(255, 255, 255, 0.08);
      color: #f3f8ff;
    }

    .footer {
      padding: 22px 0 30px;
      color: #586a86;
      font-size: 0.84rem;
    }

    @media (max-width: 760px) {
      .topbar-inner {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px 0 10px;
      }

      .brand {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
      }

      .brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 9px;
      }

      .nav-links {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 7px;
        overflow-x: auto;
        padding: 1px 0 3px;
        margin: 0;
        border: 1px solid rgba(191, 219, 254, 0.22);
        border-radius: 22px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
      }

      .nav-links::-webkit-scrollbar {
        display: none;
      }

      .nav-links a {
        white-space: nowrap;
        flex: 0 0 auto;
        min-height: 36px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.24);
        background: rgba(255, 255, 255, 0.08);
        color: #d8e5ff;
        font-size: 0.84rem;
        font-weight: 900;
        line-height: 1;
        scroll-snap-align: start;
        box-shadow: none;
        text-decoration: none;
      }

      .nav-links .cta-link {
        border-color: rgba(255, 255, 255, 0.38);
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
      }

      .nav-links a[aria-current="page"] {
        color: #ffffff;
        text-decoration: none;
      }

      .hero {
        padding: 48px 0 52px;
        background-position: center right;
      }

      .hero p {
        font-size: 0.94rem;
      }

      .summary-links a {
        width: 100%;
        justify-content: center;
      }
    }
