@charset "UTF-8";

:root {
	--color-brand: #ebc041;
	--color-ink: #211615;
	--color-text: #111;
	--color-muted: #f0f0f0;
	--color-white: #fff;
	--font-display: "Baumans", sans-serif;
	--font-body: "Noto Sans JP", sans-serif;
	--content-width: 80rem;
	--header-height: 5.125rem;
	--space-section: clamp(4rem, 10vw, 8rem);
	--focus-ring: 0 0 0 3px #fff, 0 0 0 6px #111;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--color-text);
	background: var(--color-white);
	font-family: var(--font-body);
	line-height: 1.7;
	overflow-wrap: anywhere;
}

body.has-open-panel {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
	font: inherit;
}

:focus-visible {
	outline: none;
	box-shadow: var(--focus-ring);
}

[hidden] {
	display: none !important;
}

.c-skip-link {
	position: fixed;
	z-index: 1000;
	top: 0.5rem;
	left: 0.5rem;
	padding: 0.75rem 1rem;
	color: var(--color-white);
	background: var(--color-ink);
	transform: translateY(-150%);
}

.c-skip-link:focus {
	transform: translateY(0);
}

.l-container {
	width: min(calc(100% - 2rem), var(--content-width));
	margin-inline: auto;
}

.l-main {
	min-height: 60vh;
	padding-block: var(--space-section);
}

.l-header {
	position: sticky;
	z-index: 100;
	top: 0;
	border-top: 0.5rem solid var(--color-brand);
	background: var(--color-white);
	box-shadow: 0 0.2rem 0.8rem rgb(0 0 0 / 7%);
}

body.admin-bar .l-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .l-header {
		top: 46px;
	}
}

.l-header__inner {
	display: grid;
	grid-template-columns: 4.5rem 1fr 4.5rem;
	align-items: center;
	min-height: var(--header-height);
	border-bottom: 0;
}

.l-header__center {
	display: grid;
	place-items: center;
	min-width: 0;
}

.c-site-branding {
	display: grid;
	place-items: center;
	min-width: 0;
}

.c-site-branding .custom-logo {
	display: block;
	width: auto;
	max-width: 4.25rem;
	max-height: 3.5rem;
}

.c-site-branding__name {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 5vw, 2rem);
	text-decoration: none;
}

.c-site-branding__name img {
	display: block;
	width: 3.8rem;
	height: auto;
}

.c-header-action {
	display: grid;
	place-items: center;
	align-self: stretch;
	min-width: 2.75rem;
	padding: 0.4rem;
	border: 0;
	color: var(--color-text);
	background: var(--color-brand);
	cursor: pointer;
}

.c-header-navigation { display: none; }

.c-header-action__label {
	font-family: var(--font-display);
	font-size: 0.75rem;
	line-height: 1;
}

.c-header-action__icon {
	width: 1.45rem;
	height: 1.45rem;
	margin-bottom: 0.25rem;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.c-header-action__icon::after {
	display: block;
	width: 0.65rem;
	height: 2px;
	margin: 1.05rem 0 0 1rem;
	background: currentColor;
	content: "";
	transform: rotate(45deg);
	transform-origin: left center;
}

.c-menu-icon {
	display: grid;
	gap: 0.35rem;
	width: 1.85rem;
	margin-bottom: 0.35rem;
}

.c-menu-icon span {
	height: 2px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease;
}

.c-header-action[aria-expanded="true"] .c-menu-icon span:nth-child(1) {
	transform: translateY(0.45rem) rotate(45deg);
}

.c-header-action[aria-expanded="true"] .c-menu-icon span:nth-child(2) {
	opacity: 0;
}

.c-header-action[aria-expanded="true"] .c-menu-icon span:nth-child(3) {
	transform: translateY(-0.45rem) rotate(-45deg);
}

.c-search-panel,
.c-drawer {
	position: absolute;
	inset: 100% 0 auto;
	padding: 1rem;
	border-bottom: 1px solid var(--color-ink);
	background: var(--color-white);
	box-shadow: 0 0.75rem 1.5rem rgb(0 0 0 / 12%);
}

.c-talent-news-panel__title {
	margin: 0 0 .75rem;
	font-size: 1rem;
	font-weight: 700;
}

.c-talent-news-panel__desktop { display: none; }

.c-talent-news-panel__mobile select {
	display: block;
	width: 100%;
	min-height: 3rem;
	padding: .65rem 2.5rem .65rem .8rem;
	border: 1px solid #bbb;
	border-radius: .35rem;
	background: #fff;
	font-size: 1rem;
}

.c-drawer {
	max-height: calc(100vh - var(--header-height));
	max-height: calc(100dvh - var(--header-height));
	padding-bottom: max(2rem, env(safe-area-inset-bottom));
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.c-drawer__logo {
	display: flex;
	justify-content: center;
	padding: .5rem 1rem 1rem;
	border-bottom: 1px solid #eee;
}

.c-drawer__logo img {
	display: block;
	width: 4.75rem;
	height: auto;
}

.c-default-thumbnail {
	display: grid;
	width: 100%;
	aspect-ratio: 16 / 9;
	place-items: center;
	background: linear-gradient(135deg, #f7f7f7, #e5e5e5);
}

.c-default-thumbnail--square {
	aspect-ratio: 1;
}

.c-default-thumbnail .c-default-thumbnail__logo {
	display: block;
	width: min(32%, 6rem) !important;
	height: auto !important;
	object-fit: contain !important;
	opacity: .85;
}

/* Section headings inside post bodies only. Page titles and card headings
   intentionally remain outside this selector. */
.c-entry-content h2,
.p-news-single__content h2 {
	margin: clamp(2rem, 6vw, 3.25rem) 0 clamp(1rem, 3vw, 1.5rem);
	padding: .8em 1em .8em 1.15em;
	border-left: .38rem solid var(--color-brand);
	border-bottom: 1px solid #dedede;
	background: linear-gradient(90deg, rgb(235 192 65 / 12%), rgb(235 192 65 / 2%) 72%, transparent);
	font-size: clamp(1.25rem, 3vw, 1.65rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .02em;
	overflow-wrap: anywhere;
}

.c-entry-content h2:first-child,
.p-news-single__content h2:first-child {
	margin-top: 1rem;
}

@media (max-width: 35rem) {
	.c-entry-content h2,
	.p-news-single__content h2 {
		padding: .7em .8em .7em .9em;
		border-left-width: .3rem;
	}
}

.c-menu {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-menu--primary {
	flex-direction: column;
}

.c-menu a {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: 0.6rem;
	text-decoration: none;
}

.c-drawer .c-menu--primary a::before {
	width: 1.35rem;
	height: 1.35rem;
	flex: 0 0 1.35rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	filter: invert(79%) sepia(76%) saturate(766%) hue-rotate(348deg) brightness(97%) contrast(91%);
}

.c-drawer .c-menu--primary li:nth-child(1) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 3l9 8'/%3E%3Cpath d='M5 10v10h14V10M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.c-drawer .c-menu--primary li:nth-child(2) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v14H4zM8 9h8M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.c-drawer .c-menu--primary li:nth-child(3) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M3 20c0-4 2.5-6 6-6s6 2 6 6M14 15c3.5-.7 6 1 7 4'/%3E%3C/svg%3E"); }
.c-drawer .c-menu--primary li:nth-child(4) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18M7 14h3M14 14h3M7 18h3'/%3E%3C/svg%3E"); }
.c-drawer .c-menu--primary li:nth-child(5) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='3' width='6' height='12' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3M8 21h8'/%3E%3C/svg%3E"); }
.c-drawer .c-menu--primary li:nth-child(6) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m10 9 5 3-5 3z'/%3E%3C/svg%3E"); }
.c-drawer .c-menu--primary li:nth-child(7) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M8.5 8.5a5 5 0 0 0 0 7M15.5 8.5a5 5 0 0 1 0 7M5.5 5.5a9 9 0 0 0 0 13M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }
.c-drawer .c-menu--primary li:nth-child(8) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2H11v18H7.5A3.5 3.5 0 0 0 4 23zM20 5.5A3.5 3.5 0 0 0 16.5 2H13v18h3.5A3.5 3.5 0 0 1 20 23z'/%3E%3C/svg%3E"); }
.c-drawer .c-menu--primary li:nth-child(9) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }

.c-drawer-services {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #ddd;
}

.c-drawer-services h2 {
	margin: 0 0 .75rem;
	color: var(--color-brand);
	font-size: .9rem;
	font-weight: 700;
	text-align: center;
}

.c-drawer-services__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .5rem;
}

.c-drawer-services__grid a {
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	align-items: center;
	gap: .5rem;
	min-width: 0;
	padding: .65rem;
	border-radius: .4rem;
	background: #fff;
	box-shadow: 0 .15rem .6rem rgb(0 0 0 / 10%);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.c-drawer-services__grid img {
	display: block;
	width: 2.25rem;
	height: 2.25rem;
	object-fit: contain;
}

.l-footer {
	text-align: center;
}

.l-footer__social {
	display: grid;
	place-items: center;
	min-height: 4.2rem;
	padding: 1rem;
	background: var(--color-brand);
}

.l-footer__social-list,
.l-footer__links {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.l-footer__social-list {
	gap: 1.625rem;
}

.c-footer-social {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
}

.c-footer-social__icon,
.p-sns__profile-icon {
	position: relative;
	display: block;
	width: 2rem;
	height: 2rem;
}

.c-footer-social__icon img,
.p-sns__profile-icon img {
	position: absolute;
	display: block;
	pointer-events: none;
}

.c-footer-social__icon svg,
.p-sns__profile-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.c-footer-social__base { inset: 0; width: 100%; height: 100%; }
.c-footer-social__single { inset: 18%; width: 64%; height: 64%; object-fit: contain; }
.c-footer-social__instagram-outline { inset: 14.06%; width: 71.88%; height: 71.88%; }
.c-footer-social__instagram-circle { inset: 34.38%; width: 31.24%; height: 31.24%; }
.c-footer-social__instagram-dot { top: 25%; right: 25%; width: 9.38%; height: 9.38%; }
.c-footer-social__youtube-outline { inset: 18.91% 9.38%; width: 81.24%; height: 62.18%; }
.c-footer-social__youtube-play { inset: 37.5% 37.5% 37.5% 43.75%; width: 18.75%; height: 25%; }

.l-footer__navigation {
	padding: 0.7rem 1rem;
	color: var(--color-white);
	background: var(--color-ink);
}

.l-footer__links {
	flex-wrap: wrap;
	gap: 0 0.7rem;
}

.l-footer__links li:not(:last-child)::after {
	margin-left: 0.7rem;
	content: "|";
}

.l-footer__links a {
	font-size: 0.75rem;
	line-height: 1.75;
	text-decoration: none;
}

.l-footer .c-menu {
	flex-wrap: wrap;
	justify-content: center;
}

.l-footer__copyright {
	margin: 0;
	padding: 0.9rem 1rem;
	border-top: 1px solid var(--color-ink);
	font-family: var(--font-display);
	letter-spacing: 0.04em;
}

@media (min-width: 48rem) {
	.l-footer__social-list { gap: 2.25rem; }
	.l-footer__links a { font-size: 0.9rem; }
}

.c-entry__title {
	font-size: clamp(1.75rem, 5vw, 3rem);
	line-height: 1.3;
}

.c-button {
	display: inline-flex;
	justify-content: center;
	padding: 0.55rem 2rem;
	border: 2px solid var(--color-brand);
	border-radius: 100vmax;
	text-decoration: none;
}

.u-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.c-error-page {
	text-align: center;
}

.c-error-page__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(5rem, 20vw, 10rem);
	line-height: 1;
}

@media (max-width: 63.999rem) {
	.l-header {
		padding-top: 0;
	}

	.l-header__inner {
		margin-inline: 0;
		border-radius: 0;
		background: var(--color-white);
		overflow: hidden;
	}

	.l-header__center {
		align-self: stretch;
		background: var(--color-white);
	}

	.c-site-branding__name img {
		width: 4.35rem;
	}

	.c-site-branding .custom-logo {
		max-width: 4.75rem;
		max-height: 4rem;
	}
}

@media (max-width: 47.999rem) {
	:root { --header-height: 4.5rem; }
	.l-header__inner { grid-template-columns: 4.6rem 1fr 4.6rem; }
	.c-header-action { background: var(--color-white); }
	.c-header-action__icon { width: 1.85rem; height: 1.85rem; }
	.c-header-action__icon::after { margin: 1.35rem 0 0 1.3rem; }
	.c-menu-icon { width: 1.85rem; }
	.c-site-branding__name img { width: 3.8rem; }
	.c-site-branding .custom-logo { max-width: 4.25rem; max-height: 3.5rem; }
}

@media (min-width: 64rem) {
	body.has-open-panel { overflow: visible; }

	.c-search-panel {
		inset: 100% auto auto max(1rem, calc((100% - var(--content-width)) / 2));
		width: min(56rem, calc(100% - 2rem));
		border: 1px solid #ddd;
		border-top: .3rem solid var(--color-brand);
		border-radius: 0 0 .45rem .45rem;
	}

	.c-talent-news-panel__desktop {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: .15rem .75rem;
		max-height: min(60vh, 32rem);
		overflow-y: auto;
	}

	.c-talent-news-panel__desktop a {
		padding: .45rem .55rem;
		border-radius: .25rem;
		font-size: .84rem;
		line-height: 1.4;
		text-decoration: none;
	}

	.c-talent-news-panel__desktop a:hover,
	.c-talent-news-panel__desktop a:focus-visible { background: #fff5d6; }
	.c-talent-news-panel__mobile { display: none; }

	.c-drawer {
		inset: 100% max(1rem, calc((100% - var(--content-width)) / 2)) auto auto;
		width: min(24rem, calc(100% - 2rem));
		max-height: calc(100vh - var(--header-height) - 1rem);
		max-height: calc(100dvh - var(--header-height) - 1rem);
		padding: .4rem;
		border: 1px solid #ddd;
		border-top: .3rem solid var(--color-brand);
		border-radius: 0 0 .45rem .45rem;
		overflow-y: auto;
	}

	.c-drawer .c-menu--primary { gap: 0; }
	.c-drawer .c-menu--primary li + li { border-top: 1px solid #eee; }
	.c-drawer .c-menu--primary a {
		padding: 1rem 1.1rem;
		font-size: 1rem;
		line-height: 1.5;
	}
	.c-drawer .c-menu--primary a:hover,
	.c-drawer .c-menu--primary a:focus-visible { background: #f7f2e5; }

	.l-header__inner {
		width: min(calc(100% - 2rem), var(--content-width));
		margin-inline: auto;
		grid-template-columns: 4.75rem minmax(0, 1fr) 4.75rem;
		gap: clamp(1rem, 2vw, 2rem);
	}

	.l-header__center {
		grid-template-columns: auto minmax(0, 1fr);
		gap: clamp(1.5rem, 3vw, 3rem);
	}

	.c-site-branding__name img { width: 4.35rem; }
	.c-site-branding .custom-logo { max-width: 4.75rem; max-height: 4.25rem; }

	.c-header-navigation { display: block; min-width: 0; }
	.c-header-navigation ul { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 1.55vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
	.c-header-navigation a { display: block; padding: .65rem 0; color: #222; font-size: clamp(.72rem, .85vw, .9rem); font-weight: 700; text-decoration: none; white-space: nowrap; }
	.c-header-navigation a:hover { color: #9a7400; text-decoration: underline; text-decoration-color: var(--color-brand); text-decoration-thickness: 3px; text-underline-offset: .45rem; }
	.c-header-action { min-height: 4.75rem; }
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
