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

* {
            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, #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 {
            background: linear-gradient(to bottom, #f8fafc 0%, white 100%);
            padding: 50px 40px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .concept-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 40px;
            font-weight: bold;
        }
        
        .analogy-box {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 40px 0;
        }
        
        .analogy-card {
            background: white;
            padding: 35px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-top: 6px solid;
            transition: all 0.3s ease;
        }
        
        .analogy-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        .analogy-card.restaurant {
            border-color: #CA8A04;
        }
        
        .analogy-card.aws {
            border-color: #3b82f6;
        }
        
        .analogy-icon {
            font-size: 4em;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .analogy-title {
            font-size: 1.8em;
            font-weight: bold;
            color: #1e293b;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .analogy-content {
            color: #475569;
            line-height: 1.8;
            font-size: 1.05em;
        }
        
        .flow-diagram {
            background: white;
            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.3em;
            color: #1e293b;
            margin-bottom: 50px;
            font-weight: bold;
        }
        
        .flow-steps {
            max-width: 900px;
            margin: 0 auto;
        }
        
        .flow-step {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            padding: 30px;
            background: linear-gradient(to right, #f8fafc 0%, white 100%);
            border-radius: 15px;
            border-left: 6px solid;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }
        
        .flow-step:hover {
            transform: translateX(10px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        }
        
        .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: #ef4444; }
        .flow-step:nth-child(5) { border-color: #8b5cf6; }
        
        .step-number {
            font-size: 3em;
            font-weight: bold;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 30px;
            flex-shrink: 0;
            color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .flow-step:nth-child(1) .step-number { background: linear-gradient(135deg, #047857, #059669); }
        .flow-step:nth-child(2) .step-number { background: linear-gradient(135deg, #3b82f6, #2563eb); }
        .flow-step:nth-child(3) .step-number { background: linear-gradient(135deg, #CA8A04, #d97706); }
        .flow-step:nth-child(4) .step-number { background: linear-gradient(135deg, #ef4444, #dc2626); }
        .flow-step:nth-child(5) .step-number { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
        
        .step-content {
            flex: 1;
        }
        
        .step-title {
            font-size: 1.5em;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 10px;
        }
        
        .step-description {
            color: #475569;
            line-height: 1.7;
            font-size: 1.05em;
        }
        
        .comparison-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin: 40px 0;
        }
        
        .comparison-card {
            background: white;
            padding: 35px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-top: 6px solid;
        }
        
        .comparison-card.normal {
            border-color: #047857;
        }
        
        .comparison-card.problem {
            border-color: #ef4444;
        }
        
        .comparison-icon {
            font-size: 3.5em;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .comparison-title {
            font-size: 1.6em;
            font-weight: bold;
            text-align: center;
            margin-bottom: 20px;
            color: #1e293b;
        }
        
        .comparison-items {
            color: #475569;
            line-height: 2;
            font-size: 1.05em;
        }
        
        .comparison-items li {
            margin-bottom: 12px;
            padding-left: 10px;
        }
        
        .config-section {
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
            padding: 50px 40px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #3b82f6;
        }
        
        .config-title {
            color: #1e3a8a;
            font-size: 2.3em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .config-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        
        .config-card {
            background: white;
            padding: 35px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .config-card-title {
            font-size: 1.5em;
            font-weight: bold;
            color: #1e3a8a;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .config-param {
            background: #f0f9ff;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 15px;
            border-left: 4px solid #3b82f6;
        }
        
        .param-name {
            font-weight: bold;
            color: #1e40af;
            font-size: 1.1em;
            margin-bottom: 8px;
            font-family: 'Courier New', monospace;
        }
        
        .param-desc {
            color: #475569;
            line-height: 1.7;
        }
        
        .code-example {
            background: #1e293b;
            color: #f1f5f9;
            padding: 35px;
            border-radius: 15px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.95em;
            line-height: 1.8;
            margin: 30px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .code-title {
            color: #2563EB;
            font-weight: bold;
            margin-bottom: 20px;
            font-size: 1.2em;
        }
        
        .code-comment { color: #64748B; }
        .code-keyword { color: #f472b6; }
        .code-string { color: #34d399; }
        .code-number { color: #CA8A04; }
        .code-property { color: #2563EB; }
        
        .use-case-section {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 50px 40px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #CA8A04;
        }
        
        .use-case-title {
            color: #92400e;
            font-size: 2.3em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .use-case-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .use-case-card {
            background: white;
            padding: 35px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
        }
        
        .use-case-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
        }
        
        .use-case-icon {
            font-size: 3.5em;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .use-case-card h4 {
            color: #92400e;
            font-size: 1.5em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .use-case-content {
            color: #78350f;
            line-height: 1.8;
        }
        
        .best-practices {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            padding: 50px 40px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #047857;
        }
        
        .best-practices-title {
            color: #065f46;
            font-size: 2.3em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .practice-items {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 25px;
        }
        
        .practice-item {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .practice-icon {
            font-size: 2.5em;
            margin-bottom: 15px;
        }
        
        .practice-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #065f46;
            margin-bottom: 12px;
        }
        
        .practice-desc {
            color: #475569;
            line-height: 1.7;
        }
        
        .warning-box {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            padding: 35px;
            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;
        }
        
        .tip-box {
            background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
            padding: 35px;
            border-radius: 15px;
            margin: 30px 0;
            border-left: 6px solid #6366f1;
        }
        
        .tip-title {
            font-size: 1.5em;
            font-weight: bold;
            color: #3730a3;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .tip-content {
            color: #312e81;
            line-height: 1.8;
            font-size: 1.05em;
        }
        
        .visual-diagram {
            background: white;
            padding: 50px 30px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .diagram-title {
            text-align: center;
            font-size: 2.3em;
            color: #1e293b;
            margin-bottom: 50px;
            font-weight: bold;
        }
        
        .diagram-container {
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
        }
        
        .diagram-row {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 40px 0;
            gap: 20px;
        }
        
        .diagram-box {
            background: linear-gradient(135deg, #f8fafc 0%, white 100%);
            padding: 25px 35px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            text-align: center;
            min-width: 200px;
            border: 3px solid;
            transition: all 0.3s ease;
        }
        
        .diagram-box:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        
        .diagram-box.source {
            border-color: #047857;
        }
        
        .diagram-box.queue {
            border-color: #3b82f6;
        }
        
        .diagram-box.dlq {
            border-color: #ef4444;
        }
        
        .diagram-box.consumer {
            border-color: #8b5cf6;
        }
        
        .diagram-box-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .diagram-box-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 8px;
        }
        
        .diagram-box-subtitle {
            font-size: 0.9em;
            color: #64748b;
        }
        
        .diagram-arrow {
            font-size: 3em;
            color: #64748B;
        }
        
        .diagram-label {
            position: absolute;
            background: #fef3c7;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.9em;
            color: #92400e;
            font-weight: bold;
            border: 2px solid #CA8A04;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .analogy-box,
            .comparison-grid {
                grid-template-columns: 1fr;
            }
            
            .config-cards,
            .use-case-grid,
            .practice-items {
                grid-template-columns: 1fr;
            }
            
            .diagram-row {
                flex-direction: column;
            }
            
            .diagram-arrow {
                transform: rotate(90deg);
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }