/*
 * 採用代行(/rpo/)専用 CSS。page-rpo.php からのみ読み込む
 * 見た目の土台は kpt-web-diagnosis.css(.kwd 系)を共用し、ここではこのページだけの部品と、ページ指定のリセットを書く
 */

/* ---- Lightning 標準ヘッダーを隠す・上部余白のリセット(kpt-web-diagnosis.css の .post-name-web-diagnosis と同じ) ---- */
.post-name-rpo .site-header,
.post-name-rpo .siteHeader,
.post-name-rpo #siteHeader,
.post-name-rpo .site-header-layout-default,
.post-name-rpo .global-nav,
.post-name-rpo .gMenu_outer { display: none !important; }
.post-name-rpo .site-body,
.post-name-rpo #main,
.post-name-rpo .site-content { margin-top: 0 !important; padding-top: 0 !important; }
.post-name-rpo.admin-bar .kpt-header { top: 32px; }
.post-name-rpo .page_top_btn { display: none !important; }
body.post-name-rpo { overflow: visible !important; }


/* ---- 要件の分解の表 ---- */
.krp-req td:first-child { width: 150px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.krp-req td { line-height: 1.75; }

/* ---- Reason 01: チームの出身 ---- */
/* 5枚: Reason 02 の右半分に2列(最後の1枚は横いっぱい) */
.krp-team { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.krp-team li { min-width: 0; padding: 16px 16px 14px !important; }
.krp-team li:last-child { grid-column: 1 / -1; }
.krp-team li { display: grid; align-content: start; gap: 10px; padding: 20px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.kwd .krp-team li p { font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.kwd .krp-team .krp-team__from { display: grid; gap: 2px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.krp-team__from span { font-family: var(--en); font-style: italic; font-weight: 600; font-size: 13px; color: var(--gold-ink); }

/* ---- Reason 03: 社内で作れる素材 ---- */
.krp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.krp-tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--ink); }

/* ---- 支援の例 ---- */
.krp-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.krp-case { display: grid; align-content: start; gap: 18px; padding: 28px 28px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.kwd .krp-case__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--gold-ink); }
.krp-case__tag .kwd-ico { width: 22px; height: 22px; }
.kwd .krp-case__result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.krp-case__result b { font-family: var(--en); font-style: italic; font-weight: 600; font-size: 52px; line-height: 1; color: var(--ink); }
.krp-case__result b small { margin-left: 2px; font-family: var(--jp); font-style: normal; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.krp-case__result span { font-size: 16px; font-weight: 700; }
.krp-case dl { display: grid; gap: 10px; margin: 0; }
.krp-case dl div { display: grid; grid-template-columns: 48px 1fr; gap: 12px; }
.krp-case dt { padding: 2px 0; border-radius: 4px; background: var(--tint); font-size: 12px; font-weight: 700; text-align: center; color: var(--ink-2); align-self: start; }
.krp-case dd { margin: 0; font-size: 14px; line-height: 1.75; }

/* ---- ヒーロー: サービス名を主役に、キャッチは一段小さく ---- */
.kwd .krp-hero__title { display: grid; gap: 14px; margin-bottom: 18px; }
.kwd .krp-hero__service { font-size: clamp(34px, 5.2vw, 64px); font-weight: 900; line-height: 1.22; letter-spacing: .01em; }
.kwd .krp-hero__catch { font-size: clamp(16px, 1.7vw, 21px); font-weight: 700; line-height: 1.65; color: rgba(255, 255, 255, 0.92); max-width: 34em; }

/* ---- 事例3件 ---- */
.krp-cases--3 { grid-template-columns: repeat(3, 1fr); }
.krp-cases--3 .krp-case__result b { font-size: 46px; }
.krp-cases--3 .krp-case__result span { flex-basis: 100%; font-size: 14.5px; }

/* ---- Reason 03: 社内に残るもの ---- */
.krp-assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.krp-assets li { display: grid; justify-items: start; gap: 10px; padding: 18px 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 700; }
.krp-assets .kwd-ico { width: 30px; height: 30px; color: var(--gold-ink); }

/* ---- 料金の考え方: 採用担当を固定費で雇う代わりに、変動費で ---- */
.krp-hire { margin: 0 auto 40px; max-width: 980px; padding: 36px 32px 32px; border-radius: 20px; background: var(--ink); color: #fff; text-align: center; }
.kwd .krp-hire__lead { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--gold); }
.kwd .krp-hire__main { margin-top: 10px; font-size: clamp(20px, 2.6vw, 30px); font-weight: 900; line-height: 1.55; text-wrap: balance; }
.krp-hire__main span { display: inline-block; }
.krp-hire__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; text-align: left; }
.krp-hire__col { padding: 20px 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.krp-hire__col--us { background: rgba(201, 169, 110, 0.16); border-color: rgba(201, 169, 110, 0.5); }
.kwd .krp-hire__label { margin-bottom: 10px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.kwd .krp-hire__col--us .krp-hire__label { color: var(--gold); }
.krp-hire__col ul { display: grid; gap: 6px; }
.krp-hire__col li { position: relative; padding-left: 1.2em; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }
.krp-hire__col li::before { content: "・"; position: absolute; left: 0; }
.krp-hire__col--us li::before { content: "✓"; color: var(--gold); }

/* ---- 料金プラン(kwd-plan を共用)の追記 ---- */
.kwd .krp-plan__init { margin: -4px 0 0; font-size: 13px; font-weight: 700; color: var(--gold-ink); }
.kwd .krp-plan__for { margin: 10px 0 4px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
/* 注記は左端をそろえた1つのかたまりにして、かたまりごと中央に置く */
.krp .krp-price-notes { width: fit-content; max-width: 100%; margin: 28px auto 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; line-height: 1.7; color: var(--ink-3); text-align: left; }
.krp-price-notes li { padding-left: 1.2em; text-indent: -1.2em; }
.krp-price-notes li::before { content: "※ "; }

/* ---- 業種と職種のあいだの小見出し ---- */
.kwd .krp-sub { margin: 56px 0 20px; font-size: 20px; font-weight: 700; text-align: center; }

/* ---- ヒーロー右下: 事例の数字を大きく見せる金色のカード ---- */
.krp-hero__result {
	position: absolute;
	right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
	bottom: 56px;
	z-index: 3;
	display: grid;
	gap: 6px;
	width: 330px;
	padding: 26px 26px 18px;
	border-radius: 20px;
	background: linear-gradient(135deg, #ecd8ad 0%, #c9a96e 52%, #a4834b 100%);
	color: var(--ink) !important;
	text-decoration: none !important;
	box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	transform: rotate(-2deg);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.krp-hero__result:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 34px 70px -22px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.krp-hero__result-tag { position: absolute; top: -13px; left: 22px; padding: 3px 14px; border-radius: 999px; background: var(--ink); color: var(--gold); font-family: var(--en); font-style: italic; font-weight: 600; font-size: 14px; letter-spacing: .14em; }
.krp-hero__result-label { font-size: 12px; font-weight: 700; letter-spacing: .02em; opacity: .85; }
.krp-hero__result-main { display: flex; align-items: baseline; flex-wrap: wrap; line-height: 1; }
.krp-hero__result-main b { margin: 0 3px; font-family: var(--en); font-style: italic; font-weight: 600; font-size: 78px; letter-spacing: -.02em; }
.krp-hero__result-main small { font-size: 16px; font-weight: 900; }
.krp-hero__result-sub { font-size: 13px; font-weight: 700; }
.krp-hero__result-more { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(31, 31, 31, 0.25); font-size: 12.5px; font-weight: 700; }

/* ---- お悩みカードと締めの一文のあいだ ---- */
.krp .kwd-problems + .kwd-bridge { margin-top: 48px; }

/* ---- ヒーロー: 説明文と3枚のカードのあいだを空ける ---- */
.krp .kwd-hero__easy { margin-top: 40px; }

/* ---- 見出しの下の説明文は、ページを通して中央揃え(行の長さをそろえる) ---- */
.krp .kwd-head__lead { max-width: 46em; margin-inline: auto; text-align: center; text-wrap: balance; }

/* ---- Problem: 暗い地で「行き詰まり」の空気を出す(写真を入れるときは .krp-problem に背景画像を足す) ---- */
.krp .krp-problem { position: relative; overflow: hidden; background: linear-gradient(180deg, #24262a 0%, #2f3136 100%); color: #e9e7e3; }
.krp-problem .kwd-wrap { position: relative; z-index: 1; }
.krp-problem .kwd-head__en { color: rgba(255, 255, 255, 0.9); }
.krp-problem .kwd-head__jp { color: #c9b28a; }
.krp .krp-problem .kwd-problems li { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); color: #ecebe8; box-shadow: none; }
.krp .krp-problem .kwd-problems li p { color: #ecebe8; }
.krp .krp-problem .kwd-problems .kwd-ico { color: #c9b28a; background: rgba(255, 255, 255, 0.06); }
.krp .krp-problem .kwd-bridge { color: #fff; }
.krp .krp-problem .kwd-bridge strong { color: #fff; background: linear-gradient(transparent 62%, rgba(201, 169, 110, 0.55) 62%); }

/* ---- 貴社がやることは2つだけ: 左に大きな2つ、右に引き受ける作業の一覧 ---- */
.krp-part__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; align-items: stretch; }
.krp-part__you, .krp-part__us { border-radius: 20px; padding: 28px 28px 30px; }
.krp-part__you { display: grid; align-content: center; background: var(--ink); color: #fff; }
.krp-part__us { background: #fff; border: 1px solid var(--line); }
.kwd .krp-part__label { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--gold-ink); }
.kwd .krp-part__you .krp-part__label { color: var(--gold); }
.krp-part__two { display: grid; gap: 14px; }
.krp-part__two li { display: grid; grid-template-columns: 64px 1fr; align-items: center; column-gap: 16px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.krp-part__no { grid-row: span 2; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--en); font-style: italic; font-weight: 600; font-size: 34px; }
.krp-part__two b { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.3; }
.krp-part__two li > span:last-child { font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.krp-part__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.krp-part__list li { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-content: start; padding: 16px 16px 16px; border-radius: 14px; background: var(--tint); }
.krp-part__icon { grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.krp-part__icon .kwd-ico { width: 20px; height: 20px; }
.kwd .krp-part__list h4 { margin: 0; align-self: center; font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.kwd .krp-part__list p { grid-column: 2; font-size: 13px; line-height: 1.7; color: var(--ink-2); }

/* ---- カードの下の注記は、カードとのあいだを広めに ---- */
.krp .krp-cases + .kwd-note, .krp .krp-positions + .kwd-note, .krp .kwd-flow + .kwd-note { margin-top: 44px; }

/* ---- 有料職業紹介事業の許可番号 ---- */
.kwd .krp-license { margin-top: 18px; font-size: 11.5px; letter-spacing: .08em; color: rgba(255, 255, 255, 0.72); }
.kwd .krp-license--dark { margin-top: 20px; color: var(--ink-3); }

/* ---- 役割分担(カプテリ/貴社) ---- */
.krp-roles { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 20px; }
.kwd .krp-roles__item { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; border-radius: var(--radius); background: var(--ink); color: #fff; font-size: 14px; line-height: 1.75; }
.kwd .krp-roles__item--you { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.krp-roles__who { flex: 0 0 auto; padding: 1px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.8; }
.krp-roles__item--you .krp-roles__who { background: var(--tint); }

/* ---- 業種別のよくあるご相談 ---- */
.krp-consults { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.krp-consult { display: grid; align-content: start; gap: 14px; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.kwd .krp-consult__who { display: grid; gap: 2px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.krp-consult__who span { font-family: var(--en); font-style: italic; font-weight: 600; font-size: 13px; color: var(--gold-ink); }
.kwd .krp-consult__q { position: relative; padding: 14px 16px; border-radius: 10px; background: var(--tint); font-size: 14.5px; font-weight: 700; line-height: 1.7; }
.kwd .krp-consult__a { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.krp-consult__a span { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; vertical-align: 1px; }

/* ---- 対応する職種 ---- */
.krp-positions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.krp-position { padding: 22px 22px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.kwd .krp-position h4 { display: grid; gap: 2px; margin: 0; font-size: 17px; font-weight: 700; }
.krp-position h4 span { font-family: var(--en); font-style: italic; font-weight: 600; font-size: 13px; color: var(--gold-ink); }
.krp-position .krp-tags { margin-top: 14px; gap: 6px; }
.krp-position .krp-tags li { padding: 4px 12px; font-size: 12.5px; font-weight: 500; background: var(--tint); border-color: transparent; }

@media (max-width: 1000px) {
	.krp-part__grid, .krp-hire__compare { grid-template-columns: 1fr; }
		.krp-hero__result { position: relative; right: auto; bottom: auto; margin-top: 40px; width: 100%; max-width: 360px; transform: none; }
	.krp-hero__result:hover { transform: translateY(-2px); }
	.krp-consults, .krp-positions { grid-template-columns: repeat(2, 1fr); }
	.krp-cases--3 { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
	.krp-roles { grid-template-columns: 1fr; }
	.krp-cases { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 640px) {
	.krp-consults, .krp-positions, .krp-part__list { grid-template-columns: 1fr; }
	.krp-assets { grid-template-columns: 1fr 1fr; }
	.kwd .krp-hero__service { font-size: 7.3vw; }
	.krp .kwd-hero__easy { margin-top: 28px; }
	.krp-part__you, .krp-part__us { padding: 22px 18px 24px; }
	.krp-hire { padding: 26px 18px 22px; }
	.krp-part__two li { grid-template-columns: 52px 1fr; padding: 14px 16px; }
	.krp-part__no { width: 52px; height: 52px; font-size: 28px; }
	.krp-hero__result-main b { font-size: 64px; }
	.krp-team { grid-template-columns: 1fr; }
	.krp-case { padding: 22px 20px 20px; }
	.krp-case__result b { font-size: 44px; }
	/* 要件の表は、スマホでは「観点」を見出しにして縦に積む(横スクロールさせない) */
	.krp-req { min-width: 0; }
	.krp-req thead { display: none; }
	.krp-req tr, .krp-req td { display: block; width: auto; }
	.krp-req td:first-child { width: auto; padding: 16px 0 4px; border-bottom: 0; white-space: normal; }
	.krp-req td:last-child { padding-top: 0; }
	.krp .kwd-hero__copy { font-size: 6.2vw; }
	.post-name-rpo .siteFooter { padding-bottom: 88px; }
}

/* ---- フォーム: 採用したい職種(チェックボックス)を丸いボタン状に ---- */
.kwd .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
.kwd .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.kwd .wpcf7-checkbox label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.kwd .wpcf7-checkbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.kwd .wpcf7-checkbox label:has(input:checked) { border-color: var(--ink); background: var(--gold-soft); }
