body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

.page-content {
    width: auto !important;
}

.mainVisual {
    margin: auto;
    width: 100%;
    padding: 0px;
}

.centerImg {
    margin: auto;
    width: 90%;
}

.warning {
    padding: 10px;
    font-size: 10px;
    text-align: left;
}

.map-holder {
    width: 94%;
    max-width: 400px;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    margin-bottom: 10px;
}

#app {
    max-width: 428px;
    /* iPhone 14 Pro Max width */
    margin: auto;
    /* height: 100vh; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 10px;
}

#map {
    height: 70vh;
    /* increased from 60vh to 80vh */
    min-height: 300px;
    /* ensures the map has a reasonable size on small screens */
    width: 100%;
    border-radius: 10px;
}

#controls {
    position: absolute;
    bottom: 20px;
    left: 5px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.custom-control {
    /* background-color: #fff; */
    /* border: 1px solid #ccc; */
    padding: 2px;
    cursor: pointer;
    text-align: center;
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.custom-control img {
    max-width: 100%;
    max-height: 100%;
}


#getCurrentLocation {
    position: absolute;
    bottom: 10px;
    right: 5px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.location-control {
    padding: 5px;
    cursor: pointer;
    text-align: center;
    width: 45px;
    height: auto;
    margin-bottom: 10px;
}

.location-control img {
    max-width: 100%;
    max-height: 100%;
}



/*Location modal*/
.location-detail {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding-top: 15%;
    z-index: 100;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    margin: auto;
}

.location-detail-content {
    background-color: #fefefe;
    border: 0px solid #888;
    border-radius: 0px 0px 0px 0px;
    width: 100%;
    height: 100%;
    max-width: 430px;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    animation-name: slideIn;
    animation-duration: 0.5s;
    overflow-y: auto;
}

.slideOut {
    animation-name: slideOut;
    animation-duration: 0.5s;
}



.location-detail-text {
    padding: 20px;
}

.location-detail-content h1 {
    font-size: 2rem;
    /* margin-top: 15px; */
}

.location-detail-content p {
    margin-top: 15px;
}


.voistock-button {
    display: flex;
    align-items: center;
    /* Vertically aligns the text with the image */
    justify-content: center;
    /* Horizontally aligns the text and image */
    padding: 10px 20px;
    /* Space around the text and image inside the button */
    background-color: #e26a0d;
    /* Change this to your preferred button color */
    border: none;
    color: white;
    /* Text color */
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition-duration: 0.4s;
    /* Optional: Adds a transition effect when hovering over the button */
    cursor: pointer;
    border-radius: 40px;
    /* Rounded corners */
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    width: 80%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.voistock-button:disabled {
    background-color: gray;
}

.voistock-button img {
    height: 30px;
    /* Adjust as needed */
    width: auto;
    /* Adjust as needed */
    margin-right: 15px;
    /* Space between the image and the text */
}

.voistock-button:hover {
    background-color: #6b3309;
    /* Color of button when mouse hovers over it */
    color: white;
}


.close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 5px;
    top: 70px;
    /* background: rgba(0, 0, 0, 0.5); */
    border-radius: 50%;
    height: 32px;
    width: 32px;
    cursor: pointer;
    z-index: 101;
}

/* .close::after {
    content: '×';
    color: #fff;
    font-size: 28px;
    line-height: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    margin-bottom: 5px;
    margin-left: 1px;
}

.close:hover {
    color: #000;
    background: rgba(255, 255, 255, 0.5);
} */

.placeDetail {
    text-align: left;
}

.detailRow {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.label {
    flex: 0 0 auto;
    font-weight: bold;
    color: var(--color-green1);
}

.value {
    flex: 1 1 auto;
    text-align: left;
}

hr {
    border: 0;
    border-top: 1px solid var(--color-green1);
    margin: 10px 0;
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideOut {
    from {
        bottom: 0;
        opacity: 1
    }

    to {
        bottom: -300px;
        opacity: 0
    }
}


/* Media queries for responsiveness */
@media (max-width: 768px) {
    .location-detail-content h1 {
        font-size: 1.5rem;
    }

    .location-detail-content p {
        font-size: 14px;
    }

    .close {
        font-size: 24px;
    }
}
/* 
.backButton {
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, gray, darkgray);
    width: 80%;
    max-width: 320px;
    height: 50px;
    max-height: 50px;
    aspect-ratio: 4 / 1;
    margin-bottom: 10px;
    border: 0px #fff;
    border-radius: 25px;
    padding: 5px;
    box-sizing: border-box;
    flex-wrap: wrap;
    font-size: 18px;
}


.backButton:disabled {
    background: linear-gradient(to right, gray, darkgray);
    pointer-events: none;
    cursor: not-allowed;
    transform: none;
}


.backButton:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.backButton::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border: 2px solid #fff;
    border-radius: 23px;
    pointer-events: none;
    flex-direction: column;
} */