@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: #3e55ab;
	--color-sub: #4c76b4;
	--color-sub1: #f28241;
	--color-sub2: #ae3d00;
	--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-noto: 'Noto Sans KR', Roboto,'Malgun Gothic','돋움', dotum, sans-serif;
	--font-pret: Pretendard, Roboto, "Noto Sans KR", 'Malgun Gothic','돋움', dotum, sans-serif;
	--font-mont: 'Montserrat', Pretendard, Roboto, "Noto Sans KR", 'Malgun Gothic','돋움', dotum, sans-serif;
	font-size: 10px;

	--bd-radi-type1:50% 50% 50% 0;
}
html::-webkit-scrollbar {width: 8px; background-color: #eee;}
html::-webkit-scrollbar-thumb {background-color: #444;}
body {--header-height: 100px; font: 16px/1.2 Paperlogy, Pretendard, Roboto, "Noto Sans KR", 'Malgun Gothic','돋움', dotum, sans-serif; letter-spacing: -0.025em; 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: 70px; } 
}
@media (max-width: 768px) {	
	:root {font-size: 8px;} 
	body {--header-height: 60px; } 
}
@media (max-width: 480px) {
	:root {font-size: 7px;} 
	body {--header-height: 54px;}
}
@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; justify-content: space-between; position: fixed; inset: 0 0 auto; z-index: 1100; height: var(--header-height); padding: 0 var(--outer-padding); transition: .3s, padding 0s; gap:3rem; background-color: #fff; border-radius: 0 0 1rem 1rem;} 
.header-inner::before { position: absolute; inset: 0;  content: ''; transition:all 0.3s ease-in-out; background-color: transparent; border-radius: 0 0 1rem 1rem; border-bottom:1px solid rgba(231, 231, 231, 0.0);} 
.is-open .header-inner,
.is-menu .header-inner { padding-right:calc(  var(--scroll-width) + var(--outer-padding)); background-color: transparent; }


:is(.is-hover, .is-fix, .is-hover-header):not(.is-menu) .header-inner::before { border-color:rgba(231, 231, 231, 1);} 
.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:18.4rem; transition: all .3s; left:0; flex-shrink: 0;} 
:is(.is-hover, .is-fix, .is-menu, .is-hover-header) #header-logo-white { opacity: 0;} 
.header-logo #header-logo { opacity: 1; object-fit: contain;} 
:is(.is-hover, .is-fix, .is-menu, .is-hover-header) #header-logo { opacity: 1; } 
.is-menu .header-logo {left: calc(var(--allmenu-img-width) + var(--allmenu-gap)); opacity: 0;}

@media (max-width: 1024px) {
	.is-open .header-inner,
	.is-menu .header-inner { padding-right:calc(  var(--scroll-width) + var(--outer-padding)); background-color: #fff; }

	.is-menu .header-logo {opacity: 1;}
	
}



/* GNB */
.gnb { transition: opacity .3s; flex-grow: 1; --gnb-padding : 6rem;} 
.gnb::before { position: absolute;inset: var(--header-height) 0 auto; height: var(--gnb-height);background-color: #fff; content: '';transform: scaleY(0); transform-origin: top;transition: .3s; z-index: -1; border-radius: 1rem;}


.gnb-wrap { display: flex; justify-content: center; margin:0 3rem; }

.depth1 { position: relative; transition: all 0.5s; flex-grow:0; z-index: 2; } 
.is-hover .depth1 { transition: all 1s ease-in-out;}

.depth1 > a { padding: 0 var(--gnb-padding);  text-align: center; position: relative; z-index: 2; transition: all 1s ease-in-out; display: flex; height: var(--header-height); align-items: center; justify-content: center;}
.depth1 > a span { color: #222; font-size:1.9rem; font-weight: 700; transition: all 0.3s ease-in-out; display: inline-block; line-height: 1.2; word-break: break-all;}
.depth1 > a::before {content: ''; position: absolute; bottom: 0; left:50%; width: 0; height:4px; background-color: var(--color-sub); transform: translate(-50%, 2px); visibility: hidden; opacity: 0;  transition: all 0.3s ease-in-out;}

.depth2 {visibility: hidden; opacity: 0; position: absolute; top: calc(var(--header-height) - 0px); padding: 2rem 0 2rem; left:calc(var(--gnb-padding) - 1rem); transition: all 0.1s ease-in-out;line-height: 1.3;}
.depth2 ul {display: flex; justify-content: center; flex-direction:column ; z-index: 2; position: relative;}
.depth2 a { padding: 0.8rem 1rem;  transition: all 0.3s ease-in-out; font-weight: 500; font-size:1.7rem}
.depth2 span { white-space: nowrap; color:#666; transition: all 0.3s ease-in-out; }


.is-menu .gnb { visibility: hidden; opacity: 0; }
.is-hover .gnb::before {transform: scaleY(1);}
:where(.is-hover, .is-fix, .is-hover-header) .depth1 > a span { color: #222; }

.depth1:hover > a span { color:var(--color-sub);} 
.depth1:hover > a::before {opacity: 1; visibility: visible; width:calc(100% - var(--gnb-padding) * 2); }

.is-hover .depth2{visibility: visible; opacity: 1;transition: all 0.5s ease-in-out;}
.is-hover .depth1:hover .depth2 span {color:#222;}
.is-hover .depth1:hover .depth2 a:hover span{text-decoration: underline;text-underline-offset: 0.25em; color:var(--color-sub1); font-weight: 600;}



@media (max-width: 1600px) {
	
}

@media (max-width: 1440px) {
	.gnb { --gnb-padding : 4rem;}
}

@media (max-width: 1280px) {
	.gnb { --gnb-padding : 3rem;}

}

@media (max-width: 1024px) {
	.gnb{display: none;}
	
}

@media (max-width: 768px) {
	

}







/* 유틸 */
.header-util { display: flex;  transition: all 0.3s ease-in-out; position: relative;z-index: 10; align-items: center; column-gap: 3rem;}


@media (max-width: 1024px) {
	.header-util {gap:2rem;}
	.is-menu .util-lang {display: block;}
}








/* 언어선택 버튼 */
.util-lang { position: relative; flex-grow:1; width:24px;}
.util-lang::before {content:''; display: block; width:38px; height:38px; background-color: #fff; border-radius: 50% 50% 50% ; position: absolute; top:50%; left:50%; transform:translate(-50%, -50%); transition: all 0.3s ease-in-out; z-index: -1; opacity: 0; visibility: hidden;}
.util-lang:hover::before,
.util-lang.is-active::before { opacity: 1; visibility: visible;}

.util-lang-btn { background: url(../images/common/ico_lang.svg) no-repeat center; transition: all .3s; width:100%; height:var(--header-height); margin-left:auto;}
.util-lang-btn:hover,
.util-lang.is-active .util-lang-btn{background-image:url('../images/common/ico_lang_on.svg');}

.util-lang-list { display: none; position: absolute; top: calc(100% - 15px); left: 50%; transform: translate(-50%, 0); padding: 1rem 0; background-color: var(--color-white-a9); box-shadow: 0 0 1.5rem var(--color-black-a2); text-align:center; border-radius: 1rem;} 
.util-lang-list a { padding: 0.6rem 1.5rem; } 
.util-lang-list a span { background: linear-gradient(to top, var(--color-main), var(--color-main)) no-repeat center bottom/0 1px; transition: all .3s; color: var(--color-black-a8);font-weight: 700;} 
.util-lang-list li.on a span { color: var(--color-main); } 
.util-lang-list li:not(.on) a:hover span { background-size: 100% 1px; color: var(--color-main); }
/*:is(.is-hover, .is-fix, .is-menu) .util-lang-btn { background-image: url(../images/common/ico_lang_on.svg); }*/
.is-menu .util-lang {display: none;}

@media (max-width: 1024px) {
	.is-menu .util-lang {display: block;}
}








/* 전체메뉴 버튼 */
.util-allmenu-btn { position: relative;  width:5rem; height:5rem; transition: all 0.5s ease-in-out;} 
.util-allmenu-btn span { position: absolute; width:24px; height: 24px;  top:50%; left:50%; transform: translate(-50%, -50%);transition:all 0.5s ease-in-out; background:url('../images/common/ico_allmenu.png') no-repeat center/contain;}
.util-allmenu-btn span::before,
.util-allmenu-btn span::after {content:''; display: block; position: absolute; width: 0%; height: 2px; background-color:transparent; transition:all .5s ease-in-out; top:50%; left:50%; border-radius: 2px;}

.util-allmenu-btn span::before {transform: translate(-50%, -50%) rotate(-45deg);}
.util-allmenu-btn span::after {transform: translate(-50%, -50%) rotate(45deg);}



/*:is(.is-hover, .is-fix, .is-menu) .util-allmenu-btn span:not(:nth-child(4)) { background-color: #fff; } */


@media (hover: hover) and (pointer: fine) {
	.util-allmenu-btn:hover span{ transform: translate(-50%, -50%) rotate(0deg) scale(1.1); background-image:url('../images/common/ico_allmenu_on.png');}
}


.is-menu .util-allmenu-btn span{background-image: none;}
.is-menu .util-allmenu-btn span::before,
.is-menu .util-allmenu-btn span::after{width:5rem; background-color: #b44506;}




@media (hover: hover) and (pointer: fine) {
	.is-menu .util-allmenu-btn:hover span{ transform: translate(-50%, -50%) rotate(0deg);}
	.is-menu .util-allmenu-btn:hover span::before,
	.is-menu .util-allmenu-btn:hover span::after {background-color: #fff;}
}


@media (max-width: 1024px) {
	.is-menu .util-allmenu-btn span::before,
	.is-menu .util-allmenu-btn span::after{width:3.6rem;}
}



/* 전체메뉴 */
.allmenu { display: flex; visibility: hidden; opacity: 0; position: fixed; width: calc(100% + var(--scroll-width)); height: 100%; padding-right: var(--scroll-width); background-blend-mode: screen; transform: translateY(-100%); transition: .5s, padding-right 0s, width 0s; z-index: 1001; background: url('../images/common/allmenu_bg01.jpg') no-repeat center/cover; } 


.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: 100%;  transition: .5s;} 
.allmenu-cont::-webkit-scrollbar { width: 6px; } 
.allmenu-cont::-webkit-scrollbar-thumb { background-color: var(--color-main); } 
.allmenu-list { display: flex; height: 100%; margin:0 var(--inner-padding)} 



.is-menu .allmenu { visibility: visible; opacity: 1; width: 100%; transform: translateY(0);} 
.is-menu .allmenu-cont { visibility: visible; opacity: 1; transition: .7s ease-out .3s; } 



.all-depth1 {padding: calc(var(--header-height) + 4rem) 3rem 2rem 3rem ; flex:1 1; position: relative;}
.all-depth1::before {content: ''; display: block; position: absolute; top:0; left:0; width: 0%; height: 100%; background-color: var(--color-sub); transition: width 0.3s ease-in-out; z-index: -1;}

.all-depth1-btn { padding-bottom: 3rem; margin-bottom: 2rem;  cursor: default; font-size:4rem; font-weight: 700; color:#fff; position: relative; width:100%;transition: all 0.3s ease-in-out; text-align: left;} 
.all-depth1-btn::before{content:''; position: absolute; bottom: 0; left: 50%;  width:0px; height:1px; background-color: var(--color-main); transform: translate(-50%, 0%); visibility: hidden; opacity: 0;  transition: all 0.3s ease-in-out;}




@media (hover: hover) and (pointer: fine) {
	.all-depth1:hover::before {width: 100%;}
	.all-depth1:hover .all-depth1-btn {color:#000;}
	.all-depth1:hover .all-depth1-btn::before{ opacity: 1; visibility: visible;width:100%;}
}


.all-depth2 { font-size: 2rem; color:#fff;  } 
.all-depth2-btn { padding: 0.6em 0em; font-weight: 600; line-height: 1.25; color: #fff; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: all .5s, text-decoration-color .1s;} 



@media (hover: hover) and (pointer: fine) {
	.all-depth1:hover .all-depth2-btn {color:#fff;}
	.all-depth1:hover .all-depth2-btn:hover {color:#fff; text-decoration-color: currentColor;}
}


.all-depth3 {padding-bottom: 0.5em;}
.all-depth3:not(:has(li)) {display: none;}
.all-depth3 a {display: flex; padding: 0.25em 0; font-size: 1.6rem; color: #fff; transition: all 0.3s ease-in-out; font-weight: 400;}
.all-depth3 a::before { margin:0.5em 0.5em 0 0; content: ''; display: block; width:4px; height: 4px; border-radius: 50%; background-color: #fff; transition: all 0.3s ease-in-out;}


@media (hover: hover) and (pointer: fine) {
	.all-depth1:hover .all-depth3 a {color:#000;}
	.all-depth1:hover .all-depth3 a::before {background-color: #000;}
	.all-depth1:hover .all-depth3 a:hover {color:#8bb4f2; text-decoration: underline;text-underline-offset: 0.2em; }
	.all-depth1:hover .all-depth3 a:hover::before {background-color: #8bb4f2;}
}

/* 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%;}
	.all-depth1 {padding: calc(var(--header-height) + 3rem) 2rem 4rem 2rem; flex-grow: 1;}
	.all-depth1-btn { padding-bottom: 0.4em; margin-bottom: 3rem; font-size:2.8rem;}
	
}

@media (max-width: 1280px) { 
	
	
}
@media (max-width: 1024px) {
	
}
@media (max-width: 1024px) {
	.allmenu {transform: translate(100%, 0%);}
	.is-menu .allmenu {transform: translate(0%, 0%);}

	.allmenu-cont {padding-bottom:8rem;}
	.allmenu-cont::-webkit-scrollbar { width: 0; } 
	.allmenu-list { display: block;  margin-top:calc(var(--header-height)); height:auto; border-top:1px solid var(--color-main);}
	.all-depth1 { padding: 0; border-right:0; transition:background-color 0.5s ease-in-out} 
	.all-depth1::before {display: none;}

	.all-depth1.is-actvie {background-color: var(--color-main);}
	
	.all-depth1-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 2rem max(3%, 12px); margin: 0; border-bottom: 1px solid var(--color-main); cursor: pointer;  transition:all 0.3s ease-in-out; font-size:2.4rem; font-weight: 600;} 
	.all-depth1-btn::after { flex-shrink: 0; width: 18px; height: 10px; background-image: url(../images/common/chevron_w18.svg); content: ''; transition: .3s; background-size: contain; } 
	.all-depth1-btn::before{display: none;}

	.all-depth1-btn.on {background-color: var(--color-white-a2);}

	

	.all-depth1-btn.on::after { transform: rotate(180deg); } 


	.all-depth2 { display: none; padding: 0.8em 0; background-color: var(--color-black-a1); } 
	.all-depth2-btn { padding: 0.6em max(4%, 16px); font-size:2rem; width:100%} 

	



	.all-depth3 ul {display: flex; flex-wrap: wrap; background-color: var(--color-black-a1); margin:0 max(4%, 16px); padding:1rem; border-radius: 1rem;}
	.all-depth3 ul li {flex:1 1 50%;}
	
	.all-depth3 a { padding:0.4em 10px; font-size: 1.8rem; width: 100%;}
	
	
}

@media (max-width: 576px) { 
	.header {--allmenu-img-width: 0px;}
	.allmenu { transform: none; } 
	.is-menu .allmenu { transform: none;} 
	.body-main .header-util {height:auto;}
} 
@media (max-width: 480px) { 
}
/* HEADER ============================================== */
/* ===================================================== */


/* ===================================================== */
/* FOOTER ============================================== */
.footer { background-color: #23252c; position: relative; color:#999; letter-spacing: 0.025em;  font-size:1.6rem;} 


.footer-logo {text-align: center; display: flex; width:100%; height:19rem; justify-content: center; align-items: center; background-color: #fff; position: relative;}
.footer-logo::before {content: ''; display: block; width:32.5rem; height:1px; background-color: #d7d7d7; position: absolute; top:0; left:50%; transform: translate(-50%, 0);}
.body-main .footer-logo::before {display: none;}
.footer-logo img{width:32.5rem; display: inline-block;}

.footer-contact { display: flex; flex-wrap: wrap; gap: 0.8rem 4rem; font-weight: 600; margin:9rem 0;} 
.footer-contact .item { display: flex; align-items: flex-start; width:calc(50% - 2rem); color:#fff;}
.footer-contact .item dt {flex-shrink: 0; width:11rem; color:#7a7a7a; padding-left:1rem; position: relative;}
.footer-contact .item dt::before {content: ''; display: block; width:2px; height:2px; background-color: #fff; position: absolute; top:0.8rem; left:0;}

.footer-contact .item.addr { width: 100%; } 
.footer-contact a:hover {color:var(--color-sub);}


.footer-copy { color:#fff; font-size:1.3rem; font-weight:700; text-transform: uppercase; text-align: justify; border:solid #414349; border-width: 1px 0; line-height: 1.2; padding:2rem 0 0.7rem;}
.footer-copy.mo {display: none;}
.footer-copy::after {content: '';display: inline-block; width: 100%;}
.footer-copy strong {color:#6178d0; font-weight: 900;}





.footer-menu { display: flex; justify-content: end; align-items: center;} 
.footer-menu .item { display: flex; align-items: center; } 
.footer-menu .item a { padding: 2rem 3rem; color:#fff;} 
.footer-menu .item a:hover {color:var(--color-sub)}
.footer-menu .item + .item::before { width: 5px; height: 5px; border-radius: 50%; background-color:#81aae3; content: ''; } 

/* 탑버튼 */
.top-btn { display: flex; align-items: center; justify-content: center; width: 7.3%; max-width: 14rem; min-width:4rem; height: 19rem; position: absolute; top:0; right:0; z-index: 1;  transition: all 0.3s ease-in-out; border:2px solid #fff; border-width: 0 0 2px 2px;}
.top-btn::before {content: ''; display: block; width:3.2rem; height:5.6rem; background: url('../images/common/ico_top.png') no-repeat center/contain;}
@keyframes top-btn {
	33% { transform: translateY(3px); } 
	66% { transform: translateY(-6px); } 
}

@media (hover: hover) and (pointer: fine) {
	.top-btn:hover {background-color: var(--color-sub);}
	.top-btn:hover::before { animation: top-btn 1.5s infinite linear; }
}

@media (max-width: 1640px) { 
	.top-btn {right:var(--inner-padding); border-width: 2px 0 0 2px; border-color: #23252c;}
	.top-btn::before {background-image: url('../images/common/ico_top_on.png');}
}


@media (max-width: 1024px) {
	.footer-logo {height:15rem;}
	.footer-logo::before,
	.footer-logo img{width:28rem;}
	.top-btn {height:15rem;}
	.top-btn::before { width:2.8rem;}
} 
@media (max-width: 768px) {
	.footer {padding-bottom:3rem;font-size:1.8rem;}

	.footer-logo {height:12rem;}
	.footer-logo::before,
	.footer-logo img{width:24rem;}
	.top-btn {height:12rem;}
	.top-btn::before { width:2.4rem;}




	.footer-contact {margin:6rem 0;}
	.footer-copy {display: none; text-align: center; font-size: 1.6rem;}
	.footer-copy.mo {display: block;}
	.footer-menu {justify-content: center;}
}

@media (max-width: 640px) {
	.footer-contact {row-gap: 1rem;}
	.footer-contact .item {width:100%; line-height:1.3;}
	.footer-contact .item:nth-child(1) {order:1;}
	.footer-contact .item:nth-child(2) {order:4;}
	.footer-contact .item:nth-child(3) {order:2;}
	.footer-contact .item:nth-child(4) {order:5;}
	.footer-contact .item:nth-child(5) {order:3;}
	.footer-contact .item:nth-child(6) {order:6;}
	.footer-contact .item:nth-child(7) {order:7;}
}
@media (max-width: 480px) {

	.footer-logo {height:10rem;}
	.footer-logo::before,
	.footer-logo img{width:20rem;}
	.top-btn {height:10rem; width:6rem;}
	.top-btn::before { width:2rem;}

} 
/* FOOTER ============================================== */
/* ===================================================== */






/* ===================================================== */
/* SUB-LAYOUT ========================================== */
.body-sub {--sub-tab-height: 4rem;}
/* SUV-VISUAL */
.sub-visual {position: relative; height:45rem; margin:var(--header-height) var(--outer-padding) 0; display: flex; align-items: center; transition: 0.5s ease-in-out;}
.sub-visual-bg {overflow: hidden; position: absolute; width:0; border-radius: 10rem; transition: 1s ease-in-out; transition-property: inset, border-radius;animation: sub-visual-wrap 1s ease-in-out both; opacity: 0;  top:50%; left:50%; transform: translate(-50%, -50%); height:100%;}
/*body.is-active .sub-visual-bg {inset:0;border-radius: 1.5rem; transition-duration: 0.5s;}*/
@keyframes sub-visual-wrap { 
	to{border-radius: 1.5rem; opacity: 1;width:100%;}
}
body.is-fix .sub-visual {margin:var(--header-height) 0 0;}
body.is-fix .sub-visual-bg {border-radius: 0;}

.sub-visual-bg span { position: absolute; inset: 0; background: #444 no-repeat center/cover; transform: scale(1.1); animation: sub-visual 5s linear both 0.5s; } 
@keyframes sub-visual { to { transform: scale(1); } } 
.sub-visual-bg::after { position: absolute; inset: 0; background-color: var(--color-black-a6); content: ''; display: none;} 

.sub-visual .sub-visual-bg span {background-image: url('../images/common/sub_visual01.jpg');}
.sub-visual.nth-1 .sub-visual-bg span {background-image: url('../images/common/sub_visual01.jpg');}
.sub-visual.nth-2 .sub-visual-bg span {background-image: url('../images/common/sub_visual02.jpg');}
.sub-visual.nth-3 .sub-visual-bg span {background-image: url('../images/common/sub_visual03.jpg');}
.sub-visual.nth-4 .sub-visual-bg span {background-image: url('../images/common/sub_visual04.jpg');}
.sub-visual.nth-5 .sub-visual-bg span {background-image: url('../images/common/sub_visual05.jpg');}
.sub-visual.nth-6 .sub-visual-bg span {background-image: url('../images/common/sub_visual06.jpg');}
.sub-visual.nth-7 .sub-visual-bg span {background-image: url('../images/common/sub_visual07.jpg');}


.sub-visual-txt { padding: 0 calc(var(--inner-padding) - var(--outer-padding)) var(--sub-tab-height); animation: fadeIn 1s linear both 0.5s; width:100%;} 
.sub-visual-tit { margin-bottom: 1rem; font-weight: 700; font-size: 5rem; letter-spacing: 0.05em; color:#fff; }
.sub-visual-type {display: inline-flex; font-size:max(11px, 1.2rem); font-weight: 900; letter-spacing: 1.5em; color:#fff; padding: 0.8rem 0rem 0.7rem 2rem; background-image: linear-gradient(to right, rgba(30, 55, 143, 1) 30%, rgba(180, 69, 6, 1));}

.sub-visual-type {color:transparent; position: relative;}
#scramble-container {position: absolute; color:#fff;}


@media (max-width: 1580px) { 
	.sub-visual-txt { padding: 0 calc(var(--outer-padding)) var(--sub-tab-height);}
}

@media (max-width: 480px) { 
	.sub-visual {flex-direction: column; justify-content: center;}
	.sub-visual-txt {text-align: center;}
	.sub-visual-tit {font-size:4.2rem;}
	.sub-visual-type {letter-spacing: 1em;}
}



/*Quick*/
.quick {position: absolute; right:0; transition: 0.5s ease-in-out; animation: quick-btn 0.5s ease-in-out 1s both; bottom:-2rem; opacity: 0; z-index: 1;}
body.is-fix .quick {right:0;}
body.body-main .quick {right:var(--outer-padding);}
@keyframes quick-btn {
	to { bottom:-0.2rem; opacity: 1; } 
}



.quick .item {width:12rem; height:12rem; position: relative;}
.quick .item::before,
.quick .item::after {content:''; display: block; width:100%; height:100%; position: absolute; top:0; left:0; border-radius: 1.5rem 0 1.5rem 0;z-index: 1;}
.quick .item::before {background-color: #ba4600; top:-4rem;}
.quick .item::after {background-color: #1b3289; top:-2rem;}

.quick .item .link {display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap:1rem; padding:0 0rem 1rem 1rem; width:100%; height:100%; background-color: #fff; border-radius: 1.5rem 0 0 0; overflow: hidden; position: relative;z-index: 2; text-align: center;}
.quick .item .link::before{ content:''; display: block; width:5.4rem; height:4.8rem; background:url('../images/common/ico_quick.png') no-repeat center/contain; transition: 0.3s ease-in-out;}

.quick .item .link span {color:#222; font-weight: 800; font-size:max(13px, 1.6rem);}
.quick .item .link:hover::before {transform: translate(0, -1rem);}

@media (max-width: 768px) { 
	.quick .item {width:9rem; height:9rem;}
	.quick .item::before {top:-2rem;}
	.quick .item::after { top:-1rem;}
	.quick .item .link::before {width:4rem; height:3.6rem;}
}
@media (max-width: 480px) { 
	
}


/* SUB-TAB */
.sub-tab { position: relative; z-index: 50; height: var(--sub-tab-height); margin: calc(-1 * var(--sub-tab-height) - 3rem) var(--inner-padding) 0; transition: all 0.5s ease-in-out; font-size:0;}
.sub-tab-wrap {display: inline-flex; align-items: center;  position: relative; z-index: 1; height: 100%; background-color: #fff; border-radius: 0.5rem; padding:0 0 0 1rem; transition: all 0.5s ease-in-out;}

.sub-tab-home {display: flex; width:var(--sub-tab-height); height:100%;  position: relative; z-index: 1; transition: all 0.3s ease-in-out; flex-shrink: 0;}
.sub-tab-home span { display: block; position: relative; height:100%; width:100%;background: url('../images/common/ico_home.svg') 50% 50% no-repeat; background-size: 3rem;}

.sub-tab-home::before {content:''; display: block; width:100%; height:60%; background-color: #fff; position: absolute; top:50%; left:50%; z-index: -1; border-radius: 50%; transform: translate(-50%, -50%) rotate(-50deg); transition: all 0.3s ease-in-out;}
.sub-tab-home::after {content:''; display: block; width:8px; height:8px; border:solid #727272; border-width: 1px 1px 0 0; position: absolute; top:50%; left:100%; transform: translate(0, -50%) rotate(45deg);}

.sub-tab-home:hover span {background-image: url('../images/common/ico_home_on.svg');}
.sub-tab-home:hover::before {background-color:var(--color-sub);transform: translate(-50%, -50%) rotate(-230deg);}

.sub-tab-btn { display: none; position: relative; z-index: 5; width: 100%; height: 100%; background-color: transparent;} 
.sub-tab-list { height: 100%; }

.sub-tab-list ul { display: flex; overflow-x: auto; height:100%; } 
.sub-tab-list ul::-webkit-scrollbar {height: 6px; background-color: #fff;}
.sub-tab-list ul::-webkit-scrollbar-thumb {border: 1px solid transparent; background-color: var(--color-main); background-clip: content-box;}
.sub-tab-list li { flex: 1; } 
.sub-tab-list li a { display: flex; justify-content: center; align-items: center; height: 100%; padding: 0 2rem; background-color:transparent; text-align: center;  white-space: nowrap; font-size:1.7rem; font-weight: 500; transition: all 0.3s ease-in-out; letter-spacing: 0.05em;} 
.sub-tab-list li a span{display: inline; padding:0.2rem 0.5rem;}
.sub-tab-list li.on a {color:#3f55ab; font-weight: 700;}
.sub-tab-list li.on a span{background: linear-gradient(to bottom, transparent 60%, rgba(220, 226, 248, 1) 60%);display: inline;}
    

@media (max-width: 1580px) { 
	.sub-tab { margin-right:calc(var(--outer-padding) + 11rem); margin-left:calc(var(--outer-padding) * 2);transition: all 0.5s ease-in-out;}
	.is-fix .sub-tab {margin-left:var(--outer-padding); transition: all 0.5s ease-in-out;}
}

@media (max-width: 768px) { 
	.sub-tab {margin-top: calc(-1 * var(--sub-tab-height) - 2rem);}
	.sub-tab-wrap {width:100%; padding:0;}
	.sub-tab.is-active .sub-tab-wrap {background-color: var(--color-main);}

	.sub-tab-home::before {width:80%; height:50%; background-color: var(--color-sub);}
	.sub-tab-home::after {display: none;}
	.sub-tab-home span {background-image: url('../images/common/ico_home_on.svg');}

	.sub-tab-btn { display: block; padding: 0 var(--sub-tab-height) 0 0; color: #000; font-size:max(1.7rem, 16px); } 
	.sub-tab-btn::before { position: absolute; top: 50%; right: 2rem; width: 13px; height: 8px; background-color: #000; mask-image: url(../images/common/chevron_w13.svg); -webkit-mask-image: url(../images/common/chevron_w13.svg); content: ''; transform: translateY(-50%); transition: .3s;} 
	.sub-tab.is-active .sub-tab-btn {color:#fff;}
	.sub-tab.is-active .sub-tab-btn::before {background-color:#fff; transform: translateY(-50%) rotate(180deg); } 

	.sub-tab-list { display: none; position: absolute; top: calc(100% + 1px); left: 0; height: auto; box-shadow: 0 0 2rem var(--color-black-a2); background-color: #fff;border-radius: 0.5rem; overflow: hidden; width:100%;} 
	.sub-tab-list ul { flex-direction: column; height: auto; } 
	.sub-tab-list li a { padding: 1.5rem 1rem; color:#222; font-size:2rem; border-bottom:1px solid #e1e1e1;}
	.sub-tab-list li.on a {  font-weight: 600; border-radius: 0; } 
}


@media (hover: hover) and (pointer: fine) {
	.sub-tab-list li a:hover { color: #000;}
}



/* SUB-CONTENT */
.sub-content {padding-top:9rem;}
.sub-content-tit h3 { padding: 6rem 0; font-weight: 700; font-size: 4rem; text-align: center; color: #222; } 
.sub-content-wrap::after {display: block; visibility: hidden; width: 100%; height: 1px; content: ''; margin-bottom: -1px;}



/* SUB-CONTENT-TAB */
.sub-content-tab { overflow-x: auto; padding: 0 var(--inner-padding); margin-bottom: 7rem; 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: 1px;  padding: 1px; margin: 0 auto;}
.sub-content-tab li {outline: 1px solid var(--color-main); flex:1 1;}
.sub-content-tab li.on {z-index: 5; outline-color: var(--color-main);}
.sub-content-tab li a { padding: 1.5rem 1rem; font-size: 1.8rem; transition: .3s;font-weight:700; color:#222; display: flex; width:100%; text-align: center; justify-content: center; height: 100%; align-items: center;}
.sub-content-tab li.on a { background-color: var(--color-main); color: #fff; }

@media (hover: hover) and (pointer: fine) {
	.sub-content-tab li:not(.on) a:hover {color: var(--color-main); text-shadow: 0 0 0.04em var(--color-main);}
}
@media (max-width: 1280px) {
	

}
@media (max-width: 768px) {
	.body-sub { --sub-tab-height: 5.6rem; }
}
@media (max-width: 480px) {
	.sub-content-tab ul { flex-direction: column; width: 100%;}
}
/* 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 =============================================== */