/**
 * =====================================================
 * みつピタジョブ
 * 求人詳細ページ：掲載企業情報
 * -----------------------------------------------------
 * ・ライラック株式会社固定表示
 * ・ロゴを大きく見やすく表示
 * ・企業名・許可番号を強調
 * ・公式サイトボタン対応
 * ・PC／タブレット／スマートフォン対応
 * =====================================================
 */

/* =====================================================
 * セクション全体
 * ===================================================== */

.mpj-job-publisher {
	width: 100%;
	margin: 32px 0 0;
	padding: 0;
	color: #26352f;
}

/* =====================================================
 * 見出し
 * ===================================================== */

.mpj-job-publisher__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 12px 18px;
	background: #176247;
	border-radius: 14px 14px 0 0;
	color: #ffffff;
}

.mpj-job-publisher__heading-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	color: #ffffff;
	font-size: 16px;
	line-height: 1;
}

.mpj-job-publisher__heading-icon i {
	display: block;
	margin: 0;
	padding: 0;
	color: #ffffff;
	font-size: 16px;
	line-height: 1;
}

.mpj-job-publisher__title {
	flex: 1;
	margin: 0;
	padding: 0;
	border: 0;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

/* =====================================================
 * 掲載企業カード
 * ===================================================== */

.mpj-job-publisher__card {
	display: grid;
	grid-template-columns:
		minmax(240px, 290px)
		minmax(0, 1fr);
	align-items: stretch;
	gap: 30px;
	width: 100%;
	margin: 0;
	padding: 30px;
	background: #ffffff;
	border: 1px solid #dce9e3;
	border-top: 0;
	border-radius: 0 0 14px 14px;
	box-shadow:
		0 5px 18px rgba(26, 74, 55, 0.07);
}

/* =====================================================
 * ロゴ
 * ===================================================== */

.mpj-job-publisher__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 220px;
	padding: 24px;
	background:
		linear-gradient(
			135deg,
			#f8fcfa 0%,
			#f2f8f5 100%
		);
	border: 1px solid #dcebe4;
	border-radius: 16px;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.mpj-job-publisher__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 175px;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
}

/* =====================================================
 * 本文
 * ===================================================== */

.mpj-job-publisher__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	width: 100%;
}

.mpj-job-publisher__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* =====================================================
 * 各項目
 * ===================================================== */

.mpj-job-publisher__row {
	display: grid;
	grid-template-columns:
		minmax(180px, 230px)
		minmax(0, 1fr);
	align-items: stretch;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #dce9e3;
	border-radius: 12px;
}

.mpj-job-publisher__row dt {
	display: flex;
	align-items: center;
	min-height: 58px;
	margin: 0;
	padding: 14px 16px;
	background: #edf8f3;
	border: 0;
	color: #176247;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.mpj-job-publisher__row dt::before {
	content: "";
	display: inline-block;
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	margin-right: 9px;
	background: #31a475;
	border-radius: 50%;
}

.mpj-job-publisher__row dd {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 58px;
	margin: 0;
	padding: 14px 18px;
	background: #ffffff;
	color: #2f4039;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.8;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* 掲載企業名を少し強調 */

.mpj-job-publisher__row:first-child dd {
	color: #176247;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* =====================================================
 * 公式サイトリンク
 * ===================================================== */

.mpj-job-publisher__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	margin: 20px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid #e1ebe6;
}

.mpj-job-publisher__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-width: 240px;
	min-height: 48px;
	padding: 11px 22px;
	background: #176247;
	border: 1px solid #176247;
	border-radius: 999px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.mpj-job-publisher__link:visited {
	color: #ffffff;
}

.mpj-job-publisher__link:hover,
.mpj-job-publisher__link:focus-visible {
	background: #ffffff;
	border-color: #176247;
	color: #176247;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow:
		0 6px 16px rgba(23, 98, 71, 0.16);
}

.mpj-job-publisher__link i {
	flex: 0 0 auto;
	color: inherit;
	font-size: 13px;
	line-height: 1;
}

/* =====================================================
 * タブレット
 * ===================================================== */

@media (max-width: 1023px) {

	.mpj-job-publisher {
		margin-top: 28px;
	}

	.mpj-job-publisher__card {
		grid-template-columns:
			minmax(210px, 250px)
			minmax(0, 1fr);
		gap: 24px;
		padding: 24px;
	}

	.mpj-job-publisher__logo {
		min-height: 190px;
		padding: 20px;
	}

	.mpj-job-publisher__logo img {
		max-height: 145px;
	}

	.mpj-job-publisher__row {
		grid-template-columns:
			minmax(155px, 190px)
			minmax(0, 1fr);
	}

	.mpj-job-publisher__row dt,
	.mpj-job-publisher__row dd {
		min-height: 54px;
		padding: 12px 14px;
	}

	.mpj-job-publisher__row:first-child dd {
		font-size: 16px;
	}

}

/* =====================================================
 * スマートフォン
 * ===================================================== */

@media (max-width: 767px) {

	.mpj-job-publisher {
		margin-top: 24px;
	}

	.mpj-job-publisher__heading {
		min-height: 50px;
		gap: 8px;
		padding: 11px 14px;
		border-radius: 12px 12px 0 0;
	}

	.mpj-job-publisher__heading-icon,
	.mpj-job-publisher__heading-icon i {
		font-size: 15px;
	}

	.mpj-job-publisher__title {
		font-size: 16px;
	}

	.mpj-job-publisher__card {
		display: block;
		padding: 18px;
		border-radius: 0 0 12px 12px;
	}

	.mpj-job-publisher__logo {
		width: 100%;
		min-height: 165px;
		margin: 0 0 18px;
		padding: 20px;
		border-radius: 14px;
	}

	.mpj-job-publisher__logo img {
		max-width: 240px;
		max-height: 125px;
	}

	.mpj-job-publisher__list {
		gap: 11px;
	}

	.mpj-job-publisher__row {
		display: block;
		border-radius: 11px;
	}

	.mpj-job-publisher__row dt {
		min-height: 38px;
		padding: 9px 12px;
		font-size: 12px;
	}

	.mpj-job-publisher__row dt::before {
		flex-basis: 7px;
		width: 7px;
		height: 7px;
		margin-right: 8px;
	}

	.mpj-job-publisher__row dd {
		min-height: auto;
		padding: 13px;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.75;
	}

	.mpj-job-publisher__row:first-child dd {
		font-size: 16px;
	}

	.mpj-job-publisher__links {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 17px;
		padding-top: 17px;
	}

	.mpj-job-publisher__link {
		width: 100%;
		min-width: 0;
		min-height: 48px;
		padding: 11px 15px;
		font-size: 13px;
		text-align: center;
	}

}

/* =====================================================
 * 小型スマートフォン
 * ===================================================== */

@media (max-width: 430px) {

	.mpj-job-publisher__card {
		padding: 14px;
	}

	.mpj-job-publisher__logo {
		min-height: 145px;
		padding: 16px;
	}

	.mpj-job-publisher__logo img {
		max-width: 215px;
		max-height: 110px;
	}

	.mpj-job-publisher__title {
		font-size: 15px;
	}

	.mpj-job-publisher__row dd {
		font-size: 13px;
	}

	.mpj-job-publisher__row:first-child dd {
		font-size: 15px;
	}

}