/* 土台。リセットと要素の既定値だけ。クラスは使わない。 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  background: var(--se-paper);
  color: var(--se-ink);
  font-family: var(--se-font-jp);
  font-size: var(--se-text);
  line-height: var(--se-leading);
  letter-spacing: var(--se-tracking);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.5;
}

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

img {
  height: auto;
}

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

a:hover {
  color: var(--se-accent);
}

button, input, select, textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

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

fieldset {
  border: 0;
  min-width: 0;
}

:focus-visible {
  outline: var(--se-focus);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

small {
  font-size: var(--se-text-sm);
}

strong {
  font-weight: 700;
}
