:root {
    --ink: #1f2026;
    --ink-soft: #343640;
    --paper: #f8f5ee;
    --white: #fffefa;
    --soft: #ece8ff;
    --violet: #6846ef;
    --violet-dark: #4f30c9;
    --lime: #d9ff67;
    --coral: #ff826d;
    --sky: #9ddcff;
    --yellow: #ffd84d;
    --pink: #f44d9b;
    --blue: #2a84ff;
    --accent-gradient: linear-gradient(135deg, #ffd84d 0%, #ff8057 24%, #f44d9b 43%, #7b4dff 68%, #2a84ff 100%);
    --line: rgba(31, 32, 38, 0.16);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 38px;
    --shadow: 0 18px 50px rgba(31, 32, 38, 0.1);
    --shell: min(1120px, calc(100% - 40px));
    --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.85;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px;
}

.site-shell {
    width: var(--shell);
    margin-inline: auto;
}

.narrow {
    max-width: 900px;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--ink);
    border-radius: 8px;
    transform: translateY(-150%);
}

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

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(248, 245, 238, 0.88);
    backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
}

.site-header__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    text-decoration: none;
}

.brand__image {
    display: block;
    width: 154px;
    height: auto;
}

.brand__name {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.brand__jp {
    padding-left: 2px;
    color: rgba(31, 32, 38, 0.58);
    font-size: 11px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    min-width: 82px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
}

.primary-nav,
.primary-nav__list {
    display: flex;
    align-items: center;
    gap: 26px;
}

.primary-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav__list a {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 0;
    color: var(--white);
    background: var(--violet);
    border-radius: 999px;
    box-shadow: 0 9px 0 var(--violet-dark);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    background: #7454f4;
    transform: translateY(2px);
    box-shadow: 0 7px 0 var(--violet-dark);
}

.button:active {
    transform: translateY(7px);
    box-shadow: 0 2px 0 var(--violet-dark);
}

.button--small {
    min-height: 40px;
    padding: 9px 18px;
    box-shadow: none;
    font-size: 13px;
}

.button--disabled,
.button:disabled {
    color: rgba(31, 32, 38, 0.58);
    background: #dedce5;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.text-link {
    font-weight: 800;
    text-decoration: underline;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--violet);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 92px;
}

.hero::before {
    position: absolute;
    top: 12%;
    left: -90px;
    width: 210px;
    height: 210px;
    border: 26px solid rgba(104, 70, 239, 0.09);
    border-radius: 50%;
    content: "";
}

.hero__grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 64px;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(44px, 6vw, 78px);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.12;
}

.hero__lead {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 36px 0 0;
    padding: 0;
    color: rgba(31, 32, 38, 0.68);
    font-size: 12px;
    font-weight: 700;
    list-style: none;
}

.hero__facts li::before {
    margin-right: 7px;
    color: var(--violet);
    content: "●";
    font-size: 8px;
}

.hero__visual {
    position: relative;
    display: flex;
    min-height: 470px;
    align-items: flex-end;
    justify-content: center;
    padding: 42px 34px 0;
    overflow: hidden;
    border: 1px solid rgba(31, 32, 38, 0.1);
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 216, 77, 0.32), transparent 31%),
        radial-gradient(circle at 78% 24%, rgba(42, 132, 255, 0.22), transparent 30%),
        radial-gradient(circle at 55% 70%, rgba(244, 77, 155, 0.2), transparent 34%),
        var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero__visual::after {
    position: absolute;
    right: -40px;
    bottom: -70px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(244, 77, 155, 0.72), rgba(104, 70, 239, 0.72), rgba(42, 132, 255, 0.64));
    content: "";
    opacity: 0.55;
}

.hero__mascot {
    position: relative;
    z-index: 1;
    display: block;
    width: min(95%, 445px);
    filter: drop-shadow(0 24px 30px rgba(42, 53, 105, 0.14));
}

.mascot-speech {
    position: absolute;
    z-index: 3;
    top: 28px;
    right: 24px;
    max-width: 230px;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid rgba(31, 32, 38, 0.13);
    color: var(--ink);
    background: rgba(255, 254, 250, 0.96);
    border-radius: 20px 20px 6px 20px;
    box-shadow: 0 14px 32px rgba(31, 32, 38, 0.1);
    font-size: 14px;
    line-height: 1.65;
}

.mascot-speech strong,
.mascot-speech span {
    display: block;
}

.mascot-speech strong {
    margin-bottom: 4px;
    color: var(--violet-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.shape-map {
    position: relative;
    z-index: 2;
    height: 330px;
}

.shape {
    position: absolute;
    display: grid;
    align-items: center;
    justify-items: center;
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
}

.shape--a {
    top: 8px;
    left: 7%;
    width: 118px;
    height: 118px;
    background: linear-gradient(145deg, #ffe467, #ff946a 58%, #f15a9d);
    border-radius: 27px 27px 55% 27px;
    transform: rotate(-7deg);
}

.shape--b {
    top: 12px;
    right: 2%;
    width: 138px;
    height: 86px;
    background: linear-gradient(145deg, #f762a9, #8c59ff 72%);
    border-radius: 70px 20px 70px 20px;
    transform: rotate(8deg);
}

.shape--c {
    top: 143px;
    left: 28%;
    width: 110px;
    height: 110px;
    background: linear-gradient(145deg, #8ee9ff, #4e8dff 62%, #5f47d7);
    border-radius: 50%;
}

.shape--d {
    top: 124px;
    right: 1%;
    width: 92px;
    height: 144px;
    background: linear-gradient(145deg, #fff0a6, #efdcff 54%, #b6e9ff);
    border-radius: 20px 50px 20px 50px;
    transform: rotate(-8deg);
}

.shape--e {
    bottom: 0;
    left: 0;
    width: 68px;
    height: 68px;
    border: 18px solid #f45a9d;
    border-radius: 50%;
}

.shape--f {
    right: 32%;
    bottom: 2px;
    width: 72px;
    height: 45px;
    background: linear-gradient(90deg, #ffd84d, #ff8f5c);
    border-radius: 12px;
    transform: rotate(12deg);
}

.section {
    padding: 104px 0;
}

.section--paper {
    border-block: 1px solid var(--line);
    background: var(--white);
}

.section--ink {
    color: var(--white);
    background: var(--ink);
}

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

.section h2,
.archive-header h1,
.page-header h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(34px, 4.8vw, 58px);
    letter-spacing: -0.045em;
    line-height: 1.22;
}

.section h3 {
    line-height: 1.5;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.scope-card {
    position: relative;
    padding: 32px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius-md);
}

.scope-card--paid {
    background: var(--soft);
}

.scope-card__number {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;
    color: var(--white);
    background: var(--violet);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.scope-card h3 {
    margin: 0 0 12px;
    font-size: 23px;
}

.scope-card p {
    margin: 0;
}

.scope-card__status {
    margin-top: 18px !important;
    color: var(--violet-dark);
    font-size: 13px;
    font-weight: 900;
}

.scope-note {
    margin: 24px 0 0;
    color: rgba(31, 32, 38, 0.65);
    font-size: 13px;
}

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

.section-heading--inverse .eyebrow {
    color: var(--lime);
}

.section-heading--inverse > p:last-child {
    color: rgba(255, 254, 250, 0.7);
}

.section-heading--row {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.plugin-notice {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
}

.split-section {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.65fr);
    gap: 80px;
}

.section-lead {
    margin-top: 26px;
    font-size: 19px;
    font-weight: 700;
}

.map-sheet {
    position: relative;
    padding: 34px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.map-sheet::before {
    position: absolute;
    top: -17px;
    left: 50%;
    width: 112px;
    height: 32px;
    background: rgba(217, 255, 103, 0.82);
    content: "";
    transform: translateX(-50%) rotate(-2deg);
}

.map-sheet__top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.map-sheet ol {
    display: grid;
    gap: 0;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.map-sheet li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}

.map-sheet li span {
    color: var(--violet);
    font-size: 12px;
    font-weight: 900;
}

.map-sheet .button {
    width: 100%;
}

.map-sheet small {
    display: block;
    margin-top: 14px;
    color: rgba(31, 32, 38, 0.58);
    text-align: center;
}

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

.article-card {
    min-height: 320px;
    overflow: hidden;
    border: 1px solid rgba(31, 32, 38, 0.12);
    background: var(--white);
    border-radius: var(--radius-md);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.article-card > a,
.article-card--empty {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 28px;
    text-decoration: none;
}

.article-card__meta {
    display: flex;
    justify-content: space-between;
    color: rgba(31, 32, 38, 0.55);
    font-size: 12px;
    font-weight: 700;
}

.article-card h2,
.article-card h3 {
    margin: 24px 0 12px;
    font-size: 22px;
    line-height: 1.5;
}

.article-card p {
    margin: 0;
    color: rgba(31, 32, 38, 0.68);
    font-size: 14px;
}

.article-card__link {
    margin-top: auto;
    padding-top: 24px;
    color: var(--violet);
    font-size: 13px;
    font-weight: 900;
}

.trust-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
}

.trust-list {
    display: grid;
    gap: 0;
}

.trust-list article {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.trust-list article:last-child {
    border-bottom: 1px solid var(--line);
}

.trust-list h3,
.trust-list p {
    margin: 0;
}

.trust-list h3 {
    font-size: 20px;
}

.trust-list p {
    margin-top: 7px;
    color: rgba(31, 32, 38, 0.67);
}

.site-footer {
    padding: 70px 0 24px;
    color: rgba(255, 254, 250, 0.78);
    background: var(--ink);
}

.site-footer .brand {
    color: var(--white);
}

.brand__footer-mark {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
}

.site-footer .brand__jp {
    color: rgba(255, 254, 250, 0.68);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.7fr;
    gap: 52px;
}

.site-footer__grid p {
    max-width: 430px;
    font-size: 13px;
}

.site-footer__label {
    color: var(--white);
    font-weight: 900;
}

.site-footer__links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a {
    font-size: 13px;
}

.site-footer__bottom {
    margin-top: 54px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.archive-main,
.page-main {
    min-height: 70vh;
}

.archive-header {
    margin-bottom: 50px;
}

.archive-description {
    max-width: 720px;
    margin-top: 24px;
}

.single-hero {
    padding: 86px 0 70px;
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.article-shell {
    max-width: 790px;
}

.single-hero__meta {
    display: flex;
    gap: 16px;
    color: rgba(31, 32, 38, 0.58);
    font-size: 12px;
    font-weight: 800;
}

.single-hero h1 {
    margin: 20px 0 0;
    font-size: clamp(38px, 5.5vw, 64px);
    letter-spacing: -0.045em;
    line-height: 1.25;
}

.single-hero__lead {
    margin: 24px 0 0;
    font-size: 19px;
}

.single-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.single-hero__tags a {
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.article-body {
    padding-top: 70px;
    padding-bottom: 100px;
    font-size: 17px;
}

.article-body h2 {
    margin: 66px 0 22px;
    font-size: 32px;
    line-height: 1.45;
}

.article-body h3 {
    margin: 42px 0 14px;
    font-size: 23px;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
    margin-top: 0;
    margin-bottom: 24px;
}

.article-body a {
    color: var(--violet-dark);
}

.article-body blockquote {
    padding: 20px 24px;
    border-left: 5px solid var(--violet);
    background: var(--soft);
}

.article-cta {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: 112px 1fr auto;
    gap: 26px;
    margin-top: 76px;
    padding: 30px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    border-radius: var(--radius-md);
}

.article-cta h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.article-cta p {
    margin: 0;
    color: rgba(255, 254, 250, 0.72);
    font-size: 14px;
}

.article-cta .eyebrow {
    color: var(--lime);
}

.article-cta__note {
    margin-top: 9px !important;
    font-size: 11px !important;
}

.article-cta__motif {
    position: relative;
    height: 98px;
}

.article-cta__motif i {
    position: absolute;
    display: block;
}

.article-cta__motif i:nth-child(1) {
    top: 4px;
    left: 5px;
    width: 58px;
    height: 58px;
    background: var(--lime);
    border-radius: 16px 16px 50% 16px;
}

.article-cta__motif i:nth-child(2) {
    top: 9px;
    right: 1px;
    width: 42px;
    height: 42px;
    background: var(--coral);
    border-radius: 50%;
}

.article-cta__motif i:nth-child(3) {
    right: 18px;
    bottom: 0;
    width: 52px;
    height: 32px;
    background: var(--sky);
    border-radius: 18px 5px 18px 5px;
}

.empty-state {
    min-height: 70vh;
    text-align: center;
}

.empty-state .button {
    margin-top: 24px;
}

@media (max-width: 900px) {
    :root {
        --shell: min(100% - 32px, 760px);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .primary-nav {
        position: fixed;
        z-index: 90;
        top: 72px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        padding: 28px 20px 34px;
        border-bottom: 1px solid var(--line);
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav__list {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .primary-nav__list a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .primary-nav .button {
        margin-top: 12px;
    }

    .hero {
        padding: 60px 0 72px;
    }

    .hero__grid,
    .split-section,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero__grid,
    .split-section,
    .trust-grid {
        gap: 48px;
    }

    .hero__visual {
        min-height: 400px;
    }

    .section {
        padding: 78px 0;
    }

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

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .article-cta {
        grid-template-columns: 90px 1fr;
    }

    .article-cta .button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    :root {
        --shell: calc(100% - 28px);
        --radius-md: 20px;
        --radius-lg: 26px;
    }

    body {
        font-size: 15px;
    }

    .brand__jp {
        display: none;
    }

    .hero h1 {
        font-size: clamp(39px, 12vw, 54px);
    }

    .hero__lead {
        font-size: 17px;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .hero__actions .text-link {
        align-self: center;
    }

    .hero__facts {
        display: grid;
    }

    .hero__visual {
        min-height: 350px;
        padding: 92px 18px 0;
    }

    .shape-map {
        height: 255px;
    }

    .shape--a {
        width: 95px;
        height: 95px;
    }

    .shape--b {
        width: 115px;
        height: 72px;
    }

    .shape--c {
        top: 116px;
        width: 88px;
        height: 88px;
    }

    .shape--d {
        top: 99px;
        width: 72px;
        height: 117px;
    }

    .hero__mascot {
        width: min(100%, 360px);
    }

    .mascot-speech {
        top: 18px;
        right: 16px;
        left: 16px;
        max-width: none;
        padding: 12px 14px;
        border-radius: 16px 16px 5px 16px;
    }

    .scope-grid,
    .article-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .section-heading--row {
        align-items: flex-start;
        flex-direction: column;
    }

    .scope-card,
    .map-sheet {
        padding: 24px;
    }

    .article-card {
        min-height: 270px;
    }

    .single-hero {
        padding: 62px 0 52px;
    }

    .article-body {
        padding-top: 48px;
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 27px;
    }

    .article-cta {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .article-cta__motif {
        width: 110px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

