/******************************************************************************
** reset.css
*******************************************************************************/

/* === Base Fonts & Typography === */
/* Using the system fonts for better performance */
:root {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 10px;
	/* Setting base font-size */
	line-height: 1.6;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	word-spacing: normal;
	box-sizing: border-box;
}

/* Font face definitions for Noto Sans JP */
@font-face {
	font-family: 'Noto Sans JP';
	src: url('../fonts/Noto_Sans_JP/NotoSansJP-Light.woff') format('woff'),
		url('../fonts/Noto_Sans_JP/NotoSansJP-Light.eot') format('eot');
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: 'Noto Sans JP';
	src: url('../fonts/Noto_Sans_JP/NotoSansJP-Regular.woff') format('woff'),
		url('../fonts/Noto_Sans_JP/NotoSansJP-Regular.eot') format('eot');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'Noto Sans JP';
	src: url('../fonts/Noto_Sans_JP/NotoSansJP-Medium.woff') format('woff'),
		url('../fonts/Noto_Sans_JP/NotoSansJP-Medium.eot') format('eot');
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: 'Noto Sans JP';
	src: url('../fonts/Noto_Sans_JP/NotoSansJP-Bold.woff') format('woff'),
		url('../fonts/Noto_Sans_JP/NotoSansJP-Bold.eot') format('eot');
	font-weight: 700;
	font-display: swap;
}

/* === Base Reset Styles === */
*,
*::before,
*::after {
	box-sizing: border-box!important;
	margin: 0;
	padding: 0;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-size: 1.6rem;
	line-height: inherit;
	font-family: 'Noto Sans JP', sans-serif;
	-webkit-font-smoothing: antialiased;
}

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

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

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

/* === Additional Reset Rules === */
ul, ol {
	list-style: none;
}

button, input, select, textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background: none;
	border: none;
	padding: 0;
}

button, [role="button"] {
	cursor: pointer;
}

textarea {
	resize: vertical;
}

table {
	border-collapse: collapse;
}

th, td {
	padding: 0;
}

abbr[title] {
	text-decoration: underline dotted;
}

/* Form elements */
input[type="search"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* HTML5 elements display */
article, aside, footer, header, nav, section {
	display: block;
}

/* Accessibility improvements */
[hidden] {
	display: none !important;
}