@charset "utf-8";
/* CSS Document */

/* サイドメニュー - 常に全体表示 */
.sidebar {
    width: 280px;
    background-color: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid #dee2e6;
    position: relative; /* absoluteからrelativeに変更 */
    top: 0;
    left: 0;
    height: auto;
    overflow: visible;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    flex-shrink: 0; /* サイドバーが縮小しないように */
}

.side-nav {
    padding: 30px 0 20px 0;
}

/* サイドバー内の会場案内 */
.sidebar-map {
    margin: 20px 15px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-title {
    color: #2c5aa0;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.sidebar-map-wrapper {
    position: relative;
    padding-bottom: 60%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.sidebar-map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sidebar-venue-info {
    text-align: center;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.sidebar-venue-info h5 {
    color: #2c5aa0;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
}

.sidebar-venue-info p {
    font-size: 11px;
    color: #666;
    margin-bottom: 3px;
    line-height: 1.4;
}

/* サイドバー内のスポンサーバナー - 1列配置 */
.sidebar-sponsors {
    margin: 10px 15px;
}

.sidebar-sponsors img {
    transition: opacity 0.3s ease;
	width: 90%;
}

.sidebar-sponsors img:hover {
    opacity: 0.8;
}

.sidebar-sponsor-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-sponsor-list .sponsor-item {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sidebar-sponsor-list .sponsor-item:hover {
    border-color: #2c5aa0;
    background: white;
    transform: translateY(-1px);
}

.sidebar-sponsor-list .sponsor-item img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
}

/* ナビゲーションリスト */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0 25px 25px 0;
    margin-right: 10px;
}

.nav-link:hover {
    background-color: rgba(44, 90, 160, 0.1);
    color: #2c5aa0;
    transform: translateX(5px);
}

.nav-item.active .nav-link {
    background-color: #2c5aa0;
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.nav-text-ja {
    display: block;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 2px;
}

.nav-text-en {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    font-style: italic;
}

/* レスポンシブ表示制御 */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* 1366px幅対応 */
@media (max-width: 1366px) and (min-width: 1025px) {
    .sidebar {
        width: 280px;
    }
    
    .sidebar-map,
    .sidebar-sponsors {
        margin: 20px 12px;
        padding: 12px;
    }
}

/* タブレット横向き対応 */
@media (max-width: 1024px) and (min-width: 901px) {
    .sidebar {
        width: 260px;
    }
    
    .sidebar-map,
    .sidebar-sponsors {
        margin: 18px 10px;
        padding: 10px;
    }
    
    .sidebar-title {
        font-size: 14px;
    }
    
    .nav-link {
        padding: 12px 18px;
    }
    
    .nav-text-ja {
        font-size: 13px;
    }
    
    .nav-text-en {
        font-size: 10px;
    }
}

/* タブレット縦向きでのサイドバー調整 */
@media (max-width: 900px) and (min-width: 769px) {
    .sidebar.active {
        width: 280px;
    }
}

@media (max-width: 900px) {
    .sidebar {
        position: fixed;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        background-color: rgba(248, 249, 250, 0.98);
        top: 0;
        height: 100vh;
        left: 0;
        z-index: 1002;
        overflow-y: auto;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .side-nav {
        padding: 20px 0 20px 0;
        margin-top: 20px;
    }
    
    /* モバイル時はサイドバー内コンテンツを非表示 */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
	
}

/* ハンバーガーメニューボタン（モバイル用） */
.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 99999;
    background: rgba(44, 90, 160, 0.9);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background: rgba(30, 63, 115, 0.9);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        top: 50px;
        left: 20px;
        font-size: 14px;
        width: 36px;
        height: 36px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        top: 50px;
        left: 15px;
        font-size: 12px;
        width: 32px;
        height: 32px;
        padding: 6px;
    }
}
