@charset "UTF-8";
/* =========================================================
   求人詳細ページ リニューアル 2026-06-17
   ・添付カンプ準拠（PC: 画像左＋情報右 / SP: タイトル→画像→概要）
   ・既存に影響しない独立クラス（rd_* / ro_*）＋ 詳細ページ限定の上書きのみ
   ・ブランドカラー: #095060 深ティール / #02A8E3 ライトブルー
                    給与=#e60012 / 応募CTA=オレンジ→ピンクのグラデ
   ・import.css 等の共通CSSは未変更。detail.html から直接 link で読込。
   ========================================================= */

/* ===== 上部レイアウト ===== */
/* PC: CSS Grid で「画像（左・縦に連結）／見出し（右上）／概要（右下）」 */
@media screen and (min-width:768px) {
	.recruit_detail_top {
		display: grid;
		grid-template-columns: 34% 1fr;
		grid-template-areas:
			"img head"
			"img summary";
		column-gap: 2.2em;
		align-items: start;
		margin-bottom: 2em;
	}
	/* grid 内で clearfix 擬似要素が余分なセルを作らないよう無効化 */
	.recruit_detail_top::before,
	.recruit_detail_top::after {
		content: none;
		display: none;
	}
	.recruit_detail_top .rd_head_block {
		grid-area: head;
	}
	.recruit_detail_top .recruit_detail_image {
		grid-area: img;
		width: auto;
		float: none;
		align-self: start;
	}
	.recruit_detail_top .recruit_detail_top_right {
		grid-area: summary;
		width: auto;
		padding: 0;
		float: none;
	}
}

/* ===== 見出しブロック（職種 + タイトル） ===== */
.rd_head_block {
	margin-bottom: 0.6em;
}
.rd_head_block .kind {
	color: #02A8E3;
	font-weight: 700;
	font-size: 14px;
	padding: 0 0 4px;
	margin: 0;
	line-height: 1.4;
}
.rd_head_block .recruit_detail_head {
	margin: 0;
}
/* タイトルは h2（旧 h3 相当のサイズを踏襲） */
.recruit_detail_head h2 {
	font-size: 22px;
	line-height: 1.6;
	font-weight: 700;
	margin: 0;
}

/* ===== 画像下の応募CTAボタン ===== */
.rd_cta_btns {
	margin-top: 14px;
}
.rd_cta_btns ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rd_cta_btns li + li {
	margin-top: 12px;
}

/* 応募CTA（オレンジ→ピンクのグラデ） */
.btn.rd_cta_apply {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: linear-gradient(95deg, #ff8b3d 0%, #fb5a7f 100%);
	border: none;
	border-radius: 6px;
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	padding: 14px 10px;
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.11);
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.btn.rd_cta_apply .rd_cta_main {
	display: inline-flex;
	align-items: center;
}
.btn.rd_cta_apply i {
	margin-right: 6px;
}
/* サブ文「かんたん1分で完了」はラフ準拠で白い枠内に配置 */
.btn.rd_cta_apply .rd_cta_sub {
	display: inline-block;
	background: #fff;
	color: #e54f76;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	padding: 2px 10px;
	margin-top: 6px;
	opacity: 1;
}
.btn.rd_cta_apply:hover {
	opacity: 0.85;
}
.btn.rd_cta_apply.is-done,
.btn.rd_cta_apply.is-disabled {
	background: #bcbcbc;
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
	cursor: default;
}
.btn.rd_cta_apply.is-done:hover,
.btn.rd_cta_apply.is-disabled:hover {
	opacity: 1;
}

/* 職場見学CTA（白地＋ライトブルー枠） */
.btn.rd_cta_visit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: #fff;
	border: 1px solid #02A8E3;
	border-radius: 6px;
	color: #0c4e61 !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	padding: 13px 10px;
	box-shadow: none;
	text-decoration: none;
	transition: background 0.2s ease;
}
.btn.rd_cta_visit i {
	margin-right: 6px;
	color: #02A8E3;
}
.btn.rd_cta_visit:hover {
	background: #eaf6fc;
	opacity: 1;
}

/* eole 情報提供元クレジット */
.rd_eole_credit {
	text-align: right;
	font-size: 11px;
	color: #999;
	margin-top: 8px;
}

/* ===== スクロール追従CTAバー（#pagetop2）もカンプ準拠のグラデ表示 ===== */
#pagetop2 .box_btn_head ul li .rd_cta_apply,
#pagetop2 .box_btn_head ul li .rd_cta_visit {
	width: auto;
	font-size: 15px;
	padding: 7px 22px;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.11);
	vertical-align: middle;
}
#pagetop2 .box_btn_head ul li .rd_cta_visit {
	box-shadow: none;
}
#pagetop2 .box_btn_head ul li .rd_cta_apply .rd_cta_sub {
	font-size: 10px;
	padding: 1px 8px;
	margin-top: 3px;
}
/* PC は上部固定バーの2ボタンを等高に（職場見学が小さく見えないように） */
@media screen and (min-width:768px) {
	#pagetop2 .box_btn_head ul {
		display: flex;
		justify-content: flex-end;
		align-items: stretch;
		gap: 10px;
	}
	#pagetop2 .box_btn_head ul li {
		display: flex;
	}
	#pagetop2 .box_btn_head ul li .rd_cta_apply,
	#pagetop2 .box_btn_head ul li .rd_cta_visit {
		height: 100%;
	}
}
/* SP は下部固定バーで2ボタンを等幅・等高に */
@media screen and (max-width:767px) {
	/* 画面両端に密着しないよう左右に余白 */
	#pagetop2 {
		padding-left: 12px;
		padding-right: 12px;
	}
	#pagetop2 .box_btn_head ul {
		display: flex;
		gap: 8px;
		justify-content: center;
		text-align: center;
	}
	#pagetop2 .box_btn_head ul li {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		display: flex;
	}
	#pagetop2 .box_btn_head ul li .rd_cta_apply,
	#pagetop2 .box_btn_head ul li .rd_cta_visit {
		width: 100%;
		font-size: 14px;
		padding: 6px 4px;
	}
}

/* ===== キャッチコピー（pr1）：アイコン＋装飾（ラフ準拠） ===== */
.recruit_detail_text .catch {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 120%;
	font-weight: 700;
	color: #0c4e61;
	line-height: 1.6;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 2px solid #eaf6fc;
}
.recruit_detail_text .catch .catch_ico {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	margin: 0;
	border-radius: 50%;
	background: #eaf6fc;
	color: #02A8E3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

/* ===== 求人概要カード：SP の並び順 ===== */
/* PC は DOM 順（給与・勤務地／勤務時間・アクセス／休日・雇用形態）で2カラム表示 */
/* SP は1カラムで 給与→勤務地→アクセス→勤務時間→休日→雇用形態 に並べ替え */
@media screen and (max-width:767px) {
	.recruit_overview {
		flex-direction: column;
	}
	.recruit_overview .ro_pay {
		order: 1;
	}
	.recruit_overview .ro_place {
		order: 2;
	}
	.recruit_overview .ro_access {
		order: 3;
	}
	.recruit_overview .ro_time {
		order: 4;
	}
	.recruit_overview .ro_holiday {
		order: 5;
	}
	.recruit_overview .ro_koyou {
		order: 6;
	}
}

/* ===== この求人のポイント（特徴タグ） ===== */
.rd_points {
	margin: 20px 0 10px;
}
.rd_points_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.rd_points_title {
	display: flex;
	align-items: center;
	font-size: 18px;
	font-weight: 700;
	color: #095060;
	line-height: 1.3;
	margin: 0;
}
.rd_points_title i {
	color: #02A8E3;
	margin-right: 6px;
}
.rd_points_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.rd_points_list li {
	display: inline-flex;
	align-items: center;
	background: #f1f9fd;
	color: #0c4e61;
	border: 1px solid #cfeaf7;
	border-radius: 4px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}
.rd_points_list li.is-hidden {
	display: none;
}
.rd_points_more {
	display: inline-block;
	margin-top: 12px;
	background: #fff;
	border: 1px solid #02A8E3;
	color: #02A8E3;
	border-radius: 6px;
	padding: 8px 20px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: all 0.2s ease;
}
.rd_points_more:hover {
	background: #02A8E3;
	color: #fff;
}

/* ===== SNSシェア（小さく控えめ） ===== */
.rd_sns {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.rd_sns a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	padding: 3px 9px;
	border-radius: 3px;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}
.rd_sns a:hover {
	opacity: 0.8;
}
.rd_sns .rd_sns_ico {
	font-weight: 700;
}
.rd_sns_fb {
	background: #1877f2;
	color: #fff !important;
}
.rd_sns_x {
	background: #000;
	color: #fff !important;
}
/* SNS出し分け：PCは「この求人のポイント」見出しの上に右寄せ／SPはタイトル下に右寄せ */
.rd_head_block .rd_sns_title {
	justify-content: flex-end;
	margin-top: 8px;
}
.rd_points .rd_sns_points {
	justify-content: flex-end;
	margin-bottom: 8px;
}
@media screen and (min-width:768px) {
	.rd_head_block .rd_sns_title { display: none; }
	.rd_points .rd_sns_points { display: flex; }
}
@media screen and (max-width:767px) {
	.rd_head_block .rd_sns_title { display: flex; }
	.rd_points .rd_sns_points { display: none; }
}

/* ===== 求人紹介文 ===== */
/* PC は従来どおり全文表示（アコーディオン・縮小は SP のみ） */
@media screen and (max-width:767px) {
	/* 文字サイズを読みやすく拡大（従来 80% → 15px） */
	.recruit_detail_text {
		font-size: 15px;
		line-height: 1.85;
	}
	.recruit_detail_text .catch {
		font-size: 16px;
		line-height: 1.6;
		margin-bottom: 8px;
	}
	/* 初期は3行で省略、アコーディオンで全文表示 */
	.recruit_detail_text .rd_pr_body p {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
		margin: 0;
	}
	.recruit_detail_text .rd_pr_body.is-open p {
		display: block;
		-webkit-line-clamp: unset;
		overflow: visible;
	}
	/* 「＋ 求人紹介文をもっと見る」：青文字テキストリンク／タップ範囲広め */
	.rd_pr_more {
		color: #02A8E3;
		text-decoration: underline;
		font-size: 15px;
		font-weight: 700;
		padding: 14px 4px;
		margin-top: 2px;
	}
}

/* ===== SP 個別調整（2026-06-17 追記） ===== */
@media screen and (max-width:767px) {
	/* タイトル上の職種名は非表示 */
	.rd_head_block .kind {
		display: none;
	}
	/* タイトル(h2)は読みやすいサイズに */
	.recruit_detail_head h2 {
		font-size: 18px;
		line-height: 1.5;
	}
	/* SPではパンくず非表示（page.css の既定どおり）。見出しがヘッダに密着しないよう上に余白 */
	body#recruit_detail #content {
		padding-top: 12px;
	}
}

/* ===== PC：本文（pr1/pr2）エリアを読みやすい幅に制限・中央寄せ ===== */
@media screen and (min-width:768px) {
	.recruit_detail_text {
		max-width: 860px;
		margin: 28px auto;
		line-height: 1.9;
	}
	.recruit_detail_text .rd_pr_body p {
		margin: 0;
	}
}
