/* Body */
body {
	max-width: 100%;
	margin: 0 auto !important;
}

/* 스크롤 제한 상태 (팝업 등) */
.not_scroll {
	overflow: hidden;
}

.not_scroll body {
	overflow: hidden !important;
}

.not_scroll .main {
	position: relative;
	top: 0;
	transform: translate3d(0, 0, 0) !important;
}

.not_scroll .pop-up {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

/* Swiper 슬라이드 애니메이션 */
.swiper-slide {
	transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Section 기본 스타일 */
.section {
	position: relative;
	z-index: 1;
	overflow: hidden; 
}

.main .mj-business .tit-txt,
.main .reference .tit-txt {
	font-size: 3.75rem;
	font-weight: 700;
	color: #1f232d;
	text-align: center;
}

.tit-txt {
	overflow: hidden;
	color: #fff;
	font-family: 'poppins', 'pretendard', sans-serif;
}

.sub-txt {
	color: #fff;
}

/* 메인 */
.main .fp-bg {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	transition: transform 1.5s ease;
}

.main .container {
	width: calc(99.999% - 5vw);
	height: 100%;
	position: relative;
	padding: 0 1rem;
}

/* main-visual */
.main .main-visual .slider {
	position: relative;
}

.main .main-visual .slide-wrap,
.main .main-visual .slick-slide {
	height: 100vh;
}

.main .main-visual .txt-box {
	position: absolute;
	top: 50%;
	left: 10.417vw;
	transform: translateY(-50%);
}

.main .main-visual .img-box {
	width: 100%;
}

.main .main-visual .img-box > div {
	width: 100%;
	height: 100vh;
	background-size: cover;
	background-position: right bottom;
}

.main .main-visual .img-box > div.mo-ver {
	display: none;
}

.main .main-visual .tit-txt {
	font-size: 5rem;
	font-weight: 700;
	line-height: 1.05;
}

.main .main-visual .sub-txt {
	display: block;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.67;
	letter-spacing: -1.2px;
	padding: 15px 0 20px;
}

.main .main-visual .slick-arrow {
	position: absolute;
	top: 48%;
	transform: translateY(-50%);
	z-index: 2;
	cursor: pointer;
}

.main .main-visual .slick-arrow i {
	font-size: 4rem;
	color: rgba(255, 255, 255, 0.5);
}

.main .main-visual .slick-prev {
	left: 5%;
}

.main .main-visual .slick-next {
	right: 10%;
}

.main .main-visual .slider-nav {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 5;
	max-width: 100%;
	width: calc(99.999% - 5vw);
}

.main .main-visual .slider-nav .slick-list {
	padding: 0 !important;
}

.main .main-visual .slider-nav .slick-list .slick-track {
	width: 100% !important;
}

.main .main-visual .slider-nav li {
	width: calc(99.999% / 3) !important;
	height: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	position: relative;
	cursor: pointer;
	text-transform: uppercase;
	border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.main .main-visual .slider-nav li:first-child {
	border-left: 0;
}

.main .main-visual .slider-nav li .back {
	display: none;
	background: #bbbdc5;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.main .main-visual .slider-nav li p {
	position: relative;
	z-index: 2;
	font-size: 16px;
	color: #999;
	letter-spacing: 0;
}

.main .main-visual .slider-nav li.slick-current p {
	color: #1f232d;
}

.main .main-visual .slider-nav li.slick-current .back {
	display: block;
}

/* 회사소개 */
.main .cp-overview {
	position: relative;
}

.main .cp-overview .fp-bg > img:first-child {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 37.813vw;
	height: 23.958vw;
}

.main .sectcp-overviewion02 .fp-bg > img:last-child {
	position: absolute;
	bottom: 0;
	right: 6.250vw;
	z-index: -1;
	width: 33.594vw;
	height: 12.135vw;
}

.main .cp-overview .inner {
	display: flex;
	align-items: center;
}

.main .cp-overview .inner > img {
	width: 90vh;
	height: 100vh;
}

.main .cp-overview .inner > img.mo-ver {
	display: none;
}

.main .cp-overview .inner .txt-box {
	margin: 30vh 0 0 -40px;
}

.main .cp-overview .inner .tit-txt {
	font-size: 4.375rem;
	line-height: 1.3;
	letter-spacing: normal;
	color: #7d7d7d;
}

.main .cp-overview .inner .tit-txt em {
	color: #1f232d;
	font-weight: 700;
}

.main .cp-overview .inner .sub-txt {
	display: block;
	font-size: 18px;
	font-weight: normal;
	line-height: 1.67;
	letter-spacing: -0.9px;
	color: #7d7d7d;
	padding: 40px 0 0 120px;
}

.main .cp-overview .inner .browse-more {
	padding-top: 1.577vw;
	padding-bottom: 10px;
}

/* browse-more 버튼 */
.browse-more {
	position: relative;
	display: flex;
	align-items: center;
	width: 10.417vw;
	transition: all 0.5s ease;
}

.link-wrap {
	display: flex;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: 2;
}

.link-wrap img {
	margin-right: 10px;
	transition: margin 0.3s ease;
}

.link-wrap span {
	display: block;
	font-size: 16px;
	font-weight: 700;
	position: relative;
	z-index: 3;
	white-space: nowrap;
	text-transform: uppercase;
}

/* 원형 SVG 회전 애니메이션 */
.main .cp-overview svg {
	position: relative;
	left: -3.25rem;
	display: block;
	margin: 0 auto;
	animation: rotateAnim 30s linear infinite;
}

@keyframes rotateAnim {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* 주요사업 영역 */
.main .mj-business .inner {
	max-width: 100%;
	margin: 0 auto;
}

.mj-business .business-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.mj-business .business-box li,
.business-box li {
	width: calc(33.333% - 20px);
	height: 16vw;
	padding: 35px;
	position: relative;
	border-radius: 10px;
	box-sizing: border-box;
	display: block;
	transition: all 1s;
	overflow: hidden;
	cursor: pointer;
}

/* 배경 이미지 및 transition-delay */
.business-box li:nth-child(1) {
	background: #f1f2f4 url(../img/main_keybusiness01.png) no-repeat right -22px bottom 10px;
	background-size: 70%;
	transition-delay: 0.05s;
}
.business-box li:nth-child(2) {
	background: #f1f2f4 url(../img/main_keybusiness02.png) no-repeat right -22px bottom 10px;
	background-size: 70%;
	transition-delay: 0.1s;
}
.business-box li:nth-child(3) {
	background: #f1f2f4 url(../img/main_keybusiness03.png) no-repeat right -22px bottom 10px;
	background-size: 70%;
	transition-delay: 0.15s;
}
.business-box li:nth-child(4) {
	background: #f1f2f4 url(../img/main_keybusiness04.png) no-repeat right -22px bottom 10px;
	background-size: 70%;
	transition-delay: 0.2s;
}
.business-box li:nth-child(5) {
	background: #f1f2f4 url(../img/main_keybusiness05.png) no-repeat right -22px bottom 10px;
	background-size: 70%;
	transition-delay: 0.25s;
}
.business-box li:nth-child(6) {
	background: #f1f2f4 url(../img/main_keybusiness06.png) no-repeat right -22px bottom 10px;
	background-size: 70%;
	transition-delay: 0.3s;
}

/* 텍스트 스타일 */
.business-box li span {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	width: 60%;
}

.business-box li p {
	position: absolute;
	bottom: 40px;
	left: 35px;
	font-size: 1rem;
	line-height: 1.6;
	color: #000;
	transform: translateY(100%);
	opacity: 0;
	transition: all 0.6s ease;
	pointer-events: none;
}

/* hover 효과 */
.business-box li:hover {
	background: #304198;
}
.business-box li:hover span {
	color: #fff !important;
}
.business-box li:hover p {
	opacity: 1;
	transform: translateY(0);
	color: #fff;
}

/* 링크 버튼 */
.business-box li p .circle-link {
	margin-top: 15px;
}

.circle-link {
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.circle-link img.mo-ver {
	display: none;
}

/* 비주얼 효과 (마우스 효과용) */
.shadow-box {
	width: 10vw;
	height: 10vw;
	background: rgba(255, 255, 255, 0.1);
	opacity: 0;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(-50%, -50%) scale(0.8);
	pointer-events: none;
	transition: transform 0.3s ease, opacity 0.3s ease;
	z-index: -1;
}

/* 반응형: 태블릿 이하에서는 2열 */
@media (max-width: 768px) {
	.mj-business .business-box li {
		flex: 0 0 calc(50% - 1rem);
		max-width: calc(100% - 1rem);
		line-height: 1.2;
		padding: 1rem;
		height: 15vh;
		/* font-size: 0.5rem; */
	}
}

/* reference */
.main .reference {
	position: relative;
	text-align: center;
	background: url("../img/reference_bg.png") no-repeat center 100% / auto;
}

@media screen and (max-width: 1200px) {
	.main .reference {
		background-size: 150%;
		padding-bottom: 240px;
	}
}

.main .reference .inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.main .reference .sub-txt {
	font-size: 20px;
	font-weight: 500;
}

.logo-section {
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding: 40px 0;
	margin-top: 30px;
	overflow: hidden;
}

.logo-row {
	overflow: hidden;
	position: relative;
	white-space: nowrap;
}

.logo-mask {
	overflow: hidden;
	position: relative;
}

/* 좌우 그라디언트 마스크 */
.logo-mask::before,
.logo-mask::after {
	content: "";
	position: absolute;
	top: 0;
	width: 80px;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

.logo-mask::before {
	left: 0;
	background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.logo-mask::after {
	right: 0;
	background: linear-gradient(to left, #fff 0%, transparent 100%);
}


/* 로고 트랙 슬라이드 */
.logo-track {
	display: inline-flex;
	align-items: center;
	gap: 40px;
	flex-shrink: 0;
	min-width: 100%;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.logo-row.left .logo-track {
	animation: scroll-left 20s linear infinite;
}

.logo-row.right .logo-track {
	animation: scroll-right 30s linear infinite;
}

.logo-track img {
	height: 60px;
	width: auto;
	flex-shrink: 0;
	margin: 0 20px;
	transition: transform 0.3s ease;
}

.logo-track img:hover {
	transform: scale(1.05);
}

.logo-row:hover .logo-track {
	animation-play-state: paused;
}


/* ----------------------------------
   로고 슬라이드 애니메이션
---------------------------------- */
@keyframes scroll-left {
	0% {
		transform: translateX(0%);
	}
	100% {
		transform: translateX(-50%);
	}
}

@keyframes scroll-right {
	0% {
		transform: translateX(-50%);
	}
	100% {
		transform: translateX(0%);
	}
}

/* 우측nav */
.fp-nav {
	position: fixed;
	top: 50%;
	right: 2%;
	transform: translateY(-50%);
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fp-nav li {
	width: 8px;
	height: 8px;
	margin: 10px 0;
	border-radius: 50%;
	background-color: #000;
	cursor: pointer;
	opacity: 0.5;
	transition: all 0.3s ease, background-color 0.3s ease;
	font-size: 13px;
}

/* 활성 상태 */
.fp-nav li.active {
	opacity: 1;
	transform: scale(1.3);
	font-weight: bold;
}

/* 메인비주얼에서 흰색 점으로 전환 */
.fp-nav.white li,
.header.white~.fp-nav li {
	background-color: #fff;
}

.down-scroll {
	position: fixed;
	bottom: 10%;
	right: 1.8%;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.5);
	z-index: 1000;
	cursor: pointer;
	opacity: 1;
	visibility: visible;
	transition:
		opacity 0.4s ease,
		visibility 0.4s ease,
		border-color 0.4s ease;
}

.down-scroll img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.5s;
}

.down-scroll::after {
	content: '';
	display: block;
	width: 1px;
	height: 60px;
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: #262f40;
	transition: background 0.5s ease;
}

.down-scroll.white {
	border-color: #fff !important;
}

.down-scroll.hide {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.down-scroll.mo-ver {
	display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {

	.main .mj-business .tit-txt,
	.main .reference .tit-txt {
		font-size: 2rem;
	}
}

@media (max-width: 768px) {
	.logo-track img {
		height: 40px;
		margin: 0 15px;
	}
}