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

:root {
  --color-font: #585858;
  --color-font-rgb: 88, 88, 88;
  --color-font-shadow: #a17458;
  --color-bg: #c1e36c;
  --color-dot: #dcb680;
  --color-purple: #80579e;
  --color-light-purple: #c59bff;
  --color-white: #ffffff;
  --color-white-rgb: 255, 255, 255;
  --color-blue: #95e1f3;
  --color-blue-rgb: 149, 225, 243;
  --leading-trim: calc((1em - 1lh) / 2);
}

@font-face {
  font-family: "icon";
  src: url("../font/icon.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:where(html) {
  font-size: 16px;
  font-feature-settings: "palt";
  min-width: 320px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
}

:where(html)[lang=ja] {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
}

:where(html)[lang=zh-cmn-Hans] {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 600;
}

:where(html)[lang=zh-cmn-Hant] {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 600;
}

:where(button) {
  all: unset;
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

:where(button):focus-visible {
  outline: auto;
}

:where(button):focus {
  outline: none;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
  cursor: pointer;
}

:where(a) {
  color: inherit;
  text-decoration: none;
}

:where(svg, video, canvas, iframe) {
  display: block;
}

:where(img) {
  vertical-align: top;
  width: 100%;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

@media screen and (max-width: 767.8px) {
  :where(html) {
    overscroll-behavior: none;
  }
}