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

* {
            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: 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;
        }
        
        .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;
        }
        
        .key-points {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .key-point {
            background: rgba(255,255,255,0.1);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .key-point:hover {
            transform: translateY(-10px);
            background: rgba(255,255,255,0.2);
            border-color: #dc7600;
        }
        
        .key-point-icon {
            font-size: 3.5em;
            margin-bottom: 15px;
        }
        
        .key-point-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #dc7600;
            margin-bottom: 15px;
        }
        
        .key-point-desc {
            font-size: 1em;
            opacity: 0.9;
            line-height: 1.8;
        }
        
        /* ========== 問題説明セクション ========== */
        .problem-section {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #ef4444;
        }
        
        .problem-title {
            text-align: center;
            font-size: 2em;
            color: #991b1b;
            margin-bottom: 30px;
            font-weight: bold;
        }
        
        /* 銀行の例え図解 */
        .bank-analogy {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin: 30px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .bank-scene {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
            margin: 30px 0;
        }
        
        .bank-vault {
            background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
            position: relative;
        }
        
        .vault-icon {
            font-size: 5em;
            margin-bottom: 15px;
        }
        
        .vault-label {
            font-size: 1.3em;
            font-weight: bold;
            color: #78350f;
        }
        
        .vault-limit {
            background: #991b1b;
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9em;
            margin-top: 15px;
            display: inline-block;
        }
        
        .customers-queue {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .customer-row {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .customer {
            background: white;
            border: 3px solid #3b82f6;
            border-radius: 15px;
            padding: 15px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .customer.waiting {
            border-color: #f59e0b;
            background: #fffbeb;
        }
        
        .customer.rejected {
            border-color: #ef4444;
            background: #fef2f2;
            opacity: 0.7;
        }
        
        .customer-icon {
            font-size: 2em;
        }
        
        .customer-status {
            font-size: 0.8em;
            font-weight: bold;
            margin-top: 5px;
        }
        
        .arrow-right {
            font-size: 2em;
            color: #64748b;
        }
        
        /* スロットリング警告 */
        .throttle-warning {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            margin: 30px 0;
        }
        
        .throttle-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .throttle-message {
            font-size: 1.3em;
            font-weight: bold;
        }
        
        .throttle-detail {
            font-size: 1em;
            opacity: 0.9;
            margin-top: 10px;
        }
        
        /* ========== 解決策セクション ========== */
        .solution-section {
            background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #10b981;
        }
        
        .solution-title {
            text-align: center;
            font-size: 2em;
            color: #065f46;
            margin-bottom: 30px;
            font-weight: bold;
        }
        
        /* キャッシュの図解 */
        .cache-diagram {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin: 30px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .cache-flow {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            margin: 30px 0;
        }
        
        .cache-node {
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
            border: 4px solid #3b82f6;
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            min-width: 180px;
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
        }
        
        .cache-node.kms {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-color: #f59e0b;
        }
        
        .cache-node.sdk {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            border-color: #10b981;
        }
        
        .cache-node-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .cache-node-title {
            font-size: 1.2em;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 10px;
        }
        
        .cache-node-desc {
            font-size: 0.9em;
            color: #64748b;
        }
        
        .cache-arrow {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }
        
        .cache-arrow-line {
            font-size: 2em;
            color: #10b981;
        }
        
        .cache-arrow-label {
            font-size: 0.85em;
            color: #065f46;
            font-weight: bold;
            background: #d1fae5;
            padding: 5px 10px;
            border-radius: 10px;
        }
        
        /* ========== データキーキャッシュ仕組み ========== */
        .datakey-caching {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #3b82f6;
        }
        
        .datakey-title {
            text-align: center;
            font-size: 2em;
            color: #1e40af;
            margin-bottom: 30px;
            font-weight: bold;
        }
        
        .datakey-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 30px 0;
        }
        
        .comparison-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }
        
        .comparison-card.before {
            border-top: 6px solid #ef4444;
        }
        
        .comparison-card.after {
            border-top: 6px solid #10b981;
        }
        
        .comparison-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.85em;
        }
        
        .comparison-card.before .comparison-badge {
            background: #fee2e2;
            color: #991b1b;
        }
        
        .comparison-card.after .comparison-badge {
            background: #d1fae5;
            color: #065f46;
        }
        
        .comparison-title {
            font-size: 1.4em;
            font-weight: bold;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .comparison-card.before .comparison-title {
            color: #991b1b;
        }
        
        .comparison-card.after .comparison-title {
            color: #065f46;
        }
        
        .comparison-flow {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .flow-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            border-radius: 10px;
            background: #f8fafc;
        }
        
        .flow-item-icon {
            font-size: 1.5em;
        }
        
        .flow-item-text {
            flex: 1;
            color: #475569;
        }
        
        .flow-item-count {
            background: #64748b;
            color: white;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: bold;
            font-size: 0.85em;
        }
        
        .flow-item-count.high {
            background: #ef4444;
        }
        
        .flow-item-count.low {
            background: #10b981;
        }
        
        /* ========== SDK設定詳細 ========== */
        .sdk-config {
            background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #eab308;
        }
        
        .config-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin: 30px 0;
        }
        
        .config-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            border-left: 5px solid #eab308;
            transition: all 0.3s ease;
        }
        
        .config-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .config-icon {
            font-size: 2.5em;
            margin-bottom: 15px;
        }
        
        .config-name {
            font-size: 1.2em;
            font-weight: bold;
            color: #854d0e;
            margin-bottom: 10px;
        }
        
        .config-desc {
            color: #64748b;
            margin-bottom: 15px;
            line-height: 1.7;
        }
        
        .config-example {
            background: #1e293b;
            color: #f1f5f9;
            padding: 15px;
            border-radius: 10px;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            overflow-x: auto;
        }
        
        .config-example .keyword {
            color: #f472b6;
        }
        
        .config-example .number {
            color: #fbbf24;
        }
        
        .config-example .string {
            color: #34d399;
        }
        
        .config-example .comment {
            color: #94a3b8;
        }
        
        /* ========== ベストプラクティス ========== */
        .best-practices {
            background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #7c3aed;
        }
        
        .practices-title {
            text-align: center;
            font-size: 2em;
            color: #5b21b6;
            margin-bottom: 30px;
            font-weight: bold;
        }
        
        .practice-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 900px;
            margin: 0 auto;
        }
        
        .practice-item {
            background: white;
            border-radius: 15px;
            padding: 25px;
            display: flex;
            align-items: flex-start;
            gap: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .practice-item:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
        }
        
        .practice-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;
        }
        
        .practice-content {
            flex: 1;
        }
        
        .practice-title {
            font-size: 1.2em;
            font-weight: bold;
            color: #5b21b6;
            margin-bottom: 10px;
        }
        
        .practice-desc {
            color: #64748b;
            line-height: 1.7;
        }
        
        /* ========== スロットリング対策まとめ ========== */
        .strategies-section {
            background: white;
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .strategy-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin: 30px 0;
        }
        
        .strategy-card {
            background: linear-gradient(to bottom, #f8fafc 0%, white 100%);
            border-radius: 15px;
            padding: 30px;
            border-top: 5px solid;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }
        
        .strategy-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .strategy-card:nth-child(1) { border-color: #3b82f6; }
        .strategy-card:nth-child(2) { border-color: #10b981; }
        .strategy-card:nth-child(3) { border-color: #f59e0b; }
        .strategy-card:nth-child(4) { border-color: #8b5cf6; }
        
        .strategy-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .strategy-name {
            font-size: 1.3em;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 15px;
        }
        
        .strategy-desc {
            color: #64748b;
            line-height: 1.7;
        }
        
        .strategy-effect {
            background: #f8fafc;
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
            font-size: 0.95em;
        }
        
        .strategy-effect strong {
            color: #10b981;
        }
        
        /* ========== 比較表 ========== */
        .comparison-table {
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            overflow-x: auto;
        }
        
        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.05em;
        }
        
        th:first-child {
            border-radius: 10px 0 0 0;
            text-align: left;
        }
        
        th:last-child {
            border-radius: 0 10px 0 0;
        }
        
        td {
            padding: 18px;
            border-bottom: 2px solid #f1f5f9;
            text-align: center;
        }
        
        td:first-child {
            text-align: left;
            font-weight: bold;
            color: #1e293b;
        }
        
        tr:hover {
            background: #f8fafc;
        }
        
        .table-good {
            color: #10b981;
            font-weight: bold;
        }
        
        .table-bad {
            color: #ef4444;
            font-weight: bold;
        }
        
        /* ========== コード例 ========== */
        .code-section {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
        }
        
        .code-title {
            color: #60a5fa;
            font-size: 1.5em;
            font-weight: bold;
            margin-bottom: 25px;
            text-align: center;
        }
        
        .code-block {
            background: #0f172a;
            border-radius: 15px;
            padding: 25px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            line-height: 1.8;
            color: #f1f5f9;
            border: 1px solid #334155;
        }
        
        .code-block .comment { color: #94a3b8; }
        .code-block .keyword { color: #f472b6; }
        .code-block .string { color: #34d399; }
        .code-block .number { color: #fbbf24; }
        .code-block .function { color: #60a5fa; }
        .code-block .class { color: #c084fc; }
        
        /* ========== 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);
            border: 1px solid #e2e8f0;
        }
        
        .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(auto-fit, minmax(250px, 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;
            line-height: 1.7;
        }
        
        .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) {
            .datakey-comparison {
                grid-template-columns: 1fr;
            }
            
            .bank-scene {
                flex-direction: column;
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .key-points {
                grid-template-columns: 1fr;
            }
            
            .cache-flow {
                flex-direction: column;
            }
            
            .cache-arrow {
                transform: rotate(90deg);
            }
            
            table {
                font-size: 0.85em;
            }
            
            th, td {
                padding: 12px 8px;
            }
        }