:root {
  --color-primary: #f0f050;
  --color-primary01: #f04650;
  --color-primary02: #32b4dc;
  --color-primary03: #ff9632;
  --color-primary04: #00c3aa;
  --color-primarybg01: #fcdadc;
  --color-primarybg02: #d6f0f8;
  --color-primarybg03: #ffead6;
  --color-primarybg04: #ccf3ee;
  --color-primarybg05: #b2ede5;
  --color-howto1: #ffaa28;
  --color-howto2: #6496f0;
  --color-howto3: #f082c8;
  --color-howto4: #3cc850;
  --color-bg: #fff;
  --font-body: Zen Kaku Gothic New, sans-serif;
  --font-display: Inter, Zen Kaku Gothic New, sans-serif;
  --font-sans: Zen Kaku Gothic New, sans-serif;
  --font-serif: Zen Old Mincho, serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(44, 36, 22, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 36, 22, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;transition: .3s;
}
a:hover{opacity: 0.7;transition: .3s;}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bounce-in {
  opacity: 0;
}

.bounce-in.is-visible {
  animation: bouncePop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

@keyframes bouncePop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  55% {
    opacity: 1;
    transform: scale(1.1);
  }
  75% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scrollLine {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}
@keyframes illustFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
