/* ===== Thanks Page Styles ===== */
/* Redesigned: Japanese personal training LP style */

/* ===== Global Image Placeholder ===== */
.placeholder,
.training-gallery-item.placeholder,
.reason-image.placeholder,
.voice-avatar.placeholder,
.trainer-photo.placeholder {
    position: relative;
    background: #e8e8f0;
    border: 2px dashed rgba(255, 255, 255, 0.18);
}

.placeholder::after,
.training-gallery-item.placeholder::after,
.reason-image.placeholder::after,
.voice-avatar.placeholder::after,
.trainer-photo.placeholder::after {
    content: "\1F4F7  IMAGE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.12em;
    white-space: nowrap;
    pointer-events: none;
}

/* Small placeholders get smaller text */
.voice-avatar.placeholder::after {
    font-size: 0.5rem;
    content: "\1F4F7";
}

.trainer-photo.placeholder::after {
    font-size: 0.625rem;
    content: "\1F4F7  PHOTO";
}

/* Image load error fallback */
.training-gallery-item img[src=""],
.trainer-photo img[src=""],
img.img-error {
    display: none;
}


/* ===== Section Background Rhythm ===== */
/* Alternate between white and light gray for visual rhythm */
#training {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

#calorie {
    background: #F5F5F8;
}

#reasons {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

#comparison {
    background: #F5F5F8;
}

#pricing {
    background: #FFFFFF;
}

#voice {
    background: #F5F5F8;
    position: relative;
    overflow: hidden;
}

#trainer {
    background: #FFFFFF;
}

#flow {
    background: #F5F5F8;
    position: relative;
    overflow: hidden;
}

#faq {
    background: #FFFFFF;
}

#gym-interior {
    background: #F5F5F8;
}

#access {
    background: #FFFFFF;
}

/* ===== Decorative Pseudo-Elements ===== */
/* Ensure ALL content stays above decorations */
.section > .container,
.member-data-section > .container,
.pain-section > .container,
.cta-section > .container,
.ba-section > .container,
.pricing-section > .container {
    position: relative;
    z-index: 2;
}

/* #reasons: Red glow circle, top-left */
#reasons::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,42,42,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* #training: Navy circle ring, bottom-right */
#training::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(27,37,100,0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* #voice: Vertical red accent line, left edge */
#voice::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 4px;
    background: linear-gradient(180deg, transparent, rgba(212,42,42,0.15), transparent);
    pointer-events: none;
    z-index: -1;
}

/* .member-data-section: Large subtle ring, center */
.member-data-section {
    position: relative;
    overflow: hidden;
}

.member-data-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* #flow: Dot pattern, top-right */
#flow::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
    z-index: -1;
}

/* ===== Mobile adjustments for decorations ===== */
@media (max-width: 480px) {
    #reasons::before {
        width: 200px;
        height: 200px;
        top: -60px;
        left: -60px;
    }

    #training::after {
        width: 140px;
        height: 140px;
        bottom: -30px;
        right: -30px;
    }

    .member-data-section::after {
        width: 280px;
        height: 280px;
    }

    #flow::before {
        width: 60px;
        height: 60px;
        top: 20px;
        right: 10px;
    }
}


/* ===== Section Spacing Override ===== */
.section {
    padding: 48px 0;
}


/* ===== Section Number Decoration ===== */
/* Large decorative number behind section labels */
.section-label {
    position: relative;
}


/* ===== Heading Marker Underline ===== */
/* Red marker-style underline on .accent text */
.section-title .accent {
    color: var(--red);
    position: relative;
    display: inline;
    background-image: linear-gradient(transparent 60%, rgba(212, 42, 42, 0.25) 60%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-bottom: 2px;
}


/* ===== FV Hero Image (Thanks) ===== */
.thanks-fv {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.thanks-fv-image {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.thanks-fv-img {
    width: 100%;
    height: auto;
    display: block;
}

/* FV placeholder when image is missing */
.thanks-fv-image:empty,
.thanks-fv-image:has(img[src=""]) {
    aspect-ratio: 16/9;
    background: #e8e8f0;
    border: 2px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ===== 1. Result Hero ===== */
.result-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0 64px;
    min-height: 420px;
}

.result-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3);
}

/* Placeholder when hero bg is missing */
.result-hero:not(:has(.result-hero-bg)) {
    background: linear-gradient(160deg, #1B2564 0%, #0e1240 60%, #1a0a0a 100%);
}

.result-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 18, 0.3) 0%, rgba(10, 10, 18, 0.7) 100%);
}

/* When no hero background image, make overlay transparent */
.result-hero:not(:has(.result-hero-bg)) .result-hero-overlay {
    background: none;
}

.result-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.result-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 8px 24px;
    border: 2px solid;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    animation: fadeIn 0.8s ease;
}

/* Pre-quiz hint (shown above the result hero until the visitor completes the quiz) */
.result-pre-hint {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.35);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    animation: peekPulseLight 2.4s ease-in-out infinite;
}

@keyframes peekPulseLight {
    0%, 100% { background: rgba(255, 255, 255, 0.10); }
    50%      { background: rgba(255, 255, 255, 0.20); }
}

body.quiz-completed .result-pre-hint {
    display: none;
}

.result-type-name {
    font-size: clamp(1.875rem, 8vw, 2.75rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: var(--space-md);
    animation: fadeIn 1s ease 0.2s both;
}

.result-tagline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
    animation: fadeIn 1s ease 0.4s both;
}

.result-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.85;
    max-width: 440px;
    margin: 0 auto var(--space-xl);
    animation: fadeIn 1s ease 0.6s both;
}

.result-plan {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    display: inline-block;
    animation: fadeIn 1s ease 0.8s both;
}

.result-plan-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.result-plan-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ===== 2, 7, 12. CTA Sections ===== */
.cta-section {
    padding: 40px 0;
    background: #F5F5F8;
}

.cta-box {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: 48px var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Subtle top accent line on CTA */
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    border-radius: 0 0 2px 2px;
}

.cta-free {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-sm);
}

.cta-free-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--red-bright);
    line-height: 1;
}

.cta-catch {
    font-size: clamp(1.25rem, 5vw, 1.625rem);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.cta-sub-text {
    font-size: 0.9375rem;
    color: var(--gray-dark);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.03em;
}

.cta-btn {
    width: 100%;
    max-width: 380px;
}

.cta-form-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: #555;
    opacity: 0.7;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

/* CTA Badges (斜めバッジ風) */
.cta-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.cta-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--white);
    background: var(--navy);
    padding: 6px 16px;
    transform: skewX(-6deg);
    border-left: 3px solid #C7A33E;
}

.form-note {
    font-size: 0.75rem;
    color: var(--gray-dark);
    text-align: center;
    margin-top: var(--space-md);
}

.recaptcha-note {
    font-size: 0.6875rem;
    margin-top: var(--space-sm);
    line-height: 1.6;
}

.recaptcha-note a {
    color: var(--gray-dark);
    text-decoration: underline;
}

/* Hide reCAPTCHA badge (required text added instead) */
.grecaptcha-badge {
    visibility: hidden !important;
}

.cta-campaign-note {
    width: calc(100% + var(--space-lg) * 2);
    margin: var(--space-lg) calc(-1 * var(--space-lg)) calc(-1 * var(--space-xl));
    padding: 10px var(--space-lg);
    background: #f0f0f0;
    color: #333;
    font-size: 0.75rem;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.cta-form-link:hover {
    opacity: 1;
}

.cta-form-link:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
    border-radius: 2px;
}


/* ===== 3. Training Content ===== */
.training-menu-name {
    font-size: clamp(1rem, 4.5vw, 1.375rem);
    font-weight: 900;
    color: #1a1a1a;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: linear-gradient(135deg, rgba(27, 37, 100, 0.08), rgba(212, 42, 42, 0.05));
    border: 2px solid rgba(212, 42, 42, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    position: relative;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.training-menu-name::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--red);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

/* Training gallery: larger images, not tiny thumbnails */
.training-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.training-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #e8e8f0;
}

.training-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.training-gallery-item:hover img {
    transform: scale(1.03);
}

/* Placeholder for missing training images */
.training-gallery-item.placeholder {
    background: #e8e8f0;
    border: 2px dashed rgba(255, 255, 255, 0.18);
    position: relative;
}

.training-gallery-item.placeholder::after {
    content: "\1F4F7  TRAINING IMAGE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.1em;
}

/* 2-column for wider screens */
@media (min-width: 480px) {
    .training-gallery {
        grid-template-columns: 1fr 1fr;
    }

    /* Make first image span full width */
    .training-gallery-item:first-child {
        grid-column: 1 / -1;
    }
}

.training-video {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.training-video video {
    width: 100%;
    display: block;
}

.training-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.training-point {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    padding-top: calc(var(--space-lg) + 24px);
    background: #F9F9FC;
    border-radius: var(--radius-md);
    border: 1px solid #e0e0e0;
    transition: border-color 0.3s ease;
    position: relative;
    overflow: visible;
}

.training-point::before {
    content: attr(data-num);
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 2.25rem;
    font-weight: 900;
    font-style: normal;
    color: var(--red);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.training-point:hover {
    border-color: rgba(212, 42, 42, 0.3);
}

.training-point-num {
    display: none;
}

.training-point p {
    font-size: 0.9375rem;
    line-height: 1.8;
}


/* ===== 4. Calorie Chart ===== */
.calorie-chart {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.calorie-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.calorie-label {
    flex-shrink: 0;
    width: 80px;
    font-size: 0.8125rem;
    color: var(--gray);
    text-align: right;
    white-space: nowrap;
    font-weight: 500;
}

.calorie-bar-wrap {
    flex: 1;
    background: #eeeeee;
    border-radius: var(--radius-full);
    height: 44px;
    overflow: visible;
    position: relative;
}

.calorie-bar {
    height: 100%;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

/* Highlight KICK-NESS bar */
.calorie-row:last-child .calorie-bar {
    box-shadow: 0 2px 16px rgba(212, 42, 42, 0.35);
}

.calorie-row:last-child .calorie-label {
    color: #1a1a1a;
    font-weight: 700;
}

.calorie-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}


/* ===== 5. Reasons ===== */
.reasons-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.reason-card {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Reason image */
.reason-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e8e8f0;
    position: relative;
}

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

/* Reason body */
.reason-body {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
}

.reason-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--red);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: var(--space-sm);
    display: block;
    letter-spacing: -0.02em;
    font-style: italic;
}

.reason-card h3 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: var(--space-md);
    line-height: 1.45;
}

.reason-en {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--red-bright);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-md);
    border-bottom: 2px solid var(--red);
    display: inline-block;
}

.reason-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: var(--space-md);
}

.reason-tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.reason-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red);
    background: rgba(212, 42, 42, 0.08);
    border: 1px solid rgba(212, 42, 42, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
}


/* ===== 6. Comparison Table ===== */
.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--space-md));
    padding: 0 var(--space-md);
    position: relative;
    /* Scroll hint: fade on right edge when scrollable */
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* Scroll indicator for mobile */
.compare-table-wrap::after {
    content: '';
    position: sticky;
    right: 0;
    top: 0;
    display: block;
    width: 32px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(245, 245, 248, 0.8));
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

@media (min-width: 560px) {
    .compare-table-wrap::after {
        display: none;
    }
}

.compare-table {
    width: 100%;
    min-width: 500px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
}

.compare-table th,
.compare-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.compare-table th {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #555;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
    background: #F9F9FC;
}

.compare-item {
    text-align: left;
    font-weight: 600;
    color: var(--gray);
    white-space: nowrap;
    font-size: 0.8125rem;
    padding-left: var(--space-lg);
}

.compare-table td {
    white-space: normal;
}

/* KICK-NESS highlight column */
.compare-highlight {
    color: #1a1a1a;
    font-weight: 700;
    background: rgba(212, 42, 42, 0.06);
    position: relative;
}

th.compare-highlight {
    color: var(--red-bright);
    font-size: 1rem;
    background: rgba(212, 42, 42, 0.15);
    border-bottom: 2px solid var(--red);
}

td.compare-highlight {
    font-size: 0.9375rem;
}

/* Left border accent on highlight column (td only, th already has bottom border) */
td.compare-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--red);
}


/* ===== 2.5 Pain Points ===== */
.pain-section {
    background: #F5F5F8;
    padding: 48px 0 0 !important;
    position: relative;
    overflow: hidden;
}

.pain-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pain-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%);
}

.pain-section > .container {
    position: relative;
    z-index: 1;
}

.pain-heading {
    font-size: clamp(1.375rem, 5.5vw, 1.75rem);
    font-weight: 900;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
}

.pain-accent {
    color: var(--red-bright);
    font-size: 1.3em;
    position: relative;
}

.pain-accent::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 0;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

/* Checklist card */
.checklist-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    margin-bottom: 0;
    position: relative;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
}

/* 左の赤ライン装飾 */
.checklist-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: var(--space-md);
    bottom: var(--space-md);
    width: 4px;
    background: var(--red);
    border-radius: 0 2px 2px 0;
}

.checklist-label {
    font-size: 0.8125rem;
    font-weight: 900;
    color: #999;
    letter-spacing: 0.15em;
    font-style: italic;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid #ddd;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.checklist li {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    padding-left: var(--space-xl);
    position: relative;
}

.checklist li::before {
    content: '\2611';
    position: absolute;
    left: 0;
    top: -1px;
    font-size: 1.25rem;
    color: var(--red);
}

/* Answer bar */
.pain-answer-bar {
    background: var(--red);
    padding: var(--space-lg) var(--space-lg);
    margin-top: var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 2;
}

.pain-answer-bar p {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.4;
}

.pain-answer-bar strong {
    font-size: 1.25em;
}

.pain-answer-big {
    font-size: 1.75rem;
    font-weight: 900;
    display: block;
    margin-top: var(--space-xs);
    letter-spacing: 0.05em;
}

/* pain responsive removed - using checklist now */

/* ===== 8. Testimonials (Slider) ===== */
.voice-slider {
    margin: 0 calc(-1 * var(--space-md));
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.voice-track {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 var(--space-md);
}

.voice-track::-webkit-scrollbar {
    display: none;
}

.voice-card {
    flex: 0 0 85%;
    max-width: 340px;
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.voice-photo {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e8e8f0;
}

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

.voice-card-body {
    padding: var(--space-lg);
}

.voice-stars {
    color: #F5A623;
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: var(--space-sm);
}

.voice-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.voice-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.voice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s;
}

.voice-dot.active {
    background: var(--red);
    width: 24px;
    border-radius: 4px;
}

.voice-text {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.85;
}


/* ===== 9. Trainers ===== */
.trainer-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.trainer-card {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg) 0;
    overflow: hidden;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.trainer-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: #e8e8f0;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

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

/* Trainer photo placeholder */
.trainer-photo:not(:has(img)),
.trainer-photo:has(img[src=""]) {
    border: 3px dashed rgba(255, 255, 255, 0.18);
    position: relative;
}

.trainer-photo:not(:has(img))::after,
.trainer-photo:has(img[src=""])::after {
    content: "\1F4F7";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
}

.trainer-role {
    font-size: 0.8125rem;
    color: var(--red-bright);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.trainer-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: var(--space-md);
}

.trainer-desc {
    font-size: 0.9375rem;
    line-height: 1.85;
    color: var(--gray);
    max-width: 400px;
}

.trainer-video-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gray);
    text-align: center;
    margin-top: var(--space-lg);
}

.trainer-video {
    width: calc(100% + var(--space-lg) * 2);
    margin: var(--space-xl) calc(-1 * var(--space-lg)) 0;
    overflow: hidden;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.trainer-video video {
    width: 100%;
    display: block;
}

/* Desktop */
@media (min-width: 540px) {

    .trainer-desc {
        max-width: none;
    }
}


/* ===== 10. Flow Timeline ===== */
.flow-timeline {
    position: relative;
    padding-left: 48px;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--red) 0%, rgba(212, 42, 42, 0.1) 100%);
}

.flow-step {
    position: relative;
    padding-bottom: var(--space-xl);
}

.flow-step:last-child {
    padding-bottom: 0;
}

.flow-step-marker {
    position: absolute;
    left: -48px;
    top: 0;
    width: 36px;
    height: 36px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 0 0 4px #F5F5F8, 0 0 0 5px rgba(212, 42, 42, 0.2);
}

.flow-step-content {
    padding: var(--space-md) var(--space-lg);
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid #e0e0e0;
}

.flow-step-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.flow-time {
    font-size: 0.75rem;
    color: var(--red-bright);
    font-weight: 700;
}

.flow-step-content p {
    font-size: 0.875rem;
    line-height: 1.8;
}


/* ===== 11. FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-color: rgba(212, 42, 42, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    cursor: pointer;
    list-style: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: background 0.2s;
}

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

.faq-question:hover {
    background: #F9F9FC;
}

.faq-question:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: -2px;
    border-radius: var(--radius-md);
}

.faq-q-mark {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
}

.faq-toggle {
    margin-left: auto;
    font-size: 1.25rem;
    color: var(--gray);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: flex;
    gap: var(--space-md);
    padding: 0 var(--space-lg) var(--space-lg);
    padding-left: calc(var(--space-lg) + 32px + var(--space-md));
    animation: fadeIn 0.3s ease;
}

.faq-a-mark {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
}

.faq-answer p {
    font-size: 0.9375rem;
    line-height: 1.85;
}


/* ===== 12. Contact Form ===== */
.form-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    color: var(--gray-dark);
    font-size: 0.875rem;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.contact-form {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.contact-form .btn-primary {
    align-self: center;
    width: 100%;
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-sm);
}

.form-schedule-note {
    font-size: 0.8125rem;
    color: #555;
    text-align: center;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: #F5F5F8;
    border-radius: var(--radius-sm);
    border: 1px solid #e0e0e0;
}

.form-datetime {
    display: flex;
    gap: var(--space-sm);
}

.form-datetime input[type="date"],
.form-datetime select {
    flex: 1;
    padding: 14px 12px;
    min-height: 52px;
    background: #FFFFFF;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    color: #1a1a1a;
    font-size: 1rem;
    font-family: var(--font);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-datetime input[type="date"]:focus,
.form-datetime select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(212, 42, 42, 0.15);
}

.required {
    font-size: 0.6875rem;
    color: var(--red-bright);
    margin-left: 4px;
    vertical-align: middle;
}

.form-group input {
    width: 100%;
    padding: 16px 18px;
    min-height: 52px;
    background: #FFFFFF;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    color: #1a1a1a;
    font-size: 1rem;
    font-family: var(--font);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
    color: #aaa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(212, 42, 42, 0.15);
}


/* ===== 13. Access ===== */
.access-info {
    margin-bottom: var(--space-xl);
}

.access-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.access-row {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
    border-bottom: 1px solid #e0e0e0;
}

.access-row:last-child {
    border-bottom: none;
}

.access-row dt {
    flex-shrink: 0;
    width: 80px;
    font-size: 1rem;
    font-weight: 900;
    color: #1a1a1a;
}

.access-row dd {
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.6;
}

.access-tel {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 900;
    color: #FFFFFF;
    background: var(--navy);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    margin-top: 4px;
    transition: background 0.2s;
}

.access-tel:hover {
    background: #2a3a7a;
}

.access-tel:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 260px;
}


/* ===== 14. Footer ===== */
.footer {
    padding: var(--space-3xl) 0 calc(var(--space-3xl) + 70px);
    border-top: 1px solid #e0e0e0;
    background: #F5F5F8;
}

.footer-logo {
    width: 150px;
    margin: 0 auto var(--space-lg);
    opacity: 0.7;
}

.footer-address {
    font-size: 0.8125rem;
    color: var(--gray-dark);
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--gray-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gray);
}

.footer-links a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
    border-radius: 2px;
}

.footer-link-dot {
    width: 3px;
    height: 3px;
    background: var(--gray-dark);
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--gray-dark);
}


/* ===== Floating CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) var(--space-md) calc(var(--space-md) + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.98) 25%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.floating-cta.visible {
    transform: translateY(0);
}

.floating-btn {
    display: flex;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 16px 24px;
    font-size: 1rem;
}

.floating-line-img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    flex-shrink: 0;
}


/* ===== Placeholder Images (for client review) ===== */
.placeholder-img {
    background: rgba(255, 255, 255, 0.04);
    border: 2px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Reason card image placeholders */
.reason-img.placeholder-img {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

/* Voice avatar placeholders */
.voice-avatar.placeholder-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: var(--space-sm);
    font-size: 0.5rem;
}

/* Trainer photo placeholder (onerror fallback) */
.trainer-photo.placeholder-img {
    border: 3px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* ===== 3. Training Phase (3 levels carousel) ===== */
.training-phase {
    margin-bottom: var(--space-2xl);
}

.training-phase:last-child {
    margin-bottom: 0;
}

.training-phase-header {
    margin-bottom: var(--space-lg);
}

.training-phase-level {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    background: var(--red);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.training-phase[data-phase="intermediate"] .training-phase-level {
    background: #E86A3E;
}

.training-phase[data-phase="advanced"] .training-phase-level {
    background: #1B2564;
}

.training-phase-title {
    font-size: clamp(1.25rem, 4.5vw, 1.5rem);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.training-phase-audience {
    background: #F5F5F8;
    border-left: 3px solid var(--red);
    border-radius: 8px;
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-md) 0;
}

.training-phase[data-phase="intermediate"] .training-phase-audience {
    border-left-color: #E86A3E;
}

.training-phase[data-phase="advanced"] .training-phase-audience {
    border-left-color: #1B2564;
}

.training-phase-audience-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-xs);
    letter-spacing: 0.04em;
}

.training-phase-audience-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.training-phase-audience-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #333;
}

.training-phase-audience-list li + li {
    margin-top: 4px;
}

.training-phase-audience-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-weight: 900;
}

.training-phase[data-phase="intermediate"] .training-phase-audience-list li::before {
    color: #E86A3E;
}

.training-phase[data-phase="advanced"] .training-phase-audience-list li::before {
    color: #1B2564;
}

.training-phase-summary {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    margin-top: var(--space-sm);
}

.training-phase-summary-label {
    font-weight: 700;
    color: #1a1a1a;
}

/* Phase Slider (multi-instance carousel) */
.phase-slider {
    margin: 0 calc(-1 * var(--space-md));
    overflow: hidden;
}

.phase-track {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 var(--space-md);
}

.phase-track::-webkit-scrollbar {
    display: none;
}

.phase-slide {
    flex: 0 0 78%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

.phase-slide-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #e8e8f0;
    position: relative;
}

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

.phase-slide-img.placeholder-img::after {
    content: "\1F4F7  IMAGE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8125rem;
    color: rgba(0, 0, 0, 0.28);
    letter-spacing: 0.12em;
}

.phase-slide-label {
    margin-top: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
}

.phase-slide-desc {
    margin-top: 6px;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #555;
    padding: 0 var(--space-xs);
}

.phase-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.phase-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}

.phase-dot.active {
    background: var(--red);
    width: 24px;
    border-radius: 4px;
}

@media (min-width: 640px) {
    .phase-slide {
        flex: 0 0 45%;
    }
}

/* ===== 11.5 Gym Interior Gallery ===== */
/* Gallery Slider */
.gallery-slider {
    margin: 0 calc(-1 * var(--space-md));
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 var(--space-md);
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 90%;
    scroll-snap-align: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s;
}

.gallery-dot.active {
    background: var(--red);
    width: 24px;
    border-radius: 4px;
}

@media (min-width: 640px) {
    .gym-gallery {
        gap: var(--space-lg);
    }

    .reason-img.placeholder-img {
        height: 200px;
    }
}


/* ===== CTA Strong (参考サイト風) ===== */
.cta-box-strong {
    background: var(--white);
    border: none;
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    color: #333;
    position: relative;
    overflow: hidden;
}

/* 上部のキラキラ光るライン */
.cta-box-strong::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--red), var(--navy), var(--red), transparent);
    animation: ctaShine 3s ease-in-out infinite;
}

@keyframes ctaShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-off-label {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a6e, var(--navy));
    color: var(--white);
    font-size: 1.375rem;
    font-weight: 900;
    padding: 12px 32px;
    margin-bottom: var(--space-lg);
    position: relative;
    clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
    animation: labelPop 0.6s ease both;
    letter-spacing: 0.03em;
}

@keyframes labelPop {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.cta-off-label strong {
    color: #FFD700;
    font-size: 1.2em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.cta-price-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.cta-price-before {
    text-align: center;
}

.cta-price-before-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 2px;
}

.cta-price-before-num {
    font-size: 2.25rem;
    font-weight: 900;
    color: #333;
    position: relative;
    display: inline-block;
}

/* 手書き風の取り消し線 */
.cta-price-before-num::after {
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    top: 50%;
    height: 4px;
    background: var(--red);
    transform: rotate(-8deg);
    border-radius: 2px;
}

.cta-price-before-num small {
    font-size: 0.5em;
}

.cta-price-arrow {
    font-size: 2rem;
    color: #999;
    animation: arrowBounce 1.2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.cta-price-after {
    display: flex;
    align-items: baseline;
}

.cta-price-after-num {
    font-size: 5rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    text-shadow: 2px 2px 0 rgba(212, 42, 42, 0.15);
}

.cta-price-after-yen {
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
}

.cta-trial-detail {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #333;
    border: 2px solid #333;
    padding: 8px 20px;
    margin-bottom: var(--space-xl);
    background: rgba(0, 0, 0, 0.02);
}

.cta-micro {
    font-size: 1rem;
    font-weight: 700;
    color: #555;
    margin-bottom: var(--space-lg);
}

.cta-micro strong {
    color: var(--red);
    font-size: 1.3em;
}

.cta-btn-big {
    padding: 22px 32px;
    font-size: 1.25rem;
    font-weight: 900;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 100%;
    gap: var(--space-md);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
    animation: btnPulseGreen 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.cta-btn-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.5);
}

/* ボタン上を流れる光 */
.cta-btn-big::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: btnShimmer 2.5s ease-in-out infinite;
}

@keyframes btnShimmer {
    0% { left: -100%; }
    60% { left: 150%; }
    100% { left: 150%; }
}

@keyframes btnPulseGreen {
    0%, 100% { box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4); }
    50% { box-shadow: 0 6px 32px rgba(6, 199, 85, 0.6), 0 0 0 6px rgba(6, 199, 85, 0.1); }
}

.cta-btn-line-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* CTA Image Assets */
.cta-img-full {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto var(--space-lg);
}

.cta-img-micro {
    width: 80%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto var(--space-lg);
}

.cta-img-24h {
    width: 60%;
    max-width: 240px;
    height: auto;
    display: block;
    margin: var(--space-md) auto 0;
}

/* CTA Image Button */
.cta-img-link {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: btnFloat 2.5s ease-in-out infinite;
}

@keyframes btnFloat {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 4px 16px rgba(6, 199, 85, 0.3)); }
    50% { transform: translateY(-6px); filter: drop-shadow(0 10px 24px rgba(6, 199, 85, 0.5)); }
}

.cta-img-link:focus-visible {
    outline: 3px solid var(--line-green);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

.cta-img-btn {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

@keyframes btnPulseImg {
    0%, 100% { filter: drop-shadow(0 4px 16px rgba(6, 199, 85, 0.3)); }
    50% { filter: drop-shadow(0 4px 28px rgba(6, 199, 85, 0.5)); }
}

.cta-24h {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--line-green);
    margin-top: var(--space-md);
    letter-spacing: 0.05em;
}

.cta-box-strong .cta-form-link {
    color: #666;
}

/* ===== 4.5 Member Data (White Card Stats) ===== */
.member-data-section {
    background: #FFFFFF;
}

.stat-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    color: #222;
}

.stat-card-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    padding: 5px 18px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.stat-card-body {
    margin-bottom: var(--space-md);
}

.stat-card-sub {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 2px;
}

.stat-card-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

.stat-card-unit {
    font-size: 1.5rem;
}

.stat-card-num-text {
    font-size: 3rem;
    font-weight: 900;
    color: #222;
    line-height: 1;
}

/* Split layout for male/female */
.stat-card-body-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.stat-card-half {
    flex: 1;
}

.stat-card-divider {
    width: 1px;
    height: 60px;
    background: #ddd;
}

/* Bar */
.stat-card-bar {
    height: 12px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.stat-card-bar-dual {
    display: flex;
}

.stat-card-bar-fill {
    height: 100%;
    width: 0;
    background: var(--red);
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-card-bar-fill.animated {
    width: var(--bar-width);
}

/* Fallback: show bars if JS doesn't add .animated class */
@media (prefers-reduced-motion: reduce) {
    .stat-card-bar-fill,
    .stat-age-bar {
        width: var(--bar-width);
        transition: none;
    }
}

/* Legend */
.stat-card-legend {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    font-size: 0.8125rem;
    color: #666;
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Age bars */
.stat-card-ages {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: left;
}

.stat-age-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.stat-age-label {
    width: 48px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #444;
    text-align: right;
    flex-shrink: 0;
}

.stat-age-bar-wrap {
    flex: 1;
    height: 20px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.stat-age-bar {
    height: 100%;
    width: 0;
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-age-bar.animated {
    width: var(--bar-width);
}

.stat-age-pct {
    width: 36px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #444;
    flex-shrink: 0;
}

/* Summary box */
.member-data-cta {
    margin-top: var(--space-2xl);
}

.member-data-summary-box {
    background: #F5F5F8;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.member-data-summary-box p {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.7;
}

.member-data-summary-box strong {
    color: var(--red-bright);
}

.member-data-summary-sub {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: var(--gray) !important;
    margin-top: var(--space-sm);
}

/* ===== 6.5 Pricing ===== */
.pricing-section {
    background: #F5F5F8;
    position: relative;
    overflow: hidden;
    padding-bottom: 0 !important;
}

/* Shared section background image style */
.section-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    filter: grayscale(100%);
}

.pricing-section > .container {
    position: relative;
    z-index: 2;
}

.pricing-cta {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    z-index: 2;
    border-radius: 0;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.97);
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin: 0 calc(-1 * var(--space-md));
}

.pricing-header {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: rgba(0, 0, 0, 0.03);
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.pricing-from {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: var(--space-xs);
}

.pricing-yen {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--red);
}

.pricing-num {
    font-size: 4rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

.pricing-unit {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--red);
}

.pricing-note {
    font-size: 0.8125rem;
    color: #888;
}

.pricing-benefits {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pricing-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-benefit:last-child {
    border-bottom: none;
}

.pricing-benefit-check {
    color: var(--line-green);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-benefit strong {
    color: var(--red);
    font-weight: 700;
}

.pricing-benefit-note {
    font-size: 0.75rem;
    color: #888;
    padding: 0 var(--space-md) var(--space-md);
    margin-top: calc(-1 * var(--space-sm));
    line-height: 1.5;
}

.pricing-before {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.pricing-arrow-text {
    font-size: 1rem;
    color: #999;
    text-decoration: none;
    margin: 0 var(--space-xs);
}

.pricing-enrollment {
    font-size: clamp(0.8125rem, 3.5vw, 1rem);
    white-space: nowrap;
}

.pricing-campaign {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-top: var(--space-sm);
}

/* Plan section titles */
.pricing-plan-title {
    font-size: 1.125rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-left: var(--space-sm);
    border-left: 4px solid var(--red);
}

/* Plan tables */
.pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: var(--space-md);
}

.pricing-plan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.pricing-plan-table th {
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    background: #F5F5F8;
    padding: var(--space-md);
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}

.pricing-plan-table td {
    padding: var(--space-md);
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: 500;
    vertical-align: middle;
}

.pricing-plan-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-td-price {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1rem;
    white-space: nowrap;
}

.pricing-td-unit {
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
}

.pricing-sub {
    display: block;
    font-size: 0.6875rem;
    color: #888;
    font-weight: 400;
    margin-top: 2px;
}

/* Popular row */
.pricing-row-popular {
    background: rgba(212, 42, 42, 0.04);
}

.pricing-row-popular td {
    border-bottom-color: rgba(212, 42, 42, 0.15);
}

.pricing-popular-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-right: 4px;
    vertical-align: middle;
    letter-spacing: 0.03em;
}

/* Other pricing */
.pricing-other {
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #FFFFFF;
}

.pricing-other-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid #eee;
    font-size: 0.9375rem;
    color: #333;
}

.pricing-other-row:last-child {
    border-bottom: none;
}

.pricing-other-price {
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

/* ===== 7.5 Before/After ===== */
.ba-section {
    background: #FFFFFF;
}

.ba-card {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ba-photos {
    display: flex;
    align-items: center;
}

.ba-photo {
    flex: 1;
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    background: #e8e8f0;
}

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

.ba-photo-label {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.ba-arrow {
    flex-shrink: 0;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--red);
    background: #FFFFFF;
}

.ba-detail {
    padding: var(--space-lg);
}

.ba-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: var(--space-xs);
}

.ba-stats {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.ba-stat {
    flex: 1;
    background: #F5F5F8;
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    text-align: center;
}

.ba-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-dark);
    margin-bottom: 4px;
}

.ba-stat-value {
    display: block;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 4px;
    white-space: nowrap;
}

.ba-stat-value strong {
    color: #1a1a1a;
    font-weight: 900;
}

.ba-stat-change {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--red-bright);
}

.ba-comment {
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.7;
}

/* ===== Scroll Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cta-box-strong::before,
    .cta-btn-big::after {
        animation: none;
    }

    .btn-pulse,
    .cta-img-link {
        animation: none;
    }
}


/* ===== Responsive ===== */

/* --- 320px: Narrow phones --- */
@media (max-width: 374px) {
    .section {
        padding: 48px 0;
    }

    /* Calorie chart: stack label above bar on very narrow screens */
    .calorie-row {
        flex-wrap: wrap;
    }

    .calorie-label {
        width: 100%;
        text-align: left;
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .calorie-bar-wrap {
        height: 32px;
    }

    /* Stat card numbers scale down */
    .stat-card-num {
        font-size: 2.75rem;
    }

    .stat-card-num-text {
        font-size: 2.5rem;
    }

    /* Pricing number scale down */
    .pricing-num {
        font-size: 3rem;
    }

    /* CTA badges wrap better */
    .cta-badge {
        font-size: 0.8125rem;
        padding: 6px 14px;
    }

    /* Access dt narrower */
    .access-row {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .access-row dt {
        width: auto;
    }

    /* Footer links stack */
    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .footer-link-dot {
        display: none;
    }

    /* CTA off label smaller */
    .cta-off-label {
        font-size: 1.125rem;
        padding: 10px 24px;
    }

    /* FAQ answer padding tighter */
    .faq-answer {
        padding-left: var(--space-lg);
    }
}

/* --- Up to 480px: Standard narrow --- */
@media (max-width: 480px) {
    .section {
        padding: 64px 0;
    }

    .calorie-label {
        width: 80px;
        font-size: 0.8125rem;
    }

    .calorie-bar-wrap {
        height: 38px;
    }

    .reason-num {
        font-size: 2.25rem;
    }

    .trainer-photo {
        width: 150px;
        height: 150px;
    }

    .trainer-card {
        flex-direction: column;
        text-align: center;
    }

    /* Trainer info center alignment on mobile */
    .trainer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .trainer-desc {
        text-align: center;
    }
}

@media (min-width: 640px) {
    .section {
        padding: 96px 0;
    }

    .reason-num {
        font-size: 3rem;
    }

    .voice-card {
        flex-wrap: nowrap;
    }

    .calorie-bar-wrap {
        height: 48px;
    }

    .calorie-value {
        font-size: 0.9375rem;
    }
}
