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

* {
            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 25%, #9333EA 50%, #0369A1 75%, #00f2fe 100%);
            padding: 20px;
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
            line-height: 1.6;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 25px 70px rgba(0,0,0,0.4);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9333EA 100%);
            color: white;
            padding: 60px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .header h1 {
            font-size: 3em;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
            animation: slideIn 1s ease-out;
        }
        
        .header p {
            font-size: 1.4em;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .content {
            padding: 50px;
        }
        
        .intro {
            text-align: center;
            margin-bottom: 50px;
            padding: 40px;
            background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
            border-radius: 15px;
            border-left: 6px solid #f5576c;
        }
        
        .intro h2 {
            color: #be123c;
            font-size: 2.5em;
            margin-bottom: 20px;
        }
        
        .intro-text {
            font-size: 1.3em;
            color: #881337;
            line-height: 1.9;
        }
        
        /* 視覚的な概要図 */
        .overview-diagram {
            background: white;
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .overview-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 50px;
            font-weight: bold;
        }
        
        .strategy-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .strategy-visual {
            background: #f8fafc;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
        }
        
        .strategy-title {
            font-size: 1.8em;
            font-weight: bold;
            margin-bottom: 30px;
        }
        
        .blue-green-visual .strategy-title {
            color: #1e40af;
        }
        
        .immutable-visual .strategy-title {
            color: #065f46;
        }
        
        /* サーバーボックスのビジュアル */
        .server-box {
            display: inline-block;
            width: 100px;
            height: 80px;
            border-radius: 8px;
            margin: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9em;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            position: relative;
            transition: all 0.3s ease;
        }
        
        .server-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        }
        
        .server-blue {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: white;
        }
        
        .server-green {
            background: linear-gradient(135deg, #047857, #059669);
            color: white;
        }
        
        .server-old {
            background: linear-gradient(135deg, #64748B, #64748b);
            color: white;
        }
        
        .server-new {
            background: linear-gradient(135deg, #16A34A, #16a34a);
            color: white;
        }
        
        .server-gray {
            background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
            color: #64748b;
        }
        
        /* フローステップ */
        .flow-step-visual {
            margin: 30px 0;
            padding: 20px;
            background: white;
            border-radius: 10px;
            border-left: 5px solid #667eea;
        }
        
        .step-label {
            font-size: 1.2em;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .step-number {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        .servers-row {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            margin: 20px 0;
        }
        
        /* トラフィックの矢印 */
        .traffic-arrow {
            font-size: 3em;
            color: #ef4444;
            margin: 0 20px;
            animation: pulse 2s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.2);
                opacity: 0.7;
            }
        }
        
        .arrow-down {
            text-align: center;
            font-size: 3em;
            color: #64748B;
            margin: 20px 0;
        }
        
        /* タイムライン形式 */
        .timeline-section {
            background: linear-gradient(to bottom, #f8fafc 0%, white 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .timeline-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 50px;
            font-weight: bold;
        }
        
        .timeline-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }
        
        .timeline-column {
            position: relative;
        }
        
        .timeline-header {
            text-align: center;
            font-size: 2em;
            font-weight: bold;
            padding: 20px;
            border-radius: 15px;
            margin-bottom: 40px;
        }
        
        .blue-green-timeline .timeline-header {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: white;
        }
        
        .immutable-timeline .timeline-header {
            background: linear-gradient(135deg, #047857, #059669);
            color: white;
        }
        
        .timeline-item {
            position: relative;
            padding-left: 60px;
            margin-bottom: 40px;
        }
        
        .timeline-marker {
            position: absolute;
            left: 0;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2em;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }
        
        .timeline-content {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        .timeline-time {
            font-size: 1.1em;
            font-weight: bold;
            color: #667eea;
            margin-bottom: 10px;
        }
        
        /* コスト比較グラフ */
        .cost-comparison {
            background: white;
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .cost-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 50px;
            font-weight: bold;
        }
        
        .cost-graph {
            display: flex;
            align-items: flex-end;
            justify-content: space-around;
            height: 400px;
            padding: 30px;
            background: #f8fafc;
            border-radius: 15px;
            position: relative;
        }
        
        .cost-bar {
            width: 150px;
            background: linear-gradient(to top, #3b82f6, #2563EB);
            border-radius: 10px 10px 0 0;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 20px;
            color: white;
            font-weight: bold;
            font-size: 1.5em;
            box-shadow: 0 -4px 20px rgba(59, 130, 246, 0.4);
            position: relative;
            transition: all 0.3s ease;
        }
        
        .cost-bar:hover {
            transform: translateY(-10px);
        }
        
        .cost-bar-label {
            position: absolute;
            bottom: -40px;
            width: 150px;
            text-align: center;
            color: #1e293b;
            font-size: 0.9em;
            font-weight: bold;
        }
        
        /* ロールバック速度比較 */
        .rollback-comparison {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #CA8A04;
        }
        
        .rollback-title {
            text-align: center;
            font-size: 2.5em;
            color: #92400e;
            margin-bottom: 50px;
            font-weight: bold;
        }
        
        .rollback-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
        
        .rollback-card {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        .rollback-icon {
            font-size: 5em;
            margin-bottom: 20px;
        }
        
        .rollback-speed {
            font-size: 3em;
            font-weight: bold;
            margin: 20px 0;
        }
        
        .speed-fast {
            color: #047857;
        }
        
        .speed-medium {
            color: #CA8A04;
        }
        
        .speedometer {
            width: 200px;
            height: 100px;
            margin: 20px auto;
            position: relative;
        }
        
        .speedometer-arc {
            width: 200px;
            height: 100px;
            border-radius: 200px 200px 0 0;
            border: 15px solid #e2e8f0;
            border-bottom: none;
            position: relative;
        }
        
        .speedometer-fill-fast {
            width: 200px;
            height: 100px;
            border-radius: 200px 200px 0 0;
            border: 15px solid #047857;
            border-bottom: none;
            position: absolute;
            top: 0;
            left: 0;
            clip-path: polygon(0 0, 90% 0, 90% 100%, 0 100%);
        }
        
        .speedometer-fill-medium {
            width: 200px;
            height: 100px;
            border-radius: 200px 200px 0 0;
            border: 15px solid #CA8A04;
            border-bottom: none;
            position: absolute;
            top: 0;
            left: 0;
            clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
        }
        
        /* プロセスフロー図 */
        .process-flow {
            background: white;
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .process-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 50px;
            font-weight: bold;
        }
        
        .process-diagram {
            margin: 40px 0;
        }
        
        .process-stage {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 30px 0;
        }
        
        .stage-box {
            flex: 1;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            font-weight: bold;
            color: white;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }
        
        .stage-box:hover {
            transform: scale(1.05);
        }
        
        .stage-arrow {
            font-size: 3em;
            color: #64748b;
            margin: 0 20px;
        }
        
        /* リソース使用量グラフ */
        .resource-graph {
            background: linear-gradient(to bottom, #e0f2fe 0%, #bae6fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #0284c7;
        }
        
        .resource-title {
            text-align: center;
            font-size: 2.5em;
            color: #0c4a6e;
            margin-bottom: 50px;
            font-weight: bold;
        }
        
        .resource-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
        
        .resource-card {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .resource-chart {
            margin: 30px 0;
        }
        
        .resource-bar-container {
            margin: 20px 0;
        }
        
        .resource-label {
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 8px;
        }
        
        .resource-bar-bg {
            width: 100%;
            height: 40px;
            background: #e2e8f0;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
        }
        
        .resource-bar-fill {
            height: 100%;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            transition: width 1s ease-out;
        }
        
        .fill-blue-green {
            background: linear-gradient(90deg, #3b82f6, #2563eb);
        }
        
        .fill-immutable {
            background: linear-gradient(90deg, #047857, #059669);
        }
        
        /* 比較表 */
        .comparison-table {
            background: white;
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .table-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 40px;
            font-weight: bold;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
        }
        
        th {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 20px;
            text-align: left;
            font-size: 1.2em;
        }
        
        th:first-child {
            border-radius: 10px 0 0 0;
        }
        
        th:last-child {
            border-radius: 0 10px 0 0;
        }
        
        td {
            padding: 20px;
            border-bottom: 2px solid #f1f5f9;
        }
        
        tr:hover {
            background: #f8fafc;
        }
        
        .icon-good {
            color: #047857;
            font-size: 1.5em;
        }
        
        .icon-bad {
            color: #ef4444;
            font-size: 1.5em;
        }
        
        .icon-medium {
            color: #CA8A04;
            font-size: 1.5em;
        }
        
        /* 意思決定フローチャート */
        .decision-flow {
            background: linear-gradient(135deg, #A0A0A06fe 0%, #c4b5fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #7c3aed;
        }
        
        .decision-title {
            text-align: center;
            font-size: 2.5em;
            color: #5b21b6;
            margin-bottom: 50px;
            font-weight: bold;
        }
        
        .decision-box {
            background: white;
            padding: 30px;
            border-radius: 15px;
            margin: 20px auto;
            max-width: 600px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        .decision-question {
            font-size: 1.5em;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 20px;
        }
        
        .decision-options {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 20px;
        }
        
        .decision-yes, .decision-no {
            padding: 15px 30px;
            border-radius: 10px;
            font-weight: bold;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .decision-yes {
            background: linear-gradient(135deg, #047857, #059669);
        }
        
        .decision-no {
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }
        
        .decision-yes:hover, .decision-no:hover {
            transform: scale(1.1);
        }
        
        .decision-result {
            margin-top: 30px;
            padding: 25px;
            border-radius: 10px;
            font-size: 1.3em;
            font-weight: bold;
        }
        
        .result-blue-green {
            background: #dbeafe;
            color: #1e40af;
        }
        
        .result-immutable {
            background: #d1fae5;
            color: #065f46;
        }
        
        /* アニメーション効果 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-on-scroll {
            animation: fadeInUp 0.8s ease-out;
        }
        
        /* レスポンシブ */
        @media (max-width: 1024px) {
            .strategy-comparison,
            .timeline-container,
            .rollback-grid,
            .resource-comparison {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .content {
                padding: 30px 20px;
            }
            
            .header h1 {
                font-size: 2em;
            }
            
            .server-box {
                width: 80px;
                height: 60px;
                font-size: 0.8em;
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }