.erp-set-contents {
	margin: var(--space-8, 2rem) 0 0;
}

.erp-set-contents__title,
h2.erp-set-contents__title,
h2:has(+ h3 + .erp-set-content-description),
h2:has(+ h3.erp-set-contents__name) {
	border-bottom: 1px solid var(--gray-l-3, #b2aeab);
	color: var(--primary-800, #5c3d2e);
	font-size: var(--text-lg, 1.125rem);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.3;
	margin: 0 0 var(--space-2, 0.5rem);
	padding: 0 0 var(--space-3, 0.75rem);
}

.erp-set-contents__list {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
}

.erp-set-contents__item {
	align-items: flex-start;
	border-bottom: 1px solid var(--gray-l-3, #b2aeab);
	display: flex;
	gap: var(--space-4, 1rem);
	margin: 0;
	padding: var(--space-4, 1rem) 0;
}

.erp-set-contents__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.erp-set-contents__media {
	background: var(--primary-50, #f6f1ee);
	border: 1px solid var(--gray-l-3, #b2aeab);
	border-radius: var(--space-1, 0.25rem);
	box-sizing: border-box;
	flex: 0 0 4.5rem;
	height: 4.5rem;
	overflow: hidden;
	width: 4.5rem;
}

.erp-set-contents__image {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.erp-set-contents__body {
	flex: 1 1 auto;
	min-width: 0;
}

.erp-set-contents__name,
h3.erp-set-contents__name,
h3:has(+ .erp-set-content-description) {
	color: var(--primary-900, #432818);
	font-size: var(--text-base, 1rem);
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.erp-set-content-description {
	color: var(--gray-d-3, #5c5855);
	font-size: var(--text-sm, 0.875rem);
	line-height: 1.55;
	margin: var(--space-1_5, 0.375rem) 0 0;
}

.erp-set-content-description > *:first-child {
	margin-top: 0;
}

.erp-set-content-description > *:last-child {
	margin-bottom: 0;
}

.erp-set-content-description p {
	margin: 0 0 var(--space-2, 0.5rem);
}

.erp-set-content-description p:last-child {
	margin-bottom: 0;
}
