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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #333;
            overflow-x: hidden;
        
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
            color: white;
        }

        .header h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .section {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin: 40px 0;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .section-title {
            font-size: 2rem;
            text-align: center;
            margin-bottom: 30px;
            color: #333;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 2px;
        }

        .grid {
            display: grid;
            gap: 20px;
        }

        .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
        .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
        .grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

        .card {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 25px;
            border-left: 5px solid var(--accent-color, #667eea);
            transition: all 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }

        .card-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            display: block;
        }

        .card-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 15px;
            color: var(--accent-color, #667eea);
        }

        .analogy-section {
            background: linear-gradient(135deg, #3378be 0%, #0984e3 100%);
            border-radius: 20px;
            padding: 40px;
            margin: 40px 0;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .analogy-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 20px,
                rgba(255,255,255,0.05) 20px,
                rgba(255,255,255,0.05) 40px
            );
            animation: slide 30s linear infinite;
        }

        @keyframes slide {
            0% { transform: translateX(-50px) translateY(-50px) rotate(0deg); }
            100% { transform: translateX(50px) translateY(50px) rotate(360deg); }
        }

        .analogy-content {
            position: relative;
            z-index: 1;
        }

        .architecture-diagram {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            padding: 40px;
            margin: 30px 0;
            position: relative;
            min-height: 600px;
        }

        .layer {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            height: 80px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.1rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .layer-1 { top: 50px; background: linear-gradient(135deg, #fd79a8, #e84393); }
        .layer-2 { top: 180px; background: linear-gradient(135deg, #3378be, #0984e3); }
        .layer-3 { top: 310px; background: linear-gradient(135deg, #55efc4, #008662); }
        .layer-4 { top: 440px; background: linear-gradient(135deg, #9e6c0f, #c35237); }

        .flow-arrow {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2rem;
            color: #667eea;
        }

        .arrow-1 { top: 140px; }
        .arrow-2 { top: 270px; }
        .arrow-3 { top: 400px; }

        .feature-detail {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin: 20px 0;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border-top: 5px solid var(--feature-color);
        }

        .config-example {
            background: #2d3748;
            color: #e2e8f0;
            border-radius: 10px;
            padding: 20px;
            margin: 15px 0;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            overflow-x: auto;
        }

        .config-example .comment {
            color: #68d391;
        }

        .config-example .property {
            color: #fbb6ce;
        }

        .config-example .value {
            color: #90cdf4;
        }

        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .comparison-table th,
        .comparison-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #e9ecef;
        }

        .comparison-table th {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            font-weight: bold;
        }

        .comparison-table tr:hover {
            background: #f8f9fa;
        }

        .metric-card {
            background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
            color: white;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .metric-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .metric-card:hover::before {
            transform: scale(1.5);
        }

        .metric-value {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
        }

        .metric-label {
            font-size: 1rem;
            position: relative;
            z-index: 1;
        }

        .cost-calculator {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 30px;
            margin: 20px 0;
        }

        .cost-input {
            display: flex;
            align-items: center;
            gap: 15px;
            margin: 15px 0;
        }

        .cost-input label {
            flex: 1;
            font-weight: bold;
        }

        .cost-input input {
            flex: 1;
            padding: 10px;
            border: 2px solid #e9ecef;
            border-radius: 5px;
            font-size: 1rem;
        }

        .cost-input input:focus {
            border-color: #667eea;
            outline: none;
        }

        .cost-result {
            background: linear-gradient(135deg, #55efc4, #008662);
            color: white;
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
            text-align: center;
            font-size: 1.2rem;
            font-weight: bold;
        }

        .interactive-demo {
            background: #2d3748;
            color: white;
            border-radius: 15px;
            padding: 30px;
            margin: 20px 0;
        }

        .demo-button {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: bold;
            margin: 5px;
            transition: all 0.3s ease;
        }

        .demo-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }

        .demo-button.active {
            background: linear-gradient(135deg, #fd79a8, #e84393);
        }

        .demo-result {
            background: #4a5568;
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
        }

        .limitation-warning {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 10px;
            padding: 20px;
            margin: 20px 0;
            border-left: 5px solid #9e6c0f;
        }

        .limitation-warning .warning-title {
            color: #856404;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .security-feature {
            background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
            color: white;
            border-radius: 15px;
            padding: 25px;
            margin: 15px 0;
        }

        .monitoring-dashboard {
            background: #2d3748;
            border-radius: 15px;
            padding: 30px;
            margin: 20px 0;
            color: white;
        }

        .metric-chart {
            background: #4a5568;
            border-radius: 10px;
            padding: 20px;
            margin: 15px 0;
            position: relative;
            height: 200px;
        }

        .chart-line {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            height: 2px;
            background: linear-gradient(90deg, #3378be, #fd79a8);
            border-radius: 1px;
        }

        .chart-point {
            position: absolute;
            width: 8px;
            height: 8px;
            background: #fd79a8;
            border-radius: 50%;
            bottom: 18px;
        }

        .troubleshooting {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 30px;
            margin: 20px 0;
        }

        .trouble-item {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin: 15px 0;
            border-left: 5px solid #dc3545;
        }

        .trouble-title {
            color: #dc3545;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .solution {
            background: #d4edda;
            border-radius: 8px;
            padding: 15px;
            margin-top: 10px;
            border-left: 3px solid #28a745;
        }

        .fade-in {
            animation: fadeIn 0.8s ease-in;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .header h1 { font-size: 2rem; }
            .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
            .cost-input { flex-direction: column; align-items: stretch; }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }