:root {
	--chz-gh-bg: rgba(255, 253, 248, 0.96);
	--chz-gh-text: #17120f;
	--chz-gh-muted: #6a5c4f;
	--chz-gh-line: rgba(23, 18, 15, 0.12);
	--chz-gh-red: #b62917;
	--chz-gh-red-deep: #75140c;
	--chz-gh-paper: #fffdf8;
	--chz-gh-shadow: 0 16px 36px rgba(23, 18, 15, 0.08);
}

.l-header,
.l-fixHeader {
	display: none !important;
}

.chz-gh,
.chz-gh * {
	box-sizing: border-box;
}

.chz-gh {
	position: relative;
	z-index: 999;
	color: var(--chz-gh-text);
	font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.chz-gh a {
	color: inherit;
	text-decoration: none;
}

.chz-gh__bar {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--chz-gh-bg);
	border-bottom: 1px solid var(--chz-gh-line);
	backdrop-filter: blur(14px);
}

.admin-bar .chz-gh__bar {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.chz-gh__inner {
	display: grid;
	grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) auto;
	align-items: center;
	gap: 22px;
	width: min(1240px, calc(100% - 40px));
	min-height: 86px;
	margin: 0 auto;
}

.chz-gh__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	min-width: 0;
	max-width: 280px;
}

.chz-gh__logo {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.chz-gh__logo img,
.chz-gh__logo .custom-logo,
.chz-gh__fallback-logo {
	display: block;
	width: auto;
	max-width: min(220px, 100%);
	max-height: 64px;
}

.chz-gh__brand-name {
	font-size: 1.7rem;
	font-weight: 900;
	letter-spacing: 0.04em;
}

.chz-gh__brand-copy {
	display: none !important;
}

.chz-gh__nav {
	display: flex;
	justify-content: flex-end;
	min-width: 0;
	overflow: visible;
}

.chz-gh__menu,
.chz-gh__drawer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.chz-gh__menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	flex-wrap: nowrap;
}

.chz-gh__menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

.chz-gh__menu > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 86px;
	padding: 0 12px;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
	transition: color 180ms ease, opacity 180ms ease;
}

.chz-gh__nav .c-submenuToggleBtn {
	display: none !important;
}

.chz-gh__menu > li:hover > a,
.chz-gh__menu > li:focus-within > a,
.chz-gh__menu > li.current-menu-item > a,
.chz-gh__menu > li.current-menu-ancestor > a {
	color: var(--chz-gh-red);
}

.chz-gh__menu > li.is-reserve > a {
	min-height: 46px;
	padding: 0 18px;
	color: #fff;
	font-weight: 900;
	background: linear-gradient(180deg, var(--chz-gh-red) 0%, var(--chz-gh-red-deep) 100%);
	box-shadow: 0 10px 20px rgba(182, 41, 23, 0.18);
}

.chz-gh__menu > li.is-reserve > a::after {
	content: none;
}

.chz-gh__menu .sub-menu {
	position: absolute;
	left: 0;
	top: calc(100% + 10px);
	display: flex;
	flex-direction: column;
	min-width: 240px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--chz-gh-paper);
	border: 1px solid var(--chz-gh-line);
	box-shadow: var(--chz-gh-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	z-index: 30;
}

.chz-gh__menu > li:hover > .sub-menu,
.chz-gh__menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.chz-gh__menu .sub-menu li {
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
}

.chz-gh__menu .sub-menu a {
	display: block;
	padding: 10px 18px;
	background: transparent;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.chz-gh__menu .sub-menu .is-reserve > a,
.chz-gh__menu .sub-menu a:hover,
.chz-gh__menu .sub-menu li.current-menu-item > a {
	color: var(--chz-gh-red);
	background: rgba(182, 41, 23, 0.05);
}

.chz-gh__menu .sub-menu .sub-menu {
	top: -11px;
	left: calc(100% - 1px);
	opacity: 0;
	visibility: hidden;
	transform: translateX(8px);
}

.chz-gh__menu .sub-menu li:hover > .sub-menu,
.chz-gh__menu .sub-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.chz-gh__menu .sub-menu > li.menu-item-has-children > a {
	padding-right: 34px;
}

.chz-gh__menu .sub-menu > li.menu-item-has-children > a::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}

.chz-gh__mobile-control {
	display: none;
}

.chz-gh__toggle,
.chz-gh__drawer-close {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.chz-gh__toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 48px;
	height: 48px;
	padding: 0;
	color: var(--chz-gh-text);
}

.chz-gh__toggle-line {
	display: block;
	width: 24px;
	height: 2px;
	margin: 0 auto;
	background: currentColor;
}

.chz-gh__drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	width: min(92vw, 420px);
	background: var(--chz-gh-paper);
	border-left: 1px solid var(--chz-gh-line);
	box-shadow: -16px 0 32px rgba(23, 18, 15, 0.08);
	transform: translateX(100%);
	transition: transform 220ms ease;
}

.admin-bar .chz-gh__drawer {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.chz-gh.is-open .chz-gh__drawer {
	transform: translateX(0);
}

.chz-gh__drawer-inner {
	height: 100%;
	padding: 22px 22px 28px;
	overflow-y: auto;
}

.chz-gh__drawer-head {
	position: sticky;
	top: -22px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: -22px -22px 0;
	padding: 18px 22px 18px;
	background: var(--chz-gh-paper);
	padding-bottom: 18px;
	border-bottom: 1px solid var(--chz-gh-line);
}

.chz-gh__drawer-kicker {
	margin: 0;
	color: var(--chz-gh-red);
	font-family: "Barlow Condensed", sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.chz-gh__drawer-close {
	position: relative;
	width: 34px;
	height: 34px;
	padding: 0;
}

.chz-gh__drawer-close::before,
.chz-gh__drawer-close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20px;
	height: 2px;
	background: var(--chz-gh-text);
}

.chz-gh__drawer-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.chz-gh__drawer-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.chz-gh__drawer-nav {
	padding-top: 18px;
}

.chz-gh__drawer-menu > li + li {
	border-top: 1px solid var(--chz-gh-line);
}

.chz-gh__drawer-menu > li > a {
	position: relative;
	display: block;
	padding: 15px 38px 15px 0;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.5;
}

.chz-gh__drawer-menu > li.is-reserve > a,
.chz-gh__drawer-menu li.current-menu-item > a,
.chz-gh__drawer-menu li.current-menu-ancestor > a {
	color: var(--chz-gh-red);
}

.chz-gh__drawer-menu > li.is-reserve > a {
	display: block;
	width: auto;
	margin-top: 0;
	padding: 15px 38px 15px 0;
	color: var(--chz-gh-red);
	background: transparent;
}

.chz-gh__drawer-menu .sub-menu {
	margin: 0 0 14px;
	padding: 0 0 0 14px;
	border-left: 1px solid var(--chz-gh-line);
}

.chz-gh__drawer-menu .sub-menu .sub-menu {
	margin: 8px 0 0;
	padding-left: 14px;
}

.chz-gh__drawer-menu .sub-menu li + li {
	margin-top: 6px;
}

.chz-gh__drawer-menu .sub-menu a {
	display: block;
	padding: 6px 30px 6px 0;
	color: var(--chz-gh-muted);
	font-size: 0.92rem;
	font-weight: 700;
}

.chz-gh__drawer-nav .c-submenuToggleBtn {
	position: absolute;
	right: 0;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--chz-gh-muted);
	transform: translateY(-50%);
}

.chz-gh__drawer-nav .sub-menu .c-submenuToggleBtn {
	display: none !important;
}

.chz-gh__drawer-nav .c-submenuToggleBtn::before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid currentColor;
	transition: transform 180ms ease;
}

.chz-gh__drawer-nav .c-submenuToggleBtn::after {
	content: none !important;
}

.chz-gh__drawer-nav .c-submenuToggleBtn.-active::before,
.chz-gh__drawer-nav .menu-item.-active > a > .c-submenuToggleBtn::before,
.chz-gh__drawer-nav .menu-item.-open > a > .c-submenuToggleBtn::before,
.chz-gh__drawer-nav .menu-item:hover > a > .c-submenuToggleBtn::before,
.chz-gh__drawer-nav .menu-item:focus-within > a > .c-submenuToggleBtn::before {
	transform: rotate(180deg);
}

.chz-gh__overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: rgba(15, 11, 9, 0.34);
	opacity: 0;
	transition: opacity 220ms ease;
}

.chz-gh.is-open .chz-gh__overlay {
	opacity: 1;
}

@media (max-width: 1200px) {
	body.is-chz-gh-open .czmfb {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.chz-gh__inner {
		grid-template-columns: 1fr auto;
		gap: 16px;
		min-height: 74px;
		width: min(100% - 24px, 1240px);
	}

	.chz-gh__logo img,
	.chz-gh__logo .custom-logo {
		max-width: 172px;
		max-height: 48px;
	}

	.chz-gh__nav {
		display: none;
	}

	.chz-gh__mobile-control {
		display: block;
	}
}

@media (max-width: 768px) {
	.chz-gh {
		position: sticky;
		top: 0;
		z-index: 999;
	}

	.admin-bar .chz-gh {
		top: var(--wp-admin--admin-bar--height, 46px);
	}

	.chz-gh__bar {
		position: relative;
		top: auto;
	}
}
