/* =========================================================
   Revenue Share
   AI Career Diagnosis
========================================================= */

:root {
    --rs-bg: #020b16;
    --rs-bg-deep: #010711;
    --rs-panel: rgba(4, 23, 40, 0.92);
    --rs-panel-soft: rgba(6, 30, 50, 0.78);

    --rs-cyan: #00eaff;
    --rs-cyan-soft: #39cfe8;
    --rs-blue: #1a8cff;

    --rs-pink: #ff315f;
    --rs-amber: #f5b82e;
    --rs-green: #35df8a;

    --rs-white: #f4f8fb;
    --rs-text: #c2d1dc;
    --rs-muted: #6f8798;

    --rs-border: rgba(0, 220, 255, 0.45);
    --rs-glow: 0 0 18px rgba(0, 220, 255, 0.18);

    --rs-width: 1180px;
}


/* =========================================================
   BASE
========================================================= */

.rs-ai {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 110, 180, .16),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            #020b16 0%,
            #010711 100%
        );
    color: var(--rs-white);
}

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

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

.rs-ai [hidden] {
    display: none !important;
}

.rs-ai-container {
    width: min(calc(100% - 48px), var(--rs-width));
    margin: 0 auto;
}


/* =========================================================
   GRID BACKGROUND
========================================================= */

.rs-ai::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(
            rgba(0, 220, 255, .07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 220, 255, .07) 1px,
            transparent 1px
        );
    background-size: 64px 64px;
}


/* =========================================================
   HERO
========================================================= */

.rs-ai-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 120px 0 70px;
    border-bottom: 1px solid rgba(0, 220, 255, .18);
}

.rs-ai-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(1, 8, 18, .98) 0%,
            rgba(1, 10, 20, .83) 43%,
            rgba(1, 9, 18, .2) 100%
        ),
        url("../images/ai-career-city-bg.png")
        center / cover no-repeat;
}

.rs-ai-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 40px;
}

.rs-ai-eyebrow {
    margin: 0 0 20px;
    color: var(--rs-cyan);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .16em;
}

.rs-ai-hero__title {
    margin: 0;
    font-size: clamp(44px, 5.2vw, 74px);
    line-height: 1.2;
    letter-spacing: -.035em;
}

.rs-ai-hero__title span {
    color: #ff4d67;
    text-shadow: 0 0 20px rgba(255, 49, 95, .25);
}

.rs-ai-hero__lead {
    margin: 28px 0 8px;
    font-size: 21px;
    font-weight: 700;
}

.rs-ai-hero__text {
    margin: 0 0 30px;
    color: var(--rs-text);
    font-size: 15px;
    line-height: 2;
}

.rs-ai-hero__meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-bottom: 25px;
}

.rs-ai-hero__meta div {
    padding: 15px 9px;
    text-align: center;
    border: 1px solid var(--rs-border);
    background: rgba(1, 22, 38, .7);
    box-shadow: inset 0 0 20px rgba(0, 220, 255, .04);
}

.rs-ai-hero__meta strong,
.rs-ai-hero__meta span {
    display: block;
}

.rs-ai-hero__meta strong {
    color: var(--rs-cyan);
    font-size: 19px;
}

.rs-ai-hero__meta span {
    margin-top: 3px;
    color: var(--rs-text);
    font-size: 12px;
}

.rs-ai-hero__visual {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.rs-ai-hero__rangers {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, .55));
}

.rs-ai-hero__radar {
    position: absolute;
    top: 30px;
    right: 20px;
    width: 340px;
    height: 260px;
    padding: 18px;
    border: 1px solid var(--rs-border);
    background: rgba(2, 20, 37, .82);
    box-shadow: var(--rs-glow);
    clip-path: polygon(
        12px 0,
        100% 0,
        100% calc(100% - 12px),
        calc(100% - 12px) 100%,
        0 100%,
        0 12px
    );
}

.rs-ai-hero__radar > span {
    color: var(--rs-cyan);
    font-size: 11px;
    letter-spacing: .14em;
}

.rs-ai-radar-placeholder {
    position: absolute;
    inset: 55px 45px 25px;
    display: grid;
    place-items: center;
}

.rs-ai-radar-placeholder__ring {
    position: absolute;
    width: 180px;
    aspect-ratio: 1;
    border: 1px solid rgba(0, 220, 255, .3);
    transform: rotate(45deg);
}

.rs-ai-radar-placeholder__ring:nth-child(2) {
    width: 125px;
}

.rs-ai-radar-placeholder__ring:nth-child(3) {
    width: 70px;
}


/* =========================================================
   BUTTON
========================================================= */

.rs-ai-btn {
    min-height: 54px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px solid;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: .25s ease;
}

.rs-ai-btn--primary {
    color: #fff;
    border-color: #ff315f;
    background:
        linear-gradient(
            90deg,
            rgba(255, 49, 95, .8),
            rgba(255, 49, 95, .35)
        );
    box-shadow:
        0 0 22px rgba(255, 49, 95, .22),
        inset 0 0 18px rgba(255,255,255,.05);
}

.rs-ai-btn--sub {
    color: var(--rs-cyan);
    border-color: var(--rs-border);
    background: rgba(0, 48, 69, .38);
}

.rs-ai-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.rs-ai-btn--sub:hover {
color: var(--rs-cyan);
}

.rs-ai-btn--primary:hover {
color: #ffffff;
}


/* =========================================================
   SECTION
========================================================= */

.rs-ai-section {
    position: relative;
    padding: 22px 0;
}

.rs-ai-panel {
    position: relative;
    padding: 28px;
    border: 1px solid var(--rs-border);
    background:
        linear-gradient(
            140deg,
            rgba(5, 29, 48, .92),
            rgba(2, 14, 27, .95)
        );
    box-shadow:
        var(--rs-glow),
        inset 0 0 50px rgba(0, 150, 255, .03);
    clip-path: polygon(
        12px 0,
        100% 0,
        100% calc(100% - 12px),
        calc(100% - 12px) 100%,
        0 100%,
        0 12px
    );
}

.rs-ai-panel::before,
.rs-ai-panel::after {
    content: "";
    position: absolute;
    background: var(--rs-cyan);
    opacity: .7;
}

.rs-ai-panel::before {
    width: 70px;
    height: 2px;
    left: 16px;
    top: 0;
}

.rs-ai-panel::after {
    width: 2px;
    height: 45px;
    right: 0;
    bottom: 18px;
}

.rs-ai-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 25px;
}

.rs-ai-section-heading__number {
    color: var(--rs-cyan);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.rs-ai-section-heading p {
    margin: 0 0 4px;
    color: var(--rs-cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}

.rs-ai-section-heading h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
}


/* =========================================================
   ABOUT
========================================================= */

.rs-ai-about-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
}

.rs-ai-about-guide {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.rs-ai-about-guide img {
    width: 130px;
    margin: auto auto 15px;
}

.rs-ai-about-guide p {
    margin: 0;
    color: var(--rs-text);
    font-size: 12px;
    line-height: 1.8;
}

.rs-ai-five-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.rs-ai-topic-card,
.rs-ai-category-card {
    position: relative;
    min-height: 210px;
    padding: 20px 15px;
    border: 1px solid rgba(0, 220, 255, .34);
    background: rgba(1, 17, 31, .7);
}

.rs-ai-topic-card > span,
.rs-ai-category-card > span {
    color: var(--rs-cyan);
    font-size: 16px;
}

.rs-ai-topic-card__icon {
    margin: 20px 0 16px;
    color: var(--rs-cyan);
    font-size: 35px;
}

.rs-ai-topic-card h3,
.rs-ai-category-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.rs-ai-topic-card p,
.rs-ai-category-card p {
    margin: 0;
    color: var(--rs-text);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   QUESTION
========================================================= */

.rs-ai-panel--app {
    padding: 30px;
}

.rs-ai-question-layout {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 28px;
}

.rs-ai-question-guide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rs-ai-question-guide img {
    width: 160px;
    margin: 25px auto 0;
}

.rs-ai-question-guide__bubble {
    padding: 17px;
    border: 1px solid var(--rs-border);
    color: var(--rs-text);
    font-size: 13px;
    line-height: 1.7;
}

.rs-ai-question {
    padding: 26px;
    border: 1px solid rgba(0, 220, 255, .35);
    background:
        linear-gradient(
            135deg,
            rgba(4, 35, 57, .85),
            rgba(1, 14, 27, .95)
        );
}

.rs-ai-question__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
}

.rs-ai-question__count {
    color: var(--rs-muted);
    font-size: 11px;
    letter-spacing: .08em;
}

.rs-ai-question__count strong {
    color: var(--rs-cyan);
    font-size: 19px;
}

.rs-ai-progress {
    height: 3px;
    background: rgba(255,255,255,.12);
}

.rs-ai-progress__bar {
    height: 100%;
    background: var(--rs-cyan);
    box-shadow: 0 0 10px rgba(0, 220, 255, .7);
}

.rs-ai-question__percent {
    color: var(--rs-muted);
    font-size: 11px;
}

.rs-ai-question__category {
    margin: 35px 0 10px;
    color: var(--rs-cyan);
    font-size: 11px;
}

.rs-ai-question__title {
    margin: 0 0 28px;
    max-width: 780px;
    font-size: 26px;
    line-height: 1.55;
}

.rs-ai-answers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.rs-ai-answer {
    min-height: 110px;
    padding: 15px 10px;
    border: 1px solid rgba(0, 220, 255, .34);
    color: var(--rs-white);
    background: rgba(0, 30, 49, .72);
    cursor: pointer;
    transition: .2s;
}

.rs-ai-answer span,
.rs-ai-answer strong {
    display: block;
}

.rs-ai-answer span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border: 1px solid var(--rs-cyan);
    border-radius: 50%;
    color: var(--rs-cyan);
}

.rs-ai-answer strong {
    font-size: 12px;
    line-height: 1.5;
}

.rs-ai-answer:hover {
    border-color: var(--rs-cyan);
    background: rgba(0, 103, 134, .32);
    box-shadow: inset 0 0 20px rgba(0, 220, 255, .08);
}

.rs-ai-question__footer {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rs-ai-question__footer p {
    color: var(--rs-muted);
    font-size: 11px;
}


/* =========================================================
   ANALYZING
========================================================= */

.rs-ai-analyzing__body {
    min-height: 370px;
    display: grid;
    grid-template-columns: 1fr 1.2fr .8fr;
    align-items: center;
    gap: 30px;
}

.rs-ai-ai-orb {
    width: 260px;
    height: 260px;
    display: grid;
    place-items: center;
    margin: auto;
    border: 1px solid var(--rs-cyan);
    border-radius: 50%;
    box-shadow:
        0 0 40px rgba(0,220,255,.2),
        inset 0 0 50px rgba(0,220,255,.12);
}

.rs-ai-ai-orb div {
    color: var(--rs-cyan);
    font-size: 80px;
    font-weight: 700;
}

.rs-ai-analyzing__text h3 {
    margin-top: 0;
    font-size: 24px;
}

.rs-ai-analyzing__text li {
    margin: 12px 0;
    color: var(--rs-text);
}

.rs-ai-analyzing__rangers {
    width: 280px;
}


/* =========================================================
   RESULT SUMMARY
========================================================= */

.rs-ai-result-summary {
    display: grid;
    grid-template-columns: .7fr 1fr 1.3fr;
    gap: 22px;
}

.rs-ai-score,
.rs-ai-chart,
.rs-ai-summary-text {
    min-height: 270px;
    padding: 25px;
    border: 1px solid rgba(0, 220, 255, .3);
    background: rgba(1, 17, 31, .65);
}

.rs-ai-score {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rs-ai-score > p {
    color: var(--rs-cyan);
    font-size: 11px;
    letter-spacing: .14em;
}

.rs-ai-score > strong {
    font-size: 58px;
    line-height: 1;
}

.rs-ai-score small {
    color: var(--rs-muted);
    font-size: 16px;
}

.rs-ai-status {
    display: inline-flex;
    margin-top: 20px;
    color: var(--rs-amber);
    font-size: 18px;
    font-weight: 700;
}

.rs-ai-chart {
    display: grid;
    place-items: center;
}

.rs-ai-chart__image {
    width: 210px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 220, 255, .32);
    transform: rotate(45deg);
    color: var(--rs-muted);
}

.rs-ai-chart__image span {
    transform: rotate(-45deg);
}

.rs-ai-summary-text span {
    color: var(--rs-cyan);
    font-size: 11px;
}

.rs-ai-summary-text p {
    margin-top: 20px;
    color: var(--rs-text);
    font-size: 14px;
    line-height: 2;
}


/* =========================================================
   CATEGORY RESULT
========================================================= */

.rs-ai-category-card strong,
.rs-ai-category-card em {
    display: block;
}

.rs-ai-category-card strong {
    margin: 18px 0 5px;
    color: var(--rs-white);
    font-size: 40px;
}

.rs-ai-category-card em {
    margin-bottom: 10px;
    color: var(--rs-cyan);
    font-size: 16px;
    font-style: normal;
}


/* =========================================================
   INSIGHT
========================================================= */

.rs-ai-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.rs-ai-insight {
    min-height: 260px;
    padding: 25px;
    border: 1px solid var(--rs-border);
    background: rgba(3, 22, 38, .82);
}

.rs-ai-insight > span {
    color: var(--rs-cyan);
    font-size: 16px;
    letter-spacing: .12em;
}

.rs-ai-insight h2 {
    margin: 12px 0 25px;
    font-size: 21px;
}

.rs-ai-insight h3 {
    font-size: 17px;
}

.rs-ai-insight p {
    color: var(--rs-text);
    line-height: 1.9;
}

.rs-ai-insight--positive {
    border-color: rgba(53, 223, 138, .5);
}

.rs-ai-insight--attention {
    border-color: rgba(245, 184, 46, .55);
}

.rs-ai-insight--growth {
    border-color: rgba(0, 220, 255, .6);
}


/* =========================================================
   THREE GRID
========================================================= */

.rs-ai-three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rs-ai-three-grid article {
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgba(0, 220, 255, .34);
    background: rgba(1, 17, 31, .7);
}

.rs-ai-three-grid span {
    color: var(--rs-cyan);
    font-size: 16px;
    font-weight: 700;
}

.rs-ai-three-grid h3 {
    margin: 14px 0;
    font-size: 19px;
}

.rs-ai-three-grid p {
    color: var(--rs-text);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   RELATED
========================================================= */

.rs-ai-related {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.rs-ai-related a {
    min-height: 190px;
    padding: 28px;
    border: 1px solid var(--rs-border);
    color: var(--rs-white);
    text-decoration: none;
    background: rgba(2, 26, 43, .85);
}

.rs-ai-related strong {
    display: block;
    margin-bottom: 12px;
    font-size: 21px;
}

.rs-ai-related p {
    color: var(--rs-text);
}

.rs-ai-related span {
    color: var(--rs-cyan);
}


/* =========================================================
   SHARE
========================================================= */

.rs-ai-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.rs-ai-share h2 {
    margin: 8px 0 0;
}

.rs-ai-share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rs-ai-share__buttons button {
    min-height: 45px;
    padding: 0 18px;
    border: 1px solid var(--rs-border);
    color: var(--rs-white);
    background: rgba(1, 22, 38, .7);
    cursor: pointer;
}


/* =========================================================
   MAIL
========================================================= */

.rs-ai-mail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.rs-ai-mail span {
    color: var(--rs-cyan);
    font-size: 16px;
font-weight: 700;
margin-bottom: 8px;
}

.rs-ai-mail p {
    color: var(--rs-text);
}

.rs-ai-mail__form {
    display: grid;
    grid-template-columns: 1fr auto;
}

.rs-ai-mail__form input {
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(0, 220, 255, .35);
    border-right: 0;
    outline: 0;
    color: #fff;
    background: rgba(0, 13, 25, .95);
}


/* =========================================================
   CASUAL
========================================================= */

.rs-ai-casual {
    min-height: 330px;
    display: grid;
    grid-template-columns: 1fr .7fr;
    align-items: center;
}

.rs-ai-casual span {
    color: var(--rs-cyan);
    font-size: 16px;
    font-weight: 700;
}

.rs-ai-casual h2 {
    margin: 13px 0;
    font-size: 30px;
    line-height: 1.45;
}

.rs-ai-casual p {
    max-width: 600px;
    margin-bottom: 24px;
    color: var(--rs-text);
    line-height: 1.9;
}

.rs-ai-casual img {
    max-height: 290px;
    margin: auto;
}


/* =========================================================
   FINAL
========================================================= */

.rs-ai-final {
    margin-top: 35px;
    padding: 55px 0;
    border-top: 1px solid var(--rs-border);
    border-bottom: 1px solid var(--rs-border);
    background:
        radial-gradient(
            circle at 70% 50%,
            rgba(0, 110, 220, .22),
            transparent 40%
        ),
        rgba(1, 12, 24, .94);
}

.rs-ai-final__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.rs-ai-final h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.45;
}

.rs-ai-final p {
    margin: 15px 0 25px;
    color: var(--rs-text);
}

.rs-ai-final__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rs-ai-final img {
    max-height: 310px;
    margin-left: auto;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .rs-ai-hero__inner,
    .rs-ai-question-layout,
    .rs-ai-result-summary,
    .rs-ai-analyzing__body {
        grid-template-columns: 1fr;
    }

    .rs-ai-hero__visual {
        min-height: 470px;
    }

    .rs-ai-about-layout {
        grid-template-columns: 1fr;
    }

    .rs-ai-about-guide {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .rs-ai-about-guide img {
        width: 100px;
        margin: 0;
    }

    .rs-ai-five-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rs-ai-question-guide {
        display: none;
    }

    .rs-ai-answers {
        grid-template-columns: 1fr;
    }

    .rs-ai-answer {
        min-height: 70px;
        display: grid;
        grid-template-columns: 45px 1fr;
        align-items: center;
        text-align: left;
    }

    .rs-ai-answer span {
        margin: 0;
    }

    .rs-ai-insight-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .rs-ai-container {
        width: min(calc(100% - 28px), var(--rs-width));
    }

    .rs-ai-hero {
        min-height: auto;
        padding: 105px 0 40px;
    }

    .rs-ai-hero__inner {
        gap: 0;
    }

    .rs-ai-hero__title {
        font-size: 40px;
    }

    .rs-ai-hero__lead {
        font-size: 17px;
    }

    .rs-ai-hero__meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .rs-ai-hero__visual {
        min-height: 360px;
    }

    .rs-ai-hero__radar {
        top: 20px;
        right: 0;
        width: 210px;
        height: 170px;
        opacity: .65;
    }

    .rs-ai-panel {
        padding: 20px 16px;
    }

    .rs-ai-section-heading__number {
        font-size: 26px;
    }

    .rs-ai-section-heading h2 {
        font-size: 20px;
    }

    .rs-ai-five-grid,
    .rs-ai-three-grid,
    .rs-ai-related,
    .rs-ai-mail,
    .rs-ai-casual,
    .rs-ai-final__inner {
        grid-template-columns: 1fr;
    }

    .rs-ai-topic-card,
    .rs-ai-category-card {
        min-height: auto;
    }

    .rs-ai-question {
        padding: 18px 14px;
    }

    .rs-ai-question__top {
        grid-template-columns: auto 1fr;
    }

    .rs-ai-question__percent {
        display: none;
    }

    .rs-ai-question__title {
        font-size: 21px;
    }

    .rs-ai-question__footer {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 15px;
    }

    .rs-ai-score,
    .rs-ai-chart,
    .rs-ai-summary-text {
        min-height: auto;
    }

    .rs-ai-share,
    .rs-ai-mail {
        display: block;
    }

    .rs-ai-share__buttons {
        margin-top: 20px;
    }

    .rs-ai-mail__form {
        margin-top: 25px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .rs-ai-mail__form input {
        border-right: 1px solid rgba(0, 220, 255, .35);
    }

    .rs-ai-casual img {
        margin-top: 25px;
    }

    .rs-ai-final img {
        margin: 35px auto 0;
    }

}

/* =========================================================
   AI CAREER DIAGNOSIS
   HEADER INITIAL STATE
========================================================= */

/* PC / SP 共通：ページ最上部では透明 */
body.page-template-page-ai-career-diagnosis #header,
body.page-template-page-ai-career-diagnosis .l-header,
body.page-template-page-ai-career-diagnosis .header {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}


/* 内部要素の背景も透明 */
body.page-template-page-ai-career-diagnosis #header .header_inner,
body.page-template-page-ai-career-diagnosis .l-header .l-header__inner,
body.page-template-page-ai-career-diagnosis .header .header_inner {
    background: transparent;
}

/* =========================================================
   AI CAREER DIAGNOSIS
   HEADER
========================================================= */

body.page-template-page-ai-career-diagnosis-php #header,
body.page-template-page-ai-career-diagnosis #header {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;

    z-index: 9999;
}


/* WordPress管理バー表示時 */
body.admin-bar.page-template-page-ai-career-diagnosis-php #header,
body.admin-bar.page-template-page-ai-career-diagnosis #header {
    top: 32px;
}


.rs-ai-hero__radar {
    display: none;
}

.rs-ai-hero__visual {
    top: 25px;
}


/* =========================================================
   QUESTION INTERACTION
========================================================= */

.rs-ai-question {
    transition:
        opacity .15s ease,
        transform .15s ease;
}

.rs-ai-question.is-changing {
    opacity: 0;
    transform: translateX(8px);
}


.rs-ai-answer.is-selected {
    border-color: var(--rs-cyan);
    background:
        rgba(0, 130, 165, .28);

    box-shadow:
        0 0 16px rgba(0, 220, 255, .18),
        inset 0 0 20px rgba(0, 220, 255, .08);
}


.rs-ai-btn.is-disabled,
.rs-ai-btn:disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}


/* CATEGORY STATUS */

.rs-ai-category-card.is-strong {
    border-color:
        rgba(53, 223, 138, .65);
}

.rs-ai-category-card.is-stable {
    border-color:
        rgba(0, 220, 255, .55);
}

.rs-ai-category-card.is-watch {
    border-color:
        rgba(245, 184, 46, .55);
}

.rs-ai-category-card.is-review {
    border-color:
        rgba(255, 150, 60, .55);
}

.rs-ai-category-card.is-priority {
    border-color:
        rgba(255, 49, 95, .58);
}


/* =========================================================
   04 RESULT SUMMARY
========================================================= */

.rs-ai-result-panel {
    padding: 34px;
}

.rs-ai-result-summary {
    display: grid;
    grid-template-columns: 0.75fr 1.05fr 1.4fr;
    gap: 16px;
}

.rs-ai-result-score,
.rs-ai-result-radar,
.rs-ai-result-analysis {
    position: relative;
    min-height: 310px;
    padding: 24px;
    border: 1px solid rgba(0, 220, 255, .35);
    background:
        linear-gradient(
            145deg,
            rgba(5, 30, 50, .9),
            rgba(2, 13, 26, .95)
        );
    box-shadow:
        inset 0 0 30px rgba(0, 220, 255, .03);
}


/* SCORE */

.rs-ai-result-score {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rs-ai-result-score__label {
    margin: 0 0 15px;
    color: var(--rs-cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}

.rs-ai-result-score__number {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.rs-ai-result-score__number strong {
    font-size: 64px;
    line-height: 1;
    color: #fff;
}

.rs-ai-result-score__number span {
    margin-bottom: 7px;
    color: var(--rs-text);
    font-size: 15px;
}

.rs-ai-result-status {
    margin-top: 18px;
    color: var(--rs-amber);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .08em;
}

.rs-ai-result-score__note {
    margin: 20px 0 0;
    color: var(--rs-text);
    font-size: 12px;
    line-height: 1.8;
}


/* RADAR */

.rs-ai-result-radar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rs-ai-result-radar__title {
    margin-bottom: 10px;
    color: var(--rs-cyan);
    font-size: 10px;
    letter-spacing: .12em;
}

.rs-ai-radar-chart {
    width: 100%;
    max-width: 270px;
}

.rs-ai-radar-chart svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.rs-ai-radar-chart line {
    stroke: rgba(0, 220, 255, .18);
    stroke-width: 1;
}

.rs-ai-radar-grid {
    fill: none;
    stroke: rgba(0, 220, 255, .22);
    stroke-width: 1;
}

.rs-ai-radar-value {
    fill: rgba(0, 220, 255, .28);
    stroke: #00eaff;
    stroke-width: 2;
    filter:
        drop-shadow(
            0 0 7px rgba(0, 220, 255, .5)
        );
}


/* AI ANALYSIS */

.rs-ai-result-analysis {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rs-ai-result-analysis__label {
    color: var(--rs-cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}

.rs-ai-result-analysis h3 {
    margin: 15px 0 18px;
    font-size: 21px;
    line-height: 1.5;
}

.rs-ai-result-analysis p {
    margin: 0;
    color: var(--rs-text);
    font-size: 14px;
    line-height: 2;
}


/* SP */

@media (max-width: 900px) {

    .rs-ai-result-summary {
        grid-template-columns: 1fr;
    }

    .rs-ai-result-score,
    .rs-ai-result-radar,
    .rs-ai-result-analysis {
        min-height: auto;
    }

}


/* =========================================================
   04 RESULT SUMMARY - FINAL TUNING
========================================================= */

.rs-ai-result-summary {
    grid-template-columns: 0.72fr 1.15fr 1.35fr;
    gap: 18px;
}


/* LEFT SCORE */

.rs-ai-result-score {
    min-height: 360px;
    padding: 34px 28px;
    justify-content: center;
}

.rs-ai-result-score__label {
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: .16em;
}

.rs-ai-result-score__number strong {
    font-size: 78px;
    letter-spacing: -.04em;
}

.rs-ai-result-score__number span {
    margin-bottom: 9px;
    font-size: 17px;
}

.rs-ai-result-status {
    margin-top: 22px;
    font-size: 24px;
    text-shadow:
        0 0 12px rgba(245, 184, 46, .22);
}

.rs-ai-result-score__note {
    margin-top: 24px;
    font-size: 12px;
    line-height: 1.9;
}


/* CENTER RADAR */

.rs-ai-result-radar {
    min-height: 360px;
    padding: 24px 20px;
}

.rs-ai-result-radar__title {
    margin-bottom: 4px;
    font-size: 12px;
font-weight: 700;
}

.rs-ai-radar-chart {
    width: 100%;
    max-width: 340px;
}

.rs-ai-radar-chart svg {
    width: 100%;
}

.rs-ai-radar-grid {
    stroke: rgba(0, 220, 255, .30);
}

.rs-ai-radar-value {
    fill: rgba(0, 220, 255, .32);
    stroke-width: 2.4;
    filter:
        drop-shadow(
            0 0 10px rgba(0, 220, 255, .62)
        );
}


/* RIGHT ANALYSIS */

.rs-ai-result-analysis {
    min-height: 360px;
    padding: 34px;
}

.rs-ai-result-analysis__label {
    font-size: 12px;
}

.rs-ai-result-analysis h3 {
    margin: 18px 0 24px;
    font-size: 24px;
}

.rs-ai-result-analysis p {
    font-size: 15px;
    line-height: 2.05;
}


/* PANEL全体 */

.rs-ai-result-panel {
    padding: 38px;
    box-shadow:
        0 0 24px rgba(0, 220, 255, .11),
        inset 0 0 60px rgba(0, 150, 255, .025);
}


.rs-ai-result-score__number {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.rs-ai-result-score__number strong {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    line-height: 1;
}

.rs-ai-result-score__number span {
    white-space: nowrap;
    flex-shrink: 0;
}


/* =========================================================
   03 ANALYZING MOTION
========================================================= */

.rs-ai-ai-orb {
    position: relative;
    overflow: visible;
}

.rs-ai-ai-orb__core {
    position: relative;
    z-index: 3;

    width: 150px;
    height: 150px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--rs-cyan);

    font-size: 72px;
    font-weight: 700;

    background:
        radial-gradient(
            circle,
            rgba(0, 220, 255, .16),
            rgba(0, 220, 255, .03) 55%,
            transparent 72%
        );

    box-shadow:
        0 0 35px rgba(0, 220, 255, .24);

    animation:
        rsAiCorePulse 1.8s ease-in-out infinite;
}


.rs-ai-ai-orb__rings {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;
}

.rs-ai-ai-orb__rings span {
    position: absolute;

    border-radius: 50%;
    border: 1px solid rgba(0, 220, 255, .5);

    animation:
        rsAiRingRotate 5s linear infinite;
}

.rs-ai-ai-orb__rings span:nth-child(1) {
    width: 250px;
    height: 250px;

    border-top-color: var(--rs-cyan);
}

.rs-ai-ai-orb__rings span:nth-child(2) {
    width: 205px;
    height: 205px;

    border-right-color: var(--rs-cyan);

    animation-duration: 3.5s;
    animation-direction: reverse;
}

.rs-ai-ai-orb__rings span:nth-child(3) {
    width: 170px;
    height: 170px;

    border-bottom-color: var(--rs-cyan);

    animation-duration: 2.7s;
}


/* STEPS */

.rs-ai-analysis-steps {
    margin: 24px 0 0;
    padding: 0;

    list-style: none;
}

.rs-ai-analysis-steps li {
    position: relative;

    margin: 10px 0;
    padding-left: 42px;

    color: var(--rs-muted);

    transition:
        color .35s ease,
        transform .35s ease,
        opacity .35s ease;
}

.rs-ai-analysis-steps li span {
    position: absolute;
    left: 0;
    top: 0;

    width: 26px;
    height: 26px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(0, 220, 255, .22);

    color: var(--rs-muted);

    font-size: 10px;
}

.rs-ai-analysis-steps li.is-active {
    color: #fff;

    transform: translateX(5px);
}

.rs-ai-analysis-steps li.is-active span {
    color: var(--rs-cyan);

    border-color: var(--rs-cyan);

    box-shadow:
        0 0 12px rgba(0, 220, 255, .2);
}

.rs-ai-analysis-steps li.is-complete {
    color: var(--rs-cyan);
}


/* PROGRESS */

.rs-ai-analysis-progress {
    margin-top: 30px;
}

.rs-ai-analysis-progress__top {
    display: flex;
    justify-content: space-between;

    margin-bottom: 8px;

    color: var(--rs-cyan);

    font-size: 10px;
    letter-spacing: .12em;
}

.rs-ai-analysis-progress__track {
    height: 4px;

    background:
        rgba(255, 255, 255, .08);

    overflow: hidden;
}

.rs-ai-analysis-progress__bar {
    width: 0%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #00b6ff,
            #00eaff
        );

    box-shadow:
        0 0 14px rgba(0, 220, 255, .55);

    transition:
        width .45s ease;
}


/* ANIMATIONS */

@keyframes rsAiRingRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


@keyframes rsAiCorePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .92;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }

}

.rs-ai-radar-label {
    fill: #8fa8b8;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}

/* =====================================================
   RESTART BUTTON
===================================================== */

.rs-ai-restart-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    border: 1px solid rgba(95, 224, 255, 0.65);
    background: rgba(4, 19, 34, 0.55);

    color: #fff;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
margin-left: auto;
}

.rs-ai-restart-button:hover {
    border-color: rgba(95, 224, 255, 1);
    background: rgba(6, 31, 52, 0.8);

    box-shadow:
        0 0 18px rgba(95, 224, 255, 0.16);
}

.rs-ai-restart-button__icon {
    font-size: 18px;
    color: #6fe7ff;
}


/* =====================================================
   RESET MODAL
===================================================== */

.rs-ai-modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.rs-ai-modal[hidden] {
    display: none;
}

.rs-ai-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 6, 14, 0);
    backdrop-filter: blur(6px);
}

.rs-ai-modal__panel {
    position: relative;

    width: min(520px, 100%);

    padding: 38px;

    border: 1px solid rgba(78, 220, 255, 0.65);

    background:
        linear-gradient(
            180deg,
            rgba(7, 27, 45, 0.98),
            rgba(3, 16, 29, 0.98)
        );

    box-shadow:
        0 0 40px rgba(65, 215, 255, 0.12);

    color: #fff;
}

.rs-ai-modal__label {
    margin: 0 0 10px;

    color: #52e5ff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.rs-ai-modal__title {
    margin: 0 0 16px;

    font-size: 26px;
    line-height: 1.4;
}

.rs-ai-modal__text {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1.9;
}

.rs-ai-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;

    margin-top: 30px;
}

.rs-ai-modal__cancel,
.rs-ai-modal__confirm {
    padding: 12px 18px;

    border: 1px solid rgba(93, 220, 255, 0.45);

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.rs-ai-modal__cancel {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
}

.rs-ai-modal__confirm {
    border-color: #ff376f;

    background: #cf174d;
    color: #fff;
}

.rs-ai-modal__confirm:hover {
    background: #e51b59;
}






@media (max-width: 700px){
.rs-ai-result-summary{
 display: block;
}
}

@media (max-width: 700px) {
.rs-ai-result-panel{
padding: 20px 16px;
}
}


.is-shared-result .rs-ai-private-result {
    display: none;
}


.rs-ai-shared-label {
    display: inline-block;
    margin-bottom: 14px;

    padding-bottom: 5px;

    border-bottom: 1px solid rgba(82, 229, 255, 0.45);

    color: #52e5ff;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;

    line-height: 1;
}


.rs-ai-mail__privacy {
    margin-top: 8px;
    font-size: 12px;
}

.rs-ai-mail__privacy a {
    color: #5ce6ff;
    text-decoration: none;
font-size: 12px;
font-weight: 700;
}

.rs-ai-mail__privacy a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* =====================================================
   MAIL PRIVACY LINK
===================================================== */

.rs-ai-mail__privacy {
    margin-top: 8px;
    font-size: 12px;
}

.rs-ai-mail__privacy a {
    color: #5ce6ff;
    text-decoration: none;
    opacity: 0.85;
}

.rs-ai-mail__privacy a:hover {
    color: #5ce6ff;
    text-decoration: underline;
    opacity: 1;
}








/* =========================================================
   RELATED
========================================================= */

.rs-ai-related {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


/* CARD */

.rs-ai-related a {
    position: relative;

    min-height: 160px;
    padding: 24px 26px 22px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(0, 220, 255, .38);

    color: var(--rs-white);
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            rgba(5, 31, 51, .92),
            rgba(2, 15, 28, .96)
        );

    box-shadow:
        inset 0 0 30px rgba(0, 220, 255, .025);

    clip-path: polygon(
        10px 0,
        100% 0,
        100% calc(100% - 10px),
        calc(100% - 10px) 100%,
        0 100%,
        0 10px
    );

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}


/* HUD LINE */

.rs-ai-related a::after {
    content: "";

    position: absolute;
    top: 0;
    left: 18px;

    width: 54px;
    height: 2px;

    background: var(--rs-cyan);

    box-shadow:
        0 0 10px rgba(0, 220, 255, .5);
}


/* CARD NUMBER */

.rs-ai-related a::before {
    display: block;

    margin-bottom: 0px;

    color: var(--rs-cyan);

    font-size: 16px;
    font-weight: 700;
}

.rs-ai-related a:nth-child(1)::before {
    content: "01 / SYSTEM";
}

.rs-ai-related a:nth-child(2)::before {
    content: "02 / CAREER SUPPORT";
}


/* TITLE */

.rs-ai-related strong {
    display: block;

    margin-bottom: 8px;

    font-size: 19px;
    line-height: 1.45;
}


/* DESCRIPTION */

.rs-ai-related p {
    margin: 0;

    color: var(--rs-text);

    font-size: 16px;
    line-height: 1.7;
}


/* LINK */

.rs-ai-related span {
    margin-top: auto;
    padding-top: 18px;

    color: var(--rs-cyan);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
}


/* HOVER */

.rs-ai-related a:hover {
    transform: translateY(-2px);

    border-color: rgba(0, 234, 255, .8);

    background:
        linear-gradient(
            135deg,
            rgba(7, 42, 65, .96),
            rgba(2, 19, 34, .98)
        );

    box-shadow:
        0 0 22px rgba(0, 220, 255, .10),
        inset 0 0 35px rgba(0, 220, 255, .04);
}

@media (max-width: 700px){
.rs-ai-related a {
    min-height: 145px;
    padding: 22px 20px 20px;
}

.rs-ai-related strong {
    font-size: 17px;
}

.rs-ai-related span {
    padding-top: 15px;
}
}


.rs-ai-related a,
.rs-ai-related a:hover,
.rs-ai-related a:focus,
.rs-ai-related a:active {
    color: var(--rs-white);
}

.rs-ai-related a strong,
.rs-ai-related a:hover strong,
.rs-ai-related a:focus strong,
.rs-ai-related a:active strong {
    color: var(--rs-white);
}

.rs-ai-related a p,
.rs-ai-related a:hover p,
.rs-ai-related a:focus p,
.rs-ai-related a:active p {
    color: var(--rs-text);
}

.rs-ai-related a span,
.rs-ai-related a:hover span,
.rs-ai-related a:focus span,
.rs-ai-related a:active span {
    color: var(--rs-cyan);
}

.rs-ai-share-title span{
color: var(--rs-cyan);
    font-size: 16px;
    font-weight: 700;
}

.rs-ai-share h2 {
font-size: 19px;
}

.rs-ai-mail h2{
margin-top: 8px;
margin-bottom: 8px;
font-size: 19px;
}





.rs-ai-share__buttons button {
    min-height: 45px;
    padding: 0 18px;

    border: 1px solid var(--rs-border);

    color: var(--rs-white);

    background:
        linear-gradient(
            135deg,
            rgba(4, 30, 49, .82),
            rgba(1, 18, 31, .92)
        );

    cursor: pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        color .2s ease;
}

.rs-ai-share__buttons button:hover {
    transform: translateY(-2px);

    border-color: var(--rs-cyan);

    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(0, 108, 140, .38),
            rgba(2, 30, 49, .96)
        );

    box-shadow:
        0 0 16px rgba(0, 220, 255, .16),
        inset 0 0 18px rgba(0, 220, 255, .06);
}

.rs-ai-share__buttons button:active {
    transform: translateY(0);

    box-shadow:
        0 0 8px rgba(0, 220, 255, .12);
}

.rs-ai-share__buttons button:focus-visible {
    outline: none;
    border-color: var(--rs-cyan);

    box-shadow:
        0 0 0 2px rgba(0, 220, 255, .14);
}