@charset "utf-8";

/* ===================== */
/* Reset CSS              */
/* ===================== */
/* HTMLタグのブラウザデフォルトを解除する。
   プロジェクト固有のフォント・色・A11y設定は scss/foundation/_reset.scss で行う。 */

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

html,
body,
h1, h2, h3, h4, h5, h6,
ul, ol, dl, li, dt, dd,
p, div, span, img, a,
table, tr, th, td,
blockquote, pre,
figure, hr,
fieldset, legend {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* font-weight: ブラウザデフォルトで太字になる要素のみリセット
   （a/span/li/p 等は親から継承する自然な挙動を維持） */
h1, h2, h3, h4, h5, h6,
th, b, strong {
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

button {
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

input, select, textarea {
  font: inherit;
  color: inherit;
  vertical-align: top;
}

textarea {
  resize: vertical;
}

/* ---------- セマンティックタグの italic / smaller を解除 ---------- */
address {
  font-style: normal;
}

em, cite, dfn, var, i {
  font-style: normal;
}

small {
  font-size: inherit;
}

/* ---------- 上下付き文字（ベースラインずれ防止） ---------- */
sub, sup {
  vertical-align: baseline;
  position: relative;
  font-size: 0.75em;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* ---------- 罫線 ---------- */
hr {
  border: 0;
  border-top: 1px solid currentColor;
  margin: 0;
}

/* ---------- テーブルセル ---------- */
th {
  font-weight: inherit;
  text-align: inherit;
}
