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

* {
            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%);
            min-height: 100vh;
            color: #333;
        
            padding-top: 80px; /* 固定ヘッダー分のスペース確保 */
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .header {
            text-align: center;
            color: white;
            margin-bottom: 40px;
            animation: fadeInDown 1s ease-out;
        }
        
        .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;
        }
        
        .intro-section {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            animation: fadeInUp 1s ease-out 0.3s both;
        }
        
        .building-container {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .building {
            width: 200px;
            height: 250px;
            background: linear-gradient(to bottom, #4a90e2, #357abd);
            border-radius: 10px 10px 0 0;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            animation: pulse 3s ease-in-out infinite;
        }
        
        .building::before {
            content: '🏢';
            font-size: 60px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .arrow {
            font-size: 30px;
            color: #DC2626;
            animation: bounce 2s infinite;
        }
        
        .shield {
            width: 100px;
            height: 120px;
            background: linear-gradient(45deg, #ff9a9e, #fecfef);
            border-radius: 50px 50px 0 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            animation: glow 2s ease-in-out infinite alternate;
        }
        
        .modes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .mode-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .mode-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--accent-color);
        }
        
        .mode-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }
        
        .count-mode { --accent-color: #3498db; }
        .block-mode { --accent-color: #e74c3c; }
        .allow-mode { --accent-color: #15803D; }
        .captcha-mode { --accent-color: #CA8A04; }
        .challenge-mode { --accent-color: #9b59b6; }
        
        .mode-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .mode-icon {
            font-size: 2.5rem;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent-color);
            color: white;
            animation: rotateIn 1s ease-out;
        }
        
        .mode-title {
            font-size: 1.4rem;
            font-weight: bold;
            color: var(--accent-color);
        }
        
        .mode-subtitle {
            font-size: 0.9rem;
            color: #666;
            margin-top: 2px;
        }
        
        .analogy {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 15px;
            margin: 15px 0;
            border-left: 4px solid var(--accent-color);
        }
        
        .analogy-title {
            font-weight: bold;
            color: var(--accent-color);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .use-case {
            background: #e8f5e8;
            border-radius: 8px;
            padding: 12px;
            margin-top: 15px;
            border-left: 3px solid #15803D;
        }
        
        .use-case-title {
            font-weight: bold;
            color: #15803D;
            margin-bottom: 5px;
        }
        
        .diagram {
            text-align: center;
            margin: 20px 0;
            font-size: 1.5rem;
            animation: slideInRight 1s ease-out;
        }
        
        .flow-arrow {
            display: inline-block;
            margin: 0 10px;
            animation: pulse 2s infinite;
        }
        
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes slideInRight {
            from { opacity: 0; transform: translateX(30px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes glow {
            from { box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
            to { box-shadow: 0 5px 25px rgba(255,107,107,0.4); }
        }
        
        @keyframes rotateIn {
            from { transform: rotate(-180deg) scale(0); opacity: 0; }
            to { transform: rotate(0deg) scale(1); opacity: 1; }
        }
        
        .summary-section {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 30px;
            margin-top: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            animation: fadeInUp 1s ease-out 1s both;
        }
        
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .comparison-table th {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 15px;
            text-align: left;
            font-weight: bold;
        }
        
        .comparison-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
            background: white;
        }
        
        .comparison-table tr:hover td {
            background: #f8f9fa;
        }
        
        @media (max-width: 768px) {
            .header h1 { font-size: 2rem; }
            .building-container { flex-direction: column; }
            .modes-grid { grid-template-columns: 1fr; }
            .comparison-table { font-size: 0.9rem; }
        }
    
        

    
        
        

        

        

        

        

        

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

    
        
        

        

        

        

        

        

        

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

        

        

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

        

        

        

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

            

            

            

            
        }