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

/* ヘッダー

/*-----------------------*/
:root {
	--header-height: 80px;
	--header-height--is-change: 50px;
}
@media(max-width: 959px) {
	:root {
		--header-height: 50px;
	}
}
#header {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;

	width: 100%;
	min-height: var(--header-height);
	padding-inline: var(--gutter-var-8x);

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

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

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

	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
}
@media (min-width: 960px) {
	body {
		container-type: inline-size;
	}
	@container (max-width: 1201px) {
		#header {
			padding-inline: var(--gutter-var-reg);
		}
	}
	#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 (min-width: 960px) and (any-hover: hover) {
	#header.is-change:hover,
	#header.is-change:has(:focus-visible) {
		background-color: rgba(255, 255, 255, 0.7);
		-webkit-backdrop-filter: blur(4px) saturate(110%);
		        backdrop-filter: blur(4px) saturate(110%);
		min-height: var(--header-height);
		pointer-events: all;
	}
}
@media(max-width: 959px) {
	#header {
		position: absolute;
		padding-block: calc(var(--header-height) / 3);
	}
	body:is(#index) #header {
		background-color: transparent;
	}
}


/* ===================
ロゴ */
#header-logo {
	-ms-flex-item-align: center;
	    align-self: center;
	-webkit-transform: translateY(5px);
	        transform: translateY(5px);
}
#header-logo a {
	display: inline-block;

	width: 200px;
	max-width: 100%;
}
#header-logo img {
	width: 100%;
	height: auto;
}
@media (max-width: 559px) {
	#header-logo a {
		width: 180px;
	}
}
@media (max-width: 376px) {
	#header-logo a {
		width: 160px;
	}
}