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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #3d7ab5 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, #ff6b35 0%, #f7931e 50%, #ffb347 100%);
            color: white;
            padding: 50px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '🔍';
            position: absolute;
            font-size: 15em;
            opacity: 0.15;
            top: -30px;
            right: -30px;
        }
        
        .header h1 {
            font-size: 2.8em;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        .header p {
            font-size: 1.3em;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }
        
        .content {
            padding: 50px;
        }
        
        /* 結論ファーストセクション */
        .conclusion-first {
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 50px;
            border-left: 8px solid #ea580c;
            box-shadow: 0 10px 30px rgba(234, 88, 12, 0.15);
        }
        
        .conclusion-first h2 {
            color: #c2410c;
            font-size: 2em;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .key-points {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }
        
        .key-point {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            border-top: 4px solid #EA580C;
        }
        
        .key-point-title {
            font-weight: bold;
            color: #c2410c;
            font-size: 1.1em;
            margin-bottom: 10px;
        }
        
        .key-point-content {
            color: #57534e;
            line-height: 1.7;
        }
        
        /* たとえ話セクション */
        .analogy-section {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            border-radius: 20px;
            padding: 50px;
            margin: 50px 0;
            border-left: 8px solid #047857;
        }
        
        .analogy-title {
            color: #065f46;
            font-size: 2.2em;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .analogy-subtitle {
            text-align: center;
            font-size: 1.2em;
            color: #047857;
            margin-bottom: 40px;
        }
        
        .analogy-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        
        .analogy-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        .analogy-card h3 {
            font-size: 1.4em;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .analogy-card.real h3 {
            color: #0369a1;
        }
        
        .analogy-card.aws h3 {
            color: #c2410c;
        }
        
        .analogy-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 15px 0;
            border-bottom: 1px dashed #d1d5db;
        }
        
        .analogy-item:last-child {
            border-bottom: none;
        }
        
        .analogy-icon {
            font-size: 1.5em;
            min-width: 40px;
            text-align: center;
        }
        
        .analogy-text {
            color: #374151;
            line-height: 1.6;
        }
        
        .analogy-text strong {
            color: #1f2937;
        }
        
        /* 比較図 */
        .comparison-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        
        .comparison-box {
            background: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            min-width: 200px;
        }
        
        .comparison-box.real-world {
            border-top: 5px solid #0ea5e9;
        }
        
        .comparison-box.aws-world {
            border-top: 5px solid #EA580C;
        }
        
        .comparison-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .comparison-label {
            font-weight: bold;
            font-size: 1.1em;
        }
        
        .comparison-arrow {
            font-size: 2.5em;
            color: #047857;
        }
        
        /* 仕組み図解 */
        .how-it-works {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border-radius: 20px;
            padding: 50px;
            margin: 50px 0;
        }
        
        .how-it-works h2 {
            color: #1e40af;
            font-size: 2em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .workflow {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .workflow-step {
            background: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            flex: 1;
            min-width: 200px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .workflow-step:hover {
            transform: translateY(-5px);
        }
        
        .step-number {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5em;
            font-weight: bold;
            margin: 0 auto 15px;
        }
        
        .step-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .step-title {
            font-weight: bold;
            color: #1e40af;
            font-size: 1.2em;
            margin-bottom: 10px;
        }
        
        .step-desc {
            color: #64748b;
            font-size: 0.95em;
        }
        
        .workflow-arrow {
            font-size: 2em;
            color: #3b82f6;
        }
        
        /* コードセクション */
        .code-section {
            background: #1e293b;
            border-radius: 15px;
            padding: 30px;
            margin: 30px 0;
            overflow-x: auto;
        }
        
        .code-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #475569;
        }
        
        .code-title {
            color: #64748B;
            font-size: 0.9em;
        }
        
        .code-badge {
            background: #EA580C;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85em;
        }
        
        .code-block {
            font-family: 'Consolas', 'Monaco', monospace;
            color: #e2e8f0;
            font-size: 0.9em;
            line-height: 1.8;
            white-space: pre-wrap;
        }
        
        .code-comment {
            color: #64748b;
        }
        
        .code-keyword {
            color: #f472b6;
        }
        
        .code-string {
            color: #a5f3fc;
        }
        
        .code-operator {
            color: #CA8A04;
        }
        
        /* ルール構文説明 */
        .rule-syntax {
            background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
            border-radius: 20px;
            padding: 50px;
            margin: 50px 0;
            border-left: 8px solid #9333ea;
        }
        
        .rule-syntax h2 {
            color: #7e22ce;
            font-size: 2em;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .syntax-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .syntax-card {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        .syntax-card h4 {
            color: #7e22ce;
            font-size: 1.2em;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .syntax-example {
            background: #1e293b;
            padding: 15px;
            border-radius: 8px;
            font-family: monospace;
            color: #e2e8f0;
            font-size: 0.85em;
            margin: 15px 0;
        }
        
        .syntax-desc {
            color: #6b7280;
            font-size: 0.95em;
            line-height: 1.6;
        }
        
        /* ユースケース */
        .use-cases {
            margin: 50px 0;
        }
        
        .use-cases h2 {
            color: #1e40af;
            font-size: 2em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .use-case-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .use-case-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border-top: 5px solid;
            transition: transform 0.3s ease;
        }
        
        .use-case-card:hover {
            transform: translateY(-5px);
        }
        
        .use-case-card:nth-child(1) { border-color: #ef4444; }
        .use-case-card:nth-child(2) { border-color: #CA8A04; }
        .use-case-card:nth-child(3) { border-color: #047857; }
        .use-case-card:nth-child(4) { border-color: #3b82f6; }
        .use-case-card:nth-child(5) { border-color: #8b5cf6; }
        .use-case-card:nth-child(6) { border-color: #ec4899; }
        
        .use-case-icon {
            font-size: 2.5em;
            margin-bottom: 15px;
        }
        
        .use-case-title {
            font-weight: bold;
            font-size: 1.2em;
            color: #1f2937;
            margin-bottom: 15px;
        }
        
        .use-case-desc {
            color: #6b7280;
            line-height: 1.6;
            margin-bottom: 15px;
        }
        
        .use-case-example {
            background: #f3f4f6;
            padding: 10px 15px;
            border-radius: 8px;
            font-size: 0.85em;
            color: #4b5563;
        }
        
        /* CI/CDパイプライン */
        .pipeline-section {
            background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
            border-radius: 20px;
            padding: 50px;
            margin: 50px 0;
            border-left: 8px solid #ca8a04;
        }
        
        .pipeline-section h2 {
            color: #a16207;
            font-size: 2em;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .pipeline-flow {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
            margin: 30px 0;
        }
        
        .pipeline-stage {
            background: white;
            padding: 20px 30px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            min-width: 150px;
        }
        
        .pipeline-stage-icon {
            font-size: 2em;
            margin-bottom: 10px;
        }
        
        .pipeline-stage-name {
            font-weight: bold;
            color: #1f2937;
        }
        
        .pipeline-arrow {
            font-size: 1.5em;
            color: #ca8a04;
        }
        
        .pipeline-highlight {
            background: linear-gradient(135deg, #EA580C, #ea580c);
            color: white;
        }
        
        .pipeline-highlight .pipeline-stage-name {
            color: white;
        }
        
        /* メリット・デメリット */
        .pros-cons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 50px 0;
        }
        
        .pros-box, .cons-box {
            padding: 35px;
            border-radius: 15px;
        }
        
        .pros-box {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            border-top: 5px solid #047857;
        }
        
        .cons-box {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            border-top: 5px solid #ef4444;
        }
        
        .pros-title {
            color: #065f46;
            font-size: 1.5em;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .cons-title {
            color: #991b1b;
            font-size: 1.5em;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .pros-list, .cons-list {
            list-style: none;
        }
        
        .pros-list li, .cons-list li {
            padding: 12px 0;
            padding-left: 35px;
            position: relative;
            color: #374151;
            border-bottom: 1px dashed #d1d5db;
        }
        
        .pros-list li:last-child, .cons-list li:last-child {
            border-bottom: none;
        }
        
        .pros-list li::before {
            content: '✅';
            position: absolute;
            left: 0;
        }
        
        .cons-list li::before {
            content: '⚠️';
            position: absolute;
            left: 0;
        }
        
        /* コマンド一覧 */
        .commands-section {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-radius: 20px;
            padding: 50px;
            margin: 50px 0;
        }
        
        .commands-section h2 {
            color: #0369a1;
            font-size: 2em;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .command-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
        }
        
        .command-card {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        .command-name {
            font-family: monospace;
            background: #1e293b;
            color: #EA580C;
            padding: 8px 15px;
            border-radius: 6px;
            display: inline-block;
            margin-bottom: 15px;
            font-size: 0.95em;
        }
        
        .command-desc {
            color: #6b7280;
            line-height: 1.6;
        }
        
        /* ベストプラクティス */
        .best-practices {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border-radius: 20px;
            padding: 50px;
            margin: 50px 0;
            border-left: 8px solid #16A34A;
        }
        
        .best-practices h2 {
            color: #166534;
            font-size: 2em;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .practice-list {
            display: grid;
            gap: 20px;
        }
        
        .practice-item {
            background: white;
            padding: 25px;
            border-radius: 12px;
            display: flex;
            gap: 20px;
            align-items: flex-start;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        .practice-number {
            background: linear-gradient(135deg, #16A34A, #16a34a);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            flex-shrink: 0;
        }
        
        .practice-content h4 {
            color: #166534;
            margin-bottom: 8px;
        }
        
        .practice-content p {
            color: #6b7280;
            line-height: 1.6;
        }
        
        /* 図解：検査官のたとえ */
        .inspector-visual {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin: 40px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .inspector-flow {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .inspector-box {
            text-align: center;
            padding: 25px;
            border-radius: 15px;
            min-width: 180px;
        }
        
        .inspector-box.blueprint {
            background: linear-gradient(135deg, #dbeafe, #bfdbfe);
            border: 3px solid #3b82f6;
        }
        
        .inspector-box.inspector {
            background: linear-gradient(135deg, #ffedd5, #fed7aa);
            border: 3px solid #EA580C;
        }
        
        .inspector-box.rules {
            background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
            border: 3px solid #9333ea;
        }
        
        .inspector-box.result-pass {
            background: linear-gradient(135deg, #d1fae5, #a7f3d0);
            border: 3px solid #047857;
        }
        
        .inspector-box.result-fail {
            background: linear-gradient(135deg, #fee2e2, #fecaca);
            border: 3px solid #ef4444;
        }
        
        .inspector-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .inspector-label {
            font-weight: bold;
            color: #1f2937;
        }
        
        .inspector-sublabel {
            font-size: 0.85em;
            color: #6b7280;
            margin-top: 5px;
        }
        
        .flow-arrow {
            font-size: 2em;
            color: #6f7682;
        }
        
        /* レスポンシブ */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 25px;
            }
            
            .analogy-grid,
            .pros-cons {
                grid-template-columns: 1fr;
            }
            
            .workflow {
                flex-direction: column;
            }
            
            .workflow-arrow {
                transform: rotate(90deg);
            }
            
            .inspector-flow {
                flex-direction: column;
            }
            
            .flow-arrow {
                transform: rotate(90deg);
            }
            
            .pipeline-flow {
                flex-direction: column;
            }
            
            .pipeline-arrow {
                transform: rotate(90deg);
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }