/*
	# =================================================================
	# Global selectors html, グローバルセレクタの定義
	# =================================================================
*/

/**
 * 1. すべてのブラウザで、スクロールバーのオーバーレイを無し。
 * 2. iOS 8+
 */
 html {
	box-sizing: border-box;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%; 
}
*,
::before,
::after {
	box-sizing: inherit;
}
 

 /**
 * 1. 「::before」と「::after」に、「text-decoration」と「vertical-align」を継承。
 */
::before,
::after {
	text-decoration: inherit; /* 1 */
	vertical-align: inherit;
}
 
/*
 * 1. すべての要素に、「background-repeat: no-repeat;」を指定。
 * 2. すべての要素に、「padding」と「margin」をリセット。
 */
* {
	background-repeat: no-repeat; /* 1 */
	padding: 0; /* 2 */
	margin: 0;
	outline:none;
}
/* # =================================================================
	 # General elements 一般的な要素の定義
	 # ================================================================= */
 
/**
 * iOS 4-7に、正しいdisplayを設定。
 */
audio:not([controls]) {
	display: none;
	height: 0;
}
 
/** 
 * 1. EdgeとIEに、「overflow: visible;」を定義。
 */
hr {
	overflow: visible; /* 1 */
}
 
/**

 * IE8/9に、displayプロパティを定義。
 * IE10/11とFirefoxのdetail要素とsummary要素に、displayプロパティを定義。
 * IE11のmain要素に、displayプロパティを定義。
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}
 
/**

 * 1. small要素に、フォントサイズ「80%」を定義。
 */
small {
	font-size: 80%; /* 1 */
}
 
/**
 * 1. IEに、displayプロパティを定義。
 */
[hidden],
template {
	display: none; /* 1 */
}
 
/**
 * 1. すべてのブラウザに、点線を定義。
 * 2. Firefox40+に、テキストの装飾を削除。
 */
abbr[title] {
	border-bottom: 1px dotted; /* 1 */
	text-decoration: none; /* 2 */
}
 
/**
 * 1. IE10に、アクティブリンクのグレーの背景を削除。
 * 2. iOS8+とSafari8+に、リンクの下線のギャップを削除。
 */
a {
	background-color: transparent; /* 1 */
	text-decoration: none;
	-webkit-text-decoration-skip: objects; /* 2 */
}
 
/**
 * 1. Remove the outline when hovering in all browsers
 
 * 1. すべてのブラウザに、ホバー時のアウトラインを削除。
 */
a:active,
a:hover {
	outline-width: 0; /* 1 */
}
 
/**
 * 1. コード要素に、フォントファミリーを指定。
 */
code,
kbd,
pre,
samp {
	font-family: monospace, monospace; /* 1 */
}
 
/**
 * 1. Correct style set to `bold` in Edge 12+, Safari 6.2+, and Chrome 18+
 
 * 1. Edge12+, Safari6.2+, Chrome18+に、「bold」を適用。
 */
b,
strong {
	font-weight: bolder; /* 1 */
}
 
/**
 * 1. Address styling not present in Safari and Chrome
 
 * 1. SafariとChromeに、定義。
 */
dfn {
	font-style: italic; /* 1 */
}
 
/**
 * Address styling not present in IE 8/9
 
 * 1. IE8/9に、定義。
 */
mark {
	background-color: #ff0;
	color: #000;
}
 
/**
 * https://gist.github.com/unruthless/413930
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
 
sub {
	bottom: -0.25em;
}
 
sup {
	top: -0.5em;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* 
# =================================================================
# Forms フォーム要素の定義
# =================================================================
*/

input {
	border-radius: 0;
}

/**
 * 1. Firefox 36+
 */
[type="number"] {
	width: auto; /* 1 */
}

/**
 * 1. Safari 8+
 */
[type="search"] {
	-webkit-appearance: textfield; /* 1 */
}

/**
 * 1. Safari 8
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none; /* 1 */
}

/**
 * 1. Internet Explorer 11+
 * 2. textarea要素に、垂直方向のリサイズを指定。
 */
textarea {
	overflow: auto; /* 1 */
	resize: vertical; /* 2 */
}

/**
 * 1. フォーム要素に、フォントの継承を指定。
 */
button,
input,
optgroup,
select,
textarea {
	font: inherit; /* 1 */
}

/**

 * 1. 前の指定により、フォントのウェイトを再定義。
 */
optgroup {
	font-weight: bold; /* 1 */
}

/**
 * 1. IE8/9/10/11に、overflow時にhiddenを設定。
 */
button {
	overflow: visible; /* 1 */
}

/**
 * Firefox4+に、内側のpaddingとborderを削除。
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: 0;
	padding: 0;
}

/**

 * 1. フォーカス時のスタイルを定義。
 */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	outline: 1px dotted ButtonText;
}

/**
 * 1. Android4に、ネイティブのaudio要素とvideo要素のコントロールのバグを防ぐ。
 * 2. iOSに、クリッカブルなbutton要素のtypeのスタイルを修正。
 */
button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
	-webkit-appearance: button; /* 2 */
}

/**
 * 1. Firefox 40+, Internet Explorer 11-
 */
button,
select {
	text-transform: none; /* 1 */
}

/**
 * すべてのブラウザにおいて、デフォルトのボタンのスタイルを削除。
 */
button,
input,
select,
textarea {
	background-color: transparent;
	border-style: none;
	color: inherit;
}

/**
 * 標準的なinput要素のスタイルを選択。
 * 1. Firefox 36+
 * 2. Chrome 41+
 */
select {
	-moz-appearance: none; /* 1*/
	-webkit-appearance: none; /* 2 */
}

/**
 * 1. Internet Explorer 11+
 */
select::-ms-expand {
	display: none; /* 1 */
}

/**
 * 1. Internet Explorer 11+
 */
select::-ms-value {
	color: currentColor; /* 1 */
}

/**
 * 1. IE 8/9/10/11に、カラーの継承を定義。
 * 2. IEに、fieldset要素からカラーを継承するように定義。
 * 3. EdgeとIEに、テキストのラッピングを修正。
 * 4. EdgeとIEに、テキストのラッピングを修正。
 * 5. EdgeとIEに、テキストのラッピングを修正。
 */
legend {
	border: 0; /* 1*/
	color: inherit; /* 2 */
	display: table; /* 3 */
	max-width: 100%; /* 4 */
	white-space: normal; /* 5 */
}

/**
 * 1. iOSとSafariに、クリッカブルなtypeのスタイルを修正。
 * 2. ChromeとSafariに、フォントプロパティの継承を変更。
 */
::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/**
 * Chrome, Edge, Safariに、テキストのスタイルを修正。
 */
::-webkit-input-placeholder {
	color: inherit;
	opacity: 0.54;
}

/**
 * 1. ChromeとSafariに、アピアランスを修正。
 * 2. Safariに、アウトラインを修正。
 */
[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/* # =================================================================
	 # Specify media element style メディア要素の定義
	 # ================================================================= */

/**
 * 1. IE8/9/10に、a要素の中にある時にボーダーを削除。
 */
img {
	border-style: none; /* 1 */
	max-width: 100%;
	height:auto;
}

/**
 * 1. Chrome, Firefox, Operaに、正しいvertical-alignを与える。
 */
progress {
	vertical-align: baseline;
}

/**
 * 1. Internet Explorer 11-
 */
svg:not(:root) {
	overflow: hidden; /* 1 */
}

/**
 * 1. Internet Explorer 11+, Windows Phone 8.1+
 */
audio,
canvas,
progress,
video {
	display: inline-block; /* 1 */
}
ul li {
	list-style: none;
}
/* # =================================================================
# Acessibility アクセシビリティ用の定義
# ================================================================= */

/**
 * コンテンツを隠す時は、スクリーンリーダーからでなく、スクリーンから。
 */
@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 ::selectionの定義
# ================================================================= */

/**
 * テキスト選択時の背景色を指定し、ドロップシャドウを削除。
 */

/* リセットCSSここまで↑ */
