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

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

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

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

        .header {
            text-align: center;
            margin-bottom: 40px;
            color: white;
        }

        .header h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .overview-diagram {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .flow-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 30px 0;
            flex-wrap: wrap;
            gap: 20px;
        }

        .flow-step {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            min-width: 150px;
            position: relative;
            border: 3px solid #e9ecef;
            transition: all 0.3s ease;
        }

        .flow-step:hover {
            transform: scale(1.05);
            border-color: #007bff;
        }

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

        .flow-arrow {
            font-size: 2rem;
            color: #007bff;
            margin: 0 10px;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
            40% { transform: translateX(10px); }
            60% { transform: translateX(5px); }
        }

        .auth-comparison {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }

        .auth-method {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }

        .auth-method::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--color);
        }

        .method-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .method-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 15px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: white;
            background: var(--color);
        }

        .method-title {
            font-size: 1.4rem;
            font-weight: bold;
            color: var(--color);
            margin-bottom: 5px;
        }

        .method-subtitle {
            color: #666;
            font-style: italic;
        }

        .auth-flow {
            margin: 20px 0;
        }

        .flow-title {
            font-weight: bold;
            margin-bottom: 15px;
            color: var(--color);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .step-diagram {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin: 10px 0;
        }

        .step {
            display: flex;
            align-items: center;
            margin: 15px 0;
            padding: 10px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .step-number {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .step-content {
            flex: 1;
        }

        .step-arrow-down {
            text-align: center;
            color: var(--color);
            font-size: 1.5rem;
            margin: 5px 0;
        }

        .security-meter {
            margin: 20px 0;
        }

        .meter-label {
            font-weight: bold;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .meter-bar {
            height: 20px;
            background: #e9ecef;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .meter-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--color), var(--color-light));
            border-radius: 10px;
            transition: width 1s ease;
            position: relative;
        }

        .meter-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .complexity-chart {
            display: flex;
            align-items: end;
            justify-content: space-around;
            height: 100px;
            margin: 20px 0;
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
        }

        .complexity-bar {
            width: 40px;
            background: var(--color);
            border-radius: 5px 5px 0 0;
            position: relative;
            transition: height 1s ease;
        }

        .complexity-label {
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.8rem;
            font-weight: bold;
        }

        .cafe-analogy {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin: 40px 0;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .cafe-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .cafe-scenario {
            text-align: center;
            padding: 20px;
            border-radius: 15px;
            background: linear-gradient(135deg, var(--bg-color), var(--bg-color-light));
            color: white;
            position: relative;
            overflow: hidden;
        }

        .cafe-scenario::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(255,255,255,0.1) 10px,
                rgba(255,255,255,0.1) 20px
            );
            animation: slide 20s linear infinite;
        }

        @keyframes slide {
            0% { transform: translateX(-50px) translateY(-50px); }
            100% { transform: translateX(50px) translateY(50px); }
        }

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

        .cafe-icon {
            font-size: 4rem;
            margin-bottom: 20px;
            display: block;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .decision-tree {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin: 40px 0;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .tree-node {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 20px;
            margin: 20px 0;
            border-left: 5px solid #007bff;
            position: relative;
        }

        .tree-question {
            font-weight: bold;
            color: #007bff;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .tree-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }

        .tree-option {
            background: white;
            padding: 15px;
            border-radius: 10px;
            border: 2px solid #e9ecef;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tree-option:hover {
            border-color: #007bff;
            transform: translateY(-5px);
        }

        .comparison-visual {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin: 40px 0;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .radar-chart {
            width: 300px;
            height: 300px;
            margin: 0 auto;
            position: relative;
        }

        /* カラーテーマ */
        .iam { --color: #DC2626; --color-light: #FFB6B6; --bg-color: #DC2626; --bg-color-light: #FF8E8E; }
        .jwt { --color: #4ECDC4; --color-light: #A8E6CF; --bg-color: #4ECDC4; --bg-color-light: #7ED7D1; }
        .apikey { --color: #45B7D1; --color-light: #87CEEB; --bg-color: #45B7D1; --bg-color-light: #6BC5DA; }
        .lambda { --color: #96CEB4; --color-light: #C8E6C9; --bg-color: #96CEB4; --bg-color-light: #A8D5B7; }

        .fade-in {
            animation: fadeIn 0.8s ease-in;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .flow-container {
                flex-direction: column;
            }
            .flow-arrow {
                transform: rotate(90deg);
            }
        }
    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }