/**
 * ライラック株式会社
 * トップページ
 * 企業向けサービス
 */

.lilac-home-company-services {
	width: 100%;
	margin: 0;
	padding:
		clamp(64px, 7.5vw, 100px)
		20px;
	background:
		linear-gradient(
			135deg,
			#fbf9ff 0%,
			#ffffff 48%,
			#f6f9ff 100%
		);
}

.lilac-home-company-services__inner {
	width: min(100%, 1180px);
	margin: 0 auto;
}

.lilac-home-company-services__header {
	max-width: 820px;
	margin:
		0 auto
		clamp(36px, 4.5vw, 54px);
	text-align: center;
}

.lilac-home-company-services__label {
	margin: 0 0 12px;
	color: #7653a6;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.18em;
}

.lilac-home-company-services__title {
	margin: 0;
	color: #2f2935;
	font-size: clamp(32px, 4.8vw, 50px);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.04em;
}

.lilac-home-company-services__description {
	margin: 22px 0 0;
	color: #66606b;
	font-size: clamp(15px, 2vw, 17px);
	line-height: 2;
}

.lilac-home-company-services__visual {
	width: 100%;
	margin:
		0 0
		clamp(30px, 4vw, 46px);
	border-radius: 28px;
	box-shadow:
		0 22px 60px rgba(65, 51, 82, 0.12);
	overflow: hidden;
}

.lilac-home-company-services__image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	object-fit: cover;
	object-position: center;
}

.lilac-home-company-services__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.5vw, 26px);
}

.lilac-home-company-services__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: clamp(28px, 3.5vw, 38px);
	background: #ffffff;
	border: 1px solid rgba(118, 83, 166, 0.14);
	border-radius: 24px;
	box-shadow:
		0 16px 42px rgba(62, 48, 79, 0.08);
	overflow: hidden;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.lilac-home-company-services__card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6px;
	background:
		linear-gradient(
			90deg,
			#7653a6 0%,
			#9173bd 54%,
			#c4b2db 100%
		);
	content: "";
}

.lilac-home-company-services__card:nth-child(2)::before {
	background:
		linear-gradient(
			90deg,
			#486f9b 0%,
			#6f94ba 54%,
			#b6cbe0 100%
		);
}

.lilac-home-company-services__card:nth-child(3)::before {
	background:
		linear-gradient(
			90deg,
			#9a793f 0%,
			#c09d5c 54%,
			#e0c994 100%
		);
}

.lilac-home-company-services__card:hover {
	border-color: rgba(118, 83, 166, 0.28);
	box-shadow:
		0 22px 54px rgba(62, 48, 79, 0.13);
	transform: translateY(-4px);
}

.lilac-home-company-services__card-number {
	margin: 0 0 16px;
	color: #8b6bb7;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.16em;
}

.lilac-home-company-services__card:nth-child(2)
	.lilac-home-company-services__card-number {
	color: #587ea8;
}

.lilac-home-company-services__card:nth-child(3)
	.lilac-home-company-services__card-number {
	color: #a57e3f;
}

.lilac-home-company-services__card-title {
	margin: 0;
	color: #332d39;
	font-size: clamp(23px, 2.7vw, 31px);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.03em;
}

.lilac-home-company-services__card-lead {
	margin: 16px 0 0;
	color: #514858;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.7;
}

.lilac-home-company-services__card-text {
	margin: 16px 0 0;
	color: #69616f;
	font-size: 15px;
	line-height: 1.95;
}

.lilac-home-company-services__card-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	margin-top: auto;
	padding: 16px 20px;
	background: #f4eff9;
	border: 1px solid rgba(118, 83, 166, 0.12);
	border-radius: 999px;
	color: #684990;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		border-color 0.25s ease;
}

.lilac-home-company-services__card:nth-child(2)
	.lilac-home-company-services__card-link {
	background: #eef4fa;
	border-color: rgba(72, 111, 155, 0.12);
	color: #426b96;
}

.lilac-home-company-services__card:nth-child(3)
	.lilac-home-company-services__card-link {
	background: #fbf6eb;
	border-color: rgba(165, 126, 63, 0.14);
	color: #8f6d35;
}

.lilac-home-company-services__card-link:hover,
.lilac-home-company-services__card-link:focus-visible {
	text-decoration: none;
	transform: translateY(-2px);
}

.lilac-home-company-services__card:first-child
	.lilac-home-company-services__card-link:hover,
.lilac-home-company-services__card:first-child
	.lilac-home-company-services__card-link:focus-visible {
	background: #eee6f7;
	color: #5d3f84;
}

.lilac-home-company-services__card:nth-child(2)
	.lilac-home-company-services__card-link:hover,
.lilac-home-company-services__card:nth-child(2)
	.lilac-home-company-services__card-link:focus-visible {
	background: #e5eef7;
	color: #355d88;
}

.lilac-home-company-services__card:nth-child(3)
	.lilac-home-company-services__card-link:hover,
.lilac-home-company-services__card:nth-child(3)
	.lilac-home-company-services__card-link:focus-visible {
	background: #f5ecd9;
	color: #7f5f2d;
}

.lilac-home-company-services__contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin:
		clamp(32px, 4vw, 46px)
		0 0;
	padding: clamp(24px, 3.5vw, 34px);
	background:
		linear-gradient(
			135deg,
			#5f4388 0%,
			#7653a6 55%,
			#8e73b8 100%
		);
	border-radius: 24px;
	box-shadow:
		0 18px 48px rgba(103, 67, 143, 0.2);
}

.lilac-home-company-services__contact-text {
	margin: 0;
	color: #ffffff;
	font-size: clamp(17px, 2.2vw, 21px);
	font-weight: 700;
	line-height: 1.7;
}

.lilac-home-company-services__contact-button {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 16px 24px;
	background: #ffffff;
	border-radius: 999px;
	color: #67438f;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	box-shadow:
		0 10px 28px rgba(37, 24, 51, 0.18);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.lilac-home-company-services__contact-button:hover,
.lilac-home-company-services__contact-button:focus-visible {
	color: #67438f;
	text-decoration: none;
	transform: translateY(-3px);
	box-shadow:
		0 14px 34px rgba(37, 24, 51, 0.24);
}

@media (max-width: 980px) {

	.lilac-home-company-services__cards {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.lilac-home-company-services__card {
		width: 100%;
		max-width: 760px;
		margin: 0 auto;
	}

	.lilac-home-company-services__contact {
		flex-direction: column;
		text-align: center;
	}

}

@media (max-width: 767px) {

	.lilac-home-company-services {
		padding:
			clamp(52px, 14vw, 72px)
			16px;
	}

	.lilac-home-company-services__header {
		margin-bottom: 30px;
	}

	.lilac-home-company-services__title {
		font-size: clamp(29px, 8vw, 39px);
	}

	.lilac-home-company-services__description {
		margin-top: 18px;
		font-size: 15px;
		line-height: 1.9;
	}

	.lilac-home-company-services__pc-break {
		display: none;
	}

	.lilac-home-company-services__visual {
		margin-bottom: 26px;
		border-radius: 20px;
	}

	.lilac-home-company-services__cards {
		gap: 18px;
	}

	.lilac-home-company-services__card {
		padding: 28px 22px;
		border-radius: 20px;
	}

	.lilac-home-company-services__card-title {
		font-size: clamp(23px, 7vw, 30px);
	}

	.lilac-home-company-services__card-lead {
		font-size: 17px;
	}

	.lilac-home-company-services__card-link {
		margin-top: 26px;
		padding: 15px 18px;
	}

	.lilac-home-company-services__contact {
		margin-top: 26px;
		padding: 26px 20px;
		border-radius: 20px;
	}

	.lilac-home-company-services__contact-button {
		width: 100%;
		padding: 16px 18px;
	}

}

@media (prefers-reduced-motion: reduce) {

	.lilac-home-company-services__card,
	.lilac-home-company-services__card-link,
	.lilac-home-company-services__contact-button {
		transition: none;
	}

}