:root {
	--main-color: #ec675d;
}
main,
main > *:not(.breadcrumb) {
	container-type: inline-size;
}
@media screen and (min-width: 768px) {
	main {
		padding-top: 70px;
	}
}
@media screen and (max-width: 767px) {
	main {
		padding-top: 42px;
	}
}



header {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	position: fixed;
}
header .header_logo a {
	font-size: 1rem;
	line-height: 1;
	display: block;
}

/* -- button -- */
#hdNaviButton {
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	aspect-ratio: 1/1;
}
#hdNaviButton button {
	font-size: 0;
	background: none;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
#hdNaviButton::before,
#hdNaviButton button::before,
#hdNaviButton button::after {
	content: "";
	background-color: #727070;
	display: block;
	height: 1px;
	margin: auto;
	position: absolute;
	transform-origin: center;
	transition: all 0.6s;
	inset: 0;
}
#hdNaviButton.is-active::before {
	width: 0;
}
#hdNaviButton.is-active button::before {
	transform: translateY(0) rotate(45deg);
}
#hdNaviButton.is-active button::after {
	transform: translateY(0) rotate(-45deg);
}

/* -- navi -- */
header nav {
	color: #fff;
	background: #ef857d;
	display: block;
	display: grid;
	overflow-y: auto;
	grid-template-rows: 0fr;
	width: 100%;
	position: absolute;
	z-index: 9;
	transition: all 0.6s;
}
header nav.is-active {
	grid-template-rows: 1fr;
}
#heNaviWrap {
	overflow: hidden;
}
#heNaviWrap > *:not(.nv-main) {
	font-size: 1.4rem;
	margin: 20px 0;
	padding: 0 20px;
}
.nv-main li {
	border-bottom: solid 1px #fff;
}
.nv-main li a {
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	text-align: center;
	display: block;
	height: 64px;
	padding-top: 28px;
}
.btn_hd-visit {
	font-weight: 700;
	color: #ef857d;
	background-color: #fff;
	display: flex;
	column-gap: 8px;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
}
.btn_hd-visit img {
	width: 13px;
}
.nv-contact li + li {
	margin-top: 20px;
}
.nv-contact a {
	font-size: 1.4rem;
	color: #fff;
	display: flex;
	column-gap: 12px;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	border: solid 1px #fff;
	border-radius: 8px;
}
.nv-contact img.image-mail {
	width: 20px;
}
.nv-contact img.image-tel {
	width: 25px;
}
.nv-doc {
	text-align: center;
	max-width: 335px;
}
.nv-doc li {
	display: inline-block;
}
.nv-doc li a {
	font-size: 1rem;
	display: block;
	padding: 6px;
}

@media screen and (min-width: 768px) {
	header {
		height: 70px;
		z-index: 21;
		inset: 0;
	}
	header::after {
		content: "";
		background-color: rgba(255, 255, 255, 0.8);
		display: block;
		width: 100vw;
		height: 70px;
		margin: auto;
		position: absolute;
		top: 0;
		right: -100%;
		left: -100%;
		z-index: -1;
	}
	.header_logo {
		width: 248px;
		position: absolute;
		top: 17px;
		left: 12px;
	}
	#hdContact {
		position: absolute;
		top: 15px;
		right: 72px;
	}
	#hdNaviButton::before,
	#hdNaviButton button::before,
	#hdNaviButton button::after {
		width: 30px;
	}
	#hdNaviButton button::before {
		transform: translateY(-8px) rotate(0deg);
	}
	#hdNaviButton button::after {
		transform: translateY(8px) rotate(0deg);
	}
	header nav {
		max-width: 360px;
		top: 70px;
		right: 0;
	}
	.nv-doc {
		margin: 0 auto 40px!important;
	}
}

@media screen and (max-width: 767px) {
	header {
		background-color: rgba(255, 255, 255, 0.8);
		height: 42px;
		z-index: 19;
	}
	.header_logo {
		width: 92px;
		position: absolute;
		top: 16px;
		left: 8px;
	}
	#hdContact {
		position: absolute;
		top: 8px;
		right: 52px;
	}
	#hdNaviButton::before,
	#hdNaviButton button::before,
	#hdNaviButton button::after {
		width: 22px;
	}
	#hdNaviButton button::before {
		transform: translateY(-6px) rotate(0deg);
	}
	#hdNaviButton button::after {
		transform: translateY(6px) rotate(0deg);
	}
	header nav {
		max-height: calc(100vh - 42px);
		top: 42px;
		left: 0;
	}
	#heNaviWrap {
		overflow-y: auto;
		max-height: calc(100vh - 42px);
	}
	.nv-doc {
		margin: 0 auto 120px!important;
	}
}