.scroll-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    margin-top: 64px;
}

.scroll-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.scroll-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.scroll-popup-close:hover {
    color: #333;
}

.popup-button {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
}

.popup-button:hover {
    background-color: #005a87;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .scroll-popup-content {
        padding: 20px;
        width: 95%;
    }
}

.popup-balloon-container {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
}

.popup-balloon-content {
    position: relative;
    width: 100%;
    max-width: 1351px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.popup-balloon {
    width: 320px;
    margin-right: 220px;
}
