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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 25%, #155e75 50%, #0d9488 75%, #10b981 100%);
            min-height: 100vh;
            padding: 20px;
            line-height: 1.7;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            border-radius: 24px;
            box-shadow: 0 30px 80px rgba(0,0,0,0.4);
            overflow: hidden;
        }
        
        /* ヘッダー */
        .header {
            background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #0d9488 100%);
            color: white;
            padding: 60px 50px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '📋';
            position: absolute;
            font-size: 18em;
            opacity: 0.08;
            top: -40px;
            right: -30px;
        }
        
        .header::after {
            content: '✅';
            position: absolute;
            font-size: 12em;
            opacity: 0.08;
            bottom: -20px;
            left: 30px;
        }
        
        .header h1 {
            font-size: 2.8em;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .header-subtitle {
            font-size: 1.4em;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }
        
        .rule-badge {
            display: inline-block;
            background: rgba(255,255,255,0.2);
            padding: 8px 20px;
            border-radius: 30px;
            margin-top: 20px;
            font-family: monospace;
            font-size: 1em;
            backdrop-filter: blur(10px);
        }
        
        .content {
            padding: 50px;
        }
        
        /* 結論ファースト */
        .conclusion-first {
            background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d9488 100%);
            color: white;
            padding: 45px;
            border-radius: 20px;
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
        }
        
        .conclusion-first::before {
            content: '🎯';
            position: absolute;
            font-size: 8em;
            opacity: 0.1;
            top: -20px;
            right: 20px;
        }
        
        .conclusion-first h2 {
            font-size: 2em;
            margin-bottom: 25px;
            color: #5eead4;
            text-align: center;
        }
        
        .conclusion-summary {
            background: rgba(255,255,255,0.1);
            padding: 25px 30px;
            border-radius: 15px;
            font-size: 1.2em;
            text-align: center;
            margin-bottom: 30px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
        }
        
        .conclusion-points {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        
        .conclusion-point {
            background: rgba(255,255,255,0.1);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.15);
        }
        
        .conclusion-point:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,0.15);
        }
        
        .conclusion-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .conclusion-title {
            font-size: 1.1em;
            font-weight: bold;
            color: #5eead4;
            margin-bottom: 10px;
        }
        
        .conclusion-desc {
            font-size: 0.95em;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        /* たとえ話セクション */
        .analogy-section {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            padding: 45px;
            border-radius: 20px;
            margin-bottom: 50px;
            border-left: 6px solid #10b981;
        }
        
        .analogy-title {
            font-size: 2em;
            color: #065f46;
            margin-bottom: 25px;
            text-align: center;
        }
        
        .analogy-intro {
            font-size: 1.2em;
            color: #047857;
            text-align: center;
            margin-bottom: 35px;
            line-height: 1.8;
        }
        
        .office-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }
        
        .office-element {
            background: white;
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            min-width: 160px;
            transition: transform 0.3s ease;
        }
        
        .office-element:hover {
            transform: scale(1.05);
        }
        
        .office-emoji {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .office-label {
            font-size: 1em;
            color: #065f46;
            font-weight: bold;
        }
        
        .office-sublabel {
            font-size: 0.85em;
            color: #6b7280;
            margin-top: 5px;
        }
        
        .arrow-flow {
            font-size: 2.5em;
            color: #10b981;
        }
        
        /* 比較ボックス */
        .comparison-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        
        .comparison-box {
            padding: 30px;
            border-radius: 15px;
        }
        
        .comparison-box.office {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border: 2px solid #f59e0b;
        }
        
        .comparison-box.aws {
            background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
            border: 2px solid #06b6d4;
        }
        
        .comparison-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }
        
        .comparison-header-icon {
            font-size: 2em;
        }
        
        .comparison-header-title {
            font-size: 1.3em;
            font-weight: bold;
        }
        
        .comparison-box.office .comparison-header-title { color: #b45309; }
        .comparison-box.aws .comparison-header-title { color: #0891b2; }
        
        .comparison-items {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .comparison-item {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255,255,255,0.7);
            padding: 12px 15px;
            border-radius: 10px;
        }
        
        .comparison-item-icon {
            font-size: 1.3em;
        }
        
        .comparison-item-text {
            font-size: 0.95em;
        }
        
        /* 仕組み説明 */
        .how-it-works {
            margin-bottom: 50px;
        }
        
        .section-title {
            font-size: 2em;
            color: #0f172a;
            margin-bottom: 30px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        
        .flow-diagram {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }
        
        .flow-step {
            background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
            color: white;
            padding: 30px 25px;
            border-radius: 15px;
            text-align: center;
            min-width: 180px;
            position: relative;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        
        .flow-step-number {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2em;
            box-shadow: 0 4px 15px rgba(16,185,129,0.4);
        }
        
        .flow-step-icon {
            font-size: 3em;
            margin: 15px 0;
        }
        
        .flow-step-title {
            font-weight: bold;
            font-size: 1em;
            margin-bottom: 8px;
            color: #5eead4;
        }
        
        .flow-step-desc {
            font-size: 0.85em;
            opacity: 0.9;
        }
        
        .flow-arrow {
            font-size: 2.5em;
            color: #10b981;
        }
        
        /* 判定結果 */
        .result-section {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            padding: 40px;
            border-radius: 20px;
            margin-bottom: 50px;
        }
        
        .result-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }
        
        .result-card {
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            transition: transform 0.3s ease;
        }
        
        .result-card:hover {
            transform: translateY(-5px);
        }
        
        .result-card.compliant {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            border: 3px solid #10b981;
        }
        
        .result-card.non-compliant {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            border: 3px solid #ef4444;
        }
        
        .result-card.not-applicable {
            background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
            border: 3px solid #6b7280;
        }
        
        .result-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .result-title {
            font-size: 1.3em;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .result-card.compliant .result-title { color: #065f46; }
        .result-card.non-compliant .result-title { color: #991b1b; }
        .result-card.not-applicable .result-title { color: #374151; }
        
        .result-conditions {
            text-align: left;
            font-size: 0.9em;
        }
        
        .result-conditions li {
            margin-bottom: 8px;
            padding-left: 5px;
        }
        
        /* パラメータ */
        .parameters-section {
            margin-bottom: 50px;
        }
        
        .param-card {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-radius: 20px;
            padding: 35px;
            margin-bottom: 25px;
            border-left: 6px solid #f59e0b;
        }
        
        .param-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .param-icon {
            font-size: 2.5em;
        }
        
        .param-name {
            font-size: 1.5em;
            font-weight: bold;
            color: #b45309;
            font-family: monospace;
        }
        
        .param-required {
            background: #ef4444;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8em;
            margin-left: 10px;
        }
        
        .param-optional {
            background: #6b7280;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8em;
            margin-left: 10px;
        }
        
        .param-desc {
            font-size: 1.1em;
            color: #78350f;
            margin-bottom: 20px;
            line-height: 1.7;
        }
        
        .param-example {
            background: #1f2937;
            color: #10b981;
            padding: 20px;
            border-radius: 10px;
            font-family: monospace;
            overflow-x: auto;
        }
        
        .param-example-label {
            color: #6B7280;
            font-size: 0.85em;
            margin-bottom: 10px;
            display: block;
        }
        
        /* ユースケース */
        .usecase-section {
            background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
            padding: 45px;
            border-radius: 20px;
            margin-bottom: 50px;
        }
        
        .usecase-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }
        
        .usecase-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .usecase-card:hover {
            transform: translateY(-5px);
        }
        
        .usecase-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }
        
        .usecase-icon {
            font-size: 2.5em;
        }
        
        .usecase-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #5b21b6;
        }
        
        .usecase-desc {
            color: #6b7280;
            line-height: 1.7;
            margin-bottom: 15px;
        }
        
        .usecase-apps {
            background: #f3f4f6;
            padding: 15px;
            border-radius: 10px;
        }
        
        .usecase-apps-label {
            font-size: 0.85em;
            color: #6b7280;
            margin-bottom: 8px;
        }
        
        .usecase-apps-list {
            font-family: monospace;
            color: #7c3aed;
            font-size: 0.9em;
        }
        
        /* 前提条件 */
        .prerequisites {
            background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
            padding: 40px;
            border-radius: 20px;
            margin-bottom: 50px;
            border: 2px solid #ef4444;
        }
        
        .prereq-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }
        
        .prereq-card {
            background: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
        }
        
        .prereq-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .prereq-title {
            font-size: 1.1em;
            font-weight: bold;
            color: #dc2626;
            margin-bottom: 10px;
        }
        
        .prereq-desc {
            font-size: 0.9em;
            color: #6b7280;
            line-height: 1.6;
        }
        
        /* トラブルシューティング */
        .troubleshoot-section {
            background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
            padding: 45px;
            border-radius: 20px;
            margin-bottom: 50px;
        }
        
        .trouble-item {
            background: white;
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 20px;
            border-left: 5px solid #f97316;
        }
        
        .trouble-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }
        
        .trouble-icon {
            font-size: 1.8em;
        }
        
        .trouble-question {
            font-size: 1.15em;
            font-weight: bold;
            color: #c2410c;
        }
        
        .trouble-answer {
            color: #6b7280;
            line-height: 1.7;
            padding-left: 45px;
        }
        
        .trouble-tip {
            background: #fef3c7;
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
            font-size: 0.95em;
        }
        
        /* コード例 */
        .code-section {
            margin-bottom: 50px;
        }
        
        .code-block {
            background: #1e293b;
            border-radius: 15px;
            overflow: hidden;
            margin-bottom: 25px;
        }
        
        .code-header {
            background: #0f172a;
            color: #5eead4;
            padding: 15px 25px;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .code-content {
            padding: 25px;
            color: #e2e8f0;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9em;
            overflow-x: auto;
            line-height: 1.6;
        }
        
        .code-comment { color: #6b7280; }
        .code-keyword { color: #f472b6; }
        .code-string { color: #a5f3fc; }
        .code-value { color: #fde68a; }
        
        /* FAQ */
        .faq-section {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            padding: 45px;
            border-radius: 20px;
            margin-bottom: 50px;
        }
        
        .faq-item {
            background: white;
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        }
        
        .faq-question {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.15em;
            font-weight: bold;
            color: #166534;
            margin-bottom: 15px;
        }
        
        .faq-answer {
            color: #6b7280;
            line-height: 1.8;
            padding-left: 40px;
        }
        
        /* まとめ */
        .summary {
            background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d9488 100%);
            color: white;
            padding: 50px;
            border-radius: 20px;
            text-align: center;
        }
        
        .summary h2 {
            font-size: 2.2em;
            margin-bottom: 30px;
            color: #5eead4;
        }
        
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
        
        .summary-item {
            background: rgba(255,255,255,0.1);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }
        
        .summary-item-icon {
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        
        .summary-item-title {
            font-weight: bold;
            color: #5eead4;
            margin-bottom: 8px;
        }
        
        .summary-item-desc {
            font-size: 0.9em;
            opacity: 0.9;
        }
        
        /* レスポンシブ */
        @media (max-width: 1024px) {
            .conclusion-points,
            .result-grid,
            .prereq-grid {
                grid-template-columns: 1fr;
            }
            
            .comparison-grid,
            .usecase-grid {
                grid-template-columns: 1fr;
            }
            
            .summary-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .flow-diagram {
                flex-direction: column;
            }
            
            .flow-arrow {
                transform: rotate(90deg);
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 1.8em;
            }
            
            .content {
                padding: 25px;
            }
            
            .office-visual {
                flex-direction: column;
            }
            
            .arrow-flow {
                transform: rotate(90deg);
            }
            
            .summary-grid {
                grid-template-columns: 1fr;
            }
        }