/* 出演者関連記事
   SWELLの本文スタイルに負けないよう、ルート要素のクラスを重ねて指定しています */

.scr-related.scr-related {
	margin: 2.5em 0 0;
}

.scr-related.scr-related .scr-related__section + .scr-related__section {
	margin-top: 24px;
}

/* 見出し（目次に拾われないよう h2 ではなく div） */
.scr-related.scr-related .scr-related__title {
	margin: 0 0 12px;
	padding: 0 0 8px;
	border-bottom: 2px solid var(--color_main, #04384c);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

/* 一覧（スマホ2列） */
.scr-related.scr-related .scr-related__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.scr-related.scr-related .scr-related__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.scr-related.scr-related .scr-related__item::before {
	content: none;
	display: none;
}

.scr-related.scr-related .scr-related__link {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s;
}

.scr-related.scr-related .scr-related__link:hover {
	opacity: 0.8;
}

/* サムネイル 800:545 */
.scr-related.scr-related .scr-related__thumb {
	display: block;
	aspect-ratio: 800 / 545;
	overflow: hidden;
	border-radius: 4px;
	background: #e8e6e1;
}

.scr-related.scr-related .scr-related__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
}

/* タイトル：2行で「…」 */
.scr-related.scr-related .scr-related__post-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 6px;
	color: var(--color_text, #333);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.5;
}

/* 出演者名 */
.scr-related.scr-related .scr-related__cast {
	display: block;
	margin-top: 3px;
	overflow: hidden;
	color: #595959;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* タブレット・PC：3列 */
@media (min-width: 600px) {
	.scr-related.scr-related .scr-related__title {
		margin-bottom: 24px;
		padding-bottom: 12px;
		font-size: 20px;
	}

	.scr-related.scr-related .scr-related__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px 20px;
	}

	.scr-related.scr-related .scr-related__post-title {
		margin-top: 8px;
		font-size: 14px;
	}

	.scr-related.scr-related .scr-related__cast {
		font-size: 12px;
	}
}
