/* ---------------------------------------------------
  :root カスタムプロパティ
--------------------------------------------------- */
:root {
	--gothic: "Noto Sans JP", sans-serif;
	--aboreto: "Aboreto", system-ui;
	/* font-family: "Aboreto", system-ui;
  font-weight: 400;
  font-style: normal; */

	--afacad: "Afacad", sans-serif;
	/* font-family: "Afacad", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal; */

	--blk: 51, 51, 51;
	--wht: 255, 255, 255;
	--red: 205, 26, 23;
	--beg: 235, 227, 212;
	--gra: 122, 122, 122;
	--bg: 249, 242, 230;

	--pageTop-right: 1rem;
	--pageTop-bottom: 1rem;
}

/* ---------------------------------------------------
  HTML / BODY 基本
--------------------------------------------------- */
html {
	font-size: 62.5%;
	scroll-behavior: smooth;
	scroll-padding-top: min(8rem, 6.25vw);
}

@media screen and (max-width: 768px) {
	html {
		scroll-padding-top: 0;
	}
}

body {
	background: rgb(var(--wht));
	padding-top: min(8rem, 6.25vw);
	color: rgb(var(--blk));
	font-family: var(--gothic);
	line-height: 1.8;
	font-feature-settings: "palt"1;
	font-optical-sizing: auto;
	letter-spacing: 0.05em;
	font-weight: 500;
}

body .header,
body .main,
body .footer {
	visibility: hidden;
	opacity: 0;
	transition: opacity 1s ease;
}

.header.is-visible,
.main.is-visible,
.footer.is-visible {
	visibility: visible;
	opacity: 1;
}

body.js-loading {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
}

body.js-loading .header,
body.js-loading .main,
body.js-loading .footer {
	visibility: hidden;
}

@media screen and (max-width: 768px) {
	body {
		padding-top: 0;
	}
}

.aboreto {
	line-height: 1;
	font-family: var(--aboreto);
	font-weight: 400;
}

.afacad {
	font-family: "Afacad", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

:where(input, select, textarea, button, label) {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

:where(a) {
	color: inherit;
	text-decoration: underline;
	transition: all 0.5s ease 0s;
}

:where(a:hover) {
	text-decoration: none;
	opacity: 0.6;
}