/*!
 * ress.css • v1.2.2
 * MIT License
 * github.com/filipelinhares/ress
 */

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

input {
  border-radius: 0;
}

/* ボタン要素にカーソル ポインタを適用する */
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  cursor: pointer;
}

/* 無効化された要素内のポインタ カーソルを置き換える */
[disabled] {
  cursor: default;
}

[type="number"] {
  width: auto; /* Firefox 36+ */
}

[type="search"] {
  -webkit-appearance: textfield; /* Safari 8+ */
}

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

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* テキストエリアのサイズ変更可能性を指定する */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* フォーム要素のフォント継承を指定する */
}

optgroup {
  font-weight: bold; /* 以前のルールで設定されていなかったフォントの太さを復元します。 */
}

button {
  overflow: visible; /* IE 8/9/10/11 でアドレス「オーバーフロー」が「非表示」に設定される */
}

/* Firefox 4 以降で内側のパディングと境界線を削除する */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: 0;
  padding: 0;
}

/* 上記の境界線のリセットで削除されたフォーカス スタイルを置き換えます */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"], /* (2) Android 4 のネイティブ `audio` および `video` コントロールを破壊する WebKit のバグを防止します。 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* iOS でクリック可能なタイプのスタイルを設定できない問題を修正 */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* すべてのブラウザでデフォルトのボタンのスタイルを削除します。 */
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}

/* 標準入力と同様のスタイル選択 */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  /*color: currentColor;  Internet Explorer 11+ */
}

legend {
  border: 0; /* IE 8/9/10/11 で正しい「color」が継承されない */
  color: inherit; /* IE の `fieldset` 要素からの色の継承を修正します。 */
  display: table; /* EdgeとIEのテキストの折り返しを修正 */
  max-width: 100%; /* EdgeとIEのテキストの折り返しを修正 */
  white-space: normal; /* EdgeとIEのテキストの折り返しを修正 */
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS and Safari */
  font: inherit; /* Chrome と Safari でフォントのプロパティを「継承」に変更する */
}

[type="search"] {
  -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px; /* Correct the outline style in Safari */
}

/* # =================================================================
   # Specify media element style
   # ================================================================= */

img {
  border-style: none; /* IE 8/9/10 の「a」要素内の境界線を削除する */
}

 Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}

svg:not(:root) {
  overflow: hidden; /* Internet Explorer 11- */
}

audio,
canvas,
progress,
video {
  display: inline-block; /* Internet Explorer 11+, Windows Phone 8.1+ */
}

/* # =================================================================
   # Accessibility
   # ================================================================= */

/* スクリーンリーダーではなく画面のコンテンツを非表示にします */
@media screen {
  [hidden~="screen"] {
    display: inherit;
  }
  [hidden~="screen"]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
  }
}

/* 要素の更新の進行状況カーソルを指定します */
[aria-busy="true"] {
  cursor: progress;
}

/* トリガー要素のポインタカーソルを指定する */
[aria-controls] {
  cursor: pointer;
}

/* 無効、編集不可能、または操作不能な要素のスタイルなしカーソルを指定します。 */
[aria-disabled] {
  cursor: default;
}

/* # =================================================================
   # Selection
   # ================================================================= */

/* テキスト選択の背景色を指定し、ドロップシャドウを省略します */

::-moz-selection {
  background-color: #b3d4fc; /* :selection を宣言する場合は必須 */
  color: #000;
  text-shadow: none;
}

::selection {
  background-color: #b3d4fc; /* ::selection を宣言する場合は必須 */
  color: #000;
  text-shadow: none;
}