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

* {
            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: #333;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* ヘッダー */
        .header {
            text-align: center;
            padding: 50px 40px;
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcd3c 100%);
            border-radius: 25px;
            margin-bottom: 40px;
            box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
            animation: shimmer 3s ease-in-out infinite;
        }
        
        @keyframes shimmer {
            0%, 100% { transform: rotate(0deg); }
            50% { transform: rotate(180deg); }
        }
        
        .header h1 {
            font-size: 2.8em;
            color: white;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        .header-subtitle {
            font-size: 1.3em;
            color: rgba(255,255,255,0.95);
            position: relative;
            z-index: 1;
        }
        
        .header-icon {
            font-size: 4em;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
        
        /* 結論ファーストセクション */
        .conclusion-first {
            background: linear-gradient(135deg, #00c853 0%, #64dd17 100%);
            padding: 40px;
            border-radius: 20px;
            margin-bottom: 40px;
            box-shadow: 0 15px 40px rgba(0, 200, 83, 0.25);
            color: white;
        }
        
        .conclusion-first h2 {
            font-size: 1.8em;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .conclusion-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }
        
        .conclusion-item {
            background: rgba(255,255,255,0.2);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            transition: transform 0.3s ease;
        }
        
        .conclusion-item:hover {
            transform: translateY(-5px);
        }
        
        .conclusion-item h3 {
            font-size: 1.2em;
            margin-bottom: 10px;
        }
        
        .conclusion-item p {
            font-size: 1em;
            line-height: 1.6;
        }
        
        /* たとえ話セクション */
        .analogy-section {
            background: white;
            border-radius: 25px;
            padding: 50px;
            margin-bottom: 40px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.15);
        }
        
        .analogy-title {
            text-align: center;
            font-size: 2em;
            color: #ff6b35;
            margin-bottom: 40px;
        }
        
        .analogy-comparison {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 30px;
            align-items: center;
        }
        
        .analogy-box {
            background: linear-gradient(145deg, #fff5f0 0%, #ffe8db 100%);
            padding: 35px;
            border-radius: 20px;
            text-align: center;
            border: 3px solid #ff6b35;
            transition: all 0.3s ease;
        }
        
        .analogy-box:hover {
            transform: scale(1.02);
            box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
        }
        
        .analogy-box .icon {
            font-size: 4em;
            margin-bottom: 20px;
        }
        
        .analogy-box h3 {
            font-size: 1.5em;
            color: #ff6b35;
            margin-bottom: 15px;
        }
        
        .analogy-box p {
            color: #555;
            line-height: 1.8;
            font-size: 1.05em;
        }
        
        .arrow-box {
            font-size: 3em;
            color: #ff6b35;
        }
        
        /* 倉庫イラスト */
        .warehouse-illustration {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            padding: 40px;
            border-radius: 20px;
            margin: 40px 0;
            text-align: center;
        }
        
        .warehouse-title {
            font-size: 1.6em;
            color: #1565c0;
            margin-bottom: 30px;
        }
        
        .warehouse-visual {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }
        
        .shelf {
            background: linear-gradient(180deg, #8d6e63 0%, #6d4c41 100%);
            border-radius: 10px;
            padding: 15px;
            min-width: 100px;
            text-align: center;
            position: relative;
        }
        
        .shelf-label {
            background: white;
            padding: 8px 12px;
            border-radius: 8px;
            font-weight: bold;
            font-size: 0.9em;
            margin-bottom: 10px;
        }
        
        .shelf-boxes {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .box {
            padding: 8px;
            border-radius: 5px;
            font-size: 0.8em;
            color: white;
        }
        
        .box-new { background: #4caf50; }
        .box-old { background: #ff9800; }
        .box-expired { background: #f44336; opacity: 0.6; }
        
        /* 保持期間オプション */
        .retention-options {
            background: white;
            border-radius: 25px;
            padding: 50px;
            margin-bottom: 40px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.15);
        }
        
        .retention-title {
            text-align: center;
            font-size: 2em;
            color: #1565c0;
            margin-bottom: 40px;
        }
        
        .retention-timeline {
            position: relative;
            padding: 30px 0;
        }
        
        .timeline-line {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 8px;
            background: linear-gradient(90deg, #4caf50, #ffeb3b, #ff9800, #f44336);
            border-radius: 4px;
            transform: translateY(-50%);
        }
        
        .timeline-points {
            display: flex;
            justify-content: space-between;
            position: relative;
            z-index: 1;
        }
        
        .timeline-point {
            text-align: center;
            padding: 0 5px;
        }
        
        .timeline-dot {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: white;
            border: 4px solid #1565c0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            font-weight: bold;
            font-size: 0.75em;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .timeline-point:hover .timeline-dot {
            transform: scale(1.2);
            background: #1565c0;
            color: white;
        }
        
        .timeline-label {
            font-size: 0.85em;
            color: #555;
        }
        
        /* 保持期間一覧テーブル */
        .retention-table-section {
            background: #f8f9fa;
            padding: 40px;
            border-radius: 20px;
            margin: 40px 0;
        }
        
        .retention-categories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }
        
        .category-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }
        
        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.12);
        }
        
        .category-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #eee;
        }
        
        .category-icon {
            font-size: 2em;
        }
        
        .category-title {
            font-size: 1.2em;
            color: #333;
        }
        
        .category-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .period-tag {
            padding: 8px 14px;
            border-radius: 20px;
            font-size: 0.9em;
            font-weight: 500;
        }
        
        .period-short { background: #e8f5e9; color: #2e7d32; }
        .period-medium { background: #fff3e0; color: #ef6c00; }
        .period-long { background: #fce4ec; color: #c2185b; }
        .period-forever { background: #e3f2fd; color: #1565c0; }
        
        /* コスト説明 */
        .cost-section {
            background: linear-gradient(135deg, #f44336 0%, #e91e63 100%);
            padding: 40px;
            border-radius: 20px;
            margin-bottom: 40px;
            color: white;
        }
        
        .cost-title {
            font-size: 1.8em;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .cost-comparison {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .cost-card {
            background: rgba(255,255,255,0.15);
            padding: 30px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            text-align: center;
        }
        
        .cost-card h3 {
            font-size: 1.3em;
            margin-bottom: 15px;
        }
        
        .cost-amount {
            font-size: 2.5em;
            font-weight: bold;
            margin: 15px 0;
        }
        
        .cost-card.good {
            border: 3px solid #69f0ae;
        }
        
        .cost-card.bad {
            border: 3px solid #ff8a80;
        }
        
        /* 倉庫のたとえ詳細 */
        .warehouse-analogy-detail {
            background: white;
            border-radius: 25px;
            padding: 50px;
            margin-bottom: 40px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.15);
        }
        
        .warehouse-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        
        .warehouse-item {
            background: linear-gradient(145deg, #f5f5f5 0%, #eeeeee 100%);
            border-radius: 15px;
            padding: 30px;
            border-left: 5px solid;
            transition: all 0.3s ease;
        }
        
        .warehouse-item:hover {
            transform: translateX(10px);
        }
        
        .warehouse-item.item-1 { border-color: #4caf50; }
        .warehouse-item.item-2 { border-color: #2196f3; }
        .warehouse-item.item-3 { border-color: #ff9800; }
        .warehouse-item.item-4 { border-color: #9c27b0; }
        
        .warehouse-item h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            font-size: 1.2em;
        }
        
        .warehouse-item .emoji {
            font-size: 1.5em;
        }
        
        .warehouse-item p {
            color: #555;
            line-height: 1.7;
        }
        
        /* 設定方法 */
        .setup-section {
            background: white;
            border-radius: 25px;
            padding: 50px;
            margin-bottom: 40px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.15);
        }
        
        .setup-title {
            text-align: center;
            font-size: 2em;
            color: #7b1fa2;
            margin-bottom: 40px;
        }
        
        .setup-methods {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .method-card {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .method-header {
            padding: 20px;
            color: white;
            font-size: 1.3em;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .method-header.console { background: linear-gradient(135deg, #ff6b35, #f7931e); }
        .method-header.cli { background: linear-gradient(135deg, #2196f3, #03a9f4); }
        .method-header.terraform { background: linear-gradient(135deg, #7b1fa2, #9c27b0); }
        
        .method-content {
            background: #263238;
            padding: 25px;
        }
        
        .code-block {
            background: #1e1e1e;
            border-radius: 10px;
            padding: 20px;
            overflow-x: auto;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9em;
            color: #e0e0e0;
            line-height: 1.6;
        }
        
        .code-comment { color: #6a9955; }
        .code-keyword { color: #569cd6; }
        .code-string { color: #ce9178; }
        .code-number { color: #b5cea8; }
        
        .method-steps {
            background: #f5f5f5;
            padding: 25px;
        }
        
        .step {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .step:last-child {
            margin-bottom: 0;
        }
        
        .step-number {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #ff6b35;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            flex-shrink: 0;
        }
        
        .step-text {
            color: #333;
            line-height: 1.6;
        }
        
        /* 重要ポイント */
        .important-section {
            background: linear-gradient(135deg, #673ab7 0%, #9c27b0 100%);
            padding: 40px;
            border-radius: 20px;
            margin-bottom: 40px;
            color: white;
        }
        
        .important-title {
            font-size: 1.8em;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .important-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }
        
        .important-card {
            background: rgba(255,255,255,0.15);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }
        
        .important-card h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            font-size: 1.2em;
        }
        
        .important-card p {
            line-height: 1.7;
            font-size: 0.95em;
        }
        
        /* ベストプラクティス */
        .best-practices {
            background: white;
            border-radius: 25px;
            padding: 50px;
            margin-bottom: 40px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.15);
        }
        
        .bp-title {
            text-align: center;
            font-size: 2em;
            color: #00897b;
            margin-bottom: 40px;
        }
        
        .bp-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .bp-card {
            background: linear-gradient(145deg, #e0f2f1 0%, #b2dfdb 100%);
            border-radius: 15px;
            padding: 30px;
            border-left: 5px solid #00897b;
            transition: all 0.3s ease;
        }
        
        .bp-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 137, 123, 0.2);
        }
        
        .bp-card h3 {
            color: #00695c;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .bp-card p {
            color: #37474f;
            line-height: 1.7;
        }
        
        /* FAQ */
        .faq-section {
            background: white;
            border-radius: 25px;
            padding: 50px;
            margin-bottom: 40px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.15);
        }
        
        .faq-title {
            text-align: center;
            font-size: 2em;
            color: #1565c0;
            margin-bottom: 40px;
        }
        
        .faq-item {
            background: #f5f5f5;
            border-radius: 15px;
            margin-bottom: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .faq-item:hover {
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .faq-question {
            padding: 25px;
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            font-weight: bold;
            font-size: 1.1em;
            color: #1565c0;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .faq-answer {
            padding: 25px;
            color: #333;
            line-height: 1.8;
        }
        
        /* まとめ */
        .summary-section {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcd3c 100%);
            padding: 50px;
            border-radius: 25px;
            color: white;
            text-align: center;
        }
        
        .summary-title {
            font-size: 2.2em;
            margin-bottom: 30px;
        }
        
        .summary-content {
            max-width: 900px;
            margin: 0 auto;
        }
        
        .summary-box {
            background: rgba(255,255,255,0.2);
            padding: 35px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            margin-bottom: 25px;
        }
        
        .summary-box h3 {
            font-size: 1.5em;
            margin-bottom: 15px;
        }
        
        .summary-box p {
            font-size: 1.1em;
            line-height: 1.8;
        }
        
        .summary-checklist {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-top: 25px;
        }
        
        .checklist-item {
            background: rgba(255,255,255,0.25);
            padding: 12px 25px;
            border-radius: 30px;
            font-size: 1em;
        }
        
        /* レスポンシブ */
        @media (max-width: 768px) {
            .header h1 { font-size: 2em; }
            .analogy-comparison { grid-template-columns: 1fr; }
            .arrow-box { transform: rotate(90deg); margin: 20px 0; }
            .timeline-points { flex-direction: column; gap: 20px; }
            .setup-methods { grid-template-columns: 1fr; }
        }