/* ==================================================
   JOB DETAIL: job and interview article layout
   ================================================== */
.career-detail {
	color: var(--brand-ink);
}

/* ==================================================
   CAREER ARCHIVE: job and interview listing cards
   ================================================== */
.career-archive {
	padding-block: clamp(128px, 12vw, 200px);
	background: #fff;
	color: var(--brand-ink);
}

.career-archive__container {
	width: min(100% - (var(--site-gutter) * 2), 960px);
	margin-inline: auto;
}

.career-archive__header {
	margin-bottom: 72px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--brand-purple);
	text-align: center;
}

.career-archive__header h1 {
	margin: 0;
	color: var(--brand-purple);
	font-size: clamp(2rem, 3.4vw, 3.5rem);
	font-weight: 600;
	letter-spacing: .12em;
	line-height: 1.35;
}

.career-archive__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.career-archive-card {
	margin: 0;
}

.career-archive-card__link {
	position: relative;
	height: 100%;
	overflow: hidden;
}

.career-archive-card__status {
	position: absolute;
	top: 10px;
	right: -34px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 128px;
	height: 28px;
	padding: 0;
	background: var(--brand-purple);
	clip-path: none;
	box-shadow: 0 4px 10px rgb(0 0 0 / 16%);
	transform: rotate(45deg);
}

.career-archive-card__status-text {
	color: #fff;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1;
}

.career-archive-card .career-card h2 {
	margin: 0;
	color: var(--brand-purple);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.6;
}

.career-card__title-group {
	display: flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
}

.career-card__title-group .career-card__name { font-size: 1.125rem; }

.career-card__title-group .career-card__title-slash {
	display: block;
	width: 1px;
	height: 1.2em;
	flex: 0 0 1px;
	background: currentColor;
	transform: skewX(-45deg);
}

.career-card__title-group .career-card__role {
	position: relative;
	top: .08em;
	font-size: .8125rem;
	font-weight: 400;
	letter-spacing: .08em;
}

.career-archive-card .career-card p {
	margin: 12px 0 0;
	font-size: .8125rem;
	letter-spacing: .04em;
	line-height: 1.8;
}

.career-archive__empty {
	margin: 0;
	color: var(--brand-ink-light);
	text-align: center;
}

.career-detail__container,
.career-related__container {
	width: min(100% - (var(--site-gutter) * 2), 960px);
	margin-inline: auto;
}

.career-detail__container {
	padding-block: clamp(80px, 8vw, 80px);
}

.career-detail__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
	align-items: end;
	gap: 48px;
	border-bottom: 1px solid var(--brand-purple);
}

.career-detail__heading h1 {
	margin: 0;
	color: var(--brand-purple);
	font-size: clamp(2rem, 3.4vw, 3.5rem);
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.35;
}

.career-detail__title-role {
	font-weight: 400;
}

.career-detail--bwk_interview .career-detail__title-group {
	display: inline-flex;
	align-items: stretch;
	gap: 28px;
	color: var(--brand-purple);
}

.career-detail--bwk_interview .career-detail__title-group h1 {
	line-height: 1.35;
}

.career-detail--bwk_interview .career-detail__title-slash {
	display: block;
	width: 1px;
	min-height: 1px;
	flex: 0 0 1px;
	align-self: stretch;
	background: currentColor;
}

.career-detail--bwk_interview .career-detail__title-role {
	position: relative;
	top: .3em;
	display: flex;
	align-items: center;
	align-self: stretch;
	margin: 0;
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	letter-spacing: .08em;
	line-height: 1.6;
}

.career-detail__excerpt {
	color: var(--brand-ink-light);
	font-size: 1rem;
	letter-spacing: .08em;
	line-height: 1.8;
}

.career-detail--bwk_interview .career-detail__excerpt { margin-top: 32px; }

.career-detail__eyecatch {
	margin: 0;
}

.career-detail__eyecatch img {
	display: block;
	width: 100%;
	height: auto;
}

.career-detail__body {
	--career-section-space: 72px;
	max-width: 100%;
	padding-top: 56px;
}

.career-detail__body h2 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 28px;
	padding: 0 16px 0 calc(16px + .5em);
	background: var(--brand-purple);
	color: #fff;
	font-family: "M PLUS Code Latin", monospace;
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: .5em;
	line-height: 0.9;
}

.career-detail__body > * + :is(.wp-block-group, section) {
	margin-top: var(--career-section-space);
}

.career-detail--bwk_interview .career-detail__body .wp-block-group__inner-container > * + .wp-block-group {
	margin-top: var(--career-section-space);
}

.career-detail__body p,
.career-detail__body li {
	margin: 0;
	font-size: 1rem;
	letter-spacing: .04em;
	line-height: 2;
}

.career-detail__body p + p {
	margin-top: 1.2em;
}

.career-detail__body strong {
	color: var(--brand-purple);
	font-weight: 600;
}

.career-detail__body ul,
.career-detail__body ol {
	margin: 0;
	padding-left: 1.4em;
	color: var(--brand-ink);
}

.career-detail--bwk_job .career-detail__body li::marker {
	color: var(--brand-purple);
}

.career-detail__body li + li {
	margin-top: .5em;
}

/* ==================================================
   INTERVIEW DETAIL: question headings and text emphasis
   ================================================== */
.career-detail--bwk_interview .career-detail__body h2 {
	position: relative;
	display: block;
	margin: 0 0 28px;
	padding: 0 0 16px;
	background: transparent;
	color: var(--brand-purple);
	font-family: inherit;
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.6;
}

.career-detail__body-title-border {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background-color: var(--brand-purple);
}

.career-detail__body h2:not(:first-child) {
	margin-top: var(--career-section-space);
}

.career-detail--bwk_interview .career-detail__body strong {
	color: var(--brand-purple);
}

.career-detail--bwk_interview .career-detail__body :is(mark, u, [style*="text-decoration: underline"]) {
	padding-inline: .08em;
	background: linear-gradient(transparent 50%, #ffff00 50%);
	color: var(--brand-ink) !important;
	font-weight: inherit;
	text-decoration: none !important;
}

@media (prefers-reduced-motion: no-preference) {
	.career-detail--bwk_interview .career-detail__body .js-highlight-reveal {
		background-repeat: no-repeat;
		background-position: 0 0;
		background-size: 0 100%;
		transition: background-size 520ms cubic-bezier(.22, 1, .36, 1) var(--highlight-reveal-delay, 0ms);
	}

	.career-detail--bwk_interview .career-detail__body .js-highlight-reveal.is-highlight-revealed {
		background-size: 100% 100%;
	}
}

/* ==================================================
   INTERVIEW DETAIL: daily timetable block
   ================================================== */
.career-detail--bwk_interview .interview-section--timetable {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding-block: var(--career-section-space);
	padding-inline: var(--site-gutter);
	background: #f0f0f0;
}

.career-detail--bwk_interview .interview-section--timetable .interview-timetable {
	width: min(100%, 960px);
	margin-inline: auto;
}

.career-detail--bwk_interview .interview-timetable h2 { margin: 0 0 28px; }

.interview-timetable__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.interview-timetable__row {
	position: relative;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	align-items: flex-start;
	column-gap: 64px;
	min-height: 72px;
	margin: 0;
}

.career-detail__body .interview-timetable__row + .interview-timetable__row {
	margin-top: 0;
}

.interview-timetable__row::before {
	position: absolute;
	left: 120px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--brand-purple);
	content: "";
}

.interview-timetable__row:first-child::before { top: 12px; }
.interview-timetable__row:last-child::before { bottom: calc(100% - 12px); }

.interview-timetable__row::after {
	position: absolute;
	left: 116px;
	top: 8px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--brand-purple);
	content: "";
}

.interview-timetable__time,
.interview-timetable__description {
	margin: 0 !important;
}

.interview-timetable__time {
	grid-column: 1;
	color: var(--brand-purple);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.6;
	text-align: right;
}

.interview-timetable__description {
	grid-column: 2;
	padding-bottom: 24px;
	color: var(--brand-ink);
	font-size: .875rem;
	line-height: 1.8;
}

/* ==================================================
   JOB DETAIL: selected recruitment and interview cards
   ================================================== */
.career-related__section {
	padding-block: clamp(72px, 8vw, 80px);
}

.career-related__section--jobs {
	background: #f0f0f0;
}

.career-related__section h2 {
	margin: 0 0 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--brand-purple);
	color: var(--brand-purple);
	font-family: "M PLUS Code Latin", monospace;
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 400;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
}

.career-related__jobs {
	display: grid;
	gap: 32px;
}

.recruit-link-card {
	position: relative;
	display: block;
	padding: 36px 48px;
	border: 1px solid var(--brand-purple);
	background: #fff;
	color: var(--brand-ink);
	text-decoration: none;
}

.recruit-link-card.is-closed {
	border-color: #9a9a9a;
	color: #8a8a8a;
}

.recruit-link-card.is-open {
	transition: opacity .25s ease;
}

.recruit-link-card.is-open:hover,
.recruit-link-card.is-open:focus-visible {
	opacity: .72;
}

.recruit-link-card__body {
	max-width: calc(100% - 56px);
}

.recruit-link-card h3 {
	display: table;
	margin: 0;
	padding: 4px 16px;
	width: 90%;
	background: var(--brand-purple);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.4;
}

.recruit-link-card.is-closed h3 { background: #8a8a8a; }

.recruit-link-card__description p {
	margin: 22px 0 0;
	font-size: .875rem;
	letter-spacing: .04em;
	line-height: 1.9;
}

.recruit-link-card__more,
.career-card__more {
	display: flex;
	align-items: center;
	width: min(100%, 360px);
	margin-top: 28px;
	color: currentColor;
	font-family: "M PLUS Code Latin", monospace;
	font-size: .875rem;
	letter-spacing: .16em;
}

.recruit-link-card.is-open .recruit-link-card__more { color: var(--brand-purple); }

.recruit-link-card__more--closed { color: #8a8a8a; }

.recruit-link-card__status {
	position: absolute;
	top: 0;
	right: 28px;
	display: grid;
	place-items: center;
	width: 64px;
	height: 78px;
	padding-bottom: 10px;
	background: var(--brand-purple);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
	color: #fff;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .06em;
}

.career-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.career-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--brand-purple);
	color: var(--brand-ink);
	text-decoration: none;
	transition: opacity .25s ease;
}

.career-card:hover,
.career-card:focus-visible {
	opacity: .72;
}

.career-card__image {
	aspect-ratio: 1.35 / 1;
	margin: 0;
	overflow: hidden;
	background: #fff;
}

.career-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translateY(8px);
}

.career-card__body {
	flex: 1;
	padding: 20px 20px 0;
}

.career-card h3 {
	margin: 0;
	color: var(--brand-purple);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.6;
}

.career-card__role { font-weight: 400; }

.career-card p {
	margin: 12px 0 0;
	font-size: .8125rem;
	letter-spacing: .04em;
	line-height: 1.8;
}

.career-card__more {
	width: 100%;
	margin-top: 20px;
	padding: 7px 20px;
	background: var(--brand-purple);
	color: #fff;
	font-size: .75rem;
}

/* ==================================================
   JOB DETAIL: responsive
   ================================================== */
@media (max-width: 1024px) {
	.career-archive { padding-block: 128px; }
	.career-archive__header { margin-bottom: 56px; }
	.career-detail__hero { gap: 32px; }
	.career-detail--bwk_interview .career-detail__excerpt { margin-top: 24px; }
	.career-cards { gap: 24px; }
	.recruit-link-card { padding: 32px; }
	.career-detail--bwk_interview .interview-section--timetable { padding-inline: var(--site-gutter); }
}

@media (max-width: 767px) {
	.career-archive { padding-block: 112px 72px; }
	.career-archive__header { margin-bottom: 40px; padding-bottom: 16px; }
	.career-archive__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.career-archive-card__link.career-card { display: flex; flex-direction: column; }
	.career-archive-card__link .career-card__image { grid-row: auto; aspect-ratio: 1.35 / 1; }
	.career-archive-card__link .career-card__body { padding: 12px 12px 0; }
	.career-archive-card__link .career-card__more { margin-top: 12px; padding: 7px 12px; }
	.career-archive-card__status { top: 6px; right: -28px; width: 96px; height: 22px; }
	.career-archive-card__status-text { font-size: .625rem; }
	.career-card__title-group { gap: 8px; }
	.career-card__title-group .career-card__name { font-size: 1rem; }
	.career-card__title-group .career-card__role { font-size: .6875rem; letter-spacing: .04em; }
	.career-detail__container,
	.career-related__container { width: min(100% - (var(--site-gutter) * 2), 960px); }
	.career-detail__container { padding-block: 64px; }
	.career-detail__hero { grid-template-columns: 1fr; gap: 0; }
	.career-detail--bwk_interview .career-detail__title-group { gap: 20px; }
	.career-detail--bwk_interview .career-detail__title-role { font-size: 1rem; }
	.career-detail__excerpt { margin-bottom: 0; }
	.career-detail__eyecatch { width: min(100%, 240px); margin-left: auto; }
	.career-detail__body { --career-section-space: 56px; padding-top: 40px; }
	.career-detail__body h2,
	.career-detail--bwk_interview .career-detail__body h2,
	.career-detail--bwk_interview .interview-timetable h2 { margin-bottom: 20px; font-size: 1.25rem; }
	.career-detail__body h2:not(:first-child) { margin-top: var(--career-section-space); }
	.career-detail__body p,
	.career-detail__body li { font-size: .9375rem; line-height: 1.9; }
	.interview-timetable__row { grid-template-columns: 56px minmax(0, 1fr); column-gap: 36px; min-height: 56px; }
	.interview-timetable__row::before { left: 74px; }
	.interview-timetable__row::after { left: 70px; width: 9px; height: 9px; }
	.interview-timetable__time { font-size: .875rem; }
	.interview-timetable__description { padding-bottom: 20px; font-size: .8125rem; }
	.career-related__section { padding-block: 64px; }
	.career-related__section h2 { margin-bottom: 24px; padding-bottom: 16px; }
	.recruit-link-card { padding: 16px; }
	.recruit-link-card__body { max-width: 100%; }
	.recruit-link-card h3 { padding-inline: 4px; font-size: 1.0625rem; width: 75%; }
	.recruit-link-card__status { right: 16px; width: 56px; height: 68px; font-size: .75rem; }
	.recruit-link-card__description p { margin-top: 24px; font-size: .8125rem; }
	.recruit-link-card__more { width: 100%; margin-top: 24px; }
	.career-cards { grid-template-columns: 1fr; gap: 24px; }
	.career-card { display: grid; grid-template-columns: 120px 1fr; }
	.career-card__image { grid-row: span 2; aspect-ratio: auto; }
	.career-card__body { padding: 16px 16px 0; }
	.career-card__more { margin-top: 16px; padding: 8px 16px; background: var(--site-bg); color: var(--brand-purple); }
}

@media (prefers-reduced-motion: no-preference) {
	.career-detail__body h2.js-band-reveal--surface {
		--band-reveal-color: var(--brand-purple);
		--band-reveal-surface: var(--brand-purple);
		background-color: transparent;
	}

	.career-detail__body-title-border.js-band-reveal--surface {
		--band-reveal-color: var(--brand-purple);
		--band-reveal-surface: var(--brand-purple);
		background-color: transparent;
	}
}
