.popup-banner-overlay {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    animation: popupBannerFadeIn 0.3s ease-in-out;
}

.popup-banner-overlay.is-show {
    display: block;
}

.popup-banner-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    background: #333;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    z-index: 10000;
}

.popup-banner-close:hover {
    background: #555;
}

.popup-banner-overlay img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

.popup-banner-overlay a {
    display: block;
}

.popup-banner-overlay .popup-banner-pc {
    display: block !important;
}

.popup-banner-overlay .popup-banner-sp {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .popup-banner-overlay {
        bottom: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .popup-banner-overlay .popup-banner-pc {
        display: none !important;
    }

    .popup-banner-overlay .popup-banner-sp {
        display: block !important;
    }

    /* あきまちのスマホ表示のみ bottom を調整 */
    .popup-banner-overlay.popup-banner-akimachi {
        bottom: 90px;
    }
}

@keyframes popupBannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
