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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
            min-height: 100vh;
            color: #334155;
            line-height: 1.8;
        
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        /* ヘッダー */
        .header {
            background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #2563eb 100%);
            padding: 60px 50px;
            border-radius: 30px;
            text-align: center;
            color: white;
            margin-bottom: 50px;
            box-shadow: 0 25px 60px rgba(79, 70, 229, 0.4);
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
            animation: pulse 4s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }
        
        .header h1 {
            font-size: 2.8em;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }
        
        .header p {
            font-size: 1.3em;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }
        
        /* コンテンツエリア */
        .content {
            background: white;
            border-radius: 30px;
            padding: 60px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        }
        
        /* 結論ファースト */
        .conclusion-first {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-left: 8px solid #CA8A04;
            padding: 40px;
            border-radius: 20px;
            margin-bottom: 50px;
        }
        
        .conclusion-first h2 {
            color: #92400e;
            font-size: 1.8em;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .conclusion-first .key-points {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }
        
        .key-point {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border-left: 4px solid #CA8A04;
        }
        
        .key-point strong {
            color: #92400e;
            font-size: 1.1em;
        }
        
        /* アナロジーセクション */
        .analogy-section {
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
            padding: 50px;
            border-radius: 25px;
            margin: 50px 0;
            border-left: 8px solid #3b82f6;
        }
        
        .analogy-title {
            color: #1e40af;
            font-size: 2.2em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .hotel-analogy {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }
        
        .analogy-card {
            background: white;
            padding: 35px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .analogy-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .analogy-icon {
            font-size: 3.5em;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .analogy-card h3 {
            color: #1e40af;
            font-size: 1.4em;
            text-align: center;
            margin-bottom: 10px;
        }
        
        .analogy-card .aws-service {
            text-align: center;
            color: #6b7280;
            font-size: 0.95em;
            margin-bottom: 20px;
            padding: 8px 15px;
            background: #f3f4f6;
            border-radius: 20px;
            display: inline-block;
            width: 100%;
        }
        
        .analogy-card p {
            color: #475569;
            line-height: 1.8;
        }
        
        /* コンセプト図 */
        .concept-diagram {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            padding: 50px;
            border-radius: 25px;
            margin: 50px 0;
        }
        
        .concept-title {
            color: #166534;
            font-size: 2em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .hierarchy-visual {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
        
        .hierarchy-level {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            width: 100%;
        }
        
        .hierarchy-box {
            background: white;
            padding: 25px 40px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            min-width: 200px;
        }
        
        .hierarchy-box.main {
            background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
            color: white;
            font-size: 1.2em;
            font-weight: bold;
        }
        
        .hierarchy-box.secondary {
            background: linear-gradient(135deg, #047857 0%, #059669 100%);
            color: white;
        }
        
        .hierarchy-box.tertiary {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            font-size: 0.95em;
        }
        
        .hierarchy-arrow {
            font-size: 2em;
            color: #6b7280;
        }
        
        .account-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-top: 30px;
        }
        
        .account-box {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            font-size: 0.9em;
            border: 2px solid #CA8A04;
        }
        
        /* フロー図 */
        .flow-section {
            margin: 50px 0;
        }
        
        .flow-title {
            font-size: 2em;
            color: #1e293b;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .flow-container {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        .flow-step {
            display: flex;
            align-items: flex-start;
            gap: 30px;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            padding: 35px;
            border-radius: 20px;
            border-left: 6px solid;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .flow-step:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .flow-step:nth-child(1) { border-color: #ef4444; }
        .flow-step:nth-child(2) { border-color: #EA580C; }
        .flow-step:nth-child(3) { border-color: #eab308; }
        .flow-step:nth-child(4) { border-color: #16A34A; }
        .flow-step:nth-child(5) { border-color: #3b82f6; }
        
        .step-number {
            background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
            color: white;
            width: 60px;
            height: 60px;
            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-content h4 {
            font-size: 1.4em;
            color: #1e293b;
            margin-bottom: 12px;
        }
        
        .step-content p {
            color: #64748b;
            line-height: 1.8;
        }
        
        .step-detail {
            background: white;
            padding: 20px;
            border-radius: 12px;
            margin-top: 15px;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9em;
            color: #475569;
            border: 1px solid #e2e8f0;
        }
        
        /* コンフォーマンスパック詳細 */
        .conformance-section {
            background: linear-gradient(135deg, #fdf4ff 0%, #f5d0fe 100%);
            padding: 50px;
            border-radius: 25px;
            margin: 50px 0;
            border-left: 8px solid #a855f7;
        }
        
        .conformance-title {
            color: #7e22ce;
            font-size: 2em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .pack-types {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }
        
        .pack-card {
            background: white;
            padding: 35px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .pack-card h3 {
            color: #7e22ce;
            font-size: 1.3em;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .pack-card ul {
            list-style: none;
            padding: 0;
        }
        
        .pack-card li {
            padding: 10px 0;
            border-bottom: 1px solid #f3e8ff;
            color: #475569;
            padding-left: 30px;
            position: relative;
        }
        
        .pack-card li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #a855f7;
            font-weight: bold;
        }
        
        /* コード例 */
        .code-section {
            margin: 50px 0;
        }
        
        .code-title {
            font-size: 2em;
            color: #1e293b;
            text-align: center;
            margin-bottom: 30px;
        }
        
        .code-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .code-tab {
            padding: 12px 25px;
            background: #e2e8f0;
            border-radius: 10px 10px 0 0;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            color: #64748b;
        }
        
        .code-tab:hover, .code-tab.active {
            background: #1e293b;
            color: white;
        }
        
        .code-content {
            display: none;
            background: #1e293b;
            padding: 30px;
            border-radius: 0 15px 15px 15px;
            overflow-x: auto;
        }
        
        .code-content.active {
            display: block;
        }
        
        .code-block {
            font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
            color: #e2e8f0;
            font-size: 0.9em;
            line-height: 1.8;
            white-space: pre-wrap;
        }
        
        .code-filename {
            color: #64748B;
            font-size: 0.9em;
            margin-bottom: 15px;
            padding: 10px 15px;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
            display: inline-block;
        }
        
        .code-comment { color: #6b7280; }
        .code-key { color: #CA8A04; }
        .code-value { color: #34d399; }
        .code-string { color: #2563EB; }
        
        /* 比較表 */
        .comparison-section {
            margin: 50px 0;
        }
        
        .comparison-title {
            font-size: 2em;
            color: #1e293b;
            text-align: center;
            margin-bottom: 30px;
        }
        
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .comparison-table th {
            background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
            color: white;
            padding: 20px;
            text-align: left;
            font-size: 1.1em;
        }
        
        .comparison-table td {
            padding: 18px 20px;
            border-bottom: 1px solid #e2e8f0;
            color: #475569;
        }
        
        .comparison-table tr:hover {
            background: #f8fafc;
        }
        
        .comparison-table tr:last-child td {
            border-bottom: none;
        }
        
        .badge {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
        }
        
        .badge-green {
            background: #dcfce7;
            color: #166534;
        }
        
        .badge-blue {
            background: #dbeafe;
            color: #1e40af;
        }
        
        .badge-purple {
            background: #f3e8ff;
            color: #7e22ce;
        }
        
        /* ユースケース */
        .usecase-section {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            padding: 50px;
            border-radius: 25px;
            margin: 50px 0;
        }
        
        .usecase-title {
            color: #065f46;
            font-size: 2em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .usecase-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .usecase-card {
            background: white;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            border-top: 5px solid #047857;
            transition: transform 0.3s ease;
        }
        
        .usecase-card:hover {
            transform: translateY(-5px);
        }
        
        .usecase-card h4 {
            color: #065f46;
            font-size: 1.2em;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .usecase-card p {
            color: #475569;
            margin-bottom: 15px;
        }
        
        .usecase-card .example {
            background: #f0fdf4;
            padding: 15px;
            border-radius: 10px;
            font-size: 0.9em;
            color: #166534;
        }
        
        /* ベストプラクティス */
        .best-practices {
            background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
            padding: 50px;
            border-radius: 25px;
            margin: 50px 0;
            border-left: 8px solid #ea580c;
        }
        
        .best-practices h2 {
            color: #c2410c;
            font-size: 2em;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .practice-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }
        
        .practice-item {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .practice-item h4 {
            color: #c2410c;
            font-size: 1.1em;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .practice-item p {
            color: #475569;
            font-size: 0.95em;
        }
        
        /* 注意点セクション */
        .warnings-section {
            background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #ef4444;
        }
        
        .warnings-section h2 {
            color: #b91c1c;
            font-size: 1.8em;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .warning-list {
            list-style: none;
            padding: 0;
        }
        
        .warning-list li {
            padding: 15px 20px;
            background: white;
            margin: 12px 0;
            border-radius: 12px;
            color: #7f1d1d;
            font-size: 1em;
            padding-left: 50px;
            position: relative;
        }
        
        .warning-list li::before {
            content: '⚠️';
            position: absolute;
            left: 15px;
        }
        
        /* FAQ */
        .faq-section {
            margin: 50px 0;
        }
        
        .faq-title {
            font-size: 2em;
            color: #1e293b;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .faq-item {
            background: #f8fafc;
            margin: 15px 0;
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid #e2e8f0;
        }
        
        .faq-question {
            padding: 25px 30px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: #1e293b;
            transition: background 0.3s ease;
        }
        
        .faq-question:hover {
            background: #e2e8f0;
        }
        
        .faq-answer {
            padding: 0 30px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            color: #64748b;
            line-height: 1.8;
        }
        
        .faq-item.open .faq-answer {
            padding: 20px 30px;
            max-height: 500px;
        }
        
        .faq-arrow {
            transition: transform 0.3s ease;
        }
        
        .faq-item.open .faq-arrow {
            transform: rotate(180deg);
        }
        
        /* まとめ */
        .summary-section {
            background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #2563eb 100%);
            padding: 50px;
            border-radius: 25px;
            color: white;
            text-align: center;
            margin-top: 50px;
        }
        
        .summary-section h2 {
            font-size: 2.2em;
            margin-bottom: 30px;
        }
        
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin: 30px 0;
        }
        
        .summary-item {
            background: rgba(255,255,255,0.15);
            padding: 30px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }
        
        .summary-item .icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .summary-item h4 {
            font-size: 1.2em;
            margin-bottom: 10px;
        }
        
        .summary-item p {
            opacity: 0.9;
            font-size: 0.95em;
        }
        
        .final-message {
            font-size: 1.3em;
            margin-top: 30px;
            padding: 25px;
            background: rgba(255,255,255,0.2);
            border-radius: 15px;
        }
        
        /* レスポンシブ */
        @media (max-width: 1024px) {
            .hotel-analogy,
            .pack-types,
            .practice-grid {
                grid-template-columns: 1fr;
            }
            
            .account-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .summary-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .flow-step {
                flex-direction: column;
                text-align: center;
            }
            
            .account-grid {
                grid-template-columns: 1fr;
            }
            
            .comparison-table {
                font-size: 0.85em;
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }