/**
 * Lilac Contents Bridge
 * みつピタジョブ表示用CSS
 */

/* =====================================================
 * 共通
 * ===================================================== */

.lilac-news-list,
.lilac-column-list,
.lilac-youtube-shorts {
	width: min(100%, 1180px);
	margin: 0 auto;
}

.lilac-news-list *,
.lilac-column-list *,
.lilac-youtube-shorts * {
	box-sizing: border-box;
}

/* =====================================================
 * お知らせ
 * ===================================================== */

.lilac-news-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.lilac-news-card {
	min-width: 0;
	margin: 0;
	border: 1px solid #ece7f3;
	border-radius: 20px;
	background: #ffffff;
	box-shadow:
		0 10px 30px rgba(78, 55, 105, 0.08);
	overflow: hidden;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.lilac-news-card:hover {
	transform: translateY(-4px);
	box-shadow:
		0 16px 38px rgba(78, 55, 105, 0.13);
}

.lilac-news-card__link {
	height: 100%;
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.lilac-news-card__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #f7f4fb;
	overflow: hidden;
}

.lilac-news-card__thumbnail {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.lilac-news-card:hover .lilac-news-card__thumbnail {
	transform: scale(1.04);
}

.lilac-news-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 24px;
}

.lilac-news-card__date {
	margin: 0 0 10px;
	color: #8267a7;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.lilac-news-card__title {
	margin: 0 0 14px;
	color: #2f2935;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 700;
	line-height: 1.55;
}

.lilac-news-card__excerpt {
	margin: 0 0 22px;
	color: #66606c;
	font-size: 14px;
	line-height: 1.9;
}

.lilac-news-card__more {
	margin-top: auto;
	color: #7653a6;
	font-size: 14px;
	font-weight: 700;
}

/* =====================================================
 * コラム
 * ===================================================== */

.lilac-column-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.lilac-column-card {
	min-width: 0;
	margin: 0;
	border-radius: 22px;
	background: #ffffff;
	box-shadow:
		0 12px 34px rgba(63, 45, 87, 0.1);
	overflow: hidden;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.lilac-column-card:hover {
	transform: translateY(-5px);
	box-shadow:
		0 18px 42px rgba(63, 45, 87, 0.15);
}

.lilac-column-card__link {
	height: 100%;
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.lilac-column-card__image {
	width: 100%;
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(
			135deg,
			#f5f0fb 0%,
			#f7fbff 100%
		);
	overflow: hidden;
}

.lilac-column-card__thumbnail {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.lilac-column-card:hover .lilac-column-card__thumbnail {
	transform: scale(1.04);
}

.lilac-column-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 26px;
}

.lilac-column-card__date {
	margin: 0 0 10px;
	color: #8c72ad;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.lilac-column-card__title {
	margin: 0 0 14px;
	color: #2e2933;
	font-size: clamp(19px, 2vw, 23px);
	font-weight: 700;
	line-height: 1.55;
}

.lilac-column-card__excerpt {
	margin: 0 0 22px;
	color: #68616e;
	font-size: 14px;
	line-height: 1.9;
}

.lilac-column-card__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #7653a6;
	font-size: 14px;
	font-weight: 700;
}

.lilac-column-card__more::after {
	content: "→";
	font-size: 16px;
	line-height: 1;
}

/* =====================================================
 * YouTubeショート
 * ===================================================== */

.lilac-youtube-shorts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	justify-content: center;
}

.lilac-youtube-short {
	min-width: 0;
	max-width: 380px;
	width: 100%;
	margin: 0 auto;
	border-radius: 24px;
	background: #ffffff;
	box-shadow:
		0 14px 38px rgba(51, 38, 68, 0.13);
	overflow: hidden;
}

.lilac-youtube-short__media {
	position: relative;
	width: 100%;
	aspect-ratio: 9 / 16;
	background: #1f1f1f;
	overflow: hidden;
}

.lilac-youtube-short__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.lilac-youtube-short__content {
	padding: 20px 22px 22px;
}

.lilac-youtube-short__title {
	margin: 0 0 8px;
	color: #2f2935;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.65;
}

.lilac-youtube-short__title a {
	color: inherit;
	text-decoration: none;
}

.lilac-youtube-short__title a:hover {
	color: #7653a6;
}

.lilac-youtube-short__date {
	margin: 0;
	color: #8a8290;
	font-size: 13px;
	line-height: 1.6;
}

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

@media (max-width: 960px) {

	.lilac-news-list,
	.lilac-column-list,
	.lilac-youtube-shorts {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
		gap: 22px;
	}
}

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

@media (max-width: 640px) {

	.lilac-news-list,
	.lilac-column-list,
	.lilac-youtube-shorts {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.lilac-news-card,
	.lilac-column-card {
		border-radius: 18px;
	}

	.lilac-news-card__content,
	.lilac-column-card__content {
		padding: 20px;
	}

	.lilac-youtube-short {
		max-width: 340px;
		border-radius: 20px;
	}

	.lilac-youtube-short__content {
		padding: 18px 20px 20px;
	}
}