/* ============================================================
   reset.css
   ブラウザデフォルトスタイルの均一化
   ============================================================ */

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

/* マージン・パディングリセット */
html, body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd, ul, ol, li,
fieldset, legend, input, button, textarea, select {
  margin: 0;
  padding: 0;
}

/* HTMLルート */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* ボディ */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* リスト */
ul, ol {
  list-style: none;
}

/* リンク */
a {
  color: inherit;
  text-decoration: none;
}

/* 画像・メディア */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* フォーム */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

button {
  cursor: pointer;
}

/* テーブル */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 引用 */
blockquote, q {
  quotes: none;
}

/* hr */
hr {
  border: none;
  border-top: 1px solid currentColor;
}

/* フォーカスリング（アクセシビリティ保持） */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
