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

html {
  font-size: clamp(15px, .694vw, 18px);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-jp);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-accent-sub);
  outline-offset: 4px;
}

.u-en {
  font-family: var(--font-en);
  letter-spacing: .04em;
}

.u-impact {
  font-family: var(--font-impact);
  letter-spacing: .01em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
