body {
    margin: 0;
    font-family: Arial, sans-serif;
    /* height: 100vh; */
    width: 100vw;
}

.up-container{
    width: 100vw;
    height: 70vh;
    display: flex;
}
.left-container{
    width: 70%;
    height: 100%;
    min-width: 0; 
    display: flex;
    justify-content: center;
    align-items:center;
}
.right-container{
    display: flex;
    flex-direction: column;
    width:30%;
    height: 100%;
}
.bottom-container{
    /* height:70vh; */
    padding: 0px 0px 10px 20px;
    box-sizing: content-box;
}
/* #map-container {
    display: flex;
    width: auto;
    height: auto;
} */

.input_pair {
    display: inline-flex; /* div内の要素を横並びに */
    align-items: center; /* 垂直方向の中央揃え */
    margin-right: 15px; /* 左右の余白 */
}


.border {
    border: 2px solid #ccc;
}

.pop_up_window {
    display:none;
    position:absolute;
    background:white;
    border:1px solid #ccc;
    padding:10px;
    z-index:20;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width: 30vw;
    /* height: 30px; */
    max-height: 80vh;
    overflow: auto;
    box-sizing: border-box;
}
.close_button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.close_button:hover {
    color: #000;
}

#loading {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

#loading::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin: 5px auto;
    border: 3px solid #3498db;
    border-radius: 50%;
    border-top: 3px solid transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* リーフレットクレジットの非表示 */
/* .leaflet-control-attribution { display: none !important; } */
.leaflet-control-attribution { display: block; }
/* コントロールの非表示 */
/* .leaflet-control-layers { display: none !important; }
.leaflet-control-zoom { display: none !important; }
.leaflet-control-scale { display: none !important; } */


@media (max-width: 768px) {
    .all-container {
        flex-direction: column;
    }
    .left-container {
        height: 50vh;
        width: 100vw;
        border-right: none;
        border-bottom: 1px solid #ccc;
    }
}
