/* 基本のフォントサイズ(10px相当)、文字色、背景色の設定 */
html {
  font-size: 62.5%;
  color: #1E1E1E;
  background: #FFF;
  /* ボックスサイズの計算をパディング込みにする設定（モダンWebの標準） */
  box-sizing: border-box;
}

/* 全ての要素にbox-sizingを継承させる */
*, *:before, *:after {
  box-sizing: inherit;
}

/* HTML5の新要素をブロック要素として定義（古いブラウザ対策） */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}

/* 主要な要素の余白をゼロにリセット */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, figure {
  margin: 0;
  padding: 0;
}

/* テーブルの枠線の重なりと隙間を解消 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 画像が親要素からはみ出さないようにし、境界線を消去 */
fieldset, img {
  border: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* デフォルト装飾のリセット（strongは太字を維持するためここから除外） */
address, caption, cite, code, dfn, em, th, var {
  font-style: normal;
  font-weight: normal;
}

/* strong要素は太字（bolder）として機能させる */
strong, b {
  font-weight: bolder;
}

/* リストの箇条書き記号を非表示にする */
ol, ul {
  list-style: none;
}

/* 表のタイトルと見出しを左揃えに設定 */
caption, th {
  text-align: left;
}

/* 見出しの大きさを標準サイズにし、太字を解除（個別にデザインするため） */
h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

/* 引用符の自動挿入を無効化 */
q:before, q:after {
  content: '';
}

/* 上付き・下付き文字の垂直方向の位置を調整 */
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }

/* 入力要素のフォント設定を親から引き継ぎ、外観を整える */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  background: transparent;
  outline: none;
}

/* フォームの凡例（legend）の文字色を黒に設定 */
legend {
  color: #000;
}

/* YUI 3 識別用（非表示） */
#yui3-css-stamp.cssreset {
  display: none;
}