/*
 * AWS SAP学習リソース - ec2-log-backup-before-termination-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%, #0369A1 75%, #00f2fe 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;
        }
        
        .analogy-section {
            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-box {
            background: white;
            padding: 30px;
            border-radius: 15px;
            margin: 20px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .analogy-box-title {
            font-size: 1.6em;
            font-weight: bold;
            color: #0c4a6e;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .analogy-box-content {
            color: #475569;
            line-height: 1.8;
            font-size: 1.1em;
        }
        
        .methods-section {
            margin: 50px 0;
        }
        
        .methods-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 40px;
            font-weight: bold;
        }
        
        .method-card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin: 30px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-top: 8px solid;
            transition: all 0.3s ease;
        }
        
        .method-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        }
        
        .method-card:nth-child(1) { border-color: #047857; }
        .method-card:nth-child(2) { border-color: #3b82f6; }
        .method-card:nth-child(3) { border-color: #CA8A04; }
        .method-card:nth-child(4) { border-color: #8b5cf6; }
        .method-card:nth-child(5) { border-color: #ec4899; }
        
        .method-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
        }
        
        .method-icon {
            font-size: 3.5em;
        }
        
        .method-title-wrapper {
            flex: 1;
        }
        
        .method-title {
            font-size: 2em;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 5px;
        }
        
        .method-subtitle {
            font-size: 1.1em;
            color: #64748b;
            font-weight: 600;
        }
        
        .method-rating {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .rating-badge {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9em;
            font-weight: bold;
        }
        
        .rating-reliability {
            background: #d1fae5;
            color: #065f46;
        }
        
        .rating-complexity {
            background: #dbeafe;
            color: #1e40af;
        }
        
        .rating-cost {
            background: #fef3c7;
            color: #92400e;
        }
        
        .method-section {
            margin: 25px 0;
        }
        
        .method-section-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #334155;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .method-section-content {
            background: #f8fafc;
            padding: 20px;
            border-radius: 10px;
            color: #475569;
            line-height: 1.8;
        }
        
        .pros-cons-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin: 20px 0;
        }
        
        .pros-box {
            background: linear-gradient(to bottom, #d1fae5 0%, #f0fdf4 100%);
            padding: 20px;
            border-radius: 12px;
            border-left: 4px solid #047857;
        }
        
        .cons-box {
            background: linear-gradient(to bottom, #fee2e2 0%, #fef2f2 100%);
            padding: 20px;
            border-radius: 12px;
            border-left: 4px solid #ef4444;
        }
        
        .pros-title, .cons-title {
            font-weight: bold;
            font-size: 1.15em;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .pros-title {
            color: #065f46;
        }
        
        .cons-title {
            color: #991b1b;
        }
        
        .pros-list, .cons-list {
            list-style: none;
            padding: 0;
        }
        
        .pros-list li, .cons-list li {
            padding: 8px 0;
            color: #475569;
            position: relative;
            padding-left: 25px;
        }
        
        .pros-list li::before {
            content: '✅';
            position: absolute;
            left: 0;
        }
        
        .cons-list li::before {
            content: '⚠️';
            position: absolute;
            left: 0;
        }
        
        .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;
            font-size: 1.1em;
        }
        
        .code-comment { color: #64748B; }
        .code-keyword { color: #f472b6; }
        .code-string { color: #34d399; }
        
        .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-title {
            text-align: center;
            font-size: 2em;
            color: #1e293b;
            margin-bottom: 35px;
            font-weight: bold;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            background: white;
        }
        
        th {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            text-align: left;
            font-size: 1.05em;
        }
        
        th:first-child {
            border-radius: 10px 0 0 0;
        }
        
        th:last-child {
            border-radius: 0 10px 0 0;
        }
        
        td {
            padding: 18px;
            border-bottom: 2px solid #f1f5f9;
        }
        
        tr:hover {
            background: #f8fafc;
        }
        
        .star-rating {
            color: #CA8A04;
            font-size: 1.2em;
        }
        
        .architecture-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);
        }
        
        .architecture-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 40px;
            font-weight: bold;
        }
        
        .architecture-diagram {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            margin: 30px 0;
        }
        
        .flow-step {
            background: #f8fafc;
            padding: 25px;
            border-radius: 12px;
            margin: 20px 0;
            border-left: 5px solid;
            position: relative;
        }
        
        .flow-step:nth-child(1) { border-color: #047857; }
        .flow-step:nth-child(2) { border-color: #3b82f6; }
        .flow-step:nth-child(3) { border-color: #CA8A04; }
        .flow-step:nth-child(4) { border-color: #8b5cf6; }
        .flow-step:nth-child(5) { border-color: #ec4899; }
        
        .flow-step-number {
            display: inline-block;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            font-weight: bold;
            font-size: 1.2em;
            margin-right: 15px;
        }
        
        .flow-step-title {
            font-weight: bold;
            font-size: 1.3em;
            color: #1e293b;
            margin-bottom: 10px;
        }
        
        .flow-step-desc {
            color: #475569;
            line-height: 1.7;
            margin-left: 55px;
        }
        
        .flow-arrow {
            text-align: center;
            font-size: 2.5em;
            color: #64748B;
            margin: 15px 0;
        }
        
        .best-practices-section {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #CA8A04;
        }
        
        .best-practices-title {
            color: #92400e;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .practice-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            margin: 20px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .practice-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .practice-icon {
            font-size: 2.5em;
        }
        
        .practice-title {
            font-size: 1.5em;
            font-weight: bold;
            color: #92400e;
        }
        
        .practice-content {
            color: #475569;
            line-height: 1.8;
        }
        
        .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;
        }
        
        .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.5em;
            font-weight: bold;
            color: #991b1b;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .warning-content {
            color: #7f1d1d;
            line-height: 1.8;
            font-size: 1.05em;
        }
        
        @media (max-width: 1024px) {
            .pros-cons-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .method-header {
                flex-direction: column;
                text-align: center;
            }
        }
    
        
        

        

        

        

        

        

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

    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }