@charset "utf-8";

/* =============================================================================
 * 会社情報（/about）固有のスタイル
 *
 * 共通部品（.tp-wrap / .tp-sec / .tp-secHead / .tp-points / .tp-table / .tp-ph /
 * .tp-cta / トークン）は theme.css が持つ。ここには本文の組み方・代表挨拶の2カラム・
 * 沿革のタイムラインだけを書く。
 * 読み込みは inc/assets.php が現在ページの slug（about）で出し分ける。
 * ========================================================================== */

.tp-about__body p + p {
	margin-top: 1.2em;
}

/* 代表ポートレートと本文の 2 カラム（2026-09-12 に 1 カラムにし、2026-11-17 に写真を戻した）。 */
.tp-about__message {
	display: grid;
	grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 44px);
	align-items: start;
}

.tp-about__messageBody p + p {
	margin-top: 1.2em;
}

.tp-about__sign {
	font-family: var(--tp-round);
	font-weight: 700;
}

/* 沿革。確定分だけを出すので件数が少なくても間延びしないよう詰めて組む。 */
.tp-history {
	list-style: none;
	border-left: 2px solid var(--tp-line);
	padding-left: clamp(20px, 3vw, 32px);
}

.tp-history__item {
	position: relative;
}

.tp-history__item + .tp-history__item {
	margin-top: clamp(20px, 2.4vw, 28px);
}

/* 罫線の上に節目の点を重ねる。 */
.tp-history__item::before {
	content: "";
	position: absolute;
	left: calc(-1 * clamp(20px, 3vw, 32px) - 6px);
	top: 10px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--tp-primary);
}

.tp-history__year {
	font-family: var(--tp-round);
	font-weight: 700;
	color: var(--tp-primary);
}

.tp-history__text {
	color: var(--tp-muted);
	font-size: 14px;
}

@media (max-width: 900px) {
	.tp-about__message {
		grid-template-columns: minmax(0, 1fr);
	}

	/* ポートレートは本文の下へ回すと縦に間延びするので、幅を抑えて上に残す。 */
	.tp-about__portrait {
		max-width: 260px;
	}
}
