/* =========================================
   reset.css
   - 愛媛県博物館協会サイト用 基本リセット
   ========================================= */

/* -----------------------------------------
   1. ベースリセット
   ----------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, main {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 要素をブロック要素として扱う */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
  display: block;
}

/* -----------------------------------------
   2. box-sizing 統一
   ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

/* -----------------------------------------
   3. リスト・引用・テーブル
   ----------------------------------------- */

/* リストマーカーをリセット */
ol, ul {
  list-style: none;
}

/* 引用符リセット */
blockquote, q {
  quotes: none;
}
blockquote::before,
blockquote::after,
q::before,
q::after {
  content: none;
}

/* テーブルの線の重なり防止 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* -----------------------------------------
   4. 画像・メディア
   ----------------------------------------- */

/* 画像はコンテナ幅に合わせる */
img {
  max-width: 100%;
  height: auto;
  border-style: none;
}

/* -----------------------------------------
   5. フォーム要素の初期化
   ----------------------------------------- */

/* フォーム要素のフォントを継承 */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/* ボタン風要素のデフォルトスタイル調整 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/* -----------------------------------------
   6. アンカー（リンク）
   ----------------------------------------- */

/* 下線などは共通CSSで制御する前提 */
a {
  background-color: transparent;
  text-decoration: none;
}

/* -----------------------------------------
   7. フォーカス可視性（アクセシビリティ）
   ----------------------------------------- */

/*:focus {
  outline: 2px solid #0078d4;
  outline-offset: 2px;
}*/
