@charset "UTF-8";
/*リンクの形状*/
.neruneko2 {
    width: 85%;
    padding-top: 19%;
    padding-bottom: 2%;
}
#page-top a {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;

    border-radius: 35px;
    width: 70px;
    height: 70px;
    color: #0b276e;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.2rem;
    padding-top: 3%;
    transition: all 0.3s;
}

#page-top a:hover {
    background: rgba(212, 212, 212, 0.8);
}

/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 80px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove {
    animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 0.8;
        transform: translateX(0);
    }
}

/*　右の動き　*/

#page-top.RightMove {
    animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime {
    from {
        opacity: 0.8;
        transform: translateX(0);
    }
    to {
        opacity: 0.8;
        transform: translateX(100px);
    }
}
