/* VTuber・イベント・店舗・観光・企業キャンペーン向けLPの共通デザイン基盤 */
.scene-landing {
    --scene-primary: var(--primary);
    --scene-accent: var(--secondary);
    --scene-soft: color-mix(in srgb, var(--scene-primary) 10%, #fff);
    --scene-paper: #faf7f2;
    --scene-surface: #fffdf9;
    --scene-ink: #292524;
    --scene-muted: #6b625e;
    --scene-band: var(--scene-accent);
    --scene-heading-font: var(--font-sans);
    --scene-card-radius: 1.15rem;
    --scene-shape-radius: 1.35rem;
    --scene-shape-rotate: -12deg;
    --scene-photo-rotate: 1.5deg;
    --scene-shadow-color: color-mix(in srgb, var(--scene-primary) 18%, transparent);
    background: var(--scene-paper);
    color: var(--scene-ink);
}

.scene-landing.scene-vtuber {
    --primary: #7c3aed;
    --primary-light: #9f7aea;
    --primary-dark: #6530c7;
    --secondary: #ff79a8;
    --scene-primary: #7c3aed;
    --scene-accent: #ff79a8;
    --scene-soft: #f5ecff;
    --scene-paper: #fff7fc;
    --scene-surface: #fffafd;
    --scene-ink: #352c45;
    --scene-muted: #746a80;
    --scene-band: #ffd86b;
    --scene-heading-font: "LINE Seed JP", var(--font-sans);
    --scene-card-radius: 1.4rem;
    --scene-shape-radius: 999px;
    --scene-shape-rotate: -10deg;
    --scene-photo-rotate: 2deg;
}

.scene-landing.scene-event {
    --primary: #087fac;
    --primary-light: #36a7d1;
    --primary-dark: #056187;
    --secondary: #ff8a3d;
    --scene-primary: #087fac;
    --scene-accent: #ff8a3d;
    --scene-soft: #e9f7fc;
    --scene-paper: #f4fbfe;
    --scene-surface: #fbfeff;
    --scene-ink: #20343d;
    --scene-muted: #63757d;
    --scene-band: #bde9f5;
    --scene-card-radius: 1rem;
    --scene-shape-radius: .9rem;
    --scene-shape-rotate: -7deg;
    --scene-photo-rotate: 1deg;
}

.scene-landing.scene-cafe {
    --primary: #8a6557;
    --primary-light: #ae8878;
    --primary-dark: #67483d;
    --secondary: #d97a4d;
    --scene-primary: #8a6557;
    --scene-accent: #d97a4d;
    --scene-soft: #f6eadd;
    --scene-paper: #fffaf0;
    --scene-surface: #fffdf8;
    --scene-ink: #463832;
    --scene-muted: #786861;
    --scene-band: #efd7ac;
    --scene-heading-font: "Noto Serif JP", serif;
    --scene-card-radius: 1.3rem;
    --scene-shape-radius: 999px;
    --scene-shape-rotate: -5deg;
    --scene-photo-rotate: -1.25deg;
}

.scene-landing.scene-tourism {
    --primary: #2f8267;
    --primary-light: #58a88c;
    --primary-dark: #23634e;
    --secondary: #5ba3bf;
    --scene-primary: #2f8267;
    --scene-accent: #5ba3bf;
    --scene-soft: #e8f5ee;
    --scene-paper: #f4faf5;
    --scene-surface: #fbfefa;
    --scene-ink: #293d35;
    --scene-muted: #64766e;
    --scene-band: #bee1cb;
    --scene-card-radius: 1.35rem;
    --scene-shape-radius: 58% 42% 52% 48%;
    --scene-shape-rotate: -9deg;
    --scene-photo-rotate: 1.25deg;
}

.scene-landing.scene-campaign {
    --primary: #1e3a5f;
    --primary-light: #315b88;
    --primary-dark: #112743;
    --secondary: #c9a96e;
    --scene-primary: #1e3a5f;
    --scene-accent: #c9a96e;
    --scene-soft: #e9edf3;
    --scene-paper: #f5f7fa;
    --scene-surface: #fff;
    --scene-ink: #1d2c3e;
    --scene-muted: #657180;
    --scene-band: #c9a96e;
    --scene-card-radius: .9rem;
    --scene-shape-radius: .5rem;
    --scene-shape-rotate: -4deg;
    --scene-photo-rotate: .5deg;
}

.scene-landing h1,
.scene-landing h2,
.scene-landing h3 {
    color: var(--scene-ink);
    font-family: var(--scene-heading-font);
}

.scene-landing .hero-section {
    position: relative;
    min-height: min(820px, calc(100svh - 72px));
    padding: clamp(5rem, 8vw, 7rem) 0;
    background:
        radial-gradient(circle at 2% 18%, color-mix(in srgb, var(--scene-accent) 18%, transparent) 0 clamp(11rem, 16vw, 15rem), transparent calc(clamp(11rem, 16vw, 15rem) + 1px)),
        radial-gradient(circle at 102% 85%, color-mix(in srgb, var(--scene-primary) 10%, transparent) 0 clamp(15rem, 24vw, 22rem), transparent calc(clamp(15rem, 24vw, 22rem) + 1px)),
        var(--scene-paper);
}

.scene-landing .hero-section::before,
.scene-landing .hero-section::after {
    content: '';
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.scene-landing .hero-section::before {
    top: 24%;
    left: clamp(7rem, 15vw, 13rem);
    width: clamp(12rem, 20vw, 19rem);
    height: clamp(3rem, 5vw, 4.5rem);
    border-radius: var(--scene-shape-radius);
    background: var(--scene-accent);
    opacity: .16;
    transform: rotate(var(--scene-shape-rotate));
    animation: sceneShapeDrift 8s ease-in-out infinite;
}

.scene-landing .hero-section::after {
    right: clamp(9rem, 18vw, 18rem);
    bottom: 15%;
    width: clamp(8rem, 11vw, 12rem);
    height: clamp(8rem, 11vw, 12rem);
    border: clamp(.9rem, 1.5vw, 1.5rem) solid var(--scene-primary);
    border-radius: var(--scene-shape-radius);
    background: transparent;
    opacity: .14;
    transform: rotate(14deg);
    animation: sceneRingDrift 9s ease-in-out infinite reverse;
}

.scene-campaign .hero-section {
    background:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
        radial-gradient(circle at 4% 20%, rgba(201, 169, 110, .13) 0 clamp(11rem, 16vw, 15rem), transparent calc(clamp(11rem, 16vw, 15rem) + 1px)),
        radial-gradient(circle at 101% 82%, rgba(74, 144, 217, .11) 0 clamp(15rem, 24vw, 22rem), transparent calc(clamp(15rem, 24vw, 22rem) + 1px)),
        #0f1a33;
    background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.scene-landing .hero-content {
    position: relative;
    z-index: 2;
}

.scene-landing .hero-title {
    color: var(--scene-primary);
    font-size: clamp(2.6rem, 4.3vw, 4rem);
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.2;
}

.scene-landing .hero-title::after {
    content: '';
    display: block;
    width: clamp(4rem, 8vw, 7rem);
    height: .35rem;
    margin-top: 1.2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--scene-primary), var(--scene-accent));
}

.scene-landing .hero-subtitle {
    color: var(--scene-primary);
    font-weight: 700;
}

.scene-landing .hero-description {
    color: var(--scene-muted);
}

.scene-landing .hero-badges .badge {
    border: 1px solid color-mix(in srgb, var(--scene-primary) 20%, transparent);
    background: color-mix(in srgb, var(--scene-soft) 78%, rgba(255, 255, 255, .75)) !important;
    color: var(--scene-primary) !important;
    box-shadow: 0 3px 12px color-mix(in srgb, var(--scene-primary) 8%, transparent);
}

.scene-landing .hero-image-wrapper {
    border: 1px solid color-mix(in srgb, var(--scene-primary) 13%, transparent);
    border-radius: .3rem;
    box-shadow:
        0 6px 24px color-mix(in srgb, var(--scene-primary) 13%, transparent),
        0 24px 56px color-mix(in srgb, var(--scene-primary) 11%, transparent);
    transform: rotate(var(--scene-photo-rotate));
}

.scene-campaign .hero-title {
    color: #fff;
}

.scene-campaign .hero-subtitle {
    color: var(--scene-accent);
}

.scene-campaign .hero-description,
.scene-campaign .trust-item {
    color: rgba(255, 255, 255, .72);
}

.scene-campaign .hero-section .btn-primary {
    background: var(--scene-accent);
    color: #14243a;
    box-shadow: 0 8px 26px rgba(201, 169, 110, .24);
}

.scene-campaign .hero-section .btn-primary:hover {
    background: #d8bb82;
    box-shadow: 0 12px 34px rgba(201, 169, 110, .32);
}

.scene-campaign .trust-item .material-icons-outlined {
    color: var(--scene-accent);
}

.scene-campaign .hero-title::after {
    background: linear-gradient(90deg, var(--scene-accent), #fff0c7);
}

.scene-campaign .hero-badges .badge {
    border-color: rgba(201, 169, 110, .28);
    background: rgba(201, 169, 110, .13) !important;
    color: #e2c68e !important;
}

.scene-campaign .hero-image-wrapper {
    border-color: rgba(201, 169, 110, .28);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .3);
}

.scene-campaign .lp-scroll-cue {
    color: rgba(255, 255, 255, .8);
}

.scene-landing .lp-marquee {
    border-color: color-mix(in srgb, var(--scene-primary) 15%, transparent);
    background: var(--scene-band);
}

.scene-landing .lp-marquee-sequence > span {
    color: var(--scene-ink);
}

.scene-landing .lp-marquee-sequence b {
    color: var(--scene-primary);
}

.scene-campaign .lp-marquee-sequence > span {
    color: #17263b;
}

.scene-landing .section {
    border-color: color-mix(in srgb, var(--scene-primary) 10%, transparent);
}

.scene-landing .features-section,
.scene-landing .pricing-section {
    background: var(--scene-surface);
}

.scene-landing .how-it-works-section,
.scene-landing .use-cases-section {
    background: var(--scene-paper);
}

.scene-landing .section-pattern::before {
    background-color: var(--scene-primary);
    opacity: .035;
}

.scene-landing .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.scene-landing .section-header h2::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: .28rem;
    margin: 1rem auto 0;
    border-radius: 999px;
    background: var(--scene-accent);
}

.scene-landing .section-header .text-muted {
    color: var(--scene-muted);
}

.scene-motion-ready .scene-reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition:
        opacity .7s cubic-bezier(.2, .8, .2, 1) var(--scene-reveal-delay, 0ms),
        transform .7s cubic-bezier(.2, .8, .2, 1) var(--scene-reveal-delay, 0ms);
}

.scene-motion-ready .scene-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scene-landing .feature-card,
.scene-landing .pricing-card {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--scene-primary) 12%, transparent);
    border-radius: var(--scene-card-radius);
    background: var(--scene-surface);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--scene-primary) 7%, transparent);
}

.scene-landing .feature-card::before,
.scene-landing .pricing-card::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: .3rem;
    background: linear-gradient(90deg, var(--scene-primary), var(--scene-accent));
    opacity: .78;
    transform: scaleX(.28);
    transform-origin: left;
    transition: transform .35s ease;
}

.scene-landing .feature-icon,
.scene-landing .use-case-icon {
    border-radius: var(--scene-card-radius);
    background: var(--scene-soft);
}

.scene-landing .feature-icon .material-icons-outlined,
.scene-landing .use-case-icon .material-icons-outlined {
    color: var(--scene-primary);
}

.scene-landing .step-number {
    background: var(--scene-primary);
    box-shadow: 0 7px 20px var(--scene-shadow-color);
}

.scene-landing .step-icon {
    border: 1px solid color-mix(in srgb, var(--scene-primary) 12%, transparent);
    background: var(--scene-surface);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--scene-primary) 9%, transparent);
}

.scene-landing .step-icon .material-icons-outlined,
.scene-landing .step-arrow {
    color: var(--scene-primary);
}

.scene-landing .use-case-item {
    border: 1px solid color-mix(in srgb, var(--scene-primary) 10%, transparent);
    border-radius: var(--scene-card-radius);
    background: var(--scene-surface);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--scene-primary) 6%, transparent);
}

.scene-landing .feature-description,
.scene-landing .step-description,
.scene-landing .use-case-description,
.scene-landing .pricing-description {
    color: var(--scene-muted);
}

.scene-landing .pricing-tab.active {
    border-color: var(--scene-primary);
    background: var(--scene-primary);
}

.scene-landing .pricing-tab:hover {
    border-color: var(--scene-primary);
    color: var(--scene-primary);
}

.scene-landing .price-amount,
.scene-landing .pricing-features .material-icons-outlined {
    color: var(--scene-primary);
}

.scene-landing .final-cta-section {
    background:
        radial-gradient(circle at 5% 20%, rgba(255, 255, 255, .11) 0 clamp(9rem, 15vw, 14rem), transparent calc(clamp(9rem, 15vw, 14rem) + 1px)),
        radial-gradient(circle at 98% 85%, color-mix(in srgb, var(--scene-accent) 28%, transparent) 0 clamp(12rem, 20vw, 19rem), transparent calc(clamp(12rem, 20vw, 19rem) + 1px)),
        var(--scene-primary);
}

.scene-landing .final-cta-section::after {
    content: '';
    position: absolute;
    right: clamp(7rem, 15vw, 14rem);
    bottom: 13%;
    width: clamp(7rem, 10vw, 10rem);
    height: clamp(7rem, 10vw, 10rem);
    border: 1rem solid rgba(255, 255, 255, .1);
    border-radius: var(--scene-shape-radius);
    transform: rotate(12deg);
    animation: sceneRingDrift 9s ease-in-out infinite;
}

.scene-landing .final-cta-section .cta-button {
    background: #fff;
    color: var(--scene-primary);
}

.scene-campaign .final-cta-section .cta-button {
    background: var(--scene-accent);
    color: #14243a;
}

@media (hover: hover) {
    .scene-landing .feature-card:hover,
    .scene-landing .pricing-card:hover,
    .scene-landing .use-case-item:hover {
        border-color: color-mix(in srgb, var(--scene-primary) 25%, transparent);
        box-shadow: 0 18px 42px color-mix(in srgb, var(--scene-primary) 12%, transparent);
        transform: translateY(-.4rem);
    }

    .scene-landing .feature-card:hover::before,
    .scene-landing .pricing-card:hover::before {
        transform: scaleX(1);
    }
}

@keyframes sceneShapeDrift {
    0%, 100% { transform: rotate(var(--scene-shape-rotate)) translateY(0); }
    50% { transform: rotate(calc(var(--scene-shape-rotate) + 5deg)) translateY(-1.25rem); }
}

@keyframes sceneRingDrift {
    0%, 100% { transform: rotate(14deg) translateY(0); }
    50% { transform: rotate(20deg) translateY(-1.1rem); }
}

@media (max-width: 900px) {
    .scene-landing .hero-section {
        min-height: 0;
        padding-bottom: 5.5rem;
    }

    .scene-landing .hero-title,
    .scene-landing .hero-subtitle,
    .scene-landing .hero-description {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .scene-landing .hero-title::after {
        margin-right: auto;
        margin-left: auto;
    }

    .scene-landing .hero-badges,
    .scene-landing .hero-cta,
    .scene-landing .hero-trust {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .scene-landing .hero-section {
        padding-top: 4rem;
    }

    .scene-landing .hero-section::before {
        top: 20%;
        left: 6.5rem;
    }

    .scene-landing .hero-section::after {
        right: 8.5rem;
        bottom: 12%;
    }

    .scene-landing .hero-title {
        font-size: clamp(2.35rem, 11vw, 3.15rem);
    }

    .scene-landing .final-cta-section::after {
        right: -3rem;
        bottom: -2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene-landing *,
    .scene-landing *::before,
    .scene-landing *::after {
        animation: none !important;
        transition: none !important;
    }

    .scene-motion-ready .scene-reveal,
    .scene-motion-ready .scene-reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
