/*
 * AWS SAP学習リソース - sqs_dlq_infographic 専用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 100%);
            min-height: 100vh;
            color: #333;
            overflow-x: hidden;
        
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }
        
        .container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .header {
            text-align: center;
            background: white;
            border-radius: 25px;
            padding: 50px;
            margin-bottom: 40px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            animation: shine 4s infinite;
        }
        
        .header h1 {
            font-size: 3.5rem;
            background: linear-gradient(45deg, #667eea, #764ba2, #DC2626);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
        
        .header p {
            font-size: 1.3rem;
            color: #666;
            max-width: 900px;
            margin: 0 auto;
            line-height: 1.8;
            position: relative;
            z-index: 1;
        }
        
        .section {
            background: white;
            border-radius: 25px;
            margin-bottom: 40px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            transition: all 0.4s ease;
        }
        
        .section:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0,0,0,0.2);
        }
        
        .section-header {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
            padding: 30px;
            text-align: center;
            position: relative;
        }
        
        .section-header::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 25px solid transparent;
            border-right: 25px solid transparent;
            border-top: 25px solid #34495e;
        }
        
        .section-header h2 {
            font-size: 2.2rem;
            margin-bottom: 15px;
        }
        
        .section-content {
            padding: 50px;
        }
        
        /* 配送センター3D表現 */
        .delivery-center {
            perspective: 1200px;
            margin: 40px 0;
        }
        
        .center-building {
            background: linear-gradient(135deg, #e8f5e8, #d4edda);
            border: 4px solid #28a745;
            border-radius: 25px;
            padding: 50px;
            transform-style: preserve-3d;
            transition: transform 0.6s ease;
            position: relative;
            overflow: hidden;
        }
        
        .center-building:hover {
            transform: rotateY(8deg) rotateX(4deg);
        }
        
        .center-building::before {
            content: '🏢';
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 4rem;
            background: white;
            padding: 15px;
            border-radius: 50%;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        
        .center-title {
            text-align: center;
            font-size: 2rem;
            color: #2c3e50;
            margin-bottom: 40px;
            margin-top: 20px;
        }
        
        /* メッセージフロー */
        .message-flow {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 40px 0;
            position: relative;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .queue-box {
            background: white;
            border-radius: 20px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            text-align: center;
            min-width: 180px;
            position: relative;
            transition: all 0.4s ease;
        }
        
        .queue-box:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 20px 40px rgba(0,0,0,0.25);
        }
        
        .main-queue {
            border: 4px solid #007bff;
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
        }
        
        .dlq {
            border: 4px solid #dc3545;
            background: linear-gradient(135deg, #ffebee, #ffcdd2);
        }
        
        .queue-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        
        .queue-title {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .queue-description {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.4;
        }
        
        .message-counter {
            position: absolute;
            top: -10px;
            right: -10px;
            background: #CA8A04;
            color: #333;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 5px 15px rgba(255,193,7,0.4);
            animation: counterPulse 2s infinite;
        }
        
        /* 配達プロセス */
        .delivery-process {
            background: #f8f9fa;
            border-radius: 20px;
            padding: 40px;
            margin: 30px 0;
            position: relative;
            overflow: hidden;
        }
        
        .delivery-process::before {
            content: '🚚';
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 3rem;
            opacity: 0.1;
        }
        
        .delivery-steps {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 30px 0;
            position: relative;
        }
        
        .delivery-step {
            background: white;
            border: 3px solid #007bff;
            border-radius: 50%;
            width: 120px;
            height: 120px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 10px 30px rgba(0,123,255,0.2);
            transition: all 0.5s ease;
            cursor: pointer;
            position: relative;
            z-index: 1;
        }
        
        .delivery-step:hover {
            transform: scale(1.15) translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,123,255,0.4);
        }
        
        .delivery-step.success {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            border-color: #28a745;
            animation: successPulse 3s infinite;
        }
        
        .delivery-step.failed {
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            border-color: #dc3545;
            animation: failedShake 0.5s infinite;
        }
        
        .delivery-step.retry {
            background: linear-gradient(135deg, #CA8A04, #ffb300);
            color: #333;
            border-color: #CA8A04;
            animation: retryBounce 1s infinite;
        }
        
        .delivery-arrow {
            font-size: 2.5rem;
            color: #007bff;
            animation: flowMove 2s infinite;
            margin: 0 15px;
        }
        
        .step-label {
            position: absolute;
            bottom: -50px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.9rem;
            font-weight: bold;
            color: #333;
            text-align: center;
            white-space: nowrap;
            background: white;
            padding: 5px 10px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        /* 包荷物アニメーション */
        .package-animation {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 40px 0;
            position: relative;
            height: 200px;
        }
        
        .package {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #DC2626, #ee5a52);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            font-weight: bold;
            box-shadow: 0 5px 20px rgba(255,107,107,0.4);
            position: absolute;
            transition: all 1s ease;
        }
        
        .package.moving {
            animation: packageMove 3s infinite;
        }
        
        .delivery-truck {
            width: 80px;
            height: 50px;
            background: linear-gradient(135deg, #007bff, #0056b3);
            border-radius: 10px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            margin: 0 40px;
        }
        
        .delivery-truck::before {
            content: '🚚';
            font-size: 2rem;
        }
        
        .delivery-truck::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 10px;
            width: 15px;
            height: 15px;
            background: #333;
            border-radius: 50%;
            box-shadow: 45px 0 #333;
        }
        
        /* 再配達カウンター */
        .retry-counter {
            background: linear-gradient(135deg, #fff3cd, #ffeaa7);
            border: 2px solid #CA8A04;
            border-radius: 15px;
            padding: 25px;
            margin: 30px 0;
            text-align: center;
            position: relative;
        }
        
        .retry-counter::before {
            content: '🔄';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2.5rem;
            background: white;
            padding: 10px;
            border-radius: 50%;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .retry-display {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin: 20px 0;
        }
        
        .retry-box {
            background: white;
            border: 2px solid #007bff;
            border-radius: 10px;
            padding: 15px 25px;
            font-weight: bold;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(0,123,255,0.2);
        }
        
        .retry-current {
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            border-color: #dc3545;
        }
        
        .retry-max {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            border-color: #28a745;
        }
        
        /* インタラクティブシミュレーター */
        .simulator {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 25px;
            padding: 50px;
            margin: 40px 0;
            text-align: center;
            border: 3px dashed #007bff;
            position: relative;
            overflow: hidden;
        }
        
        .simulator::before {
            content: '🎮';
            position: absolute;
            top: -25px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 3.5rem;
            background: white;
            padding: 15px;
            border-radius: 50%;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        
        .sim-controls {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 40px 0;
        }
        
        .sim-button {
            background: linear-gradient(135deg, #007bff, #0056b3);
            color: white;
            border: none;
            border-radius: 15px;
            padding: 20px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }
        
        .sim-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
        }
        
        .sim-button:hover::before {
            left: 100%;
        }
        
        .sim-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,123,255,0.4);
        }
        
        .sim-button.success {
            background: linear-gradient(135deg, #28a745, #20c997);
        }
        
        .sim-button.failed {
            background: linear-gradient(135deg, #dc3545, #c82333);
        }
        
        .sim-button.reset {
            background: linear-gradient(135deg, #6c757d, #495057);
        }
        
        /* ステータス表示 */
        .status-display {
            background: white;
            border-radius: 20px;
            padding: 30px;
            margin: 30px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .status-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .status-card {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            border: 2px solid #dee2e6;
            transition: all 0.3s ease;
        }
        
        .status-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .status-value {
            font-size: 2rem;
            font-weight: bold;
            margin: 10px 0;
        }
        
        .status-label {
            font-size: 0.9rem;
            color: #666;
        }
        
        /* AWS設定コード */
        .aws-config {
            background: #2d3748;
            color: #e2e8f0;
            border-radius: 15px;
            padding: 30px;
            margin: 30px 0;
            font-family: 'Courier New', monospace;
            overflow-x: auto;
            position: relative;
        }
        
        .aws-config::before {
            content: 'AWS';
            position: absolute;
            top: -15px;
            left: 20px;
            background: #ff9500;
            color: white;
            padding: 5px 15px;
            border-radius: 15px;
            font-weight: bold;
            font-family: 'Segoe UI', sans-serif;
        }
        
        .config-section {
            margin: 20px 0;
        }
        
        .config-title {
            color: #4fd1c7;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        /* 比較テーブル */
        .comparison-table {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            margin: 40px 0;
        }
        
        .table-header {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
            padding: 20px;
            text-align: center;
            font-weight: bold;
            font-size: 1.3rem;
        }
        
        .table-content {
            padding: 0;
        }
        
        .table-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            border-bottom: 1px solid #dee2e6;
            transition: background 0.3s ease;
        }
        
        .table-row:hover {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        }
        
        .table-cell {
            padding: 20px;
            text-align: center;
            border-right: 1px solid #dee2e6;
        }
        
        .table-cell:last-child {
            border-right: none;
        }
        
        .table-cell.header {
            background: linear-gradient(135deg, #6c757d, #495057);
            color: white;
            font-weight: bold;
        }
        
        /* ベストプラクティス */
        .best-practices {
            background: linear-gradient(135deg, #e8f5e8, #d4edda);
            border: 3px solid #28a745;
            border-radius: 20px;
            padding: 40px;
            margin: 40px 0;
        }
        
        .practice-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 30px 0;
        }
        
        .practice-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 10px 25px rgba(40,167,69,0.2);
        }
        
        .practice-icon {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .practice-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: #155724;
        }
        
        .practice-content {
            color: #666;
            line-height: 1.6;
        }
        
        /* アニメーション */
        @keyframes shine {
            0% { transform: translate(-100%, -100%) rotate(45deg); }
            100% { transform: translate(100%, 100%) rotate(45deg); }
        }
        
        @keyframes counterPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        @keyframes successPulse {
            0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
            50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
        }
        
        @keyframes failedShake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }
        
        @keyframes retryBounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        @keyframes flowMove {
            0%, 100% { opacity: 0.7; transform: translateX(0); }
            50% { opacity: 1; transform: translateX(10px); }
        }
        
        @keyframes packageMove {
            0% { transform: translateX(-200px); opacity: 0; }
            20% { opacity: 1; }
            80% { opacity: 1; }
            100% { transform: translateX(200px); opacity: 0; }
        }
        
        /* レスポンシブデザイン */
        @media (max-width: 768px) {
            .message-flow {
                flex-direction: column;
                gap: 30px;
            }
            
            .delivery-steps {
                flex-direction: column;
                gap: 30px;
            }
            
            .delivery-arrow {
                transform: rotate(90deg);
            }
            
            .retry-display {
                flex-direction: column;
                gap: 15px;
            }
            
            .sim-controls {
                grid-template-columns: 1fr;
            }
            
            .table-row {
                grid-template-columns: 1fr;
            }
            
            .table-cell {
                border-right: none;
                border-bottom: 1px solid #dee2e6;
            }
            
            .header h1 {
                font-size: 2.5rem;
            }
            
            .package-animation {
                height: 150px;
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }