@charset "utf-8";

.scrollToTop {
  color: #fff;
  position: fixed;
  bottom: 6%;
  right: 3%;
  background: #0099ff;
  border: 2px solid #fff;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  padding-top: 8px;
  transition: .3s;
  z-index: 999;
}

.scrollToTop:not(.is-scroll) {
  opacity: 0;
  transform: translate3d(0, 100%, 0)
}

.scrollToTop:hover {
  /* opacity: .6; */
}

.scrollToTop>span::before,
.scrollToTop>span::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  left: 0;
  margin: 0 auto;
}

.scrollToTop>span::before {
  border-top: 1px solid;
  width: 20px;
  height: 20px;
  top: 10px;
}

.scrollToTop>span::after {
  top: 15px;
  width: 15px;
  height: 15px;
  border-top: 1px solid;
  border-left: 1px solid;
  transform: rotate(45deg);
}


@media screen and (max-width: 767px){
  .scrollToTop {
    width:18vw;
    height:18vw;
    font-size: 3vw;
    bottom: 7%;
    right: 2%;
  }
  .scrollToTop>span::before {
    border-top: 1px solid;
    width: 6vw;
    height: 6vw;
    top: 2vw;
  }

  .scrollToTop>span::after {
    top: 4vw;
    width: 4vw;
    height: 4vw;
    border-top: 1px solid;
    border-left: 1px solid;
    transform: rotate(45deg);
  }
}