@charset "UTF-8";

#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 60px;
  height: 60px;
  border: solid 1px #434242;
  border-radius: 100%;
  transition: all 0.3s;
  position: relative;
}

#page-top a:hover {
  background-color: #434242;
  border: solid 1px #434242;
}

#page-top a::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  border-top: solid 1.5px #434242;
  border-right: solid 1.5px #434242;
  transform: rotate(-45deg);
}

#page-top a:hover::after {
  border-top: solid 1.5px #fff;
  border-right: solid 1.5px #fff;
}

#page-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  background: #fff;
  border-radius: 100%;
  z-index: 9999;
  opacity: 0;
  transform: translateX(100px);
}

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

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

#page-top.RightMove {
  animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}


@media screen and (max-width: 768px) {
  #page-top a {
    width: 45px;
    height: 45px;
  }

  #page-top a::after {
    width: 7px;
    height: 7px;
  }

  #page-top a:hover {
    background-color: #fff;
    border: solid 1px #434242;
  }

  #page-top a:hover::after {
  border-top: solid 1.5px #434242;
  border-right: solid 1.5px #434242;
  }
}