/* 회사연혁 */
/* 위: 건물 사진 + 남색 상자(History) */
.hist-intro { position: relative; width: 100%; max-width: 1600px; margin: 0 auto 60px; padding-bottom: 90px; box-sizing: border-box; }
.hist-intro img { width: 100%; }
.hist-intro-box { position: absolute; bottom: 0; left: 12.5%; padding: 90px 45px; box-sizing: border-box; background: var(--main); }
.hist-intro-box h2, .hist-intro-box p { color: #fff; }
.hist-intro-box h2 { font-size: 85px; }
.hist-intro-box p { font-size: 28px; }

/* 연도별: 왼쪽 큰 연도, 오른쪽 세로줄·점·달·한 일 */
.hist-year { display: flex; justify-content: center; width: 100%; max-width: 1200px; margin: 0 auto; }
.hist-year h3 {
	width: 525px; padding: 0 90px; box-sizing: border-box; text-align: end;
	font-size: 60px; font-weight: 900; font-style: italic; line-height: 1; color: #001063;
}
.hist-months { position: relative; flex: 1; display: flex; flex-direction: column; gap: 25px; padding: 0 0 70px 75px; box-sizing: border-box; }
.hist-months::before { content: ""; position: absolute; top: 18px; left: 3.5px; width: 1px; height: calc(100% - 18px); background: #ddd; }
.hist-year + .hist-year .hist-months::before { top: 0; height: 100%; }
.hist-year + .hist-year:last-child .hist-months::before { height: 18px; }
.hist-months > li { display: flex; }
.hist-mon { position: relative; width: 50px; text-align: end; font-size: 40px; font-weight: bold; line-height: 1; }
.hist-mon::before { content: ""; position: absolute; top: 18px; left: -75px; width: 8px; height: 8px; border-radius: 50%; background: #001063; }
.hist-months ul { padding-left: 25px; }
.hist-months ul li { position: relative; padding-left: 15px; box-sizing: border-box; font-size: 28px; }
.hist-months ul li::before { content: "·"; position: absolute; top: 0; left: 0; font-size: 28px; }

@media screen and (max-width: 850px) {
	.hist-intro-box { left: 50%; transform: translateX(-50%); width: 100%; max-width: 89.33vw; padding: 12vw 7.33vw; }
	.hist-intro-box h2 { font-size: 11.33vw; }
	.hist-intro-box p { margin-top: 1vw; font-size: 3.73vw; letter-spacing: -0.04em; }

	.hist-year { max-width: 89.33vw; }
	.hist-year h3 { position: relative; width: 28.67vw; padding: 0 6vw 0 0; font-size: 8vw; }
	/* 휴대폰은 점·세로줄이 연도 쪽에 */
	.hist-year h3::before { content: ""; position: absolute; z-index: 1; top: 2.67vw; left: 0; width: 1.07vw; height: 1.07vw; border-radius: 50%; background: #001063; }
	.hist-year h3::after { content: ""; position: absolute; z-index: 0; top: 2.4vw; left: .47vw; width: .13vw; height: calc(100% - 2.4vw); background: #ddd; }
	.hist-year + .hist-year h3::after { top: 0; height: 100%; }
	.hist-year + .hist-year:last-child h3::after { height: 2.4vw; }
	.hist-months { gap: 2.67vw; padding: 0 0 10vw; }
	.hist-months::before, .hist-mon::before { display: none; }
	.hist-mon { width: 6.67vw; font-size: 5.33vw; }
	.hist-months ul { padding-left: 4vw; }
	.hist-months ul li { padding-left: 2vw; font-size: 3.73vw; }
	.hist-months ul li::before { font-size: 3.73vw; }
}
