/* =========================================================
   HPD 実績・お知らせリスト（フロント）
   配色：メイン #40e0d0 / #da70d6　サブ #ffbaba / #fbe5ec　アクセント #e03e07
   ※ 置かれた枠の幅で切り替わるよう、メディアクエリではなくコンテナクエリを使っています
   ========================================================= */

.hpd-pl {
	--hpd-pl-ink: #2f2a2e;
	--hpd-pl-muted: #6b6166;
	--hpd-pl-line: #ece6e7;
	--hpd-pl-accent: #e03e07;
	--hpd-pl-turq: #40e0d0;
	--hpd-pl-orchid: #da70d6;
	--hpd-pl-pink: #ffbaba;
	--hpd-pl-pink-soft: #fbe5ec;
	container-type: inline-size;
	color: var(--hpd-pl-ink);
	line-height: 1.8;
}
.hpd-pl *,
.hpd-pl *::before,
.hpd-pl *::after {
	box-sizing: border-box;
}
.hpd-pl__list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.hpd-pl__item {
	margin: 0 !important;
	padding: 0 !important;
}
.hpd-pl__item::before,
.hpd-pl__item::marker {
	content: none !important;
}
.hpd-pl__link {
	display: block;
	color: inherit !important;
	text-decoration: none !important;
}

/* タイトル：テーマの見出し装飾を打ち消す */
.hpd-pl .hpd-pl__title {
	position: static;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--hpd-pl-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0.02em;
	transition: color .25s;
}
.hpd-pl .hpd-pl__title::before,
.hpd-pl .hpd-pl__title::after {
	content: none !important;
	display: none !important;
}
.hpd-pl__link:hover .hpd-pl__title {
	color: var(--hpd-pl-accent);
}

/* 日付・カテゴリ・NEW */
.hpd-pl__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-bottom: 8px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--hpd-pl-muted);
}
.hpd-pl__date {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	letter-spacing: 0.04em;
}
.hpd-pl__cat {
	display: inline-block;
	padding: 0 12px;
	border: 1px solid var(--hpd-pl-muted);
	border-radius: 999px;
	font-size: 11px;
	line-height: 1.9;
	color: var(--hpd-pl-muted);
	background: #ffffff;
}
.hpd-pl__cat--accent { border-color: var(--hpd-pl-accent); color: var(--hpd-pl-accent); }
.hpd-pl__cat--turquoise { border-color: var(--hpd-pl-turq); color: var(--hpd-pl-ink); }
.hpd-pl__cat--orchid { border-color: var(--hpd-pl-orchid); color: var(--hpd-pl-ink); }
.hpd-pl__cat--pink { border-color: var(--hpd-pl-pink); background: var(--hpd-pl-pink-soft); color: var(--hpd-pl-ink); }
.hpd-pl__new {
	display: inline-block;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--hpd-pl-accent);
	color: #ffffff;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 10px;
	letter-spacing: 0.08em;
	line-height: 1.9;
}

.hpd-pl__excerpt {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.9;
	color: var(--hpd-pl-muted);
}

/* サムネイル */
.hpd-pl__thumb {
	display: block;
	overflow: hidden;
	background: var(--hpd-pl-pink-soft);
}
.hpd-pl__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}
.hpd-pl__noimg {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 78% 30%, var(--hpd-pl-turq) 0 14%, transparent 14.5%),
		radial-gradient(circle at 30% 72%, #ffffff 0 20%, transparent 20.5%),
		var(--hpd-pl-pink-soft);
}

.hpd-pl__empty {
	margin: 0;
	padding: 24px 0;
	color: var(--hpd-pl-muted);
	font-size: 14px;
}

/* 一覧ボタン */
.hpd-pl__more {
	margin-top: 36px;
	text-align: center;
}
.hpd-pl__more-btn {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	padding: 13px 28px;
	border: 1px solid var(--hpd-pl-ink);
	border-radius: 999px;
	background: #ffffff;
	color: var(--hpd-pl-ink) !important;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none !important;
	transition: background-color .25s;
}
.hpd-pl__more-btn:hover {
	background: var(--hpd-pl-pink-soft);
}
.hpd-pl__more-arrow {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--hpd-pl-turq);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

/* ---------------------------------------------------------
   レイアウト1：リスト（お知らせ向き）
   --------------------------------------------------------- */
.hpd-pl--list .hpd-pl__item {
	border-bottom: 1px solid var(--hpd-pl-line);
}
.hpd-pl--list .hpd-pl__item:first-child {
	border-top: 1px solid var(--hpd-pl-line);
}
.hpd-pl--list .hpd-pl__link {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 22px 4px;
}
.hpd-pl--list .hpd-pl__body {
	flex: 1 1 0;
	min-width: 0;
}
.hpd-pl--list .hpd-pl__arrow {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--hpd-pl-line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transition: background-color .25s, border-color .25s;
}
.hpd-pl--list .hpd-pl__link:hover .hpd-pl__arrow {
	background: var(--hpd-pl-turq);
	border-color: var(--hpd-pl-turq);
}

/* ---------------------------------------------------------
   レイアウト2：カード（実績向き）
   --------------------------------------------------------- */
.hpd-pl--card .hpd-pl__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.hpd-pl--card.hpd-pl--cols-1 .hpd-pl__list { grid-template-columns: 1fr; }
.hpd-pl--card.hpd-pl--cols-2 .hpd-pl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hpd-pl--card.hpd-pl--cols-4 .hpd-pl__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hpd-pl--card .hpd-pl__item {
	height: 100%;
}
.hpd-pl--card .hpd-pl__link {
	height: 100%;
	overflow: hidden;
	border: 1px solid #f3e3e7;
	border-radius: 24px;
	background: #ffffff;
}
.hpd-pl--card .hpd-pl__thumb {
	aspect-ratio: 16 / 10;
}
.hpd-pl--card .hpd-pl__body {
	display: block;
	padding: 18px 22px 24px;
}
.hpd-pl--card .hpd-pl__title {
	font-size: 15px;
}

/* ---------------------------------------------------------
   レイアウト3：サムネイル付きリスト
   --------------------------------------------------------- */
.hpd-pl--thumb .hpd-pl__item {
	border-bottom: 1px solid var(--hpd-pl-line);
}
.hpd-pl--thumb .hpd-pl__item:first-child {
	border-top: 1px solid var(--hpd-pl-line);
}
.hpd-pl--thumb .hpd-pl__link {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 22px 0;
}
.hpd-pl--thumb .hpd-pl__thumb {
	flex: 0 0 220px;
	aspect-ratio: 16 / 10;
	border-radius: 18px;
}
.hpd-pl--thumb .hpd-pl__body {
	flex: 1 1 0;
	min-width: 0;
}

/* ---------------------------------------------------------
   置かれた枠が狭いとき
   --------------------------------------------------------- */
@container (max-width: 900px) {
	.hpd-pl--card.hpd-pl--cols-3 .hpd-pl__list,
	.hpd-pl--card.hpd-pl--cols-4 .hpd-pl__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@container (max-width: 560px) {
	.hpd-pl .hpd-pl__title { font-size: 14px; }
	.hpd-pl__date { font-size: 13px; }

	.hpd-pl--list .hpd-pl__link { gap: 14px; padding: 18px 0; }
	.hpd-pl--list .hpd-pl__arrow { flex-basis: 30px; width: 30px; height: 30px; font-size: 12px; }

	/* カードは1列の横並びカードに */
	.hpd-pl--card .hpd-pl__list,
	.hpd-pl--card.hpd-pl--cols-2 .hpd-pl__list,
	.hpd-pl--card.hpd-pl--cols-3 .hpd-pl__list,
	.hpd-pl--card.hpd-pl--cols-4 .hpd-pl__list {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.hpd-pl--card .hpd-pl__link {
		display: grid;
		grid-template-columns: 120px 1fr;
		border-radius: 18px;
	}
	.hpd-pl--card .hpd-pl__thumb { aspect-ratio: auto; height: 100%; min-height: 96px; }
	.hpd-pl--card .hpd-pl__body { padding: 12px 14px; }
	.hpd-pl--card .hpd-pl__title { font-size: 13px; }

	.hpd-pl--thumb .hpd-pl__link { gap: 14px; padding: 16px 0; }
	.hpd-pl--thumb .hpd-pl__thumb { flex-basis: 110px; border-radius: 12px; }
}

