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

* {
            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%, #533483 75%, #e94560 100%);
            padding: 20px;
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
            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.5);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #0f3460 0%, #533483 50%, #e94560 100%);
            color: white;
            padding: 50px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '🔔';
            position: absolute;
            font-size: 18em;
            opacity: 0.1;
            top: -40px;
            right: -30px;
        }
        
        .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;
        }
        
        .intro {
            text-align: center;
            margin-bottom: 50px;
            padding: 40px;
            background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
            border-radius: 15px;
            border-left: 6px solid #e94560;
        }
        
        .intro h2 {
            color: #be123c;
            font-size: 2.2em;
            margin-bottom: 20px;
        }
        
        .intro-text {
            font-size: 1.2em;
            color: #881337;
            line-height: 1.8;
        }
        
        .analogy-hero {
            background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #0284c7;
        }
        
        .analogy-title {
            color: #0c4a6e;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .analogy-building {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
        
        .analogy-card {
            background: white;
            padding: 30px 20px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .analogy-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        .analogy-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .analogy-card h3 {
            color: #0c4a6e;
            font-size: 1.3em;
            margin-bottom: 10px;
        }
        
        .analogy-card .aws-service {
            background: linear-gradient(135deg, #0f3460, #533483);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: bold;
            display: inline-block;
            margin: 10px 0;
        }
        
        .analogy-card p {
            color: #64748b;
            font-size: 0.95em;
            line-height: 1.6;
        }
        
        .flow-section {
            background: linear-gradient(to bottom, #f8fafc 0%, white 100%);
            padding: 50px 30px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .flow-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 40px;
            font-weight: bold;
        }
        
        .flow-diagram {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            padding: 30px;
        }
        
        .flow-step {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            text-align: center;
            min-width: 180px;
            transition: all 0.3s ease;
        }
        
        .flow-step:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 35px rgba(0,0,0,0.15);
        }
        
        .flow-step-1 { border-top: 5px solid #ef4444; }
        .flow-step-2 { border-top: 5px solid #f97316; }
        .flow-step-3 { border-top: 5px solid #eab308; }
        .flow-step-4 { border-top: 5px solid #22c55e; }
        .flow-step-5 { border-top: 5px solid #3b82f6; }
        
        .flow-step-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .flow-step h4 {
            color: #1e293b;
            font-size: 1.1em;
            margin-bottom: 8px;
        }
        
        .flow-step p {
            color: #64748b;
            font-size: 0.85em;
        }
        
        .flow-arrow {
            font-size: 2.5em;
            color: #94a3b8;
        }
        
        .service-detail {
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin: 40px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .service-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 3px solid #f1f5f9;
        }
        
        .service-icon {
            font-size: 4em;
        }
        
        .service-title-block h3 {
            font-size: 2em;
            color: #1e293b;
            margin-bottom: 5px;
        }
        
        .service-title-block .subtitle {
            color: #64748b;
            font-size: 1.1em;
        }
        
        .service-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }
        
        .service-box {
            background: #f8fafc;
            padding: 25px;
            border-radius: 12px;
            border-left: 4px solid;
        }
        
        .service-box-blue { border-color: #3b82f6; }
        .service-box-green { border-color: #22c55e; }
        .service-box-purple { border-color: #8b5cf6; }
        .service-box-orange { border-color: #f97316; }
        
        .service-box h4 {
            color: #1e293b;
            font-size: 1.2em;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .service-box p {
            color: #475569;
            line-height: 1.7;
        }
        
        .service-box ul {
            color: #475569;
            padding-left: 20px;
            margin-top: 10px;
        }
        
        .service-box li {
            margin: 8px 0;
        }
        
        .cloudtrail-section { border-top: 8px solid #ef4444; }
        .cloudwatch-logs-section { border-top: 8px solid #f97316; }
        .cloudwatch-alarm-section { border-top: 8px solid #eab308; }
        .sns-section { border-top: 8px solid #22c55e; }
        
        .setup-section {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #f59e0b;
        }
        
        .setup-title {
            color: #92400e;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .setup-steps {
            max-width: 900px;
            margin: 0 auto;
        }
        
        .setup-step {
            background: white;
            padding: 30px;
            border-radius: 15px;
            margin: 20px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            position: relative;
            padding-left: 100px;
        }
        
        .setup-step-number {
            position: absolute;
            left: 25px;
            top: 50%;
            transform: translateY(-50%);
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8em;
            font-weight: bold;
        }
        
        .setup-step h4 {
            color: #92400e;
            font-size: 1.4em;
            margin-bottom: 10px;
        }
        
        .setup-step p {
            color: #78350f;
            line-height: 1.7;
        }
        
        .setup-step .time-badge {
            display: inline-block;
            background: #fef3c7;
            color: #92400e;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.85em;
            font-weight: bold;
            margin-top: 10px;
        }
        
        .use-cases {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin: 40px 0;
        }
        
        .use-case-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border-top: 5px solid;
            transition: all 0.3s ease;
        }
        
        .use-case-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .use-case-card:nth-child(1) { border-color: #ef4444; }
        .use-case-card:nth-child(2) { border-color: #3b82f6; }
        .use-case-card:nth-child(3) { border-color: #22c55e; }
        .use-case-card:nth-child(4) { border-color: #8b5cf6; }
        .use-case-card:nth-child(5) { border-color: #f97316; }
        .use-case-card:nth-child(6) { border-color: #ec4899; }
        
        .use-case-icon {
            font-size: 3em;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .use-case-card h4 {
            color: #1e293b;
            font-size: 1.3em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .use-case-card p {
            color: #475569;
            line-height: 1.6;
            margin-bottom: 15px;
        }
        
        .use-case-filter {
            background: #f1f5f9;
            padding: 12px;
            border-radius: 8px;
            font-family: 'Courier New', monospace;
            font-size: 0.85em;
            color: #334155;
            word-break: break-all;
        }
        
        .code-example {
            background: #1e293b;
            color: #f1f5f9;
            padding: 30px;
            border-radius: 15px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            line-height: 1.8;
            margin: 30px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .code-title {
            color: #60a5fa;
            font-weight: bold;
            margin-bottom: 15px;
            font-size: 1.1em;
        }
        
        .code-comment { color: #94a3b8; }
        .code-keyword { color: #f472b6; }
        .code-string { color: #34d399; }
        .code-number { color: #fbbf24; }
        
        .cost-section {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #10b981;
        }
        
        .cost-title {
            color: #065f46;
            font-size: 2em;
            margin-bottom: 25px;
            text-align: center;
            font-weight: bold;
        }
        
        .cost-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .cost-card {
            background: white;
            padding: 25px;
            border-radius: 12px;
            text-align: center;
        }
        
        .cost-card h4 {
            color: #065f46;
            font-size: 1.2em;
            margin-bottom: 10px;
        }
        
        .cost-card .price {
            font-size: 1.8em;
            font-weight: bold;
            color: #10b981;
            margin: 10px 0;
        }
        
        .cost-card p {
            color: #475569;
            font-size: 0.9em;
        }
        
        .tip-box {
            background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
            padding: 35px;
            border-radius: 15px;
            margin: 40px 0;
            border-left: 6px solid #7c3aed;
        }
        
        .tip-title {
            font-size: 1.6em;
            font-weight: bold;
            color: #5b21b6;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .tip-content {
            color: #5b21b6;
            line-height: 1.9;
            font-size: 1.05em;
        }
        
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 30px 0;
            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, #0f3460 0%, #533483 100%);
            color: white;
            padding: 18px;
            text-align: left;
            font-size: 1.05em;
        }
        
        .comparison-table td {
            padding: 18px;
            border-bottom: 2px solid #f1f5f9;
            color: #475569;
        }
        
        .comparison-table tr:hover {
            background: #f8fafc;
        }
        
        .warning-box {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
            border-left: 6px solid #ef4444;
        }
        
        .warning-title {
            font-size: 1.4em;
            font-weight: bold;
            color: #991b1b;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .warning-content {
            color: #991b1b;
            line-height: 1.8;
        }
        
        .architecture-diagram {
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .architecture-title {
            text-align: center;
            font-size: 2em;
            color: #1e293b;
            margin-bottom: 35px;
            font-weight: bold;
        }
        
        .architecture-visual {
            display: flex;
            flex-direction: column;
            gap: 30px;
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .arch-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }
        
        .arch-box {
            background: linear-gradient(135deg, #f8fafc 0%, white 100%);
            padding: 25px 35px;
            border-radius: 15px;
            text-align: center;
            border: 3px solid;
            min-width: 200px;
            transition: all 0.3s ease;
        }
        
        .arch-box:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .arch-box-red { border-color: #ef4444; background: linear-gradient(to bottom, #fef2f2 0%, white 100%); }
        .arch-box-orange { border-color: #f97316; background: linear-gradient(to bottom, #fff7ed 0%, white 100%); }
        .arch-box-yellow { border-color: #eab308; background: linear-gradient(to bottom, #fefce8 0%, white 100%); }
        .arch-box-green { border-color: #22c55e; background: linear-gradient(to bottom, #f0fdf4 0%, white 100%); }
        .arch-box-blue { border-color: #3b82f6; background: linear-gradient(to bottom, #eff6ff 0%, white 100%); }
        
        .arch-box-icon {
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        
        .arch-box h4 {
            color: #1e293b;
            font-size: 1.1em;
            margin-bottom: 5px;
        }
        
        .arch-box p {
            color: #64748b;
            font-size: 0.85em;
        }
        
        .arch-arrow {
            font-size: 2em;
            color: #94a3b8;
        }
        
        .arch-arrow-down {
            font-size: 2em;
            color: #94a3b8;
            text-align: center;
        }
        
        @media (max-width: 1024px) {
            .analogy-building {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .service-grid {
                grid-template-columns: 1fr;
            }
            
            .flow-diagram {
                flex-direction: column;
            }
            
            .flow-arrow {
                transform: rotate(90deg);
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .analogy-building {
                grid-template-columns: 1fr;
            }
            
            .setup-step {
                padding-left: 25px;
                padding-top: 80px;
            }
            
            .setup-step-number {
                left: 50%;
                top: 20px;
                transform: translateX(-50%);
            }
            
            .arch-row {
                flex-direction: column;
            }
            
            .arch-arrow {
                transform: rotate(90deg);
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }