@charset "UTF-8";

:root {
	--job-detail-navy: #071936;
	--job-detail-deep: #020b19;
	--job-detail-ink: #eaf4ff;
	--job-detail-muted: #a8bdd6;
	--job-detail-accent: #f8b334;
	--job-detail-cyan: #79f2dd;
	--job-detail-purple: #d88dff;
	--job-detail-line: rgba(175, 218, 255, .2);
	--job-detail-card: rgba(7, 25, 54, .74);
	--job-detail-card-strong: rgba(4, 18, 42, .9);
	--job-detail-shadow: 0 22px 70px rgba(0, 0, 0, .38);

	/* ライト/ダーク切替用トークン（デフォルトはダーク＝これまでの見た目） */
	--job-detail-text-strong: #ffffff;
	--job-detail-text-body: #d9e8f8;
	--job-detail-text-muted: #a8bdd6;
	--job-detail-card-grad-1: rgba(7, 25, 54, .86);
	--job-detail-card-grad-2: rgba(1, 10, 24, .64);
	--job-detail-card-alt-bg: rgba(1, 12, 29, .5);
	--job-detail-backdrop-blur: blur(14px);
}

body[data-job-theme="light"] {
	--job-detail-navy: #ffffff;
	--job-detail-deep: #f5f7fb;
	--job-detail-ink: #0b1d3a;
	--job-detail-muted: #5b6b85;
	--job-detail-line: rgba(7, 25, 54, .12);
	--job-detail-shadow: 0 16px 40px rgba(7, 25, 54, .1);

	--job-detail-text-strong: #071936;
	--job-detail-text-body: #33415c;
	--job-detail-text-muted: #5b6b85;
	--job-detail-card-grad-1: #ffffff;
	--job-detail-card-grad-2: #ffffff;
	--job-detail-card-alt-bg: #f3f6fb;
	--job-detail-backdrop-blur: none;
}

body.single-job {
	background: var(--job-detail-deep);
}

body.single-job #site-header {
	border-bottom: 1px solid rgba(120, 171, 228, .24);
	background: rgba(2, 10, 24, .94);
	box-shadow: 0 12px 36px rgba(0, 0, 0, .28);
}

body.single-job .site-title a,
body.single-job #primary-menu a,
body.single-job .menu-toggle {
	color: var(--job-detail-text-strong);
}

body.single-job .main,
body.single-job .content,
body.single-job .entry-content {
	max-width: none;
	padding: 0;
	background: transparent;
}

.job-detail-page {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	color: var(--job-detail-ink);
	background:
		linear-gradient(180deg, rgba(1, 7, 18, .2), rgba(1, 7, 18, .78) 78%),
		radial-gradient(circle at 22% 10%, rgba(34, 118, 185, .34), transparent 28rem),
		radial-gradient(circle at 76% 24%, rgba(248, 179, 52, .18), transparent 24rem),
		var(--job-detail-navy);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.job-detail-page::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(125, 194, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(125, 194, 255, .04) 1px, transparent 1px);
	background-size: 84px 84px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 86%);
}

.job-detail-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(90deg, rgba(2, 11, 25, .86), rgba(2, 11, 25, .15) 42%, rgba(2, 11, 25, .88)),
		url("../images/job/bg-job-page.webp") center top / cover no-repeat;
	opacity: .78;
}

.job-detail-container {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 24px 0 80px;
}

.job-detail-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0 0 28px;
	color: var(--job-detail-text-muted);
	font-size: 13px;
}

.job-detail-breadcrumb a {
	color: var(--job-detail-text-body);
	text-decoration: none;
}

.job-detail-back-to-shindan {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 22px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--job-detail-card);
	border: 1px solid var(--job-detail-line);
	color: var(--job-detail-accent);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: border-color .15s ease, transform .1s ease;
}

.job-detail-back-to-shindan:hover {
	border-color: var(--job-detail-accent);
	transform: translateX(-2px);
}

.job-detail-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 34px;
	align-items: start;
	min-height: 330px;
	margin-bottom: 30px;
}

.job-detail-hero-copy {
	position: relative;
	z-index: 2;
	max-width: 680px;
	padding-top: 20px;
}

.job-detail-awareness-label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	margin-bottom: 34px;
	padding: 12px 22px 12px 14px;
	border: 1px solid rgba(125, 242, 221, .5);
	border-radius: 999px;
	color: var(--job-detail-text-body);
	background: linear-gradient(90deg, rgba(52, 204, 188, .28), rgba(6, 22, 47, .78));
	box-shadow: 0 0 24px rgba(125, 242, 221, .24), inset 0 0 16px rgba(255, 255, 255, .05);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.job-detail-awareness-label--unknown {
	border-color: rgba(248, 179, 52, .62);
	background: linear-gradient(90deg, rgba(248, 179, 52, .26), rgba(6, 22, 47, .78));
	box-shadow: 0 0 26px rgba(248, 179, 52, .25), inset 0 0 16px rgba(255, 255, 255, .05);
}

.job-detail-awareness-label--niche {
	border-color: rgba(216, 141, 255, .5);
	background: linear-gradient(90deg, rgba(216, 141, 255, .24), rgba(6, 22, 47, .78));
	box-shadow: 0 0 24px rgba(216, 141, 255, .22), inset 0 0 16px rgba(255, 255, 255, .05);
}

/* 扉アイコンの色をティアごとに揃える（サイドバーの「認知度の目安」リストと同じ配色） */
.job-detail-awareness-label .job-detail-door-icon {
	color: var(--job-detail-cyan);
}

.job-detail-awareness-label--niche .job-detail-door-icon {
	color: var(--job-detail-purple);
}

.job-detail-awareness-label--unknown .job-detail-door-icon {
	color: var(--job-detail-accent);
}

.job-detail-door-icon {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 34px;
	height: 44px;
	border: 2px solid currentColor;
	border-bottom: 0;
	border-radius: 18px 18px 2px 2px;
	color: var(--job-detail-accent);
	filter: drop-shadow(0 0 9px currentColor);
}

.job-detail-door-icon::before {
	content: "";
	position: absolute;
	inset: 6px 7px 0;
	border: 1px solid currentColor;
	border-bottom: 0;
	border-radius: 12px 12px 1px 1px;
	opacity: .78;
}

.job-detail-door-icon::after {
	content: "";
	position: absolute;
	right: 5px;
	bottom: 14px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
}

.job-detail-title {
	margin: 0 0 14px;
	color: var(--job-detail-text-strong);
	font-size: clamp(38px, 5vw, 66px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.05;
	text-shadow: 0 10px 32px rgba(0, 0, 0, .42);
}

.job-detail-hook {
	margin: 0 0 14px;
	color: var(--job-detail-accent);
	font-size: clamp(20px, 2.3vw, 28px);
	font-weight: 800;
	line-height: 1.5;
}

.job-detail-lead {
	max-width: 660px;
	margin: 0;
	color: var(--job-detail-text-body);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.9;
}

.job-detail-awareness-card,
.job-detail-panel,
.job-detail-salary-card,
.job-detail-rating-grid,
.job-detail-related-card,
.job-detail-ad-card,
.job-detail-comments {
	border: 1px solid var(--job-detail-line);
	background: linear-gradient(145deg, var(--job-detail-card-grad-1), var(--job-detail-card-grad-2));
	box-shadow: var(--job-detail-shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
	backdrop-filter: var(--job-detail-backdrop-blur);
}

.job-detail-awareness-card {
	position: relative;
	z-index: 2;
	padding: 20px;
	border-radius: 14px;
}

.job-detail-awareness-card h2 {
	margin: 0 0 18px;
	color: var(--job-detail-text-strong);
	font-size: 18px;
	font-weight: 800;
}

.job-detail-awareness-list {
	display: grid;
	gap: 14px;
}

.job-detail-awareness-item {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 14px;
	align-items: center;
	padding: 15px;
	border: 1px solid var(--job-detail-line);
	border-radius: 10px;
	background: var(--job-detail-card-alt-bg);
}

.job-detail-awareness-item:nth-child(1) .job-detail-door-icon {
	color: #75e7c7;
}

.job-detail-awareness-item:nth-child(2) .job-detail-door-icon {
	color: var(--job-detail-purple);
}

.job-detail-awareness-item.is-current {
	border-color: rgba(248, 179, 52, .7);
	box-shadow: 0 0 22px rgba(248, 179, 52, .22), inset 0 0 20px rgba(248, 179, 52, .08);
}

.job-detail-awareness-item h3 {
	margin: 0 0 5px;
	color: var(--job-detail-cyan);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
}

.job-detail-awareness-item.is-current h3 {
	color: var(--job-detail-accent);
}

.job-detail-awareness-item p,
.job-detail-awareness-note {
	margin: 0;
	color: var(--job-detail-text-muted);
	font-size: 12px;
	line-height: 1.75;
}

.job-detail-awareness-note {
	margin-top: 16px;
	color: var(--job-detail-text-muted);
}

.job-detail-door-visual {
	position: absolute;
	right: 320px;
	top: 22px;
	width: 230px;
	pointer-events: none;
	opacity: .9;
	filter: drop-shadow(0 0 28px rgba(248, 179, 52, .28));
}

.job-detail-door-visual img {
	display: block;
	width: 100%;
	height: auto;
}

.job-detail-door-visual::before {
	content: "";
	position: absolute;
	inset: 18% 24% 0;
	z-index: -1;
	background: radial-gradient(circle, rgba(248, 179, 52, .55), transparent 60%);
	filter: blur(24px);
}

.job-detail-eyecatch {
	margin: 0 0 28px;
}

.job-detail-eyecatch-frame {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background:
		radial-gradient(circle at 30% 30%, rgba(20, 101, 180, .44), transparent 30rem),
		linear-gradient(135deg, rgba(2, 12, 28, .96), rgba(8, 42, 88, .75));
	box-shadow: 0 26px 70px rgba(0, 0, 0, .42), 0 0 40px rgba(13, 94, 166, .18);
	aspect-ratio: 16 / 7;
}

.job-detail-eyecatch-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.job-detail-eyecatch-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	box-shadow: inset 0 -42px 70px rgba(0, 8, 22, .46), inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.job-detail-eyecatch-note {
	margin: 8px 2px 0;
	color: var(--job-detail-text-muted);
	font-size: 11px;
	line-height: 1.6;
	text-align: right;
}

.job-detail-section {
	margin-top: 22px;
}

.job-detail-section h2,
.job-detail-section-head h2 {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0 0 14px;
	color: var(--job-detail-text-strong);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.45;
}

.job-detail-section h2 span,
.job-detail-section-head h2 span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border: 1px solid rgba(248, 179, 52, .7);
	border-radius: 50%;
	color: var(--job-detail-accent);
	font-size: 15px;
	box-shadow: 0 0 15px rgba(248, 179, 52, .25);
}

.job-detail-info-grid {
	display: grid;
	gap: 0;
	overflow: hidden;
	border: 1px solid var(--job-detail-line);
	border-radius: 12px;
	background: linear-gradient(145deg, var(--job-detail-card-grad-1), var(--job-detail-card-grad-2));
	box-shadow: var(--job-detail-shadow);
}

.job-detail-info-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.job-detail-info-grid--two {
	grid-template-columns: .95fr 1.25fr;
}

.job-detail-panel {
	min-width: 0;
	padding: 24px;
	border: 0;
	border-right: 1px solid var(--job-detail-line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.job-detail-panel:last-child {
	border-right: 0;
}

.job-detail-panel h3 {
	margin: 0 0 16px;
	color: var(--job-detail-text-strong);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.45;
}

.job-detail-panel h4 {
	margin: 18px 0 8px;
	color: var(--job-detail-text-strong);
	font-size: 15px;
}

.job-detail-panel p,
.job-detail-panel li {
	color: var(--job-detail-text-body);
	font-size: 15px;
	line-height: 1.95;
}

.job-detail-panel p {
	margin: 0 0 10px;
}

/* ふりがな（<ruby><rb>漢字</rb><rt>かんじ</rt></ruby>）表示調整
   難しい漢字の上に小さく読みを添える。本文の行間が広がりすぎないようにルビ分だけ上に少し余白を作る。 */
.job-detail-hook ruby,
.job-detail-lead ruby,
.job-detail-panel ruby,
.job-detail-route-list ruby,
.job-detail-tag-list ruby {
	ruby-position: over;
}

.job-detail-hook rt,
.job-detail-lead rt,
.job-detail-panel rt,
.job-detail-route-list rt,
.job-detail-tag-list rt {
	font-size: 0.6em;
	font-weight: 500;
	color: var(--job-detail-text-body, currentColor);
	opacity: 0.75;
	letter-spacing: 0;
	-webkit-text-emphasis: none;
}

.job-detail-panel ul,
.job-detail-panel ol {
	margin: 0;
	padding-left: 1.1em;
}

.job-detail-check-list {
	list-style: none;
	padding-left: 0 !important;
}

.job-detail-check-list li {
	position: relative;
	padding-left: 24px;
}

.job-detail-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .78em;
	width: 12px;
	height: 6px;
	border-left: 2px solid var(--job-detail-accent);
	border-bottom: 2px solid var(--job-detail-accent);
	transform: rotate(-45deg);
}

.job-detail-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-left: 0 !important;
	list-style: none;
}

.job-detail-tag-list li {
	padding: 9px 14px;
	border: 1px solid var(--job-detail-line);
	border-radius: 7px;
	background: var(--job-detail-card-alt-bg);
	color: var(--job-detail-text-body);
	font-size: 14px;
	line-height: 1.4;
}

.job-detail-route-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	padding-left: 0 !important;
	list-style: none;
	counter-reset: route;
}

.job-detail-route-list li {
	position: relative;
	text-align: center;
}

.job-detail-route-list li:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -16px;
	top: 32px;
	width: 26px;
	height: 1px;
	background: rgba(234, 244, 255, .7);
}

.job-detail-route-list strong {
	display: block;
	margin-bottom: 8px;
	color: var(--job-detail-text-strong);
	font-size: 14px;
}

.job-detail-route-list strong::before {
	counter-increment: route;
	content: counter(route);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0 auto 8px;
	border: 1px solid rgba(248, 179, 52, .65);
	border-radius: 50%;
	color: var(--job-detail-accent);
	box-shadow: 0 0 16px rgba(248, 179, 52, .2);
}

.job-detail-route-list span {
	display: block;
	color: var(--job-detail-text-muted);
	font-size: 12px;
	line-height: 1.7;
}

/* 業種マッチ広告。コードが未設定の業種では要素ごと出力されないので、常に空白が残ることはない */
.job-detail-industry-ad-block {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 20px 0 0;
}
.job-detail-industry-ad {
	display: flex;
	justify-content: center;
	overflow: hidden;
}

.job-detail-salary-card {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
	gap: 28px;
	padding: 26px 28px;
	border-radius: 12px;
}

.job-detail-salary-card h3 {
	margin: 0 0 8px;
	color: var(--job-detail-text-strong);
	font-size: 16px;
}

.job-detail-salary-number {
	margin: 0 0 8px;
	color: #ffe8a2;
	font-size: clamp(26px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.2;
	text-shadow: 0 0 20px rgba(248, 179, 52, .34);
}

.job-detail-salary-number strong {
	font-size: 1.55em;
}

.job-detail-salary-number span {
	margin: 0 14px;
	color: var(--job-detail-text-strong);
}

.job-detail-salary-number--text {
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 700;
	text-shadow: none;
}

.job-detail-salary-meter {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	margin: 2px 0 8px;
}

.job-detail-salary-meter::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 4px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--job-detail-accent), #ffe9a6 74%, transparent);
	box-shadow: 0 0 18px rgba(248, 179, 52, .46);
}

.job-detail-salary-meter span {
	position: relative;
	z-index: 1;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--job-detail-accent);
	box-shadow: 0 0 15px rgba(248, 179, 52, .72);
}

.job-detail-salary-meter span:nth-child(2) {
	justify-self: center;
}

.job-detail-salary-meter span:nth-child(3) {
	justify-self: end;
}

.job-detail-salary-labels {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: var(--job-detail-text-muted);
	font-size: 13px;
}

.job-detail-salary-feature {
	padding-left: 26px;
	border-left: 1px solid var(--job-detail-line);
}

.job-detail-salary-feature ul {
	margin: 0;
	padding-left: 1.1em;
}

.job-detail-salary-feature li {
	color: var(--job-detail-text-body);
	font-size: 14px;
	line-height: 1.9;
}

.job-detail-salary-source {
	margin: 10px 2px 0;
	padding-top: 10px;
	border-top: 1px dashed var(--job-detail-line);
	color: var(--job-detail-text-muted);
	font-size: 11px;
	line-height: 1.6;
}

/* =====================================================
   8 職業データ比較（比較評価ドット）
   仕事内容セクションと同じ、罫線区切りの3列グリッドカードに
   揃えることで、年収セクションと同格の情報として見せている。
   ===================================================== */
.job-detail-rating-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	overflow: hidden;
	border-radius: 12px;
}

.job-detail-rating-item {
	padding: 24px 22px;
	border-right: 1px solid var(--job-detail-line);
	border-bottom: 1px solid var(--job-detail-line);
}

.job-detail-rating-item:nth-child(3n) {
	border-right: 0;
}

.job-detail-rating-item:nth-child(n+4) {
	border-bottom: 0;
}

.job-detail-rating-item-head {
	margin-bottom: 14px;
}

.job-detail-rating-name-main {
	display: block;
	margin-bottom: 4px;
	color: var(--job-detail-text-strong);
	font-size: 17px;
	font-weight: 800;
}

.job-detail-rating-name-desc {
	display: block;
	color: var(--job-detail-text-muted);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
}

.job-detail-rating-dots {
	display: flex;
	gap: 6px;
}

.job-detail-rating-dots span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--job-detail-line);
}

.job-detail-rating-dots span.filled {
	background: var(--job-detail-accent);
	box-shadow: 0 0 10px rgba(248, 179, 52, .6);
}

.job-detail-rating-note {
	margin: 14px 2px 0;
	color: var(--job-detail-text-muted);
	font-size: 11px;
	line-height: 1.6;
}

.job-detail-holiday-section .job-detail-holiday-badge {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 10px 22px;
	border-radius: 99px;
	border: 1px solid var(--job-detail-line);
	background: linear-gradient(145deg, var(--job-detail-card-grad-1), var(--job-detail-card-grad-2));
	box-shadow: var(--job-detail-shadow);
	color: var(--job-detail-text-strong);
	font-size: 15px;
	font-weight: 700;
}

.job-detail-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.job-detail-small-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 116px;
	padding: 9px 18px;
	border: 1px solid rgba(248, 179, 52, .72);
	border-radius: 999px;
	color: var(--job-detail-text-strong);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
}

.job-detail-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.job-detail-related-card {
	overflow: hidden;
	border-radius: 12px;
	color: inherit;
	text-decoration: none;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.job-detail-related-card:hover {
	transform: translateY(-4px);
	border-color: rgba(248, 179, 52, .62);
	box-shadow: 0 24px 64px rgba(0, 0, 0, .46), 0 0 22px rgba(248, 179, 52, .16);
}

.job-detail-related-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
	background:
		radial-gradient(circle at 50% 30%, rgba(42, 133, 212, .54), transparent 42%),
		#06162d;
}

.job-detail-related-card div {
	padding: 16px 18px 18px;
}

.job-detail-related-card h3 {
	margin: 0 0 7px;
	color: var(--job-detail-text-strong);
	font-size: 18px;
	line-height: 1.45;
}

.job-detail-related-card p {
	margin: 0 0 12px;
	color: var(--job-detail-text-muted);
	font-size: 13px;
	line-height: 1.6;
}

.job-detail-related-card span {
	display: inline-flex;
	padding: 5px 10px;
	border-radius: 5px;
	background: rgba(155, 122, 255, .22);
	color: var(--job-detail-purple);
	font-size: 12px;
	font-weight: 700;
}

.job-detail-ad-card {
	position: relative;
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr) 190px;
	gap: 24px;
	align-items: center;
	overflow: hidden;
	padding: 0 26px 0 0;
	border-radius: 12px;
	color: var(--job-detail-text-strong);
	text-decoration: none;
}

.job-detail-ad-card img {
	width: 100%;
	height: 112px;
	object-fit: cover;
	background: #06162d;
}

.job-detail-ad-card p {
	margin: 0 0 8px;
	color: var(--job-detail-text-strong);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.45;
}

.job-detail-ad-card span {
	color: var(--job-detail-text-body);
	font-size: 14px;
}

.job-detail-ad-card strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 999px;
	font-size: 15px;
}

.job-detail-ad-card small {
	position: absolute;
	right: 14px;
	top: 10px;
	color: var(--job-detail-text-muted);
	font-size: 11px;
}

.job-detail-comments {
	padding: 0;
	border-radius: 12px;
}

.job-detail-comments > h2 {
	padding: 22px 24px 0;
}

.job-detail-comment-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px;
	gap: 14px;
	align-items: center;
	padding: 18px 24px 20px;
	border-bottom: 1px solid var(--job-detail-line);
}

.job-detail-comment-form p {
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--job-detail-line);
	border-radius: 999px;
	color: var(--job-detail-text-body);
	background: var(--job-detail-card-alt-bg);
	font-size: 14px;
}

.job-detail-comment-form a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffc241, #f8a91f);
	color: #171000;
	text-decoration: none;
	font-size: 14px;
	font-weight: 900;
	box-shadow: 0 12px 28px rgba(248, 179, 52, .24);
}

.job-detail-comment-list {
	display: grid;
}

.job-detail-comment-item {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 16px 24px;
	border-bottom: 1px solid var(--job-detail-line);
}

.job-detail-comment-empty {
	padding: 20px 24px;
	color: var(--job-detail-text-muted);
	font-size: 14px;
}

/* ここから下：comments_template() が出力する素のWordPressコメントフォーム（#respond）用のスタイル。
   これまで何も指定していなかったため、余白ゼロで左詰めのまま表示されていた。 */
.job-detail-comments #respond {
	padding: 24px;
	border-top: 1px solid var(--job-detail-line);
}

.job-detail-comments #reply-title {
	margin: 0 0 16px;
	color: var(--job-detail-text-strong);
	font-size: 18px;
	font-weight: 800;
}

.job-detail-comments .logged-in-as {
	margin: 0 0 18px;
	color: var(--job-detail-text-muted);
	font-size: 13px;
}

.job-detail-comments .logged-in-as a {
	color: var(--job-detail-accent);
}

.job-detail-comments #commentform p {
	margin: 0 0 16px;
}

.job-detail-comments #commentform label {
	display: block;
	margin: 0 0 8px;
	color: var(--job-detail-text-body);
	font-size: 13px;
	font-weight: 700;
}

.job-detail-comments #commentform input[type="text"],
.job-detail-comments #commentform input[type="email"],
.job-detail-comments #commentform input[type="url"],
.job-detail-comments #commentform textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	border: 1px solid var(--job-detail-line);
	border-radius: 10px;
	background: var(--job-detail-card-alt-bg);
	color: var(--job-detail-text-strong);
	font-size: 14px;
	font-family: inherit;
}

.job-detail-comments #commentform textarea {
	min-height: 120px;
	resize: vertical;
}

.job-detail-comments #commentform .form-submit {
	margin: 8px 0 0;
}

.job-detail-comments #commentform input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffc241, #f8a91f);
	color: #171000;
	font-size: 14px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(248, 179, 52, .24);
}

.job-detail-comments #commentform img {
	margin: 8px 0;
	border-radius: 8px;
}

.job-detail-comment-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 32%, #fff 0 18%, transparent 19%),
		radial-gradient(circle at 50% 75%, #fff 0 30%, transparent 31%),
		linear-gradient(145deg, #8bc7ff, #0f5a8f);
	box-shadow: 0 0 16px rgba(91, 171, 255, .22);
}

.job-detail-comment-item p {
	margin: 0 0 5px;
	color: var(--job-detail-text-body);
	font-size: 14px;
	line-height: 1.7;
}

.job-detail-comment-item span {
	color: var(--job-detail-text-muted);
	font-size: 12px;
}

.job-detail-comment-item strong {
	color: var(--job-detail-accent);
	font-size: 13px;
	text-align: right;
}

@media (max-width: 1023px) {
	.job-detail-container {
		width: min(100% - 28px, 760px);
		padding-top: 16px;
	}

	.job-detail-hero {
		grid-template-columns: 1fr;
		gap: 20px;
		min-height: 0;
	}

	.job-detail-hero-copy {
		padding-top: 4px;
	}

	.job-detail-awareness-label {
		margin-bottom: 24px;
		font-size: 15px;
	}

	.job-detail-door-visual {
		right: 0;
		top: 42px;
		width: 130px;
		opacity: .34;
	}

	.job-detail-awareness-card {
		order: 2;
	}

	.job-detail-eyecatch-frame {
		aspect-ratio: 16 / 9;
		border-radius: 12px;
	}

	.job-detail-info-grid,
	.job-detail-info-grid--three,
	.job-detail-info-grid--two,
	.job-detail-salary-card,
	.job-detail-rating-grid,
	.job-detail-related-grid {
		grid-template-columns: 1fr;
	}

	.job-detail-rating-item {
		border-right: 0;
	}

	.job-detail-rating-item:nth-child(n+4) {
		border-bottom: 1px solid var(--job-detail-line);
	}

	.job-detail-rating-item:last-child {
		border-bottom: 0;
	}

	.job-detail-panel {
		border-right: 0;
		border-bottom: 1px solid var(--job-detail-line);
	}

	.job-detail-panel:last-child {
		border-bottom: 0;
	}

	.job-detail-route-list {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.job-detail-route-list li {
		display: grid;
		grid-template-columns: 48px 1fr;
		gap: 0 12px;
		text-align: left;
	}

	.job-detail-route-list li:not(:last-child)::after {
		display: none;
	}

	.job-detail-route-list strong {
		display: contents;
	}

	.job-detail-route-list strong::before {
		grid-row: span 2;
		margin: 0;
	}

	.job-detail-salary-feature {
		padding: 20px 0 0;
		border-top: 1px solid var(--job-detail-line);
		border-left: 0;
	}

	.job-detail-ad-card {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 0;
	}

	.job-detail-ad-card img {
		height: auto;
		aspect-ratio: 16 / 7;
	}

	.job-detail-ad-card div,
	.job-detail-ad-card strong {
		margin: 18px;
	}

	.job-detail-ad-card p {
		font-size: 20px;
	}
}

@media (max-width: 640px) {
	.job-detail-container {
		width: calc(100% - 24px);
		padding-bottom: 96px;
	}

	.job-detail-breadcrumb {
		margin-bottom: 18px;
		font-size: 11px;
	}

	.job-detail-title {
		font-size: 35px;
		line-height: 1.18;
	}

	.job-detail-hook {
		font-size: 18px;
	}

	.job-detail-lead {
		font-size: 14px;
	}

	/* スマホでは認知度バッジ（タイトル上の丸ピル）だけで十分なため、
	   3項目フルの「認知度の目安」カードは非表示にして本文への到達を早める */
	.job-detail-awareness-card {
		display: none;
	}

	.job-detail-awareness-card,
	.job-detail-panel,
	.job-detail-salary-card,
	.job-detail-rating-grid,
	.job-detail-comments {
		border-radius: 10px;
	}

	.job-detail-rating-item {
		padding: 18px;
	}

	.job-detail-awareness-list {
		gap: 10px;
	}

	.job-detail-awareness-item {
		grid-template-columns: 34px 1fr;
		padding: 12px;
	}

	.job-detail-awareness-item .job-detail-door-icon {
		width: 26px;
		height: 34px;
	}

	.job-detail-section {
		margin-top: 26px;
	}

	.job-detail-section h2,
	.job-detail-section-head h2 {
		font-size: 17px;
	}

	.job-detail-section-head {
		align-items: flex-start;
	}

	.job-detail-small-button {
		min-width: 92px;
		padding: 8px 12px;
		font-size: 12px;
	}

	.job-detail-panel,
	.job-detail-salary-card {
		padding: 18px;
	}

	.job-detail-salary-card {
		gap: 18px;
	}

	.job-detail-salary-labels {
		font-size: 10px;
	}

	.job-detail-related-card h3 {
		font-size: 16px;
	}

	.job-detail-comment-form {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.job-detail-comment-form p {
		border-radius: 10px;
	}

	.job-detail-comment-item {
		grid-template-columns: 32px minmax(0, 1fr);
		padding: 15px 16px;
	}

	.job-detail-comment-item strong {
		grid-column: 2;
		text-align: left;
	}
}

/* =========================================
   ライトモード（data-job-theme="light"）
   トークン置換だけでは対応できない、構造が特殊な部分の上書き
   ========================================= */
body[data-job-theme="light"] .job-detail-page {
	background:
		radial-gradient(circle at 22% 10%, rgba(34, 118, 185, .08), transparent 28rem),
		radial-gradient(circle at 76% 24%, rgba(248, 179, 52, .1), transparent 24rem),
		var(--job-detail-navy);
}

body[data-job-theme="light"] .job-detail-page::before {
	background-image:
		linear-gradient(rgba(7, 25, 54, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(7, 25, 54, .04) 1px, transparent 1px);
}

body.single-job[data-job-theme="light"] #site-header {
	border-bottom: 1px solid #e8edf5;
	background: #ffffff;
	box-shadow: 0 2px 12px rgba(7, 25, 54, .06);
}

body.single-job[data-job-theme="light"] .site-title a,
body.single-job[data-job-theme="light"] #primary-menu a,
body.single-job[data-job-theme="light"] .menu-toggle {
	color: var(--navy);
}

body[data-job-theme="light"] .job-detail-bg {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .9)),
		url("../images/job/bg-job-page.webp") center top / cover no-repeat;
	opacity: .16;
}

body[data-job-theme="light"] .job-detail-awareness-label {
	color: var(--job-detail-text-strong);
	background: linear-gradient(90deg, rgba(52, 204, 188, .14), #ffffff);
	box-shadow: 0 4px 16px rgba(7, 25, 54, .08), inset 0 0 0 1px rgba(52, 204, 188, .3);
}

body[data-job-theme="light"] .job-detail-awareness-label--unknown {
	background: linear-gradient(90deg, rgba(248, 179, 52, .16), #ffffff);
	box-shadow: 0 4px 16px rgba(7, 25, 54, .08), inset 0 0 0 1px rgba(248, 179, 52, .4);
}

body[data-job-theme="light"] .job-detail-awareness-label--niche {
	background: linear-gradient(90deg, rgba(216, 141, 255, .14), #ffffff);
	box-shadow: 0 4px 16px rgba(7, 25, 54, .08), inset 0 0 0 1px rgba(216, 141, 255, .38);
}

body[data-job-theme="light"] .job-detail-awareness-label .job-detail-door-icon {
	color: #1e8f6f;
}

body[data-job-theme="light"] .job-detail-awareness-label--niche .job-detail-door-icon {
	color: #7c3fc9;
}

body[data-job-theme="light"] .job-detail-awareness-label--unknown .job-detail-door-icon {
	color: #b8720c;
}

body[data-job-theme="light"] .job-detail-section h2 span,
body[data-job-theme="light"] .job-detail-section-head h2 span {
	border-color: rgba(229, 148, 0, .55);
	color: #e59400;
	box-shadow: none;
}

body[data-job-theme="light"] .job-detail-salary-number {
	color: #e59400;
	text-shadow: none;
}

/* パステルカラー（暗背景前提の配色）は白背景だと視認性が落ちるため、ライトモード専用の濃い色に差し替え */
body[data-job-theme="light"] .job-detail-awareness-item:nth-child(1) .job-detail-door-icon {
	color: #1e8f6f;
}

body[data-job-theme="light"] .job-detail-awareness-item:nth-child(2) .job-detail-door-icon {
	color: #7c3fc9;
}

body[data-job-theme="light"] .job-detail-awareness-item h3 {
	color: var(--job-detail-text-strong);
}

body[data-job-theme="light"] .job-detail-awareness-item.is-current h3 {
	color: #b8720c;
}

body[data-job-theme="light"] .job-detail-door-icon {
	filter: none;
}

/* ライトテーマ時、扉のグラフィックが白背景で濃く出すぎて見出しテキストと干渉するため、モバイル版と同程度まで薄くする */
body[data-job-theme="light"] .job-detail-door-visual {
	opacity: .32;
	filter: drop-shadow(0 0 18px rgba(248, 179, 52, .18));
}

body[data-job-theme="light"] .job-detail-eyecatch-frame {
	box-shadow: 0 10px 30px rgba(7, 25, 54, .12);
}

body[data-job-theme="light"] .job-detail-related-card:hover,
body[data-job-theme="light"] .job-detail-info-grid,
body[data-job-theme="light"] .job-detail-awareness-card,
body[data-job-theme="light"] .job-detail-panel,
body[data-job-theme="light"] .job-detail-salary-card,
body[data-job-theme="light"] .job-detail-related-card,
body[data-job-theme="light"] .job-detail-ad-card,
body[data-job-theme="light"] .job-detail-comments {
	box-shadow: var(--job-detail-shadow);
}

body[data-job-theme="light"] .job-detail-comment-form a {
	box-shadow: 0 8px 18px rgba(248, 179, 52, .3);
}

/* =========================================
   ライト/ダーク切替ボタン
   ========================================= */
.job-detail-theme-toggle {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 30;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--job-detail-line);
	border-radius: 50%;
	background: var(--job-detail-card-grad-1);
	color: var(--job-detail-accent);
	box-shadow: var(--job-detail-shadow);
	font-size: 20px;
	cursor: pointer;
}

@media (max-width: 640px) {
	.job-detail-theme-toggle {
		left: 14px;
		bottom: 14px;
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
}
