:root {
    --primary: #215ca6;
    --primary-dark: #173b6c;
    --primary-soft: #eaf2fb;
    --accent: #f0a43a;
    --accent-hover: #db8d22;
    --text: #1f2937;
    --muted: #5f6b7a;
    --border: #dfe6ee;
    --background: #f6f8fb;
    --surface: #ffffff;
    --footer: #12243c;
    --shadow: 0 12px 32px rgba(23, 59, 108, 0.08);
    --radius: 18px;
    --content-width: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.85;
}

img {
    max-width: 100%;
}

a {
    color: var(--primary);
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 1000;
    padding: 10px 16px;
    color: #fff;
    background: var(--primary-dark);
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #fff;
    background: rgba(18, 36, 60, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 32px), var(--content-width));
    min-height: 68px;
    margin: 0 auto;
    gap: 24px;
}

.site-logo {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 22px;
}

.site-header nav a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
    color: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(82, 154, 237, 0.34), transparent 32%),
        linear-gradient(135deg, #112b50 0%, #17477f 58%, #2168ae 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.04), 0 0 0 140px rgba(255, 255, 255, 0.025);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), 920px);
    margin: 0 auto;
    padding: 96px 0 86px;
    text-align: center;
}

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

.hero .eyebrow {
    color: #bcd8f7;
}

.hero h1 {
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.hero-copy {
    max-width: 780px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.12rem);
}

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

.cta-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.85rem 2rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cta-button {
    color: #312106;
    background: var(--accent);
    box-shadow: 0 10px 24px rgba(240, 164, 58, 0.25);
}

.cta-button:hover,
.cta-button:focus-visible {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

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

.secondary-button:hover,
.secondary-button:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
}

.trust-list li::before {
    content: "✓";
    margin-right: 8px;
    color: #ffd38f;
    font-weight: 800;
}

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

.content-section {
    padding: clamp(28px, 5vw, 52px);
    margin-bottom: 28px;
    background: var(--surface);
    border: 1px solid rgba(216, 226, 237, 0.85);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.section-heading {
    margin-bottom: 24px;
}

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

h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.45;
}

h3 {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 1.12rem;
    line-height: 1.55;
}

p {
    margin: 0 0 1.25em;
}

p:last-child {
    margin-bottom: 0;
}

.card-grid,
.split-grid,
.policy-grid {
    display: grid;
    gap: 20px;
}

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

.info-card,
.split-grid article,
.policy-grid article {
    padding: 24px;
    background: #fbfdff;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.card-number {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.info-card p,
.split-grid p,
.policy-grid p {
    color: var(--muted);
    font-size: 0.94rem;
}

.example-box {
    padding: 24px;
    margin: 28px 0;
    background: var(--primary-soft);
    border-left: 5px solid var(--primary);
    border-radius: 12px;
}

.check-list,
.caution-list {
    padding-left: 1.2rem;
    margin: 14px 0 0;
}

.check-list li,
.caution-list li {
    margin-bottom: 8px;
}

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

.feature-list {
    display: grid;
    gap: 18px;
}

.feature-list article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 24px;
    background: #fbfdff;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.feature-list article > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    font-weight: 900;
}

.feature-list p {
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    padding: 24px;
    background: #fbfdff;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.steps li > span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.steps p {
    color: var(--muted);
    font-size: 0.94rem;
}

.center-action {
    margin-top: 30px;
    text-align: center;
}

.caution-section {
    background: #fffcf6;
    border-color: #f1dfbd;
}

.caution-list {
    margin: 0;
}

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

.faq-list details {
    background: #fbfdff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.faq-list summary {
    position: relative;
    padding: 18px 50px 18px 20px;
    color: var(--primary-dark);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

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

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

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

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

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

.update-note {
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: right;
}

.final-cta {
    color: #fff;
    background: linear-gradient(135deg, #173b6c, #215ca6);
}

.final-cta-inner {
    width: min(calc(100% - 32px), 820px);
    margin: 0 auto;
    padding: 70px 0;
    text-align: center;
}

.final-cta .section-label {
    color: #bdd9f7;
}

.final-cta h2 {
    color: #fff;
}

.final-cta p:not(.section-label) {
    margin: 18px 0 28px;
    color: rgba(255, 255, 255, 0.84);
}

.site-footer {
    padding: 54px 0 28px;
    color: #b9c5d4;
    background: var(--footer);
}

.footer-inner,
.privacy-policy,
.copyright {
    width: min(calc(100% - 32px), var(--content-width));
    margin-left: auto;
    margin-right: auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding-bottom: 34px;
}

.footer-logo {
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
}

.footer-brand p:last-child {
    max-width: 540px;
    font-size: 0.92rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 10px 20px;
}

.footer-links a {
    color: #d7e2ee;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.privacy-policy {
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.privacy-policy h2,
.privacy-policy h3 {
    color: #fff;
}

.privacy-policy h2 {
    margin-bottom: 22px;
    font-size: 1.35rem;
}

.privacy-policy h3 {
    margin-top: 22px;
    font-size: 1rem;
}

.privacy-policy p {
    color: #b9c5d4;
    font-size: 0.88rem;
}

.copyright {
    padding-top: 24px;
    margin-bottom: 0;
    font-size: 0.84rem;
    text-align: center;
}

@media (max-width: 820px) {
    .site-header {
        position: static;
    }

    .nav-wrap {
        min-height: 60px;
    }

    .site-header nav {
        display: none;
    }

    .hero-inner {
        padding: 72px 0 66px;
    }

    .three-columns,
    .steps,
    .policy-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 620px) {
    body {
        font-size: 15px;
    }

    .hero h1 br {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .cta-button,
    .secondary-button {
        width: 100%;
    }

    .trust-list {
        align-items: flex-start;
        flex-direction: column;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .container {
        padding: 34px 0;
    }

    .content-section {
        padding: 26px 20px;
        margin-bottom: 18px;
        border-radius: 14px;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

    .feature-list article {
        grid-template-columns: 38px 1fr;
        padding: 20px;
    }

    .feature-list article > span {
        width: 36px;
        height: 36px;
    }

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

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}


/* --- 下層ページ共通 --- */
.page-hero {
    color: #fff;
    background: linear-gradient(135deg, #112b50 0%, #17477f 60%, #2168ae 100%);
}
.page-hero-inner {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
    padding: 72px 0 64px;
}
.page-hero .eyebrow { color: #bcd8f7; }
.page-hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.35; }
.page-hero p:last-child { max-width: 760px; margin: 18px 0 0; color: rgba(255,255,255,.86); }
.page-container { padding-top: 48px; }
.operator-table { margin: 0; border-top: 1px solid var(--border); }
.operator-table > div { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--border); }
.operator-table dt, .operator-table dd { margin: 0; padding: 17px 18px; }
.operator-table dt { color: var(--primary-dark); background: var(--primary-soft); font-weight: 800; }
.operator-table dd { background: #fff; }
.policy-points { margin-top: 0; }
.small-note { margin-top: 22px; color: var(--muted); font-size: .9rem; }
.page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 34px 0 8px; }
.secondary-page-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .85rem 2rem; color: var(--primary-dark); background: #fff; border: 2px solid var(--primary); border-radius: 999px; font-weight: 800; text-decoration: none; }
.secondary-page-button:hover, .secondary-page-button:focus-visible { background: var(--primary-soft); }
.compact-footer { padding-bottom: 28px; }
@media (max-width: 620px) {
    .page-hero-inner { padding: 56px 0 50px; }
    .operator-table > div { grid-template-columns: 1fr; }
    .operator-table dt { padding-bottom: 8px; }
    .operator-table dd { padding-top: 8px; }
    .page-actions { flex-direction: column; }
    .secondary-page-button { width: 100%; }
}
