@charset "utf-8";

/* ==========================================================================
   リセットCSS（ブラウザごとのデフォルト余白・スタイルの差異を初期化）
   参考サイトの html5doctor.com Reset Stylesheet をベースに必要項目を整理
   ========================================================================== */

/* 主要なHTML要素の余白・枠線・背景をリセット */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* セマンティック要素をブロック要素として明示 */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* リストマーカーの初期化 */
ul, ol {
  list-style: none;
}

/* 引用符の初期化 */
blockquote, q {
  quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
  content: "";
  content: none;
}

/* リンク要素の余白初期化 */
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* テーブルの枠線重ね合わせ */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 画像のレスポンシブ基本設定（はみ出し防止） */
img {
  max-width: 100%;
  height: auto;
  vertical-align: text-bottom;
}

/* ボタン要素のデフォルトスタイル初期化（モーダル閉じるボタン等で使用） */
button {
  font-family: inherit;
  cursor: pointer;
}
