body {
    margin: 0;
    font-family: Arial, sans-serif;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}
.all-container {
    display: flex;
    flex: 1;
}
.left-container {
    border-right: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 50vw;
    height: 100vh;
}
.map-container {
    /* border: 10px solid #ccc; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 90%;
    height: 90%;
    position: absolute;
}
.input_pair {
    display: inline-flex; /* div内の要素を横並びに */
    align-items: center; /* 垂直方向の中央揃え */
    margin-right: 15px; /* 左右の余白 */
}

.description {
    /* position: relative; */
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}
.controls {
    margin-bottom: 10px;
}

.base_map_button_container {
    border: 2px solid #ccc;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    align-items: center;
    /* position: relative; */
 }
 

 .tab-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #ddd;
}

.tab-button {
    flex: 1;
    padding: 3px;
    border: none;
    background: #f1f1f1;
    cursor: pointer;
    transition: background 0.3s;
}

.tab-button.active {
    background: #007bff;
    color: white;
}

.tab-content-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.tab-content {
    width: 100%;
    padding: 5px;
    flex-shrink: 0;
    box-sizing: border-box;
    background: white;
    border: 1px solid #ddd;
}


.tab3_block_style {
    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;
}

.button_style_off {
    padding: 1px 10px;
    background-color: lightgray;
    color: black;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    cursor: pointer;
    margin: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

	


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