@charset "UTF-8";
/* CSS Document */

/*ボックスモデルをリセットし、境界線を設定します*/
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */

/**
 *1. すべてのブラウザで行の高さを修正します。
 *2. iOS での向き変更後のフォント サイズの調整を防止します。
 *3. iOS のリンクの灰色のオーバーレイを削除します。
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */

/**
 *すべてのブラウザで余白を削除してください。*/

body {
  margin: 0;
}

/**
 *IE で一貫して「main」要素をレンダリングします。
 */

main {
  display: block;
}

/*縦のリズム*/
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/*見出し*/
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}

/*リスト (列挙)*/
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/*リスト (定義)*/
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/*コンテンツのグループ化*/
/* ============================================ */

/**
 *1. Firefox で正しいボックス サイズを追加します。
 *2. Edge と IE でオーバーフローを表示します。
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 *1. すべてのブラウザでフォントサイズの継承とスケーリングを修正。
 *2. すべてのブラウザで、奇妙な「em」フォント サイズを修正します。
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

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

/**
 *IE 10 のアクティブ リンクの灰色の背景を削除します。
 */

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

/**
 *1. Chrome 57-で下枠を削除
 *2. Chrome、Edge、IE、Opera、Safari で正しいテキスト装飾を追加します。
 */

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

/**
 *Chrome、Edge、Safari で正しいフォントの太さを追加します。
 */

b,
strong {
  font-weight: bolder;
}

/**
 *1. すべてのブラウザでフォントサイズの継承とスケーリングを修正。
 *2. すべてのブラウザで、奇妙な「em」フォント サイズを修正します。
 */

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

/**
 *すべてのブラウザで正しいフォント サイズを追加します。
 */

small {
  font-size: 80%;
}

/**
 *`sub` 要素と `sup` 要素が行の高さに影響を与えないようにする
 *すべてのブラウザ
 */

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*埋め込みコンテンツ*/
/* ============================================ */

/**
 *垂直方向の整列の問題を防ぎます。
 */

img,
embed,
object,
iframe {
  vertical-align: bottom;
}

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

/**
 *フォーム フィールドをリセットしてスタイル可能にする
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
}

/**
 *ラジオとチェックボックスの外観をリセットして、iOS での外観を維持します。
 */

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

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

/**
 *IE でオーバーフローを表示します
 *1. Edge でオーバーフローを表示します
 */

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

/**
 *Edge、Firefox、および IE のテキスト変換の継承を削除します
 *1. Firefox のテキスト変換の継承を削除します
 */

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

/**
 *iOS と Safari でクリック可能なタイプのスタイルを設定できない問題を修正
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

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

/**
 *Firefoxで内側の境界線とパディングを削除します
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 *以前のルールで設定されていないフォーカス スタイルを復元します
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 *IE10 & IE11 で矢印を削除
 */

select::-ms-expand {
  display: none;
}

/**
 *パディングを削除
 */

option {
  padding: 0;
}

/**
 *非表示にリセット
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

/**
 *1.Edge および IE でのテキストの折り返しを修正
 * 2.IE の「フィールドセット」要素からの色の継承を修正します
 * 3.パディングを削除して、ゼロ アウトするときに開発者が引っ掛からないようにします
 *すべてのブラウザの `fieldset` 要素
 */

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

/**
 *Chrome、Firefox、および Opera で正しい垂直方向の配置を追加します
 */

progress {
  vertical-align: baseline;
}

/**
 *IE 10+ のデフォルトの垂直スクロールバーを削除
 */

textarea {
  overflow: auto;
}

/**
 *Chromeのインクリメントボタンとデクリメントボタンのカーソルスタイルを修正
 */

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

/**
 *1. Safariのアウトラインスタイルを修正
 */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 *macOS の Chrome と Safari の内部パディングを削除
 */

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

/**
 * 1.iOS および Safari でクリック可能なタイプのスタイルを設定できない問題を修正
 * 2.Safari でフォントのプロパティを「継承」に変更
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 *クリック可能なラベル
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 *Edge、IE 10+、および Firefox に正しいディスプレイを追加
 */

details {
  display: block;
}

/*
 *すべてのブラウザで正しい表示を追加
 */

summary {
  display: list-item;
}

/*
 *編集可能なコンテンツのアウトラインを削除
 */

[contenteditable] {
  outline: none;
}

/* Table */
/* ============================================ */

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

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/*その他*/
/* ============================================ */

/**
 *IE 10+ で正しい表示を追加
 */

template {
  display: none;
}

/**
 *IE 10 で正しい表示を追加
 */

[hidden] {
  display: none;
}