.yokuchi-header-center .site-header__inner,
.yokuchi-header-stacked .site-header__inner {
	justify-content: center;
}

.yokuchi-header-center .site-branding {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.yokuchi-header-stacked .site-header__inner {
	flex-direction: column;
	gap: 14px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.yokuchi-sidebar-left .site-main.ast-container {
	grid-template-columns: 300px minmax(0, 1fr);
}

.yokuchi-sidebar-left .content-area {
	order: 2;
}

.yokuchi-sidebar-left .widget-area {
	order: 1;
}

.yokuchi-sidebar-none .site-main.ast-container {
	display: block;
}

.yokuchi-content-unboxed .ast-article-single,
.yokuchi-content-unboxed .widget {
	padding: 0;
	background: transparent;
	border: 0;
}

:root {
	--yokuchi-ink: #2b2b2b;
	--yokuchi-black: #141515;
	--yokuchi-muted: #6e6e6e;
	--yokuchi-paper: #faf9f7;
	--yokuchi-wash: #f0f0f0;
	--yokuchi-red: #e31e24;
	--yokuchi-red-dark: #c5161b;
	--yokuchi-line: #c9c9c9;
	--yokuchi-menu-gray: #bebebe;
	--yokuchi-shadow: none;
}

/* Footer hard reset: also catches a saved Site Editor footer template part. */
footer .yokuchi-site-footer,
footer > .wp-block-group:first-child,
.yokuchi-site-footer {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 74px 0 82px !important;
	border: 0 !important;
	background: transparent !important;
	color: #6e6e6e !important;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

footer .yokuchi-footer-grid,
.yokuchi-site-footer .yokuchi-footer-grid {
	position: relative !important;
	box-sizing: border-box !important;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(auto, max-content)) !important;
	gap: 32px !important;
	align-items: start !important;
	max-width: 1442px !important;
	width: min(calc(100% - 48px), 1442px) !important;
	margin: 0 auto !important;
	padding-top: 74px !important;
}

@media screen and (min-width: 782px) {
	footer .yokuchi-footer-grid,
	.yokuchi-site-footer .yokuchi-footer-grid{
			display: flex !important;
			flex-wrap: wrap !important;
	}
	
	footer .yokuchi-footer-grid > *,
	.yokuchi-site-footer .yokuchi-footer-grid > * {
		flex: 1;
		min-width: max-content;
		max-width: max-content;
	}
	
	footer .yokuchi-footer-grid > .yokuchi-footer-brand {
		min-width: 250px !important;
		max-width: 320px;
	}
}

@media screen and (min-width: 1280px) {
	footer .yokuchi-footer-grid,
	.yokuchi-site-footer .yokuchi-footer-grid{
			justify-content: space-between;
	}
}

footer .yokuchi-footer-col__toggle, .yokuchi-site-footer .yokuchi-footer-col__toggle {
	min-height: max-content;
}

footer .yokuchi-footer-grid::before,
.yokuchi-site-footer .yokuchi-footer-grid::before {
	content: "" !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	height: 1px !important;
	background: #d6d6d6 !important;
}

footer .yokuchi-footer-brand,
footer .yokuchi-footer-col,
.yokuchi-site-footer .yokuchi-footer-brand,
.yokuchi-site-footer .yokuchi-footer-col {
	margin: 0 !important;
	padding: 0 !important;
}

footer .yokuchi-footer-logo,
.yokuchi-site-footer .yokuchi-footer-logo {
	width: 156px !important;
	height: 23px !important;
	margin: 0 0 32px !important;
	line-height: 0 !important;
}

footer .yokuchi-footer-logo img,
.yokuchi-site-footer .yokuchi-footer-logo img {
	display: block !important;
	width: 156px !important;
	height: 23px !important;
	object-fit: contain !important;
}

footer .yokuchi-footer-brand p,
footer .yokuchi-footer-col li,
footer .yokuchi-footer-col a,
.yokuchi-site-footer .yokuchi-footer-brand p,
.yokuchi-site-footer .yokuchi-footer-col li,
.yokuchi-site-footer .yokuchi-footer-col a {
	margin: 0 !important;
	padding: 0 !important;
	color: #6e6e6e !important;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 14px !important;
	font-weight: 300 !important;
	letter-spacing: 0 !important;
	line-height: 24px !important;
	list-style: none !important;
	text-decoration: none !important;
}

footer .yokuchi-footer-col h3,
.yokuchi-site-footer .yokuchi-footer-col h3 {
	margin: 0 0 28px !important;
	padding: 0 !important;
	color: #2b2b2b !important;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	letter-spacing: 4px !important;
	line-height: 24px !important;
	text-transform: uppercase !important;
}

footer .yokuchi-footer-col__toggle,
.yokuchi-site-footer .yokuchi-footer-col__toggle {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
	font: inherit !important;
	letter-spacing: inherit !important;
	line-height: inherit !important;
	text-align: left !important;
	text-transform: inherit !important;
	cursor: default !important;
}

footer .yokuchi-footer-col ul,
.yokuchi-site-footer .yokuchi-footer-col ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

footer .yokuchi-footer-social,
.yokuchi-site-footer .yokuchi-footer-social {
	margin: 34px 0 0 !important;
	display: flex !important;
	gap: 8px !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

footer .yokuchi-footer-social::before,
footer .yokuchi-footer-social::after,
.yokuchi-site-footer .yokuchi-footer-social::before,
.yokuchi-site-footer .yokuchi-footer-social::after {
	content: none !important;
	display: none !important;
}

footer .yokuchi-footer-social::after,
.yokuchi-site-footer .yokuchi-footer-social::after {
	box-shadow: none !important;
}

@media (max-width: 781px) {
	footer .yokuchi-site-footer,
	footer > .wp-block-group:first-child,
	.yokuchi-site-footer {
		padding: 28px 0 42px !important;
	}

	footer.site-footer {
		border-top: 1px solid #d6d6d6 !important;
	}

	footer .yokuchi-footer-grid,
	.yokuchi-site-footer .yokuchi-footer-grid {
		display: block !important;
		width: calc(100% - 32px) !important;
		padding-top: 30px !important;
	}

	footer .yokuchi-footer-grid::before,
	.yokuchi-site-footer .yokuchi-footer-grid::before {
		display: none !important;
	}

	footer .yokuchi-footer-logo,
	.yokuchi-site-footer .yokuchi-footer-logo {
		margin-bottom: 24px !important;
	}

	footer .yokuchi-footer-brand p,
	.yokuchi-site-footer .yokuchi-footer-brand p {
		font-size: 12px !important;
		line-height: 1.45 !important;
	}

	footer .yokuchi-footer-social,
	.yokuchi-site-footer .yokuchi-footer-social {
		margin-top: 24px !important;
		margin-bottom: 28px !important;
	}

	footer .yokuchi-footer-col,
	.yokuchi-site-footer .yokuchi-footer-col {
		border-top: 0 !important;
		padding: 0 !important;
	}

	footer .yokuchi-footer-col h3,
	.yokuchi-site-footer .yokuchi-footer-col h3 {
		margin: 0 !important;
		font-size: 16px !important;
		line-height: 24px !important;
	}

	footer .yokuchi-footer-col__toggle,
	.yokuchi-site-footer .yokuchi-footer-col__toggle {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 10px !important;
		cursor: pointer !important;
		padding: 15px 0 !important;
	}

	footer .yokuchi-footer-col__toggle::after,
	.yokuchi-site-footer .yokuchi-footer-col__toggle::after {
		content: "" !important;
		width: 8px !important;
		height: 8px !important;
		border-right: 1px solid #bebebe !important;
		border-bottom: 1px solid #bebebe !important;
		transform: translateY(-2px) rotate(45deg) !important;
	}

	footer .yokuchi-footer-col.is-open .yokuchi-footer-col__toggle::after,
	.yokuchi-site-footer .yokuchi-footer-col.is-open .yokuchi-footer-col__toggle::after {
		border-color: #e31e24 !important;
		transform: translateY(2px) rotate(225deg) !important;
	}

	footer .yokuchi-footer-col ul,
	.yokuchi-site-footer .yokuchi-footer-col ul {
		display: none !important;
	}

	footer .yokuchi-footer-col.is-open ul,
	.yokuchi-site-footer .yokuchi-footer-col.is-open ul {
		display: block !important;
		margin-top: 14px !important;
	}
}
