@charset "utf-8";
/* ===============================================
   Careers ページ
   =============================================== */
.careers {
	padding-top: 72px;
	padding-bottom: 72px;
	padding-left: var(--content-gutter);
	padding-right: var(--content-gutter);
	background: var(--white);
}
.careers .cr-apply--wide {
	max-width: none !important;
}
.careers__title {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.25;
	color: #1a1a1a;
}
.careers__lead {
	margin: 0 0 40px;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none;
	font-size: var(--fs-text);
	line-height: var(--lh-text);
	color: #444;
}
.careers .careers__subtitle {
	margin: 40px 0 24px !important;
	padding: 0;
	border: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.25;
	color: #1a1a1a;
}

/* 求人一覧 */
.careers__list .wp-block-post-template {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.careers__list .wp-block-post {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 28px 32px;
	border: 1px solid #f8f8f8;
	border-radius: 4px;
	background: #f8f8f8;
	transition: border-color .15s, box-shadow .15s;
}
.careers__list .wp-block-post:hover {
	border-color: var(--blue);
	box-shadow: 0 4px 16px rgba(50, 18, 122, .1);
}

/* カード左側 */
.careers-card__body {
	flex: 1 1 auto;
	min-width: 0;
}
.careers-card__tag {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 9px;
	border-radius: 2px;
	background: hsl(from var(--cr-tag-color, var(--blue)) h s 96%);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.5;
	text-transform: uppercase;
}
.careers-card__tag a {
	color: hsl(from var(--cr-tag-color, var(--blue)) h s calc(l - 12));
	text-decoration: none;
	pointer-events: none;
}
.careers-card__title {
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	font-size: var(--fs-card-head);
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
}
.careers-card__title a {
	color: #1a1a1a;
	text-decoration: none;
}
.careers-card__text {
	max-width: 680px;
	margin: 0;
	font-size: var(--fs-card);
	line-height: 1.7;
	color: #666;
}

/* ボタン */
.careers-card__btn,
a.careers-card__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 24px;
	border-radius: 3px;
	background: var(--blue);
	color: var(--white);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .04em;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color .2s;
}
.careers-card__btn:hover,
.careers-card__btn:focus {
	background: var(--blue-hover);
	color: var(--white);
	text-decoration: none;
}
.careers-card__btn::after {
	content: "→";
	transition: transform .2s;
}
.careers-card__btn:hover::after {
	transform: translateX(3px);
}

/* SP */
@media (max-width: 991.98px) {
	.careers {
		padding-top: 56px;
		padding-bottom: 56px;
	}
}
@media (max-width: 767.98px) {
	.careers {
		padding-top: 48px;
		padding-bottom: 48px;
	}
	.careers__lead {
		margin-bottom: 40px;
	}
	.careers__list .wp-block-post {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 24px;
	}
	.careers-card__btn,
	a.careers-card__btn {
		justify-content: center;
	}
}

/* ===============================================
   Careers 詳細
   =============================================== */

body.single-careers .site-body {
	background: var(--white);
	padding-top: 0;
	padding-bottom: 0;
}
.cr-entry {
	margin: 0 auto;
}
/* 一覧用の .careers の余白を詳細ページには使わない */
.cr-entry.careers {
	padding-left: 0;
	padding-right: 0;
}
/* 見出し */
.cr-entry__header {
	padding-top: 48px;
	text-align: center;
}
.cr-entry__title {
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	border: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.35;
	color: #1a1a1a;
	text-align: left;
}
.cr-entry__tag {
	display: inline-block;
	margin: 20px 0 0;
	padding: 4px 10px;
	border-radius: 2px;
	background: hsl(from var(--cr-tag-color, var(--blue)) h s 96%);
	color: hsl(from var(--cr-tag-color, var(--blue)) h s calc(l - 12));
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* 本文 */
.cr-entry .entry-body {
	max-width: 900px;
	margin: 0 auto;
	padding: 52px 0 60px;
}
.cr-entry .entry-body p {
	margin: 0 0 18px;
	font-size: var(--fs-text);
	line-height: var(--lh-text);
	color: #444;
}
/* 見出し */
.cr-entry .entry-body :is( h2, h3 ),
.cr-entry .entry-body p:has( > strong:only-child ) {
	margin: 44px 0 20px;
	padding: 0 0 10px;
	border-top: 0;
	border-bottom: 2px solid #ede8f8;
	color: var(--blue);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}
@media (max-width: 991.98px) {
	.cr-entry .entry-body :is( h2, h3 ),
	.cr-entry .entry-body p:has( > strong:only-child ) {
		font-size: 18px;
	}
}
.cr-entry .entry-body p:has( > strong:only-child ) > strong {
	font-weight: inherit;
}
.cr-entry .entry-body ul {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}
.cr-entry .entry-body ul > li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 20px;
	font-size: var(--fs-text);
	line-height: var(--lh-text);
	color: #444;
}
.cr-entry .entry-body ul > li::before {
	content: "▪";
	position: absolute;
	left: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--blue);
}
.cr-entry .entry-body ul ul {
	margin: 8px 0 0 20px;
}
.cr-entry .entry-body ul ul > li {
	margin-bottom: 6px;
	padding-left: 16px;
	font-size: var(--fs-text);
	color: #555;
}
.cr-entry .entry-body ul ul > li::before {
	content: "·";
	top: 1px;
	font-size: 18px;
	line-height: 1;
	color: #aaa;
}

/* 応募方法のボックス */
.cr-apply {
	max-width: 900px;
	margin: 0 auto 72px;
	padding: 36px 40px;
	border: 1px solid #c5b3e8;
	border-radius: 4px;
	background: #f2eefa;
}
.cr-apply__label {
	margin: 0 0 12px;
	color: var(--blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.cr-apply p {
	margin: 0;
	font-size: var(--fs-text);
	line-height: var(--lh-text);
	color: #444;
}
.cr-apply__mail {
	color: var(--blue);
	font-family: "Courier New", monospace;
	font-size: var(--fs-text);
	font-weight: 700;
}

/* 一覧ページ用：ボックスにせず普通の文章 */
.careers .cr-apply--wide {
	max-width: none;
	margin: 52px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}
.cr-apply--wide .cr-apply__label {
	margin-bottom: 8px;
	font-size: 16px;
	letter-spacing: .04em;
}
.cr-apply--wide p {
	font-size: var(--fs-text);
	line-height: var(--lh-text);
	color: #444;
}
.cr-apply--wide .cr-apply__mail {
	display: inline;
	margin-top: 0;
	font-size: var(--fs-text);
}

/* ===============================================
   Careers 詳細下部の他の求人
   =============================================== */
.cr-other {
	margin: 0;
	background: var(--gold);
	padding-top: 52px;
	padding-bottom: 64px;
}
/* 中身は本文・応募方法と同じ幅（900px）で左端をそろえる */
.cr-other__inner {
	max-width: calc(900px + var(--content-gutter) * 2);
	margin: 0 auto;
	padding-left: var(--content-gutter);
	padding-right: var(--content-gutter);
}
.cr-other__title {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.cr-other__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cr-other__item {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 20px 28px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: var(--white);
}
.cr-other__body {
	flex: 1 1 auto;
	min-width: 0;
}
.cr-other__tag {
	display: inline-block;
	margin: 0 0 8px;
	padding: 4px 10px;
	border-radius: 2px;
	background: hsl(from var(--cr-tag-color, var(--blue)) h s 96%);
	color: hsl(from var(--cr-tag-color, var(--blue)) h s calc(l - 12));
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.5;
	text-transform: uppercase;
}
.cr-other__name {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}
.cr-other__name a {
	color: #1a1a24;
	text-decoration: none;
}
.cr-other__note {
	margin: 0;
	font-size: 13px;
	color: var(--text-sub);
}
.cr-other__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 2px;
	background: var(--blue);
	color: var(--white);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s;
}
.cr-other__btn:hover,
.cr-other__btn:focus {
	background: var(--blue-hover);
	color: var(--white);
	text-decoration: none;
}
.cr-other__btn::after {
	content: "→";
	transition: transform .2s;
}
.cr-other__btn:hover::after {
	transform: translateX(3px);
}

@media (max-width: 767.98px) {
	.cr-entry .entry-body :is( h2, h3 ) {
		margin-top: 40px;
	}
	.cr-apply {
		padding: 24px;
	}
	.cr-other__item {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 20px;
	}
	.cr-other__btn {
		justify-content: center;
	}
}

/* ===============================================
   PC
   =============================================== */
@media (min-width: 992px) {
	body .site-body-container {
		max-width: var(--page-width);
		padding-left: 80px;
		padding-right: 80px;
	}
	.wp-block-group.careers {
		padding-left: calc(80px + var(--page-side));
		padding-right: calc(80px + var(--page-side));
	}
	body .wp-block-group.careers.is-layout-constrained > * {
		max-width: none;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

/* SP：見出し */
@media (max-width: 767.98px) {
	.careers__title {
		font-size: 32px;
	}
	.cr-entry__title {
		font-size: 26px;
	}
}

/* SP：雇用形態のラベル */
@media (max-width: 767.98px) {
	.careers-card__tag,
	.cr-entry__tag,
	.cr-other__tag {
		font-size: 12px;
	}
}
