/* Global Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #051e3e;
            color: #ffffff;
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
        }
        
        /* コンテナ全体の中央寄せ */
        html {
            width: 100%;
            overflow-x: hidden;
        }
        
        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background-color: #0a1128;
            position: sticky;
            top: 0;
            z-index: 100;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #fff;
            display: flex;
            align-items: center;
        }
        
        .logo-accent {
            color: #00c2ff;
            margin-left: 3px;
        }
        
        .time-remaining {
            display: flex;
            align-items: center;
            font-size: 18px;
        }
        
        .time-remaining svg {
            margin-right: 8px;
        }
        
        .menu-btn {
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
        }
        
        /* Hero Banner */
        .hero {
            position: relative;
            height: 350px;
            overflow: hidden;
        }
        
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.25));
        }
        
        .hero-content {
            position: relative;
            z-index: 10;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 20px;
        }
        
        /* H1 and H2 Styles - Override external styles */
        h1, .section-header h1 {
            font-size: 32px !important;
            color: #fff !important;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
            letter-spacing: 1px !important;
            margin-bottom: 20px !important;
            text-transform: none !important;
        }
        
        h2, .section-header h2, .section-title {
            font-size: 24px !important;
            color: #fff !important;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
            letter-spacing: 0.5px !important;
            margin-bottom: 15px !important;
            text-transform: none !important;
            position: relative !important;
            display: inline-block !important;
        }
        
        /* Remove pseudo-elements */
        .section-header h2::before,
        .section-header h2::after {
            display: none !important;
        }

        .hero-title {
            font-size: 32px;
            margin-bottom: 20px;
            text-shadow: 0 0 10px rgba(0,0,0,0.5);
        }
        
        .time-display {
            font-size: 18px;
            margin-bottom: 30px;
        }
        
        .primary-btn {
            background-color: #00a8ff;
            color: #fff;
            border: none;
            padding: 12px 24px;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .primary-btn svg {
            margin-left: 10px;
        }
        
        .primary-btn:hover {
            background-color: #0088cc;
            transform: translateY(-2px);
        }
        
        /* Section Styles */
        .section {
            padding: 30px 20px;
        }
        
        .section-dark {
            background-color: #051e3e;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .section-title {
            font-size: 24px;
            color: #fff;
        }
        
        .view-all {
            display: flex;
            align-items: center;
            color: #fff;
            text-decoration: none;
            font-size: 16px;
        }
        
        .view-all svg {
            margin-left: 5px;
        }
        
        /* Content Grid Container */
        .content-grid-container {
            position: relative;
            width: 100%;
        }
        
        /* Content Cards */
        .content-grid {
            display: flex;
            overflow-x: auto;
            gap: 15px;
            padding-bottom: 10px;
            scrollbar-width: none; /* Firefox */
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
        }
        
        /* Hide scrollbar for all browsers */
        .content-grid::-webkit-scrollbar {
            display: none;
        }
        
        .content-card {
            min-width: 200px;
            border-radius: 10px;
            overflow: hidden;
            background-color: #0a1128;
            transition: transform 0.3s ease;
        }
        
        .content-card:hover {
            transform: translateY(-5px);
        }
        
        .card-image {
            height: 150px;
            width: 100%;
            background-size: cover;
            background-position: center;
        }
        
        .card-content {
            padding: 15px;
        }
        
        .card-title {
            font-size: 18px;
            margin-bottom: 10px;
        }
        
        /* Special Sections */
        .flight-map-container {
            margin: 20px 0;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }
        
        .flight-map {
            width: 100%;
            height: 250px;
            background-color: #0a1128;
        }
        
        .map-details {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 20px;
        }
        
        .map-title {
            font-size: 18px;
            margin-bottom: 5px;
        }
        
        .map-subtitle {
            font-size: 14px;
            color: #ccc;
        }
        
        /* Video Section */
        .video-thumbnail {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 20px;
        }
        
        .video-thumbnail img {
            width: 100%;
            height: auto;
        }
        
        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background-color: rgba(0,0,0,0.6);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* Navigation Bar */
        .navbar {
            display: flex;
            justify-content: space-around;
            background-color: #0a1128;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 10px 0;
            border-top: 1px solid #1a3060;
            z-index: 1000;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #aaa;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 12px;
            transition: color 0.3s ease;
            padding: 8px 16px;
        }
        
        .nav-item:hover {
            color: #00a8ff;
        }
        
        .nav-item.active {
            color: #00a8ff;
        }
        
        .nav-icon {
            font-size: 20px;
            margin-bottom: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .nav-text {
            color: inherit;
            margin-top: 4px;
        }
        
        /* Data visualization */
        .stats-container {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        
        .stat-card {
            background-color: rgba(10, 17, 40, 0.8);
            border-radius: 10px;
            padding: 15px;
            width: 48%;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .stat-value {
            font-size: 24px;
            color: #00a8ff;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 14px;
            color: #aaa;
        }

        /* 洗練されたプログレスバー用のスタイル */
        .enhanced-flight-map-container {
            background: rgba(15, 23, 42, 0.8);
            border-radius: 15px;
            padding: 20px;
            margin: 20px 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            width: 100%;
            box-sizing: border-box;
        }

        .flight-header-enhanced {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding: 15px;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
            border-radius: 12px;
            border: 1px solid rgba(59, 130, 246, 0.2);
        }

        .route-info-enhanced {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .airport-code-enhanced {
            font-size: 20px;
            font-weight: 700;
            color: #60a5fa;
        }

        .arrow-enhanced {
            color: #94a3b8;
            font-size: 18px;
            transform: rotate(45deg);
        }

        .flight-number-enhanced {
            font-size: 14px;
            color: #cbd5e1;
            background: rgba(59, 130, 246, 0.2);
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 600;
        }

        .flight-stats-enhanced {
            text-align: right;
            font-size: 13px;
            color: #e2e8f0;
        }

        .flight-stats-enhanced div {
            margin-bottom: 4px;
        }

        .progress-section-enhanced {
            margin: 25px 0;
        }

        .progress-labels-enhanced {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-size: 13px;
            color: #94a3b8;
            font-weight: 500;
        }

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

        .progress-track-enhanced {
            height: 10px;
            background: linear-gradient(90deg, rgba(71, 85, 105, 0.3), rgba(51, 65, 85, 0.5));
            border-radius: 6px;
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .progress-fill-enhanced {
            height: 100%;
            background: linear-gradient(90deg, #3b82f6, #60a5fa);
            border-radius: 6px;
            width: 54%;
            position: relative;
            box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
        }

        .aircraft-position-enhanced {
            position: absolute;
            top: 50%;
            left: 54%;
            transform: translate(-50%, -50%);
            width: 24px;
            height: 24px;
            background: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 35px rgba(59, 130, 246, 0.4);
            z-index: 10;
        }

        .aircraft-icon-enhanced {
            font-size: 12px;
            color: #1e40af;
            font-weight: bold;
        }

        /* 進捗パーセンテージ表示 */
        .progress-percentage {
            position: absolute;
            top: -30px;
            left: 54%;
            transform: translateX(-50%);
            background: rgba(59, 130, 246, 0.9);
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
            white-space: nowrap;
        }

        .progress-percentage::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 4px solid rgba(59, 130, 246, 0.9);
        }

        .airport-markers-enhanced {
            display: flex;
            justify-content: space-between;
            margin-top: 25px;
            position: relative;
        }

        .airport-marker-enhanced {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            position: relative;
        }

        /* 空港マーカーを丸に戻し、ベースカラーに合わせて調整 */
        .marker-dot-enhanced {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 2px solid;
        }

        .marker-dot-enhanced.departure {
            background: #ffffff;
            border-color: #60a5fa;
            box-shadow: 0 0 12px rgba(96, 165, 250, 0.5);
        }

        .marker-dot-enhanced.arrival {
            background: #60a5fa;
            border-color: #ffffff;
            box-shadow: 0 0 12px rgba(96, 165, 250, 0.5);
        }

        .marker-label-enhanced {
            font-size: 12px;
            font-weight: 700;
            color: #e2e8f0;
        }

        /* モバイル専用の調整 */
        @media (max-width : 1226px ){
            .enhanced-flight-map-container {
                padding: 15px;
                margin: 15px 0;
                border-radius: 12px;
            }

            .flight-header-enhanced {
                flex-direction: column;
                gap: 15px;
                padding: 12px;
                margin-bottom: 20px;
            }

            .route-info-enhanced {
                gap: 10px;
                justify-content: center;
            }

            .airport-code-enhanced {
                font-size: 18px;
            }

            .arrow-enhanced {
                font-size: 16px;
            }

            .flight-number-enhanced {
                font-size: 12px;
                padding: 3px 10px;
            }

            .flight-stats-enhanced {
                font-size: 12px;
                text-align: center;
                display: flex;
                justify-content: space-around;
                gap: 10px;
            }

            .progress-track-enhanced {
                height: 8px;
            }

            .aircraft-position-enhanced {
                width: 20px;
                height: 20px;
            }

            .aircraft-icon-enhanced {
                font-size: 10px;
            }

            .progress-labels-enhanced {
                font-size: 12px;
            }

            .marker-label-enhanced {
                font-size: 11px;
            }

            .progress-percentage {
                font-size: 10px;
                padding: 3px 6px;
                top: -25px;
            }
        }

        /* コンテンツの最大幅を制限 */
        main {
            margin-top: 0; /* ヘッダー分の余白を削除（bodyで調整済み） */
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
        }

        /* デスクトップ向けのスタイル */
        @media (min-width: 1024px) {
            .content-grid {
                overflow-x: auto;
                scrollbar-width: none; /* Firefox */
            }
            
            .content-grid::-webkit-scrollbar {
                display: none;
            }
            
            /* ナビゲーションバーを非表示に */
            .navbar {
                display: flex; /* 表示を強制 */
            }
        }

        /* モバイル向けの矢印非表示 */
        @media (max-width: 1024px) {
            .scroll-arrow {
                display: none;
            }
            
            .navbar {
                position: fixed;
                bottom: 0;
                left: 0;
                width: 100%;
                max-width: 100%;
            }
            
            .nav-item {
                font-size: 12px;
                padding: 8px 4px;
                min-width: 0;
            }
            
            /* モバイル用ヒーロー背景を明るく */
            .hero-overlay {
                background: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.15));
            }
            
            .hero-title {
                font-size: 28px;
                text-shadow: 0 0 8px rgba(0,0,0,0.3);
            }
            
            .time-display {
                text-shadow: 0 0 6px rgba(0,0,0,0.3);
            }
            
            /* モバイル用全体レイアウト調整 */
            body {
                width: 100%;
                max-width: 100vw;
                margin: 0;
                padding: 0;
            }
            
            .section {
                padding: 30px 15px;
                margin: 0;
                width: 100%;
                box-sizing: border-box;
            }
            
            .enhanced-flight-map-container {
                margin: 15px 0;
                width: 100%;
                box-sizing: border-box;
            }
        }
        
        /* さらに小さな画面向けの調整 */
        @media (max-width: 480px) {
            .hero {
                height: 300px;
                width: 100%;
            }
            
            .hero-overlay {
                background: linear-gradient(rgba(255,255,255,0.05), rgba(0,0,0,0.1));
            }
            
            .hero-title {
                font-size: 24px;
                text-shadow: 0 0 6px rgba(0,0,0,0.4);
            }
            
            .header {
                padding: 15px 15px;
            }
            
            .section {
                padding: 20px 10px;
            }
            
            .enhanced-flight-map-container {
                padding: 12px;
                margin: 10px 0;
            }
        }

        /* スクロール矢印 */
        .scroll-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(0, 168, 255, 0.2);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            backdrop-filter: blur(4px);
            transition: all 0.3s ease;
            z-index: 10;
            opacity: 0; /* 初期状態では非表示 */
        }

        .scroll-arrow:hover {
            background: rgba(0, 168, 255, 0.4);
        }

        .scroll-left {
            left: -20px;
        }

        .scroll-right {
            right: -20px;
        }

        /* Footer */
        footer {
            width: 100%;
            position: relative;
            padding-bottom: 70px; /* ナビゲーションバーの高さ分の余白 */
        }

        /* Copyright Section */
        .copyright {
            background-color: #051e3e;
            padding: 20px;
            text-align: center;
            font-size: 12px;
            color: #aaa;
            margin-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            width: 100%;
        }

        .copyright p {
            margin: 5px 0;
        }
