:root {
  --font-sans: "noto-sans-jp", "sans-serif";

  --color-foreground: #3f4a49;
  --color-background: #f7f8f8;
  --color-primary: #f7f8f8;
  --color-secondary: #959d9d;
  --color-accent: #2dae5a;
  --color-w: #ffffff;
  --color-bg: #ffffff;
}

@font-face {
  font-family: "noto-sans-jp";
  src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


a {
  color: var(--color-secondary);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  max-width: 630px;
  margin: auto;
  padding: 0 0 2rem 0;
  background-color: #ffffff;
  color: var(--color-foreground);
  line-height: 1.7rem;
}

h1 {
  font-size: larger;
  font-weight: bold;
  padding-bottom: 3rem;
}


::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  transition: background-color 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.6);
}


* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}


.animated {
  animation: move-y 0.5s infinite alternate steps(2);
  display: inline-block;
}

@keyframes move-y {
  from {
    transform: translateY(-1px);
  }

  to {
    transform: translateY(1px);
  }
}