/* ========================================
   Cyvate Brand Page Styles
   ======================================== */

:root {
    --asagi: #00A3A3;
    --asagi-light: #00E5E5;
    --asagi-lighter: #5FFFFF;
    --asagi-dark: #007777;
    --asagi-glow: rgba(0, 229, 229, 0.5);
    --white: #FFFFFF;
    --gray-50: #F5F8F8;
    --gray-100: #E0E8E8;
    --gray-300: #A0B0B0;
    --gray-400: #708080;
    --gray-500: #506060;
    --gray-600: #354545;
    --gray-700: #253535;
    --gray-800: #182525;
    --gray-900: #0C1515;
    --black: #050808;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    * { cursor: none; }
}

html, body {
    overflow: hidden;
    height: 100%;
    font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
    background: var(--black);
    color: var(--white);
}

/* ========== カスタムカーソル ========== */
.cursor {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 45px;
    height: 45px;
    border: 1px solid var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
}

.cursor.hover .cursor-ring {
    transform: translate(-50%, -50%) scale(1.8);
    background: rgba(255, 255, 255, 0.1);
}

/* ========== グローバルエフェクト ========== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========== 3Dステージ ========== */
.stage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1500px;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 6vw;
    opacity: 0;
    visibility: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    overflow: hidden;
}

.section.active {
    opacity: 1;
    visibility: visible;
}

.section-inner {
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ========== ナビゲーション ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 5vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    opacity: 0;
    animation: fadeIn 1s 0.3s forwards;
}

.logo svg {
    height: clamp(22px, 4vw, 30px);
    width: auto;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* プログレスバー */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--asagi), var(--asagi-light));
    z-index: 1001;
    transition: width 0.6s ease;
    box-shadow: 0 0 15px var(--asagi-glow);
}

/* プログレスドット */
.progress-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.progress-dot {
    width: 8px;
    height: 8px;
    background: transparent;
    border: 1px solid var(--gray-600);
    cursor: pointer;
    transition: all 0.4s ease;
    transform: rotate(45deg);
}

.progress-dot.active {
    border-color: var(--asagi-light);
    background: var(--asagi);
    box-shadow: 0 0 10px var(--asagi-glow);
}

.progress-dot.visited {
    border-color: var(--asagi);
}

/* ========== 背景要素 ========== */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.bg-orb-1 {
    top: 10%;
    left: 10%;
    width: 40vw;
    max-width: 400px;
    height: 40vw;
    max-height: 400px;
    background: var(--asagi);
    opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb-2 {
    bottom: 10%;
    right: 10%;
    width: 35vw;
    max-width: 350px;
    height: 35vw;
    max-height: 350px;
    background: var(--asagi-light);
    opacity: 0.1;
    animation: orbFloat 25s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* ========== セクション1: ヒーロー ========== */
.hero {
    background: var(--black);
}

.hero-content {
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.hero-eyebrow-text {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--asagi-light);
    font-size: clamp(0.6rem, 2vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: slideUp 0.5s 0.5s forwards;
}

.hero-eyebrow-line {
    width: clamp(25px, 6vw, 50px);
    height: 1px;
    background: var(--asagi);
    transform: scaleX(0);
    animation: lineGrow 0.4s 0.7s forwards;
}

@keyframes lineGrow {
    to { transform: scaleX(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-line-inner {
    display: block;
    transform: translateY(110%);
    animation: titleReveal 0.8s forwards;
    animation-delay: var(--delay);
}

@keyframes titleReveal {
    to { transform: translateY(0); }
}

.hero-highlight {
    background: linear-gradient(135deg, var(--asagi), var(--asagi-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 2.5vw, 1.2rem);
    color: var(--gray-400);
    font-weight: 300;
    opacity: 0;
    animation: slideUp 0.5s 0.8s forwards;
}

.hero-scroll {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: slideUp 0.5s 1s forwards, bounce 2s 1.5s infinite;
    z-index: 100;
    transition: opacity 0.3s ease;
}

.hero-scroll.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.hero-scroll-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--gray-500);
    text-transform: uppercase;
}

.hero-scroll-icon {
    width: 20px;
    height: 20px;
    border-right: 1px solid var(--asagi);
    border-bottom: 1px solid var(--asagi);
    transform: rotate(45deg);
    animation: scrollArrow 1.5s infinite;
}

@keyframes scrollArrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-3px, -3px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(3px, 3px); }
}

/* ========== セクション2: 問題提起 ========== */
.problem {
    background: var(--gray-900);
}

.section-text-center {
    text-align: center;
}

.problem-text {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.4;
}

.problem-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
}

.section.active .problem-text .char {
    animation: charIn 0.4s forwards;
    animation-delay: calc(var(--i) * 0.02s);
}

@keyframes charIn {
    to { opacity: 1; transform: translateY(0); }
}

.text-accent {
    color: var(--asagi-light);
}

/* ========== セクション3: 現実の費用 ========== */
.reality {
    background: var(--black);
}

.reality-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.reality-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--asagi);
    margin-bottom: 1rem;
    opacity: 0;
}

.section.active .reality-label {
    animation: slideUp 0.4s forwards;
}

.reality-question {
    font-size: clamp(1.5rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0;
}

.section.active .reality-question {
    animation: slideUp 0.4s 0.1s forwards;
}

.reality-title {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    color: var(--gray-200);
    opacity: 0;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(0, 188, 226, 0.3);
    border-radius: 50px;
    display: inline-block;
    background: rgba(0, 188, 226, 0.05);
}

.section.active .reality-title {
    animation: slideUp 0.4s 0.15s forwards;
}

.reality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.reality-card {
    background: rgba(0, 163, 163, 0.03);
    border: 1px solid rgba(0, 163, 163, 0.1);
    padding: clamp(20px, 3vw, 35px);
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.section.active .reality-card {
    animation: cardIn 0.4s forwards;
    animation-delay: calc(var(--i) * 0.08s + 0.2s);
}

@keyframes cardIn {
    to { opacity: 1; transform: translateY(0); }
}

.reality-card:hover {
    border-color: var(--asagi);
    transform: translateY(-3px);
}

.reality-card-label {
    font-size: clamp(0.65rem, 1.8vw, 0.8rem);
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.reality-card-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--asagi-light);
}

/* ========== セクション4: 疑問 ========== */
.question {
    background: var(--gray-900);
}

.question-text {
    text-align: center;
    font-size: clamp(1.8rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.3;
}

.question-text .line {
    display: block;
    overflow: hidden;
}

.question-text .line-inner {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

.section.active .question-text .line-inner {
    animation: lineIn 0.7s forwards;
    animation-delay: var(--delay);
}

@keyframes lineIn {
    to { transform: translateY(0); opacity: 1; }
}

/* ========== セクション5: 共感 ========== */
.empathy {
    background: var(--black);
}

.empathy-text {
    text-align: center;
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-300);
}

.empathy-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.section.active .empathy-text .word {
    animation: slideUp 0.5s forwards;
    animation-delay: calc(var(--i) * 0.05s);
}

.empathy-highlight {
    color: var(--white);
    font-weight: 700;
}

/* ========== セクション6: AI導線 ========== */
.ai-route {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
    overflow: hidden;
}

.ai-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 163, 163, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 163, 163, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0;
}

.section.active .ai-bg-grid {
    animation: fadeIn 1s 0.2s forwards;
}

.ai-path-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ai-path-svg {
    width: 100%;
    height: 100%;
}

.ai-path {
    fill: none;
    stroke: var(--asagi);
    stroke-width: 0.3;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    opacity: 0.4;
}

.section.active .ai-path {
    animation: pathDraw 1.2s 0.2s forwards ease-out;
}

.ai-path-2 {
    stroke: var(--asagi-light);
    opacity: 0.3;
    animation-delay: 0.7s !important;
}

.ai-path-3 {
    stroke: var(--asagi-dark);
    opacity: 0.5;
    animation-delay: 0.9s !important;
}

@keyframes pathDraw {
    to { stroke-dashoffset: 0; }
}

.ai-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ai-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--asagi);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 20px var(--asagi-glow);
}

.section.active .ai-node {
    animation: nodeAppear 0.5s forwards;
}

.ai-node-1 { top: 75%; left: 10%; animation-delay: 0.8s !important; }
.ai-node-2 { top: 55%; left: 30%; animation-delay: 1s !important; }
.ai-node-3 { top: 45%; left: 55%; animation-delay: 1.2s !important; }
.ai-node-4 { top: 30%; left: 75%; animation-delay: 1.4s !important; }

.ai-node-you {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--asagi-light);
    animation-delay: 1.6s !important;
}

.section.active .ai-node-you {
    animation: nodeAppear 0.4s 0.8s forwards, nodePulse 2s 1.2s infinite;
}

@keyframes nodeAppear {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

.ai-node-you {
    transform: translate(-50%, -50%) scale(0);
}

.section.active .ai-node-you {
    animation: nodeAppearCenter 0.4s 0.8s forwards, nodePulse 2s 1.2s infinite;
}

@keyframes nodeAppearCenter {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes nodePulse {
    0%, 100% { box-shadow: 0 0 20px var(--asagi-glow); }
    50% { box-shadow: 0 0 40px var(--asagi-glow), 0 0 60px var(--asagi-glow); }
}

.ai-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.ai-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--asagi);
    margin-bottom: 2rem;
    opacity: 0;
}

.section.active .ai-label {
    animation: slideUp 0.4s 0.1s forwards;
}

.ai-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gray-400);
    margin-bottom: 1rem;
    opacity: 0;
}

.section.active .ai-text {
    animation: slideUp 0.4s 0.2s forwards;
}

.ai-highlight-text {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.3;
    opacity: 0;
}

.section.active .ai-highlight-text {
    animation: slideUp 0.4s 0.3s forwards;
}

.ai-highlight {
    background: linear-gradient(135deg, var(--asagi), var(--asagi-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== セクション7: 質問 ========== */
.quiz {
    background: var(--gray-900);
}

.quiz-content {
    text-align: center;
}

.quiz-lead {
    font-size: clamp(1.3rem, 3.2vw, 1.8rem);
    color: var(--gray-100);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 500;
    opacity: 0;
}

.section.active .quiz-lead {
    animation: slideUp 0.6s 0.2s forwards;
}

.quiz-main {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    opacity: 0;
}

.section.active .quiz-main {
    animation: slideUp 0.6s 0.4s forwards;
}

.quiz-highlight {
    color: var(--asagi-light);
}

/* ========== セクション7: 回答 ========== */
.answer {
    background: var(--black);
}

.answer-content {
    text-align: center;
}

.answer-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(5rem, 20vw, 15rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--asagi), var(--asagi-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
}

.section.active .answer-number {
    animation: numberReveal 0.6s 0.1s forwards;
}

@keyframes numberReveal {
    0% { opacity: 0; transform: scale(0.5); filter: blur(20px); }
    60% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.answer-unit {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    opacity: 0;
}

.section.active .answer-unit {
    animation: slideUp 0.4s 0.4s forwards;
}

.answer-sub {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--gray-400);
    line-height: 1.8;
    opacity: 0;
}

.section.active .answer-sub {
    animation: slideUp 0.4s 0.5s forwards;
}

/* ========== セクション8: 提案 ========== */
.propose {
    background: var(--gray-900);
}

.propose-text {
    text-align: center;
    font-size: clamp(1.3rem, 4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.6;
    opacity: 0;
}

.section.active .propose-text {
    animation: slideUp 0.8s 0.3s forwards;
}

.propose-highlight {
    display: block;
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--asagi-light);
    margin-top: 0.5rem;
}

/* ========== セクション9: ソリューション ========== */
.solution {
    background: var(--white);
    color: var(--black);
}

.solution-content {
    text-align: center;
}

.solution-lead {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gray-500);
    margin-bottom: 2rem;
    opacity: 0;
}

.section.active .solution-lead {
    animation: slideUp 0.6s 0.2s forwards;
}

.solution-logo {
    opacity: 0;
    margin-bottom: 1.5rem;
}

.solution-logo svg {
    height: clamp(40px, 10vw, 80px);
    width: auto;
}

.section.active .solution-logo {
    animation: logoReveal 0.6s 0.2s forwards;
}

@keyframes logoReveal {
    0% { opacity: 0; transform: translateY(30px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.solution-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gray-600);
    opacity: 0;
}

.section.active .solution-tagline {
    animation: slideUp 0.4s 0.4s forwards;
}

/* ========== セクション10: コンセプト ========== */
.concept {
    background: var(--gray-50);
    color: var(--black);
}

.concept-content {
    text-align: center;
}

.concept-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    color: var(--asagi);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
}

.section.active .concept-label {
    animation: slideUp 0.6s 0.2s forwards;
}

.concept-text {
    font-size: clamp(1.6rem, 4.5vw, 3rem);
    font-weight: 300;
    line-height: 1.5;
}

.concept-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

.section.active .concept-text .word {
    animation: slideUp 0.5s forwards;
    animation-delay: calc(var(--i) * 0.08s + 0.4s);
}

.concept-text strong {
    font-weight: 900;
    color: var(--asagi);
}

/* ========== セクション11: CTA ========== */
.cta {
    background: var(--black);
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--asagi-glow) 0%, transparent 60%);
    opacity: 0.3;
    filter: blur(80px);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    overflow: hidden;
}

.cta-title-inner {
    display: block;
    transform: translateY(100%);
}

.section.active .cta-title-inner {
    animation: titleReveal 0.8s 0.3s forwards;
}

.cta-subtitle {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: var(--gray-400);
    margin-bottom: 3rem;
    opacity: 0;
}

.section.active .cta-subtitle {
    animation: slideUp 0.4s 0.2s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--asagi), var(--asagi-light));
    color: var(--black);
    padding: clamp(16px, 3vw, 24px) clamp(32px, 6vw, 56px);
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.section.active .cta-button {
    animation: slideUp 0.4s 0.3s forwards;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--asagi-glow);
}

.cta-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    opacity: 0;
}

.section.active .cta-note {
    animation: slideUp 0.6s 0.9s forwards;
}

/* ========== トランジション ========== */
.section[data-index="0"].exit-next { animation: exitZoom 0.6s forwards; }
.section[data-index="1"].exit-next { animation: exitRight 0.6s forwards; }
.section[data-index="2"].exit-next { animation: exitLeft 0.6s forwards; }
.section[data-index="3"].exit-next { animation: exitUp 0.6s forwards; }
.section[data-index="4"].exit-next { animation: exitDown 0.6s forwards; }
.section[data-index="5"].exit-next { animation: exitRotateY 0.6s forwards; }
.section[data-index="6"].exit-next { animation: exitScale 0.6s forwards; }
.section[data-index="7"].exit-next { animation: exitRotateX 0.6s forwards; }
.section[data-index="8"].exit-next { animation: exitZoom 0.6s forwards; }
.section[data-index="9"].exit-next { animation: exitUp 0.6s forwards; }
.section[data-index="10"].exit-next { animation: exitRight 0.6s forwards; }

@keyframes exitZoom { to { opacity: 0; transform: scale(0.8) translateZ(-300px); } }
@keyframes exitRight { to { opacity: 0; transform: translateX(30%) rotateY(30deg); } }
@keyframes exitLeft { to { opacity: 0; transform: translateX(-30%) rotateY(-30deg); } }
@keyframes exitUp { to { opacity: 0; transform: translateY(-30%) rotateX(15deg); } }
@keyframes exitDown { to { opacity: 0; transform: translateY(30%) rotateX(-15deg); } }
@keyframes exitRotateY { to { opacity: 0; transform: rotateY(90deg); } }
@keyframes exitScale { to { opacity: 0; transform: scale(1.5); filter: blur(20px); } }
@keyframes exitRotateX { to { opacity: 0; transform: rotateX(90deg); } }

.section[data-index="1"].enter-next { animation: enterZoom 0.6s forwards; }
.section[data-index="2"].enter-next { animation: enterLeft 0.6s forwards; }
.section[data-index="3"].enter-next { animation: enterRight 0.6s forwards; }
.section[data-index="4"].enter-next { animation: enterDown 0.6s forwards; }
.section[data-index="5"].enter-next { animation: enterUp 0.6s forwards; }
.section[data-index="6"].enter-next { animation: enterRotateY 0.6s forwards; }
.section[data-index="7"].enter-next { animation: enterScale 0.6s forwards; }
.section[data-index="8"].enter-next { animation: enterRotateX 0.6s forwards; }
.section[data-index="9"].enter-next { animation: enterZoom 0.6s forwards; }
.section[data-index="10"].enter-next { animation: enterLeft 0.6s forwards; }
.section[data-index="11"].enter-next { animation: enterFinal 0.7s forwards; }

@keyframes enterZoom { from { opacity: 0; transform: scale(1.2) translateZ(200px); } to { opacity: 1; transform: scale(1) translateZ(0); } }
@keyframes enterLeft { from { opacity: 0; transform: translateX(-30%) rotateY(-30deg); } to { opacity: 1; transform: translateX(0) rotateY(0); } }
@keyframes enterRight { from { opacity: 0; transform: translateX(30%) rotateY(30deg); } to { opacity: 1; transform: translateX(0) rotateY(0); } }
@keyframes enterDown { from { opacity: 0; transform: translateY(30%) rotateX(-15deg); } to { opacity: 1; transform: translateY(0) rotateX(0); } }
@keyframes enterUp { from { opacity: 0; transform: translateY(-30%) rotateX(15deg); } to { opacity: 1; transform: translateY(0) rotateX(0); } }
@keyframes enterRotateY { from { opacity: 0; transform: rotateY(-90deg); } to { opacity: 1; transform: rotateY(0); } }
@keyframes enterScale { from { opacity: 0; transform: scale(0.5); filter: blur(20px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes enterRotateX { from { opacity: 0; transform: rotateX(-90deg); } to { opacity: 1; transform: rotateX(0); } }
@keyframes enterFinal { 
    0% { opacity: 0; transform: scale(0.8); filter: blur(10px); }
    50% { filter: blur(0); }
    100% { opacity: 1; transform: scale(1); }
}

.section.exit-prev { animation: exitPrev 0.6s forwards; }
.section.enter-prev { animation: enterPrev 0.6s forwards; }

@keyframes exitPrev { to { opacity: 0; transform: translateZ(200px) scale(1.1); } }
@keyframes enterPrev { from { opacity: 0; transform: translateZ(-200px) scale(0.9); } to { opacity: 1; transform: translateZ(0) scale(1); } }

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
    .cursor, .cursor-dot, .cursor-ring { display: none !important; }
    .section { padding: 90px 5vw 70px; }
    .nav { padding: 15px 4vw; }
    .progress-dots { right: 10px; gap: 6px; }
    .progress-dot { width: 6px; height: 6px; }
    .reality-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-scroll { bottom: 20px; }
}

@media (max-width: 480px) {
    .section { padding: 80px 4vw 60px; }
    .reality-grid { gap: 8px; }
    .reality-card { padding: 15px 10px; }
}
