/*
 * AWS SAP学習リソース - iam-permission-evaluation-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, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 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%, #f093fb 100%);
            color: white;
            padding: 50px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '🔐';
            position: absolute;
            font-size: 20em;
            opacity: 0.1;
            top: -50px;
            right: -50px;
        }
        
        .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;
        }
        
        .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.2em;
            margin-bottom: 20px;
        }
        
        .intro-text {
            font-size: 1.2em;
            color: #881337;
            line-height: 1.8;
        }
        
        /* セクションタイトル */
        .section-title {
            text-align: center;
            font-size: 2.5em;
            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, #667eea, #f093fb);
            margin: 15px auto 0;
            border-radius: 2px;
        }
        
        /* 権限評価モデル セクション */
        .evaluation-section {
            background: linear-gradient(to bottom, #f8fafc 0%, white 100%);
            padding: 50px 30px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .analogy-box {
            background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
            padding: 40px;
            border-radius: 15px;
            margin-bottom: 40px;
            border-left: 6px solid #0284c7;
        }
        
        .analogy-title {
            color: #0c4a6e;
            font-size: 1.8em;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .analogy-content {
            color: #0c4a6e;
            font-size: 1.15em;
            line-height: 1.9;
        }
        
        /* 評価フロー */
        .evaluation-flow {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 900px;
            margin: 0 auto;
        }
        
        .flow-step {
            display: flex;
            align-items: stretch;
            gap: 20px;
        }
        
        .flow-number {
            width: 80px;
            min-width: 80px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 2em;
            font-weight: bold;
            position: relative;
        }
        
        .flow-number::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 20px;
            background: linear-gradient(to bottom, #764ba2, #f093fb);
        }
        
        .flow-step:last-child .flow-number::after {
            display: none;
        }
        
        .flow-content {
            flex: 1;
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            border-left: 5px solid;
            transition: all 0.3s ease;
        }
        
        .flow-content:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .flow-step:nth-child(1) .flow-content { border-color: #ef4444; }
        .flow-step:nth-child(2) .flow-content { border-color: #f97316; }
        .flow-step:nth-child(3) .flow-content { border-color: #eab308; }
        .flow-step:nth-child(4) .flow-content { border-color: #22c55e; }
        .flow-step:nth-child(5) .flow-content { border-color: #3b82f6; }
        
        .flow-title {
            font-size: 1.4em;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .flow-desc {
            color: #475569;
            line-height: 1.7;
        }
        
        .flow-example {
            background: #f8fafc;
            padding: 15px;
            border-radius: 8px;
            margin-top: 15px;
            font-size: 0.95em;
            color: #64748b;
        }
        
        .flow-result {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9em;
            margin-top: 10px;
        }
        
        .result-deny {
            background: #fee2e2;
            color: #991b1b;
        }
        
        .result-allow {
            background: #d1fae5;
            color: #065f46;
        }
        
        .result-continue {
            background: #dbeafe;
            color: #1e40af;
        }
        
        /* 3つの決定ルール */
        .rules-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin: 40px 0;
        }
        
        .rule-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.3s ease;
            border-top: 5px solid;
        }
        
        .rule-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        }
        
        .rule-card:nth-child(1) {
            border-color: #ef4444;
            background: linear-gradient(to bottom, #fef2f2 0%, white 100%);
        }
        
        .rule-card:nth-child(2) {
            border-color: #f59e0b;
            background: linear-gradient(to bottom, #fffbeb 0%, white 100%);
        }
        
        .rule-card:nth-child(3) {
            border-color: #22c55e;
            background: linear-gradient(to bottom, #f0fdf4 0%, white 100%);
        }
        
        .rule-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .rule-title {
            font-size: 1.5em;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .rule-card:nth-child(1) .rule-title { color: #991b1b; }
        .rule-card:nth-child(2) .rule-title { color: #92400e; }
        .rule-card:nth-child(3) .rule-title { color: #065f46; }
        
        .rule-desc {
            color: #475569;
            line-height: 1.7;
        }
        
        .rule-priority {
            display: inline-block;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: bold;
            margin-top: 15px;
            font-size: 0.9em;
        }
        
        .priority-1 { background: #ef4444; color: white; }
        .priority-2 { background: #f59e0b; color: white; }
        .priority-3 { background: #22c55e; color: white; }
        
        /* 操作経路セクション */
        .pathway-section {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #f59e0b;
        }
        
        .pathway-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 40px;
        }
        
        .pathway-card {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .pathway-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        }
        
        .console-card {
            border-top: 8px solid #3b82f6;
            background: linear-gradient(to bottom, #eff6ff 0%, white 100%);
        }
        
        .api-card {
            border-top: 8px solid #10b981;
            background: linear-gradient(to bottom, #f0fdf4 0%, white 100%);
        }
        
        .pathway-icon {
            font-size: 4em;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .pathway-title {
            font-size: 2em;
            font-weight: bold;
            text-align: center;
            margin-bottom: 10px;
        }
        
        .console-card .pathway-title { color: #1e40af; }
        .api-card .pathway-title { color: #065f46; }
        
        .pathway-subtitle {
            text-align: center;
            color: #64748b;
            font-size: 1.1em;
            margin-bottom: 25px;
        }
        
        .pathway-feature {
            background: #f8fafc;
            padding: 20px;
            border-radius: 12px;
            margin: 15px 0;
            border-left: 4px solid;
        }
        
        .console-card .pathway-feature { border-color: #3b82f6; }
        .api-card .pathway-feature { border-color: #10b981; }
        
        .feature-title {
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .feature-desc {
            color: #475569;
            line-height: 1.7;
        }
        
        /* 比較表 */
        .comparison-table {
            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;
            background: white;
        }
        
        th {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 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: #f8fafc;
        }
        
        .check {
            color: #10b981;
            font-weight: bold;
            font-size: 1.3em;
        }
        
        .cross {
            color: #ef4444;
            font-weight: bold;
            font-size: 1.3em;
        }
        
        /* 実例セクション */
        .example-section {
            background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #7c3aed;
        }
        
        .example-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin-top: 30px;
        }
        
        .example-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .example-icon {
            font-size: 3em;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .example-card h4 {
            color: #5b21b6;
            font-size: 1.4em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .example-scenario {
            background: #f5f3ff;
            padding: 20px;
            border-radius: 10px;
            margin: 15px 0;
        }
        
        .scenario-title {
            font-weight: bold;
            color: #5b21b6;
            margin-bottom: 10px;
        }
        
        .scenario-content {
            color: #475569;
            line-height: 1.7;
        }
        
        .code-block {
            background: #1e293b;
            color: #f1f5f9;
            padding: 20px;
            border-radius: 10px;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            line-height: 1.6;
            overflow-x: auto;
            margin: 15px 0;
        }
        
        .code-comment { color: #94a3b8; }
        .code-keyword { color: #f472b6; }
        .code-string { color: #34d399; }
        
        /* 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.6em;
            font-weight: bold;
            color: #92400e;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .tip-content {
            color: #78350f;
            line-height: 1.9;
            font-size: 1.05em;
        }
        
        /* 警告ボックス */
        .warning-box {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
            border-left: 6px solid #ef4444;
        }
        
        .warning-title {
            font-size: 1.4em;
            font-weight: bold;
            color: #991b1b;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .warning-content {
            color: #991b1b;
            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 #667eea;
            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: center;
            gap: 10px;
        }
        
        .faq-answer {
            color: #475569;
            line-height: 1.8;
            padding-left: 30px;
        }
        
        /* レスポンシブ */
        @media (max-width: 1024px) {
            .pathway-comparison,
            .example-grid {
                grid-template-columns: 1fr;
            }
            
            .rules-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .flow-step {
                flex-direction: column;
            }
            
            .flow-number {
                width: 100%;
                min-width: auto;
                padding: 15px;
                flex-direction: row;
                gap: 15px;
            }
            
            .flow-number::after {
                display: none;
            }
            
            table {
                font-size: 0.85em;
            }
            
            th, td {
                padding: 12px 8px;
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }

    
        
        

        

        

        

        

        

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