:root{
	--chde-bg: #f3f5f9;
	--chde-surface: #ffffff;
	--chde-text: #142033;
	--chde-muted: #667085;
	--chde-shadow: 0 18px 44px rgba(20,32,51,.10);
	--chde-radius: 24px;
}

*,
*::before,
*::after{
	box-sizing: border-box;
}

.chde-collab-single,
.chde-collab-archive{
	background:
		radial-gradient(circle at top, rgba(255,255,255,.9), rgba(255,255,255,0) 40%),
		linear-gradient(180deg, #eef2f8 0%, #f7f8fb 100%);
	color: var(--chde-text);
}

.chde-collab-single__inner,
.chde-collab-archive__inner{
	max-width: 1120px;
	margin: 0 auto;
	padding: 28px 20px 56px;
}

.chde-collab-single__hero,
.chde-collab-archive__hero{
	position: relative;
	min-height: 220px;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #1d2740 0%, #304767 64%, #4f6b92 100%);
	color: #fff;
	overflow: hidden;
}

.chde-collab-single__hero.has-banner{
	background-size: cover;
	background-position: center;
}

.chde-collab-single__overlay{
	width: 100%;
	background:
		linear-gradient(180deg, rgba(9,14,26,.45) 0%, rgba(9,14,26,.72) 100%);
}

.chde-collab-single__eyebrow{
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .82rem;
	opacity: .88;
}

.chde-collab-single__headline{
	margin: 0;
	font-size: clamp(1.9rem, 3vw, 3rem);
	line-height: 1.2;
}

.chde-collab-archive__lead{
	max-width: 56ch;
	color: rgba(255,255,255,.88);
	font-size: 1rem;
}

.chde-collab-profile-card,
.chde-collab-contentCard,
.chde-collab-quoteCard,
.chde-collab-card{
	position: relative;
	background:
		linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
	border-radius: var(--chde-radius);
	border: 1px solid rgba(20,32,51,.08);
	box-shadow: var(--chde-shadow);
	overflow: hidden;
}

.chde-collab-profile-card::before,
.chde-collab-contentCard::before,
.chde-collab-quoteCard::before,
.chde-collab-card::before{
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;
	background: linear-gradient(135deg, var(--cc-accent, #7db9ff), rgba(255,255,255,.55), var(--cc-accent, #7db9ff));
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.chde-collab-profile-card{
	--cc-accent: #4a90e2;
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 24px;
	padding: 28px;
	margin-top: -48px;
}

.chde-collab-profile-card__left{
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.chde-collab-profile-card__icon,
.chde-collab-card__icon{
	width: 132px;
	height: 132px;
	border-radius: 999px;
	object-fit: cover;
	display: block;
	border: 4px solid rgba(255,255,255,.9);
	box-shadow: 0 12px 28px rgba(0,0,0,.12);
	background: #fff;
}

.chde-collab-profile-card__iconFallback,
.chde-collab-card__iconFallback{
	width: 132px;
	height: 132px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, #6889b8 0%, #2c4467 100%);
}

.chde-collab-profile-card__head{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.chde-collab-profile-card__title{
	margin: 8px 0 0;
	font-size: clamp(1.5rem, 2vw, 2rem);
	line-height: 1.2;
}

.chde-collab-profile-card__intro{
	margin-top: 14px;
	color: var(--chde-text);
}

.chde-collab-profile-card__meta{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.chde-collab-profile-card__sns{
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

.chde-collab-snsBtn{
	width: 44px;
	height: 44px;
	border-radius: 999px;
	display: inline-grid;
	place-items: center;
	background: #142033;
	color: #fff;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	box-shadow: 0 8px 18px rgba(20,32,51,.18);
}

.chde-collab-snsBtn:hover,
.chde-collab-snsBtn:focus-visible{
	transform: translateY(-2px);
	background: #223657;
	color: #fff;
}

.chde-collab-snsBtn svg,
.chde-collab-snsIcon svg,
.chde-collab-snsCard__icon svg{
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.chde-collab-chip,
.chde-collab-badge{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.chde-collab-chip{
	background: #eef3fb;
	color: #29415f;
	border: 1px solid #d9e4f3;
}

.chde-collab-badge{
	background: rgba(20,32,51,.07);
	color: #1d314e;
	border: 1px solid rgba(20,32,51,.10);
}

.chde-collab-card__terms{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.chde-collab-sectionTitleWrap{
	margin-bottom: 16px;
}

.chde-collab-sectionTitle{
	margin: 0;
	font-size: 1.2rem;
}

.chde-collab-contentCard,
.chde-collab-quoteCard{
	--cc-accent: #8a74ff;
	margin-top: 24px;
	padding: 26px;
}

.chde-collab-quoteCard p{
	margin: 12px 0 0;
	font-size: 1.06rem;
	line-height: 1.8;
}

.chde-collab-entryContent > *:first-child{
	margin-top: 0;
}

.chde-collab-entryContent h2,
.chde-collab-entryContent h3{
	scroll-margin-top: 100px;
}

.chde-collab-snsGrid{
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(190px, 1fr) );
	gap: 14px;
}

.chde-collab-snsCard{
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 18px;
	background: #f8fafc;
	border: 1px solid #e3e9f4;
	text-decoration: none;
	color: var(--chde-text);
	transition: transform .2s ease, box-shadow .2s ease;
}

.chde-collab-snsCard:hover,
.chde-collab-snsCard:focus-visible{
	transform: translateY(-3px);
	box-shadow: 0 12px 24px rgba(20,32,51,.10);
	color: var(--chde-text);
}

.chde-collab-snsCard__icon{
	width: 42px;
	height: 42px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: #142033;
	color: #fff;
	flex: 0 0 auto;
}

.chde-collab-snsCard__label{
	font-weight: 700;
}

.chde-collab-relatedLinks{
	padding-left: 1.1rem;
	margin: 0;
}

.chde-collab-relatedLinks li + li{
	margin-top: 8px;
}

.chde-collab-pager{
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
	padding-bottom: 20px;
}

.chde-collab-pager__slot{
	display: flex;
}

.chde-collab-pager__slot.is-center{
	justify-content: center;
}

.chde-collab-pager__slot.is-right{
	justify-content: flex-end;
}

.chde-collab-pager__btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: .02em;
	background: #fff;
	color: var(--chde-text);
	border: 1px solid rgba(20,32,51,.12);
	box-shadow: 0 10px 20px rgba(20,32,51,.08);
	transition: transform .2s ease, box-shadow .2s ease;
}

.chde-collab-pager__btn:hover,
.chde-collab-pager__btn:focus-visible{
	transform: translateY(-2px);
	box-shadow: 0 14px 24px rgba(20,32,51,.12);
	color: var(--chde-text);
}

.chde-collab-pager__btn.is-consult{
	background: linear-gradient(135deg, #223657 0%, #5f7cad 100%);
	color: #fff;
	border-color: transparent;
}

/* Card grid */
.chde-collab-grid{
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(340px, 1fr) );
	gap: 20px;
}

.chde-collab-card{
	min-height: 100%;
	transition: transform .25s ease, box-shadow .25s ease;
}

.chde-collab-card:hover,
.chde-collab-card:focus-within{
	transform: translateY(-5px);
	box-shadow: 0 22px 48px rgba(20,32,51,.14);
}

.chde-collab-card__link{
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 20px;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.chde-collab-card__iconWrap{
	display: flex;
	align-items: center;
	justify-content: center;
}

.chde-collab-card__icon,
.chde-collab-card__iconFallback{
	width: 88px;
	height: 88px;
}

.chde-collab-card__body{
	min-width: 0;
}

.chde-collab-card__title{
	margin: 0 0 8px;
	font-size: 1.18rem;
	line-height: 1.35;
}

.chde-collab-card__intro{
	margin: 0;
	color: var(--chde-muted);
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.chde-collab-card__quote{
	margin: 10px 0 0;
	font-weight: 700;
	color: #344a6d;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.chde-collab-card__sns{
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 14px 0 0;
}

.chde-collab-snsIcon{
	width: 34px;
	height: 34px;
	border-radius: 999px;
	display: inline-grid;
	place-items: center;
	background: rgba(20,32,51,.08);
	color: #213654;
}

.chde-collab-card__more{
	display: inline-block;
	margin-top: 14px;
	font-weight: 800;
	color: #284d88;
}

/* 10-color rotation */
.chde-collab-grid > .chde-collab-card:nth-child(10n + 1){ --cc-accent: #46b37d; }
.chde-collab-grid > .chde-collab-card:nth-child(10n + 2){ --cc-accent: #4a90e2; }
.chde-collab-grid > .chde-collab-card:nth-child(10n + 3){ --cc-accent: #7d65f2; }
.chde-collab-grid > .chde-collab-card:nth-child(10n + 4){ --cc-accent: #d4a541; }
.chde-collab-grid > .chde-collab-card:nth-child(10n + 5){ --cc-accent: #e25f5f; }
.chde-collab-grid > .chde-collab-card:nth-child(10n + 6){ --cc-accent: #44506a; }
.chde-collab-grid > .chde-collab-card:nth-child(10n + 7){ --cc-accent: #b2bccb; }
.chde-collab-grid > .chde-collab-card:nth-child(10n + 8){ --cc-accent: #58b7d9; }
.chde-collab-grid > .chde-collab-card:nth-child(10n + 9){ --cc-accent: #dd8f3a; }
.chde-collab-grid > .chde-collab-card:nth-child(10n + 10){ --cc-accent: #db71b3; }

@media (max-width: 840px){
	.chde-collab-profile-card{
		grid-template-columns: 1fr;
		margin-top: -24px;
	}
	.chde-collab-profile-card__left{
		justify-content: flex-start;
	}
	.chde-collab-profile-card__head{
		flex-direction: column;
	}
	.chde-collab-pager{
		grid-template-columns: 1fr;
	}
	.chde-collab-pager__slot,
	.chde-collab-pager__slot.is-right,
	.chde-collab-pager__slot.is-center{
		justify-content: stretch;
	}
	.chde-collab-pager__btn{
		width: 100%;
	}
}

@media (max-width: 560px){
	.chde-collab-card__link{
		grid-template-columns: 84px 1fr;
		padding: 18px;
	}
	.chde-collab-card__icon,
	.chde-collab-card__iconFallback{
		width: 68px;
		height: 68px;
	}
	.chde-collab-single__headline{
		font-size: 1.8rem;
	}
}

/* ========================================
   紹介文・一言の改行と文字表示を統一
======================================== */

.chde-collab-profile-card__intro {
	margin-top: 14px;
	color: var(--chde-text);
	font-size: 1rem;
	line-height: 1.9;
	overflow-wrap: anywhere;
	word-break: normal;
}

.chde-collab-profile-card__intro p {
	margin: 0;
}

.chde-collab-profile-card__intro p + p {
	margin-top: 0.9em;
}

.chde-collab-card__intro {
	margin: 10px 0 0;
	color: var(--chde-text);
	font-size: 0.96rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
	word-break: normal;
}

.chde-collab-card__quote {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(20, 32, 51, 0.045);
	color: var(--chde-text);
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.chde-collab-quoteCard__text {
	margin-top: 12px;
	font-size: 1.06rem;
	font-weight: 600;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.chde-collab-card,
.chde-collab-profile-card,
.chde-collab-contentCard,
.chde-collab-quoteCard {
	overflow-wrap: anywhere;
}

/* スマートフォン表示 */
@media screen and (max-width: 768px) {
	.chde-collab-profile-card__intro {
		font-size: 0.96rem;
		line-height: 1.8;
	}

	.chde-collab-card__intro {
		font-size: 0.92rem;
		line-height: 1.75;
	}

	.chde-collab-card__quote {
		padding: 10px 12px;
		font-size: 0.9rem;
	}

	.chde-collab-quoteCard__text {
		font-size: 1rem;
		line-height: 1.8;
	}
}