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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
            color: #333;
            line-height: 1.8;
            font-size: 16px;
        
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            text-align: center;
            color: white;
            margin-bottom: 40px;
            animation: fadeInDown 1s ease-out;
        }

        .header h1 {
            font-size: 3.5em;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .header p {
            font-size: 1.4em;
            opacity: 0.9;
            margin-bottom: 20px;
        }

        .section {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            animation: fadeInUp 1s ease-out;
        }

        .intro-analogy {
            background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
            color: white;
            text-align: center;
            padding: 30px;
            border-radius: 15px;
            margin-bottom: 30px;
        }

        .intro-analogy h2 {
            font-size: 2em;
            margin-bottom: 15px;
        }

        .concept-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 30px 0;
        }

        .concept-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 3px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .concept-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 100%);
        }

        .concept-card:hover {
            transform: translateY(-10px);
            border-color: #ff9a9e;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        .concept-icon {
            font-size: 4em;
            margin-bottom: 20px;
            display: block;
        }

        .cluster-card { 
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
        }
        .service-card { 
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
        }
        .task-def-card { 
            background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
        }
        .task-card { 
            background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
            color: white;
        }

        .comparison-section {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
        }

        .comparison-table {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 30px 0;
        }

        .comparison-side {
            padding: 25px;
            border-radius: 15px;
            text-align: center;
        }

        .restaurant-side {
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
        }

        .ecs-side {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .restaurant-diagram {
            background: #f8f9fa;
            border-radius: 20px;
            padding: 40px;
            margin: 30px 0;
            position: relative;
        }

        .diagram-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 40px 0;
            position: relative;
        }

        .diagram-item {
            background: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            min-width: 200px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .diagram-item:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }

        .restaurant-building {
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
            color: #8b4513;
        }

        .chef-service {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
            color: #2c3e50;
        }

        .recipe-book {
            background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
            color: #8b008b;
        }

        .actual-dish {
            background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
            color: white;
        }

        .connection-arrow {
            position: absolute;
            top: 50%;
            left: 25%;
            right: 25%;
            height: 6px;
            background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 100%);
            border-radius: 3px;
            animation: dataFlow 3s infinite;
        }

        .connection-arrow::before,
        .connection-arrow::after {
            content: '';
            position: absolute;
            top: -6px;
            width: 0;
            height: 0;
            border-style: solid;
        }

        .connection-arrow::before {
            left: -8px;
            border-width: 9px 12px 9px 0;
            border-color: transparent #ff9a9e transparent transparent;
        }

        .connection-arrow::after {
            right: -8px;
            border-width: 9px 0 9px 12px;
            border-color: transparent transparent transparent #fad0c4;
        }

        .step-by-step {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
        }

        .step-item {
            background: white;
            padding: 25px;
            margin: 20px 0;
            border-radius: 10px;
            border-left: 5px solid #ff9a9e;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 20px;
            transition: all 0.3s ease;
        }

        .step-item:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .step-number {
            background: #ff9a9e;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5em;
            flex-shrink: 0;
        }

        .step-content h3 {
            color: #ff9a9e;
            margin-bottom: 10px;
        }

        .faq-section {
            background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
        }

        .faq-item {
            background: rgba(255,255,255,0.1);
            margin: 15px 0;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .faq-question {
            background: rgba(255,255,255,0.2);
            color: white;
            padding: 20px;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s ease;
        }

        .faq-question:hover {
            background: rgba(255,255,255,0.3);
        }

        .faq-answer {
            padding: 20px;
            background: rgba(255,255,255,0.1);
            border-top: 2px solid rgba(255,255,255,0.2);
        }

        .highlight-box {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 25px;
            border-radius: 15px;
            margin: 20px 0;
            text-align: center;
        }

        .benefit-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .benefit-card {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }

        .detailed-example {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
        }

        .example-scenario {
            background: white;
            padding: 25px;
            margin: 20px 0;
            border-radius: 10px;
            border-left: 5px solid #ff9a9e;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .code-example {
            background: #2d3748;
            color: #e2e8f0;
            padding: 20px;
            border-radius: 10px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            margin: 15px 0;
            overflow-x: auto;
        }

        .architecture-flow {
            display: flex;
            flex-direction: column;
            gap: 30px;
            margin: 30px 0;
        }

        .flow-step {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .flow-step:hover {
            transform: translateX(10px);
        }

        .flow-number {
            background: #ff9a9e;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5em;
            flex-shrink: 0;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes dataFlow {
            0%, 100% {
                opacity: 1;
                transform: scaleX(1);
            }
            50% {
                opacity: 0.7;
                transform: scaleX(1.1);
            }
        }

        @keyframes cookingAnimation {
            0%, 100% {
                transform: rotate(0deg) scale(1);
            }
            25% {
                transform: rotate(-5deg) scale(1.1);
            }
            75% {
                transform: rotate(5deg) scale(1.1);
            }
        }

        .cooking {
            animation: cookingAnimation 2s infinite;
        }

        @media (max-width: 768px) {
            .header h1 {
                font-size: 2.5em;
            }
            
            .comparison-table {
                grid-template-columns: 1fr;
            }
            
            .diagram-row {
                flex-direction: column;
                gap: 30px;
            }
            
            .connection-arrow {
                top: 35%;
                left: 50%;
                right: auto;
                width: 6px;
                height: 80px;
                transform: translateX(-50%);
            }
            
            .connection-arrow::before,
            .connection-arrow::after {
                left: -6px;
                top: auto;
                border-width: 12px 9px 0 9px;
            }
            
            .connection-arrow::before {
                top: -8px;
                border-color: #ff9a9e transparent transparent transparent;
            }
            
            .connection-arrow::after {
                bottom: -8px;
                border-color: transparent transparent #fad0c4 transparent;
            }
            
            .step-item, .flow-step {
                flex-direction: column;
                text-align: center;
            }
        }
    
        

    
        
        

        

        

        

        

        

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

    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }