@charset "utf-8";
/* ==================================================
   会社情報ページ
   基本設定 → 画面幅別の調整 → パーツ別の追加調整の順。
   同じ指定が複数ある場合は、後にある条件・指定も確認する。
   読み込み順と編集先の一覧：README.md「CSSの修正方法」
================================================== */
/* File: company.css | Version: 1.1.0 | Update: 2026-10-21
   Author: https://flowlab.co.jp | (c)2026 Flowlab inc. */
/* --- 会社概要の導入見出し --- */
.companyIntroduction {
	width: var(--content-width);
	margin: 0 auto;
	padding: 60px 0 54px;
	scroll-margin-top: 30px;
}

.companyIntroduction h2 {
	font-family: "M PLUS 1p", var(--font-jp);
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: .06em;
}

.companyGridBackground {
	padding: 92px 0 110px;
	background-color: #fff;
	background-image: linear-gradient(to right, rgb(255 159 213 / 10%) 3px, transparent 3px), linear-gradient(to bottom, rgb(255 159 213 / 10%) 3px, transparent 3px);
	background-size: 40px 40px;
}

/* --- 会社概要の項目と内容 --- */
.companyProfile {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	column-gap: 45px;
	width: min(86%, 814px);
	margin: 0 auto;
}

.companyProfileRow {
	display: grid;
	grid-template-columns: subgrid;
	grid-column: 1 / -1;
	align-items: end;
}

.companyProfileRow + .companyProfileRow {
	padding-top: 58px;
}

/* --- 所在地のGoogleマップ --- */
.companyMap {
	width: var(--content-width);
	aspect-ratio: 5 / 2;
	margin: 58px auto;
}

.companyMap iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.companyProfile dt,
.companyProfile dd {
	padding-bottom: 2px;
	font-weight: 500;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.companyProfile dt {
	font-size: 1.5rem;
	font-family: "M PLUS 1p", var(--font-jp);
	border-bottom: 4px solid var(--ink);
	font-weight: 700;
	letter-spacing: .06em;
	min-width: 7.42em;
	/* 最長名称7文字＋文字間に揃える。 */
}

.companyProfile dd {
	font-family: "Noto Sans JP", var(--font-jp);
	font-size: 1.5625rem;
	font-weight: 400;
	border-bottom: 1px solid var(--ink);
}

/* --- オフィス写真 --- */
.companyFeatures {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	width: var(--content-width);
	margin: 0 auto;
	padding-top: 140px;
}

.companyFeature {
	min-width: 0;
}

.companyFeature h3 {
	margin: 22px 0 0;
	font-family: "M PLUS 1p", var(--font-jp);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.companyFeature p {
	padding-top: 6px;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.companyFeatureMedia {
	width: 100%;
	aspect-ratio: 3 / 2;
}

.companyFeatureMedia img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.companyFeatureMedia.photoPlaceholder {
	background: #d9d9d9;
}

/* 画面幅・操作環境の条件：screen and (max-width: 896px) */
@media screen and (max-width: 896px) {
	.companyIntroduction {
		width: 86%;
		padding: 32px 0;
	}

	.companyIntroduction h2 {
		font-family: "M PLUS 1p", var(--font-jp);
		font-size: 1.125rem;
	}

	.companyGridBackground {
		padding: 40px 0 60px;
		background-size: 28px 28px;
	}

	.companyProfile {
		display: grid;
		grid-template-columns: max-content minmax(0,1fr);
		column-gap: 18px;
		width: 86%;
	}

	.companyProfileRow {
		grid-template-columns: subgrid;
		gap: 0 18px;
		align-items: start;
	}

	.companyProfileRow + .companyProfileRow {
		padding-top: 32px;
	}

	.companyMap {
		width: 86%;
		aspect-ratio: 4 / 3;
		margin: 32px auto;
	}

	.companyProfile dt {
		width: auto;
		min-width: 7.42em;
		font-size: 1.0625rem;
	}

	.companyProfile dd {
		font-size: 1.125rem;
	}

	.companyFeatures {
		grid-template-columns: 1fr;
		gap: 26px;
		width: 86%;
		padding-top: 64px;
	}

	.companyFeature h3 {
		margin-top: 16px;
		font-size: 1.125rem;
	}

	.companyFeature p {
		font-size: 1rem;
		line-height: 1.75;
	}

}

/* Anchor the supplied wide photograph to the lower half of the hero circle. */
.pageCompany .heroPhoto > img {
	top: auto;
	bottom: 0;
	height: auto;
	min-height: min(36vw,468px);
}

/* 画面幅・操作環境の条件：(max-width:599px) */
@media (max-width:599px) {
	.pageCompany .heroPhoto > img {
		min-height: 260px;
	}

}

.companyAddressBreak {
	display: none;
}

/* 画面幅・操作環境の条件：(max-width:896px) */
@media (max-width:896px) {
	.companyAddressBreak {
		display: initial;
	}

}
