@charset "UTF-8";
/* =========================================================
   company.css - 会社概要ページ
   Figma 1440px 基準（1rem = Figmaのpx ÷ 10）
   ========================================================= */

.p-company-page { padding-top: 15rem; }

.p-company-page__head,
.p-company-page__mv {
	width: min(100%, 144rem);
	margin-inline: auto;
	padding: 0 12rem;
}

.p-company-page__mv { margin-top: 3rem; }

.p-company-page__mv img {
	display: block;
	width: 100%;
	height: 25rem;
	object-fit: cover;
	border-radius: 2rem;
}

.c-sublabel--left { text-align: left; }

/* =========================================================
   ごあいさつ
   ========================================================= */
.p-greeting { padding: 12rem 0; }

.p-greeting__stage {
	position: relative;
	width: min(100%, 144rem);
	height: 59.6rem;
	margin-inline: auto;
}

.p-greeting__head {
	position: absolute;
	left: 17rem;
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.p-greeting__title {
	font-family: var(--font-mincho);
	font-weight: 500;
	font-size: 3.2rem;
	line-height: 4rem;
	color: var(--c-main);
}

.p-greeting__body {
	position: absolute;
	left: 17rem;
	top: 13.3rem;
	width: 65.8rem;
	font-size: 1.6rem;
	line-height: 2;
	color: var(--c-text);
}

.p-greeting__body p + p { margin-top: 3.2rem; }

.p-greeting__name {
	position: absolute;
	left: 17rem;
	top: 56.7rem;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.6;
	color: var(--c-text);
}

.p-greeting__photo {
	position: absolute;
	left: 90.8rem;
	top: 4.4rem;
	width: 36.2rem;
	height: 55.2rem;
	border-radius: 2rem;
	overflow: hidden;
}

.p-greeting__photo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   会社情報
   ========================================================= */
.p-about {
	height: 112.6rem;
	background: var(--c-gray);
}

.p-about__inner {
	width: min(100%, 144rem);
	margin-inline: auto;
	padding: 12rem 12rem 0;
}

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

.p-about__title {
	margin-top: 1.4rem;
	font-family: var(--font-mincho);
	font-weight: 500;
	font-size: 3.2rem;
	line-height: 4rem;
	color: var(--c-main);
}

.p-about__table {
	width: 88rem;
	margin: 6rem auto 0;
	border-top: 1px solid var(--c-border);
}

.p-about__row {
	display: flex;
	align-items: flex-start;
	padding: 2rem 0;
	border-bottom: 1px solid var(--c-border);
	font-size: 1.6rem;
	line-height: 1.7;
}

.p-about__row dt {
	flex-shrink: 0;
	width: 24rem;
	font-weight: 500;
	color: var(--c-main);
}

.p-about__row dd {
	flex: 1 1 0;
	min-width: 0;
	color: #707070;
}

.p-about__map {
	margin-top: 2rem;
	height: 16rem;
	border-radius: 2rem;
	overflow: hidden;
	background: #fff;
}

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

/* =========================================================
   沿革
   ========================================================= */
.p-history { padding: 12rem 0 9.7rem; }

.p-history__inner {
	width: min(100%, 144rem);
	margin-inline: auto;
	padding: 0 12rem;
}

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

.p-history__title {
	margin-top: 1.4rem;
	font-family: var(--font-mincho);
	font-weight: 500;
	font-size: 3.2rem;
	line-height: 4rem;
	color: var(--c-main);
}

.p-history__timeline {
	position: relative;
	width: 88rem;
	margin: 6.3rem auto 0;
	display: flex;
	flex-direction: column;
	gap: 1.9rem;
}

.p-history__timeline::before {
	content: "";
	position: absolute;
	left: 9.35rem;
	top: 0;
	bottom: 0;
	border-left: 1px dashed #c9ced6;
}

.p-history__row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2.4rem;
}

.p-history__year {
	flex-shrink: 0;
	width: 6.4rem;
	font-family: var(--font-en);
	font-weight: 200;
	font-size: 2.4rem;
	line-height: 1.2;
	color: var(--c-navy-dark);
}

.p-history__dot { flex-shrink: 0; width: 1.1rem; height: 1.1rem; }

.p-history__event {
	flex: 1 1 0;
	min-width: 0;
	padding: 1.6rem 2.4rem;
	border-radius: 1.4rem;
	background: var(--c-gray);
	font-size: 1.6rem;
	line-height: 2;
	color: #3a4048;
}

/* =========================================================
   SP（デザイン確定後に再調整する暫定レイアウト）
   ========================================================= */
/* TOPからのアンカーリンク用。固定ヘッダーに隠れないよう余白を取る */
/* 会社情報の表内リンク。tel: は本文と同じ見た目、外部リンクだけ下線をつける */
.p-about__link {
	color: inherit;
	transition: opacity .3s ease;
}

.p-about__link--ext {
	color: var(--c-blue);
	text-decoration: underline;
	text-underline-offset: .3rem;
}

.p-about__link:hover { opacity: .6; }

.p-greeting,
.p-about,
.p-history,
.p-about__row[id] { scroll-margin-top: calc(var(--header-h) + 4rem); }

@media screen and (max-width: 1023px) {
	.p-company-page { padding-top: var(--header-h); }
	.p-company-page__head { padding: 0 2.4rem; max-width: none; }

	.p-greeting { padding: 7rem 0; }
	.p-greeting__stage { height: auto; padding: 0 2.4rem; max-width: 62rem; }
	.p-greeting__head { position: static; }
	.p-greeting__title { font-size: 2.4rem; }
	.p-greeting__body { position: static; width: 100%; margin-top: 3rem; font-size: 1.4rem; }
	.p-greeting__body p + p { margin-top: 2em; }
	.p-greeting__name { position: static; margin-top: 3rem; font-size: 1.6rem; }
	.p-greeting__photo {
		position: relative;
		left: auto;
		top: auto;
		width: 70%;
		height: 36rem;
		margin: 4rem 0 0 auto;
		border-radius: 1rem 0 0 1rem;
	}

	.p-about { height: auto; }
	.p-about__inner { padding: 7rem 2.4rem; max-width: 62rem; }
	.p-about__title { font-size: 2.4rem; }
	.p-about__table { width: 100%; margin-top: 4rem; }
	.p-about__row { flex-direction: column; gap: .6rem; font-size: 1.4rem; padding: 1.6rem 0; }
	.p-about__row dt { width: 100%; }
	.p-about__map { height: 20rem; border-radius: 1rem; }

	.p-history { padding: 7rem 0; }
	.p-history__inner { padding: 0 2.4rem; max-width: 62rem; }
	.p-history__title { font-size: 2.4rem; }
	.p-history__timeline { width: 100%; margin-top: 4rem; gap: 1.4rem; }
	.p-history__timeline::before { left: 5.8rem; }
	.p-history__row { gap: 1.4rem; }
	.p-history__year { width: 4.4rem; font-size: 1.7rem; }
	.p-history__dot { width: .8rem; height: .8rem; }
	.p-history__event { padding: 1.2rem 1.6rem; font-size: 1.35rem; line-height: 1.8; border-radius: 1rem; }
}
