/* ========================================
   JOLLYGOOD+ Top Page Styles
   v4 — 2-Track Redesign (個人 × 法人)
   spec: 00_プロジェクト総合仕様書.md Phase 2
======================================== */


/* ============================================
   Hero CTA Group — 2-Track Buttons
============================================ */
.hero__track-btn {
    padding: 14px 32px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__track-btn:hover {
    transform: translateY(-2px);
}

.hero__track-icon {
    font-size: 1.8rem;
}

.btn--ghost.hero__track-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn--ghost.hero__track-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}


/* ============================================
   Two Tracks — 個人 × 法人 選択セクション
============================================ */
.track-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.track-card {
    display: flex;
    flex-direction: column;
    padding: 48px 36px;
    border-radius: 24px;
    text-decoration: none;
    color: var(--jg-text);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.track-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.track-card:hover {
    transform: translateY(-6px);
}

/* Personal track */
.track-card--personal {
    background: linear-gradient(145deg, #f0f8ff 0%, #e8f4fd 100%);
    border: 1px solid rgba(0, 162, 250, 0.15);
    box-shadow: 0 4px 20px rgba(0, 162, 250, 0.08);
}

.track-card--personal::before {
    background: linear-gradient(135deg, var(--jg-primary), var(--jg-success));
}

.track-card--personal:hover {
    box-shadow: 0 16px 48px rgba(0, 162, 250, 0.18);
}

/* Business track */
.track-card--business {
    background: linear-gradient(145deg, #f5f0f8 0%, #eee8f5 100%);
    border: 1px solid rgba(27, 107, 147, 0.15);
    box-shadow: 0 4px 20px rgba(27, 107, 147, 0.08);
}

.track-card--business::before {
    background: linear-gradient(135deg, #1B6B93, #E8833A);
}

.track-card--business:hover {
    box-shadow: 0 16px 48px rgba(27, 107, 147, 0.18);
}

.track-card__icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.track-card--personal .track-card__icon-wrap {
    background: linear-gradient(135deg, rgba(0, 162, 250, 0.1), rgba(10, 191, 182, 0.1));
}

.track-card--business .track-card__icon-wrap {
    background: linear-gradient(135deg, rgba(27, 107, 147, 0.1), rgba(232, 131, 58, 0.1));
}

.track-card__icon {
    width: 40px;
    height: 40px;
}

.track-card--personal .track-card__icon {
    color: var(--jg-primary);
}

.track-card--business .track-card__icon {
    color: #1B6B93;
}

.track-card__label {
    font-family: var(--font-heading);
    font-size: var(--fs-small, 1.3rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.track-card--personal .track-card__label {
    color: var(--jg-primary);
}

.track-card--business .track-card__label {
    color: #1B6B93;
}

.track-card__title {
    font-size: var(--fs-h2, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.track-card__desc {
    font-size: var(--fs-body, 1.6rem);
    line-height: 1.8;
    color: var(--jg-text-sub);
    margin-bottom: 24px;
}

.track-card__features {
    list-style: none;
    margin-bottom: 28px;
}

.track-card__features li {
    font-size: var(--fs-body, 1.6rem);
    line-height: 2;
    color: var(--jg-text-sub);
}

.track-card__cta {
    display: inline-block;
    font-size: var(--fs-btn, 1.5rem);
    font-weight: 700;
    margin-top: auto;
    transition: transform 0.2s ease;
}

.track-card--personal .track-card__cta {
    color: var(--jg-primary);
}

.track-card--business .track-card__cta {
    color: #1B6B93;
}

.track-card:hover .track-card__cta {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .track-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .track-card {
        padding: 36px 28px;
    }

    .track-card__title {
        font-size: var(--fs-h3, 2.0rem);
    }

    .hero__cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__track-btn {
        justify-content: center;
    }
}


/* ============================================
   Hero Section
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 120px 24px 80px;
}

/* Hero background slider */
.hero__slider {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay for text readability */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
            rgba(13, 20, 32, 0.65) 0%,
            rgba(13, 20, 32, 0.5) 50%,
            rgba(13, 20, 32, 0.7) 100%);
}

.hero__logo {
    width: 240px;
    margin: 0 auto 32px;
    opacity: 0.95;
}

.hero__title {
    font-size: var(--fs-h1, 3.6rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}

.hero__em {
    background: linear-gradient(90deg, var(--jg-primary), var(--jg-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: var(--fs-body, 1.6rem);
    font-weight: 400;
    line-height: 1.9;
    opacity: 0.85;
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero__sub strong {
    color: var(--jg-success);
    -webkit-text-fill-color: var(--jg-success);
}

.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.hero__qr {
    display: flex;
    justify-content: center;
}

.hero__qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.hero__qr-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
}

.hero__qr-label {
    font-size: var(--fs-h3, 2.0rem);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.5;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.hero__scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.hero__scroll span::after {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 1.6s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}


/* ============================================
   Section Common
============================================ */
.section {
    padding: 100px 24px;
}

.section--gray {
    background: var(--jg-bg-gray);
}

.section--white {
    background: var(--jg-bg);
}

.section--dark {
    background: linear-gradient(180deg, var(--jg-navy), #0a1628);
    color: var(--jg-text-light);
}

.section__title {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 16px;
}

.section__title-en {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.33rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jg-primary);
    margin-bottom: 8px;
}

.section__title--light {
    color: var(--jg-text-light);
}

.section__title--light .section__title-en {
    color: var(--jg-blue-light);
}

.section__sub {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--jg-text-sub);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.section__sub--light {
    color: rgba(255, 255, 255, 0.7);
}

.text-accent {
    color: var(--jg-primary);
}


/* ============================================
   Achievements Strip
============================================ */
.achieve {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.achieve__num {
    font-family: var(--font-number);
    font-size: clamp(2.8rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--jg-primary);
    line-height: 1.2;
}

.achieve__unit {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--jg-text);
    margin-top: 2px;
}

.achieve__label {
    font-size: 1.4rem;
    color: var(--jg-text-sub);
    margin-top: 4px;
}


/* ============================================
   Concept Movie (2-column)
============================================ */
.cmovie {
    display: flex;
    align-items: center;
    gap: 48px;
}

.cmovie__text {
    flex: 0 0 280px;
}

.cmovie__heading {
    font-size: var(--fs-h2, 2.4rem);
    font-weight: 700;
    color: var(--jg-text);
    letter-spacing: 0.04em;
    margin: 0 0 12px;
}

.cmovie__desc {
    font-size: var(--fs-h3, 2.0rem);
    color: var(--jg-text-sub);
    line-height: 1.7;
    margin: 0;
}

.cmovie__video {
    flex: 1;
    max-width: 560px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #000;
    aspect-ratio: 16 / 9;
}

@supports not (aspect-ratio: 16 / 9) {
    .video-wrapper {
        padding-bottom: 56.25%;
        height: 0;
    }
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* YouTube SP button — hidden on PC, shown on SP */
.cmovie__yt-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    background: #FF0000;
    color: #fff;
    font-size: var(--fs-body, 1.6rem);
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.25);
    width: fit-content;
    margin: 0 auto;
}

.cmovie__yt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .cmovie {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .cmovie__text {
        flex: none;
        width: 100%;
    }

    /* SP: hide iframe, show YouTube button */
    .cmovie__video--pc {
        display: none;
    }

    .cmovie__yt-btn {
        display: inline-flex;
    }
}

/* ============================================
   Core Value Cards
============================================ */
.value-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background: var(--jg-bg);
    border-radius: 20px;
    padding: 0;
    border: 1px solid var(--glass-border-dark);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.value-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--jg-bg-gray);
}

.value-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.value-card__body {
    padding: 24px 24px 28px;
}

.value-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.value-card__text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--jg-text-sub);
    margin-bottom: 16px;
}

.value-card__badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--jg-bg-gray);
    font-size: var(--fs-h4, 1.4rem);
    font-weight: 500;
    color: var(--jg-text-sub);
}


/* ============================================
   Experience Prescription (体験処方箋)
============================================ */
.rx {
    max-width: 960px;
    margin: 0 auto;
}

/* --- Progress Bar --- */
.rx__progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.rx__progress-label {
    font-size: var(--fs-h3, 2.0rem);
    font-weight: 600;
    color: var(--jg-primary);
    white-space: nowrap;
    min-width: 80px;
}

.rx__progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.rx__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--jg-primary), var(--jg-success));
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Step Container --- */
.rx__step {
    animation: fadeInUp 0.5s var(--ease-out-expo);
}

.rx__question {
    font-size: var(--fs-h2, 2.4rem);
    font-weight: 700;
    color: var(--jg-text);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* --- Back Button --- */
.rx__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-size: var(--fs-h3, 2.0rem);
    font-weight: 500;
    color: var(--jg-text-sub);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.rx__back:hover {
    color: var(--jg-primary);
    background: rgba(0, 162, 250, 0.06);
}

/* --- Card Grid --- */
.rx__cards {
    display: grid;
    gap: 24px;
}

.rx__cards--3col {
    grid-template-columns: repeat(3, 1fr);
}

.rx__cards--2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
    margin: 0 auto;
}

/* --- Card Component --- */
.rx-card {
    display: flex;
    flex-direction: column;
    background: var(--jg-bg);
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rx-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 162, 250, 0.12);
    border-color: var(--jg-primary);
}

.rx-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--jg-bg-gray);
}

.rx-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rx-card:hover .rx-card__img img {
    transform: scale(1.05);
}

.rx-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.rx-card__icon {
    font-size: var(--fs-h1, 3.6rem);
    line-height: 1;
}

.rx-card__title {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--jg-text);
    line-height: 1.4;
}

.rx-card__desc {
    font-size: var(--fs-body, 1.6rem);
    color: var(--jg-text-sub);
    line-height: 1.6;
    margin: 0;
}

.rx-card__arrow {
    font-size: var(--fs-body, 1.6rem);
    font-weight: 600;
    color: var(--jg-primary);
    margin-top: auto;
    padding-top: 8px;
    transition: transform 0.2s;
}

.rx-card:hover .rx-card__arrow {
    transform: translateX(4px);
}

/* --- Result Panel --- */
.rx__result {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 40px;
    background: var(--jg-bg);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.rx__result-check {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--jg-success), #08d9c6);
    color: #fff;
    font-size: var(--fs-h1, 3.6rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.rx__result-title {
    font-size: var(--fs-h3, 2.0rem);
    font-weight: 700;
    color: var(--jg-text);
    line-height: 1.5;
    margin-bottom: 16px;
}

.rx__result-text {
    font-size: var(--fs-h2, 2.4rem);
    color: var(--jg-text-sub);
    line-height: 1.7;
    margin-bottom: 28px;
}

.rx__result-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    padding: 16px 32px;
    font-size: 1.6rem;
}

/* ============================================
   Result-C: Free Plan Rich UI
============================================ */
.rx-free {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 40px;
    background: var(--jg-bg);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* 1. Check Icon */
.rx-free__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--jg-primary), #0088dd);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Title */
.rx-free__title {
    font-size: var(--fs-h1, 3.6rem);
    font-weight: 800;
    color: var(--jg-text);
    line-height: 1.4;
    margin-bottom: 24px;
}

/* 3. Highlight Box */
.rx-free__highlight {
    border: 1.5px solid rgba(0, 162, 250, 0.2);
    background: rgba(0, 162, 250, 0.03);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.rx-free__highlight-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.rx-free__highlight-icons svg {
    opacity: 0.85;
}

.rx-free__highlight-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--jg-text);
    line-height: 1.6;
    margin: 0;
}

.rx-free__em {
    color: var(--jg-primary);
    font-weight: 700;
}

/* 4. Lead */
.rx-free__lead {
    font-size: var(--fs-h3, 2.0rem);
    color: var(--jg-text-sub);
    line-height: 1.8;
    margin-bottom: 28px;
}

/* 5. Download Area */
.rx-free__dl {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
    padding: 24px;
    background: var(--jg-bg-gray);
    border-radius: 16px;
}

.rx-free__dl-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rx-free__store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--jg-navy);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.rx-free__store-btn:hover {
    background: #2a3a5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 37, 54, 0.3);
}

.rx-free__store-btn span {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.3;
}

.rx-free__store-btn small {
    font-size: var(--fs-btn, 1.5rem);
    opacity: 0.8;
}

.rx-free__store-btn strong {
    font-size: var(--fs-h2, 2.4rem);
    font-weight: 700;
}

.rx-free__dl-qr {
    flex-shrink: 0;
    text-align: center;
}

.rx-free__qr-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.rx-free__qr-text {
    font-size: var(--fs-h4, 1.4rem);
    color: var(--jg-text-sub);
    line-height: 1.5;
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    justify-content: center;
}

.rx-free__qr-text svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* 6. Trust Badges */
.rx-free__trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 8px;
}

.rx-free__trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-h3, 2.0rem);
    color: var(--jg-text-sub);
}

.rx-free__trust-item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .rx-free {
        padding: 32px 20px;
    }

    .rx-free__title {
        font-size: var(--fs-h2, 2.4rem);
    }

    .rx-free__dl {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .rx-free__dl-buttons {
        width: 100%;
    }

    .rx-free__store-btn {
        width: 100%;
        justify-content: center;
    }

    .rx-free__trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* --- Restart Button --- */
.rx__restart {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    font-size: var(--fs-h3, 2.0rem);
    font-weight: 500;
    color: var(--jg-text-sub);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.rx__restart:hover {
    color: var(--jg-primary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .rx__cards--3col {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .rx__cards--2col {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .rx__question {
        font-size: var(--fs-body, 1.6rem);
        text-align: left;
    }

    .rx__result {
        padding: 32px 24px;
    }

    .rx__result-title {
        font-size: var(--fs-btn, 1.5rem);
    }

    .rx__result-cta {
        min-width: auto;
        width: 100%;
    }
}


/* ============================================
   Plans Grid
============================================ */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.plan-card {
    background: var(--jg-bg);
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid var(--glass-border-dark);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.plan-card--pro {
    border-color: var(--jg-primary);
    box-shadow: 0 4px 20px rgba(0, 162, 250, 0.12);
}

.plan-card__tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-en);
    font-size: var(--fs-h4, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    align-self: center;
}

.plan-card__tag--free {
    background: var(--jg-bg-gray);
    color: var(--jg-text-sub);
}

.plan-card__tag--pro {
    background: linear-gradient(135deg, var(--jg-primary), var(--jg-blue-light));
    color: #fff;
}

.plan-card__tag--biz {
    background: linear-gradient(135deg, var(--jg-navy), #2a3a5e);
    color: #fff;
}

.plan-card__tag--rental {
    background: var(--jg-bg-gray);
    color: var(--jg-text-sub);
}

.plan-card__title {
    font-size: var(--fs-btn, 1.5rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-card__price {
    font-family: var(--font-number);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--jg-primary);
    margin-bottom: 20px;
}

.plan-card__price span {
    font-size: var(--fs-h4, 1.4rem);
    font-weight: 400;
    color: var(--jg-text-sub);
}

.plan-card__features {
    text-align: left;
    margin-bottom: 24px;
    flex: 1;
}

.plan-card__features li {
    font-size: var(--fs-small, 1.3rem);
    line-height: 1.6;
    color: var(--jg-text-sub);
    padding: 4px 0;
}

.plan-note {
    text-align: center;
    margin-top: 32px;
}

.plan-note__link {
    font-size: var(--fs-h2, 2.4rem);
    font-weight: 500;
    color: var(--jg-primary);
    transition: opacity 0.2s;
}

.plan-note__link:hover {
    opacity: 0.7;
}


/* ============================================
   Results / 導入実績
============================================ */
.results-logos {
    max-width: 800px;
    margin: 0 auto 40px;
}

.results-logos__img {
    width: 100%;
    border-radius: 16px;
}

.results-doctors {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.doctor-card {
    text-align: center;
}

.doctor-card__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 3px solid var(--jg-bg-gray);
}

.doctor-card__name {
    font-size: var(--fs-h3, 2.0rem);
    font-weight: 500;
    color: var(--jg-text-sub);
}

.results-cta {
    text-align: center;
}


/* ============================================
   Future / VRCHEL
============================================ */
.future-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.future-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.future-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.future-card__icon {
    font-size: var(--fs-h2, 2.4rem);
    margin-bottom: 16px;
}

.future-card__title {
    font-size: var(--fs-btn, 1.5rem);
    font-weight: 700;
    color: var(--jg-text-light);
    margin-bottom: 12px;
}

.future-card__text {
    font-size: var(--fs-h3, 2.0rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}


/* ============================================
   Responsive: Tablet
============================================ */
@media (max-width: 1024px) {
    .hero__title {
        font-size: var(--fs-h2, 2.4rem);
    }

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

    .future-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Responsive: SP
============================================ */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .hero__logo {
        width: 180px;
    }

    .hero__title {
        font-size: var(--fs-h1, 3.6rem);
    }

    .hero__sub {
        font-size: var(--fs-h2, 2.4rem);
    }

    .section {
        padding: 60px 20px;
    }

    .section__title {
        font-size: clamp(2.0rem, 5vw, 2.4rem);
    }

    .section__sub {
        font-size: var(--fs-h3, 2.0rem);
        margin-bottom: 32px;
    }

    .achieve {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .achieve__num {
        font-size: 2.8rem;
    }

    .value-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 400px;
        margin: 0 auto;
    }

    .value-card__img {
        aspect-ratio: 1 / 1;
    }

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

    .results-doctors {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .future-cards {
        grid-template-columns: 1fr;
    }

    /* Sticky CTA用のbottom余白 */
    .glass-footer {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: var(--fs-h1, 3.6rem);
    }

    .hero__logo {
        width: 140px;
    }
}