/* ========================================
   POC失敗 → 改善プロセス - 完全ビジュアル主導版
   添付画像のテイストに完全準拠
   ======================================== */

/* セクション全体 */
.poc-infographic-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 50%, #F0F9FF 100%);
    position: relative;
    overflow: hidden;
}

/* 背景グリッド */
.poc-infographic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ヘッダー */
.poc-infographic-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.poc-infographic-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.poc-infographic-subtitle {
    font-size: 18px;
    color: #64748b;
    font-weight: 400;
    line-height: 1.6;
}

/* メインコンテナ - 3カラムレイアウト */
.poc-visual-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 500px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* 左側：POC混乱（Before） */
.poc-chaos-column {
    position: relative;
}

.poc-chaos-visual {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.15);
    border: 3px solid #fee2e2;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.poc-chaos-visual::before {
    content: 'POC混乱';
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    z-index: 10;
}

.poc-chaos-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* 課題カード（4つ） */
.poc-issue-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.poc-issue-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
    border-left: 5px solid #ef4444;
    transition: all 0.3s ease;
}

.poc-issue-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.poc-issue-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.poc-issue-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.poc-issue-number {
    background: #fee2e2;
    color: #dc2626;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.poc-issue-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.poc-issue-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* 中央：学習ループ */
.poc-loop-column {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poc-loop-visual {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 50%;
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(59, 130, 246, 0.2),
        0 0 100px rgba(139, 92, 246, 0.1);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.poc-loop-visual::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.2;
    }
}

.poc-loop-image {
    width: 100%;
    height: auto;
    display: block;
}

.poc-loop-title {
    text-align: center;
    margin-top: 30px;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

.poc-loop-subtitle {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* 右側：最適化ソリューション（After） */
.poc-optimized-column {
    position: relative;
}

.poc-optimized-visual {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
    border: 3px solid #d1fae5;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.poc-optimized-visual::before {
    content: '最適化成功';
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

.poc-optimized-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* 改善カード（4つ） */
.poc-solution-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.poc-solution-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
    border-left: 5px solid #10b981;
    transition: all 0.3s ease;
}

.poc-solution-card:hover {
    transform: translateX(-8px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.poc-solution-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.poc-solution-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.poc-solution-number {
    background: #d1fae5;
    color: #059669;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.poc-solution-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.poc-solution-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* 結論バナー */
.poc-conclusion-banner {
    margin-top: 80px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.poc-conclusion-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.poc-conclusion-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.poc-conclusion-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.poc-conclusion-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.poc-conclusion-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.poc-cta-primary {
    background: white;
    color: #1e40af;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.poc-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
}

.poc-cta-secondary {
    background: transparent;
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    border: 2px solid white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.poc-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .poc-visual-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .poc-loop-column {
        order: -1; /* ループを最上部に */
    }

    .poc-chaos-column {
        order: 0;
    }

    .poc-optimized-column {
        order: 1;
    }
}

@media (max-width: 768px) {
    .poc-infographic-section {
        padding: 60px 20px;
    }

    .poc-infographic-title {
        font-size: 32px;
    }

    .poc-infographic-subtitle {
        font-size: 16px;
    }

    .poc-loop-visual {
        max-width: 100%;
        padding: 30px;
    }

    .poc-conclusion-banner {
        padding: 40px 30px;
    }

    .poc-conclusion-title {
        font-size: 26px;
    }

    .poc-conclusion-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .poc-cta-primary,
    .poc-cta-secondary {
        width: 100%;
        text-align: center;
    }
}
