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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #9333EA 50%, #f5576c 75%, #ffa751 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.4);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9333EA 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: 3em;
            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 #f5576c;
        }
        
        .intro h2 {
            color: #be123c;
            font-size: 2.2em;
            margin-bottom: 20px;
        }
        
        .intro-text {
            font-size: 1.2em;
            color: #881337;
            line-height: 1.8;
        }
        
        .notification-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin: 50px 0;
        }
        
        .notification-card {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border-top: 8px solid;
        }
        
        .notification-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        }
        
        .card-launch {
            border-color: #047857;
            background: linear-gradient(to bottom, #f0fdf4 0%, white 100%);
        }
        
        .card-launch-error {
            border-color: #ef4444;
            background: linear-gradient(to bottom, #fef2f2 0%, white 100%);
        }
        
        .card-terminate {
            border-color: #3b82f6;
            background: linear-gradient(to bottom, #eff6ff 0%, white 100%);
        }
        
        .card-terminate-error {
            border-color: #CA8A04;
            background: linear-gradient(to bottom, #fffbeb 0%, white 100%);
        }
        
        .card-icon {
            font-size: 5em;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .card-title {
            font-size: 1.8em;
            font-weight: bold;
            text-align: center;
            margin-bottom: 10px;
        }
        
        .card-launch .card-title { color: #065f46; }
        .card-launch-error .card-title { color: #991b1b; }
        .card-terminate .card-title { color: #1e40af; }
        .card-terminate-error .card-title { color: #92400e; }
        
        .card-event-name {
            font-family: 'Courier New', monospace;
            background: #f1f5f9;
            padding: 8px 12px;
            border-radius: 6px;
            text-align: center;
            color: #475569;
            font-size: 0.85em;
            margin-bottom: 20px;
        }
        
        .card-subtitle {
            text-align: center;
            font-size: 1.1em;
            color: #64748b;
            margin-bottom: 30px;
            font-weight: 600;
        }
        
        .analogy-box {
            background: white;
            padding: 20px;
            border-radius: 12px;
            margin: 20px 0;
            border-left: 4px solid;
        }
        
        .card-launch .analogy-box { border-color: #047857; background: #f0fdf4; }
        .card-launch-error .analogy-box { border-color: #ef4444; background: #fef2f2; }
        .card-terminate .analogy-box { border-color: #3b82f6; background: #eff6ff; }
        .card-terminate-error .analogy-box { border-color: #CA8A04; background: #fffbeb; }
        
        .analogy-title {
            font-weight: bold;
            font-size: 1.1em;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .card-launch .analogy-title { color: #065f46; }
        .card-launch-error .analogy-title { color: #991b1b; }
        .card-terminate .analogy-title { color: #1e40af; }
        .card-terminate-error .analogy-title { color: #92400e; }
        
        .analogy-content {
            color: #475569;
            line-height: 1.7;
        }
        
        .info-section {
            background: #f8fafc;
            padding: 15px;
            border-radius: 10px;
            margin: 15px 0;
        }
        
        .info-title {
            font-weight: bold;
            color: #334155;
            margin-bottom: 8px;
            font-size: 1.05em;
        }
        
        .info-content {
            color: #475569;
            line-height: 1.7;
        }
        
        .timeline-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);
        }
        
        .timeline-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 40px;
            font-weight: bold;
        }
        
        .scenario {
            background: white;
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .scenario-title {
            font-size: 1.8em;
            color: #1e293b;
            margin-bottom: 20px;
            text-align: center;
            font-weight: bold;
        }
        
        .scenario-steps {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin: 20px 0;
        }
        
        .step {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            padding: 20px;
            background: #f8fafc;
            border-radius: 12px;
            border-left: 4px solid #667eea;
        }
        
        .step-number {
            background: linear-gradient(135deg, #667eea, #764ba2);
            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;
        }
        
        .step-content {
            flex: 1;
        }
        
        .step-title {
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 8px;
            font-size: 1.1em;
        }
        
        .step-desc {
            color: #475569;
            line-height: 1.7;
        }
        
        .comparison-section {
            background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #0284c7;
        }
        
        .comparison-title {
            color: #0c4a6e;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .comparison-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        
        .comparison-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .comparison-card h3 {
            color: #0c4a6e;
            font-size: 1.5em;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .comparison-items {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .comparison-item {
            background: #f0f9ff;
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid;
        }
        
        .success-item { border-color: #047857; }
        .error-item { border-color: #ef4444; }
        
        .use-case-section {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #CA8A04;
        }
        
        .use-case-title {
            color: #92400e;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .use-case-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .use-case-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .use-case-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
        }
        
        .use-case-icon {
            font-size: 3em;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .use-case-card h4 {
            color: #92400e;
            font-size: 1.4em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .code-example {
            background: #1e293b;
            color: #f1f5f9;
            padding: 25px;
            border-radius: 12px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            line-height: 1.8;
            margin: 20px 0;
        }
        
        .code-title {
            color: #2563EB;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .tip-box {
            background: linear-gradient(135deg, #A0A0A06fe 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;
        }
        
        .notification-flow {
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .flow-title {
            text-align: center;
            font-size: 2em;
            color: #1e293b;
            margin-bottom: 35px;
            font-weight: bold;
        }
        
        .flow-diagram {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .flow-box {
            flex: 1;
            min-width: 200px;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .flow-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .flow-label {
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 10px;
        }
        
        .flow-arrow {
            font-size: 2em;
            color: #667eea;
        }
        
        @media (max-width: 1024px) {
            .notification-grid,
            .comparison-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .card-icon {
                font-size: 3em;
            }
            
            .flow-diagram {
                flex-direction: column;
            }
            
            .flow-arrow {
                transform: rotate(90deg);
            }
        }
    
        
        

        

        

        

        

        

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

    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }