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

* {
            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;
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
            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, #4facfe 0%, #00f2fe 50%, #43e97b 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;
        }
        
        .header p {
            font-size: 1.3em;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }
        
        .content {
            padding: 50px;
        }
        
        .intro {
            text-align: center;
            margin-bottom: 50px;
            padding: 40px;
            background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
            border-radius: 15px;
            border-left: 6px solid #00bcd4;
        }
        
        .intro h2 {
            color: #00838f;
            font-size: 2.2em;
            margin-bottom: 20px;
        }
        
        .intro-text {
            font-size: 1.2em;
            color: #006064;
            line-height: 1.8;
        }
        
        /* レストランの例え図解 */
        .analogy-hero {
            background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #ffc107;
        }
        
        .analogy-hero-title {
            color: #f57f17;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .analogy-diagram {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
            margin: 40px 0;
        }
        
        .analogy-box {
            background: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            min-width: 200px;
            transition: all 0.3s ease;
        }
        
        .analogy-box:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        }
        
        .analogy-icon {
            font-size: 4em;
            margin-bottom: 15px;
        }
        
        .analogy-label {
            font-weight: bold;
            color: #1e293b;
            font-size: 1.2em;
            margin-bottom: 10px;
        }
        
        .analogy-aws {
            background: linear-gradient(135deg, #4facfe, #00f2fe);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9em;
            display: inline-block;
        }
        
        .arrow {
            font-size: 3em;
            color: #ffc107;
        }
        
        /* ターゲットタイプセクション */
        .target-types-section {
            background: linear-gradient(to bottom, #f8fafc 0%, white 100%);
            padding: 50px 30px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5em;
            color: #1e293b;
            margin-bottom: 40px;
            font-weight: bold;
        }
        
        .target-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .target-card {
            background: white;
            border-radius: 20px;
            padding: 35px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-top: 6px solid;
            transition: all 0.3s ease;
        }
        
        .target-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        }
        
        .target-card.instance {
            border-color: #3b82f6;
            background: linear-gradient(to bottom, #eff6ff 0%, white 100%);
        }
        
        .target-card.ip {
            border-color: #10b981;
            background: linear-gradient(to bottom, #ecfdf5 0%, white 100%);
        }
        
        .target-card.lambda {
            border-color: #f59e0b;
            background: linear-gradient(to bottom, #fffbeb 0%, white 100%);
        }
        
        .target-icon {
            font-size: 4em;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .target-name {
            font-size: 1.8em;
            font-weight: bold;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .target-card.instance .target-name { color: #1e40af; }
        .target-card.ip .target-name { color: #065f46; }
        .target-card.lambda .target-name { color: #92400e; }
        
        .target-analogy {
            background: rgba(0,0,0,0.05);
            padding: 20px;
            border-radius: 12px;
            margin: 20px 0;
            text-align: center;
        }
        
        .target-analogy-title {
            font-weight: bold;
            color: #64748b;
            margin-bottom: 10px;
        }
        
        .target-analogy-text {
            color: #475569;
            line-height: 1.7;
        }
        
        .target-features {
            margin-top: 20px;
        }
        
        .target-feature {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .target-feature:last-child {
            border-bottom: none;
        }
        
        .feature-icon {
            font-size: 1.3em;
        }
        
        .feature-text {
            color: #475569;
            line-height: 1.6;
        }
        
        .target-badge {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.85em;
            margin-top: 15px;
        }
        
        .badge-popular {
            background: #dbeafe;
            color: #1e40af;
        }
        
        .badge-flexible {
            background: #d1fae5;
            color: #065f46;
        }
        
        .badge-serverless {
            background: #fef3c7;
            color: #92400e;
        }
        
        /* ヘルスチェックセクション */
        .health-check-section {
            background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #e91e63;
        }
        
        .health-title {
            color: #880e4f;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .health-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .health-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .health-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
        }
        
        .health-icon {
            font-size: 3em;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .health-card h4 {
            color: #880e4f;
            font-size: 1.4em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .health-description {
            color: #475569;
            line-height: 1.7;
        }
        
        .health-param {
            background: #fce4ec;
            padding: 15px;
            border-radius: 8px;
            margin-top: 15px;
        }
        
        .health-param-title {
            font-weight: bold;
            color: #c2185b;
            margin-bottom: 8px;
        }
        
        .health-param-value {
            font-family: 'Courier New', monospace;
            color: #880e4f;
        }
        
        /* フロー図 */
        .flow-section {
            background: white;
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .flow-diagram {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin: 40px 0;
        }
        
        .flow-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
        }
        
        .flow-box {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 25px 40px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
            min-width: 180px;
        }
        
        .flow-box-icon {
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        
        .flow-box-label {
            font-weight: bold;
            font-size: 1.1em;
        }
        
        .flow-arrow-down {
            font-size: 2.5em;
            color: #667eea;
        }
        
        .flow-targets {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .flow-target {
            background: linear-gradient(135deg, #10b981, #34d399);
            color: white;
            padding: 20px 30px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
        }
        
        .flow-target-icon {
            font-size: 2em;
            margin-bottom: 8px;
        }
        
        /* ルーティングアルゴリズム */
        .routing-section {
            background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #4caf50;
        }
        
        .routing-title {
            color: #1b5e20;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .routing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .routing-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border-top: 5px solid;
            transition: all 0.3s ease;
        }
        
        .routing-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .routing-card:nth-child(1) { border-color: #4caf50; }
        .routing-card:nth-child(2) { border-color: #2196f3; }
        .routing-card:nth-child(3) { border-color: #ff9800; }
        
        .routing-icon {
            font-size: 3em;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .routing-card h4 {
            color: #1b5e20;
            font-size: 1.4em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .routing-analogy {
            background: #e8f5e9;
            padding: 15px;
            border-radius: 10px;
            margin: 15px 0;
        }
        
        .routing-analogy-label {
            font-weight: bold;
            color: #2e7d32;
            margin-bottom: 8px;
        }
        
        .routing-analogy-text {
            color: #1b5e20;
            line-height: 1.6;
        }
        
        /* スティッキーセッション */
        .sticky-section {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #2196f3;
        }
        
        .sticky-title {
            color: #0d47a1;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .sticky-explanation {
            background: white;
            padding: 35px;
            border-radius: 15px;
            margin: 30px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .sticky-analogy {
            display: flex;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
            justify-content: center;
            margin: 30px 0;
        }
        
        .sticky-analogy-item {
            text-align: center;
            padding: 25px;
            background: #e3f2fd;
            border-radius: 15px;
            min-width: 200px;
        }
        
        .sticky-analogy-icon {
            font-size: 3.5em;
            margin-bottom: 15px;
        }
        
        .sticky-analogy-label {
            font-weight: bold;
            color: #0d47a1;
            font-size: 1.1em;
        }
        
        .sticky-types {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .sticky-type-card {
            background: white;
            padding: 25px;
            border-radius: 12px;
            border-left: 5px solid #2196f3;
        }
        
        .sticky-type-title {
            font-weight: bold;
            color: #0d47a1;
            font-size: 1.2em;
            margin-bottom: 10px;
        }
        
        .sticky-type-desc {
            color: #475569;
            line-height: 1.7;
        }
        
        /* ユースケース */
        .usecase-section {
            background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
            padding: 50px;
            border-radius: 20px;
            margin: 50px 0;
            border-left: 8px solid #9c27b0;
        }
        
        .usecase-title {
            color: #4a148c;
            font-size: 2.5em;
            margin-bottom: 30px;
            text-align: center;
            font-weight: bold;
        }
        
        .usecase-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 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(156, 39, 176, 0.2);
        }
        
        .usecase-icon {
            font-size: 3em;
            text-align: center;
            margin-bottom: 15px;
        }
        
        .usecase-card h4 {
            color: #4a148c;
            font-size: 1.4em;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .usecase-description {
            color: #475569;
            line-height: 1.7;
            margin: 15px 0;
        }
        
        .usecase-config {
            background: #f3e5f5;
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
        }
        
        .usecase-config-title {
            font-weight: bold;
            color: #7b1fa2;
            margin-bottom: 10px;
        }
        
        .usecase-config-item {
            color: #4a148c;
            padding: 5px 0;
            font-size: 0.95em;
        }
        
        /* 比較表 */
        .comparison-table {
            background: white;
            padding: 40px;
            border-radius: 20px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            overflow-x: auto;
        }
        
        .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, #4facfe 0%, #00f2fe 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: 18px 20px;
            border-bottom: 2px solid #f1f5f9;
        }
        
        tr:hover {
            background: #f8fafc;
        }
        
        .check {
            color: #10b981;
            font-weight: bold;
            font-size: 1.3em;
        }
        
        .cross {
            color: #ef4444;
            font-weight: bold;
            font-size: 1.3em;
        }
        
        /* Tips */
        .tip-box {
            background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
            padding: 35px;
            border-radius: 15px;
            margin: 40px 0;
            border-left: 6px solid #ff9800;
        }
        
        .tip-title {
            font-size: 1.6em;
            font-weight: bold;
            color: #e65100;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .tip-content {
            color: #bf360c;
            line-height: 1.9;
            font-size: 1.05em;
        }
        
        /* コード例 */
        .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; }
        
        /* まとめ */
        .summary {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #43e97b 100%);
            color: white;
            padding: 50px;
            border-radius: 20px;
            text-align: center;
        }
        
        .summary h2 {
            font-size: 2.5em;
            margin-bottom: 30px;
        }
        
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .summary-item {
            background: rgba(255,255,255,0.15);
            padding: 25px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
        }
        
        .summary-icon {
            font-size: 2.5em;
            margin-bottom: 15px;
        }
        
        .summary-label {
            font-size: 1.2em;
            font-weight: bold;
        }
        
        .summary-text {
            margin-top: 10px;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .content {
                padding: 30px 20px;
            }
            
            .analogy-diagram {
                flex-direction: column;
            }
            
            .arrow {
                transform: rotate(90deg);
            }
            
            table {
                font-size: 0.85em;
            }
            
            th, td {
                padding: 12px;
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }

    
        
        

        

        

        

        

        

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