/* =======================================
  reset.css
======================================= */

/* box-sizing を全要素に適用 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* デフォルト margin/padding を削除 */
html, body, h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

/* 基本の body 設定 */
html {
  font-size: 62.5%;            /* 1rem = 10px 基準 */
  -webkit-text-size-adjust: 100%; /* iOSズーム対策 */
}
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

/* メディア要素 */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin-inline: 0;
  margin-block: 0;
  
}


/* リストの初期化 */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

/* フォーム要素 */
button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
textarea {
  resize: vertical;
}

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

/* 隠し要素 */
[hidden] {
  display: none !important;
}
