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

* {
            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 100%);
            color: #333;
            line-height: 1.8;
            font-size: 18px;
        
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }

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

        .header {
            text-align: center;
            background: white;
            border-radius: 25px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }

        .header h1 {
            color: #c35237;
            font-size: 2.8em;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }

        .header p {
            font-size: 1.3em;
            color: #666;
            font-weight: 500;
        }

        .section {
            background: white;
            border-radius: 25px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .section:hover {
            transform: translateY(-8px);
        }

        .section-title {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
        }

        .section-icon {
            width: 70px;
            height: 70px;
            margin-right: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 35px;
            color: white;
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }

        .example .section-icon { background: linear-gradient(135deg, #3378be, #0984e3); }
        .layer3 .section-icon { background: linear-gradient(135deg, #fd79a8, #e84393); }
        .layer7 .section-icon { background: linear-gradient(135deg, #55efc4, #008662); }
        .privatelink .section-icon { background: linear-gradient(135deg, #9e6c0f, #c35237); }
        .comparison .section-icon { background: linear-gradient(135deg, #7E22CE, #6c5ce7); }

        .section h2 {
            color: #2d3436;
            font-size: 2.2em;
            font-weight: 700;
        }

        .real-world-example {
            background: linear-gradient(135deg, #e8f4f8, #d1ecf1);
            padding: 30px;
            border-radius: 20px;
            margin: 30px 0;
            border-left: 6px solid #3378be;
        }

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

        .office {
            background: linear-gradient(135deg, #A0A0A06fe, #c084fc);
            color: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            position: relative;
        }

        .office h3 {
            font-size: 1.5em;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .server-info {
            background: rgba(255,255,255,0.2);
            padding: 15px;
            border-radius: 10px;
            margin: 15px 0;
        }

        .ip-address {
            font-family: 'Courier New', monospace;
            font-size: 1.2em;
            font-weight: bold;
            color: #fd79a8;
            background: rgba(255,255,255,0.9);
            padding: 8px 12px;
            border-radius: 8px;
            display: inline-block;
            margin: 8px 0;
        }

        .dns-name {
            font-family: 'Courier New', monospace;
            font-size: 1.1em;
            font-weight: bold;
            color: #008662;
            background: rgba(255,255,255,0.9);
            padding: 8px 12px;
            border-radius: 8px;
            display: inline-block;
            margin: 8px 0;
        }

        .layer-stack {
            background: #f8f9fa;
            border-radius: 15px;
            overflow: hidden;
            margin: 30px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .layer {
            padding: 20px 30px;
            border-bottom: 2px solid #A0A0A0;
            position: relative;
            transition: transform 0.3s ease;
        }

        .layer:hover {
            transform: translateX(10px);
        }

        .layer.application {
            background: linear-gradient(135deg, #55efc4, #008662);
            color: white;
        }

        .layer.transport {
            background: linear-gradient(135deg, #3378be, #0984e3);
            color: white;
        }

        .layer.network {
            background: linear-gradient(135deg, #fd79a8, #e84393);
            color: white;
        }

        .layer.datalink {
            background: linear-gradient(135deg, #9e6c0f, #c35237);
            color: white;
        }

        .layer-number {
            position: absolute;
            left: -10px;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            color: #333;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
        }

        .layer h4 {
            font-size: 1.3em;
            margin-bottom: 10px;
        }

        .problem-demo {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 30px;
            align-items: center;
            margin: 40px 0;
            background: #fff5f5;
            padding: 30px;
            border-radius: 20px;
            border: 3px solid #fd79a8;
        }

        .router-confusion {
            text-align: center;
            background: linear-gradient(135deg, #fd79a8, #e84393);
            color: white;
            padding: 25px;
            border-radius: 15px;
            position: relative;
        }

        .confusion-animation {
            font-size: 3em;
            animation: shake 2s infinite;
        }

        @keyframes shake {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(-10deg); }
            75% { transform: rotate(10deg); }
        }

        .dns-resolution {
            background: linear-gradient(135deg, #e8f5e8, #c6f6d5);
            padding: 30px;
            border-radius: 20px;
            margin: 30px 0;
            border: 3px solid #55efc4;
        }

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

        .dns-step {
            background: white;
            padding: 20px;
            border-radius: 15px;
            border-left: 5px solid #008662;
            position: relative;
        }

        .dns-step::before {
            content: attr(data-step);
            position: absolute;
            top: -10px;
            left: -10px;
            background: #008662;
            color: white;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8em;
            font-weight: bold;
        }

        .dns-step h5 {
            color: #2d3436;
            font-size: 1.1em;
            margin-bottom: 10px;
        }

        .dns-step .dns-query {
            font-family: 'Courier New', monospace;
            background: #f8f9fa;
            padding: 8px;
            border-radius: 5px;
            font-size: 0.9em;
            color: #495057;
        }

        .privatelink-magic {
            background: linear-gradient(135deg, #fff3cd, #ffeaa7);
            padding: 35px;
            border-radius: 20px;
            margin: 30px 0;
            border-left: 8px solid #9e6c0f;
        }

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

        .vpc-endpoint {
            background: linear-gradient(135deg, #3378be, #0984e3);
            color: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
        }

        .privatelink-bridge {
            background: linear-gradient(135deg, #55efc4, #008662);
            color: white;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
        }

        .endpoint-service {
            background: linear-gradient(135deg, #9e6c0f, #c35237);
            color: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
        }

        .magic-arrow {
            font-size: 2.5em;
            color: #008662;
            text-align: center;
            margin: 10px 0;
        }

        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 30px 0;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .comparison-table th {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 20px;
            text-align: left;
            font-size: 1.1em;
        }

        .comparison-table td {
            padding: 15px 20px;
            border-bottom: 1px solid #eee;
            font-size: 1em;
        }

        .comparison-table tr:nth-child(even) {
            background: #f8f9fa;
        }

        .highlight-concept {
            background: linear-gradient(135deg, #ffeaa7, #9e6c0f);
            border-radius: 20px;
            padding: 30px;
            margin: 30px 0;
            border-left: 8px solid #c35237;
            position: relative;
        }

        .highlight-concept::before {
            content: "💡";
            font-size: 2.5em;
            position: absolute;
            top: -20px;
            left: 20px;
            background: white;
            padding: 10px;
            border-radius: 50%;
        }

        .highlight-concept h4 {
            font-size: 1.5em;
            color: #2d3436;
            margin-bottom: 15px;
            margin-top: 10px;
        }

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

        .code-comment {
            color: #81c784;
        }

        .code-error {
            color: #f48fb1;
        }

        .code-success {
            color: #4fc3f7;
        }

        @media (max-width: 768px) {
            .problem-demo {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .privatelink-diagram {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .company-offices {
                grid-template-columns: 1fr;
            }
            
            .header h1 {
                font-size: 2.2em;
            }
        }
    
        

    
        
        

        

        

        

        

        

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

    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }