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

* {
            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%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
            padding: 20px;
            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, #ff6b35 0%, #f7931e 50%, #ffd700 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;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }
        
        .header p {
            font-size: 1.3em;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }
        
        .content {
            padding: 50px;
        }
        
        /* 結論ファースト */
        .conclusion-first {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: white;
            padding: 40px;
            border-radius: 20px;
            margin-bottom: 50px;
            text-align: center;
        }
        
        .conclusion-first h2 {
            font-size: 2em;
            margin-bottom: 25px;
            color: #ffd700;
        }
        
        .conclusion-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
        
        .conclusion-item {
            background: rgba(255,255,255,0.1);
            padding: 25px 15px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }
        
        .conclusion-item:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,0.2);
        }
        
        .conclusion-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .conclusion-name {
            font-size: 1.1em;
            font-weight: bold;
            margin-bottom: 10px;
            color: #ffd700;
        }
        
        .conclusion-desc {
            font-size: 0.95em;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        /* イントロ */
        .intro {
            text-align: center;
            margin-bottom: 50px;
            padding: 40px;
            background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
            border-radius: 15px;
            border-left: 6px solid #ff6b35;
        }
        
        .intro h2 {
            color: #c2410c;
            font-size: 2.2em;
            margin-bottom: 20px;
        }
        
        .intro-text {
            font-size: 1.2em;
            color: #7c2d12;
            line-height: 1.8;
        }
        
        /* たとえ話セクション */
        .analogy-section {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #f59e0b;
        }
        
        .analogy-title {
            color: #92400e;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .analogy-intro {
            background: white;
            padding: 30px;
            border-radius: 15px;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .analogy-intro p {
            font-size: 1.2em;
            color: #78350f;
            line-height: 1.8;
        }
        
        /* 工場フロー図 */
        .factory-flow {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            margin: 40px 0;
            padding: 30px;
            background: white;
            border-radius: 15px;
        }
        
        .factory-step {
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            min-width: 140px;
            border: 3px solid #f97316;
            transition: all 0.3s ease;
        }
        
        .factory-step:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
        }
        
        .factory-step-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .factory-step-label {
            font-weight: bold;
            color: #c2410c;
            font-size: 0.95em;
        }
        
        .factory-arrow {
            font-size: 2.5em;
            color: #f97316;
        }
        
        /* コンポーネントカード */
        .component-cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin: 50px 0;
        }
        
        .component-card {
            background: white;
            border-radius: 20px;
            padding: 35px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border-top: 8px solid;
        }
        
        .component-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 60px rgba(0,0,0,0.2);
        }
        
        .component-card.recipe {
            border-color: #ef4444;
            background: linear-gradient(to bottom, #fef2f2 0%, white 100%);
        }
        
        .component-card.component {
            border-color: #3b82f6;
            background: linear-gradient(to bottom, #eff6ff 0%, white 100%);
        }
        
        .component-card.infra {
            border-color: #10b981;
            background: linear-gradient(to bottom, #f0fdf4 0%, white 100%);
        }
        
        .component-card.distribution {
            border-color: #8b5cf6;
            background: linear-gradient(to bottom, #faf5ff 0%, white 100%);
        }
        
        .card-icon {
            font-size: 4em;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .card-title {
            font-size: 1.8em;
            font-weight: bold;
            text-align: center;
            margin-bottom: 10px;
        }
        
        .recipe .card-title { color: #dc2626; }
        .component .card-title { color: #2563eb; }
        .infra .card-title { color: #059669; }
        .distribution .card-title { color: #7c3aed; }
        
        .card-subtitle {
            text-align: center;
            color: #64748b;
            font-size: 1.1em;
            margin-bottom: 25px;
            font-weight: 600;
        }
        
        .card-box {
            padding: 20px;
            border-radius: 12px;
            margin: 15px 0;
        }
        
        .recipe .card-box { background: #fef2f2; border-left: 4px solid #ef4444; }
        .component .card-box { background: #eff6ff; border-left: 4px solid #3b82f6; }
        .infra .card-box { background: #f0fdf4; border-left: 4px solid #10b981; }
        .distribution .card-box { background: #faf5ff; border-left: 4px solid #8b5cf6; }
        
        .card-box-title {
            font-weight: bold;
            font-size: 1.1em;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .recipe .card-box-title { color: #dc2626; }
        .component .card-box-title { color: #2563eb; }
        .infra .card-box-title { color: #059669; }
        .distribution .card-box-title { color: #7c3aed; }
        
        .card-box-content {
            color: #475569;
            line-height: 1.7;
        }
        
        /* パイプラインセクション */
        .pipeline-section {
            background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #0284c7;
        }
        
        .pipeline-title {
            color: #0c4a6e;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .pipeline-visual {
            display: flex;
            justify-content: center;
            align-items: stretch;
            gap: 15px;
            flex-wrap: wrap;
            margin: 30px 0;
        }
        
        .pipeline-stage {
            background: white;
            padding: 25px 20px;
            border-radius: 15px;
            text-align: center;
            min-width: 160px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .pipeline-stage:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .pipeline-stage::after {
            content: '';
            position: absolute;
            top: 50%;
            right: -20px;
            transform: translateY(-50%);
            border: 10px solid transparent;
            border-left: 10px solid #0284c7;
        }
        
        .pipeline-stage:last-child::after {
            display: none;
        }
        
        .stage-number {
            background: linear-gradient(135deg, #0284c7, #0369a1);
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin: 0 auto 15px;
        }
        
        .stage-icon {
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        
        .stage-name {
            font-weight: bold;
            color: #0c4a6e;
            font-size: 1em;
            margin-bottom: 8px;
        }
        
        .stage-desc {
            font-size: 0.85em;
            color: #64748b;
        }
        
        /* セキュリティセクション */
        .security-section {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #ef4444;
        }
        
        .security-title {
            color: #991b1b;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .security-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-top: 30px;
        }
        
        .security-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .security-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(239, 68, 68, 0.2);
        }
        
        .security-icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .security-card h4 {
            color: #991b1b;
            font-size: 1.3em;
            margin-bottom: 15px;
        }
        
        .security-card p {
            color: #64748b;
            line-height: 1.7;
        }
        
        /* 比較表 */
        .comparison-table {
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .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, #ff6b35 0%, #f7931e 100%);
            color: white;
            padding: 20px;
            text-align: left;
            font-size: 1.1em;
        }
        
        th:first-child {
            border-radius: 10px 0 0 0;
        }
        
        th:last-child {
            border-radius: 0 10px 0 0;
        }
        
        td {
            padding: 20px;
            border-bottom: 2px solid #f1f5f9;
        }
        
        tr:hover {
            background: #fff7ed;
        }
        
        .check {
            color: #10b981;
            font-weight: bold;
            font-size: 1.3em;
        }
        
        .cross {
            color: #ef4444;
            font-weight: bold;
            font-size: 1.3em;
        }
        
        /* ユースケース */
        .usecase-section {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #22c55e;
        }
        
        .usecase-title {
            color: #166534;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .usecase-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin-top: 30px;
        }
        
        .usecase-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .usecase-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2);
        }
        
        .usecase-icon {
            font-size: 3em;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .usecase-card h4 {
            color: #166534;
            font-size: 1.4em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .usecase-card p {
            color: #64748b;
            line-height: 1.7;
            margin-bottom: 15px;
        }
        
        .usecase-benefit {
            background: #f0fdf4;
            padding: 15px;
            border-radius: 10px;
            border-left: 4px solid #22c55e;
        }
        
        .usecase-benefit strong {
            color: #166534;
        }
        
        /* コード例 */
        .code-example {
            background: #1e293b;
            color: #f1f5f9;
            padding: 30px;
            border-radius: 15px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            line-height: 1.8;
            margin: 30px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .code-title {
            color: #60a5fa;
            font-weight: bold;
            margin-bottom: 15px;
            font-size: 1.1em;
        }
        
        .code-comment { color: #94a3b8; }
        .code-keyword { color: #f472b6; }
        .code-string { color: #34d399; }
        .code-number { color: #fbbf24; }
        
        /* Tips */
        .tip-box {
            background: linear-gradient(135deg, #ddd6fe 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;
        }
        
        /* FAQ */
        .faq-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);
        }
        
        .faq-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 40px;
            font-weight: bold;
        }
        
        .faq-item {
            background: white;
            border-radius: 15px;
            margin: 20px 0;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .faq-question {
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
            padding: 20px 25px;
            font-weight: bold;
            color: #c2410c;
            font-size: 1.1em;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .faq-answer {
            padding: 25px;
            color: #475569;
            line-height: 1.8;
        }
        
        /* レスポンシブ */
        @media (max-width: 1024px) {
            .component-cards,
            .usecase-grid {
                grid-template-columns: 1fr;
            }
            
            .conclusion-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .security-grid {
                grid-template-columns: 1fr;
            }
            
            .pipeline-visual {
                flex-direction: column;
                align-items: center;
            }
            
            .pipeline-stage::after {
                top: auto;
                bottom: -20px;
                right: 50%;
                transform: translateX(50%) rotate(90deg);
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .conclusion-grid {
                grid-template-columns: 1fr;
            }
            
            .factory-flow {
                flex-direction: column;
            }
            
            .factory-arrow {
                transform: rotate(90deg);
            }
            
            table {
                font-size: 0.85em;
            }
            
            th, td {
                padding: 12px;
            }
        }
    
    
    

    

    

    

    

    

    

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

    

    

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

    

    

    

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