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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #ef4444 0%, #f97316 25%, #eab308 50%, #22c55e 75%, #3b82f6 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, #dc2626 0%, #ea580c 50%, #d97706 100%);
            color: white;
            padding: 50px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '🚨';
            position: absolute;
            font-size: 18em;
            opacity: 0.1;
            top: -50px;
            right: -50px;
        }
        
        .header h1 {
            font-size: 2.6em;
            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;
        }
        
        .intro {
            text-align: center;
            margin-bottom: 50px;
            padding: 40px;
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            border-radius: 15px;
            border-left: 6px solid #dc2626;
        }
        
        .intro h2 {
            color: #991b1b;
            font-size: 2.2em;
            margin-bottom: 20px;
        }
        
        .intro-text {
            font-size: 1.2em;
            color: #7f1d1d;
            line-height: 1.8;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.3em;
            color: #1e293b;
            margin: 50px 0 40px;
            font-weight: bold;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, #dc2626, #f97316);
            margin: 15px auto 0;
            border-radius: 2px;
        }
        
        /* たとえ話セクション */
        .analogy-section {
            background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #0284c7;
        }
        
        .analogy-title {
            color: #0c4a6e;
            font-size: 2em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .analogy-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        
        .analogy-card {
            background: white;
            padding: 35px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .analogy-icon {
            font-size: 4em;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .analogy-card h3 {
            color: #0c4a6e;
            font-size: 1.6em;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .analogy-description {
            background: #f0f9ff;
            padding: 20px;
            border-radius: 10px;
            color: #0c4a6e;
            line-height: 1.8;
            margin: 15px 0;
        }
        
        /* 問題シナリオ */
        .problem-section {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #dc2626;
        }
        
        .problem-title {
            color: #991b1b;
            font-size: 2em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .problem-flow {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .problem-step {
            background: white;
            padding: 25px;
            border-radius: 15px;
            margin: 20px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border-left: 5px solid #dc2626;
            position: relative;
        }
        
        .problem-step::after {
            content: '⬇️';
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 1.5em;
        }
        
        .problem-step:last-child::after {
            display: none;
        }
        
        .step-number {
            display: inline-block;
            background: #dc2626;
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            text-align: center;
            line-height: 35px;
            font-weight: bold;
            margin-right: 15px;
        }
        
        .step-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #991b1b;
            display: inline;
        }
        
        .step-desc {
            color: #7f1d1d;
            margin-top: 15px;
            line-height: 1.7;
            padding-left: 50px;
        }
        
        /* コンソールの前提 */
        .console-premise {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #f59e0b;
        }
        
        .premise-box {
            background: white;
            padding: 30px;
            border-radius: 15px;
            margin: 20px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .premise-title {
            font-size: 1.4em;
            font-weight: bold;
            color: #92400e;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .premise-content {
            color: #78350f;
            line-height: 1.8;
        }
        
        .premise-list {
            list-style: none;
            padding: 0;
            margin-top: 15px;
        }
        
        .premise-list li {
            padding: 10px 0 10px 30px;
            position: relative;
            color: #78350f;
        }
        
        .premise-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #f59e0b;
            font-weight: bold;
        }
        
        /* 救済方法 */
        .rescue-section {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #10b981;
        }
        
        .rescue-title {
            color: #065f46;
            font-size: 2em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .rescue-method {
            background: white;
            padding: 35px;
            border-radius: 15px;
            margin: 25px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border-top: 5px solid #10b981;
        }
        
        .method-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .method-icon {
            font-size: 3em;
        }
        
        .method-title {
            font-size: 1.6em;
            font-weight: bold;
            color: #065f46;
        }
        
        .method-subtitle {
            color: #059669;
            font-size: 1em;
        }
        
        .method-steps {
            background: #f0fdf4;
            padding: 25px;
            border-radius: 10px;
            margin: 20px 0;
        }
        
        .method-step {
            display: flex;
            gap: 15px;
            padding: 15px 0;
            border-bottom: 1px dashed #a7f3d0;
        }
        
        .method-step:last-child {
            border-bottom: none;
        }
        
        .method-step-num {
            background: #10b981;
            color: white;
            width: 30px;
            height: 30px;
            min-width: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        .method-step-content {
            color: #065f46;
            line-height: 1.7;
        }
        
        /* コードブロック */
        .code-block {
            background: #1e293b;
            color: #f1f5f9;
            padding: 25px;
            border-radius: 12px;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            line-height: 1.8;
            overflow-x: auto;
            margin: 20px 0;
        }
        
        .code-comment { color: #94a3b8; }
        .code-keyword { color: #f472b6; }
        .code-string { color: #34d399; }
        .code-variable { color: #60a5fa; }
        
        /* 比較表 */
        .comparison-section {
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
        }
        
        th {
            background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
            color: white;
            padding: 20px;
            text-align: left;
            font-size: 1.1em;
        }
        
        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: #fef2f2;
        }
        
        .status-ok {
            color: #10b981;
            font-weight: bold;
        }
        
        .status-ng {
            color: #dc2626;
            font-weight: bold;
        }
        
        /* 事前準備 */
        .preparation-section {
            background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #7c3aed;
        }
        
        .prep-title {
            color: #5b21b6;
            font-size: 2em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .prep-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }
        
        .prep-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .prep-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .prep-icon {
            font-size: 3em;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .prep-card h4 {
            color: #5b21b6;
            font-size: 1.3em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .prep-content {
            color: #475569;
            line-height: 1.7;
        }
        
        .prep-priority {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: bold;
            margin-top: 15px;
        }
        
        .priority-critical {
            background: #fee2e2;
            color: #991b1b;
        }
        
        .priority-high {
            background: #fef3c7;
            color: #92400e;
        }
        
        .priority-medium {
            background: #dbeafe;
            color: #1e40af;
        }
        
        /* 警告 */
        .warning-box {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
            border-left: 6px solid #dc2626;
        }
        
        .warning-title {
            font-size: 1.4em;
            font-weight: bold;
            color: #991b1b;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .warning-content {
            color: #7f1d1d;
            line-height: 1.8;
        }
        
        /* Tips */
        .tip-box {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 35px;
            border-radius: 15px;
            margin: 40px 0;
            border-left: 6px solid #f59e0b;
        }
        
        .tip-title {
            font-size: 1.5em;
            font-weight: bold;
            color: #92400e;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .tip-content {
            color: #78350f;
            line-height: 1.9;
        }
        
        /* ベストプラクティス */
        .best-practice {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
            border-left: 6px solid #10b981;
        }
        
        .bp-title {
            font-size: 1.4em;
            font-weight: bold;
            color: #065f46;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .bp-content {
            color: #065f46;
            line-height: 1.8;
        }
        
        /* FAQ */
        .faq-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);
        }
        
        .faq-item {
            background: white;
            padding: 25px;
            border-radius: 12px;
            margin: 20px 0;
            border-left: 4px solid #dc2626;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }
        
        .faq-question {
            font-size: 1.2em;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        
        .faq-answer {
            color: #475569;
            line-height: 1.8;
            padding-left: 30px;
        }
        
        /* シナリオ図 */
        .scenario-diagram {
            background: white;
            padding: 40px;
            border-radius: 15px;
            margin: 30px 0;
            text-align: center;
        }
        
        .diagram-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin: 20px 0;
        }
        
        .diagram-box {
            padding: 20px 30px;
            border-radius: 12px;
            font-weight: bold;
            min-width: 150px;
        }
        
        .box-user {
            background: #dbeafe;
            color: #1e40af;
            border: 3px solid #3b82f6;
        }
        
        .box-mfa {
            background: #fee2e2;
            color: #991b1b;
            border: 3px solid #dc2626;
        }
        
        .box-console {
            background: #fef3c7;
            color: #92400e;
            border: 3px solid #f59e0b;
        }
        
        .box-api {
            background: #d1fae5;
            color: #065f46;
            border: 3px solid #10b981;
        }
        
        .box-admin {
            background: #ddd6fe;
            color: #5b21b6;
            border: 3px solid #7c3aed;
        }
        
        .diagram-arrow {
            font-size: 2em;
            color: #94a3b8;
        }
        
        .diagram-x {
            font-size: 3em;
            color: #dc2626;
        }
        
        .diagram-check {
            font-size: 3em;
            color: #10b981;
        }
        
        /* レスポンシブ */
        @media (max-width: 1024px) {
            .analogy-grid,
            .prep-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 1.8em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .diagram-row {
                flex-direction: column;
            }
            
            .diagram-arrow {
                transform: rotate(90deg);
            }
            
            table {
                font-size: 0.85em;
            }
            
            th, td {
                padding: 12px 8px;
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }

    
        
        

        

        

        

        

        

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