/* =========================================================
   reset.css
   ---------------------------------------------------------
   ブラウザ標準スタイルの完全リセット
   - margin / padding / border / outline など初期化
   - box-sizing: border-box;
   - HTML5要素をdisplay:block指定
   - 基本的なタイポグラフィ系のリセット
   - フォーム要素の標準装飾を除去
   ========================================================= */

/* ------------------------------
 * 基本初期化
 * ------------------------------ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	background: none;
}

/* HTML5 要素をブロック化 */
article, aside, details, figcaption, figure,
footer, header, main, menu, nav, section {
	display: block;
}

/* box-sizing を全体に適用 */
*, *::before, *::after {
	box-sizing: border-box;
}

/* body デフォルト */
body {
	color: inherit;
	background: #fff;
}

/* リストのマーカー削除 */
ol, ul {
	list-style: none;
}

/* 引用符削除 */
blockquote, q {
	quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
	content: '';
}

/* テーブルリセット */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* リンク基本 */
a {
	color: inherit;
	text-decoration: none;
	background-color: transparent;
}
a:hover, a:active {
	text-decoration: none;
	outline: none;
}

/* 画像・メディア */
img, svg, video, canvas {
	display: block;
	max-width: 100%;
	height: auto;
	border: none;
}

/* 見出し系フォントリセット */
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}

/* strong, b の太字除去（必要ならコメントアウト） */
strong, b {
	font-weight: normal;
}

/* フォーム要素初期化 */
input, button, select, textarea {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	background: none;
	font: inherit;
	color: inherit;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 0;
}

/* ボタンのカーソル */
button {
	cursor: pointer;
}

/* テキストエリアのリサイズ制御 */
textarea {
	resize: vertical;
}

/* テーブルセルやフォームでの不要な装飾抑制 */
::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/* 選択時ハイライトカラー初期化（必要に応じて設定） */
::selection {
	background: #b3d4fc;
	color: #000;
}

/* 隠し要素 */
[hidden] {
	display: none !important;
}
