/* 메인(index) — 첫 화면 영상·실적 숫자·소개·솔루션 슬라이드·단계·고객사 로고 띠·오시는 길
   휴대폰은 850px 이하. 2026-12 이전 업체 코드를 걷어 내고 새로 짬. */

.home-sec { position: relative; width: 100%; box-sizing: border-box; }

/* 구간 제목 묶음: 작은 영문 줄 + 큰 제목 + 한 줄 설명 */
.home-head { margin: 0 auto 60px; }
.home-kicker { display: block; font-family: var(--f-mont); font-size: 20px; font-weight: bold; text-align: center; color: var(--main); }
.home-title { font-size: 60px; font-weight: 300; text-align: center; }
.home-kicker + .home-title { margin-top: 30px; }
.home-lead { margin-top: 30px; font-size: 28px; font-weight: 400; text-align: center; }

/* ---------- 첫 화면: PC 는 영상(위에 어둡게 깐 띠), 휴대폰은 정지 그림 ---------- */
.home-hero { height: 920px; overflow: hidden; background: url(../img/main/mc01_bg.png) center / cover no-repeat; }
.home-hero-video {
	position: absolute; top: 50%; left: 50%; z-index: 1; width: 100%; height: 100%;
	transform: translate(-50%, -50%); pointer-events: none;
}
.home-hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-hero-video::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(6, 10, 24, .72) 0%, rgba(6, 10, 24, .45) 55%, rgba(6, 10, 24, .2) 100%);
}
.home-hero-text {
	position: absolute; top: 50%; left: 50%; z-index: 2; width: 100%; max-width: 1100px; padding-top: 110px; box-sizing: border-box;
	transform: translate(-50%, -50%); word-break: keep-all;
}
.home-hero-text h1 { font-size: 38px; font-weight: 600; color: #fff; }
.home-hero-text h1 strong { font-size: 48px; }
.home-hero-text p { margin: 40px 0 100px; font-size: 30px; color: #fff; }
.home-hero-text a {
	display: flex; align-items: center; justify-content: center; width: 300px; height: 65px;
	border: 1px solid #fff; border-radius: 100vw; font-size: 24px; color: #fff; text-align: center;
}
.home-hero-text a:hover { background: var(--main); border-color: var(--main); color: #fff; transition: all .3s ease; }

/* ---------- 실적 숫자 ---------- */
.home-stats { height: 600px; padding: 90px 0; background: url(../img/main/mc02_bg.png) center / cover no-repeat; }
.home-stats .home-kicker { color: #fff; opacity: .7; }
.home-stats .home-title { color: #fff; }
.home-stats-list { display: flex; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; }
.home-stat {
	position: relative; display: flex; flex-direction: column; align-items: center; width: 550px; padding: 35px 85px; box-sizing: border-box;
	background: rgba(255, 255, 255, .07); border-radius: 50px;
}
.home-stat + .home-stat::before {
	content: ""; position: absolute; top: 50%; left: -50px; width: 1px; height: 135px; background: #fff; opacity: .5; transform: translateY(-50%);
}
.home-stat dt { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 30px; color: #fff; text-align: left; }
.home-stat dd { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; gap: 5px; }
.home-stat:first-child dd { width: 420px; }
.home-stat:last-child dd { width: 380px; }
/* 숫자 아래 빛나는 밑줄 */
.home-stat dd::after {
	content: ""; position: absolute; bottom: -17.5px; left: 45%; z-index: 0; width: 360px; height: 21px;
	background: url(../img/main/mc02_border.png) center no-repeat; transform: translateX(-50%);
}
.home-stat .counter { position: relative; z-index: 1; font-size: 96px; font-weight: bold; color: #fff; }
.home-stat-unit { position: relative; z-index: 1; font-size: 36px; color: #ccc; }

/* ---------- 소개 ---------- */
.home-about { height: 776px; background: url(../img/main/mc03_bg_.png) center / cover no-repeat; }
.home-about-text {
	position: absolute; top: 50%; left: 50%; width: 100%; max-width: 1585px; box-sizing: border-box; transform: translate(-50%, -50%);
}
.home-about .home-head { margin-bottom: 20px; }
.home-about .home-kicker, .home-about .home-title, .home-about-text p { text-align: left; }
.home-about .home-kicker + .home-title { margin-top: 20px; line-height: 1.55; }
.home-about-lead { margin: 20px 0 30px; font-size: 40px; }
.home-about-desc { font-size: 28px; }
.home-about .home-about-btn {
	display: flex; align-items: center; justify-content: center; width: 300px; height: 65px; margin-top: 65px;
	border: 1px solid var(--main); border-radius: 100vw; background: var(--main); font-size: 24px; color: #fff; text-align: center;
}

/* ---------- 세금솔루션 슬라이드: 왼쪽 글 목록(누르면 그 장으로) + 오른쪽 사진 ---------- */
.home-why { padding: 140px 0 40px; }
.home-why-body {
	position: relative; display: flex; align-items: flex-end; justify-content: space-between; width: 100%; max-width: 1585px;
	margin: 105px auto 0; padding: 35px 0 70px; box-sizing: border-box;
}
.home-why-list { position: relative; z-index: 1; width: 100%; }
.home-why-list li { width: 100%; padding: 30px 50px; box-sizing: border-box; border-left: 1px solid #999; cursor: pointer; }
.home-why-list h3 { font-size: 40px; font-weight: bold; color: #999; }
.home-why-list h3 button {
	display: block; width: 100%; font: inherit; color: inherit; letter-spacing: inherit; text-align: left;
}
.home-why-list h3 button:focus-visible { outline: 2px solid var(--main); outline-offset: 4px; }
.home-why-list p { margin-top: 10px; font-size: 26px; line-height: 155%; color: #999; }
.home-why-list li.is-active { border-left: 3px solid var(--main); }
.home-why-list li.is-active h3 { color: var(--main); }
.home-why-list li.is-active p { color: #333; }
.home-why-slider { position: absolute; top: 50%; left: 50%; width: 100%; transform: translate(0, -50%); }
/* 글 목록 뒤 회색 띠 */
.home-why-slider::before {
	content: ""; position: absolute; top: 47.5%; left: -60%; z-index: -1; display: block; width: 200%; height: 670px;
	background: #f5f5f5; transform: translate(-50%, -50%);
}
.home-why-swiper { width: 100%; }
.home-why-swiper .swiper-slide { width: 600px; height: 750px; padding: 25px 0; box-sizing: border-box; overflow: hidden; }
.home-why-swiper .swiper-slide-active { padding: 0; }
.home-why-slide { width: 560px; height: 100%; box-sizing: border-box; }
.home-why-slide > img { display: block; width: auto; height: 100%; object-fit: cover; border-radius: 40px; }

/* ---------- 단계 4개 ---------- */
.home-steps { height: 960px; padding-top: 140px; background: url(../img/main/mc05_bg.png) center / cover no-repeat; }
.home-steps-list {
	display: flex; justify-content: space-between; gap: 29px; width: 100%; max-width: 1585px; margin: 45px auto 0;
	background: url(../img/main/mc05_conBg.png) center no-repeat;
}
.home-steps-list li { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 65px 0; }
.home-steps-list img { width: 100px; }
.home-steps-list span {
	display: block; margin: 25px auto 20px; font-family: var(--f-mont); font-size: 18px; font-weight: bold; color: #6d8ae2; text-align: center;
}
.home-steps-list li:nth-child(2) span { color: #274dc2; }
.home-steps-list li:nth-child(3) span { color: #1e3c97; }
.home-steps-list li:nth-child(4) span { color: #162b6d; }
.home-steps-list h3 { font-size: 26px; font-weight: bold; text-align: center; }

/* ---------- 고객사 로고 띠(두 줄, 서로 반대로 흐름) ---------- */
.home-clients { min-height: 790px; padding: 140px 0; background: url(../img/main/mc06_bg.png) center / cover no-repeat; }
.home-marquee .swiper-wrapper { transition-timing-function: linear !important; pointer-events: none; }
.home-marquee .swiper-slide { width: fit-content !important; margin-left: 95px; pointer-events: none; }
.home-marquee + .home-marquee { margin-top: 85px; }
.home-clients .home-clients-btn {
	display: flex; align-items: center; justify-content: center; width: 300px; height: 65px; margin: 100px auto 0;
	border-radius: 100vw; background: var(--main); font-size: 24px; font-weight: bold; color: #fff; text-align: center;
}

/* ---------- 오시는 길 ---------- */
.home-visit { padding: 115px 0 100px; }
.home-visit-body { position: relative; display: flex; align-items: center; width: 100%; max-width: 1200px; margin: 45px auto 0; }
.home-visit-body > div { position: relative; width: 100%; min-height: 450px; box-sizing: border-box; }
.home-visit-info { padding: 25px 60px 25px 0; }
.home-visit-info h3 {
	margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--main);
	font-size: 36px; font-weight: bold; line-height: 1; color: var(--main); text-align: left;
}
.home-visit-info > p { font-size: 24px; font-weight: 600; }
.home-visit-info > p + p { font-weight: normal; color: #666; }
.home-visit-info > p + h3 { margin-top: 65px; }
.home-visit-line {
	display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: #c9a754;
	line-height: 27px; color: #fff; text-align: center;
}
.home-visit-info > .home-visit-tel { display: flex; align-items: center; gap: 15px; }
.home-visit-tel img { width: 33px; }
.home-visit-tel strong { font-size: 36px; font-weight: bold; }
.home-visit-hours { display: flex; gap: 2px; margin-top: 45px; padding: 2px; }
.home-visit-hours dt {
	display: flex; align-items: center; justify-content: center; flex: 0 0 98px; min-height: 70px;
	border-radius: 20px; background: var(--main); font-size: 24px; font-weight: bold; color: #fff;
}
.home-visit-hours dd { display: flex; flex-direction: column; justify-content: center; flex: 1; padding-left: 35px; }
.home-visit-hours dd p { font-size: 24px; font-weight: bold; }
.home-visit-hours dd p + p { font-weight: normal; color: #999; }
.home-visit-hours dd p span { margin-left: 20px; font-family: var(--f-mont); font-weight: normal; }
.home-visit-map img { position: absolute; top: 50%; left: 0; transform: translateY(-50%); }

/* ================= 휴대폰 ================= */
@media screen and (max-width: 850px) {
	.home-head { margin: 0 auto 6.67vw; }
	.home-kicker { font-size: 3.2vw; }
	.home-title { font-size: 8vw; }
	.home-kicker + .home-title { margin-top: 4.67vw; }
	.home-lead { margin-top: 6.67vw; font-size: 3.73vw; text-align: justify; letter-spacing: -0.06em; }

	.home-hero { height: 146.67vw; background-image: url(../img/m_main/m_mc01_bg.png); }
	.home-hero-video { display: none; }
	.home-hero-text { max-width: none; padding-top: 0; }
	.home-hero-text h1 { font-size: 5.07vw; text-align: center; }
	.home-hero-text h1 strong { font-size: 6.4vw; }
	.home-hero-text p { margin: 5.33vw 0 13.33vw; font-size: 4vw; text-align: center; }
	.home-hero-text a { width: 42.67vw; height: 9.33vw; margin: 0 auto; border-width: .13vw; font-size: 4vw; }

	.home-stats { height: auto; padding: 11.33vw 0; background-image: url(../img/m_main/m_mc02_bg.png); }
	.home-stats-list { position: relative; flex-direction: column; gap: 6.67vw; max-width: none; padding: 0 8vw; box-sizing: border-box; }
	.home-stats-list::after {
		content: ""; position: absolute; top: 50%; left: 50%; width: calc(100% - 16vw); height: .13vw; background: #ddd; transform: translate(-50%, -50%);
	}
	.home-stat { width: 100%; gap: 4vw; padding: 6vw 11.33vw; border-radius: 6.67vw; }
	.home-stat + .home-stat::before { display: none; }
	/* 폭을 넘치는 칸을 가운데 맞춤 — 원본 화면과 같은 자리 */
	.home-stat dt { gap: 1.33vw; padding-left: 17.87vw; font-size: 4vw; }
	.home-stat dt img { max-width: 4vw; max-height: 4.13vw; object-fit: contain; }
	.home-stat dd { gap: .67vw; justify-content: space-between; }
	.home-stat:first-child dd { width: 55vw; }
	.home-stat:last-child dd { width: 53vw; }
	.home-stat dd::after { bottom: -2.33vw; width: 48vw; height: 2.8vw; }
	.home-stat .counter { font-size: 12.8vw; }
	.home-stat-unit { font-size: 4.8vw; }

	.home-about { height: auto; padding: 13.33vw 0; background: url(../img/m_main/m_mc03_bg_.png) center bottom / 100% no-repeat; }
	.home-about-text { position: static; max-width: none; padding: 0 5.33vw; transform: none; }
	.home-about .home-kicker, .home-about .home-title, .home-about-text p { text-align: center; }
	.home-about-lead { margin: 4vw auto 5vw; font-size: 4.8vw; letter-spacing: -0.08em; }
	.home-about-text .home-about-desc { font-size: 3.73vw; text-align: justify; }
	.home-about .home-about-btn { width: 42.67vw; height: 9.33vw; margin: 6.67vw auto 0; border-width: .13vw; font-size: 3.73vw; }

	.home-why { padding: 16vw 5.33vw 0; }
	.home-why-body { max-width: none; margin: 6.67vw auto 0; padding: 4.67vw 0 9.33vw; }
	.home-why-slider { position: static; padding: 0 5.33vw; box-sizing: border-box; transform: none; }
	.home-why-slider::before { top: auto; bottom: 0; left: -50%; width: 999vw; height: 86.67vw; transform: translate(-50%, 0); }
	.home-why-swiper .swiper-slide {
		display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: auto; padding: 0;
	}
	.home-why-slide { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 74.67vw; }
	.home-why-slide > img { width: 100%; height: auto; margin: 0 auto; border-radius: 5.33vw; }
	.home-why-cap { width: 100%; margin-top: 5.33vw; padding: 4vw 6.67vw; box-sizing: border-box; border-left: .13vw solid #999; }
	.home-why-cap h3 { font-size: 4.8vw; font-weight: bold; line-height: 155%; color: var(--main); }
	.home-why-cap p { margin-top: 4vw; font-size: 3.6vw; line-height: 155%; color: #999; text-align: justify; }
	.home-why-cap.is-active { border-left: .4vw solid var(--main); }
	.home-why-cap.is-active p { color: #333; }

	.home-steps { height: auto; min-height: 184.4vw; padding: 16vw 5.33vw; background-image: url(../img/m_main/m_mc05_bg.png); }
	.home-steps-list {
		flex-direction: column; gap: 0; height: 104vw; max-width: none; margin: 8vw auto 0;
		background: url(../img/m_main/m_mc05_conBg.png) center top / 100% 100% no-repeat;
	}
	.home-steps-list li { position: relative; align-items: flex-start; height: 24vw; padding: 4vw 0 4vw 22.67vw; box-sizing: border-box; }
	.home-steps-list img { position: absolute; top: 50%; left: 3.33vw; width: 16vw; transform: translateY(-50%); }
	.home-steps-list span { margin: 0; font-size: 3.2vw; text-align: left; }
	.home-steps-list h3 { margin-top: 1.33vw; font-size: 4.8vw; text-align: left; }

	.home-clients { min-height: 120.53vw; padding: 16vw 0; background-image: url(../img/m_main/m_mc06_bg.png); }
	.home-clients .home-lead, .home-visit .home-lead { text-align: center; line-height: 1.65; }
	.home-marquee .swiper-slide { margin-left: 12.67vw; }
	.home-marquee .swiper-slide img { width: auto; height: 6.67vw; }
	.home-marquee + .home-marquee { margin-top: 11.33vw; }
	.home-clients .home-clients-btn { width: 42.67vw; height: 9.33vw; margin: 10.67vw auto 0; font-size: 3.73vw; }

	.home-visit { padding: 16vw 8vw 12.67vw; }
	.home-visit-body { flex-direction: column; max-width: 160vw; margin: 8vw auto 0; }
	.home-visit-body > div { min-height: auto; }
	.home-visit-info { padding: 0; }
	.home-visit-info h3 { margin-bottom: 2.67vw; padding-bottom: 2.67vw; border-bottom-width: .13vw; font-size: 4.8vw; }
	.home-visit-info > p { font-size: 3.73vw; }
	.home-visit-info > p + p { margin-top: 2vw; }
	.home-visit-info > p + h3 { margin-top: 9.33vw; }
	.home-visit-line { width: 4vw; height: 4vw; line-height: 4vw; }
	.home-visit-info > .home-visit-tel { gap: 2vw; }
	.home-visit-tel img { width: 4.4vw; }
	.home-visit-tel strong { font-size: 5.33vw; }
	.home-visit-hours { margin-top: 5.33vw; }
	.home-visit-hours dt { flex-basis: 17.33vw; min-height: 12vw; border-radius: 2.67vw; font-size: 3.73vw; }
	.home-visit-hours dd { padding-left: 2.67vw; }
	.home-visit-hours dd p { font-size: 3.73vw; }
	.home-visit-hours dd p + p { margin-top: 2vw; }
	.home-visit-hours dd p span { margin-left: 2vw; }
	.home-visit-map { margin-top: 9.33vw; }
	.home-visit-map img { position: static; width: 100%; transform: none; }
}
