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

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

        body {
            font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
            color: #e2e8f0;
            line-height: 1.8;
            min-height: 100vh;
        
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }

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

        /* ヘッダー */
        .header {
            text-align: center;
            margin-bottom: 50px;
            padding: 40px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
            border-radius: 24px;
            border: 1px solid rgba(99, 102, 241, 0.3);
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }

        .header-content {
            position: relative;
            z-index: 1;
        }

        .header-icon {
            font-size: 4rem;
            margin-bottom: 20px;
        }

        .header h1 {
            font-size: 2.5rem;
            background: linear-gradient(135deg, #818cf8, #f472b6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
        }

        .header-subtitle {
            font-size: 1.2rem;
            color: #64748B;
        }

        /* 結論ファースト */
        .conclusion-first {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.15));
            border: 2px solid rgba(34, 197, 94, 0.4);
            border-radius: 20px;
            padding: 35px;
            margin-bottom: 50px;
        }

        .conclusion-first h2 {
            color: #4ade80;
            font-size: 1.5rem;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .key-points {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .key-point {
            background: rgba(0, 0, 0, 0.3);
            padding: 20px;
            border-radius: 12px;
            border-left: 4px solid #4ade80;
        }

        .key-point-title {
            color: #4ade80;
            font-weight: bold;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .key-point p {
            color: #cbd5e1;
            font-size: 0.95rem;
        }

        /* セクション共通 */
        .section {
            margin-bottom: 50px;
        }

        .section-title {
            font-size: 1.8rem;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(99, 102, 241, 0.3);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        /* たとえ話セクション */
        .analogy-section {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
            border-radius: 24px;
            padding: 40px;
            margin-bottom: 50px;
            border: 1px solid rgba(251, 191, 36, 0.3);
        }

        .analogy-title {
            color: #CA8A04;
            font-size: 1.6rem;
            margin-bottom: 25px;
            text-align: center;
        }

        .analogy-intro {
            text-align: center;
            font-size: 1.1rem;
            color: #e2e8f0;
            margin-bottom: 35px;
            padding: 20px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
        }

        /* 登場人物マッピング */
        .character-mapping {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        .character-card {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 16px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(251, 191, 36, 0.2);
        }

        .character-card:hover {
            transform: translateY(-5px);
            border-color: rgba(251, 191, 36, 0.5);
            box-shadow: 0 10px 40px rgba(251, 191, 36, 0.2);
        }

        .character-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .character-aws {
            color: #f472b6;
            font-weight: bold;
            font-size: 0.9rem;
            margin-bottom: 5px;
        }

        .character-analogy {
            color: #CA8A04;
            font-size: 1.1rem;
            font-weight: bold;
        }

        /* 空港シナリオ図解 */
        .airport-scenario {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 20px;
            padding: 30px;
        }

        .scenario-title {
            text-align: center;
            color: #CA8A04;
            font-size: 1.3rem;
            margin-bottom: 25px;
        }

        .airport-diagram {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .airport-zone {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px;
            border-radius: 16px;
            position: relative;
        }

        .zone-icon {
            font-size: 3rem;
            flex-shrink: 0;
            width: 80px;
            text-align: center;
        }

        .zone-content {
            flex: 1;
        }

        .zone-name {
            font-weight: bold;
            font-size: 1.1rem;
            margin-bottom: 8px;
        }

        .zone-desc {
            color: #64748B;
            font-size: 0.95rem;
        }

        .zone-check-in {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
            border: 1px solid rgba(59, 130, 246, 0.3);
        }
        .zone-check-in .zone-name { color: #2563EB; }

        .zone-security {
            background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(219, 39, 119, 0.2));
            border: 1px solid rgba(236, 72, 153, 0.3);
        }
        .zone-security .zone-name { color: #f472b6; }

        .zone-storage {
            background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.2));
            border: 1px solid rgba(168, 85, 247, 0.3);
        }
        .zone-storage .zone-name { color: #c084fc; }

        .zone-patrol {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2));
            border: 1px solid rgba(34, 197, 94, 0.3);
        }
        .zone-patrol .zone-name { color: #4ade80; }

        .zone-control {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
            border: 1px solid rgba(251, 191, 36, 0.3);
        }
        .zone-control .zone-name { color: #CA8A04; }

        .arrow-down {
            text-align: center;
            font-size: 2rem;
            color: #64748b;
        }

        /* スキャン方式比較 */
        .scan-comparison {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .scan-type-card {
            border-radius: 20px;
            padding: 30px;
            position: relative;
            overflow: hidden;
        }

        .scan-type-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
        }

        .scan-push {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
            border: 1px solid rgba(59, 130, 246, 0.3);
        }
        .scan-push::before {
            background: linear-gradient(90deg, #3b82f6, #2563EB);
        }

        .scan-continuous {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.1));
            border: 1px solid rgba(34, 197, 94, 0.3);
        }
        .scan-continuous::before {
            background: linear-gradient(90deg, #16A34A, #4ade80);
        }

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

        .scan-icon {
            font-size: 2.5rem;
        }

        .scan-title {
            font-size: 1.3rem;
            font-weight: bold;
        }

        .scan-push .scan-title { color: #2563EB; }
        .scan-continuous .scan-title { color: #4ade80; }

        .scan-analogy {
            background: rgba(0, 0, 0, 0.3);
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            font-style: italic;
            color: #CA8A04;
        }

        .scan-features {
            list-style: none;
        }

        .scan-features li {
            padding: 10px 0;
            padding-left: 30px;
            position: relative;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .scan-features li:last-child {
            border-bottom: none;
        }

        .scan-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        .scan-push .scan-features li::before { color: #2563EB; }
        .scan-continuous .scan-features li::before { color: #4ade80; }

        /* フロー図 */
        .flow-section {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
        }

        .flow-title {
            text-align: center;
            font-size: 1.4rem;
            color: #818cf8;
            margin-bottom: 30px;
        }

        .flow-diagram {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 15px;
        }

        .flow-step {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
            border: 1px solid rgba(99, 102, 241, 0.4);
            border-radius: 16px;
            padding: 20px;
            text-align: center;
            min-width: 150px;
            transition: all 0.3s ease;
        }

        .flow-step:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
        }

        .flow-step-icon {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .flow-step-title {
            font-weight: bold;
            color: #a5b4fc;
            margin-bottom: 5px;
        }

        .flow-step-desc {
            font-size: 0.85rem;
            color: #64748B;
        }

        .flow-arrow {
            font-size: 2rem;
            color: #6366f1;
        }

        /* Security Hub統合 */
        .integration-section {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
            border-radius: 20px;
            padding: 40px;
            border: 1px solid rgba(251, 191, 36, 0.2);
            margin-bottom: 40px;
        }

        .integration-diagram {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin-top: 30px;
        }

        .integration-box {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 16px;
            padding: 25px;
            text-align: center;
            min-width: 180px;
        }

        .integration-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .integration-name {
            font-weight: bold;
            color: #e2e8f0;
        }

        .integration-arrow {
            font-size: 2.5rem;
            color: #CA8A04;
        }

        .hub-box {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
            border: 2px solid rgba(251, 191, 36, 0.5);
            min-width: 220px;
        }

        .hub-box .integration-name {
            color: #CA8A04;
            font-size: 1.1rem;
        }

        /* リポジトリ選択 */
        .repo-selection {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 40px;
        }

        .repo-diagram {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            margin-top: 25px;
        }

        .repo-item {
            background: rgba(99, 102, 241, 0.1);
            border: 2px dashed rgba(99, 102, 241, 0.3);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .repo-item.selected {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.1));
            border: 2px solid rgba(34, 197, 94, 0.5);
        }

        .repo-icon {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .repo-name {
            font-size: 0.85rem;
            color: #64748B;
        }

        .repo-item.selected .repo-name {
            color: #4ade80;
            font-weight: bold;
        }

        .repo-badge {
            margin-top: 8px;
            font-size: 0.75rem;
            padding: 3px 8px;
            border-radius: 20px;
            display: inline-block;
        }

        .badge-scanning {
            background: rgba(34, 197, 94, 0.2);
            color: #4ade80;
        }

        .badge-skip {
            background: rgba(148, 163, 184, 0.2);
            color: #64748B;
        }

        /* CLIコマンド */
        .cli-section {
            background: #0d1117;
            border-radius: 16px;
            padding: 30px;
            margin-bottom: 40px;
            border: 1px solid #30363d;
        }

        .cli-title {
            color: #58a6ff;
            font-size: 1.2rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .cli-block {
            margin-bottom: 25px;
        }

        .cli-label {
            color: #8b949e;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .cli-code {
            background: #161b22;
            border-radius: 8px;
            padding: 15px 20px;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9rem;
            overflow-x: auto;
            border: 1px solid #30363d;
        }

        .cli-comment {
            color: #8b949e;
        }

        .cli-command {
            color: #79c0ff;
        }

        .cli-param {
            color: #a5d6ff;
        }

        .cli-value {
            color: #a5d6ff;
        }

        /* 比較テーブル */
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 30px 0;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 16px;
            overflow: hidden;
        }

        .comparison-table th,
        .comparison-table td {
            padding: 18px 20px;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .comparison-table th {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.2));
            color: #a5b4fc;
            font-weight: 600;
        }

        .comparison-table tr:last-child td {
            border-bottom: none;
        }

        .comparison-table tr:hover td {
            background: rgba(99, 102, 241, 0.1);
        }

        .table-icon {
            font-size: 1.2rem;
            margin-right: 8px;
        }

        /* ユースケース */
        .usecase-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }

        .usecase-card {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
            border: 1px solid rgba(99, 102, 241, 0.2);
            border-radius: 16px;
            padding: 25px;
            transition: all 0.3s ease;
        }

        .usecase-card:hover {
            border-color: rgba(99, 102, 241, 0.5);
            transform: translateY(-3px);
        }

        .usecase-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        .usecase-title {
            color: #a5b4fc;
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 12px;
        }

        .usecase-desc {
            color: #64748B;
            font-size: 0.95rem;
        }

        /* FAQ */
        .faq-section {
            margin-top: 50px;
        }

        .faq-item {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 12px;
            margin-bottom: 15px;
            overflow: hidden;
            border: 1px solid rgba(99, 102, 241, 0.2);
        }

        .faq-question {
            padding: 20px 25px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            background: rgba(99, 102, 241, 0.1);
        }

        .faq-question-text {
            color: #a5b4fc;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .faq-toggle {
            font-size: 1.5rem;
            color: #6366f1;
            transition: transform 0.3s ease;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-answer-content {
            padding: 0 25px 20px;
            color: #cbd5e1;
        }

        .faq-item.active .faq-toggle {
            transform: rotate(45deg);
        }

        .faq-item.active .faq-answer {
            max-height: 500px;
        }

        /* ベストプラクティス */
        .best-practices {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .practice-card {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
            border: 1px solid rgba(34, 197, 94, 0.2);
            border-radius: 12px;
            padding: 20px;
        }

        .practice-number {
            background: linear-gradient(135deg, #16A34A, #16a34a);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 12px;
        }

        .practice-title {
            color: #4ade80;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .practice-desc {
            color: #64748B;
            font-size: 0.9rem;
        }

        /* フッター */
        .footer {
            text-align: center;
            padding: 40px;
            color: #64748b;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 50px;
        }

        .footer-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .footer-tag {
            background: rgba(99, 102, 241, 0.2);
            color: #a5b4fc;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
        }

        /* レスポンシブ */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 1.8rem;
            }

            .section-title {
                font-size: 1.4rem;
            }

            .flow-diagram {
                flex-direction: column;
            }

            .flow-arrow {
                transform: rotate(90deg);
            }

            .integration-diagram {
                flex-direction: column;
            }

            .integration-arrow {
                transform: rotate(90deg);
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }