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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #e94560 75%, #ff6b6b 100%);
            padding: 20px;
            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, #232f3e 0%, #dc7600 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: 3em;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
            color: #FFFFFF;  /* WCAG: 白文字でグラデーション背景との十分なコントラストを確保 */
        }
        
        .header p {
            font-size: 1.3em;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }
        
        .content {
            padding: 50px;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.2em;
            color: #1e293b;
            margin: 50px 0 30px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        
        /* ========== 結論ファースト ========== */
        .conclusion-first {
            background: linear-gradient(135deg, #232f3e 0%, #0f3460 100%);
            color: white;
            padding: 40px;
            border-radius: 20px;
            margin: 40px 0;
        }
        
        .conclusion-first h2 {
            font-size: 2em;
            margin-bottom: 25px;
            color: #dc7600;
            text-align: center;
        }
        
        .three-pillars {
            display: flex;
            justify-content: center;
            align-items: stretch;
            gap: 30px;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        
        .pillar {
            flex: 1;
            min-width: 280px;
            max-width: 350px;
            background: rgba(255,255,255,0.1);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            position: relative;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }
        
        .pillar:hover {
            transform: translateY(-10px);
            background: rgba(255,255,255,0.2);
        }
        
        .pillar-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .pillar-title {
            font-size: 1.4em;
            font-weight: bold;
            color: #dc7600;
            margin-bottom: 15px;
        }
        
        .pillar-desc {
            font-size: 1em;
            opacity: 0.9;
            line-height: 1.8;
        }
        
        .pillar-layer {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: #dc7600;
            color: #232f3e;
            padding: 5px 20px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9em;
        }
        
        /* ========== マンション全体図 ========== */
        .building-diagram {
            background: linear-gradient(to bottom, #e0f2fe 0%, #bae6fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
        }
        
        .building-container {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
        }
        
        .building {
            background: linear-gradient(to bottom, #64748b 0%, #475569 100%);
            border-radius: 10px 10px 0 0;
            padding: 20px;
            position: relative;
        }
        
        .building-roof {
            background: #334155;
            height: 40px;
            border-radius: 10px 10px 0 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.2em;
        }
        
        .floor {
            background: white;
            margin: 15px;
            padding: 20px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 20px;
            position: relative;
        }
        
        .floor-label {
            background: #3b82f6;
            color: white;
            padding: 10px 15px;
            border-radius: 10px;
            font-weight: bold;
            min-width: 100px;
            text-align: center;
        }
        
        .rooms {
            display: flex;
            gap: 15px;
            flex: 1;
            flex-wrap: wrap;
        }
        
        .room {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border: 3px solid #f59e0b;
            border-radius: 10px;
            padding: 15px;
            min-width: 100px;
            text-align: center;
            position: relative;
        }
        
        .room-icon {
            font-size: 2em;
        }
        
        .room-label {
            font-size: 0.85em;
            color: #92400e;
            font-weight: bold;
            margin-top: 5px;
        }
        
        .security-badge {
            position: absolute;
            top: -10px;
            right: -10px;
            background: #10b981;
            color: white;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8em;
        }
        
        .building-legend {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            background: white;
            padding: 10px 20px;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        .legend-icon {
            font-size: 1.5em;
        }
        
        /* ========== 通信フロー図 ========== */
        .flow-diagram {
            background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #10b981;
        }
        
        .encryption-flow {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            margin: 30px 0;
        }
        
        .node-box {
            background: white;
            border: 4px solid #3b82f6;
            border-radius: 20px;
            padding: 25px;
            min-width: 200px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .node-title {
            font-size: 1.2em;
            font-weight: bold;
            color: #1e40af;
            margin-bottom: 15px;
        }
        
        .pod-container {
            display: flex;
            gap: 10px;
            justify-content: center;
        }
        
        .mini-pod {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border: 2px solid #f59e0b;
            border-radius: 8px;
            padding: 10px;
            font-size: 1.5em;
        }
        
        .encryption-pipe {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }
        
        .pipe-line {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .pipe {
            width: 80px;
            height: 8px;
            background: linear-gradient(90deg, #10b981, #059669);
            border-radius: 4px;
            position: relative;
        }
        
        .pipe::before, .pipe::after {
            content: '🔒';
            position: absolute;
            font-size: 1.2em;
        }
        
        .pipe::before {
            left: -20px;
            top: -8px;
        }
        
        .pipe::after {
            right: -20px;
            top: -8px;
        }
        
        .pipe-label {
            font-size: 0.9em;
            color: #065f46;
            font-weight: bold;
        }
        
        .data-packet {
            display: flex;
            align-items: center;
            gap: 10px;
            justify-content: center;
            margin: 20px 0;
        }
        
        .packet {
            padding: 15px 25px;
            border-radius: 10px;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .packet-plain {
            background: #fee2e2;
            border: 2px solid #ef4444;
            color: #991b1b;
        }
        
        .packet-encrypted {
            background: #d1fae5;
            border: 2px solid #10b981;
            color: #065f46;
        }
        
        .transform-arrow {
            font-size: 2em;
            color: #10b981;
        }
        
        /* ========== ポッドセキュリティ図解 ========== */
        .pod-security-diagram {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #3b82f6;
        }
        
        .admission-flow {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        
        .admission-step {
            text-align: center;
        }
        
        .admission-box {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            min-width: 180px;
        }
        
        .admission-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .admission-label {
            font-weight: bold;
            color: #1e40af;
        }
        
        .admission-arrow {
            font-size: 2em;
            color: #3b82f6;
        }
        
        .security-gate {
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            color: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
        }
        
        .gate-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .gate-title {
            font-size: 1.2em;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .gate-checks {
            text-align: left;
            font-size: 0.9em;
            opacity: 0.9;
        }
        
        .result-paths {
            display: flex;
            justify-content: center;
            gap: 50px;
            margin-top: 30px;
        }
        
        .result-path {
            text-align: center;
        }
        
        .result-arrow {
            font-size: 2em;
            margin-bottom: 10px;
        }
        
        .result-box {
            padding: 20px 30px;
            border-radius: 15px;
            font-weight: bold;
        }
        
        .result-allow {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            border: 3px solid #10b981;
            color: #065f46;
        }
        
        .result-deny {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            border: 3px solid #ef4444;
            color: #991b1b;
        }
        
        /* PSS レベル比較 */
        .pss-levels {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        
        .pss-level {
            background: white;
            border-radius: 15px;
            padding: 25px;
            min-width: 250px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-top: 5px solid;
        }
        
        .pss-level.privileged {
            border-color: #ef4444;
        }
        
        .pss-level.baseline {
            border-color: #f59e0b;
        }
        
        .pss-level.restricted {
            border-color: #10b981;
        }
        
        .pss-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .pss-icon {
            font-size: 2em;
        }
        
        .pss-name {
            font-size: 1.3em;
            font-weight: bold;
        }
        
        .pss-level.privileged .pss-name { color: #dc2626; }
        .pss-level.baseline .pss-name { color: #d97706; }
        .pss-level.restricted .pss-name { color: #059669; }
        
        .pss-desc {
            color: #64748b;
            margin-bottom: 15px;
        }
        
        .pss-rules {
            background: #f8fafc;
            padding: 15px;
            border-radius: 10px;
            font-size: 0.9em;
        }
        
        .pss-rules li {
            margin: 8px 0;
            color: #475569;
        }
        
        /* ========== ネットワークポリシー図解 ========== */
        .network-policy-diagram {
            background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #f59e0b;
        }
        
        .network-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            max-width: 900px;
            margin: 40px auto;
        }
        
        .namespace-box {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 3px dashed #94a3b8;
        }
        
        .namespace-title {
            background: #64748b;
            color: white;
            padding: 8px 15px;
            border-radius: 8px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .namespace-pods {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .policy-pod {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border: 2px solid #f59e0b;
            border-radius: 10px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .policy-pod-icon {
            font-size: 1.5em;
        }
        
        .policy-pod-name {
            font-weight: bold;
            color: #92400e;
        }
        
        .traffic-rules {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin: 40px 0;
        }
        
        .traffic-rule {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            padding: 20px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .traffic-from, .traffic-to {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: bold;
        }
        
        .traffic-from {
            background: #dbeafe;
            color: #1e40af;
        }
        
        .traffic-to {
            background: #fef3c7;
            color: #92400e;
        }
        
        .traffic-arrow {
            font-size: 1.5em;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .traffic-arrow.allowed {
            color: #10b981;
        }
        
        .traffic-arrow.denied {
            color: #ef4444;
        }
        
        .traffic-result {
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9em;
        }
        
        .traffic-result.allowed {
            background: #d1fae5;
            color: #065f46;
        }
        
        .traffic-result.denied {
            background: #fee2e2;
            color: #991b1b;
        }
        
        /* ========== 攻撃シナリオ図解 ========== */
        .attack-scenario {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #ef4444;
        }
        
        .attack-flow {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        
        .attack-step {
            text-align: center;
            max-width: 200px;
        }
        
        .attack-box {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-bottom: 10px;
        }
        
        .attack-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .attack-label {
            font-weight: bold;
            color: #991b1b;
        }
        
        .attack-desc {
            font-size: 0.85em;
            color: #64748b;
        }
        
        .attack-arrow {
            font-size: 2em;
            color: #ef4444;
        }
        
        .defense-layer {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
        }
        
        .defense-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .defense-title {
            font-size: 1.2em;
            font-weight: bold;
        }
        
        /* ========== 3層防御総合図 ========== */
        .defense-layers {
            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);
        }
        
        .layers-visual {
            max-width: 800px;
            margin: 40px auto;
        }
        
        .defense-ring {
            padding: 30px;
            border-radius: 20px;
            margin: 0 auto;
            position: relative;
        }
        
        .ring-outer {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            border: 4px solid #10b981;
        }
        
        .ring-middle {
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
            border: 4px solid #3b82f6;
            margin: 20px;
        }
        
        .ring-inner {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border: 4px solid #f59e0b;
            margin: 20px;
        }
        
        .ring-center {
            background: white;
            border: 4px solid #64748b;
            margin: 20px;
            padding: 40px;
            text-align: center;
        }
        
        .ring-label {
            position: absolute;
            background: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9em;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        .ring-outer .ring-label {
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            color: #065f46;
            border: 2px solid #10b981;
        }
        
        .ring-middle .ring-label {
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            color: #1e40af;
            border: 2px solid #3b82f6;
        }
        
        .ring-inner .ring-label {
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            color: #92400e;
            border: 2px solid #f59e0b;
        }
        
        .center-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .center-label {
            font-size: 1.3em;
            font-weight: bold;
            color: #1e293b;
        }
        
        /* ========== 比較表 ========== */
        .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;
        }
        
        th {
            background: linear-gradient(135deg, #232f3e 0%, #0f3460 100%);
            color: white;
            padding: 20px;
            text-align: center;
            font-size: 1.1em;
        }
        
        th:first-child {
            border-radius: 10px 0 0 0;
            text-align: left;
        }
        
        th:last-child {
            border-radius: 0 10px 0 0;
        }
        
        td {
            padding: 20px;
            border-bottom: 2px solid #f1f5f9;
            text-align: center;
        }
        
        td:first-child {
            text-align: left;
            font-weight: bold;
            color: #1e293b;
        }
        
        tr:hover {
            background: #f8fafc;
        }
        
        .cell-icon {
            font-size: 2em;
            display: block;
            margin-bottom: 5px;
        }
        
        /* ========== 設定フローチャート ========== */
        .setup-flowchart {
            background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #7c3aed;
        }
        
        .flowchart {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin: 40px 0;
        }
        
        .flow-step-box {
            background: white;
            border-radius: 15px;
            padding: 25px 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 20px;
            max-width: 600px;
            width: 100%;
        }
        
        .step-number {
            background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5em;
            font-weight: bold;
            flex-shrink: 0;
        }
        
        .step-content {
            flex: 1;
        }
        
        .step-title {
            font-size: 1.2em;
            font-weight: bold;
            color: #5b21b6;
            margin-bottom: 5px;
        }
        
        .step-desc {
            color: #64748b;
        }
        
        .flow-arrow-down {
            font-size: 2em;
            color: #7c3aed;
        }
        
        /* ========== 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;
            border-radius: 15px;
            margin: 20px 0;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .faq-question {
            background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
            padding: 20px 25px;
            font-weight: bold;
            color: #0c4a6e;
            font-size: 1.1em;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .faq-answer {
            padding: 25px;
            color: #475569;
            line-height: 1.8;
        }
        
        /* ========== まとめ ========== */
        .summary {
            background: linear-gradient(135deg, #232f3e 0%, #dc7600 100%);
            color: white;
            padding: 50px;
            border-radius: 20px;
            text-align: center;
        }
        
        .summary h2 {
            font-size: 2.5em;
            margin-bottom: 30px;
        }
        
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 30px 0;
        }
        
        .summary-item {
            background: rgba(255,255,255,0.15);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }
        
        .summary-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .summary-title {
            font-size: 1.2em;
            font-weight: bold;
            color: #dc7600;
            margin-bottom: 10px;
        }
        
        .summary-desc {
            font-size: 0.95em;
            opacity: 0.9;
        }
        
        .final-message {
            background: rgba(255,255,255,0.2);
            padding: 30px;
            border-radius: 15px;
            margin-top: 30px;
            font-size: 1.2em;
            line-height: 1.8;
        }
        
        @media (max-width: 1024px) {
            .three-pillars,
            .pss-levels,
            .network-grid,
            .summary-grid {
                flex-direction: column;
                align-items: center;
            }
            
            .network-grid {
                grid-template-columns: 1fr;
            }
            
            .summary-grid {
                grid-template-columns: 1fr;
            }
            
            .admission-flow,
            .attack-flow {
                flex-direction: column;
            }
            
            .admission-arrow,
            .attack-arrow {
                transform: rotate(90deg);
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .encryption-flow {
                flex-direction: column;
            }
            
            .encryption-pipe {
                transform: rotate(90deg);
                margin: 20px 0;
            }
            
            table {
                font-size: 0.8em;
            }
            
            th, td {
                padding: 12px 8px;
            }
        }
    
    
    

    

    

    

    

    

    

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

    

    

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

    

    

    

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