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

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .header {
            background: white;
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .header h1 {
            color: #2c3e50;
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        
        .header p {
            font-size: 1.2em;
            color: #7f8c8d;
        }
        
        .section {
            background: white;
            margin-bottom: 30px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .section-header {
            background: linear-gradient(45deg, #3498db, #2980b9);
            color: white;
            padding: 20px 30px;
            font-size: 1.5em;
            font-weight: bold;
        }
        
        .section-content {
            padding: 30px;
        }
        
        .analogy-container {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin: 30px 0;
            flex-wrap: wrap;
        }
        
        .building {
            text-align: center;
            margin: 20px;
            flex: 1;
            min-width: 250px;
        }
        
        .building-icon {
            width: 120px;
            height: 120px;
            margin: 0 auto 15px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            color: white;
            position: relative;
        }
        
        .aws-building {
            background: linear-gradient(45deg, #ff9a56, #ff6b35);
        }
        
        .onprem-building {
            background: linear-gradient(45deg, #4ecdc4, #44a08d);
        }
        
        .arrow {
            font-size: 3em;
            color: #e74c3c;
            margin: 0 20px;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        .flow-diagram {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 30px;
            margin: 20px 0;
        }
        
        .step {
            display: flex;
            align-items: center;
            margin: 20px 0;
            padding: 20px;
            background: white;
            border-radius: 10px;
            border-left: 5px solid #3498db;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .step-number {
            background: #3498db;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 20px;
            flex-shrink: 0;
        }
        
        .step-content {
            flex: 1;
        }
        
        .step h3 {
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .step p {
            color: #7f8c8d;
        }
        
        .rule-box {
            background: linear-gradient(45deg, #9333EA, #f5576c);
            color: white;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            text-align: center;
        }
        
        .rule-box h3 {
            margin-bottom: 10px;
        }
        
        .comparison-table {
            overflow-x: auto;
            margin: 20px 0;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 10px;
            overflow: hidden;
        }
        
        th {
            background: #34495e;
            color: white;
            padding: 15px;
            text-align: left;
        }
        
        td {
            padding: 15px;
            border-bottom: 1px solid #ecf0f1;
        }
        
        tr:hover {
            background: #f8f9fa;
        }
        
        .highlight-box {
            background: linear-gradient(45deg, #56ab2f, #a8e6cf);
            color: white;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
        }
        
        .highlight-box h3 {
            margin-bottom: 10px;
        }
        
        .dns-flow {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 30px 0;
            flex-wrap: wrap;
        }
        
        .dns-step {
            background: white;
            border: 3px solid #3498db;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            margin: 10px;
            flex: 1;
            min-width: 150px;
            position: relative;
        }
        
        .dns-step::after {
            content: '→';
            position: absolute;
            right: -25px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 24px;
            color: #e74c3c;
        }
        
        .dns-step:last-child::after {
            display: none;
        }
        
        .network-diagram {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 30px;
            margin: 30px 0;
            position: relative;
            overflow: hidden;
        }
        
        .network-node {
            background: white;
            border: 3px solid #3498db;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin: 15px;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transition: transform 0.3s ease;
        }
        
        .network-node:hover {
            transform: translateY(-5px);
        }
        
        .network-node.aws {
            border-color: #ff9500;
            background: linear-gradient(135deg, #fff, #fff4e6);
        }
        
        .network-node.onprem {
            border-color: #4ecdc4;
            background: linear-gradient(135deg, #fff, #e6fffe);
        }
        
        .network-node.client {
            border-color: #9b59b6;
            background: linear-gradient(135deg, #fff, #f4e6ff);
        }
        
        .node-icon {
            font-size: 3em;
            margin-bottom: 10px;
        }
        
        .network-connection {
            position: absolute;
            height: 4px;
            background: linear-gradient(90deg, #e74c3c, #CA8A04);
            z-index: 1;
            border-radius: 2px;
        }
        
        .network-connection.animated {
            background: linear-gradient(90deg, #e74c3c, #CA8A04, #e74c3c);
            background-size: 200% 100%;
            animation: flowAnimation 2s infinite;
        }
        
        @keyframes flowAnimation {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        
        .network-grid {
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            grid-template-rows: auto auto auto;
            gap: 20px;
            align-items: center;
            position: relative;
        }
        
        .visual-flow {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 15px;
            padding: 30px;
            margin: 30px 0;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .visual-flow::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            animation: backgroundMove 20s linear infinite;
        }
        
        @keyframes backgroundMove {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(30px, 30px) rotate(360deg); }
        }
        
        .flow-steps {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 2;
            flex-wrap: wrap;
        }
        
        .flow-step {
            background: rgba(255,255,255,0.9);
            color: #333;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            flex: 1;
            margin: 10px;
            min-width: 150px;
            position: relative;
            transform: translateY(0);
            animation: float 3s ease-in-out infinite;
        }
        
        .flow-step:nth-child(2) { animation-delay: 0.5s; }
        .flow-step:nth-child(3) { animation-delay: 1s; }
        .flow-step:nth-child(4) { animation-delay: 1.5s; }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        
        .flow-step .step-icon {
            font-size: 2.5em;
            margin-bottom: 10px;
            display: block;
        }
        
        .flow-step::after {
            content: '→';
            position: absolute;
            right: -30px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 2em;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: arrowPulse 2s infinite;
        }
        
        .flow-step:last-child::after {
            display: none;
        }
        
        @keyframes arrowPulse {
            0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
            50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
        }
        
        .architecture-diagram {
            background: white;
            border-radius: 15px;
            padding: 40px;
            margin: 30px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .cloud-aws {
            background: linear-gradient(135deg, #ff9500, #ff6600);
            border-radius: 50px;
            padding: 30px;
            color: white;
            text-align: center;
            position: relative;
            margin: 20px;
            box-shadow: 0 10px 25px rgba(255, 149, 0, 0.3);
        }
        
        .cloud-onprem {
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
            border-radius: 20px;
            padding: 30px;
            color: white;
            text-align: center;
            position: relative;
            margin: 20px;
            box-shadow: 0 10px 25px rgba(78, 205, 196, 0.3);
        }
        
        .connection-line {
            position: absolute;
            height: 6px;
            background: linear-gradient(90deg, #e74c3c, #CA8A04, #15803D);
            border-radius: 3px;
            animation: dataFlow 3s infinite;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        @keyframes dataFlow {
            0% { background-position: 0% 50%; }
            100% { background-position: 100% 50%; }
        }
        
        .decision-tree {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 15px;
            padding: 30px;
            margin: 30px 0;
            color: white;
            position: relative;
        }
        
        .tree-node {
            background: rgba(255,255,255,0.9);
            color: #333;
            border-radius: 10px;
            padding: 15px;
            margin: 10px;
            text-align: center;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .tree-node.decision {
            background: linear-gradient(45deg, #9333EA, #f5576c);
            color: white;
            border-radius: 50%;
            width: 120px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 20px auto;
        }
        
        .tree-branches {
            display: flex;
            justify-content: space-around;
            margin-top: 30px;
        }
        
        .branch {
            flex: 1;
            text-align: center;
            position: relative;
        }
        
        .branch::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 50%;
            width: 2px;
            height: 20px;
            background: white;
            transform: translateX(-50%);
        }
        
        .comparison-visual {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 30px 0;
        }
        
        .comparison-side {
            background: white;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .comparison-side.normal {
            border-top: 5px solid #3498db;
        }
        
        .comparison-side.conditional {
            border-top: 5px solid #e74c3c;
        }
        
        .vs-icon {
            position: absolute;
            right: -30px;
            top: 50%;
            transform: translateY(-50%);
            background: #CA8A04;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2em;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        @media (max-width: 768px) {
            .analogy-container {
                flex-direction: column;
            }
            
            .arrow {
                transform: rotate(90deg);
                margin: 20px 0;
            }
            
            .dns-flow {
                flex-direction: column;
            }
            
            .dns-step::after {
                content: '↓';
                right: auto;
                top: auto;
                bottom: -25px;
                left: 50%;
                transform: translateX(-50%);
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }