/* ==========================================
   統一デザインシステム - 物流DX / 成長型DX LP
   半アイソメトリック3Dイラストスタイル
   ========================================== */

/* ==========================================
   1. カラーパレット
   ========================================== */
:root {
    /* メインカラー */
    --main-blue: #2D7FF9;
    --emerald: #24C4A8;
    --highlight-cyan: #72F5FF;
    --accent-orange: #FF933B;
    
    /* Before/After用カラー */
    --before-red: #FF6B6B;
    --before-orange: #FF933B;
    --after-blue: #2D7FF9;
    --after-emerald: #24C4A8;
    
    /* 背景グラデーション */
    --bg-gradient-start: #F1F7FE;
    --bg-gradient-end: #FFFFFF;
    
    /* ネイビー〜ブルーグラデーション（ヒーロー用） */
    --hero-dark: #0A1628;
    --hero-mid: #1E3A5F;
    --hero-light: #2D7FF9;
    
    /* ニュートラル */
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-tertiary: #718096;
    --border-light: #E2E8F0;
    --border-medium: #CBD5E0;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(45, 127, 249, 0.08);
    --shadow-md: 0 4px 16px rgba(45, 127, 249, 0.12);
    --shadow-lg: 0 8px 32px rgba(45, 127, 249, 0.16);
    --shadow-xl: 0 12px 48px rgba(45, 127, 249, 0.2);
    
    /* 角丸 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* スペーシング */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    
    /* タイポグラフィ */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
    --font-size-5xl: 48px;
    --font-size-6xl: 64px;
    
    /* トランジション */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   2. 統一カードスタイル
   ========================================== */

/* 基本カード */
.unified-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.unified-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* 小カード */
.unified-card-sm {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.unified-card-sm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   3. 統一アイコンバッジ
   ========================================== */

/* 円形カラーバッジ */
.icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--main-blue), var(--emerald));
    color: white;
    font-size: 28px;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-md);
}

.icon-badge-sm {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--main-blue), var(--emerald));
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow-sm);
}

/* カラーバリエーション */
.icon-badge-blue {
    background: linear-gradient(135deg, #2D7FF9, #64A8FF);
}

.icon-badge-emerald {
    background: linear-gradient(135deg, #24C4A8, #6FE3D0);
}

.icon-badge-cyan {
    background: linear-gradient(135deg, #72F5FF, #A8F9FF);
}

.icon-badge-orange {
    background: linear-gradient(135deg, #FF933B, #FFB870);
}

.icon-badge-red {
    background: linear-gradient(135deg, #FF6B6B, #FF9A9A);
}

/* ==========================================
   4. Before/After 統一スタイル
   ========================================== */

/* Before カード（赤系） */
.before-card {
    background: linear-gradient(135deg, #FFF5F5, #FFFFFF);
    border: 2px solid #FF6B6B;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
}

.before-card::before {
    content: 'BEFORE';
    position: absolute;
    top: -12px;
    left: var(--space-md);
    background: linear-gradient(135deg, #FF6B6B, #FF933B);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 1px;
}

/* After カード（ブルー・エメラルド系） */
.after-card {
    background: linear-gradient(135deg, #F1F7FE, #FFFFFF);
    border: 2px solid var(--main-blue);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
}

.after-card::before {
    content: 'AFTER';
    position: absolute;
    top: -12px;
    left: var(--space-md);
    background: linear-gradient(135deg, var(--main-blue), var(--emerald));
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ==========================================
   5. 発光エフェクト
   ========================================== */

/* 発光する矢印 */
.glow-arrow {
    color: var(--emerald);
    font-size: 48px;
    filter: drop-shadow(0 0 12px rgba(36, 196, 168, 0.6));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(36, 196, 168, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 24px rgba(36, 196, 168, 1));
    }
}

/* データフロー線 */
.data-flow-line {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--main-blue) 0%, 
        var(--highlight-cyan) 50%, 
        var(--emerald) 100%);
    box-shadow: 0 0 16px rgba(45, 127, 249, 0.6);
    border-radius: 2px;
}

.data-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.8) 50%, 
        transparent 100%);
    animation: flow-animation 2s linear infinite;
}

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

/* ==========================================
   6. ステータスアイコン
   ========================================== */

/* エラーマーク（赤） */
.status-error {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B, #FF933B);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* チェックマーク（緑） */
.status-success {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald), #6FE3D0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* ==========================================
   7. ネオンイエローバナー
   ========================================== */

.neon-banner {
    background: linear-gradient(135deg, #FFE44D, #FFD700);
    color: #1A202C;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
    box-shadow: 0 8px 32px rgba(255, 228, 77, 0.4);
    position: relative;
    overflow: hidden;
}

.neon-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        transparent 100%);
    animation: neon-shine 3s ease-in-out infinite;
}

@keyframes neon-shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 200%;
    }
}

/* ==========================================
   8. グリッド・レイアウト
   ========================================== */

/* 2カラムグリッド（Before/After用） */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

/* 3カラムグリッド */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* 4カラムグリッド */
.four-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* 5カラムグリッド（Growth Model用） */
.five-column-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
}

/* ==========================================
   9. レスポンシブ対応
   ========================================== */

@media (max-width: 1200px) {
    .five-column-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .four-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .comparison-grid,
    .three-column-grid,
    .four-column-grid,
    .five-column-grid {
        grid-template-columns: 1fr;
    }
    
    .icon-badge {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
}

/* ==========================================
   10. ユーティリティクラス
   ========================================== */

/* テキストグラデーション */
.text-gradient-blue {
    background: linear-gradient(135deg, var(--main-blue), var(--emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 発光テキスト */
.text-glow {
    text-shadow: 0 0 24px rgba(45, 127, 249, 0.6);
}

/* 中央配置 */
.center-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 縦方向中央配置 */
.center-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
}
