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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 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, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 40px;
            border-radius: 25px;
            margin-bottom: 60px;
            text-align: center;
        }
        
        .intro-section h2 {
            font-size: 2.5em;
            margin-bottom: 20px;
        }
        
        .intro-section p {
            font-size: 1.3em;
            line-height: 1.6;
        }
        
        .scaling-overview {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin: 60px 0;
        }
        
        .scaling-card {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            border: 4px solid transparent;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .scaling-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        .concurrency-card {
            border-color: #e74c3c;
        }
        
        .resize-card {
            border-color: #3498db;
        }
        
        .acceleration-card {
            border-color: #CA8A04;
        }
        
        .card-icon {
            font-size: 4em;
            margin-bottom: 20px;
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        
        .card-title {
            font-size: 1.8em;
            color: #2c3e50;
            margin-bottom: 15px;
        }
        
        .card-subtitle {
            font-size: 1.1em;
            color: #7f8c8d;
            margin-bottom: 20px;
        }
        
        /* レストランアナロジー */
        .restaurant-analogy {
            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;
            margin-bottom: 40px;
            color: #2c3e50;
        }
        
        .scenario-comparison {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 30px;
            align-items: center;
        }
        
        .before-after {
            background: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
        }
        
        .before {
            border-left: 5px solid #e74c3c;
        }
        
        .after {
            border-left: 5px solid #15803D;
        }
        
        .arrow-transform {
            font-size: 3em;
            color: #3498db;
            animation: pulse-arrow 2s infinite;
        }
        
        @keyframes pulse-arrow {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }
        
        /* Concurrency Scaling の図解 */
        .concurrency-demo {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: #2c3e50;
            padding: 40px;
            border-radius: 25px;
            margin: 40px 0;
        }
        
        .demo-title {
            font-size: 2.2em;
            text-align: center;
            margin-bottom: 30px;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        
        .restaurant-layout {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 40px 0;
        }
        
        .restaurant-main {
            background: rgba(255,255,255,0.9);
            padding: 30px;
            border-radius: 15px;
            min-width: 200px;
            text-align: center;
            color: #2c3e50;
        }
        
        .tables-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin: 20px 0;
        }
        
        .table {
            width: 40px;
            height: 40px;
            background: #CA8A04;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2em;
            animation: table-busy 2s infinite alternate;
        }
        
        @keyframes table-busy {
            0% { background: #CA8A04; }
            100% { background: #e67e22; }
        }
        
        .additional-capacity {
            background: rgba(255,255,255,0.9);
            padding: 20px;
            border-radius: 15px;
            border: 2px dashed #e74c3c;
            text-align: center;
            color: #2c3e50;
            animation: fade-in 3s ease-in-out infinite;
        }
        
        @keyframes fade-in {
            0%, 100% { opacity: 0.7; }
            50% { opacity: 1; }
        }
        
        .customer-queue {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin: 20px;
        }
        
        .customer {
            width: 50px;
            height: 50px;
            background: #3498db;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5em;
            color: white;
            animation: customer-wait 3s ease-in-out infinite;
        }
        
        @keyframes customer-wait {
            0%, 100% { transform: translateX(0px); }
            50% { transform: translateX(-10px); }
        }
        
        /* Elastic Resize の図解 */
        .resize-demo {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            color: #2c3e50;
            padding: 40px;
            border-radius: 25px;
            margin: 40px 0;
        }
        
        .restaurant-sizes {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin: 40px 0;
        }
        
        .restaurant-size {
            background: rgba(255,255,255,0.9);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            position: relative;
            color: #2c3e50;
        }
        
        .size-label {
            font-size: 1.2em;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .building {
            margin: 20px 0;
        }
        
        .building-small {
            width: 80px;
            height: 60px;
            background: #15803D;
            margin: 0 auto;
            border-radius: 8px;
            position: relative;
        }
        
        .building-medium {
            width: 120px;
            height: 90px;
            background: #CA8A04;
            margin: 0 auto;
            border-radius: 8px;
            position: relative;
        }
        
        .building-large {
            width: 160px;
            height: 120px;
            background: #e74c3c;
            margin: 0 auto;
            border-radius: 8px;
            position: relative;
        }
        
        .building::before {
            content: '🏢';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2em;
        }
        
        .capacity-info {
            margin-top: 15px;
            font-size: 0.9em;
        }
        
        /* Short Query Acceleration の図解 */
        .acceleration-demo {
            background: linear-gradient(135deg, #CA8A04 0%, #e67e22 100%);
            color: #2c3e50;
            padding: 40px;
            border-radius: 25px;
            margin: 40px 0;
        }
        
        .query-lanes {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin: 40px 0;
        }
        
        .lane {
            background: rgba(255,255,255,0.9);
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            color: #2c3e50;
        }
        
        .lane-title {
            font-size: 1.4em;
            margin-bottom: 20px;
            font-weight: bold;
        }
        
        .query-queue {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 20px 0;
        }
        
        .query {
            padding: 10px;
            border-radius: 8px;
            font-size: 0.9em;
            position: relative;
        }
        
        .long-query {
            background: #e74c3c;
            animation: slow-process 4s infinite;
        }
        
        .short-query {
            background: #15803D;
            animation: fast-process 1s infinite;
        }
        
        @keyframes slow-process {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }
        
        @keyframes fast-process {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.05); }
        }
        
        /* パフォーマンス比較グラフ */
        .performance-comparison {
            background: #2c3e50;
            color: white;
            padding: 50px;
            border-radius: 25px;
            margin: 60px 0;
        }
        
        .chart-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin: 40px 0;
        }
        
        .chart-section {
            text-align: center;
        }
        
        .chart-title {
            font-size: 1.4em;
            margin-bottom: 20px;
            color: #ecf0f1;
        }
        
        .performance-bars {
            display: flex;
            justify-content: space-around;
            align-items: flex-end;
            height: 200px;
            margin: 20px 0;
        }
        
        .performance-bar {
            width: 40px;
            background: linear-gradient(to top, #3498db, #2980b9);
            border-radius: 5px 5px 0 0;
            position: relative;
            animation: grow-bar 3s ease-out;
        }
        
        @keyframes grow-bar {
            from { height: 0; }
        }
        
        .bar-before { height: 60px; }
        .bar-after { height: 160px; background: linear-gradient(to top, #15803D, #15803D); }
        
        .bar-label {
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.8em;
            white-space: nowrap;
        }
        
        /* 使用場面とコスト */
        .usage-cost-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin: 60px 0;
        }
        
        .usage-scenarios,
        .cost-analysis {
            background: #f8f9fa;
            padding: 35px;
            border-radius: 20px;
        }
        
        .subsection-title {
            font-size: 1.8em;
            color: #2c3e50;
            margin-bottom: 25px;
            text-align: center;
        }
        
        .scenario-item {
            display: flex;
            align-items: center;
            margin: 20px 0;
            padding: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        
        .scenario-icon {
            font-size: 2.5em;
            margin-right: 20px;
            width: 70px;
            text-align: center;
        }
        
        .scenario-content h4 {
            color: #2c3e50;
            margin-bottom: 8px;
        }
        
        .scenario-content p {
            color: #7f8c8d;
            font-size: 0.9em;
        }
        
        .cost-breakdown {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .cost-item {
            background: white;
            padding: 20px;
            border-radius: 12px;
            border-left: 5px solid;
        }
        
        .cost-low { border-color: #15803D; }
        .cost-medium { border-color: #CA8A04; }
        .cost-high { border-color: #e74c3c; }
        
        .cost-title {
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 8px;
        }
        
        .cost-description {
            color: #7f8c8d;
            font-size: 0.9em;
        }
        
        /* 選択指針 */
        .decision-matrix {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 50px;
            border-radius: 25px;
            margin: 60px 0;
        }
        
        .matrix-title {
            font-size: 2.5em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .decision-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 40px 0;
        }
        
        .decision-header {
            background: rgba(255,255,255,0.2);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            font-weight: bold;
        }
        
        .decision-cell {
            background: rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            font-size: 0.9em;
        }
        
        /* 最終推奨事項 */
        .final-recommendations {
            background: linear-gradient(135deg, #DC2626 0%, #ee5a52 100%);
            color: white;
            padding: 50px;
            border-radius: 25px;
            margin: 60px 0;
            text-align: center;
        }
        
        .recommendations-title {
            font-size: 2.5em;
            margin-bottom: 30px;
        }
        
        .recommendation-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin: 40px 0;
        }
        
        .recommendation-card {
            background: rgba(255,255,255,0.1);
            padding: 30px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }
        
        .rec-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .rec-title {
            font-size: 1.3em;
            margin-bottom: 15px;
            font-weight: bold;
        }
        
        .rec-description {
            font-size: 0.95em;
            line-height: 1.5;
        }
        
        /* レスポンシブ対応 */
        @media (max-width: 1024px) {
            .scaling-overview,
            .restaurant-sizes,
            .chart-container,
            .recommendation-cards {
                grid-template-columns: 1fr;
            }
            
            .scenario-comparison {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .arrow-transform {
                transform: rotate(90deg);
            }
            
            .usage-cost-section {
                grid-template-columns: 1fr;
            }
            
            .query-lanes {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .content {
                padding: 30px;
            }
            
            .header h1 {
                font-size: 2.2em;
            }
            
            .section-title {
                font-size: 2.2em;
            }
            
            .decision-grid {
                grid-template-columns: 1fr;
            }
            
            .restaurant-layout {
                flex-direction: column;
                gap: 20px;
            }
        }
    
        

    
        
        

        

        

        

        

        

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

    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }