@-webkit-keyframes scroll-hint-appear {
    0% {
        opacity: 0;
        -webkit-transform: translateX(40px);
        transform: translateX(40px);
    }

    10% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
        -webkit-transform: translateX(-40px);
        transform: translateX(-40px);
    }
}

@keyframes scroll-hint-appear {
    0% {
        opacity: 0;
        -webkit-transform: translateX(40px);
        transform: translateX(40px);
    }

    10% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
        -webkit-transform: translateX(-40px);
        transform: translateX(-40px);
    }
}

.scroll-hint.is-right-scrollable {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0));
}

.scroll-hint.is-right-scrollable.is-left-scrollable {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0)), linear-gradient(270deg, rgba(0, 0, 0, 0.15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0));
}

.scroll-hint.is-left-scrollable {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0));
}

.scroll-hint-icon {
    width: 120px;
    height: 80px;
    padding: 20px 10px 10px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 60px);
}

.scroll-hint-icon-wrap {
    width: 100%;
    height: 100%;
    max-height: 100%;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

.scroll-hint-text {
    margin-top: 5px;
    font-size: 10px;
    color: #fff;
}

.scroll-hint-icon-wrap.is-active .scroll-hint-icon {
    opacity: 0.8;
}

.scroll-hint-icon:before {
    content: "";
    width: 40px;
    height: 40px;
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    text-align: center;
    background-image: url('/import/tenant_1/162.43.15.63/sakatabisou/images/ai02.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.scroll-hint-icon:after {
    content: "";
    width: 34px;
    height: 14px;
    display: block;
    margin-left: -20px;
    background-image: url('/import/tenant_1/162.43.15.63/sakatabisou/images/ai01.webp');
    background-repeat: no-repeat;
    opacity: 0;
    -webkit-transition-delay: 2.4s;
    transition-delay: 2.4s;
    position: absolute;
    top: 10px;
    left: 50%;
}

.scroll-hint-icon-wrap.is-active .scroll-hint-icon:after {
    opacity: 1;
}

.scroll-hint-icon-wrap.is-active .scroll-hint-icon:before {
    -webkit-animation: scroll-hint-appear 1.2s linear;
    animation: scroll-hint-appear 1.2s linear;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}

.scroll-hint-icon-white {
    background-color: #fff;
    -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
}

.scroll-hint-icon-white:before {
    background-image: url('/import/tenant_1/162.43.15.63/sakatabisou/images/ai02.webp');
}

.scroll-hint-icon-white:after {
    background-image: url('/import/tenant_1/162.43.15.63/sakatabisou/images/ai01.webp');
}

.scroll-hint-icon-white .scroll-hint-text {
    color: #000;
}
