@charset 'utf-8';

#retoolBanner {
    position: fixed;
    bottom: 10px;
    right: 24px;
    z-index: 1;
    width: 285px;
    height: 177px;
    transition: bottom .2s;
}

#retoolBanner.-hide {
    opacity: 0;
    pointer-events: none;
    transition: .2s;
}

#retoolBanner a:not(#retoolBannerCloseBtn) {
    display: block;
    width: 100%;
    height: 100%;
}

#retoolBanner a:not(#retoolBannerCloseBtn):hover {
    opacity: 1;
}

#retoolBanner img {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: opacity .3s;
}

#retoolBanner .-on {
    opacity: 0;
    transition: 0s;
}

#retoolBanner .-off {
    opacity: 1;
    transition: 0s;
}

#retoolBanner:hover .-on {
    opacity: 1;
}

#retoolBanner:hover .-off {
    opacity: 0;
}

#retoolBannerCloseBtn {
    display: block;
    line-height: 0;
    padding: 10px;
    width: 45px;
    height: 45px;
    position: absolute;
    top: 20px;
    left: 246px;
}

#retoolBannerCloseBtn img.pc-view {
    width: 25px;
    height: 25px;
}

#retoolBannerCloseBtn img.sp-view {
    width: 15px;
    height: 15px;
}


@media (max-width: 767px) {
    #retoolBanner {
        position: fixed;
        right: 0;
        width: 100%;
        height: auto;
        transform: translateY(10px);
    }

    #retoolBanner img {
        position: static;
    }

    #retoolBannerCloseBtn {
        padding: 5px 0 0 25px;
        top: 0px;
        right: 0px;
        left: unset;
    }
}