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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', 'Hiragino Sans', 'Meiryo', sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            min-height: 100vh;
            padding: 40px 20px;
            color: #e8e8e8;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
        }
        
        /* ヘッダー */
        .header {
            text-align: center;
            margin-bottom: 50px;
            padding: 40px;
            background: linear-gradient(135deg, rgba(255,153,0,0.2), rgba(255,153,0,0.05));
            border-radius: 20px;
            border: 2px solid #dc7600;
        }
        
        .header h1 {
            font-size: 2.8em;
            color: #dc7600;
            margin-bottom: 15px;
            text-shadow: 0 0 30px rgba(255,153,0,0.5);
        }
        
        .header-subtitle {
            font-size: 1.3em;
            color: #94a3b8;
        }
        
        .aws-badge {
            display: inline-block;
            background: linear-gradient(135deg, #dc7600, #ff6600);
            color: white;
            padding: 8px 20px;
            border-radius: 25px;
            font-weight: bold;
            margin-top: 15px;
        }
        
        /* 結論ファースト */
        .conclusion-first {
            background: linear-gradient(135deg, #065f46, #047857);
            border-radius: 20px;
            padding: 35px;
            margin-bottom: 50px;
            border: 3px solid #10b981;
            position: relative;
            overflow: hidden;
        }
        
        .conclusion-first::before {
            content: '💡';
            position: absolute;
            top: -20px;
            right: 30px;
            font-size: 80px;
            opacity: 0.2;
        }
        
        .conclusion-title {
            font-size: 1.8em;
            color: #6ee7b7;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .conclusion-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }
        
        .conclusion-item {
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 15px;
            border-left: 5px solid #6ee7b7;
        }
        
        .conclusion-item h4 {
            color: #6ee7b7;
            font-size: 1.2em;
            margin-bottom: 10px;
        }
        
        .conclusion-item p {
            color: #d1fae5;
            line-height: 1.6;
        }
        
        /* レストランたとえ */
        .analogy-section {
            margin-bottom: 50px;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.2em;
            color: #f8fafc;
            margin-bottom: 30px;
        }
        
        .restaurant-diagram {
            background: linear-gradient(180deg, #312e81 0%, #1e1b4b 100%);
            border-radius: 25px;
            padding: 40px;
            border: 3px solid #6366f1;
            position: relative;
        }
        
        .restaurant-building {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 900px;
            margin: 0 auto;
        }
        
        .restaurant-roof {
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            padding: 20px 60px;
            border-radius: 15px 15px 0 0;
            text-align: center;
            font-size: 1.5em;
            font-weight: bold;
            color: white;
            width: 100%;
        }
        
        .restaurant-body {
            background: linear-gradient(180deg, #fef3c7, #fde68a);
            padding: 30px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        
        .area-box {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        
        .area-title {
            font-size: 1.3em;
            font-weight: bold;
            padding: 12px 20px;
            border-radius: 10px;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .management-area .area-title {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
        }
        
        .data-area .area-title {
            background: linear-gradient(135deg, #8b5cf6, #6d28d9);
            color: white;
        }
        
        .area-content {
            color: #1f2937;
        }
        
        .area-subtitle {
            font-weight: bold;
            color: #374151;
            margin-bottom: 15px;
            font-size: 1.1em;
        }
        
        .example-list {
            list-style: none;
            padding: 0;
        }
        
        .example-list li {
            padding: 10px 15px;
            margin: 8px 0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .management-area .example-list li {
            background: #dbeafe;
            border-left: 4px solid #3b82f6;
        }
        
        .data-area .example-list li {
            background: #ede9fe;
            border-left: 4px solid #8b5cf6;
        }
        
        .analogy-explanation {
            text-align: center;
            margin-top: 30px;
            padding: 20px;
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
        }
        
        .analogy-explanation p {
            color: #c7d2fe;
            font-size: 1.1em;
            line-height: 1.8;
        }
        
        /* メイン比較セクション */
        .comparison-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .event-card {
            border-radius: 25px;
            padding: 35px;
            position: relative;
            overflow: hidden;
        }
        
        .management-card {
            background: linear-gradient(135deg, #1e40af, #1d4ed8, #2563eb);
            border: 3px solid #60a5fa;
        }
        
        .data-card {
            background: linear-gradient(135deg, #6b21a8, #7c3aed, #8b5cf6);
            border: 3px solid #a78bfa;
        }
        
        .card-icon {
            font-size: 4em;
            position: absolute;
            top: 20px;
            right: 20px;
            opacity: 0.3;
        }
        
        .card-header {
            margin-bottom: 25px;
        }
        
        .card-header h2 {
            font-size: 1.8em;
            margin-bottom: 10px;
        }
        
        .card-header .en-name {
            color: rgba(255,255,255,0.7);
            font-size: 1.1em;
        }
        
        .card-header .plane-name {
            background: rgba(255,255,255,0.2);
            display: inline-block;
            padding: 5px 15px;
            border-radius: 20px;
            margin-top: 10px;
            font-size: 0.95em;
        }
        
        .card-feature {
            background: rgba(255,255,255,0.15);
            border-radius: 12px;
            padding: 15px;
            margin: 12px 0;
        }
        
        .card-feature h4 {
            color: #fcd34d;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .card-feature p {
            color: rgba(255,255,255,0.9);
            line-height: 1.6;
        }
        
        .default-badge {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: bold;
            margin-top: 15px;
        }
        
        .default-on {
            background: #10b981;
            color: white;
        }
        
        .default-off {
            background: #ef4444;
            color: white;
        }
        
        /* API分類セクション */
        .api-classification {
            background: linear-gradient(135deg, #0c4a6e, #075985);
            border-radius: 25px;
            padding: 40px;
            margin-bottom: 50px;
            border: 3px solid #0ea5e9;
        }
        
        .api-section-title {
            text-align: center;
            font-size: 2em;
            color: #7dd3fc;
            margin-bottom: 30px;
        }
        
        .api-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
        }
        
        .api-card {
            background: rgba(255,255,255,0.1);
            border-radius: 20px;
            padding: 25px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .api-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }
        
        .api-name {
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 1.4em;
            padding: 12px 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .management-api .api-name {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            border: 2px solid #60a5fa;
        }
        
        .data-api .api-name {
            background: linear-gradient(135deg, #8b5cf6, #6d28d9);
            border: 2px solid #a78bfa;
        }
        
        .api-type-badge {
            display: inline-block;
            padding: 6px 14px;
            border-radius: 15px;
            font-size: 0.9em;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .management-api .api-type-badge {
            background: #3b82f6;
        }
        
        .data-api .api-type-badge {
            background: #8b5cf6;
        }
        
        .api-description {
            margin-bottom: 15px;
        }
        
        .api-description h4 {
            color: #fcd34d;
            margin-bottom: 8px;
        }
        
        .api-description p {
            color: rgba(255,255,255,0.85);
            line-height: 1.6;
        }
        
        .api-analogy {
            background: rgba(251,191,36,0.2);
            padding: 15px;
            border-radius: 10px;
            border-left: 4px solid #fbbf24;
        }
        
        .api-analogy h4 {
            color: #fcd34d;
            margin-bottom: 8px;
        }
        
        .api-analogy p {
            color: #fef3c7;
        }
        
        .target-indicator {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 15px;
            padding: 10px 15px;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
        }
        
        .target-indicator .label {
            color: #94a3b8;
            font-size: 0.9em;
        }
        
        .target-indicator .value {
            color: #f8fafc;
            font-weight: bold;
        }
        
        /* 重要ポイント図解 */
        .key-points {
            background: linear-gradient(135deg, #7c2d12, #9a3412);
            border-radius: 25px;
            padding: 40px;
            margin-bottom: 50px;
            border: 3px solid #f97316;
        }
        
        .key-points-title {
            text-align: center;
            font-size: 2em;
            color: #fdba74;
            margin-bottom: 30px;
        }
        
        .point-comparison {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }
        
        .point-box {
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
        }
        
        .point-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .point-title {
            font-size: 1.2em;
            color: #fdba74;
            margin-bottom: 10px;
        }
        
        .point-values {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }
        
        .point-value {
            padding: 10px;
            border-radius: 10px;
            font-size: 0.9em;
        }
        
        .point-value.management {
            background: #3b82f6;
        }
        
        .point-value.data {
            background: #8b5cf6;
        }
        
        /* バケット vs オブジェクト図解 */
        .bucket-object-diagram {
            background: linear-gradient(135deg, #064e3b, #065f46);
            border-radius: 25px;
            padding: 40px;
            margin-bottom: 50px;
            border: 3px solid #10b981;
        }
        
        .bucket-diagram-title {
            text-align: center;
            font-size: 2em;
            color: #6ee7b7;
            margin-bottom: 30px;
        }
        
        .bucket-visual {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            gap: 60px;
            flex-wrap: wrap;
        }
        
        .bucket-container {
            text-align: center;
        }
        
        .bucket-shape {
            width: 280px;
            height: 200px;
            background: linear-gradient(180deg, #fbbf24, #f59e0b);
            border-radius: 20px 20px 40px 40px;
            position: relative;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-content: center;
            padding: 30px;
            gap: 15px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }
        
        .bucket-label {
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            background: #f59e0b;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: bold;
            color: #1f2937;
            white-space: nowrap;
        }
        
        .object-item {
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2em;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .bucket-controls {
            margin-top: 30px;
            text-align: left;
        }
        
        .control-item {
            background: rgba(255,255,255,0.15);
            padding: 12px 20px;
            margin: 8px 0;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .control-badge {
            padding: 4px 10px;
            border-radius: 10px;
            font-size: 0.85em;
            font-weight: bold;
        }
        
        .badge-management {
            background: #3b82f6;
        }
        
        .badge-data {
            background: #8b5cf6;
        }
        
        .diagram-explanation {
            max-width: 400px;
            margin-left: 40px;
        }
        
        .explanation-box {
            background: rgba(255,255,255,0.1);
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 20px;
        }
        
        .explanation-box h4 {
            color: #6ee7b7;
            margin-bottom: 10px;
            font-size: 1.2em;
        }
        
        .explanation-box p {
            color: #d1fae5;
            line-height: 1.7;
        }
        
        /* 設定方法 */
        .settings-section {
            background: linear-gradient(135deg, #4c1d95, #5b21b6);
            border-radius: 25px;
            padding: 40px;
            margin-bottom: 50px;
            border: 3px solid #a78bfa;
        }
        
        .settings-title {
            text-align: center;
            font-size: 2em;
            color: #c4b5fd;
            margin-bottom: 30px;
        }
        
        .settings-flow {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .flow-step {
            background: rgba(255,255,255,0.1);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            min-width: 200px;
        }
        
        .flow-step-number {
            width: 40px;
            height: 40px;
            background: #a78bfa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2em;
            margin: 0 auto 15px;
        }
        
        .flow-step h4 {
            color: #e9d5ff;
            margin-bottom: 10px;
        }
        
        .flow-step p {
            color: #ddd6fe;
            font-size: 0.95em;
        }
        
        .flow-arrow {
            font-size: 2em;
            color: #a78bfa;
        }
        
        /* コスト警告 */
        .cost-warning {
            background: linear-gradient(135deg, #7f1d1d, #991b1b);
            border-radius: 20px;
            padding: 30px;
            margin-top: 30px;
            border: 3px solid #f87171;
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .warning-icon {
            font-size: 3em;
        }
        
        .warning-content h4 {
            color: #fca5a5;
            margin-bottom: 10px;
            font-size: 1.3em;
        }
        
        .warning-content p {
            color: #fecaca;
            line-height: 1.6;
        }
        
        /* 比較表 */
        .comparison-table-section {
            background: linear-gradient(135deg, #1e293b, #334155);
            border-radius: 25px;
            padding: 40px;
            margin-bottom: 50px;
            border: 3px solid #64748b;
        }
        
        .table-title {
            text-align: center;
            font-size: 2em;
            color: #e2e8f0;
            margin-bottom: 30px;
        }
        
        .comparison-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            overflow: hidden;
            border-radius: 15px;
        }
        
        .comparison-table th {
            padding: 18px 15px;
            text-align: center;
            font-size: 1.1em;
        }
        
        .comparison-table th:first-child {
            background: #475569;
            color: #f1f5f9;
        }
        
        .comparison-table th:nth-child(2) {
            background: #3b82f6;
            color: white;
        }
        
        .comparison-table th:nth-child(3) {
            background: #8b5cf6;
            color: white;
        }
        
        .comparison-table td {
            padding: 15px;
            border-bottom: 1px solid #475569;
        }
        
        .comparison-table td:first-child {
            background: #334155;
            color: #e2e8f0;
            font-weight: bold;
        }
        
        .comparison-table td:nth-child(2) {
            background: rgba(59, 130, 246, 0.15);
            color: #93c5fd;
            text-align: center;
        }
        
        .comparison-table td:nth-child(3) {
            background: rgba(139, 92, 246, 0.15);
            color: #c4b5fd;
            text-align: center;
        }
        
        .check {
            color: #10b981;
            font-weight: bold;
        }
        
        .cross {
            color: #ef4444;
            font-weight: bold;
        }
        
        /* ユースケース */
        .use-case-section {
            background: linear-gradient(135deg, #0f172a, #1e293b);
            border-radius: 25px;
            padding: 40px;
            margin-bottom: 50px;
            border: 3px solid #475569;
        }
        
        .use-case-title {
            text-align: center;
            font-size: 2em;
            color: #f8fafc;
            margin-bottom: 30px;
        }
        
        .use-case-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
        }
        
        .use-case-card {
            background: rgba(255,255,255,0.05);
            border-radius: 20px;
            padding: 30px;
            border-left: 5px solid;
            transition: transform 0.3s;
        }
        
        .use-case-card:hover {
            transform: translateX(10px);
        }
        
        .use-case-card.management-case {
            border-left-color: #3b82f6;
        }
        
        .use-case-card.data-case {
            border-left-color: #8b5cf6;
        }
        
        .use-case-icon {
            font-size: 2.5em;
            margin-bottom: 15px;
        }
        
        .use-case-card h4 {
            color: #f8fafc;
            margin-bottom: 10px;
            font-size: 1.3em;
        }
        
        .use-case-card p {
            color: #94a3b8;
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .event-type-tag {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.85em;
            font-weight: bold;
        }
        
        .tag-management {
            background: #3b82f6;
        }
        
        .tag-data {
            background: #8b5cf6;
        }
        
        /* FAQ */
        .faq-section {
            background: linear-gradient(135deg, #14532d, #166534);
            border-radius: 25px;
            padding: 40px;
            border: 3px solid #22c55e;
        }
        
        .faq-title {
            text-align: center;
            font-size: 2em;
            color: #86efac;
            margin-bottom: 30px;
        }
        
        .faq-item {
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 20px;
        }
        
        .faq-question {
            color: #86efac;
            font-size: 1.2em;
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        
        .faq-answer {
            color: #d1fae5;
            line-height: 1.8;
            padding-left: 30px;
        }
        
        .faq-answer code {
            background: rgba(0,0,0,0.3);
            padding: 2px 8px;
            border-radius: 5px;
            font-family: 'Consolas', 'Monaco', monospace;
            color: #fbbf24;
        }
        
        /* レスポンシブ */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .section-title,
            .api-section-title,
            .key-points-title,
            .bucket-diagram-title,
            .settings-title,
            .table-title,
            .use-case-title,
            .faq-title {
                font-size: 1.6em;
            }
            
            .restaurant-body {
                grid-template-columns: 1fr;
            }
            
            .comparison-section {
                grid-template-columns: 1fr;
            }
            
            .bucket-visual {
                flex-direction: column;
                align-items: center;
            }
            
            .diagram-explanation {
                margin-left: 0;
                margin-top: 20px;
            }
            
            .settings-flow {
                flex-direction: column;
            }
            
            .flow-arrow {
                transform: rotate(90deg);
            }
            
            .cost-warning {
                flex-direction: column;
                text-align: center;
            }
        }
    
    
    

    

    

    

    

    

    

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

    

    

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

    

    

    

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