/*
 * AWS SAP学習リソース - ec2-auto-recovery-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, #6366f1 0%, #8b5cf6 50%, #d946ef 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, #6366f1 0%, #8b5cf6 100%);
            color: white;
            padding: 50px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '🔄';
            position: absolute;
            font-size: 15em;
            opacity: 0.1;
            top: -30px;
            right: -30px;
        }
        
        .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, #fef3c7 0%, #fde68a 100%);
            border-radius: 15px;
            border-left: 6px solid #CA8A04;
        }
        
        .intro h2 {
            color: #92400e;
            font-size: 2.2em;
            margin-bottom: 20px;
        }
        
        .intro-text {
            font-size: 1.2em;
            color: #78350f;
            line-height: 1.8;
        }
        
        .concept-section {
            margin: 50px 0;
            background: linear-gradient(to bottom, #f0f9ff 0%, white 100%);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .workflow {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .workflow-step {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            text-align: center;
            border-top: 5px solid #6366f1;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .workflow-step:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
        }
        
        .step-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.3em;
            box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
        }
        
        .step-icon {
            font-size: 3.5em;
            margin: 20px 0 15px;
        }
        
        .step-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #4338ca;
            margin-bottom: 10px;
        }
        
        .step-desc {
            color: #6b7280;
            line-height: 1.6;
        }
        
        .comparison-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 40px 0;
        }
        
        .comparison-card {
            background: white;
            border-radius: 20px;
            padding: 35px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 4px solid;
            transition: all 0.3s ease;
        }
        
        .comparison-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        .comparison-card.manual {
            border-color: #ef4444;
        }
        
        .comparison-card.auto {
            border-color: #047857;
        }
        
        .card-header {
            text-align: center;
            margin-bottom: 25px;
        }
        
        .card-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .card-title {
            font-size: 2em;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .manual .card-title {
            color: #dc2626;
        }
        
        .auto .card-title {
            color: #059669;
        }
        
        .feature-list {
            margin: 20px 0;
        }
        
        .feature-item {
            display: flex;
            align-items: start;
            gap: 15px;
            padding: 15px;
            margin: 10px 0;
            background: #f9fafb;
            border-radius: 10px;
            transition: all 0.3s ease;
        }
        
        .feature-item:hover {
            background: #f3f4f6;
            transform: translateX(5px);
        }
        
        .feature-icon {
            font-size: 1.8em;
            min-width: 40px;
        }
        
        .setting-section {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .setting-title {
            font-size: 2em;
            color: #4338ca;
            margin-bottom: 30px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        
        .tabs {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
            border-bottom: 3px solid #909296;
        }
        
        .tab {
            padding: 15px 30px;
            background: #f3f4f6;
            border: none;
            border-radius: 10px 10px 0 0;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #6b7280;
        }
        
        .tab.active {
            background: #6366f1;
            color: white;
            transform: translateY(-3px);
        }
        
        .tab-content {
            display: none;
            padding: 30px;
            background: #f9fafb;
            border-radius: 15px;
        }
        
        .tab-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .code-block {
            background: #1f2937;
            color: #f9fafb;
            padding: 25px;
            border-radius: 12px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.95em;
            line-height: 1.6;
            margin: 20px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        }
        
        .code-comment {
            color: #6f7682;
        }
        
        .code-keyword {
            color: #f472b6;
        }
        
        .code-string {
            color: #34d399;
        }
        
        .code-value {
            color: #2563EB;
        }
        
        .limitation-section {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #ef4444;
        }
        
        .limitation-title {
            color: #991b1b;
            font-size: 2em;
            margin-bottom: 25px;
            text-align: center;
        }
        
        .limitation-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }
        
        .limitation-card {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            border-left: 4px solid #dc2626;
        }
        
        .limitation-card h4 {
            color: #dc2626;
            font-size: 1.3em;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .benefit-section {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #047857;
        }
        
        .benefit-title {
            color: #065f46;
            font-size: 2em;
            margin-bottom: 25px;
            text-align: center;
        }
        
        .benefit-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }
        
        .benefit-card {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .benefit-card:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
        }
        
        .benefit-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .best-practice {
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .practice-item {
            display: flex;
            gap: 25px;
            padding: 25px;
            margin: 20px 0;
            background: linear-gradient(to right, #f0f9ff 0%, white 100%);
            border-radius: 12px;
            border-left: 5px solid #3b82f6;
            transition: all 0.3s ease;
        }
        
        .practice-item:hover {
            transform: translateX(10px);
            box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
        }
        
        .practice-icon {
            font-size: 3em;
            min-width: 60px;
            text-align: center;
        }
        
        .practice-content h4 {
            color: #1e40af;
            font-size: 1.4em;
            margin-bottom: 10px;
        }
        
        .monitoring-dashboard {
            background: #f9fafb;
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
            border: 2px solid #909296;
        }
        
        .metric-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            margin: 15px 0;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .metric-label {
            font-weight: bold;
            color: #374151;
            font-size: 1.1em;
        }
        
        .metric-value {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.2em;
        }
        
        .status-indicator {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        
        .status-ok {
            background: #047857;
        }
        
        .status-alert {
            background: #ef4444;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        @media (max-width: 1024px) {
            .comparison-grid {
                grid-template-columns: 1fr;
            }
            
            .workflow {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .tabs {
                flex-direction: column;
            }
        }
    
        

    
        
        

        

        

        

        

        

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

    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }