/* ==========================================================================
   page-profile.css — 代表プロフィールページ専用スタイル
   セレクタはすべて .page-profile スコープで限定（グローバル汚染禁止）
   カラーは style.css の CSS変数を参照（--c-navy / --c-green ほか）
   ========================================================================== */

/* --- 01 PROFILE: 顔写真 --- */
.page-profile .profile-photo {
	overflow: hidden;
}

.page-profile .profile-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 15%;
	display: block;
}

.page-profile .profile-role {
	font-size: var(--fz-sm);
	letter-spacing: .03em;
	white-space: nowrap;
}

.page-profile .profile-grid h2 {
	font-size: var(--fz-body);
	font-weight: 600;
	color: var(--c-navy);
	line-height: var(--lh-body);
	margin: 1.5rem 0 1rem;
	letter-spacing: .03em;
}

.page-profile .profile-grid h2.profile-intro-heading {
	font-size: var(--fz-h2-sm);
	margin-top: 0;
}

@media (max-width: 380px) {
	.page-profile .profile-role {
		white-space: normal;
		font-size: var(--fz-sm);
		letter-spacing: .02em;
	}
}

/* --- 03 EXPERTISE: 資格・専門領域 --- */
.profile-expertise.page-profile {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.page-profile .profile-expertise__col {
	padding-top: clamp(28px, 4vw, 34px);
	border-top: 1px solid var(--c-line-2);
	position: relative;
}

.page-profile .profile-expertise__col::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 32px;
	height: 2px;
	background: var(--c-green);
}

.page-profile .profile-expertise__label {
	display: block;
	font-size: 10px;
	letter-spacing: .26em;
	font-weight: 700;
	color: var(--c-green);
	margin-bottom: 1rem;
}

.page-profile .profile-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.page-profile .profile-list li {
	position: relative;
	padding-left: 1.4rem;
	font-size: var(--fz-sm);
	line-height: 1.9;
	color: var(--c-ink-2);
	margin-bottom: .55rem;
}

.page-profile .profile-list li:last-child {
	margin-bottom: 0;
}

.page-profile .profile-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .85em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c-green);
}

/* レスポンシブ: 既存ブレークポイント（560px）に追従 */
@media (max-width: 560px) {
	.profile-expertise.page-profile {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.page-profile .profile-expertise__col + .profile-expertise__col {
		margin-top: clamp(12px, 3vw, 20px);
		padding-top: clamp(32px, 6vw, 40px);
	}
}

/* --- 02 VALUES: 大切にしていること（3カード均等配置） --- */
.page-profile .reasons {
	grid-template-columns: repeat(3, 1fr);
	column-gap: clamp(16px, 2vw, 24px);
	row-gap: clamp(16px, 2vw, 24px);
	align-items: stretch;
}

.page-profile .reasons .reason {
	padding: 26px 22px 28px;
	border: 1px solid var(--c-line-2);
	background: #fff;
}

/* グリッド横並び時はカード枠のみ。隣接罫線は付けない */
.page-profile .reasons .reason + .reason {
	margin-top: 0;
}

.page-profile .reasons .reason::before {
	top: 0;
}

.page-profile .reasons .reason p {
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	.page-profile .reasons {
		grid-template-columns: 1fr;
		row-gap: 16px;
	}

	.page-profile .reasons .reason {
		padding: 24px 20px 26px;
	}

	.page-profile .reasons .reason:first-child {
		padding-top: 24px;
	}

	.page-profile .reasons .reason:first-child::before {
		display: block;
	}

	.page-profile .reasons .reason + .reason {
		margin-top: 0;
	}
}

/* --- 05 MESSAGE: 想い（編集的レイアウト） --- */
.page-profile__message .reveal--line-solid .rail__spine::after {
	display: none;
}

.page-profile__message .rail__spine > h2 {
	font-size: var(--fz-h3);
	letter-spacing: 0.05em;
	margin-bottom: clamp(20px, 2.5vw, 28px);
}

.page-profile .profile-atmosphere {
	margin: 0 0 clamp(24px, 3vw, 36px);
	border-radius: 4px;
	overflow: hidden;
	aspect-ratio: 21 / 9;
	background: var(--c-bg-alt);
	max-width: 52rem;
}
.page-profile .profile-atmosphere img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
}
@media (max-width: 560px) {
	.page-profile .profile-atmosphere {
		aspect-ratio: 16 / 10;
	}
}

.page-profile .profile-message {
	position: relative;
	max-width: 44em;
	padding: 0 0 0 clamp(18px, 2.2vw, 24px);
	border-left: 2px solid rgba(27, 94, 74, 0.35);
}

.page-profile .profile-message__lead {
	font-family: var(--f-serif);
	font-weight: 500;
	font-size: var(--fz-body-2);
	line-height: 1.95;
	color: var(--c-navy);
	letter-spacing: 0.02em;
	margin: 0 0 1.25rem;
}

.page-profile .profile-message__body {
	border-top: 1px solid var(--c-line);
	padding-top: 1.25rem;
}

.page-profile .profile-message__body p {
	font-family: var(--f-sans);
	font-size: var(--fz-sm);
	line-height: 2;
	color: var(--c-sub);
	margin: 0;
}

.page-profile .profile-message__sign {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 1.5rem;
	padding-top: 0;
	border-top: none;
}

.page-profile .profile-message__sign::before {
	content: "";
	width: 22px;
	height: 1px;
	background: var(--c-green);
	flex: none;
	align-self: center;
}

.page-profile .profile-message__sign-name {
	font-family: var(--f-serif);
	font-size: var(--fz-sm);
	font-weight: 500;
	color: var(--c-navy);
	letter-spacing: 0.04em;
}

.page-profile .profile-message__sign-role {
	font-size: var(--fz-xs);
	color: var(--c-muted);
	letter-spacing: 0.03em;
}

@media (max-width: 560px) {
	.page-profile .profile-message {
		padding-left: 16px;
	}
	.page-profile .profile-message__lead {
		line-height: 1.85;
	}
	.page-profile .profile-message__body p {
		line-height: 1.9;
	}
}
