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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 25%, #f39c12 50%, #e74c3c 75%, #c0392b 100%);
            padding: 20px;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            border-radius: 25px;
            box-shadow: 0 25px 80px rgba(0,0,0,0.4);
            overflow: hidden;
        }
        
        /* ヘッダー */
        .header {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #922b21 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: 2.5em;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        .header p {
            font-size: 1.2em;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }
        
        .error-message-box {
            background: rgba(0,0,0,0.3);
            border-radius: 15px;
            padding: 20px;
            margin-top: 25px;
            font-family: 'Courier New', monospace;
            font-size: 0.95em;
            text-align: left;
            border-left: 5px solid #f39c12;
        }
        
        .content {
            padding: 50px;
        }
        
        /* 結論ファースト */
        .conclusion-first {
            background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
            padding: 40px;
            border-radius: 20px;
            color: white;
            margin-bottom: 50px;
            text-align: center;
            box-shadow: 0 15px 40px rgba(46, 204, 113, 0.3);
        }
        
        .conclusion-first h2 {
            font-size: 2.2em;
            margin-bottom: 25px;
        }
        
        .conclusion-points {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }
        
        .conclusion-point {
            background: rgba(255,255,255,0.2);
            padding: 20px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .conclusion-point .icon {
            font-size: 2.5em;
        }
        
        .conclusion-point .text {
            text-align: left;
            font-size: 1.1em;
        }
        
        /* たとえ話セクション */
        .analogy-section {
            background: linear-gradient(135deg, #fff9e6 0%, #ffeaa7 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border: 3px solid #f39c12;
        }
        
        .analogy-title {
            text-align: center;
            font-size: 2.2em;
            color: #d68910;
            margin-bottom: 40px;
        }
        
        .analogy-grid {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 30px;
            align-items: center;
        }
        
        .analogy-box {
            background: white;
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .analogy-box .emoji {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .analogy-box h4 {
            font-size: 1.3em;
            color: #2c3e50;
            margin-bottom: 10px;
        }
        
        .analogy-box p {
            color: #7f8c8d;
        }
        
        .arrow {
            font-size: 3em;
            color: #e74c3c;
        }
        
        /* エラー原因の図解 */
        .error-causes {
            margin: 50px 0;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.2em;
            color: #2c3e50;
            margin-bottom: 40px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #e74c3c, #f39c12);
            border-radius: 2px;
        }
        
        .cause-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 25px;
        }
        
        .cause-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-left: 5px solid #e74c3c;
            transition: all 0.3s ease;
        }
        
        .cause-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .cause-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .cause-title {
            font-size: 1.4em;
            color: #e74c3c;
            margin-bottom: 15px;
        }
        
        .cause-desc {
            color: #555;
            margin-bottom: 15px;
        }
        
        .cause-analogy {
            background: #fff5f5;
            padding: 15px;
            border-radius: 10px;
            color: #c0392b;
            font-size: 0.95em;
        }
        
        /* 解決ステップ */
        .solution-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            color: white;
        }
        
        .solution-section h2 {
            text-align: center;
            font-size: 2.2em;
            margin-bottom: 40px;
        }
        
        .solution-steps {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        .solution-step {
            background: rgba(255,255,255,0.15);
            padding: 30px;
            border-radius: 20px;
            display: grid;
            grid-template-columns: 80px 1fr;
            gap: 25px;
            backdrop-filter: blur(10px);
        }
        
        .step-number {
            background: white;
            color: #667eea;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8em;
            font-weight: bold;
        }
        
        .step-content h4 {
            font-size: 1.4em;
            margin-bottom: 15px;
        }
        
        .step-content p {
            opacity: 0.9;
            margin-bottom: 15px;
        }
        
        .step-analogy {
            background: rgba(255,255,255,0.2);
            padding: 12px 20px;
            border-radius: 10px;
            font-size: 0.95em;
        }
        
        /* コード例 */
        .code-section {
            margin: 50px 0;
        }
        
        .code-block {
            background: #1e1e1e;
            border-radius: 15px;
            overflow: hidden;
            margin: 25px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .code-header {
            background: #333;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .code-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        
        .code-dot.red { background: #ff5f56; }
        .code-dot.yellow { background: #ffbd2e; }
        .code-dot.green { background: #27ca40; }
        
        .code-title {
            color: white;
            margin-left: 15px;
            font-size: 0.95em;
        }
        
        .code-content {
            padding: 25px;
            color: #d4d4d4;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            line-height: 1.7;
            overflow-x: auto;
        }
        
        .code-keyword { color: #569cd6; }
        .code-string { color: #ce9178; }
        .code-comment { color: #6a9955; }
        .code-value { color: #b5cea8; }
        
        /* 視覚的な流れ図 */
        .flow-diagram {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
        }
        
        .flow-diagram h2 {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 40px;
            font-size: 2em;
        }
        
        .flow-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .flow-item {
            background: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            min-width: 150px;
        }
        
        .flow-item .icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .flow-item .label {
            font-weight: bold;
            color: #2c3e50;
        }
        
        .flow-item .sublabel {
            font-size: 0.85em;
            color: #7f8c8d;
        }
        
        .flow-arrow {
            font-size: 2.5em;
            color: #3498db;
        }
        
        .flow-item.error {
            background: linear-gradient(135deg, #ffe0e0 0%, #ffcccc 100%);
            border: 3px solid #e74c3c;
        }
        
        .flow-item.success {
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
            border: 3px solid #27ae60;
        }
        
        /* チェックリスト */
        .checklist-section {
            background: linear-gradient(135deg, #00b894 0%, #00a885 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            color: white;
        }
        
        .checklist-section h2 {
            text-align: center;
            font-size: 2em;
            margin-bottom: 30px;
        }
        
        .checklist {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
        }
        
        .checklist-item {
            background: rgba(255,255,255,0.2);
            padding: 20px 25px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .checklist-item .checkbox {
            width: 30px;
            height: 30px;
            border: 3px solid white;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2em;
            flex-shrink: 0;
        }
        
        /* FAQ */
        .faq-section {
            margin: 50px 0;
        }
        
        .faq-item {
            background: white;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        
        .faq-question {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 20px 25px;
            font-weight: bold;
            color: #2c3e50;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .faq-question .q-mark {
            background: #3498db;
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2em;
        }
        
        .faq-answer {
            padding: 20px 25px;
            color: #555;
        }
        
        /* ヒント */
        .tip-box {
            background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
            border-left: 6px solid #f39c12;
            padding: 25px;
            border-radius: 0 15px 15px 0;
            margin: 30px 0;
        }
        
        .tip-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            color: #856404;
            font-size: 1.2em;
            margin-bottom: 15px;
        }
        
        .tip-content {
            color: #856404;
        }
        
        /* 警告 */
        .warning-box {
            background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
            border-left: 6px solid #dc3545;
            padding: 25px;
            border-radius: 0 15px 15px 0;
            margin: 30px 0;
        }
        
        .warning-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            color: #721c24;
            font-size: 1.2em;
            margin-bottom: 15px;
        }
        
        .warning-content {
            color: #721c24;
        }
        
        /* コンポーネント関係図 */
        .relationship-diagram {
            background: linear-gradient(135deg, #eef2f7 0%, #dfe6ed 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
        }
        
        .relationship-diagram h2 {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 40px;
            font-size: 2em;
        }
        
        .component-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .component-box {
            background: white;
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .component-box .icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .component-box h4 {
            color: #2c3e50;
            margin-bottom: 10px;
        }
        
        .component-box p {
            color: #7f8c8d;
            font-size: 0.9em;
        }
        
        .connection-line {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2em;
            color: #3498db;
        }
        
        /* フッター */
        .footer {
            background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
            color: white;
            padding: 40px;
            text-align: center;
        }
        
        .footer p {
            opacity: 0.8;
            margin-bottom: 10px;
        }
        
        .footer .highlight {
            color: #f39c12;
            font-weight: bold;
        }
        
        /* レスポンシブ */
        @media (max-width: 768px) {
            .header h1 { font-size: 1.8em; }
            .content { padding: 30px; }
            .analogy-grid { grid-template-columns: 1fr; }
            .arrow { transform: rotate(90deg); }
            .component-grid { grid-template-columns: 1fr; }
            .flow-container { flex-direction: column; }
            .flow-arrow { transform: rotate(90deg); }
        }