@charset "utf-8";
@import "destyle.css";
@import "import-font.css";

header {
	position: sticky;
	top: 0;
	font-family: "TsukuhouMincho";
	z-index: 255;
}

header > a {
	display: block;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}

header > a:hover {
	opacity: 0.5;
}

.header-list {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	height: 60px;
	background-color: #ffffff;
}

header img {
	position: absolute;
	width: auto;
	height: 60px;
	object-fit: contain;
}

.header-menu {
	display: flex;
	align-items: center;
	font-size: 24px;
}

.header-content {
	position: relative;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	height: 57px;
	margin-top: 3px;
	margin-right: 25px;
	z-index: 1;
}

.header-content div {
	box-sizing: content-box;
	width: 120px;
	height: 2px;
	background-color: #4994c6;
	border-radius: 1px;
	margin-top: 3px;
	transform: scaleX(0);
	transition: 0.3s;
	z-index: 1;
}

.header-content::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(#ffe5ee, #fff);
	opacity: 0;
	transition: opacity 0.5s;
}

@media (any-hover: hover) {
	.header-content:hover::before {
		opacity: 1;
	}

	.header-content:hover div {
		transform: scaleX(1);
	}
}

.header-menu button:nth-child(1) {
	flex-shrink: 0;
	height: 60px;
	background-color: #d1dfea;
	text-align: center;
	font-size: 22px;
	padding: 0 20px;
	transition: 0.5s;
}

@media (any-hover: hover) {
	.header-menu button:nth-child(1):hover {
		background-color: #4994c6;
		color: #fff;
	}
}

header label {
	flex-shrink: 0;
}

.hbg-icon {
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	background-color: #ffffff;
	width: 62px;
	height: 60px;
	padding: 17.75px 12.25px;
	transition: 0.5s;
}

.hbg-icon div {
	background-color: #4994c6;
	width: 50px;
	height: 3px;
	border-radius: 1.5px;
	transition: 0.5s;
}

header input:checked ~ label .hbg-icon div:nth-child(1) {
	transform-origin: left;
	transform: rotate(30deg) scaleX(1.12);
}

header input:checked ~ label .hbg-icon div:nth-child(2) {
	transform-origin: center;
	transform: scaleX(0);
}

header input:checked ~ label .hbg-icon div:nth-child(3) {
	transform-origin: left;
	transform: rotate(-30deg) scaleX(1.12);
}

.header-shadow {
	position: absolute;
	top: 60px;
	width: 100%;
	height: 20px;
	background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(167, 167, 167, 0));
}
