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

* {
            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;
            padding: 20px;
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }
        
        .container {
            max-width: 1500px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #DC2626 0%, #ee5a52 100%);
            color: white;
            padding: 50px;
            text-align: center;
            position: relative;
        }
        
        .header::before {
            content: '🚀';
            position: absolute;
            top: 20px;
            left: 30px;
            font-size: 4em;
            opacity: 0.3;
        }
        
        .header h1 {
            font-size: 3em;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .header p {
            font-size: 1.4em;
            opacity: 0.9;
        }
        
        .content {
            padding: 60px;
        }
        
        /* 概要セクション */
        .intro-section {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            color: white;
            padding: 40px;
            border-radius: 25px;
            margin-bottom: 60px;
            text-align: center;
        }
        
        .intro-title {
            font-size: 2.5em;
            margin-bottom: 20px;
        }
        
        .intro-description {
            font-size: 1.3em;
            line-height: 1.6;
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 15px;
            margin: 20px 0;
        }
        
        .scaling-components {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
        
        .component-badge {
            background: rgba(255,255,255,0.2);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
        }
        
        .component-icon {
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        
        .component-name {
            font-weight: bold;
            margin-bottom: 8px;
            font-size: 1.1em;
        }
        
        .component-role {
            font-size: 0.9em;
            opacity: 0.9;
        }
        
        /* レストランアナロジー */
        .restaurant-section {
            margin: 80px 0;
        }
        
        .section-title {
            font-size: 2.8em;
            text-align: center;
            color: #2c3e50;
            margin-bottom: 50px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 4px;
            background: linear-gradient(90deg, #DC2626, #ee5a52);
            border-radius: 2px;
        }
        
        .restaurant-scenario {
            background: #f8f9fa;
            padding: 40px;
            border-radius: 25px;
            margin: 40px 0;
        }
        
        .scenario-title {
            font-size: 2.2em;
            text-align: center;
            color: #2c3e50;
            margin-bottom: 30px;
        }
        
        .restaurant-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin: 40px 0;
        }
        
        .restaurant-area {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        .area-title {
            font-size: 1.4em;
            color: #2c3e50;
            margin-bottom: 20px;
            text-align: center;
            font-weight: bold;
        }
        
        .dining-area {
            border-left: 5px solid #e74c3c;
        }
        
        .standby-area {
            border-left: 5px solid #15803D;
        }
        
        .staff-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin: 20px 0;
        }
        
        .staff-member {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8em;
            color: white;
            position: relative;
            animation: staff-pulse 2s infinite alternate;
        }
        
        .staff-working {
            background: #e74c3c;
        }
        
        .staff-warm {
            background: #CA8A04;
        }
        
        .staff-standby {
            background: #15803D;
        }
        
        .staff-spot {
            background: #9b59b6;
        }
        
        @keyframes staff-pulse {
            0% { transform: scale(1); }
            100% { transform: scale(1.05); }
        }
        
        .staff-legend {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 20px;
            font-size: 0.9em;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 50%;
        }
        
        /* 起動時間比較 */
        .startup-comparison {
            background: #2c3e50;
            color: white;
            padding: 50px;
            border-radius: 25px;
            margin: 60px 0;
        }
        
        .startup-title {
            font-size: 2.5em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .startup-scenarios {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }
        
        .startup-scenario {
            background: rgba(255,255,255,0.1);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
        }
        
        .scenario-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .scenario-method {
            font-size: 1.2em;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .startup-time {
            font-size: 2em;
            color: #CA8A04;
            font-weight: bold;
            margin: 15px 0;
        }
        
        .scenario-description {
            font-size: 0.9em;
            line-height: 1.4;
            opacity: 0.9;
        }
        
        /* ステップスケーリング */
        .step-scaling {
            background: linear-gradient(135deg, #CA8A04 0%, #e67e22 100%);
            color: white;
            padding: 50px;
            border-radius: 25px;
            margin: 60px 0;
        }
        
        .step-title {
            font-size: 2.5em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .scaling-chart {
            background: rgba(255,255,255,0.1);
            padding: 30px;
            border-radius: 15px;
            margin: 20px 0;
        }
        
        .chart-title {
            font-size: 1.4em;
            text-align: center;
            margin-bottom: 20px;
            font-weight: bold;
        }
        
        .chart-container {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
            align-items: end;
            height: 200px;
            margin: 20px 0;
        }
        
        .chart-bar {
            background: linear-gradient(to top, #15803D, #15803D);
            border-radius: 5px 5px 0 0;
            position: relative;
            animation: grow-bar 2s ease-out;
        }
        
        .bar-low { height: 40px; }
        .bar-medium { height: 80px; }
        .bar-high { height: 120px; }
        .bar-critical { height: 160px; }
        .bar-emergency { height: 200px; background: linear-gradient(to top, #e74c3c, #c0392b); }
        
        @keyframes grow-bar {
            from { height: 0; }
        }
        
        .bar-label {
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.8em;
            text-align: center;
            white-space: nowrap;
        }
        
        .bar-value {
            position: absolute;
            top: -25px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.9em;
            font-weight: bold;
        }
        
        .scaling-rules {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 30px;
        }
        
        .scaling-rule {
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 12px;
        }
        
        .rule-condition {
            font-weight: bold;
            margin-bottom: 8px;
        }
        
        .rule-action {
            font-size: 0.9em;
            opacity: 0.9;
        }
        
        /* Spot Fleet の特徴 */
        .spot-fleet {
            background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
            color: white;
            padding: 50px;
            border-radius: 25px;
            margin: 60px 0;
        }
        
        .spot-title {
            font-size: 2.5em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .fleet-management {
            background: rgba(255,255,255,0.1);
            padding: 30px;
            border-radius: 15px;
            margin: 20px 0;
        }
        
        .fleet-scenario {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 20px 0;
        }
        
        .fleet-option {
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 10px;
            text-align: center;
        }
        
        .option-icon {
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        
        .option-title {
            font-size: 1.1em;
            font-weight: bold;
            margin-bottom: 8px;
        }
        
        .option-cost {
            font-size: 1.3em;
            color: #CA8A04;
            font-weight: bold;
            margin: 8px 0;
        }
        
        .option-availability {
            font-size: 0.9em;
            opacity: 0.9;
        }
        
        .fleet-optimization {
            margin-top: 30px;
            text-align: center;
            font-size: 1.1em;
            line-height: 1.5;
        }
        
        /* 実際のシナリオ */
        .real-scenario {
            background: #f8f9fa;
            padding: 50px;
            border-radius: 25px;
            margin: 60px 0;
        }
        
        .real-title {
            font-size: 2.5em;
            text-align: center;
            color: #2c3e50;
            margin-bottom: 40px;
        }
        
        .timeline {
            position: relative;
            margin: 40px 0;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 4px;
            background: #3498db;
        }
        
        .timeline-event {
            position: relative;
            margin: 30px 0;
            padding-left: 80px;
        }
        
        .timeline-event::before {
            content: '';
            position: absolute;
            left: 22px;
            top: 10px;
            width: 20px;
            height: 20px;
            background: #3498db;
            border-radius: 50%;
            border: 4px solid white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        
        .event-time {
            font-size: 1.2em;
            font-weight: bold;
            color: #e74c3c;
            margin-bottom: 5px;
        }
        
        .event-description {
            color: #2c3e50;
            line-height: 1.5;
        }
        
        .event-metrics {
            background: #ecf0f1;
            padding: 10px;
            border-radius: 5px;
            margin-top: 8px;
            font-size: 0.9em;
        }
        
        /* メリット・課題 */
        .pros-cons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin: 60px 0;
        }
        
        .pros-section {
            background: linear-gradient(135deg, #15803D 0%, #15803D 100%);
            color: white;
            padding: 40px;
            border-radius: 20px;
        }
        
        .cons-section {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: white;
            padding: 40px;
            border-radius: 20px;
        }
        
        .pros-cons-title {
            font-size: 2em;
            text-align: center;
            margin-bottom: 25px;
        }
        
        .pros-cons-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .pros-cons-item {
            background: rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .item-icon {
            font-size: 1.3em;
            width: 30px;
        }
        
        /* ベストプラクティス */
        .best-practices {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 50px;
            border-radius: 25px;
            margin: 60px 0;
        }
        
        .practices-title {
            font-size: 2.5em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .practices-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .practice-card {
            background: rgba(255,255,255,0.1);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }
        
        .practice-icon {
            font-size: 2.5em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .practice-title {
            font-size: 1.3em;
            font-weight: bold;
            margin-bottom: 10px;
            text-align: center;
        }
        
        .practice-description {
            font-size: 0.95em;
            line-height: 1.4;
            text-align: center;
        }
        
        /* レスポンシブ対応 */
        @media (max-width: 1024px) {
            .restaurant-layout,
            .startup-scenarios,
            .scaling-rules,
            .fleet-scenario,
            .pros-cons {
                grid-template-columns: 1fr;
            }
            
            .chart-container {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .scaling-components {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .content {
                padding: 30px;
            }
            
            .header h1 {
                font-size: 2.2em;
            }
            
            .section-title {
                font-size: 2.2em;
            }
            
            .staff-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .chart-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }