@charset "UTF-8";

/*
 * 求人ページ・応募ページ用スタイル
 *
 * 置き場所: /wp-content/themes/hyperdrive/css/hd-jobs.css
 *   （common.css や page.css と同じ場所）
 *
 * このファイルがあれば、こちらが読み込まれます。
 * プラグイン側のCSSは使われません。自由に編集してください。
 *
 * !important は、テーマの既存スタイルに負けないために付けています。
 *
 * ── 文字サイズを変えたいとき ──
 * 「本文」「見出し」の font-size の数値を書き換えてください。
 */

/* =========================================================
 * 共通
 * ========================================================= */

.job-single,
.job-archive {
	max-width: 900px !important;
	margin: 0 auto !important;
	padding: 72px 24px 112px !important;
	font-size: 20px !important;
	line-height: 2 !important;
}

/* =========================================================
 * 求人一覧（/jobs/）
 * ========================================================= */

.job-archive .job-archive__header h1 {
	margin: 48px 0 64px !important;
	font-size: 36px !important;
	line-height: 1.5 !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
}

.job-archive .job-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.job-archive .job-list__item {
	margin: 0 !important;
	border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.job-archive .job-list__item:last-child {
	border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.job-archive .job-list__link {
	display: flex !important;
	gap: 28px !important;
	align-items: flex-start !important;
	padding: 36px 0 !important;
	text-decoration: none !important;
	color: inherit !important;
	transition: opacity 0.25s ease !important;
}

.job-archive .job-list__link:hover,
.job-archive .job-list__link:focus-visible {
	opacity: 0.6 !important;
}

.job-archive .job-list__thumb {
	flex: 0 0 220px !important;
}

.job-archive .job-list__thumb img {
	width: 100% !important;
	height: auto !important;
	display: block !important;
}

.job-archive .job-list__body {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

.job-archive .job-list__title {
	margin: 0 0 14px !important;
	font-size: 22px !important;
	line-height: 1.55 !important;
	font-weight: 700 !important;
}

.job-archive .job-list__meta {
	margin: 0 0 16px !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 14px !important;
	align-items: center !important;
	font-size: 16px !important;
}

.job-archive .job-list__tag {
	display: inline-block !important;
	border: 1px solid currentColor !important;
	padding: 4px 14px !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	letter-spacing: 0.06em !important;
}

.job-archive .job-list__excerpt {
	margin: 0 !important;
	font-size: 17px !important;
	line-height: 1.9 !important;
	opacity: 0.8 !important;
}

.job-archive .job-archive__empty {
	padding: 48px 0 !important;
}

/* =========================================================
 * 求人詳細 — ヘッダー
 * ========================================================= */

.job-single .job__tag {
	display: inline-block !important;
	width: auto !important;
	border: 1px solid currentColor !important;
	padding: 4px 14px !important;
	margin: 0 0 20px !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
	letter-spacing: 0.1em !important;
	font-weight: 400 !important;
}

.job-single .job__title {
	margin: 0 0 36px !important;
	font-size: 32px !important;
	line-height: 1.5 !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
}

.job-single .job__thumb img {
	width: 100% !important;
	height: auto !important;
	display: block !important;
	margin-bottom: 48px !important;
}

.job-single .job__closed-notice {
	border: 1px solid currentColor !important;
	padding: 16px 20px !important;
	margin: 0 0 32px !important;
	font-size: 15px !important;
}

/* =========================================================
 * 求人詳細 — 本文
 *
 * ビジュアルエディタの「見出し2」「見出し3」「B」に対応します。
 * ========================================================= */

.job-single .job__body {
	margin-bottom: 72px !important;
}

.job-single .job__body,
.job-single .job__body p,
.job-single .job__body li {
	font-size: 20px !important;
	line-height: 2 !important;
}

.job-single .job__body p {
	margin: 0 0 24px !important;
}

.job-single .job__body h2 {
	position: relative !important;
	margin: 64px 0 24px !important;
	padding-left: 18px !important;
	font-size: 26px !important;
	line-height: 1.5 !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
}

.job-single .job__body h2::before {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	top: 0.12em !important;
	bottom: 0.12em !important;
	width: 4px !important;
	background-color: currentColor !important;
}

.job-single .job__body h3 {
	margin: 44px 0 14px !important;
	padding-bottom: 10px !important;
	font-size: 20px !important;
	line-height: 1.6 !important;
	font-weight: 700 !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.job-single .job__body h4 {
	margin: 32px 0 10px !important;
	font-size: 18px !important;
	line-height: 1.6 !important;
	font-weight: 700 !important;
}

.job-single .job__body > h2:first-child,
.job-single .job__body > h3:first-child {
	margin-top: 0 !important;
}

.job-single .job__body strong,
.job-single .job__body b {
	font-weight: 700 !important;
}

.job-single .job__body ul,
.job-single .job__body ol {
	margin: 0 0 24px !important;
	padding-left: 1.5em !important;
}

.job-single .job__body li {
	margin-bottom: 8px !important;
}

.job-single .job__body hr {
	margin: 56px 0 !important;
	border: 0 !important;
	border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
}

/* =========================================================
 * 求人詳細 — 募集要項 / 会社情報のテーブル
 * ========================================================= */

.job-single .job__section {
	margin-bottom: 64px !important;
}

.job-single .job__section-title {
	position: relative !important;
	margin: 0 0 24px !important;
	padding-left: 18px !important;
	font-size: 26px !important;
	line-height: 1.5 !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
}

.job-single .job__section-title::before {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	top: 0.12em !important;
	bottom: 0.12em !important;
	width: 4px !important;
	background-color: currentColor !important;
}

.job-single .job__table {
	width: 100% !important;
	margin: 0 !important;
	border-collapse: collapse !important;
	border: 1px solid rgba(0, 0, 0, 0.15) !important;
	font-size: 18px !important;
	line-height: 1.9 !important;
	table-layout: fixed !important;
}

.job-single .job__table th,
.job-single .job__table td {
	padding: 20px 24px !important;
	border: 1px solid rgba(0, 0, 0, 0.15) !important;
	text-align: left !important;
	vertical-align: top !important;
	word-wrap: break-word !important;
	overflow-wrap: break-word !important;
}

.job-single .job__table th {
	width: 30% !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	background-color: rgba(0, 0, 0, 0.02) !important;
}

.job-single .job__table td {
	font-size: 18px !important;
}

.job-single .job__table thead th {
	width: auto !important;
	font-size: 19px !important;
	font-weight: 700 !important;
	background-color: rgba(0, 0, 0, 0.05) !important;
}

.job-single .job__salary {
	margin: 0 !important;
	font-size: 20px !important;
	font-weight: 400 !important;
}

.job-single .job__salary-note {
	margin: 16px 0 0 !important;
	font-size: 17px !important;
	line-height: 1.9 !important;
}

/* 勤務地（複数） */

.job-single .job__locations .job__location {
	margin: 0 !important;
	padding: 0 0 6px !important;
	font-size: 18px !important;
	line-height: 1.8 !important;
}

.job-single .job__locations .job__location-label {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 17px !important;
	line-height: 1.9 !important;
}

.job-single .job__locations .job__location-space {
	margin: 0 !important;
	height: 20px !important;
}

/* 勤務時間・休日・福利厚生（見出しと内容） */

.job-single .job__grouped .job__group-label {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 16px !important;
	line-height: 1.9 !important;
	font-weight: 600 !important;
	opacity: 0.75 !important;
}

.job-single .job__grouped .job__group-value {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	line-height: 1.9 !important;
}

.job-single .job__grouped .job__group-space {
	margin: 0 !important;
	height: 18px !important;
}

.job-single .job__map-link {
	display: inline-block !important;
	margin-top: 8px !important;
	font-size: 14px !important;
	text-decoration: underline !important;
}

/* =========================================================
 * 応募ボタン
 * ========================================================= */

.job-single .job__apply {
	margin-bottom: 56px !important;
	text-align: center !important;
}

.job-single .job__apply-lead {
	margin: 0 0 28px !important;
	font-size: 16px !important;
	line-height: 1.9 !important;
}

.job-single .job__apply-action {
	margin: 0 !important;
	text-align: center !important;
}

.job-single .job__apply-action--top {
	margin: 0 0 56px !important;
}

.job-single .job__apply-button {
	display: inline-block !important;
	min-width: 340px !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 22px 48px !important;
	font-size: 17px !important;
	line-height: 1.5 !important;
	letter-spacing: 0.14em !important;
	font-weight: 700 !important;
	text-align: center !important;
	text-decoration: none !important;
	color: #fff !important;
	background-color: #1a1a1a !important;
	border: 1px solid #1a1a1a !important;
	border-radius: 60px !important;
	transition: opacity 0.25s ease !important;
}

.job-single .job__apply-button:hover,
.job-single .job__apply-button:focus-visible {
	opacity: 0.72 !important;
	color: #fff !important;
}

.job-single .job__apply-button:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 4px !important;
}

.job-single .job__apply-notice {
	padding: 16px 20px !important;
	font-size: 14px !important;
	color: #b32d2e !important;
	border: 1px dashed currentColor !important;
}

.job-single .job__back {
	margin: 0 !important;
	text-align: center !important;
	font-size: 15px !important;
}

.job-single .job__back a {
	text-decoration: underline !important;
}

/* =========================================================
 * 応募ページ（/entry/）のフォーム補正
 *
 * テーマの .section-contact 側でデザインされるため、
 * ここでは最小限の補正だけ行います。
 * ========================================================= */

.job-entry .job-entry__title {
	margin: 0 0 40px !important;
	font-size: 28px !important;
	line-height: 1.5 !important;
	font-weight: 700 !important;
}

/* =========================================================
 * スマホ
 * ========================================================= */

@media (max-width: 767px) {

	.job-single,
	.job-archive {
		padding: 40px 20px 80px !important;
		font-size: 16px !important;
	}

	.job-single .job__title {
		font-size: 22px !important;
	}

	.job-archive .job-archive__header h1 {
		margin: 24px 0 40px !important;
		font-size: 26px !important;
	}

	.job-archive .job-list__title {
		font-size: 19px !important;
	}

	.job-archive .job-list__excerpt {
		font-size: 15px !important;
	}

	.job-single .job__body,
	.job-single .job__body p,
	.job-single .job__body li {
		font-size: 16px !important;
	}

	.job-single .job__body h2,
	.job-single .job__section-title {
		margin-top: 44px !important;
		font-size: 20px !important;
		padding-left: 14px !important;
	}

	.job-single .job__body h3 {
		font-size: 17px !important;
	}

	/* テーブルは縦積みにする */
	.job-single .job__table,
	.job-single .job__table tbody,
	.job-single .job__table thead,
	.job-single .job__table tr,
	.job-single .job__table th,
	.job-single .job__table td {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.job-single .job__table tr {
		border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
	}

	.job-single .job__table th,
	.job-single .job__table td {
		border: 0 !important;
		padding: 14px 16px !important;
	}

	.job-single .job__table th {
		padding-bottom: 4px !important;
		font-size: 14px !important;
		background-color: rgba(0, 0, 0, 0.03) !important;
	}

	.job-single .job__table th br {
		display: none !important;
	}

	.job-single .job__table td {
		font-size: 15px !important;
	}

	.job-archive .job-list__link {
		display: block !important;
	}

	.job-archive .job-list__thumb {
		margin-bottom: 16px !important;
	}

	.job-single .job__apply-button {
		display: block !important;
		min-width: 0 !important;
		width: 100% !important;
		padding: 20px 24px !important;
		font-size: 16px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.job-single .job__apply-button,
	.job-archive .job-list__link {
		transition: none !important;
	}
}