/* モバイルマップ表示修正用CSS */

@media (max-width: 768px) {
    /* 確実にマップを表示（mobile-layout.cssで上書きされる） */
    .map-wrapper {
        width: 100vw !important;
        height: 50vh !important;
        min-height: 50vh !important;
        position: relative !important;
        display: block !important;
        background: #e0e0e0 !important;
    }

    #map {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    /* Leafletコンテナも確実に表示 */
    .leaflet-container {
        width: 100% !important;
        height: 100% !important;
    }

    /* main-contentの調整 */
    .main-content {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
    }

    /* サイドバーとマップの順序 */
    .sidebar {
        order: 2 !important;
    }

    .map-wrapper {
        order: 1 !important;
    }
}
