/*
 * AWS SAP学習リソース - autoscaling_warmpool_infographic 専用CSS
 * ページ固有のレイアウト・セクション・コンポーネントスタイル
 *
 * 自動生成日: 2026-01-11 18:19:06
 */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
            line-height: 1.6;
        
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .header {
            text-align: center;
            color: white;
            margin-bottom: 40px;
            animation: fadeInDown 1s ease-out;
        }
        
        .header h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .section {
            background: white;
            margin: 30px 0;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            overflow: hidden;
            animation: fadeInUp 1s ease-out;
        }
        
        .section-header {
            background: linear-gradient(135deg, #DC2626, #ff8e8e);
            color: white;
            padding: 20px 30px;
            font-size: 1.5rem;
            font-weight: bold;
        }
        
        .section-content {
            padding: 30px;
        }
        
        .comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 30px 0;
        }
        
        .scenario {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 25px;
            border: 3px solid #e9ecef;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .scenario:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .scenario.with-warmpool {
            border-color: #28a745;
            background: linear-gradient(135deg, #d4edda, #f8f9fa);
        }
        
        .scenario.without-warmpool {
            border-color: #dc3545;
            background: linear-gradient(135deg, #f8d7da, #f8f9fa);
        }
        
        .restaurant {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin: 20px 0;
            justify-content: center;
        }
        
        .server {
            width: 60px;
            height: 80px;
            border-radius: 50% 50% 0 0;
            position: relative;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .server.active {
            background: linear-gradient(135deg, #28a745, #20c997);
            animation: bounce 2s infinite;
        }
        
        .server.waiting {
            background: linear-gradient(135deg, #CA8A04, #ffcd39);
            animation: pulse 2s infinite;
        }
        
        .server.unavailable {
            background: linear-gradient(135deg, #6c757d, #adb5bd);
        }
        
        .server::before {
            content: '👨‍🍳';
            position: absolute;
            top: 15px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 24px;
        }
        
        .server::after {
            content: attr(data-label);
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 10px;
            font-weight: bold;
            white-space: nowrap;
        }
        
        .timeline {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin: 30px 0;
            position: relative;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            top: 25px;
            left: 50px;
            right: 50px;
            height: 3px;
            background: linear-gradient(90deg, #DC2626, #4ecdc4);
            z-index: 1;
        }
        
        .timeline-step {
            background: white;
            border: 3px solid #4ecdc4;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #4ecdc4;
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
            margin: 0 auto;
        }
        
        .timeline-step:hover {
            transform: scale(1.2);
            background: #4ecdc4;
            color: white;
        }
        
        .timeline-label {
            font-size: 11px;
            font-weight: bold;
            text-align: center;
            margin-top: 10px;
            padding: 0 5px;
            line-height: 1.3;
        }
        
        .benefits {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .benefit-card {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            transition: transform 0.3s ease;
        }
        
        .benefit-card:hover {
            transform: translateY(-10px);
        }
        
        .benefit-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            display: block;
        }
        
        .code-block {
            background: #2d3748;
            color: #e2e8f0;
            padding: 20px;
            border-radius: 10px;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 14px;
            overflow-x: auto;
            margin: 20px 0;
        }
        
        .highlight {
            background: #ffeaa7;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: bold;
            color: #2d3436;
        }
        
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }
        
        @keyframes pulse {
            0% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
            100% {
                opacity: 1;
            }
        }
        
        .interactive-demo {
            text-align: center;
            margin: 30px 0;
        }
        
        .demo-button {
            background: linear-gradient(135deg, #DC2626, #ff8e8e);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 10px;
        }
        
        .demo-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }
        
        @media (max-width: 768px) {
            .comparison {
                grid-template-columns: 1fr;
            }
            
            .header h1 {
                font-size: 2rem;
            }
            
            .timeline {
                flex-direction: column;
                gap: 30px;
                align-items: center;
            }
            
            .timeline::before {
                display: none;
            }
            
            .timeline-label {
                font-size: 10px;
                margin-top: 8px;
            }
        }

        
        

        

        

        

        

        

        @media (max-width: 768px) {
            
        }
    
        
        

        

        

        

        

        

        

        /* 読書進捗インジケーター */
        

        

        

        /* トップに戻るボタン */
        

        

        

        

        /* Mobile responsive */
        @media (max-width: 768px) {
            

            

            

            

            
        }