@charset "utf-8";

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:where([hidden]:not([hidden='until-found'])) {
	display: none !important;
}

:where(html) {
	-webkit-text-size-adjust: none;
	color-scheme: dark light;
}

@supports not (min-block-size: 100dvb) {
	:where(html) {
		block-size: 100%;
	}
}

@media (prefers-reduced-motion: no-preference) {
	:where(html:focus-within) {
		scroll-behavior: smooth;
	}
}

:where(body) {
	block-size: 100%;
	block-size: 100dvb;
	line-height: 1.5;
	font-family: system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

: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(:disabled) {
	cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
	cursor: not-allowed;
}

:where(button) {
	border-style: solid;
}

:where(a) {
	text-underline-offset: 0.2ex;
}

:where(ul, ol) {
	list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
	display: block;
}

:where(img, picture, svg) {
	max-inline-size: 100%;
	block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
	overflow-wrap: break-word;
}

:where(h1, h2, h3) {
	line-height: calc(1em + 0.5rem);
}

:where(hr) {
	border: none;
	border-block-start: 1px solid;
	color: inherit;
	block-size: 0;
	overflow: visible;
}

:where(:focus-visible) {
	outline: 2px solid var(--focus-color, Highlight);
	outline-offset: 2px;
}

:where(.visually-hidden:not(:focus, :active, :focus-within, .not-visually-hidden)) {
	clip-path: inset(50%) !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	white-space: nowrap !important;
	border: 0 !important;
}

:where(html)  {
  --fs: 100%;
  background: var(--main-bg);
  color: var(--main-color);
  font-size: var(--fs);
  overscroll-behavior: none;
  tap-highlight-color: rgba(0,0,0,0);
  text-size-adjust: 100%;
  scroll-behavior: auto;
  color-scheme: normal;
}
@media screen and (max-width: 1150px) {
  :where(html)  {
    --fs: 90%;
  }
}
@media screen and (max-width: 1024px) {
  :where(html)  {
    --fs: 100%;
  }
}
@media screen and (max-width: 768px) {
  :where(html)  {
    font-size: clamp(90%, calc(16/500*100vw), 100%);
  }
}
:where(body) {
  font-family: var(--font-family);
  font-weight: 700;
  font-feature-settings : "palt";
  text-align: center;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  :where(body) {
    font-weight: 500;
  }
}
:where(body, div, section, header, footer, nav, article, aside, main, dl, ul, p, a, :after, :before) {
  backface-visibility: hidden;
}
:where(a) {
  color: var(--main-color);
  border: 0;
  background-color: transparent;
  overflow: hidden;
  text-decoration: none;
}
:where(a):hover,
:where(a):active {
  outline: 0;
}
:where(table) {
  border-collapse: collapse;
  border-spacing: 0;
}
:where(img) {
  border: 0;
  vertical-align: bottom;
  line-height: 0px;
  width: 100%;
  height: auto;
}
:where(svg) {
  max-width: 100%;
}
:where(img[src$=".svg"]) {
  max-width: 100%;
}
:where(h1, h2, h3, h4, h5, h6) {
  font-size: 100%;
  font-weight: inherit;
  line-height: 1;
}
:where(em, strong) {
  font-weight: inherit;
  font-style: normal;
}
:where(small) {
  font-size: inherit;
}
:where(address) {
  font-style: normal;
}
:where(button, input, select, textarea) {
  background-color: transparent;
  border-style: none;
  border-radius: 0;
  font: inherit;
}

:where(a, input[type="button"], input[type="submit"]) {
  -webkit-tap-highlight-color: var(--tap-highlight-color);
}

:focus:not(:focus-visible) {
	outline: 0;
}

*::selection {
  background-color: var(--selection-color);
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}