@charset "UTF-8";
/*-----------------------*/

/* ヘッダー

/*-----------------------*/
:root {
	--header-height: 100px;
	--header-height--is-change: 50px;
	--header-logo-size: 165px;
}
@media(max-width: 959px) {
	:root {
		--header-height: 50px;
		--header-logo-size: 160px;
	}
}
@media(max-width: 559px) {
	:root {
		--header-logo-size: 150px;
	}
}
#header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;

	width: 100%;
	min-height: var(--header-height);
	padding: 0 var(--gutter-var-md);

	background-color: var(--color-base);

	transition: background-color .3s var(--linear),
	min-height .3s var(--linear);

	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
}
#index #header {
	background-color: transparent;
}
@media (min-width: 960px) {
	#header.is-change {
		min-height: var(--header-height--is-change);
		background-color: transparent;
		pointer-events: none;
	}
	#header.is-change #header-logo,
	#header.is-change #nav__wrapper,
	#header.is-change #nav-open-button,
	#header.is-change #nav__cover {
		pointer-events: all;
	}
}
@media (any-hover: hover) and (min-width: 960px) {
	#header.is-change:hover,
	#index #header.is-change:hover {
		background-color: rgba(1, 26, 67, 0.5);
		-webkit-backdrop-filter: blur(4px) saturate(110%);
		        backdrop-filter: blur(4px) saturate(110%);
	}
}
@media(max-width: 959px) {
	#header {
		min-height: calc(var(--header-height) + 20px);
		position: absolute;
	}
}


/* ===================
ロゴ */
#header-logo a {
	display: inline-block;

	width: var(--header-logo-size);
	max-width: 100%;

	display: flex;
	align-items: center;
	justify-content: center;
}
#header-logo svg {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 960px) {
	#header-logo a {
		transition: transform .25s var(--linear);
	}
	#header.is-change #header-logo a {
		transform: scale(0.8);
		transform-origin: center center;
	}
}
@media (max-width: 959px) {
	#header-logo a {
		max-height: var(--header-height);
	}
	#header-logo svg {
		width: 80%;
	}
}