@charset "UTF-8";

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

/* remove default margin */
* {
  margin: 0;
}

/* html */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* body */
body {
  min-height: 100vh;
  min-height: 100svh;
  line-height: 1.5;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #222;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* form */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* button */
button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

/* disabled */
button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  cursor: not-allowed;
}

/* list */
ul,
ol {
  padding: 0;
  list-style: none;
}

/* link */
a {
  color: inherit;
  text-decoration: none;
}

/* table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* textarea */
textarea {
  resize: vertical;
}

/* hidden */
[hidden] {
  display: none !important;
}

/* focus */
:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* interactive */
summary {
  cursor: pointer;
}

/* word break */
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
dt,
dd {
  overflow-wrap: break-word;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}