:where(body) {
	margin: 0;
}

.header :where(img) {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	image-rendering: pixelated;
}

.header :where(button) {
	padding: 0;
	border: none;
	background-color: transparent;
	cursor: pointer;
	appearance: none;
}

.header {
	--blue: #004b9e;
	--header-height: 10.66vw;
	--duration: 0.3s;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 3;
	height: var(--header-height);
	padding-right: 4.53vw;
	padding-left: 3.2vw;
	box-sizing: border-box;
	background: white;
}

.header-logo {
	width: 39.2vw;
}

@media (min-width: 768px) {
	.header {
		--header-height: 97px;
		gap: 32px;
		box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
		padding-inline: 30px;
	}

	.header-logo {
		width: 216px;
	}
}

@media (min-width: 1136px) {
	.header {
		gap: 48px;
	}
}

@media (any-hover: hover) {
	.header-logo-link {
		transition: opacity var(--duration);
	}
	.header-logo-link:hover {
		opacity: 0.7;
	}
}

.header-trigger {
	position: relative;
	width: 37.6vw;
	padding-right: 4.27vw;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.header-trigger {
		display: none;
	}
}

.header-trigger::after {
	content: "";
	clip-path: polygon(50% 85%, 0 15%, 100% 15%);
	position: absolute;
	width: 2.67vw;
	height: 2.67vw;
	margin-left: auto;
	background: var(--blue);
	inset: 0;
}

.header-trigger.is-open::after {
	scale: 1 -1;
}

@media (max-width: 767px) {
	.nav {
		opacity: 0;
		visibility: hidden;
		position: absolute;
		top: var(--header-height);
		left: 0;
		z-index: 1;
		width: 37.6vw;
		width: 100%;
		padding: 5.87vw;
		box-sizing: border-box;
		background: var(--blue);
		transition: opacity var(--duration), visibility var(--duration);
	}

	.nav.is-open {
		opacity: 1;
		visibility: visible;
	}

	.nav-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 3.2vw;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.nav-list-item-link {
		display: grid;
		place-items: center;
		height: 19.2vw;
		overflow: clip;
		border-radius: 1.07vw;
		background: white;
	}

	.nav-list-item-link img {
		width: auto;
		height: 7.47vw;
	}

	.nav-list-item-link.nav-list-item-link-large img {
		height: 13.6vw;
	}
}

@media (min-width: 768px) {
	.nav-list {
		display: flex;
		gap: 24px;
		justify-content: flex-end;
		align-items: center;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.nav-list-item-link img {
		width: auto;
		height: 37px;
	}

	.nav-list-item-link.nav-list-item-link-large img {
		height: 61px;
	}
}

@media (any-hover: hover) {
	.nav-list-item-link {
		transition: opacity var(--duration);
	}

	.nav-list-item-link:hover {
		opacity: 0.7;
	}
}

.overlay {
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.overlay.is-open {
	visibility: visible;
}

@media (min-width: 768px) {
	.overlay {
		display: none;
	}
}
