/*
 * reset.css  ブラウザ差異をならす最小限のリセット
 * （ページ固有のスタイルは main.css、共通の値は setting.css）
 */

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

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

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  ul,
  ol,
  figure {
    margin: 0;
  }

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

  h1,
  h2,
  h3,
  h4 {
    font-size: inherit;
    font-weight: inherit;
  }

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

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

  img {
    height: auto;
  }

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

  small {
    font-size: inherit;
  }
}
