@charset "utf-8";

:root {
  /* スクロールバー */
  --scrollbar-arrow-color: #555555;
  --scrollbar-stick-color: #000000;
}

/*///////// スクロールを促すbarの設定 ////////*/
.scrollbar {
  margin-top: 15vh;
  text-align: center;
}

.scrollbar {
  padding-bottom: 10vh;
}

.scrollbar span {
  position: relative;
  font-size: 16px;
}

/******矢印の設定 */
.scrollbar span::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-top: 10px solid var(--scrollbar-arrow-color);
  border-bottom: 0;
  position: absolute;
  bottom: -20px;
  /* 丸を水平方向中心に */
  left: 50%;
  transform: translateX(-50%);
  /* アニメーションの設定 下に行くと徐々に透過するが永遠に続く*/
  animation: marumove 2s ease-out infinite, marutrans 2s ease-in infinite;
}

@keyframes marumove {
  0% {
    bottom: -20px;
  }

  100% {
    bottom: -50px;
  }
}

@keyframes marutrans {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/****** 棒の設定 */
.scrollbar span::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background-color: var(--scrollbar-stick-color);
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
}

/*////// ここまでスクロールを促すbarの設定 //////*/
