/*----------reset css----------*/

/*! destyle.css v2.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* boxの設定 */

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

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

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

/* すべてのブラウザで余白を削除 */

body {
margin: 0;
}

/* IEでmain要素をレンダリングします。 */

main {
display: block;
}

/* Vertical rhythm */

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

/* Headings */

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

/* Lists (enumeration) */

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

/* Lists (definition) */

dt {
font-weight: bold;
}

dd {
margin-left: 0;
}

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

/**
 * 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;
}

/* IE10のアクティブリンクの背景を削除 */

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

/**
 * 1. Chrome57の下の境界線を削除
 * 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;
}

/* 埋め込み */

/* vertical alignment の問題を防ぎます */

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とedgeでoverflowを表示 */

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

/* Edge、Firefox、IEでのtext-transformを削除 */

button,
select {
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のborder-styleとpaddingを削除 */

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の矢印（arrow）を削除 */

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

/* Paddingを削除 */

option {
padding: 0;
}

/* 非表示 */

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

/**
 * 1. EdgeとIEのテキスト折り返しを修正
 * 2. IEでfieldset要素の色を修正
 * 3. paddingを削除して、開発者がゼロになった時に対応
 * 全てのブラウザのfieldset要素
 */

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

/* Chrome、Firefox、Operaで正しいvertical-alignを追加 */

progress {
vertical-align: baseline;
}

/* IE10以降のvertical scrollbarを削除 */

textarea {
overflow: auto;
}

/* Chromeのincrementとdecrement buttons のカーソルを変更 */

[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でフォントプロパティをinheritに変更
 */

::-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;
}

/* その他 */

/* IE10以降で正しい表示を追加 */

template {
display: none;
}

/* IE10に正しい表示を追加 */

[hidden] {
display: none;
}

/*----------reset css end----------*/