:root {
  --flag-font: "Twemoji Country Flags";
  --display: var(--flag-font), "Baloo 2", "Baloo 2 Fallback", "Zen Maru Gothic", var(--sans);
  --sans: var(--flag-font), "Nunito", "Nunito Fallback", "Zen Maru Gothic", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  --mono: var(--flag-font), ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pixel: var(--flag-font), "PixelMplus12", "DotGothic16", "Silkscreen", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html {
  font-size: calc(100% * var(--base-scale, 1) * var(--user-scale, 1));
}

body {
  font-family: var(--sans);
  font-size: 15.5px;
  font-size: calc(15.5px * var(--base-scale, 1) * var(--user-scale, 1));
  font-weight: 500;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  text-decoration: underline;
}

mark.hit {
  background: transparent;
  color: var(--link);
  font-weight: 900;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
.brand {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.2px;
  text-wrap: balance;
}

h1 {
  font-size: 1.6875rem;
  margin-block: 0 0.5rem;
}

h2 {
  font-size: 1.3125rem;
  margin-block: 1.5rem 0.625rem;
}

h3 {
  font-size: 1.125rem;
  margin-block: 1.25rem 0.5rem;
}

h4 {
  font-size: 1rem;
  margin-block: 1rem 0.375rem;
}
