:root {
    --bg-dark: #121c2d;
    --bg-mid: #1f3656;
    --surface: rgba(248, 244, 236, 0.88);
    --surface-soft: rgba(243, 247, 251, 0.84);
    --surface-strong: rgba(255, 252, 246, 0.96);
    --ink: #202833;
    --muted: #66727d;
    --line: rgba(32, 40, 51, 0.12);
    --accent: #315a8a;
    --accent-strong: #203f64;
    --accent-soft: #d69b45;
    --accent-soft-strong: #a8701f;
    --shadow: 0 28px 64px rgba(18, 28, 45, 0.18);
    --radius: 30px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "IBM Plex Sans JP", sans-serif;
    background:
        radial-gradient(circle at 12% 16%, rgba(49, 90, 138, 0.28), transparent 22%),
        radial-gradient(circle at 86% 10%, rgba(214, 155, 69, 0.24), transparent 18%),
        linear-gradient(180deg, #111a2a 0%, #1b314f 17%, #efe5d8 17.1%, #f7f2ea 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1));
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 80px;
}

.site-header {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 18px 0 20px;
    padding: 16px 22px;
    border-radius: 999px;
    background: rgba(17, 26, 42, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.brand {
    color: #f8efe1;
    font-family: "Shippori Mincho", serif;
    font-size: 1.14rem;
    letter-spacing: 0.1em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: rgba(248, 239, 225, 0.84);
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
    color: white;
}

.section,
.signal-strip,
.site-footer {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible,
.site-footer.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 28px;
    padding: 34px 0 22px;
}

.hero-copy,
.hero-panel,
.panel-card,
.step-card,
.table-card,
.contrast-card,
.compare-card,
.example-card,
.question-card,
.level-card,
.moment-card,
.model-card,
.closing-card,
.signal-strip {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero-copy {
    padding: 42px;
    border-radius: 38px;
    position: relative;
    overflow: hidden;
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -44px -88px auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 155, 69, 0.52), rgba(214, 155, 69, 0));
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-strong);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1,
h2,
h3,
.brand {
    line-height: 1.15;
}

h1,
h2 {
    margin: 0;
    font-family: "Shippori Mincho", serif;
}

h1 {
    font-size: clamp(2.55rem, 5vw, 4.7rem);
    letter-spacing: -0.04em;
}

.hero-lead,
.section-heading p,
.concept-step p,
.focus-card p,
.hero-note p,
.panel-card p,
.step-card p,
.contrast-card p,
.compare-card p,
.example-card p,
.question-card p,
.level-card p,
.moment-card p,
.model-card p,
.site-footer p,
.signal-sub,
.comparison-table td,
.comparison-table th {
    color: var(--muted);
}

.hero-lead {
    margin: 20px 0 0;
    font-size: 1.04rem;
    line-height: 1.85;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 28px rgba(32, 63, 100, 0.28);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line);
}

.hero-points {
    margin: 24px 0 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.hero-panel {
    padding: 26px;
    border-radius: 36px;
    display: grid;
    gap: 18px;
    background: rgba(247, 252, 252, 0.18);
}

.concept-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.concept-step,
.focus-card,
.hero-note {
    padding: 20px 22px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 249, 241, 0.96), rgba(243, 247, 251, 0.82));
    border: 1px solid rgba(32, 40, 51, 0.08);
}

.concept-step span,
.card-label,
.step-index,
.closing-title,
.signal-kicker {
    display: inline-block;
    font-weight: 700;
    color: var(--accent-strong);
    letter-spacing: 0.08em;
}

.concept-step strong {
    display: block;
    margin-top: 8px;
    font-size: 1.2rem;
}

.concept-step p,
.focus-card p,
.hero-note p {
    margin: 10px 0 0;
}

.deep-blue {
    background: linear-gradient(145deg, rgba(237, 244, 255, 0.98), rgba(223, 234, 249, 0.88));
}

.sky-blue {
    background: linear-gradient(145deg, rgba(241, 248, 255, 0.98), rgba(226, 240, 251, 0.88));
}

.warm-gold {
    background: linear-gradient(145deg, rgba(255, 248, 235, 0.98), rgba(247, 234, 212, 0.88));
}

.soft-ink {
    background: linear-gradient(145deg, rgba(245, 247, 250, 0.98), rgba(232, 238, 245, 0.88));
}

.focus-grid,
.difference-grid,
.compare-board,
.example-grid,
.question-grid,
.levels-grid,
.model-grid,
.essence-grid,
.flow-grid {
    display: grid;
    gap: 20px;
}

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

.focus-card h2,
.panel-card h3,
.step-card h3,
.contrast-card h3,
.compare-card h3,
.example-card h3,
.question-card h3,
.level-card h3,
.moment-card h3,
.model-card h3,
.note-title,
.signal-main {
    margin: 0;
    font-family: "Shippori Mincho", serif;
}

.strong-card {
    background: linear-gradient(145deg, rgba(239, 246, 255, 0.98), rgba(224, 236, 250, 0.88));
}

.warm-card {
    background: linear-gradient(145deg, rgba(255, 248, 235, 0.98), rgba(247, 234, 212, 0.88));
}

.hero-note {
    background: linear-gradient(145deg, rgba(32, 63, 100, 0.98), rgba(49, 90, 138, 0.94));
    color: white;
}

.hero-note p,
.hero-note .note-title {
    color: white;
}

.signal-strip {
    margin-top: 10px;
    padding: 24px 30px;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.signal-kicker {
    margin: 0;
    font-size: 0.86rem;
    text-transform: uppercase;
}

.signal-main {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.signal-sub {
    margin: 0;
    line-height: 1.75;
}

.section {
    margin-top: 88px;
}

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

.section-heading h2 {
    font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.section-heading p {
    margin: 12px 0 0;
    max-width: 820px;
    line-height: 1.85;
}

.panel-card,
.step-card,
.table-card,
.contrast-card,
.compare-card,
.example-card,
.question-card,
.level-card,
.moment-card,
.model-card,
.closing-card {
    padding: 26px;
    border-radius: 28px;
}

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

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

.step-card {
    background: linear-gradient(180deg, rgba(255, 249, 241, 0.96), rgba(243, 247, 251, 0.84));
}

.step-index {
    font-size: 0.8rem;
}

.step-question {
    margin-top: 10px;
    color: var(--accent-strong);
    font-weight: 600;
}

.accent-card {
    background: linear-gradient(180deg, rgba(247, 240, 224, 0.98), rgba(242, 229, 204, 0.9));
}

.difference-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.table-card {
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(32, 40, 51, 0.08);
    text-align: left;
}

.comparison-table th {
    color: var(--ink);
    background: rgba(32, 63, 100, 0.08);
}

.compare-board,
.example-grid,
.question-grid,
.levels-grid,
.model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-board {
    margin-top: 22px;
}

.compare-card.bad,
.example-card.bad-card {
    background: linear-gradient(180deg, rgba(255, 242, 236, 0.96), rgba(249, 230, 223, 0.86));
}

.compare-card.good,
.example-card.good-card {
    background: linear-gradient(180deg, rgba(241, 247, 255, 0.96), rgba(226, 236, 250, 0.86));
}

.question-card.highlight-card {
    background: linear-gradient(180deg, rgba(249, 246, 228, 0.98), rgba(240, 237, 209, 0.9));
}

.moment-card {
    margin-top: 22px;
    background: linear-gradient(135deg, rgba(32, 63, 100, 0.98), rgba(49, 90, 138, 0.94));
    color: white;
}

.moment-card .card-label,
.moment-card h3,
.moment-card p {
    color: white;
}

.closing-card {
    margin-top: 22px;
    background: linear-gradient(135deg, rgba(214, 155, 69, 0.98), rgba(168, 112, 31, 0.92));
    color: white;
    border-color: rgba(255, 255, 255, 0.16);
}

.closing-title,
.closing-copy {
    margin: 0;
}

.closing-title {
    color: rgba(255, 255, 255, 0.82);
}

.closing-copy {
    margin-top: 10px;
    color: white;
    font-family: "Shippori Mincho", serif;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1.7;
}

.site-footer {
    margin-top: 64px;
    padding: 24px 30px;
    border-radius: 28px;
    background: rgba(17, 26, 42, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-link {
    color: white;
    font-weight: 600;
}

@media (max-width: 1080px) {
    .hero,
    .signal-strip,
    .difference-grid,
    .compare-board,
    .example-grid,
    .question-grid,
    .levels-grid,
    .model-grid {
        grid-template-columns: 1fr;
    }

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

    .signal-strip {
        gap: 10px;
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 20px, 1200px);
    }

    .site-header {
        position: static;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 28px;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 12px 14px;
    }

    .hero-copy,
    .hero-panel,
    .panel-card,
    .step-card,
    .table-card,
    .contrast-card,
    .compare-card,
    .example-card,
    .question-card,
    .level-card,
    .moment-card,
    .model-card,
    .closing-card,
    .signal-strip,
    .site-footer {
        padding: 22px;
        border-radius: 24px;
    }

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

    .button {
        width: 100%;
    }

    .concept-board,
    .focus-grid,
    .essence-grid,
    .flow-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .section {
        margin-top: 68px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}