/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */

/**
* 1. すべてのブラウザ用に、デフォルトのフォントファミリーを変更してください（オプション）。
* 2. IEとiOS用に、デバイスの向きを変えた後にユーザーの文字サイズ調整を防ぐ。
*/

html {
  font-family:
    "メイリオ", Meiryo, "ヒラギノ角ゴシック", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Osaka, "ＭＳ Ｐゴシック", "ＭＳ ゴシック", Verdana, Geneva, Arial, Helvetica, sans-serif;/* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
* すべてのブラウザ用に、デフォルトのマージンを取り除く（オプション）。
*/

body {
margin: 0;
}

/* HTML5 display definitions
========================================================================== */

/**
* IE9+用に、displayプロパティを定義。
* 1. Edge, IE, Firefox用、details要素とsummary要素に「display: block;」を定義。
* 2. IE, Firefox用、main要素に「display: block;」を定義。
*/

article,
aside,
details, /* 1 */
figcaption,
figure,
footer,
header,
main, /* 2 */
menu,
nav,
section,
summary { /* 1 */
display: block;
}

/**
* IE9+用、displayプロパティを定義。
*/

audio,
canvas,
progress,
video {
display: inline-block;
}

/**
* iOS4-7用、displayプロパティを定義。
*/

audio:not([controls]) {
display: none;
height: 0;
}

/**
* Chrome, Firefox, Opera用、vertical-alignプロパティを定義。
*/

progress {
vertical-align: baseline;
}

/**
* IE10+用、displayプロパティを定義。
* 1. IE用、template要素に「display: none;」を定義。
*/

template, /* 1 */
[hidden] {
display: none;
}

/* Links
========================================================================== */

/**
* IE10用、アクティブリンクで背景がグレーになるのを取り除く。
*/

a {
background-color: transparent;
}

/**
* すべてのブラウザ用、リンクのアクティブ・ホバー時にフォーカスした要素のリーダビリティを改善するためにアウトラインを取り除く（オプション）。
*/

a:active,
a:hover {
outline-width: 0;
}

/* Text-level semantics
========================================================================== */

/**
* 1. Firefox39+用、下線を取り除く
* 2. Chrome, Edge, IE, Opera, Safari用、title属性を使用したabbr要素に点線を定義。
*/

abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}

/**
* Safari6用、次の指定「font-weight: bolder;」の重複適用を防ぐ。
*/

b,
strong {
font-weight: inherit;
}

/**
* Chrome, Edge, Safari用、strong要素にフォントのウェイトを定義。
*/

b,
strong {
font-weight: bolder;
}

/**
* android4.3+用、dfn要素にフォントのスタイルを定義。
*/

dfn {
font-style: italic;
}

/**
* Chrome, Firefox, Safari用、section要素とarticle要素の文脈にあるh1要素のフォントサイズとマージンを定義。
*/

h1 {
margin: 0.67em 0;
}

/**
* IE9+用、mark要素に背景とカラーを定義。
*/

mark {
background-color: #ff0;
color: #000;
}

/**
* すべてのブラウザ用、small要素にフォントサイズを定義。
*/

small {
font-size: 80%;
}

/**
* すべてのブラウザ用、sub要素とsup要素が「line-height」に影響を与えるのを妨げる。
*/

sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

sub {
bottom: -0.25em;
}

sup {
top: -0.5em;
}

/* Embedded content
========================================================================== */

/**
* IE10+用、リンクの中にあるimg要素のボーダーを取り除く。
*/

img {
border-style: none;
}

/**
* IE用、svg要素に「overflow: hidden;」を定義。
*/

svg:not(:root) {
overflow: hidden;
}

/* Grouping content
========================================================================== */

/**
* 1. すべてのブラウザ用、フォントサイズの大きさ調整と継承を定義。
* 2. すべてのブラウザ用、フォントサイズの単位は「em」を使用。
*/

code,
kbd,
pre,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}

/**
* IE8用、figure要素も正しいマージンを定義。
*/

figure {
margin: 1em 40px;
}

/**
* 1. Firefox用、hr要素に正しいbox-sizingを定義。
* 2. Edge, IE用、hr要素に「overflow: visible;」を定義。
*/

hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}

/* Forms
========================================================================== */

/**
* すべてのブラウザ用、フォームのいくつかの要素に「font: inherit;」を定義（オプション）。
*/

button,
input,
select,
textarea {
font: inherit;
}

/**
* 前の指定により、optgroup要素にフォントのウェイトを再定義。
*/

optgroup {
font-weight: bold;
}

/**
* IE用、「overflow: visible;」を定義
* 1. Edge用、input要素を定義。
* 2. Edge, Firefox, IE用、select要素を定義。
*/

button,
input, /* 1 */
select { /* 2 */
overflow: visible;
}

/**
* Safari用、マージンを取り除く。
* 1. Firefox, Safari用、マージンを取り除く。
*/

button,
input,
select,
textarea { /* 1 */
margin: 0;
}

/**
* Edge, Firefox, IE用、text-transformの継承を取り除く。
* 1. Firefox用、text-transformの継承を取り除く。
*/

button,
select { /* 1 */
text-transform: none;
}

/**
* すべてのブラウザ用、button要素のカーソルを変更（オプション）。
*/

button,
[type="button"],
[type="reset"],
[type="submit"] {
cursor: pointer;
}

/**
* 前の指定により、disabledを指定した要素はデフォルトのカーソルに戻す。
*/

[disabled] {
cursor: default;
}

/**
* 1. Android4用、ネイティブのaudio要素とvideo要素のコントールのWebkitのバグを避ける。
* 2. iOS用、クリッカブルなinput要素のtypeのスタイルを修正。
*/

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
-webkit-appearance: button; /* 2 */
}

/**
* Firefox用、button要素とinput要素のボーダーと内側のパディングを取り除く。
*/

button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}

/**
* 前の指定により、フォーカス時のスタイルを再定義。
*/

button:-moz-focusring,
input:-moz-focusring {
outline: 1px dotted ButtonText;
}

/**
* すべてのブラウザ用、fieldset要素のborder, margin, paddingプロパティを変更（オプション）。
*/

fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}

/**
* 1. Edge, IE用、テキストのラッピングを修正。
* 2. IE用、fieldset要素からカラーが継承されないのを修正。
* 3. すべてのブラウザ用、fielset要素を取り除く時にデベロッパに分からないようにpaddingを取り除く。
*/

legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}

/**
* IE用、デフォルトの垂直方向のスクロールバーを取り除く。
*/

textarea {
overflow: auto;
}

/**
* 1. IE10用、正しいbox-sizingを定義。
* 2. IE10用、paddingを取り除く。
*/

[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}

/**
* Chrome用、増減ボタンのカーソルのスタイルを修正。
*/

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}

/**
* Chrome, Safari用、検索の入力エリアのアピアランスを修正。
*/

[type="search"] {
-webkit-appearance: textfield;
}

/**
* OS XのChrome, Safari用、キャンセルボタンの内側のpaddingを取り除く。
*/

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
