/* ===== THE NAME（ネーミング紹介） =====
 *
 * 左サイド縦書きラベル + 画像（左）+ 見出し・本文（右）の1ブロック構成。
 * ラベルテキストはCMSで変更可能（既定: THE NAME）。
 */

.about-name {
	position: relative;
	background-color: var(--c-white);
	padding: 100px 0 100px 32px;
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.about-name__label {
	position: sticky;
	top: 120px;
	flex-shrink: 0;
	width: 144px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: var(--z-sticky);
}

.about-name__label-line {
	display: block;
	width: 72px;
	height: 1px;
	background-color: var(--c-gray-1);
}

.about-name__label-text {
	font-family: var(--ff-en);
	font-weight: var(--fw-medium);
	font-size: 20px;
	letter-spacing: 1.2px;
	line-height: 1;
	color: var(--c-black);
	writing-mode: vertical-rl;
	text-orientation: mixed;
	margin-top: 9px;
	white-space: nowrap;
	align-self: flex-start;
}

.about-name__inner {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0;
}

.about-name__image {
	flex: 0 0 auto;
	width: 672px;
	height: 435px;
	overflow: hidden;
}

.about-name__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-name__text {
	flex: 0 1 528px;
	max-width: 528px;
	margin-left: 32px;
	padding: 0 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.about-name__title {
	margin: 0;
	font-family: var(--ff-jp);
	font-weight: var(--fw-regular);
	font-size: 24px;
	letter-spacing: 0.96px;
	line-height: 32px;
	color: var(--c-black);
}

.about-name__body {
	font-family: var(--ff-jp);
	font-size: 14px;
	letter-spacing: 0.28px;
	line-height: 26px;
	color: var(--c-gray-text);
}

.about-name__body p {
	margin: 0;
}

.about-name__body p + p {
	margin-top: 26px;
}

/* ---------- SP ---------- */

@media (max-width: 1023px) {
	.about-name {
		padding: 79px 12px 80px 0;
		gap: 28px;
	}

	.about-name__label {
		top: 80px;
		width: 33px;
		padding-left: 12px;
		box-sizing: border-box;
		gap: 16px;
	}

	.about-name__label-line {
		width: 21px;
	}

	.about-name__label-text {
		font-size: 12px;
		letter-spacing: 0.72px;
		margin-top: 0;
	}

	.about-name__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.about-name__image {
		width: 100%;
		height: auto;
		aspect-ratio: 320 / 207;
	}

	.about-name__text {
		/* PC用の flex-basis: 528px が縦積み時に「高さ528px」として効くのを解除 */
		flex: 0 1 auto;
		max-width: none;
		margin-left: 0;
		margin-top: 24px;
		padding: 0;
		gap: 16px;
	}

	.about-name__title {
		font-size: 18px;
		line-height: 1.6;
	}

	.about-name__body {
		font-size: 12px;
		line-height: 2;
		letter-spacing: 0.24px;
	}

	/* SP では PC 用の <br> 改行を全消し */
	.about-name__body br {
		display: none;
	}
}
