#backToTop {
  display: none; /* JSで切り替え */
  position: fixed;
  right: 4px;
  bottom: 0px;
  background-color: var(--congress-blue);
  border-radius: 100px 100px 0 0;
  padding: 12px 20px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgb(255, 255, 255);
  z-index: 9999;
  cursor: pointer;
}

#backToTop span {
  font-size: 14px;
  color: #ffffff;
}

/* 表示されたときにだけフェードイン */
#backToTop[style*="block"] {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
