body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.app-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.map-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;
    padding: 0px 15px; /* 左右のパディングを15pxに調整 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-header h1 {
    margin: 0;
    font-size: 12px;
    color: #333;
    font-weight: 600;
    line-height: 40px; /* ヘッダーの高さに合わせて調整 */
}

.map-container {
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 0;
    right: 0;
}

.store-detail {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (max-width: 640px) {
    .store-detail {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-height: 90%;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .map-header h1 {
        font-size: 14px;
        line-height: 1.2;
        padding: 10px 0;
    }
    
    .map-container {
        top: 60px;
    }
}
.store-detail.hidden {
    display: none;
}

.store-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.store-detail-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0 4px;
}

.chain-name {
    color: #666;
    margin: 4px 0;
}

.store-detail-content p {
    margin: 8px 0;
    font-size: 14px;
}