@charset "UTF-8";
/* ==========================================================================
   企業情報（page-company.php）
   ========================================================================== */

/* 共通見出し（会社概要 / 沿革） */
.p-company-title {
	flex-shrink: 0;
	color: var(--c-text);
	font-size: 36px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   会社概要
   -------------------------------------------------------------------------- */
.p-company-outline {
	padding: 145px 0 120px;
}

.p-company-outline__inner {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.p-company-outline .p-company-title {
	width: 425px;
	padding-left: 50px;
}

.p-company-outline__list {
	flex: 1;
	max-width: 735px;
	margin-left: auto;
	color: #474747;
	font-size: 16px;
	letter-spacing: 0;
}

.p-company-outline__row {
	display: flex;
	align-items: flex-start;
	gap: 100px;
	padding: 20px 0;
	border-top: 1px solid #ffb3cb;
}

.p-company-outline__row:first-child {
	border-top: 0;
}

.p-company-outline__label {
	flex-shrink: 0;
	width: 91px;
	font-weight: 500;
	line-height: 30px;
}

.p-company-outline__value {
	flex: 1;
	min-width: 0;
	font-weight: 400;
	line-height: 35px;
}

.p-company-outline__value--office {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.p-company-outline__address {
	line-height: 24px;
}

.p-company-outline__map {
	width: 100%;
	height: 237px;
	background: #d9d9d9;
}

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

/* --------------------------------------------------------------------------
   オフィス帯
   -------------------------------------------------------------------------- */
/* 画面幅に合わせて 1440:500 の比率で拡縮（幅が広がっても上下が切れないように） */
.p-company-band {
	aspect-ratio: 1440 / 500;
	overflow: hidden;
}

.p-company-band img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* --------------------------------------------------------------------------
   沿革
   -------------------------------------------------------------------------- */
.p-company-history {
	position: relative;
	padding: 120px 0 200px;
	overflow: hidden;
}

.p-company-history__deco {
	position: absolute;
	top: 0;
	left: 0;
	width: 613px;
	height: 613px;
	transform: rotate(180deg);
	pointer-events: none;
}

.p-company-history__inner {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.p-company-history__side {
	flex-shrink: 0;
	width: 425px;
}

.p-company-history .p-company-title {
	padding-left: 50px;
}

.p-company-history__photos {
	position: relative;
	width: 405px;
	height: 581px;
	margin-top: 269px;
}

.p-company-history__photo {
	position: absolute;
	object-fit: cover;
}

.p-company-history__photo--01 {
	top: 0;
	left: 0;
	width: 324px;
	height: 415px;
}

.p-company-history__photo--02 {
	top: 334px;
	left: 164px;
	width: 188px;
	height: 247px;
}

.p-company-history__main {
	flex: 1;
	max-width: 735px;
	margin-left: auto;
}

.p-company-history__list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* 「施設内に〜」の補足行は字下げ */
.p-company-history__sub {
	padding-left: 1em;
}

/* 沿革の下のまとめ */
.p-company-history__summary {
	margin-top: 40px;
	padding: 20px 24px;
	background: rgba(233, 142, 137, 0.08);
	color: #474747;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.02em;
}

.p-company-history__item {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	padding-top: 20px;
}

.p-company-history__item:first-child {
	padding-top: 0;
}

.p-company-history__year {
	flex-shrink: 0;
	width: 89px;
	color: var(--c-blue);
	font-family: var(--ff-roboto);
	font-size: 40px;
	font-weight: 300;
	line-height: 35px;
	letter-spacing: 0;
}

.p-company-history__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
	padding-bottom: 20px;
	border-bottom: 1px solid #ffb3cb;
	color: #474747;
	font-size: 16px;
	font-weight: 500;
	line-height: 25px;
	letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.p-company-outline .p-company-title,
	.p-company-history__side {
		width: 320px;
	}

	.p-company-outline__row {
		gap: 60px;
	}
}

@media (max-width: 1024px) {
	.p-company-outline {
		padding: 100px 0 90px;
	}

	.p-company-outline__inner,
	.p-company-history__inner {
		flex-direction: column;
		gap: 48px;
	}

	.p-company-outline .p-company-title,
	.p-company-history .p-company-title {
		width: auto;
		padding-left: 0;
	}

	.p-company-outline__list,
	.p-company-history__main {
		width: 100%;
		max-width: none;
		margin-left: 0;
	}

	.p-company-band {
		aspect-ratio: auto;
		height: 360px;
	}

	.p-company-history {
		padding: 90px 0 140px;
	}

	.p-company-history__deco {
		width: 420px;
		height: 420px;
	}

	.p-company-history__side {
		width: 100%;
	}

	.p-company-history__photos {
		width: min(100%, 480px);
		height: auto;
		aspect-ratio: 480 / 400;
		margin: 40px auto 0;
	}

	.p-company-history__photo--01 {
		width: 57%;
		height: auto;
		aspect-ratio: 324 / 415;
	}

	.p-company-history__photo--02 {
		top: 36%;
		left: 42%;
		width: 34%;
		height: auto;
		aspect-ratio: 188 / 247;
	}
}

/* --------------------------------------------------------------------------
   SP
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.p-company-title {
		font-size: 26px;
		line-height: 1.3;
	}

	.p-company-outline {
		padding: 60px 0 64px;
	}

	.p-company-outline__inner,
	.p-company-history__inner {
		gap: 28px;
	}

	.p-company-outline__list {
		font-size: 14px;
	}

	.p-company-outline__row {
		flex-direction: column;
		gap: 4px;
		padding: 16px 0;
	}

	.p-company-outline__label {
		width: auto;
		line-height: 1.7;
	}

	.p-company-outline__value {
		width: 100%;
		line-height: 1.7;
	}

	.p-company-outline__value--office {
		gap: 12px;
	}

	.p-company-outline__address {
		line-height: 1.7;
	}

	.p-company-outline__map {
		height: 220px;
	}

	.p-company-band {
		aspect-ratio: auto;
		height: 220px;
	}

	.p-company-history {
		padding: 60px 0 90px;
	}

	.p-company-history__deco {
		width: 260px;
		height: 260px;
	}

	.p-company-history__photos {
		margin-top: 24px;
	}

	.p-company-history__list {
		gap: 20px;
	}

	.p-company-history__item {
		gap: 16px;
		padding-top: 0;
	}

	.p-company-history__year {
		width: 60px;
		font-size: 26px;
		line-height: 28px;
	}

	.p-company-history__body {
		gap: 6px;
		padding-bottom: 16px;
		font-size: 14px;
		line-height: 1.7;
	}
}

@media (max-width: 767px) {
	.p-company-history__summary {
		margin-top: 28px;
		padding: 16px;
		font-size: 14px;
	}
}
