/* ========================================
   AI導入の重要性セクション - スタイル改善（白ベース）
======================================== */

.ai-importance {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

/* 背景エフェクト（白ベース） */
.ai-importance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 89, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.importance-content {
    position: relative;
    z-index: 1;
}

/* ヘッダー */
.importance-header {
    text-align: center;
    margin-bottom: 4rem;
}

.importance-title {
    font-family: var(--font-tech);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff0059 0%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.importance-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* 統計カード */
.importance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.stat-item {
    background: #ffffff;
    border: 2px solid rgba(255, 0, 89, 0.3);
    box-shadow: var(--shadow-card);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 89, 0.03) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.stat-item:hover {
    border-color: #ff0059;
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
}

.stat-number {
    font-family: var(--font-tech);
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff0059 0%, #ff8a00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.stat-percent,
.stat-unit {
    font-size: 0.6em;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.stat-year {
    font-size: 0.85em;
    color: var(--text-muted);
}

/* タイムライン */
.importance-timeline {
    margin-bottom: 4rem;
}

.timeline-title {
    font-family: var(--font-tech);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.timeline-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 20px 0 0 20px;
}

.timeline-present::before {
    background: linear-gradient(180deg, #0066ff 0%, #00d9ff 100%);
}

.timeline-near-future::before {
    background: linear-gradient(180deg, #ff8a00 0%, #ff0059 100%);
}

.timeline-future::before {
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
}

.timeline-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.timeline-present:hover {
    border-color: #0066ff;
}

.timeline-near-future:hover {
    border-color: #ff8a00;
}

.timeline-future:hover {
    border-color: #6366f1;
}

.timeline-label {
    display: inline-block;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.timeline-present .timeline-label {
    background: rgba(0, 217, 255, 0.2);
    color: #00d9ff;
}

.timeline-near-future .timeline-label {
    background: rgba(255, 138, 0, 0.2);
    color: #ff8a00;
}

.timeline-future .timeline-label {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.timeline-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.timeline-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.timeline-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 警告セクション（白ベース） */
.importance-warning {
    display: flex;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(255, 0, 89, 0.03) 0%, rgba(255, 138, 0, 0.03) 100%);
    border: 2px solid rgba(255, 0, 89, 0.3);
    box-shadow: var(--shadow-card);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.importance-warning::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 89, 0.03) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.warning-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 89, 0.2);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.warning-icon i {
    font-size: 2.5rem;
    color: #ff0059;
    animation: warning-pulse 2s ease-in-out infinite;
}

@keyframes warning-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.warning-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.warning-title {
    font-family: var(--font-tech);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff0059;
    margin-bottom: 1.5rem;
}

.warning-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.warning-list i {
    color: #ff0059;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ソリューションセクション（白ベース） */
.importance-solution {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(99, 102, 241, 0.03) 100%);
    border: 2px solid;
    border-image: linear-gradient(135deg, #0066ff 0%, #6366f1 100%) 1;
    box-shadow: var(--shadow-card);
    border-radius: 25px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.importance-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 102, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(99, 102, 241, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.solution-content {
    position: relative;
    z-index: 1;
}

.solution-title {
    font-family: var(--font-tech);
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0066ff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.solution-text {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.solution-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.solution-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .importance-stats,
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .importance-title {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 4rem;
    }
    
    .importance-warning {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .solution-cta {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .importance-title {
        font-size: 2rem;
    }
    
    .importance-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .timeline-title {
        font-size: 1.6rem;
    }
    
    .solution-title {
        font-size: 1.8rem;
    }
    
    .importance-solution {
        padding: 2.5rem 1.5rem;
    }
}
