/* ==========================================
   ネオンインフォグラフィックシステム
   ネイビー×シアン×エメラルド×パープル
   ========================================== */

/* ==========================================
   1. カラーパレット（ネオン系）
   ========================================== */
:root {
    /* ネイビー〜ダークブルー背景 */
    --neo-navy: #0f172a;
    --neo-dark-blue: #1e293b;
    --neo-mid-blue: #334155;
    
    /* ネオンアクセント */
    --neo-cyan: #06b6d4;
    --neo-cyan-light: #22d3ee;
    --neo-emerald: #10b981;
    --neo-emerald-light: #34d399;
    --neo-purple: #8b5cf6;
    --neo-purple-light: #a78bfa;
    
    /* セカンダリー */
    --neo-orange: #f59e0b;
    --neo-red: #ef4444;
    --neo-pink: #ec4899;
    
    /* テキスト */
    --neo-text-primary: #f1f5f9;
    --neo-text-secondary: #cbd5e1;
    --neo-text-tertiary: #94a3b8;
    
    /* ボーダー・アウトライン */
    --neo-border-cyan: rgba(6, 182, 212, 0.5);
    --neo-border-emerald: rgba(16, 185, 129, 0.5);
    --neo-border-purple: rgba(139, 92, 246, 0.5);
    
    /* グロー効果 */
    --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.6);
    --glow-emerald: 0 0 20px rgba(16, 185, 129, 0.6);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.6);
    --glow-soft: 0 0 30px rgba(6, 182, 212, 0.3);
}

/* ==========================================
   2. ネオカード（統一ベース）
   背景と文字が同化しないルール適用
   ========================================== */
.neo-card {
    background: linear-gradient(135deg, #1e293b, #111827);
    border: 1px solid var(--neo-border-cyan);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: var(--glow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: var(--neo-text-secondary);
}

.neo-card:hover {
    border-color: var(--neo-cyan-light);
    box-shadow: var(--glow-cyan);
    transform: translateY(-4px);
}

.neo-card h3,
.neo-card h4 {
    color: var(--neo-text-primary);
}

.neo-card p {
    color: var(--neo-text-secondary);
}

.neo-card-sm {
    background: linear-gradient(135deg, #1e293b, #111827);
    border: 1px solid var(--neo-border-cyan);
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
    color: var(--neo-text-secondary);
}

/* エメラルドバリエーション */
.neo-card-emerald {
    border-color: var(--neo-border-emerald);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.neo-card-emerald:hover {
    border-color: var(--neo-emerald-light);
    box-shadow: var(--glow-emerald);
}

/* パープルバリエーション */
.neo-card-purple {
    border-color: var(--neo-border-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.neo-card-purple:hover {
    border-color: var(--neo-purple-light);
    box-shadow: var(--glow-purple);
}

/* ==========================================
   3. ネオアイコンバッジ
   ========================================== */
.neo-icon-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neo-cyan), var(--neo-emerald));
    color: white;
    font-size: 36px;
    box-shadow: var(--glow-cyan);
    margin: 0 auto 20px;
    position: relative;
    animation: pulse-breath 3s ease-in-out infinite;
}

@keyframes pulse-breath {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--glow-cyan);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(6, 182, 212, 0.9);
    }
}

.neo-icon-badge-sm {
    width: 56px;
    height: 56px;
    font-size: 24px;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

/* カラーバリエーション */
.neo-badge-cyan {
    background: linear-gradient(135deg, var(--neo-cyan), var(--neo-cyan-light));
    box-shadow: var(--glow-cyan);
}

.neo-badge-emerald {
    background: linear-gradient(135deg, var(--neo-emerald), var(--neo-emerald-light));
    box-shadow: var(--glow-emerald);
}

.neo-badge-purple {
    background: linear-gradient(135deg, var(--neo-purple), var(--neo-purple-light));
    box-shadow: var(--glow-purple);
}

.neo-badge-orange {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.neo-badge-red {
    background: linear-gradient(135deg, #ef4444, #f87171);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

/* ==========================================
   4. フロー矢印（発光ライン）
   ========================================== */
.neo-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--neo-cyan-light);
    filter: drop-shadow(var(--glow-cyan));
    animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% {
        opacity: 0.7;
        filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(6, 182, 212, 1));
    }
}

.neo-flow-line {
    position: relative;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--neo-cyan) 0%, 
        var(--neo-emerald) 50%, 
        var(--neo-purple) 100%);
    box-shadow: var(--glow-cyan);
    border-radius: 2px;
    overflow: hidden;
}

.neo-flow-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        transparent 100%);
    animation: flow-light 2.5s linear infinite;
}

@keyframes flow-light {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* ==========================================
   5. プラットフォームブロック（3D風）
   ========================================== */
.neo-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.neo-platform-blocks {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    justify-content: center;
}

.neo-block {
    width: 40px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--neo-cyan), var(--neo-cyan-light));
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
    position: relative;
}

.neo-block::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 4px;
    right: -4px;
    height: 4px;
    background: linear-gradient(135deg, var(--neo-cyan-light), var(--neo-emerald));
    border-radius: 2px 2px 0 0;
    opacity: 0.8;
}

.neo-block-1 { height: 50px; }
.neo-block-2 { height: 60px; }
.neo-block-3 { height: 55px; }

.neo-block-emerald {
    background: linear-gradient(135deg, var(--neo-emerald), var(--neo-emerald-light));
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.neo-block-orange {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* ==========================================
   6. 放射状図解（Hub & Spoke）
   ========================================== */
.neo-hub-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 60px 20px;
}

.neo-hub-center {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neo-purple), var(--neo-purple-light));
    border: 3px solid var(--neo-border-purple);
    box-shadow: var(--glow-purple);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.neo-hub-spokes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.neo-spoke-node {
    position: absolute;
    width: 140px;
    padding: 20px 16px;
    background: linear-gradient(135deg, #1e293b, #111827);
    border: 1px solid var(--neo-border-cyan);
    border-radius: 12px;
    box-shadow: var(--glow-soft);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--neo-text-primary);
}

.neo-spoke-node::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, var(--neo-cyan), transparent);
    box-shadow: var(--glow-cyan);
}

/* 4方向配置 */
.neo-spoke-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.neo-spoke-top::before {
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
}

.neo-spoke-right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.neo-spoke-right::before {
    top: 50%;
    right: 100%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
}

.neo-spoke-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.neo-spoke-bottom::before {
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
}

.neo-spoke-left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.neo-spoke-left::before {
    top: 50%;
    left: 100%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: left center;
}

/* ==========================================
   7. 警告カード（赤系）
   ========================================== */
.neo-warning-card {
    background: linear-gradient(135deg, #1e293b, #111827);
    border: 1px solid rgba(239, 68, 68, 0.6);
    border-top: 4px solid var(--neo-red);
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
    color: var(--neo-text-secondary);
}

.neo-warning-card:hover {
    border-color: rgba(239, 68, 68, 0.8);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
    transform: translateY(-4px);
}

.neo-warning-card h3 {
    color: var(--neo-text-primary);
}

/* ==========================================
   8. Before/After 矢印付きカード
   ========================================== */
.neo-ba-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin: 60px 0;
}

.neo-ba-before {
    background: linear-gradient(135deg, #1e293b, #111827);
    border: 2px solid rgba(239, 68, 68, 0.6);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.3);
    position: relative;
    color: var(--neo-text-secondary);
}

.neo-ba-before::before {
    content: 'BEFORE';
    position: absolute;
    top: -14px;
    left: 24px;
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

.neo-ba-before h4 {
    color: var(--neo-text-primary);
}

.neo-ba-after {
    background: linear-gradient(135deg, #1e293b, #111827);
    border: 2px solid var(--neo-border-emerald);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: var(--glow-emerald);
    position: relative;
    color: var(--neo-text-secondary);
}

.neo-ba-after::before {
    content: 'AFTER';
    position: absolute;
    top: -14px;
    left: 24px;
    background: linear-gradient(135deg, var(--neo-emerald), var(--neo-emerald-light));
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: var(--glow-emerald);
}

.neo-ba-after h4 {
    color: var(--neo-text-primary);
}

.neo-ba-arrow {
    font-size: 48px;
    color: var(--neo-emerald-light);
    filter: drop-shadow(var(--glow-emerald));
    animation: arrow-pulse 2s ease-in-out infinite;
}

/* ==========================================
   9. 簡易平面図（CSS図形）
   ========================================== */
.neo-layout-diagram {
    width: 100%;
    height: 200px;
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(30, 41, 59, 0.3));
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.neo-layout-box {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.neo-layout-box-chaos {
    background: linear-gradient(135deg, #64748b, #475569);
    border: 1px solid rgba(239, 68, 68, 0.4);
    transform: rotate(15deg);
}

.neo-layout-box-chaos:nth-child(2) {
    transform: rotate(-12deg);
}

.neo-layout-box-chaos:nth-child(3) {
    transform: rotate(8deg);
}

.neo-layout-box-organized {
    background: linear-gradient(135deg, var(--neo-cyan), var(--neo-cyan-light));
    border: 1px solid var(--neo-border-cyan);
    box-shadow: var(--glow-soft);
}

.neo-layout-arrow-chaos {
    position: absolute;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
    transform: rotate(-25deg);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.neo-layout-arrow-organized {
    position: absolute;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--neo-emerald), var(--neo-emerald-light));
    box-shadow: var(--glow-emerald);
}

.neo-layout-arrow-organized::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: -10px;
    font-size: 24px;
    color: var(--neo-emerald-light);
    filter: drop-shadow(var(--glow-emerald));
}

/* ==========================================
   10. ミニフローチャート（失敗理由用）
   ========================================== */
.neo-mini-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.neo-flow-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.neo-flow-box {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(135deg, #334155, #1e293b);
    border: 1px solid var(--neo-border-cyan);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--neo-text-primary);
    text-align: center;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.neo-flow-step-arrow {
    font-size: 20px;
    color: var(--neo-cyan-light);
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}

/* ==========================================
   11. ヒーローセクション（ネイビー統一）
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background: #0f172a;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
}

.hero-infographic {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #07193B;
    margin-bottom: 30px;
    line-height: 1.3;
    text-shadow: none;
}

.title-main {
    display: block;
    color: #07193B;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #e5e7eb;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature {
    padding: 30px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
    border-color: rgba(6, 182, 212, 0.5);
}

.hero-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f9fafb;
    line-height: 1.6;
    margin-top: 16px;
}

/* アイコンバッジカラー統一 */
.hero-feature .icon-badge-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.hero-feature .icon-badge-emerald {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.hero-feature .icon-badge-cyan {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.7);
}

.hero-cta .btn-secondary {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-cta .btn-secondary:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(6, 182, 212, 0.7);
    color: #ffffff;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 3px solid rgba(6, 182, 212, 0.7);
    border-radius: 20px;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #06b6d4;
    border-radius: 50%;
    animation: scroll 2s infinite;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        top: 10px;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* ==========================================
   12. 統一セクションスタイル
   ========================================== */
.section {
    background: linear-gradient(180deg, var(--neo-navy) 0%, var(--neo-dark-blue) 100%);
    padding: 80px 0;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, var(--neo-dark-blue) 0%, var(--neo-navy) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--neo-text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--neo-text-tertiary);
    font-weight: 400;
    line-height: 1.7;
}

/* ==========================================
   13. レスポンシブ
   ========================================== */
@media (max-width: 768px) {
    .neo-ba-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .neo-ba-arrow {
        transform: rotate(90deg);
    }
    
    .neo-hub-container {
        min-height: 600px;
    }
    
    .neo-spoke-node {
        width: 120px;
        padding: 16px 12px;
        font-size: 12px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}
