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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', 'Hiragino Sans', 'Meiryo', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            min-height: 100vh;
            padding: 40px 20px;
            line-height: 1.8;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
        }
        
        /* ヘッダー */
        .header {
            text-align: center;
            padding: 60px 40px;
            background: rgba(255,255,255,0.95);
            border-radius: 30px;
            margin-bottom: 50px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.2);
        }
        
        .header h1 {
            font-size: 2.8em;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 20px;
        }
        
        .header-subtitle {
            font-size: 1.3em;
            color: #64748b;
        }
        
        .header-badge {
            display: inline-block;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            padding: 10px 25px;
            border-radius: 50px;
            margin-top: 20px;
            font-weight: bold;
        }
        
        /* アナロジーセクション */
        .analogy-hero {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 50px;
            border-radius: 25px;
            margin-bottom: 50px;
            border-left: 8px solid #f59e0b;
            box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
        }
        
        .analogy-title {
            font-size: 2.2em;
            color: #92400e;
            text-align: center;
            margin-bottom: 30px;
        }
        
        .analogy-grid {
            display: grid;
            grid-template-columns: 1fr 100px 1fr;
            gap: 20px;
            align-items: center;
        }
        
        .analogy-card {
            background: white;
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .analogy-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .analogy-name {
            font-size: 1.4em;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .analogy-aws {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            display: inline-block;
            font-size: 0.9em;
            margin-top: 10px;
        }
        
        .analogy-vs {
            font-size: 2.5em;
            color: #92400e;
            font-weight: bold;
            text-align: center;
        }
        
        .analogy-description {
            background: white;
            padding: 25px;
            border-radius: 15px;
            margin-top: 30px;
            text-align: center;
            color: #78350f;
            font-size: 1.1em;
        }
        
        /* メイン比較カード */
        .comparison-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-bottom: 50px;
        }
        
        .policy-card {
            background: white;
            border-radius: 25px;
            padding: 40px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            transition: transform 0.3s ease;
        }
        
        .policy-card:hover {
            transform: translateY(-10px);
        }
        
        .aws-managed {
            border-top: 8px solid #3b82f6;
            background: linear-gradient(to bottom, #eff6ff 0%, white 100%);
        }
        
        .customer-managed {
            border-top: 8px solid #8b5cf6;
            background: linear-gradient(to bottom, #f5f3ff 0%, white 100%);
        }
        
        .card-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .card-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .card-title {
            font-size: 1.8em;
            font-weight: bold;
        }
        
        .aws-managed .card-title {
            color: #1e40af;
        }
        
        .customer-managed .card-title {
            color: #6d28d9;
        }
        
        .card-subtitle {
            color: #64748b;
            font-size: 1.1em;
            margin-top: 5px;
        }
        
        .feature-list {
            list-style: none;
        }
        
        .feature-list li {
            padding: 15px 20px;
            margin: 10px 0;
            border-radius: 12px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        
        .aws-managed .feature-list li {
            background: #dbeafe;
        }
        
        .customer-managed .feature-list li {
            background: #ede9fe;
        }
        
        .feature-icon {
            font-size: 1.3em;
            flex-shrink: 0;
        }
        
        .feature-text {
            color: #334155;
        }
        
        .feature-text strong {
            display: block;
            margin-bottom: 3px;
        }
        
        /* 関係図 */
        .relationship-section {
            background: white;
            padding: 50px;
            border-radius: 25px;
            margin-bottom: 50px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .section-title {
            font-size: 2em;
            text-align: center;
            margin-bottom: 40px;
            color: #1e293b;
        }
        
        .relationship-diagram {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }
        
        .diagram-box {
            padding: 25px 35px;
            border-radius: 15px;
            text-align: center;
            font-weight: bold;
            font-size: 1.1em;
            min-width: 200px;
        }
        
        .box-aws {
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            color: white;
        }
        
        .box-customer {
            background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
            color: white;
        }
        
        .box-iam {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: white;
        }
        
        .diagram-arrow {
            font-size: 2em;
            color: #94a3b8;
        }
        
        .relationship-explanation {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }
        
        .explanation-card {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            border: 2px solid #e2e8f0;
        }
        
        .explanation-icon {
            font-size: 2.5em;
            margin-bottom: 15px;
        }
        
        .explanation-title {
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 10px;
            font-size: 1.1em;
        }
        
        .explanation-text {
            color: #64748b;
            font-size: 0.95em;
        }
        
        /* 詳細比較表 */
        .comparison-table-section {
            background: white;
            padding: 50px;
            border-radius: 25px;
            margin-bottom: 50px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            overflow-x: auto;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        
        th, td {
            padding: 18px 20px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
        }
        
        th {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-weight: bold;
        }
        
        th:first-child {
            border-radius: 10px 0 0 0;
        }
        
        th:last-child {
            border-radius: 0 10px 0 0;
        }
        
        tr:hover {
            background: #f8fafc;
        }
        
        .check {
            color: #10b981;
            font-weight: bold;
        }
        
        .cross {
            color: #ef4444;
            font-weight: bold;
        }
        
        .neutral {
            color: #f59e0b;
            font-weight: bold;
        }
        
        /* ユースケース */
        .usecase-section {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            padding: 50px;
            border-radius: 25px;
            margin-bottom: 50px;
            border-left: 8px solid #10b981;
        }
        
        .usecase-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        
        .usecase-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .usecase-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .usecase-icon {
            font-size: 2.5em;
        }
        
        .usecase-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #065f46;
        }
        
        .usecase-badge {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: bold;
            margin-top: 5px;
        }
        
        .badge-aws {
            background: #dbeafe;
            color: #1e40af;
        }
        
        .badge-customer {
            background: #ede9fe;
            color: #6d28d9;
        }
        
        .badge-both {
            background: #fef3c7;
            color: #92400e;
        }
        
        .usecase-content {
            color: #475569;
            line-height: 1.8;
        }
        
        /* コード例 */
        .code-section {
            background: #1e293b;
            padding: 50px;
            border-radius: 25px;
            margin-bottom: 50px;
        }
        
        .code-section .section-title {
            color: white;
        }
        
        .code-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .code-tab {
            padding: 12px 25px;
            border-radius: 10px 10px 0 0;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        .code-tab.aws {
            background: #3b82f6;
            color: white;
        }
        
        .code-tab.customer {
            background: #475569;
            color: #94a3b8;
        }
        
        .code-tab.customer:hover {
            background: #8b5cf6;
            color: white;
        }
        
        .code-block {
            background: #0f172a;
            padding: 30px;
            border-radius: 0 15px 15px 15px;
            overflow-x: auto;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.95em;
            line-height: 1.6;
        }
        
        .code-comment {
            color: #6b7280;
        }
        
        .code-key {
            color: #f472b6;
        }
        
        .code-string {
            color: #34d399;
        }
        
        .code-value {
            color: #60a5fa;
        }
        
        /* ベストプラクティス */
        .best-practices {
            background: white;
            padding: 50px;
            border-radius: 25px;
            margin-bottom: 50px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .practice-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin-top: 30px;
        }
        
        .practice-card {
            padding: 25px;
            border-radius: 15px;
            border-left: 5px solid;
        }
        
        .practice-do {
            background: #f0fdf4;
            border-color: #10b981;
        }
        
        .practice-dont {
            background: #fef2f2;
            border-color: #ef4444;
        }
        
        .practice-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            font-size: 1.2em;
            font-weight: bold;
        }
        
        .practice-do .practice-header {
            color: #065f46;
        }
        
        .practice-dont .practice-header {
            color: #991b1b;
        }
        
        .practice-list {
            list-style: none;
        }
        
        .practice-list li {
            padding: 8px 0;
            color: #475569;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        
        /* FAQ */
        .faq-section {
            background: linear-gradient(135deg, #fdf4ff 0%, #f5d0fe 100%);
            padding: 50px;
            border-radius: 25px;
            margin-bottom: 50px;
            border-left: 8px solid #a855f7;
        }
        
        .faq-item {
            background: white;
            padding: 25px;
            border-radius: 15px;
            margin: 15px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .faq-question {
            font-size: 1.1em;
            font-weight: bold;
            color: #7c3aed;
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        
        .faq-answer {
            color: #475569;
            padding-left: 30px;
            line-height: 1.8;
        }
        
        /* 選択フローチャート */
        .flowchart-section {
            background: white;
            padding: 50px;
            border-radius: 25px;
            margin-bottom: 50px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .flow-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            margin-top: 30px;
        }
        
        .flow-node {
            padding: 20px 40px;
            border-radius: 15px;
            text-align: center;
            font-weight: bold;
            max-width: 500px;
        }
        
        .flow-question {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            color: #92400e;
            border: 3px solid #f59e0b;
        }
        
        .flow-answer-aws {
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
            color: #1e40af;
            border: 3px solid #3b82f6;
        }
        
        .flow-answer-customer {
            background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
            color: #6d28d9;
            border: 3px solid #8b5cf6;
        }
        
        .flow-arrow {
            font-size: 1.5em;
            color: #94a3b8;
        }
        
        .flow-branch {
            display: flex;
            gap: 50px;
            justify-content: center;
        }
        
        .flow-branch-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
        
        .flow-label {
            font-weight: bold;
            padding: 5px 15px;
            border-radius: 20px;
        }
        
        .flow-yes {
            background: #d1fae5;
            color: #065f46;
        }
        
        .flow-no {
            background: #fee2e2;
            color: #991b1b;
        }
        
        /* まとめ */
        .summary-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 50px;
            border-radius: 25px;
            color: white;
            text-align: center;
        }
        
        .summary-title {
            font-size: 2em;
            margin-bottom: 30px;
        }
        
        .summary-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        
        .summary-card {
            background: rgba(255,255,255,0.15);
            padding: 30px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }
        
        .summary-card h3 {
            font-size: 1.4em;
            margin-bottom: 15px;
        }
        
        .summary-card p {
            opacity: 0.9;
            line-height: 1.8;
        }
        
        /* レスポンシブ */
        @media (max-width: 900px) {
            .comparison-cards,
            .analogy-grid,
            .usecase-grid,
            .practice-grid,
            .relationship-explanation,
            .summary-grid {
                grid-template-columns: 1fr;
            }
            
            .analogy-vs {
                transform: rotate(90deg);
            }
            
            .flow-branch {
                flex-direction: column;
                gap: 20px;
            }
            
            .header h1 {
                font-size: 2em;
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }