/* =====================================================
   Reset CSS
   WordPress / Grid / Flex 対応版
===================================================== */

/* ------------------------------
   Base
------------------------------ */

html {
	font-size: 100%;
	line-height: 1;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	color: #000;
	background: #fff;
}

/* ------------------------------
   Box model
------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* ------------------------------
   Margin / Padding Reset
------------------------------ */

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
figure,
figcaption,
form,
fieldset,
legend,
input,
textarea,
button,
table,
th,
td {
	margin: 0;
	padding: 0;
}

/* ------------------------------
   Lists
------------------------------ */

ul,
ol {
	list-style: none;
}

/* ------------------------------
   Tables
------------------------------ */

table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

/* ------------------------------
   Images / Media
------------------------------ */

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

svg {
	fill: currentColor;
}

/* ------------------------------
   Text
------------------------------ */

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

strong {
	font-weight: bolder;
}

em {
	font-style: italic;
}

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

/* ------------------------------
   Forms
------------------------------ */

input,
textarea,
select,
button {
	font: inherit;
	color: inherit;
	background: transparent;
	border: none;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
}

textarea {
	resize: vertical;
}

button {
	cursor: pointer;
	padding: 0;
}

/* ------------------------------
   Quotes
------------------------------ */

blockquote,
q {
	quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
	content: '';
}

/* ------------------------------
   HTML5 Elements
------------------------------ */

main,
section,
article,
aside,
header,
footer,
nav {
	display: block;
}

/* ------------------------------
   Accessibility (minimum)
------------------------------ */

[hidden] {
	display: none;
}
