/* =============================================================
   Consultant Profile (author archive)
   kaaan / principle-c 風の縦積みレイアウト
   ============================================================= */

/* SWELLサイドバー強制非表示・メインカラム全幅化 */
body.author .l-sidebar,
body.author #sidebar,
body.author .p-sidebar,
body.author .c-sideWrap,
body.author aside.l-sidebar,
body.author .l-mainContent > aside,
body.author .l-container > aside {
	display: none !important;
}
body.author .l-mainContent,
body.author .l-mainContent__inner,
body.author .l-mainArea,
body.author .l-mainArea__inner,
body.author main.l-mainContent {
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100% !important;
	margin-right: 0 !important;
	padding-right: 0 !important;
}

.cp-stage {
	background: var(--base-white);
	padding: clamp(20px, 3vw, 48px) 0 clamp(40px, 5vw, 80px);
}

.cp-root {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 48px);
	font-family: var(--font-jp);
	color: var(--text-primary);
}

/* ---------- Hero ---------- */
.cp-hero {
	display: grid;
	grid-template-columns: 1fr 240px;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	padding-bottom: clamp(28px, 4vw, 56px);
	border-bottom: 1px solid var(--line-soft);
}

.cp-hero-meta {
	min-width: 0;
}

.cp-hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	font-size: 13px;
}
.cp-hero-eyebrow-en {
	font-family: var(--font-en);
	font-weight: var(--weight-heavy);
	color: var(--brand-primary);
	letter-spacing: 0.12em;
}
.cp-hero-eyebrow-sep {
	width: 28px;
	height: 1px;
	background: var(--brand-primary);
	opacity: 0.6;
}
.cp-hero-eyebrow-jp {
	color: var(--text-muted);
	font-weight: var(--weight-medium);
	letter-spacing: 0.04em;
}

.cp-hero-role {
	font-size: 14px;
	font-weight: var(--weight-medium);
	color: var(--brand-primary);
	letter-spacing: 0.06em;
	margin-bottom: 12px;
}

.cp-hero-name {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: var(--weight-heavy);
	color: var(--text-deep);
	line-height: 1.2;
	letter-spacing: 0.02em;
	margin: 0 0 28px;
}

.cp-hero-tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
}
.cp-hero-tags li {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	background: var(--surface-teal-pale);
	color: var(--brand-primary-dark);
	border: 1px solid #d6ecec;
	border-radius: var(--radius-pill);
	font-size: 12px;
	font-weight: var(--weight-medium);
	letter-spacing: 0.04em;
}

.cp-hero-sns {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
	padding: 0;
}
.cp-hero-sns a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-primary);
	text-decoration: none;
	font-size: 13px;
	font-weight: var(--weight-medium);
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: color .15s;
}
.cp-hero-sns a:hover {
	color: var(--brand-primary);
}
.cp-hero-sns-arrow {
	font-size: 11px;
}

.cp-hero-photo {
	width: 280px;
	height: 280px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--surface-teal-pale);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-card);
}
.cp-hero-photo img,
.cp-hero-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.cp-hero-photo-initial {
	font-family: var(--font-en);
	font-weight: var(--weight-heavy);
	font-size: 120px;
	color: var(--brand-primary);
	line-height: 1;
}

/* ---------- Section common ---------- */
.cp-section {
	padding: clamp(28px, 3.5vw, 48px) 0;
	border-bottom: 1px solid var(--line-soft);
}
.cp-section:last-of-type {
	border-bottom: none;
}

.cp-section-head {
	display: flex;
	align-items: baseline;
	gap: 20px;
	margin-bottom: clamp(18px, 2.5vw, 28px);
	flex-wrap: wrap;
}
.cp-section-en {
	font-family: var(--font-en);
	font-weight: var(--weight-heavy);
	font-size: 13px;
	color: var(--brand-primary);
	letter-spacing: 0.16em;
}
.cp-section-title {
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: var(--weight-heavy);
	color: var(--text-deep);
	margin: 0;
	letter-spacing: var(--ls-title);
}
.cp-section-count {
	margin-left: auto;
	font-family: var(--font-en);
	font-weight: var(--weight-bold);
	font-size: 14px;
	color: var(--text-muted);
	letter-spacing: 0.1em;
}

/* ---------- Bio ---------- */
.cp-bio-body {
	font-size: 16px;
	line-height: 1.9;
	color: var(--text-primary);
	max-width: 820px;
}
.cp-bio-body p {
	margin: 0 0 1.2em;
}
.cp-bio-body p:last-child {
	margin-bottom: 0;
}

/* ---------- Career ---------- */
.cp-career-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 820px;
}
.cp-career-list li {
	position: relative;
	padding: 16px 0 16px 24px;
	border-bottom: 1px solid var(--line-soft);
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-primary);
}
.cp-career-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 24px;
	width: 8px;
	height: 8px;
	background: var(--brand-primary);
	border-radius: 50%;
}
.cp-career-list li:last-child {
	border-bottom: none;
}

/* ---------- Services ---------- */
.cp-service-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}
.cp-service-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px;
	background: var(--base-white);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-md);
	text-decoration: none;
	color: var(--text-deep);
	font-weight: var(--weight-bold);
	font-size: 16px;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cp-service-card:hover {
	border-color: var(--brand-primary);
	box-shadow: var(--shadow-card);
	transform: translateY(-2px);
}
.cp-service-card-label {
	flex: 1;
	line-height: 1.4;
}
.cp-service-card-arrow {
	font-family: var(--font-en);
	font-size: 20px;
	color: var(--brand-primary);
	font-weight: var(--weight-bold);
	transition: transform .15s;
}
.cp-service-card:hover .cp-service-card-arrow {
	transform: translateX(4px);
}

/* ---------- Cases ---------- */
.cp-case-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line-soft);
}
.cp-case-row {
	border-bottom: 1px solid var(--line-soft);
}
.cp-case-link {
	display: grid;
	grid-template-columns: 80px 1fr 40px;
	gap: clamp(16px, 3vw, 32px);
	align-items: center;
	padding: 24px 4px;
	text-decoration: none;
	color: inherit;
	transition: background .15s;
}
.cp-case-link:hover {
	background: var(--surface-teal-pale);
}
.cp-case-no {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.cp-case-no-num {
	font-family: var(--font-en);
	font-weight: var(--weight-heavy);
	font-size: 28px;
	color: var(--brand-primary);
	line-height: 1;
	letter-spacing: 0.02em;
}
.cp-case-no-year {
	font-family: var(--font-en);
	font-size: 11px;
	color: var(--text-muted);
	letter-spacing: 0.1em;
}
.cp-case-cat {
	font-size: 11px;
	font-weight: var(--weight-bold);
	color: var(--brand-primary-dark);
	letter-spacing: 0.1em;
	margin-bottom: 6px;
}
.cp-case-title {
	font-size: clamp(16px, 1.8vw, 20px);
	font-weight: var(--weight-bold);
	color: var(--text-deep);
	margin: 0 0 8px;
	line-height: 1.4;
	letter-spacing: var(--ls-title);
}
.cp-case-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	font-size: 12px;
	color: var(--text-muted);
}
.cp-case-meta b {
	display: inline-block;
	padding: 2px 6px;
	margin-right: 6px;
	background: var(--surface-teal-pale);
	color: var(--brand-primary-dark);
	font-size: 10px;
	font-weight: var(--weight-bold);
	letter-spacing: 0.06em;
	border-radius: var(--radius-sm);
}
.cp-case-cta {
	font-family: var(--font-en);
	font-size: 22px;
	color: var(--brand-primary);
	text-align: right;
	transition: transform .15s;
}
.cp-case-link:hover .cp-case-cta {
	transform: translateX(6px);
}

/* ---------- Posts (執筆した記事) ---------- */
.cp-post-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px 24px;
}
.cp-post-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
}
.cp-post-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--surface-teal-pale);
	overflow: hidden;
	border-radius: var(--radius-md);
	margin-bottom: 14px;
}
.cp-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}
.cp-post-link:hover .cp-post-thumb img {
	transform: scale(1.04);
}
.cp-post-thumb-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-en);
	font-weight: var(--weight-heavy);
	font-size: 12px;
	color: var(--brand-primary);
	letter-spacing: 0.16em;
	opacity: 0.4;
}
.cp-post-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0 2px;
}
.cp-post-cat {
	font-size: 11px;
	font-weight: var(--weight-bold);
	color: var(--brand-primary-dark);
	letter-spacing: 0.08em;
}
.cp-post-title {
	font-size: 15px;
	font-weight: var(--weight-bold);
	color: var(--text-deep);
	margin: 0;
	line-height: 1.55;
	letter-spacing: var(--ls-title);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cp-post-link:hover .cp-post-title {
	color: var(--brand-primary);
}
.cp-post-date {
	font-family: var(--font-en);
	font-size: 11px;
	color: var(--text-muted);
	letter-spacing: 0.1em;
	margin-top: 4px;
}

/* ---------- CTA ---------- */
.cp-cta {
	margin-top: clamp(28px, 3.5vw, 48px);
	padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px);
	background: var(--surface-teal-pale);
	border-radius: var(--radius-lg);
	text-align: center;
}
.cp-cta-en {
	font-family: var(--font-en);
	font-weight: var(--weight-heavy);
	font-size: 12px;
	color: var(--brand-primary);
	letter-spacing: 0.16em;
	margin-bottom: 12px;
}
.cp-cta-text {
	font-size: clamp(16px, 2vw, 20px);
	font-weight: var(--weight-bold);
	color: var(--text-deep);
	margin: 0 0 24px;
	line-height: 1.6;
}
.cp-cta-btn {
	display: inline-block;
	padding: 14px 36px;
	background: var(--brand-primary);
	color: var(--base-white);
	text-decoration: none;
	font-weight: var(--weight-bold);
	font-size: 15px;
	border-radius: var(--radius-pill);
	letter-spacing: 0.04em;
	transition: background .15s, transform .15s;
}
.cp-cta-btn:hover {
	background: var(--brand-primary-dark);
	transform: translateY(-2px);
}

/* ---------- Empty ---------- */
.cp-empty {
	padding: 48px 24px;
	text-align: center;
	color: var(--text-muted);
	font-size: 14px;
	background: var(--surface-teal-pale);
	border-radius: var(--radius-md);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.cp-hero {
		grid-template-columns: 1fr;
		gap: 32px;
		text-align: left;
	}
	.cp-hero-photo {
		width: 200px;
		height: 200px;
		order: -1;
	}
	.cp-hero-photo-initial {
		font-size: 88px;
	}
	.cp-hero-name {
		font-size: 32px;
	}
	.cp-case-link {
		grid-template-columns: 56px 1fr;
		gap: 16px;
	}
	.cp-case-cta {
		display: none;
	}
	.cp-case-no-num {
		font-size: 22px;
	}
}
