.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 16px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-footer.is-text {
    height: 42px;
    background: #3FD8FF;
}

.sticky-footer.is-image {
    height: 58px;
    bottom: 8px;
}

.sticky-footer-image-wrap {
    position: relative;
    height: 100%;
    width: fit-content;
    max-width: 100%;
}

.sticky-footer-close {
    position: absolute;
    top: 0px;
    right: 2px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-footer-close:hover {
    background: rgba(0, 0, 0, 0.65);
}

.sticky-footer.is-image img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
}

/* タブレットサイズ */
@media (max-width: 1024px) {
    .sticky-footer.is-image {
        height: 42px;
    }
}

/* スマートフォンサイズ */
@media (max-width: 767px) {
    .sticky-footer.is-image {
        height: 40px;
    }
    /* topのボタンとかぶってしまうため、左上に×ボタンを配置 */
    .sticky-footer-close {
        right: auto;
        left: 2px;
    }
}