/*
 * 記事末尾モジュール（inc/article-end.php）。トークンは slr-parts.css（.slr-end の中で有効）。
 * SWELL の .post_content の ul/li 装飾（行頭記号・余白）をこのモジュールの中だけ打ち消す。
 */
.slr-end {
	margin: 3em 0 2.5em;
	color: var(--slr-ink);
}
.slr-end .medpro-hub {
	margin-top: 0;
}
.slr-end__sec {
	margin: 0 0 2.5em;
}
.post_content .slr-end ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.post_content .slr-end ul > li {
	margin: 0;
	padding: 0;
}
.post_content .slr-end ul > li::before {
	content: none;
	display: none;
}
.slr-end .slr-end__en {
	margin: 0 0 .1em;
	font-family: var(--slr-latin);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .12em;
	color: var(--slr-label);
}
.slr-end .slr-end__head {
	margin: 0 0 .9em;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--slr-ink);
}
.slr-end .slr-end__lead {
	margin: 0 0 1.2em;
	font-size: .875rem;
	line-height: 1.9;
	color: var(--slr-muted);
}

/* ---------- クリニック ---------- */
.slr-end__clinic {
	padding: 28px 24px;
	border-radius: 28px;
	background: var(--slr-mist);
}

/* ---------- この記事が含まれるガイド ---------- */
.post_content .slr-end ul.slr-end__guides {
	display: grid;
	gap: 12px;
}
.slr-end a.slr-end__guide {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 44px;
	padding: 18px 64px 18px 22px;
	position: relative;
	border-radius: 20px;
	background: var(--slr-soft);
	color: var(--slr-ink);
	text-decoration: none;
}
.slr-end a.slr-end__guide::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border-radius: 50%;
	background: var(--slr-base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M7 3l3 3-3 3'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.slr-end a.slr-end__guide:hover .slr-end__guide-title,
.slr-end a.slr-end__guide:focus-visible .slr-end__guide-title {
	color: var(--slr-base);
}
.slr-end__guide-label {
	font-size: .75rem;
	font-weight: 700;
	color: var(--slr-base);
}
.slr-end__guide-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.6;
}

/* ---------- あわせて読みたい ---------- */
.post_content .slr-end ul.slr-end__reads {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}
.slr-end a.slr-end__read {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--slr-shadow);
	color: var(--slr-ink);
	text-decoration: none;
}
.slr-end .slr-end__thumb {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	margin: 0;
}
.slr-end__read-title {
	padding: 12px 16px 16px;
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.6;
}
.slr-end a.slr-end__read:hover .slr-end__read-title,
.slr-end a.slr-end__read:focus-visible .slr-end__read-title {
	color: var(--slr-base);
}

/* ---------- 監修者カード ---------- */
.slr-sv {
	padding: 28px 24px;
	border: 1px solid var(--slr-line);
	border-radius: 24px;
	background: #fff;
	scroll-margin-top: 80px;
}
.slr-end .slr-sv__name {
	margin: 0 0 .6em;
	font-size: 1.125rem;
	font-weight: 700;
}
.slr-sv__title {
	display: block;
	margin-top: .2em;
	font-size: .8125rem;
	font-weight: 400;
	color: var(--slr-muted);
}
.slr-end .slr-sv__intro {
	margin: 0 0 1.2em;
	font-size: .875rem;
	line-height: 1.9;
}
.slr-sv__row {
	padding: .8em 0;
	border-top: 1px solid var(--slr-line);
}
.slr-end .slr-sv__label {
	margin: 0 0 .3em;
	font-size: .8125rem;
	font-weight: 700;
}
.slr-sv__body,
.post_content .slr-end .slr-sv__body li {
	font-size: .8125rem;
	line-height: 1.85;
	color: var(--slr-muted);
}
.post_content .slr-end .slr-sv__body li + li {
	margin-top: .2em;
}

@media (max-width: 600px) {
	.post_content .slr-end ul.slr-end__reads {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.slr-end a.slr-end__read {
		flex-direction: row;
		align-items: center;
		border-radius: 14px;
	}
	.slr-end .slr-end__thumb {
		flex: none;
		width: 120px;
	}
	.slr-end__read-title {
		padding: 10px 14px;
		font-size: .8125rem;
	}
	.slr-end__clinic,
	.slr-sv {
		padding: 22px 16px;
		border-radius: 22px;
	}
}

/* ---------- 他のクリニックを探す（med-pro.jp/clinic/ へ） ---------- */
.slr-end .slr-end__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 1.4em 0 0;
	padding-top: 1.2em;
	border-top: 1px solid var(--slr-line);
	font-size: .875rem;
	line-height: 1.7;
}
.slr-end__more-lead {
	color: var(--slr-muted);
}
.slr-end a.slr-end__more-link {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	min-height: 44px;
	padding: 0 20px;
	border: 1.5px solid var(--slr-base);
	border-radius: 999px;
	background: #fff;
	color: var(--slr-base);
	font-weight: 700;
	text-decoration: none;
}
.slr-end a.slr-end__more-link::after {
	content: "\2192";
}
.slr-end a.slr-end__more-link:hover,
.slr-end a.slr-end__more-link:focus-visible {
	background: var(--slr-base);
	color: #fff;
}
