@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:100,300,400,500,700,900');
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
*/



/* ===================================================== */
/* 기본 스타일 ========================================== */
:root {
	--color-main: #1d548f;
	--color-sub: #079a3e;
	--color-sub2: #005eae;
	--color-sub3: #da673a;
	--color-white-a05: rgba(255, 255, 255, 0.05);
	--color-white-a1: rgba(255, 255, 255, 0.1);
	--color-white-a2: rgba(255, 255, 255, 0.2);
	--color-white-a3: rgba(255, 255, 255, 0.3);
	--color-white-a4: rgba(255, 255, 255, 0.4);
	--color-white-a5: rgba(255, 255, 255, 0.5);
	--color-white-a6: rgba(255, 255, 255, 0.6);
	--color-white-a8: rgba(255, 255, 255, 0.8);
	--color-white-a9: rgba(255, 255, 255, 0.9);
	--color-black-a05: rgba(0, 0, 0, 0.05);
	--color-black-a1: rgba(0, 0, 0, 0.1);
	--color-black-a2: rgba(0, 0, 0, 0.2);
	--color-black-a3: rgba(0, 0, 0, 0.35);
	--color-black-a4: rgba(0, 0, 0, 0.4);
	--color-black-a5: rgba(0, 0, 0, 0.5);
	--color-black-a6: rgba(0, 0, 0, 0.6);
	--color-black-a7: rgba(0, 0, 0, 0.7);
	--color-black-a8: rgba(0, 0, 0, 0.8);
	--color-black-a9: rgba(0, 0, 0, 0.9);
	--scroll-width: 0px;
	--inner-width: calc(100vw - var(--scroll-width));
	--inner-padding: max(20px, calc(((var(--inner-width)) - 1400px) / 2));
	--outer-padding: min(var(--inner-padding), 45px);

	font-size: 10px;

}
html::-webkit-scrollbar {width: 8px; background-color: #eee;}
html::-webkit-scrollbar-thumb {background-color: #444;}
body {--header-height: 100px; font: 1.6rem/1.2 Paperlogy, Roboto, "Noto Sans KR", 'Malgun Gothic','돋움', dotum, sans-serif; color: #666; background-color: #fff;}
body:where(.is-fix) {--header-height: 80px;}
.is-open {overflow: hidden !important; padding-right: var(--scroll-width) !important;}
.inner {position: relative; margin: 0 var(--inner-padding);}


@media (max-width: 1280px) { 
	:root {font-size: 9px;} 
	body {--header-height: 80px; } 
}
@media (max-width: 768px) {
	:root {font-size: 8px;} 
	body {--header-height: 70px; } 
	
}
@media (max-width: 640px) {
	body.is-menu {--header-height: 80px;}
}
@media (max-width: 480px) {
	:root {font-size: 7px;} 
	body {--header-height: 60px;}
	body.is-menu {--header-height: 70px;}
}
@media (max-width: 360px) {	:root {--inner-padding: 15px;} }
/* 기본 스타일 ========================================== */
/* ===================================================== */


/* ===================================================== */
/* HEADER ============================================== */
.header {--allmenu-gap: 0%; --allmenu-img-width: 0%; position: absolute; inset: 0 0 auto; z-index: 1000; } 
.header-inner { display: flex; align-items: center;  position: fixed; inset: 0 0 auto; z-index: 1100; height: var(--header-height); padding: 0 calc(var(--outer-padding) + 5rem) 0 var(--outer-padding); transition: .3s; gap:3rem;} 
.header-inner::before { position: absolute; inset: 0;  content: ''; transition:all 0.3s ease-in-out; background-color: #fff; border-bottom:1px solid var(--color-white-a2);} 



:is(.is-hover, .is-fix, .is-hover-header):not(.is-menu) .header-inner::before { border-color:rgba(0, 0, 0, 0.2); background-color: #fff; } 
.body-sub .header-inner::before { border-color:rgba(0, 0, 0, 0.2); background-color: #fff; } 
.is-menu .header-inner::before { background-image: linear-gradient(to left, var(--color-black-a2), var(--color-black-a2)); background-size: calc(100% - var(--allmenu-gap) - var(--allmenu-img-width)) 1px;visibility: hidden; opacity: 0;}



.header-logo { position: relative; width:31.1rem; transition: left .5s; left:0; flex-shrink: 0;} 
/*
:is(.is-hover, .is-fix, .is-hover-header) #header-logo-white { opacity: 0; transition: opacity .5s;} 
.header-logo #header-logo { opacity: 0; position: absolute; inset: 0; object-fit: contain; transition: opacity .5s;} 
:is(.is-hover, .is-fix, .is-hover-header) #header-logo { opacity: 1; } 

:is(.is-open) #header-logo-white { opacity: 1;} 
:is(.is-open) #header-logo { opacity: 0;} 
*/
.is-menu .header-logo {left: calc(var(--allmenu-img-width) + var(--allmenu-gap));}


@media (max-width: 1440px) {
	.header-logo {width:28rem;}
}

@media (max-width: 1280px) {
	.header-logo {width:25rem;}
}

@media (max-width: 1024px) {
	
}

@media (max-width: 768px) {
}
@media (max-width: 640px) {
	.is-menu .header-inner {flex-direction: column; align-items: center; padding: 1rem var(--outer-padding);gap:1rem;}
}




/* GNB */
.gnb { transition: opacity .3s;  flex-grow: 1;} 
.gnb-wrap { display: flex;} 
.depth1 { position: relative;} 
.depth1::before,
.depth1::after {content:''; display: block; transition: all 0.3s ease-in-out; position: absolute; bottom:0; left:50%; transform: translate(-50%, 50%); z-index: 1; opacity: 0;}
.depth1::before {width: 0; height:0.8rem; border-radius: 1rem; background-color: var(--color-main);}
.depth1::after {width: 0rem; height:0; border-radius: 1rem; border:0.5rem solid #fff; background-color: var(--color-sub);}

.depth1 > a { padding: 0 4rem; line-height: var(--header-height); transition: all 0.3s ease-in-out;}
.depth1 > a span { color: #000; white-space: nowrap; font-size:2rem; font-weight: 600;transition: all 0.3s ease-in-out;}

.depth2 { display: none; position: absolute; top: var(--header-height); left:50%; min-width: 100%; padding: 2rem 0; background-color: #fff; border-radius: 0 0 2rem 2rem; transform: translate(-50%, 0); text-align: center;} 
.depth2 a { padding: 1rem 2rem;} 
.depth2 span { white-space: nowrap;  color:#222; font-weight: 500; font-size:1.6rem; transition: all 0.3s ease-in-out; text-decoration-color:transparent; }

.is-menu .gnb { visibility: hidden; opacity: 0; display: none;} 
:where(.is-hover, .is-fix) .depth1 > a span { color: #222;  } 

.depth1:hover::before { opacity: 1; width: var(--depth2-wd);}
.depth1:hover::after {opacity: 1;width: 1.8rem; height:1.8rem;}

.depth1:hover > a span { color: var(--color-sub); font-weight: 700; } 
.depth2 a:hover span { color: var(--color-sub); text-decoration: underline;text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em;}



@media (max-width: 1600px) {
	.depth1 > a { padding: 0 2.6rem;}
}

@media (max-width: 1440px) {
}

@media (max-width: 1280px) {
	.depth1 > a { padding: 0 2rem;}
}
@media (max-width: 1024px) {
	.gnb { visibility: hidden; opacity: 0; display: none;} 
}



/*상단 바로가기 링크*/
.header-link {display: flex; align-items: center; z-index: 1; border-radius: 2rem; border:1px solid #d6d6d6; gap:3rem; padding:0 1.5rem 0 2rem; margin-left:auto;}
.header-link a {display: block; padding:1rem 2.5rem 1rem 0; position: relative; font-size:1.6rem; font-weight: 600; color:#000; transition:all 0.3s ease-in-out;}
.header-link a::after {content:''; display: block; position:absolute; right:0; top:50%; transform:translate(0, -50%); width:2rem; height:2rem; border-radius:50%; background-color: #999; background-image: url('../images/common/ico_link01.png'); background-position: 50% 50%; background-repeat: no-repeat;transition:all 0.3s ease-in-out;}

.header-link a:hover {color:var(--color-sub);}
.header-link a:hover::after {background-color:var(--color-main); transform: translate(0.2rem, calc(-50% - 0.2rem));}


@media (max-width: 1440px) {
	.header-link {flex-direction: column; align-items: flex-start; border-radius: 1rem; gap:0rem; padding:0.5rem 1rem;}
	.header-link a {padding:0.5rem 2rem 0.5rem 0; font-size:1.4rem;}
	.header-link a::after {width:1.8rem; height:1.8rem; background-size: 0.8rem;}
	.is-menu .header-link {flex-direction: row; align-items: center; gap:2rem; border-radius: 2rem; padding-left:1.5rem;}
}

@media (max-width: 1280px) {
}

@media (max-width: 1024px) {
	.header-link {flex-direction: row; align-items: center; gap:2rem; border-radius: 2rem; padding-left:1.5rem;}

}

@media (max-width: 640px) {
	.header-link {display: none; margin:0;}
	.is-menu .header-link {display: flex;}
}


/* 유틸 */
.header-util {transition: all 0.3s ease-in-out; position: absolute; top:0; right:0; z-index: 10; display: flex; flex-direction: column; background-color: #000; width:6rem; border-radius: 2.5rem 0 0 2.5rem; overflow: hidden;}


/*회원/로그인 버튼*/
.util-member a {display: block; width:6rem; height:6rem; overflow:hidden; text-indent:-99999px; font-size:0; background-position: 50% 50%; background-repeat:no-repeat; background-color: transparent; transition: all 0.3s ease-in-out;}

.util-member .join a,
.util-member .mypage a {background-image:url('../images/common/ico_member01.png');}
.util-member .login a {background-image:url('../images/common/ico_login.png');}
.util-member .logout a {background-image:url('../images/common/ico_logout.png');}

@media (hover: hover) and (pointer: fine) {
	.util-member a:hover {background-color: var(--color-main);}
	.is-menu .util-member a:hover {background-color: var(--color-sub);}
}




/* 전체메뉴 버튼 */
.util-allmenu-btn { position: relative; width:6rem; height:6rem; transition: all 0.3s ease-in-out; overflow: hidden;}
.util-allmenu-btn span { position: absolute; width: 2.6rem; height: 3px; background-color: #fff; border-radius: 3px; top:50%; left:50%; transform: translate(-50%, -1px);transition:all .3s ease-in-out;}
.util-allmenu-btn span::before,
.util-allmenu-btn span::after {content:''; display: block; position: absolute; width: 100%; height: 100%; border-radius: 3px; background-color:#fff; transition:all .3s ease-in-out; left:0;}

.util-allmenu-btn span::before {width:2.2rem; top:-0.9rem;}
.util-allmenu-btn span::after {width:1.8rem; top:0.9rem;}

.util-allmenu-btn em { position: relative; font-size:0;}


.util-allmenu-btn:hover {background-color:var(--color-main)}
.util-allmenu-btn:hover span::before {width:100%; top:0.9rem;}
.util-allmenu-btn:hover span::after {width:100%; top: -0.9rem;}



@media (max-width: 1440px) {
}

@media (max-width: 1280px) {
	.header-util {width:5rem; border-radius: 2rem 0 0 2rem;}
	.util-member a {width:5rem; height:5rem; background-size:2.6rem auto;}

	.util-allmenu-btn {width:5rem; height:5rem;}
	.util-allmenu-btn span {width: 2.6rem; height: 2px;}

	.util-allmenu-btn span::before {top:-0.8rem;}
	.util-allmenu-btn span::after {top:0.9rem;}

	.util-allmenu-btn:hover span::before {top:0.9rem;}
	.util-allmenu-btn:hover span::after {top: -0.8rem;}

}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {
	.util-allmenu-btn span::before {top:-0.8rem;}
	.util-allmenu-btn span::after {top:0.8rem;}

	.util-allmenu-btn:hover span::before {top:0.8rem;}
	.util-allmenu-btn:hover span::after {top: -0.8rem;}
}

@media (max-width: 480px) {
	.util-allmenu-btn span::before {top:-0.8rem;}
	.util-allmenu-btn span::after {top:0.9rem;}
	.util-allmenu-btn:hover span::before {top:0.9rem;}
	.util-allmenu-btn:hover span::after {top: -0.8rem;}
}




.is-menu .header-util {background-color:var(a--color-sub);}
.is-menu .util-allmenu-btn span{background-color: transparent;}
.is-menu .util-allmenu-btn span::before,
.is-menu .util-allmenu-btn span::after{width:100%; top:50%; left:50%;}
.is-menu .util-allmenu-btn span::before {transform: translate(-50%, -50%) rotate(-45deg);}
.is-menu .util-allmenu-btn span::after {transform: translate(-50%, -50%) rotate(45deg);}


@media (hover: hover) and (pointer: fine) {
	.is-menu .util-allmenu-btn:hover {background-color:var(--color-sub);}
	.is-menu .util-allmenu-btn:hover span::before,
	.is-menu .util-allmenu-btn:hover span::after {width:3.2rem; }
}












/* 전체메뉴 */
.allmenu {display: flex; visibility: hidden; opacity: 0; position: fixed; width: calc(100% + var(--scroll-width)); height: 100%;  background-blend-mode: screen; transform: translateY(0%); transition: .5s, padding-right 0s, width 0s; z-index: 1001; background:#fff;
 --a1depbtn-height:calc(var(--allmenu-height) + 4rem); } 

.allmenu::after {content:''; display: block; width:100%; height:100%; position: absolute; bottom:0; right:0; background: #fff url('../images/common/bg_logo01.svg') no-repeat right 102%; background-size: 60% auto; z-index: -1; opacity: 0; transition: all 0.5s ease .5s; background-blend-mode:luminosity;}

.allmenu-wrap {flex-grow: 1; padding-left: var(--allmenu-gap); height:100%;/*  height: 100%; 옆 배경 없을 때 scroll생성 */}
.allmenu-cont {visibility: hidden; overflow: hidden auto; opacity: 0; height: calc(100% - var(--header-height)); margin-top: var(--header-height); transition: .3s; padding:calc(0rem + 4vh) 0  calc(3rem + 6vh);}
.allmenu-cont::-webkit-scrollbar { width: 6px; } 
.allmenu-cont::-webkit-scrollbar-thumb { background-color: var(--color-main); } 
.allmenu-list {display: flex; margin: 0 var(--inner-padding); justify-content: center; position: relative;}
.allmenu-list::before,
.allmenu-list::after {content:''; display: block; width:1px; height:calc(100% - var(--a1depbtn-height)); background-color: #d2dde9; position: absolute; top:var(--a1depbtn-height); right:0;}
.allmenu-list::before {left:0;}


.is-menu .allmenu { visibility: visible; opacity: 1; width: 100%; transform: translateY(0);} 
.is-menu .allmenu-cont { visibility: visible; opacity: 1; transition: .7s ease-out .2s; } 

.is-menu .allmenu::after {opacity: 0.15;}


.all-depth1 {padding:0 3rem; margin-top:4rem; flex:1 1 20%;  border-right:1px solid rgba(255, 255, 255, 0.2); position: relative;}
.all-depth1::before {content:''; display: block; width:1px; height:calc(100% - var(--allmenu-height)); background-color: #d2dde9; position: absolute; top:var(--allmenu-height); left:0;}


.all-depth1-btn { padding-bottom: 3rem; text-align: center;  cursor: default; font-size:3.2rem; font-weight: 600; color:#000; width:100%;transition: all 0.3s ease-in-out;} 

.all-depth1-btn::before {content:''; display: block; width:500%; height:10px; background-color: #d2dde9; position: absolute; top:var(--allmenu-height); left:50%; transform: translate(-50%, -50%);transition: all 0.3s ease-in-out;}


.all-depth1-btn span{display: block;}
.all-depth1-btn span::before{content:''; position: absolute; top:var(--allmenu-height); left: 50%; width:0; height:10px; border-radius: 6px; background-color: var(--color-main); transform: translate(-50%, -50%); visibility: hidden; opacity: 0;  transition: all 0.3s ease-in-out;}
.all-depth1-btn span::after {content:''; position: absolute; top:var(--allmenu-height); left: 50%; transform: translate(-50%, -50%); width: 0rem; height:0; border-radius: 1rem; border:0.5rem solid #fff; background-color: var(--color-sub); transition: all 0.3s ease-in-out; opacity: 0;}



@media (hover: hover) and (pointer: fine) {
	.all-depth1:hover {z-index: 1;}
	.all-depth1:hover .all-depth1-btn {color:var(--color-sub); z-index: 1;}
	
	.all-depth1:hover .all-depth1-btn span::before{ opacity: 1; visibility: visible;width:100%;}
	.all-depth1:hover .all-depth1-btn span::after {opacity: 1;width: 1.8rem; height:1.8rem;}
}


.all-depth2 {padding-top:3rem;} 
.all-depth2-btn { padding: 0.6em 0em; font-size:1.9rem; font-weight:500; line-height: 1.25; color: #222; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: all .2s, text-decoration-color .1s;} 


@media (hover: hover) and (pointer: fine) {
	.all-depth1:hover .all-depth2-btn:hover {color:var(--color-sub); text-decoration-color: currentColor; font-weight: 700;}
}


.all-depth3 {padding-bottom: 0.5em;}
.all-depth3:not(:has(li)) {display: none;}
.all-depth3 a {display: flex; padding: 0.25em 0 0.25em 2rem; font-size: 1.5rem; color: #222; transition: all 0.3s ease-in-out; font-weight: 500; position: relative;}
.all-depth3 a::before {content: ''; display: block; width:0.6rem; height:0.6rem; background-color: var(--color-main); border-radius: 50%; position: absolute; top:1rem; left:1rem;}
@media (hover: hover) and (pointer: fine) {
	.all-depth3 a:hover {color:var(--color-sub);}
	.all-depth3 a:hover::before {background-color: var(--color-sub);}
}

.all-depth4 {padding-bottom: 0;}
.all-depth4:not(:has(li)) {display: none;}
.all-depth4 a {display: flex; padding: 0.25em 0 0.25em 3rem; font-size: 1.4rem; color: #666; transition: all 0.3s ease-in-out; font-weight: 500; position: relative;}
.all-depth4 a::before {content:''; display: block; width:4px; height:1px; background-color: #666; border-radius: 50%; position: absolute; top:1rem; left:2rem;}
@media (hover: hover) and (pointer: fine) {
	.all-depth4 a:hover {color:var(--color-sub);}
	.all-depth4 a:hover::before {background-color: var(--color-sub);}
}

/* dim */
.gnb-dim { opacity: 0; position: fixed; inset: 0; z-index: 1000; background-color: var(--color-black-a6); transition: opacity .3s; pointer-events: none; } 
:is(.is-hover, .is-menu) .gnb-dim { opacity: 1; } 
.is-menu .gnb-dim {-webkit-backdrop-filter: blur(8px);backdrop-filter: blur(8px); background-color: var(--color-black-a7);}

/*
@media (hover: hover) and (pointer: fine) {
.is-menu .util-allmenu-btn:hover span { width: 18px; } 
}
*/

@media (max-width: 1440px) {
	.allmenu::after {background-position: right 101%;}
}

@media (max-width: 1280px) { 
	/*.allmenu-list { display: grid; grid-template-columns: repeat(3, 1fr);}*/
	.allmenu-list {flex-wrap: wrap;}
	.all-depth1 {border-bottom:1px solid #d2dde9; flex:1 1 33%;}
	.all-depth1:last-child {width: 100%;}
}
@media (max-width: 1024px) {
	.allmenu::after {background-position: right 100.5%;}
}
@media (max-width: 768px) {

	.allmenu::after {background-position: right 100.5%; background-size: 80% auto;}


	.allmenu-cont {padding:1rem 0 18%;}
	.allmenu-cont::-webkit-scrollbar { width: 0; } 
	.allmenu-list {display: block; height:auto; border-top: 1px solid var(--color-main);} 
	.allmenu-list::before,
	.allmenu-list::after {display: none;}
	.all-depth1 { padding: 0; border:0; margin:0;}
	.all-depth1::before {display: none;}
	
	.all-depth1-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 2rem max(2%, 10px); margin: 0; border-bottom: 1px solid var(--color-main); cursor: pointer;  transition:all 0.3s ease-in-out; font-size:2.4rem;} 
	.all-depth1-btn::before {display: none;}
	.all-depth1-btn::after {content: ''; flex-shrink: 0; width: 1.6rem; height: 1.6rem; transition: .3s; border:2px solid #222; border-width:2px 2px 0 0; transform:translate(0, -25%) rotate(135deg)} 
	
	.all-depth1-btn.on {color:var(--color-sub);}
	.all-depth1-btn.on::after { transform:translate(0, 25%) rotate(315deg); } 

	.all-depth1-btn.on span::before{ opacity: 1; visibility: visible;width:100%;}
	.all-depth1-btn.on span::after {opacity: 1;width: 1.8rem; height:1.8rem;}

	


	.all-depth2 { display: none; padding: 1rem 0; background-color: var(--color-black-a1); border-bottom:1px solid var(--color-main) } 
	.all-depth2-btn { padding: 1rem 2.5rem; font-size:2.2rem; color:#000;}

	.all-depth3 {padding-bottom: 0.5em;}
	.all-depth3 > li > a {padding: 0.5rem 0 0.5rem 3.8rem; font-size: 1.8rem;}
	.all-depth3 > li > a::before {width:5px; height:5px;top:1.15rem; left:2.5rem;}

	.all-depth4 {padding: 1rem; background-color: var(--color-white-a9); margin:0 2rem; border-radius: 1rem; display: flex; flex-wrap: wrap;}
	.all-depth4 > li {flex: 1 1 50%;}
	.all-depth4 > li > a {padding: 0.5rem 0 0.5rem 2rem; font-size: 1.6rem; color:#222;}
	.all-depth4 > li > a::before {top:1.3rem; left:1rem;}

}

@media (max-width: 576px) { 
} 
@media (max-width: 480px) { 
}
/* HEADER ============================================== */
/* ===================================================== */




/* ===================================================== */
/* FOOTER ============================================== */
.footer { padding: 10rem 0; background:#f9f9f9; border-top:1px solid #c7c7c7; position: relative; font-size:1.6rem;} 

.footer-wrap {display: flex; gap:3rem;}
.footer-box:nth-child(1) {display: flex; flex-direction: column; text-align: center; margin-right:7rem; flex-shrink: 0;}
.footer-box:nth-child(2) {flex-grow: 1;}


.footer-logo img{width:21.4rem; display: inline-block; margin-bottom:4rem;}
.footer-logo-txt img{width:19.6rem; display: inline-block;}


.footer-menu { display: flex; justify-content: center; align-items: center; border-width:1px 0 ; border-style:solid; border-color: var(--color-black-a3);} 
.footer-menu .item { display: flex; align-items: center; } 
.footer-menu .item a { padding: 1rem 1rem; color:var(--color-main);} 
.footer-menu .item a:hover {color:var(--color-sub);}
.footer-menu .item + .item::before { width: 5px; height: 5px; border-radius: 50%; background-color: var(--color-sub); content: ''; } 




.footer-contact { display: flex; flex-wrap: wrap; gap: 1rem 4rem; margin-bottom: 4rem; }
.footer-contact .item { display: flex; align-items: flex-start; width:100%;}
.footer-contact .item dt {flex-shrink: 0; width:8rem; color:#000; font-weight: 600;}
.footer-contact .item dd {position: relative; padding-left:2.5rem;}
.footer-contact .item dd::before {content:''; display: block; width:4px; height:4px; background-color: var(--color-sub); border-radius: 50%; position: absolute; left:0; top:8px; }

.footer-contact .item.addr { width: 100%; } 


.footer-copy { font-size:1.4rem;}
.footer-copy em {color:#000; font-weight: 700;}

/* 탑버튼 */
.top-btn { display: flex; width: 8rem; height: 8rem; position: absolute; top:0; right:2rem; z-index: 1;  transform: translate(0, -50%); transition: all 0.3s ease-in-out; background:#fff; border-radius: 50%; border:1px solid #c7c7c7;} 
.top-btn::before {content:''; display: block; background-color: var(--color-sub); width:6rem; height:6rem; border-radius: 50%; position: absolute; top:50%; left:50%; transform: translate(-50%, -50%);}

.top-btn::after { width:6rem; height:6rem; background: url('../images/common/ico_top.png') no-repeat center center; background-size:contain; content: ''; position: absolute; top:50%; left:50%; transform: translate(-50%, -50%);}
@keyframes top-btn {
	33% { transform: translate(-50%, calc(-50% + 3px));} 
	66% { transform: translate(-50%, calc(-50% - 6px)); } 
}

@media (hover: hover) and (pointer: fine) {
	.top-btn:hover::before {background-color: var(--color-main);}
	.top-btn:hover::after { animation: top-btn 1.5s infinite linear; }
}



@media (max-width: 1280px) {
	.footer { padding: 8rem 0;}

	.footer-wrap {gap:2rem;}
	.footer-box:nth-child(1) {margin-right:5rem;}
} 
@media (max-width: 1024px) {
	.top-btn {width: 6rem; height: 6rem;} 
	.top-btn::before,
	.top-btn::after {width:5rem; height:5rem;}
	
} 
@media (max-width: 960px) {
	.footer-wrap {gap:3rem; flex-direction: column; align-items: center;}

	.footer-box:nth-child(1) {flex-direction: row; margin:0; gap:2rem; align-items: center; justify-content: center; order:1; max-width:32rem; }
	.footer-box:nth-child(2) {flex-grow: 1;order:3;}
	.footer-box:nth-child(3) {order:2;}
	
	.footer-logo img{margin:0;}
	.footer-menu {width:32rem;}
	.footer-contact .item dd::before {top:6px; }
} 
@media (max-width: 768px) { 
	.footer-contact .item dd::before {top:5px; }
} 
/* FOOTER ============================================== */
/* ===================================================== */





/* ===================================================== */
/* SUB-LAYOUT ========================================== */
.body-sub {--sub-tab-height: 6rem;}
/* SUV-VISUAL */
.sub-visual {position: relative; padding-top:var(--header-height);}
.sub-visual-bg {display: none;}
.sub-visual-txt .char{
	opacity: 0;
	--vdd: 0.5s; /* 애니메이션 시간 */
	animation: fade-up .8s ease-out calc(.8s + (var(--vdd) / var(--char-total) * var(--char-index))) both;
}

.sub-visual-txt { display: flex; flex-direction: column; justify-content: center; padding: 0 var(--inner-padding); text-align: center; color: #000; margin-top:8rem;} 
.sub-visual-tit { margin-bottom: 3rem; font-weight: 200; font-size: 6.4rem; line-height:1.2; animation: fade-in 0.1s ease-in;} 

.sub-visual-stxt {font-size:1.6rem; line-height:1.3; font-weight: 700; color:#ccc;}


@media (max-width: 1280px) {
}
@media (max-width: 1024px) {
	.sub-visual-txt {margin-top:6rem;} 
	.sub-visual-tit { font-size: 5rem;}
}
@media (max-width: 768px) {
	.sub-visual-txt {margin-top:4rem;} 
}
@media (max-width: 480px) {
}




/* SUB-TAB */
.sub-tab {animation: fade-in 1s linear 0.5s both; display: flex; padding:0 var(--inner-padding); position: relative; z-index: 2;}
.sub-tab::before {content:''; display: block; height:1px; width:100%; background-color: var(--color-black-a2); position: absolute;  bottom:1px; left:0;z-index: -1;}

.sub-tab-wrap {display: flex; align-items: center;}


.sub-tab-home {width: 3rem; height:3rem; background:var(--color-main) url('../images/common/ico_home.svg') no-repeat center/contain; border-radius: 50%; position: relative;} 


/*
.sub-tab-home::before {content:''; display: block; width:160%; height:140%; background-color: var(--color-main); clip-path: var(--clip-type1); position: absolute; top:-30%; left:-26%;  z-index: -1;animation: rotate_image 10s linear infinite; }

@keyframes rotate_image {
	0% {transform: translate(0, 0%) rotate(0);}
	50% {transform:translate(0, 40%) rotate(180deg);}
	100% {transform: translate(0, 0%) rotate(360deg);}
}
*/

.sub-tab-item {position: relative; width: auto;}
.sub-tab-btn { overflow: hidden; display: block; position: relative; z-index: 5; width: 100%; height: var(--sub-tab-height); padding: 0 1rem 0 1rem; text-align: left; color: #888; white-space: nowrap; text-overflow: ellipsis; transition: .2s; font-size: 1.6rem; font-weight: 400;}


.sub-tab-item + .sub-tab-item .sub-tab-btn { padding: 0 1rem 0 1.8rem;}
.sub-tab-item + .sub-tab-item .sub-tab-btn::before {content: ''; position: absolute; top: 50%; left: 0rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background-color: #fff; border:2px solid var(--color-sub); transform: translateY(-50%); transition: .2s;}



.sub-tab-item.is-active {z-index: 1;}
.sub-tab-item.is-active .sub-tab-btn {color:var(--color-main); font-weight: 700;}




/* 리스트 */
.sub-tab-list { display: none; position: absolute; top:calc(100% - 1rem); left:50%;  width:auto; font-size:1.6rem; border-radius: 1rem; border:1px solid #ccc; padding:10px 0; transform: translate(calc(-50% - 0.4rem), 0); background-color: #fff;box-shadow: 0 0 2em var(--color-black-a2);} 

.sub-tab-list a { padding: 1rem 2rem; transition: all 0.3s ease-in-out;color:#222; white-space: nowrap;}
.sub-tab-list a:hover,
.sub-tab-list li.on a { color: var(--color-sub); text-decoration: underline;text-underline-offset: 0.25em;}
.sub-tab-list li.on a { background-color: #f5f5f5;}



@media (max-width: 1024px) {
	
}

@media (max-width: 640px) {
	.sub-tab-home  {flex-shrink: 0;}
	.sub-tab-wrap {width:100%;}
	.sub-tab-item {flex-grow: 1; min-width: 0; width:50%;}
	.sub-tab-item.nth-3,
	.sub-tab-item.nth-4 {display: none;}

	.sub-tab-btn {text-align: center; font-size:2rem;}
	.sub-tab-item + .sub-tab-item .sub-tab-btn::before {width:6px; height:6px;}

	.sub-tab-list {font-size:1.8rem;}
	
}

@media (max-width: 480px) {
}




/* SUB-CONTENT  */
.sub-content {animation: fade-in 0.5s linear both; text-align: center;}
.sub-content.active{position:relative; z-index:2000;}
.sub-content-tit h3 { padding: 6rem 0; font-weight: 700; font-size: 4rem; text-align: center; color: #222; } 
.sub-content-wrap {overflow: hidden; padding-top:6rem; text-align: left;}
.sub-content-wrap::after {display: block; visibility: hidden; width: 100%; height: 1px; content: ''; margin-bottom: -1px;}





/* SUB-CONTENT-TAB (3Depth) */
.sub-content-tab { overflow-x: auto; padding: 0 var(--inner-padding); margin:0 0 6rem; text-align: center;}
.sub-content-tab:not(:has(li)) { display: none; }
.sub-content-tab::-webkit-scrollbar {height: 6px; background-color: #fff;}
.sub-content-tab::-webkit-scrollbar-thumb {border: 1px solid transparent; background-color: var(--color-main); background-clip: content-box;}
.sub-content-tab ul {display: flex; gap: 8px; width: fit-content; padding: 8px; margin: 0 auto; border-radius: 4rem; border:1px solid #d6d6d6; background-color: #fff; position: relative;}
.sub-content-tab ul::before,
.sub-content-tab ul::after {content: ''; display: block; width:1.2rem; height:1.2rem; border-radius: 50%; background-color: var(--color-main); position: absolute; top:50%; left:0; transform: translate(-50%, -50%);}
.sub-content-tab ul::after {left:auto; right:0;transform: translate(50%, -50%);}
.sub-content-tab li {display: inline-flex; align-items: center;}
.sub-content-tab li.on {z-index: 5;}
.sub-content-tab li a { min-width: 12rem; padding: 0 2rem; height:5rem; font-size: 1.8rem; transition: .3s;border-radius: 3rem;display: flex; align-items: center; justify-content: center; color: #222;}
.sub-content-tab li.on a { background-color: var(--color-main); font-weight: 700;color: #fff; }

@media (hover: hover) and (pointer: fine) {
	.sub-content-tab li a:hover { background-color: var(--color-sub); color: #fff; }
}


@media (max-width: 1024px) {
	.sub-content-tab li a {height:5rem; min-width: 14rem;}

}
@media (max-width: 768px) {
	.sub-content-tab {padding: 2rem var(--inner-padding); margin:-2rem 0 2rem;}
}

@media (max-width: 480px) {
	.sub-content-tab ul { flex-wrap: wrap; justify-content: flex-start; width:100%; border-radius: 10px; gap:6px;box-shadow: 0 0 1rem var(--color-black-a1);}
	.sub-content-tab ul li {flex:1 1 40%; width:50%;}
	.sub-content-tab ul li a {width:100%; background-color: var(--color-black-a05);}
}
/* SUB-LAYOUT ========================================== */
/* ===================================================== */


/* ===================================================== */
/* MODAL =============================================== */
#modal { z-index: 9999; position: relative; letter-spacing: -0.02em;}
.modal-item { display: flex;visibility: hidden; opacity: 0; position: fixed; inset: 0; background-color: var(--color-black-a6); transition: .3s, margin 0s;}
.is-open .modal-item {margin-right: var(--scroll-width);}
.modal-item.on {visibility: visible; opacity: 1;}
.modal-inner {display: grid; grid-template-rows: auto 1fr; width: 90%; padding: 2.5rem; margin: auto; background-color: #fff; max-width: 700px;}
.modal-top {display: flex; justify-content: space-between; padding-bottom: 0.8em; margin-bottom: 1em; border-bottom: 2px solid #333; font-size: 2.4rem; line-height: 1; align-items: center; column-gap: 0.5em;}
.modal-tit { font-weight: 700; color: #333;white-space: nowrap;}
.modal-close { flex-shrink: 0; width: 2rem; aspect-ratio: 1 / 1; }
.modal-close::before { display: block; height: 100%; background: url(../images/common/ico_close.svg) no-repeat center/contain;content: '';}
.modal-cont { overflow: hidden auto; max-height: 50vh; padding: 4%; border: 1px solid #eee; overscroll-behavior: contain;}
.modal-cont::-webkit-scrollbar {width: calc(1rem - 3px); background-color: #eee;}
.modal-cont::-webkit-scrollbar-thumb { min-height: 30%; background-color: var(--color-main);}

/* 개인정보처리방침 */
.privacy {font-size: calc(9px + 0.6rem); line-height: 1.6; padding: 1.5em 0 2em;}
.privacy a {display: inline;}
.privacy h4 { padding-top: 1em;font-weight: 500; font-size: calc(1em + 1px); color: #444;}
.privacy-header { margin-bottom: 1em; font-weight: 600; font-size: calc(1em + 1px);color: #333;}
.privacy-inner {padding: 0.6em 0.6em 0.8em;}
.privacy-comment {padding-top: 1em;}

/* 이메일무단수집거부 */
.refusal-mail {font-size: calc(10px + 0.6rem); padding: 1.8em 0 2em; text-align: center; font-weight: 500;}
.refusal-mail h4 {font-size: 1.75em; color: #333; margin-bottom: 0.4em; font-weight: 700;}
.refusal-mail h5 {font-size: 1.25em; color: #444;}
.refusal-mail h5::after {display: block; width: 1em; height: 2px; background-color: #333; content: ''; margin: 1em auto;}
.refusal-mail p { line-height: 1.7;}
@media (max-width: 576px) {
	.refusal-mail h4 {font-size: calc(2.2vw + 12px);}
	.refusal-mail h5 {font-size: 1.2em;}
	.refusal-mail p br {display: none;}
}
/* MODAL =============================================== */










/* 25.01.15 영상정보처리기기 수정 */
.privacy-table {margin-top: 1rem; text-align: center}
.privacy-table tr th {padding: 0.2rem; background-color: #222; color: #fff; font-weight: 600;}
.privacy-table tr td {padding: 0.2rem; border-bottom: 1px solid #ddd; color: #222; font-weight: 500;}
.privacy-table tr th+th,.privacy-table tr td+td, .privacy-table .line-l {border-left: 1px solid #ddd;}
.privacy-table .txt-blue {color: #005eae; font-weight: 600;}

@media (max-width: 960px) {
	.footer-contact .item {justify-content: center;}
	.footer-copy {text-align: center;}
	.footer-contact .item dt {width: initial; margin-right: 3%;}
	.footer-menu {width: 40rem;}
}
@media (max-width: 650px) {
	.privacy-table {width: 100%; overflow: auto;}
	.privacy-table table {width: 650px;}
}