@charset "utf-8";

/* ========================================================
   Reset CSS (Corrected Version)
   ======================================================== */

/* 1. ベースのリセット */
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, 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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit; /* フォント設定を継承 */
	vertical-align: baseline;
	box-sizing: border-box; /* 仕様書準拠 */
}

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

/* 3. 基本設定 */
body {
	line-height: 1;
	-webkit-text-size-adjust: 100%;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

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

/* 4. リンクと画像の基本 */
a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom; /* 画像下の隙間を消す */
	border-style: none;
}

/* 5. 【重要】フォーム・ボタンのリセット（今回追加・修正） */
button,
input,
select,
textarea {
	font-family: inherit; /* 親要素のフォントを引き継ぐ */
	font-size: 100%;
	margin: 0;
	border-radius: 0; /* スマホでの角丸解除 */
	-webkit-appearance: none; /* ブラウザ標準スタイル削除 */
	appearance: none;
    background-color: transparent; /* 背景透明化 */
    border: none; /* 枠線削除 */
}

/* ボタン系はカーソルを指マークに */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
	cursor: pointer;
}

/* テキストエリアのサイズ変更を縦のみ許可 */
textarea {
	resize: vertical;
}

/* 全称セレクタでのbox-sizing（念のためここでも明記） */
*, *::before, *::after {
  box-sizing: border-box;
}