/* main */
#fullpage .section-title {
	text-align: center;
	margin-bottom: 56px;
}

#fullpage .content-center {
	position: absolute;
	top: 54%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

/* section1 */
#fullpage .section-visual {
	background: url("../../images/egovframework/main/section1-bg.png") no-repeat center center;
	background-size: cover;
}

#fullpage .section-visual .visual-content p {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

#fullpage .section-visual .visual-content.animate p {
	opacity: 1;
	transform: translateY(0);
	text-shadow: 0px 4px 0px rgba(0,0,0,0.4);
}

#fullpage .section-visual .visual-content.animate p:nth-child(1) {
	transition-delay: 0s;
}

#fullpage .section-visual .visual-content.animate p:nth-child(2) {
	transition-delay: 0.3s;
}

#fullpage .section-visual .visual-content.animate p:nth-child(3) {
	transition-delay: 0.6s;
}

#fullpage .section-visual .scroll-down {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	height: 100px;
	background: url("../../images/egovframework/main/scroll-down-bg.png") no-repeat center center;
}

#fullpage .section-visual .scroll-down-wrap {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	text-align: center;
}

#fullpage .section-visual .scroll-down-wrap .scroll-down-icon {
	text-align: center;
	margin-bottom: 11px;
}

#fullpage .section-visual .scroll-down-icon,
#fullpage .section-visual .scroll-down-text {
	animation: scrollDownMove 1.2s infinite cubic-bezier(0.4,0,0.2,1);
}
@keyframes scrollDownMove {
	0% { transform: translateY(-5px); opacity: 0.5; }
	40% { opacity: 1; }
	70% { transform: translateY(5px); opacity: 1; }
	100% { transform: translateY(-5px); opacity: 0.5; }
}

/* section2 */
#fullpage .work-accordion {
	display: flex;
	width: 100%;
	height: 538px;
	gap: 28px;
	transition: all 0.4s ease;
}

#fullpage .work-accordion .hover-box {
	flex-basis: 33.33%;
	transition: all 0.5s ease;
	overflow: hidden;
	position: relative;
	background: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 8px;
	border: 1px solid rgba(13, 17, 55, 0.1);
}

#fullpage .work-accordion .hover-box:nth-child(1) {
	background: url('../../images/egovframework/main/section2-bg1.png') no-repeat right center;
	background-size: cover;
}

#fullpage .work-accordion .hover-box:nth-child(2) {
	background: url('../../images/egovframework/main/section2-bg2.png') no-repeat right center;
	background-size: cover;
}

#fullpage .work-accordion .hover-box:nth-child(3) {
	background: url('../../images/egovframework/main/section2-bg3.png') no-repeat right center;
	background-size: cover;
}

#fullpage .work-accordion .hover-box .title {
	padding: 48px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

#fullpage .work-accordion .hover-box .title::after {
	display: block;
	content: '';
	position: absolute;
	bottom: 48px;
	left: 50%;
	transform: translateX(-50%);
}

#fullpage .work-accordion .hover-box:nth-child(1) .title {
	background-color: rgba(13, 17, 55, 0.4);
}

#fullpage .work-accordion .hover-box:nth-child(2) .title {
	background-color: rgba(13, 17, 55, 0.6);
}

#fullpage .work-accordion .hover-box:nth-child(3) .title {
	background-color: rgba(13, 17, 55, 0.8);
}

#fullpage .work-accordion .hover-box:nth-child(1) .title::after {
	width: 40px;
	height: 39px;
	background: url('../../images/egovframework/icon/service.png') no-repeat center center;
	background-size: cover;
}

#fullpage .work-accordion .hover-box:nth-child(2) .title::after {
	width: 30px;
	height: 40px;
	background: url('../../images/egovframework/icon/solution.png') no-repeat center center;
	background-size: cover;
}

#fullpage .work-accordion .hover-box:nth-child(3) .title::after {
	width: 40px;
	height: 40px;
	background: url('../../images/egovframework/icon/portfolio.png') no-repeat center center;
	background-size: cover;
}

#fullpage .work-accordion .hover-box .title span {
	display: block;
	transform: rotate(90deg);
}

#fullpage .work-accordion .content {
	opacity: 0;
	transition: opacity 0.4s ease;
	position: absolute;
	top: 50%;
	left: 48px;
	transform: translateY(-50%);
}

#fullpage .work-accordion .line {
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.4s ease;
}

#fullpage .work-accordion a.line {
	display: inline-block;
}

#fullpage .work-accordion .line:nth-child(1) { transition-delay: 0.2s; }
#fullpage .work-accordion .line:nth-child(2) { transition-delay: 0.4s; }
#fullpage .work-accordion .line:nth-child(3) { transition-delay: 0.6s; }
#fullpage .work-accordion .line:nth-child(4) { transition-delay: 0.8s; }

#fullpage .work-accordion .line.icon {
	text-indent: -9999px;
	margin-bottom: 20px;
}

#fullpage .work-accordion .hover-box:nth-child(1) .line.icon {
	width: 40px;
	height: 39px;
	background: url('../../images/egovframework/icon/service-active.png') no-repeat center center;
	background-size: cover;
}

#fullpage .work-accordion .hover-box:nth-child(2) .line.icon {
	width: 30px;
	height: 40px;
	background: url('../../images/egovframework/icon/solution-active.png') no-repeat center center;
	background-size: cover;
}

#fullpage .work-accordion .hover-box:nth-child(3) .line.icon {
	width: 40px;
	height: 40px;
	background: url('../../images/egovframework/icon/portfolio-active.png') no-repeat center center;
	background-size: cover;
}

#fullpage .work-accordion .line.tit {
	margin-bottom: 28px;
}

#fullpage .work-accordion .line.desc {
	margin-bottom: 64px;
}

#fullpage .work-accordion .hover-box.active {
	flex-basis: 80%;
	box-shadow: 5px 5px 30px rgba(13, 17, 55, 0.1);
}

#fullpage .work-accordion .hover-box.active:hover {
	border-color: rgba(13, 17, 55, 0.6);
}

#fullpage .work-accordion .hover-box.active .title {
	display: none;
}

#fullpage .work-accordion .hover-box.shrink {
	flex-basis: 10%;
}

#fullpage .work-accordion .hover-box.active .content {
	opacity: 1;
}

#fullpage .work-accordion .hover-box.active .line {
	opacity: 1;
	transform: translateY(0);
}

/* section3 */
#fullpage .section-contact .contact-area {
	height: 77.8%;
	background: url("../../images/egovframework/main/section3-bg.png") no-repeat center center;
	background-size: cover;
	position: relative;
}

#fullpage .section-contact .contact-area .content-center {
	width: 100%;
}

#fullpage .section-contact #map {
	height: 22.2%;
	position: relative;
	z-index: 10;
}

/* fullpage */
#fp-nav.right {
	right: 80px !important;	
}

#fp-nav ul li a.active span, #fp-nav ul li:hover a.active span, .fp-slidesNav ul li a.active span, .fp-slidesNav ul li:hover a.active span {
	background: url('../../images/egovframework/icon/section-nav-active.png') no-repeat center center !important;
	background-size: cover !important;
}

#fp-nav.dark-nav ul li a.active span, #fp-nav.dark-nav ul li:hover a.active span, .fp-slidesNav ul li a.active span, .fp-slidesNav ul li:hover a.active span {
	background-image: url('../../images/egovframework/icon/section-nav-dark-active.png') !important;
}

#fp-nav ul li a span, .fp-slidesNav ul li a span {
	background: url('../../images/egovframework/icon/section-nav.png') no-repeat center center !important;
	background-size: cover !important;
	width: 26px !important;
	height: 26px !important;
	margin: 0 !important;
}

#fp-nav.dark-nav ul li a span, .fp-slidesNav ul li a span {
	background-image: url('../../images/egovframework/icon/section-nav-dark.png') !important;
}

#fp-nav ul li, .fp-slidesNav ul li {
	margin: 3px !important;
}

#fp-nav ul li, .fp-slidesNav ul li,
#fp-nav ul li a.active span, #fp-nav ul li:hover a.active span, .fp-slidesNav ul li a.active span, .fp-slidesNav ul li:hover a.active span {
	width: 26px !important;
	height: 26px !important;
}

#fp-nav ul li .fp-tooltip {
	top: 20px !important;
	font-weight: 200 !important;
	font-size: 1.4rem !important;
	line-height: 1.4rem !important;
	font-family: 'Pretendard' !important;
}

#fp-nav.dark-nav ul li .fp-tooltip {
	color: var(--color-primary) !important;
}

#fp-nav ul li .fp-tooltip.right {
	right: 24px !important;
}

/* 반응형 */
@media (max-width: 1900px) {	
	#fp-nav.right {
		right: 32px !important;	
	}	
}

@media (max-width: 1600px) {	
	#fp-nav {
		display: none;
	}
}

@media (max-width: 1024px) {
	#fp-nav {
		display: none;
	}
}

@media (max-width: 768px) {
	#fullpage .section-visual .visual-content.animate p {
		text-shadow: 0px 2px 0px rgba(0,0,0,0.4);
	}
	#fullpage .section-visual .scroll-down {
		width: 172px;
		height: 86px;
		background-size: contain;
	}
	
	#fullpage .section-title {
		margin-bottom: 24px;
	}
	
	#fullpage .work-accordion {
		flex-direction: column;
		height: auto;
		gap: 18px;
	}

	#fullpage .work-accordion .hover-box {
		flex-basis: auto;
		height: auto;
	}

	#fullpage .work-accordion .hover-box:nth-child(1) {
		background: url('../../images/egovframework/main/m-section2-bg1.png') no-repeat right center;
		background-size: contain;
	}
	
	#fullpage .work-accordion .hover-box:nth-child(2) {
		background: url('../../images/egovframework/main/m-section2-bg2.png') no-repeat right center;
		background-size: contain;
	}
	
	#fullpage .work-accordion .hover-box:nth-child(3) {
		background: url('../../images/egovframework/main/m-section2-bg3.png') no-repeat right center;
		background-size: contain;
	}

	#fullpage .work-accordion .hover-box .title {
		position: relative;
		width: 100%;
		height: auto;
		padding: 28px 24px;
		background-color: rgba(13, 17, 55, 0.6);
		cursor: pointer;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	#fullpage .work-accordion .hover-box .title span {
		transform: rotate(0deg);
		font-size: 2rem;
		line-height: 2.4rem;
	}

	#fullpage .work-accordion .hover-box .title::after {
		position: static;
		transform: none;
	}

	#fullpage .work-accordion .hover-box .content {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		padding: 47px 24px;
		opacity: 0;
		max-height: 0;
		overflow: hidden;
		transition: all 0.5s ease;
		box-sizing: border-box;
	}
	
	#fullpage .work-accordion .hover-box.shrink .content {
		display: none;
	}

	#fullpage .work-accordion .hover-box.active .content {
		opacity: 1;
		max-height: 280px;
	}
	
	#fullpage .work-accordion .hover-box:nth-child(1) .line.icon,
	#fullpage .work-accordion .hover-box:nth-child(1) .title::after {
		width: 25px;
		height: 24px;
	}
	
	#fullpage .work-accordion .hover-box:nth-child(2) .line.icon,
	#fullpage .work-accordion .hover-box:nth-child(2) .title::after {
		width: 18px;
		height: 24px;
	}
	
	#fullpage .work-accordion .hover-box:nth-child(3) .line.icon,
	#fullpage .work-accordion .hover-box:nth-child(3) .title::after {
		width: 24px;
		height: 24px;
	}
	
	#fullpage .work-accordion .line.icon {
		margin-bottom: 8px;
	}
	
	#fullpage .work-accordion .line.tit {
		font-size: 3.2rem;
		line-height: 4.4rem;
		margin-bottom: 12px;
	}
	
	#fullpage .work-accordion .line.desc {
		font-size: 1.4rem;
		line-height: 2rem;
		margin-bottom: 24px;
		width: 250px;
    	word-break: keep-all;
	}
	
	#fullpage .section-contact .contact-area {
		height: 85%;
	}
	
	#fullpage .section-contact #map {
		height: 15%;
	}
}