/* ==========================================
会社概要：コンテンツ幅・上下余白
========================================== */

.p-company__career-section {
	--section-space-top: 12.5rem;
	--section-space-bottom: 4rem;
	--content-width: 122rem;
	--content-gutter: 8rem;
	--content-padding: 0rem;
}

.p-company__message-section {
	--section-space-top: 4rem;
	--section-space-bottom: 6rem;
	--content-width: 132rem;
	--content-gutter: 4.8rem;
	--content-padding: 5rem;
}

.p-company__overview-section {
	--section-space-top: 6rem;
	--section-space-bottom: 6rem;
	--content-width: 162rem;
	--content-gutter: 4.8rem;
	--content-padding: 20rem;
}

.p-company__history-section {
	--section-space-top: 6rem;
	--content-width: 122rem;
	--content-gutter: 8rem;
	--content-padding: 0rem;
}

/* ==========================================
会社概要：経歴・代表者
========================================== */

.p-company__career {
	display: grid;
	grid-template-columns: 50rem minmax(0, 1fr);
	align-items: start;
	gap: 11rem;
}

.p-company__profile {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 2.4rem;
	margin-top: 2rem;
}

.p-company__position {
	line-height: 1.55;
}

.p-company__person {
	font-size: 2.5rem;
	line-height: 1.55;
}

.p-company__career-subtitle {
	letter-spacing: 0.1em;
	font-family: var(--font-family01);
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.7;
}

.p-company__career-text {
	margin-top: 1.8rem;
	overflow-wrap: anywhere;
}

/* ==========================================
会社概要：ごあいさつ
========================================== */

.p-company__message {
	padding-block: 8rem 11rem;
	border: 0.1rem solid var(--primary01);
	border-radius: 2.2rem 0 0 0;
}

/* ==========================================
会社概要：セクション見出し
========================================== */

.p-company__heading {
	text-align: center;
}

/* ==========================================
会社概要：ごあいさつ
========================================== */

.p-company__message-text {
	margin-top: 3.8rem;
	overflow-wrap: anywhere;
}

/* ==========================================
会社概要：会社情報
========================================== */

.p-company__overview {
	padding-block: 4rem 11rem;
	background: var(--gradation-primary);
}

.p-company__table {
	margin-top: 2rem;
}

/* ==========================================
会社概要：地図
========================================== */

.p-company__map {
	margin-top: 7rem;
	aspect-ratio: 61 / 20;
}

.p-company__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================
会社概要：沿革
========================================== */

.p-company__history-table {
	margin-top: 5rem;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

/* ==========================================
会社概要：レスポンシブ（1024px以下）
========================================== */

@media screen and (width <= 1024px) {
	.p-company__career-section {
		--section-space-top: 7.2rem;
		--content-gutter: 6.4rem;
	}

	.p-company__message-section,
	.p-company__overview-section,
	.p-company__history-section {
		--section-space-top: 4rem;
		--section-space-bottom: 4rem;
	}

	.p-company__message-section,
	.p-company__overview-section {
		--content-padding: 4.8rem;
	}

	.p-company__history-section {
		--content-gutter: 6.4rem;
		--section-space-bottom: 8rem;
	}

	.p-company__career {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
		gap: 3.2rem;
	}

	.p-company__message {
		padding-block: 4.8rem 4.8rem;
	}

	.p-company__overview {
		padding-block: 4rem 4.8rem;
	}

	.p-company__overview-title {
		font-size: 7rem;
	}
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

/* ==========================================
会社概要：レスポンシブ（768px以下）
========================================== */

@media screen and (width <= 768px) {
	.p-company__message-section,
	.p-company__overview-section {
		--content-padding: 3.2rem;
	}

	.p-company__career {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.8rem;
	}

	.p-company__message {
		padding-block: 3.2rem 3.2rem;
	}

	.p-company__overview {
		padding-block: 4rem 3.2rem;
	}

	.p-company__portrait {
		width: 50rem;
		max-width: 100%;
		margin-inline: auto;
	}

	.p-company__map {
		aspect-ratio: 16 / 9;
	}
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

/* ==========================================
会社概要：レスポンシブ（576px以下）
========================================== */

@media screen and (width <= 576px) {
	.p-company__career-section {
		--section-space-top: 5.6rem;
		--section-space-bottom: 3.2rem;
		--content-gutter: 4rem;
	}

	.p-company__message-section,
	.p-company__overview-section,
	.p-company__history-section {
		--section-space-top: 3.2rem;
		--section-space-bottom: 3.2rem;
	}

	.p-company__message-section,
	.p-company__overview-section {
		--content-gutter: 2.4rem;
		--content-padding: 1.8rem;
	}

	.p-company__history-section {
		--section-space-bottom: 6.4rem;
		--content-gutter: 4rem;
	}

	.p-company :where(.p-company__career-title, .p-company__subtitle) {
		font-size: max(2.6rem, 1.5em);
	}


	.p-company__person {
		font-size: max(2.5rem, 1.25em);
	}

	.p-company__career-subtitle {
		font-size: 1em;
	}

	.p-company__profile {
		gap: 1.6rem;
	}

	.p-company__message {
		padding-block: 2.4rem 3.6rem;
	}

	.p-company__overview {
		padding-block: 4rem 3.6rem;
	}

	.p-company__overview-title {
		font-size: clamp(3.8rem, 11vw, 5.2rem);
	}

	.p-company__history-table {
		margin-top: 3rem;
	}

	.p-company__map {
		margin-top: 4rem;
		aspect-ratio: 4 / 3;
	}
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
