.top-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 300px;
  background-color: #47C8B7;
  z-index: 100;
}

.top-button-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
  height: 100%;
  gap: 24px;
}

.top-button-bg-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 273px;
  height: 189px;
  gap: 7px;
  background-image: url(../../images/topPage/go_top_button.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  z-index: 10;
  transition: transform 0.3s ease;
  cursor: pointer;
  color: #048282;
}

.top-button-bg-image span {
  font-family: var(--primary-font);
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #048282;
}

.top-button-arrow-icon {
  width: 19px;
  height: 22px;
  background-image: url(../../images/topPage/go_top_arrow.svg);
  background-repeat: no-repeat;
  background-size: 100%;
}

.top-button-bg-image:hover {
  animation: wobble 0.4s ease forwards;
  text-decoration: underline;
}

@keyframes wobble {
  0% {
    transform: scale(1.05) rotate(0deg);
  }

  25% {
    transform: scale(1.05) rotate(5deg);
  }

  50% {
    transform: scale(1.05) rotate(0deg);
  }

  75% {
    transform: scale(1.05) rotate(-5deg);
  }

  100% {
    transform: scale(1.05) rotate(0deg);
  }
}

.sasutena-school-link-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 7px;

  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 1.375em;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.sasutena-school-link-button:hover {
  text-decoration: underline;
}

.transition-button-arrow-icon {
  width: 24px;
  height: 24px;
  background-image: url(../../images/quizPage/arrow_right_icon_white.svg);
  background-repeat: no-repeat;
  background-size: 100%;
}

