.campaign-img-box {
    background: #fff;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .5);
    transition: transform .3s ease, box-shadow .3s ease;
    aspect-ratio: 4 / 3;
    width: 500px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.campaign-img-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.campaign-img-box:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .55);
}

.preparation-box,
.gmax-campaign-no-image {
    padding: 16px;
    color: #333;
    text-align: center;
    background: #eee;
}

.gmax-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .7);
    box-sizing: border-box;
    animation: gmaxPopupOverlayIn .2s ease-out both;
}

.gmax-popup-dialog {
    position: relative;
    width: min(100%, 540px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 28px 22px 22px;
    border-radius: 4px;
    background: #fff;
    color: #333;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .34);
    text-align: left;
    animation: gmaxPopupDialogIn .28s ease-out both;
}

.gmax-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #aaa;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.gmax-popup-close:hover,
.gmax-popup-close:focus {
    color: #333;
    outline: none;
}

.gmax-popup-badge {
    width: fit-content;
    margin: 0 auto 12px;
    padding: 6px 14px;
    border-radius: 4px;
    background: #ed0b1b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.gmax-popup-title {
    margin: 0 28px 22px;
    color: #ed0b1b;
    font-size: clamp(20px, 4.6vw, 25px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .04em;
    text-align: center;
}

.gmax-popup-title::after {
    display: none !important;
}

.gmax-popup-body {
    color: #444;
    font-size: 16px;
    line-height: 1.75;
}

.gmax-popup-body > :first-child {
    margin-top: 0;
}

.gmax-popup-body > :last-child {
    margin-bottom: 0;
}

.gmax-popup-body img {
    max-width: 100%;
    height: auto;
}

.gmax-popup-overlay.is-closing {
    opacity: 0;
    transition: opacity .16s ease;
}

@keyframes gmaxPopupOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gmaxPopupDialogIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 767px) {
    .campaign-img-box {
        width: 100%;
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .gmax-popup-overlay {
        padding: 10px;
    }

    .gmax-popup-dialog {
        max-height: calc(100vh - 20px);
        padding: 24px 16px 18px;
    }

    .gmax-popup-body {
        font-size: 14px;
    }
}
