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

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

        body {
            font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Yu Gothic', '游ゴシック', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
            line-height: 1.6;
        
            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: 2.5rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .section {
            background: white;
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .section-title {
            font-size: 1.8rem;
            margin-bottom: 25px;
            color: #333;
            border-bottom: 3px solid #667eea;
            padding-bottom: 10px;
        }

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

        .hotel-analogy {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .analogy-item {
            background: rgba(255,255,255,0.9);
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .analogy-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

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

        .hotel-scene {
            background: linear-gradient(145deg, #e3f2fd, #bbdefb);
            border-radius: 15px;
            padding: 25px;
            margin: 25px 0;
            position: relative;
            overflow: hidden;
        }

        .hotel-building {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 30px;
            align-items: center;
            margin-bottom: 30px;
        }

        .guest {
            background: white;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            border: 3px solid #2196f3;
            position: relative;
        }

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

        .guest-title {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .keycard {
            background: linear-gradient(45deg, #2E7D32, #8bc34a);
            color: white;
            border-radius: 8px;
            padding: 8px 12px;
            margin: 5px;
            display: inline-block;
            font-size: 0.8rem;
            animation: cardGlow 3s ease-in-out infinite;
        }

        @keyframes cardGlow {
            0%, 100% { box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); }
            50% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.8); }
        }

        .concierge {
            background: white;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            border: 3px solid #D97706;
            position: relative;
        }

        .concierge-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .hotel-db {
            background: white;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            border: 3px solid #9c27b0;
        }

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

        .api-flow {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
            align-items: center;
            margin: 25px 0;
            background: rgba(255,255,255,0.7);
            border-radius: 15px;
            padding: 20px;
        }

        .flow-step {
            background: white;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            position: relative;
            transition: all 0.3s ease;
            border: 2px solid #e0e0e0;
        }

        .flow-step:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            border-color: #667eea;
        }

        .flow-step::after {
            content: '→';
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            color: #667eea;
            font-weight: bold;
        }

        .flow-step:last-child::after {
            display: none;
        }

        .step-number {
            background: #667eea;
            color: white;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin: 0 auto 10px;
            font-size: 0.9rem;
        }

        .step-icon {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .step-title {
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 0.9rem;
        }

        .step-desc {
            font-size: 0.8rem;
            color: #666;
        }

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

        .comparison-card {
            background: linear-gradient(145deg, #f8f9fa, #e9ecef);
            border-radius: 15px;
            padding: 25px;
            border-left: 5px solid #667eea;
            transition: all 0.3s ease;
        }

        .comparison-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .comparison-card.traditional {
            border-left-color: #CA8A04;
            background: linear-gradient(145deg, #fff8e1, #ffecb3);
        }

        .comparison-card.dataapi {
            border-left-color: #28a745;
            background: linear-gradient(145deg, #f1f8e9, #dcedc8);
        }

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

        .card-icon {
            font-size: 2.5rem;
            margin-right: 15px;
        }

        .card-title {
            font-size: 1.4rem;
            font-weight: bold;
        }

        .features-list {
            list-style: none;
            padding: 0;
        }

        .features-list li {
            margin: 10px 0;
            padding: 8px 12px;
            background: rgba(255,255,255,0.7);
            border-radius: 8px;
            position: relative;
            padding-left: 40px;
        }

        .features-list li::before {
            content: '✓';
            position: absolute;
            left: 12px;
            color: #28a745;
            font-weight: bold;
        }

        .features-list.cons li::before {
            content: '✗';
            color: #dc3545;
        }

        .security-features {
            background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
            border: 2px solid #28a745;
            border-radius: 15px;
            padding: 25px;
            margin: 25px 0;
        }

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

        .security-item {
            background: white;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            border: 2px solid #2E7D32;
        }

        .security-icon {
            font-size: 2.5rem;
            color: #2E7D32;
            margin-bottom: 15px;
        }

        .security-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: #2e7d32;
        }

        .rotation-timeline {
            background: linear-gradient(135deg, #fff3e0, #ffe0b2);
            border-radius: 15px;
            padding: 25px;
            margin: 25px 0;
        }

        .timeline-container {
            position: relative;
            margin: 20px 0;
        }

        .timeline-line {
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, #D97706, #f57c00);
        }

        .timeline-item {
            display: flex;
            align-items: center;
            margin: 20px 0;
            position: relative;
        }

        .timeline-dot {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #D97706;
            border: 3px solid white;
            box-shadow: 0 0 0 3px #D97706;
            z-index: 2;
            margin-right: 20px;
        }

        .timeline-content {
            background: white;
            border-radius: 10px;
            padding: 15px;
            flex: 1;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .timeline-time {
            font-weight: bold;
            color: #D97706;
            margin-bottom: 5px;
        }

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

        .use-case {
            background: linear-gradient(145deg, #e1f5fe, #b3e5fc);
            border-radius: 15px;
            padding: 25px;
            border-left: 5px solid #0288d1;
            transition: all 0.3s ease;
        }

        .use-case:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .use-case-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .use-case-icon {
            font-size: 2rem;
            margin-right: 15px;
            color: #0288d1;
        }

        .use-case-title {
            font-size: 1.2rem;
            font-weight: bold;
            color: #01579b;
        }

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

        .code-header {
            background: #1a202c;
            color: #a0aec0;
            padding: 10px 15px;
            margin: -20px -20px 15px -20px;
            border-radius: 10px 10px 0 0;
            font-size: 0.9rem;
        }

        .code-line {
            margin: 5px 0;
            position: relative;
        }

        .code-comment {
            color: #68d391;
        }

        .code-string {
            color: #fbb6ce;
        }

        .code-keyword {
            color: #90cdf4;
        }

        .benefits-comparison {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 15px;
            padding: 25px;
            margin: 25px 0;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .benefit-item {
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .benefit-icon {
            font-size: 2rem;
            margin-bottom: 15px;
        }

        .benefit-title {
            font-weight: bold;
            margin-bottom: 10px;
        }

        .cost-calculator {
            background: linear-gradient(145deg, #f3e5f5, #e1bee7);
            border-radius: 15px;
            padding: 25px;
            margin: 25px 0;
        }

        .calculator-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .input-group {
            background: white;
            border-radius: 10px;
            padding: 15px;
        }

        .input-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #333;
        }

        .input-group input, .input-group select {
            width: 100%;
            padding: 8px;
            border: 1px solid #A0A0A0;
            border-radius: 5px;
            font-size: 1rem;
        }

        .calculate-btn {
            background: #9c27b0;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 15px;
        }

        .calculate-btn:hover {
            background: #7b1fa2;
            transform: translateY(-2px);
        }

        .cost-result {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
            text-align: center;
            border: 2px solid #9c27b0;
        }

        .interactive-demo {
            background: linear-gradient(145deg, #f1f8e9, #dcedc8);
            border-radius: 15px;
            padding: 25px;
            margin: 25px 0;
            text-align: center;
        }

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

        .demo-btn {
            background: #2E7D32;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .demo-btn:hover {
            background: #45a049;
            transform: translateY(-2px);
        }

        .demo-btn.secondary {
            background: #2196f3;
        }

        .demo-btn.secondary:hover {
            background: #1976d2;
        }

        .demo-result {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
            min-height: 100px;
            border: 2px solid #2E7D32;
            text-align: left;
        }

        .auth-flow-visual {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 25px 0;
            align-items: center;
        }

        .auth-step {
            background: white;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            border: 3px solid #e0e0e0;
            position: relative;
            transition: all 0.3s ease;
        }

        .auth-step:hover {
            border-color: #667eea;
            transform: scale(1.05);
        }

        .auth-step::after {
            content: '→';
            position: absolute;
            right: -25px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 2rem;
            color: #667eea;
            font-weight: bold;
        }

        .auth-step:last-child::after {
            display: none;
        }

        .alert {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 10px;
            padding: 15px;
            margin: 15px 0;
            border-left: 5px solid #CA8A04;
        }

        .alert-icon {
            color: #856404;
            margin-right: 10px;
        }

        .alert.success {
            background: #d4edda;
            border-color: #c3e6cb;
            border-left-color: #28a745;
        }

        .alert.success .alert-icon {
            color: #155724;
        }

        .alert.info {
            background: #d1ecf1;
            border-color: #bee5eb;
            border-left-color: #17a2b8;
        }

        .alert.info .alert-icon {
            color: #0c5460;
        }

        @media (max-width: 768px) {
            .hotel-building {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .api-flow {
                grid-template-columns: 1fr;
            }
            
            .flow-step::after {
                content: '↓';
                right: 50%;
                top: 100%;
                transform: translateX(50%);
            }
            
            .comparison-grid {
                grid-template-columns: 1fr;
            }
            
            .auth-flow-visual {
                grid-template-columns: 1fr;
            }
            
            .auth-step::after {
                content: '↓';
                right: 50%;
                top: 100%;
                transform: translateX(50%);
            }
            
            .header h1 {
                font-size: 2rem;
            }
        }

        .highlight {
            background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: bold;
        }

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

        .metric-item {
            background: white;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            border: 2px solid #e0e0e0;
        }

        .metric-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: #667eea;
            display: block;
        }

        .metric-label {
            font-size: 0.9rem;
            color: #666;
            margin-top: 5px;
        }
    
        

    
        
        

        

        

        

        

        

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

    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }