.cp-10up {
    & .cp-10up-block {
        cursor: pointer;
    }

    & .cp-10up-block:hover {
        opacity: 0.6;
    }

    & .cp-10up-block img {
        width: 100%;
        height: auto;
    }

    & .cp-10up-annotation {
        position: relative;
        font-size: 4.4cqw;
        font-weight: 600;
        justify-content: center;
        align-items: center;

        display: flex;
        gap: 2cqw;
    }

    & .cp-10up-annotation img {
        width: 4%;
        height: auto;
        margin-top: 0.4%;
    }
}

/* オーバーレイ */
.cp-10up-popup.common-style-area {
    max-width: unset;
}

.cp-10up-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 9999;
}

.cp-10up-popup.show {
    opacity: 1;
    pointer-events: auto;
}

.cp-10up-popup.show img {
    opacity: 1;
    transform: scale(1);
}

.cp-10up-popup {
    & .cp-10up-popup-inner {
        width: 44%;
        background: #fff;
        padding: 2cqw;
        border-radius: 2cqw;
        position: relative;
    }

    & .close-btn {
        position: absolute;
        top: -6%;
        right: -3.8%;
        font-size: 2cqw;
        color: #00000099;
        cursor: pointer;
        z-index: 10000;
        background: #fff;
        border-radius: 50%;
        width: 4cqw;
        height: 4cqw;
        text-align: center;
        border: solid 1px #00000099;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 0.2cqw;
    }

    & .cp-10up-popup-inner img {
        width: 100%;
        height: auto;
        margin-bottom: 1cqw;
    }

    & .cp-10up-popup-inner .cp-10up-popup-annotation {
        font-size: 1cqw;
        font-weight: 600;
    }
}

@media (max-width: 767px) {
    .cp-10up-popup {
        & .cp-10up-popup-inner {
            width: 90%;
            padding: 4cqw;
        }

        & .cp-10up-popup-inner .cp-10up-popup-annotation {
            font-size: 3cqw;
        }

        & .close-btn {
            width: 8cqw;
            height: 8cqw;
            font-size: 5cqw;
        }
    }
}
