:where(*, *::before, *::after) {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where(*) {
  font-size: 14px;
  font-weight: normal;
  font-family: Futura, YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, system-ui, sans-serif;
}

:where([hidden]:not([hidden='until-found'])) {
  display: none !important;
}

:where(:root) {
  color-scheme: dark light;
}

:where(html) {
  -webkit-text-size-adjust: none;
}

@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.8;
  -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.6ex;
}

:where(ul, ol) {
  list-style: none;
}

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

:where(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(img) {
  max-width: 100%;
  height: auto;
  border-style: none;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 0.75rem
}

body {
  padding-top: 100px;
}

main {
  width: 700px;
  margin: auto;
  line-height: 2.2;
  padding: 50px;
  border: 1px solid #ccc;
}


h1 {
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
}

ol {
  margin-top: 50px;
}

li {
  list-style: decimal;
  margin-left: 1em;
  margin-bottom: 25px;
}

footer {
  margin-top: 50px;
  text-align: right;
}

@media screen and (max-width: 959px) {
  body {
    padding-top: 50px;
  }

  main {
    width: calc(100% - 100px);
    margin: auto;
    line-height: 2.0;
    padding: 30px;
    border: 1px solid #ccc;
  }


  h1 {
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
  }

  ol {
    margin-top: 30px;
  }

  li {
    list-style: decimal;
    margin-left: 1em;
    margin-bottom: 25px;
  }

  footer {
    margin-top: 40px;
    text-align: right;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding-top: 20px;
  }

  main {
    width: calc(100% - 40px);
    margin: auto;
    line-height: 1.8;
    padding: 20px;
    border: 1px solid #ccc;
  }


  h1 {
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    margin-bottom: 25px;
  }

  ol {
    margin-top: 25px;
  }

  li {
    list-style: decimal;
    margin-left: 1em;
    margin-bottom: 20px;
  }

  footer {
    margin-top: 30px;
    text-align: right;
  }
}