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

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

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

        .container {
            max-width: 1500px;
            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, #ffecd2 0%, #fcb69f 100%);
            text-align: center;
            padding: 30px;
            border-radius: 15px;
            margin-bottom: 30px;
        }

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

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

        .security-card {
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

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

        .direct-connect-only {
            background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
            border: 3px solid #e74c3c;
        }

        .vpn-only {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
            border: 3px solid #CA8A04;
        }

        .hybrid-secure {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: 3px solid #15803D;
        }

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

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

        .delivery-scenario {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin: 20px 0;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            position: relative;
        }

        .scenario-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .scenario-icon {
            font-size: 3em;
            flex-shrink: 0;
        }

        .delivery-path {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 20px 0;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 10px;
            position: relative;
        }

        .delivery-truck {
            font-size: 2em;
            animation: moveDelivery 4s infinite linear;
            position: absolute;
            left: 10%;
        }

        .encryption-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: repeating-linear-gradient(
                45deg,
                rgba(46, 204, 113, 0.1),
                rgba(46, 204, 113, 0.1) 10px,
                rgba(46, 204, 113, 0.2) 10px,
                rgba(46, 204, 113, 0.2) 20px
            );
            border-radius: 10px;
            pointer-events: none;
        }

        .vpn-configurations {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
        }

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

        .config-option {
            background: rgba(255,255,255,0.1);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255,255,255,0.2);
            transition: all 0.3s ease;
        }

        .config-option:hover {
            border-color: rgba(255,255,255,0.5);
            background: rgba(255,255,255,0.2);
        }

        .config-option.recommended {
            border-color: #15803D;
            background: rgba(46, 204, 113, 0.2);
        }

        .architecture-diagram {
            background: #2c3e50;
            border-radius: 20px;
            padding: 40px;
            margin: 30px 0;
            color: white;
            position: relative;
        }

        .network-flow {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 40px;
            align-items: center;
            margin: 30px 0;
        }

        .endpoint {
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            backdrop-filter: blur(10px);
        }

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

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

        .connection-options {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .connection-type {
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            padding: 20px;
            backdrop-filter: blur(5px);
            border: 2px solid transparent;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .connection-type:hover {
            border-color: rgba(255,255,255,0.5);
            background: rgba(255,255,255,0.2);
        }

        .unencrypted {
            border-color: #e74c3c;
            background: rgba(231, 76, 60, 0.2);
        }

        .encrypted {
            border-color: #15803D;
            background: rgba(39, 174, 96, 0.2);
        }

        .encryption-indicator {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8em;
            font-weight: bold;
        }

        .no-encryption {
            background: #e74c3c;
            color: white;
        }

        .with-encryption {
            background: #15803D;
            color: white;
        }

        .interactive-demo {
            background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
            text-align: center;
        }

        .demo-controls {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin: 20px 0;
        }

        .demo-button {
            background: #667eea;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 25px;
            font-size: 1em;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .demo-button:hover {
            background: #5a6fd8;
            transform: translateY(-2px);
        }

        .demo-button.secure {
            background: #15803D;
        }

        .demo-button.insecure {
            background: #e74c3c;
        }

        .comparison-table {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 30px;
            margin: 30px 0;
            overflow-x: auto;
        }

        .table-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: 1px;
            background: #dee2e6;
            border-radius: 10px;
            overflow: hidden;
        }

        .table-header {
            background: #667eea;
            color: white;
            padding: 15px;
            font-weight: bold;
            text-align: center;
        }

        .table-cell {
            background: white;
            padding: 15px;
            text-align: center;
        }

        .table-cell.good {
            background: #d4edda;
            color: #155724;
        }

        .table-cell.warning {
            background: #fff3cd;
            color: #856404;
        }

        .table-cell.poor {
            background: #f8d7da;
            color: #721c24;
        }

        .best-practices {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
        }

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

        .practice-card {
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 10px;
            backdrop-filter: blur(5px);
        }

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

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

        .faq-section {
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
            padding: 30px;
            border-radius: 15px;
        }

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

        .faq-question {
            background: #667eea;
            color: white;
            padding: 20px;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s ease;
        }

        .faq-question:hover {
            background: #5a6fd8;
        }

        .faq-answer {
            padding: 20px;
            background: white;
            border-top: 2px solid #f0f0f0;
            display: none;
        }

        @keyframes moveDelivery {
            0% {
                left: 10%;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                left: 85%;
                opacity: 0;
            }
        }

        @keyframes encryptionPulse {
            0%, 100% {
                background-color: rgba(46, 204, 113, 0.1);
            }
            50% {
                background-color: rgba(46, 204, 113, 0.3);
            }
        }

        @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);
            }
        }

        @media (max-width: 768px) {
            .header h1 {
                font-size: 2.5em;
            }
            
            .security-comparison {
                grid-template-columns: 1fr;
            }
            
            .config-grid {
                grid-template-columns: 1fr;
            }
            
            .network-flow {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .table-grid {
                grid-template-columns: 1fr;
            }
        }
    
        

    
        
        

        

        

        

        

        

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

    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }