@charset "utf-8";

/* ==========================================================
   企業情報 (page-about.php)
   ========================================================== */

/* ----------------------------------------------------------
   パンくず / c-page-title 前後余白
   ---------------------------------------------------------- */
.about .c-breadcrumb {
	padding-top: 26px;
}

.about .c-page-title {
	margin-top: 108px;
}
@media (max-width: 767px) {
	.about .c-page-title {
		margin-top: 60px;
	}
}

/* ----------------------------------------------------------
   共通ラッパー
   ---------------------------------------------------------- */
.about__inner {
	max-width: 1160px;
	margin-inline: auto;
	padding-inline: 30px;
}

/* ----------------------------------------------------------
   経営理念セクション
   ---------------------------------------------------------- */
.about__philosophy {
	display: grid;
	grid-template-columns: 200px auto;   /* 1fr → auto: 2列目を内容幅にして中央寄せ可能に */
	gap: 40px;
	align-items: center;                  /* 上下中央 (label が body 3行の縦中央に揃う) */
	justify-content: center;              /* 水平中央 (2列全体を親内で中央配置) */
	margin-top: 40px;
}
@media (max-width: 767px) {
	.about__philosophy {
		grid-template-columns: 1fr;         /* SP は縦積み */
		gap: 48px;
		margin-top: 82px;
	}
}

.about__philosophy-label {
	font-size: 24px;
	color: #333;
	line-height: 1;
	letter-spacing: calc(2.4 / 24 * 1em);
	text-align: center;
}
@media (max-width: 767px) {
	.about__philosophy-label {
		font-size: 20px;
	}

	.about__philosophy-body {
		width: fit-content;
		margin: 0 auto;
	}
}

.about__philosophy-body p {
	color: #535353;
	font-size: 18px;
	font-weight: 500;
	line-height: 2;
}
@media (max-width: 767px) {
	.about__philosophy-body p {
		font-size: 12px;
	}
}

/* ----------------------------------------------------------
   会社データテーブル (bosyu と同じパターン)
   ---------------------------------------------------------- */
.about__table {
	margin-top: 72px;
}
@media (max-width: 767px) {
	.about__table {
		margin-top: 65px;
	}
}

.about__row {
	display: grid;
	grid-template-columns: 200px 1fr;
	align-items: start;
	padding: 24px 40px;
	background-color: #EFF4FC;      /* 1行目=水色 */
}
.about__row:nth-child(even) {
	background-color: #FFFFFF;      /* 偶数行=白 */
}
@media (max-width: 767px) {
	.about__row {
		grid-template-columns: 1fr;    /* 縦積み: label → content */
		gap: 0;
		padding: 23px 12px;
	}
}

.about__row-label {
	/* Inter は欧文のみ。日本語は --font-jp (Noto Sans JP) で weight 500 を効かせる */
	font-family: "Inter", var(--font-jp);
	color: var(--color-primary);
	font-weight: 500;
	line-height: 1.8;
}
@media (max-width: 767px) {
	.about__row-label {
		font-size: 12px;
	}
}

.about__row-content {
	/* Inter は欧文のみ。日本語は --font-jp (Noto Sans JP) で weight 500 を効かせる */
	font-family: "Inter", var(--font-jp);
	color: #535353;
	line-height: 1.8;
}
@media (max-width: 767px) {
	.about__row-content {
		font-size: 12px;
	}
}

/* ----------------------------------------------------------
   所在地 3拠点 (PC: 3列 / SP: 1列)
   ---------------------------------------------------------- */
.about__offices {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 80px;
}
@media (max-width: 767px) {
	.about__offices {
		grid-template-columns: 1fr;
		gap: 40px;
		margin-top: 46px;
	}
}

.about__office {
	display: flex;
	flex-direction: column;
}

.about__office-title {
	padding: 6px 13px;
	background: var(--color-primary);
	color: var(--color-white);
	font-weight: 500;
	line-height: 1.5;
}
@media (max-width: 767px) {
	.about__office-title {
		font-size: 14px;
		padding: 7px 16px;
	}
}

.about__office-body {
	padding: 20px 0 0;
	display: flex;
    flex-direction: column;
	flex: 1;
}

@media screen and (max-width: 767px) {
	.about__office-body {
		padding-top: 17px;
	}
}

.about__office-address {
	color: #535353;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 30px;
}
@media (max-width: 767px) {
	.about__office-address {
		font-size: 12px;
		margin-bottom: 18px;
	}
}

.about__office-map {
	position: relative;
	margin-top: auto;
	width: 100%;
	aspect-ratio: 330 / 230;
	background: #EEE;
	overflow: hidden;
}

@media screen and (max-width: 767px) {
	.about__office-map {
		max-width: 270px;
		aspect-ratio: 270 / 230;
	}
}

.about__office-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ----------------------------------------------------------
   その他事業所
   ---------------------------------------------------------- */
.about__others {
	margin-top: 40px;
}
@media (max-width: 767px) {
	.about__others {
		margin-top: 30px;
	}
}

.about__others-title {
	padding: 6px 13px;
	background: var(--color-primary);
	color: var(--color-white);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
}
@media (max-width: 767px) {
	.about__others-title {
		font-size: 14px;
		padding: 7px 16px;
	}
}

.about__others-body {
	padding-top: 16px;
	display: flex;
	flex-wrap: wrap;
	column-gap: 46px;
}
@media (max-width: 767px) {
	.about__others-body {
		flex-direction: column;
		gap: 0px;
		padding: 15px 0px 0;
	}
}

.about__others-body p {
	color: #535353;
	font-size: 16px;
	line-height: 1.6;
}
@media (max-width: 767px) {
	.about__others-body p {
		font-size: 12px;
	}
}

.about__others-label {
	color: #535353;
	font-size: 16px;
	font-weight: 700;
	line-height: 25.6px;
}

@media screen and (max-width: 767px) {
	.about__others-label {
		font-size: 12px;
		line-height: 1.6;
	}
}
