﻿
/* *******************************************************
 * filename : layout.css
 * description : 전체 레이아웃 CSS
 * date : 2022-07-26
******************************************************** */

/* ========================================================
 * SETTING
======================================================== */
:root{
	--main-color: #161a4b; /* 어두운 파란색 */
	--main-color2: #222b9f; /* 밝은 파란색 */
	--main-color3: #03069b; /* 제일 밝은 파란색 */
	--main-color4: #61637f; /* 약간 보라색? */
	--area-box-width: 1720px;
	--area-width: 1300px;
	--area-padding: 30px;
	--header-height: 90px;
	--sub-visual-height: 40rem;
	--sub-menu-height: 69px;
	--full-height: 100vh;
	--transition-custom: all 0.4s ease-in-out;
	--transition-custom2: all 0.8s ease-in-out; /* data-scroll */
	--font-family1: 'Pretendard', 'Noto Sans KR', "나눔고딕", NanumGothic, "Nanum Gothic","돋움", Dotum, Arial, sans-serif;
}
html:not(.is-mobile) *::-webkit-scrollbar {
	width: 7px;
	height: 15px;
}
html:not(.is-mobile) *::-webkit-scrollbar-track {
	background-color: #f1f1f1;
}
html:not(.is-mobile) *::-webkit-scrollbar-thumb {
	background-color: #c1c1c1;
}
::selection {
    background: var(--main-color);   
    color: #fff;
}
::-moz-selection {
    background: var(--main-color);    
    color: #fff;
}
html{font-size:10px;}
body, table, th, td, button, select, input, textarea {
	font-family:var(--font-family1);
	color:#666;
	-webkit-text-size-adjust:none;
	-moz-text-size-adjust:none;
	text-size-adjust:none;
	word-break:keep-all;
}
body { background-color:#fff; }
table, th, td{word-break:break-word;}
#wrap {overflow:hidden; width:100%; min-width:320px; position:relative; }
.font-dm { font-family: "DM Serif Text", serif;}

/* ========================================================
 * LAYOUT
======================================================== */
/* ****************** 공통클래스 ********************** */
.area{ max-width:var(--area-width); margin:0px auto;}
.area-box{ max-width:var(--area-box-width); margin:0px auto; }
.full-height{height:var(--full-height);}
/* Fullpage Layout */
.fullpage-html{overflow:hidden; height:100%;}
.fullpage-html #wrap{position:static;}
/* br tag */
.m-br{display:none;}
.display-m{display:none;}

/* ****************** HEADER ********************** */
#header{position:absolute; height:var(--header-height); top:0; left:0; width:100%; z-index:9999;}
#headerInnerWrap{position:fixed; z-index:99; top:0px; left:0px; width:100%; height:var(--header-height); z-index:9999; background-color:#fff; transition:var(--transition-custom); transition-property:background-color; box-shadow: 1.2rem 1.2rem 3rem -1.2rem rgba(0,0,0,0.05);}
#headerInner{position:relative; display:flex; align-items:center; justify-content:space-between; height:var(--header-height); margin:0px auto;}

.logo-btn-group{position:relative; z-index:100; display: flex; align-items: center;}

#header .logo{margin-right: 3rem; position:relative; z-index:1;}
#header .logo a{width: 168px; height: 28px; position: relative; display:block;}
#header .logo img{position: absolute; top: 0; left: 0; height: 100%; display:block; transition:var(--transition-custom); transition-property: opacity, visibility;}
#header .logo .ori{}
#header .logo .whi{opacity: 0; visibility: hidden;}

/* Header :: 브로셔 다운로드 버튼 */
.hdr-brc-download-btn{padding: 0 1.2rem 0 1.5rem; height: 3.5rem; font-size: 1.6rem; letter-spacing: 0.001em; color: #222; border: 0.2rem solid #eee; display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; transition:var(--transition-custom); transition-property: background-color, border-color, color;}
.hdr-brc-download-btn i{margin-left: 1rem; position: relative; top: -0.1rem; font-size: 1.8rem;}
.hdr-brc-download-btn:hover{background-color: var(--main-color); border-color: var(--main-color); color: #fff;}

/* -------- Header :: UTIL BOX -------- */
.header-util-box{position:relative; z-index:100;}

/* Header :: 사이트맵버튼 */
.sitemap-line-btn{width:32px; height:32px; box-sizing:border-box;}
.sitemap-line-btn:before{position: fixed; top: 0; left: 0; content: ''; width:100vw; height: 0; background-color: rgba(0,0,0,0.5); backdrop-filter: blur(10px); transition:all 0.4s ease-in-out; opacity:0;}
.sitemap-line-btn .dot{position: absolute; display:block; width:8px; height:8px; background-color:#222; transition:var(--transition-custom);}
.sitemap-line-btn .dot.dot1{top: 3px; left: 3px;}
.sitemap-line-btn .dot.dot2{top: 3px; right: 3px;}
.sitemap-line-btn .dot.dot3{bottom: 3px; left: 3px;}
.sitemap-line-btn .dot.dot4{bottom: 3px; right: 3px;}
/* active */
.sitemap-line-btn.active{position:relative; z-index:100000;}
.sitemap-line-btn.active:before{height: 100vh; transition: all 0.4s ease-in-out; opacity:1;}
.sitemap-line-btn.active .dot.dot1{width: 20px;height: 6px;transform: translate(-2px,7px) rotate(45deg);}
.sitemap-line-btn.active .dot.dot2{width: 20px;height: 6px;transform: translate(2px,7px) rotate(-45deg);}
.sitemap-line-btn.active .dot.dot3{width: 20px;height: 6px;transform: translate(-2px,-2px) rotate(-45deg);}
.sitemap-line-btn.active .dot.dot4{width: 20px;height: 6px;transform: translate(2px,-2px) rotate(45deg);}


/* -------- Header :: sitemap-open ver -------- */
#header.sitemap-open #headerInnerWrap{background-color: transparent;}
#header.sitemap-open .logo-btn-group{z-index:100000;}
#header.sitemap-open .logo .ori{opacity: 0; visibility: hidden;}
#header.sitemap-open .logo .whi{opacity: 1; visibility: visible;}
#header.sitemap-open .hdr-brc-download-btn{color: #fff;}
#header.sitemap-open .sitemap-line-btn .dot{background-color: #fff;}
#header.sitemap-open #gnb{opacity: 0; pointer-events: none;}



/* -------- Header :: GNB(PC) -------- */
.gnb-overlay-bg{position:fixed; top:0; left:0; width:100%; height:100%; visibility:hidden; opacity:0; background:rgba(0,0,0,0.5); z-index:9997;  transition:var(--transition-custom); }	/* gnb overlay BG */
.gnb-overlay-bg.open{visibility:visible; opacity:1.0;}
#gnb{position:absolute; text-align:center; top:0; left:0px; width:100%; z-index:99;}
#gnb > ul{width: 100%; box-sizing: border-box; display: flex; justify-content: flex-end;}
#gnb > ul > li{margin-right: 7rem; position:relative; word-break:keep-all;}
#gnb > ul > li:last-child{margin-right: calc(7rem + 40px);}
#gnb > ul > li > a{
	position:relative; z-index:100; display:block; line-height:var(--header-height); color:#222; font-size:1.8rem; letter-spacing:-0.025em; font-weight:500; transition:var(--transition-custom);
}
#gnb > ul > li > a:hover,
#gnb > ul > li > a:focus,
#gnb > ul > li.on > a{color:var(--main-color);}

/* GNB :: 2차 각각메뉴 */
#gnb.each-menu > ul > li .gnb-2dep{
	/* display:none; */
	position:absolute; 
	top:var(--header-height); 
	left:50%; margin-left: -9rem; 
	z-index:99;
	width:18rem; 
	text-align:left; 
	visibility:hidden;
	opacity:0;filter:Alpha(opacity=0);
	transition:all 0.2s cubic-bezier(0.4, 0, 1, 1);
}
#gnb.each-menu > ul > li .gnb-2dep:before{
	content:""; 
	position:absolute; top:0px; left:0px; right:0px; 
	height:0; 
	background-color:var(--main-color); 
	box-shadow: 2rem 2rem 2rem -1rem rgba(0,0,0,0.1);
	transition:all 0.2s cubic-bezier(0.4, 0, 1, 1);
}
#gnb.each-menu > ul > li .gnb-2dep ul{padding:2.5rem 0px;}
#gnb.each-menu > ul > li .gnb-2dep ul li{position:relative; padding: 1rem; opacity:0; transition:all 0s 0s; }
#gnb.each-menu > ul > li .gnb-2dep ul li a{display:block; color:#fff; font-size:1.6rem; font-weight:400; line-height:1.4; letter-spacing: -0.05em; text-align: center; opacity:0.6; transition:var(--transition-custom); transition-property: opacity;}
#gnb.each-menu > ul > li .gnb-2dep ul li a:hover{opacity:1.0;}
/* over했을때 */
#gnb.each-menu > ul > li .gnb-2dep.open{visibility:visible; opacity:1.0;}
#gnb.each-menu > ul > li .gnb-2dep.open:before{height:100%;}
#gnb > ul > li .gnb-2dep.open ul li{opacity:1.0; transition:var(--transition-custom2);}
#gnb > ul > li .gnb-2dep.open ul li:nth-child(1){transition-delay:0.1s;}
#gnb > ul > li .gnb-2dep.open ul li:nth-child(2){transition-delay:0.2s;}
#gnb > ul > li .gnb-2dep.open ul li:nth-child(3){transition-delay:0.3s;}
#gnb > ul > li .gnb-2dep.open ul li:nth-child(4){transition-delay:0.4s;}
#gnb > ul > li .gnb-2dep.open ul li:nth-child(5){transition-delay:0.5s;}
#gnb > ul > li .gnb-2dep.open ul li:nth-child(6){transition-delay:0.6s;}
#gnb > ul > li .gnb-2dep.open ul li:nth-child(7){transition-delay:0.7s;}
#gnb > ul > li .gnb-2dep.open ul li:nth-child(8){transition-delay:0.8s;}

/* -------- Header :: GNB(Mobile) -------- */
.nav-open-btn{display:none;}
#gnbM{display:none}

/* ****************** FOOTER ********************** */
/* Footer :: TOP버튼 */
.to-top-btn{
	position:fixed; 
	bottom:-10rem; 
	right:15px;
	display:block; 
	width:4.8rem; 
	height:4.8rem; 
	background-color:#fff; 
	text-align:center; 
	color:#000; 
	z-index:99;
	border:1px solid #eee;
	box-sizing:border-box;
	opacity:0;
	transition:var(--transition-custom);
	border-radius:50%;
}
.to-top-btn.bottom-fixed{bottom:15px; opacity:1.0;}
.to-top-btn i{display:inline-block; font-size:1.8rem; line-height:4.8rem; transition:var(--transition-custom);}
.to-top-btn:hover i{transform:translateY(-3px)}
#fullpage .to-top-btn{display:none;}

/* -------- FOOTER :: 레이아웃 -------- */
#footer{background-color:#12153d;}
#footerBottom .area-box,
#footerTop .area-box{display: flex; flex-wrap:wrap; justify-content: space-between; box-sizing: border-box;}
#footerBottom .area-box{align-items: center;}
#footerBottom .footer-left-con,
#footerTop .footer-left-con{width: calc(100% - 41rem);}
#footerBottom .footer-left-con{display: flex; flex-wrap:wrap; align-items: center;}
#footerBottom .footer-right-con,
#footerTop .footer-right-con{width: 41rem; display: flex; flex-direction: column; flex-wrap:wrap; align-items: flex-end; justify-content: flex-end;}

/* -------- FOOTER :: 상단 -------- */
#footerTop{padding:9rem 0 6.5rem;}

/* Footer :: 푸터로고 */
.foot-logo{display:block; padding-bottom:4.5rem;}
.foot-logo img{height: 30px;}

/* Footer :: 정보 style02 */
.footer-address-info-box{display: flex; flex-wrap:wrap;}
.footer-address-list{width: 51rem;}
.footer-address-list + .footer-address-list{width: calc(100% - 51rem);}
.footer-address-list dl{display: flex;}
.footer-address-list dl + dl{margin-top: 1.2rem;}
.footer-address-list dl dt,
.footer-address-list dl dd{font-size:1.6rem; line-height:1.5; font-weight: 500; letter-spacing: -0.05em; color: rgba(255,255,255,0.6);}
.footer-address-list dl dd + dt{margin-left: 5rem;}
.footer-address-list dl dt{padding-right: 3rem; position: relative;}
.footer-address-list dl dt:before{position: absolute; top: 0.5rem; right: 1.5rem; width: 0.1rem; height: 1.4rem; background-color: rgba(255,255,255,0.2); content: '';}
.footer-address-list a{color:inherit}

/* Footer :: 사이트맵 */
.footer-sitemap-list-con > ul{display: flex; align-items: center;}
.footer-sitemap-list-con > ul > li{padding-left:5.5rem;}
.footer-sitemap-list-con > ul > li:first-child{padding-left:0;}
.footer-sitemap-list-con > ul > li a{position: relative; color:#fff; font-size:1.8rem; font-weight:500; letter-spacing:-0.05em;}
.footer-sitemap-list-con > ul > li a:after{
	position:absolute; bottom:-0.6rem; left:0; right:0; 
	height: 0.2rem; 
	background-color:#fff; 
	content:""; 
	transform:scaleX(0); 
	transition:var(--transition-custom);
	transition-property: transform;
	transform-origin:100% 0;
}
.footer-sitemap-list-con > ul > li a:hover:after{transform:scaleX(1); transform-origin:0 0;}
.footer-sitemap-list-con > ul > li .gnb-2dep{display: none;}

/* Footer :: 퀵메뉴 */
.foot-quick-box{margin-top: 6.5rem; display: flex; align-items: center;}
.foot-quick-box li{margin-left:1.5rem;}
.foot-quick-box li:first-child{margin-left:0}
.foot-quick-box li a{width: 6.6rem; height: 6.6rem; font-size: 2.2rem; color: #fff; text-align: center; background-color: rgba(255,255,255,0.15); border-radius: 100%; display: flex; align-items: center; justify-content: center;}
.foot-quick-box li a.m-ver{display: none;}
.foot-quick-box li a:hover i{animation: navani 0.4s ease-in-out;}

@keyframes navani{
	0% {transform: scaleX(1);}
	25% {transform: scaleX(0);}
	50% {transform: scaleX(1);}
	75% {transform: scaleX(0);}
	100% {transform: scaleX(1)}
}

/* -------- FOOTER :: 하단 -------- */
#footerBottom{}
#footerBottom .area-box{padding-top: 3rem; padding-bottom: 3rem; border-top: 1px solid rgba(255,255,255,0.2);}

/* Footer :: 브로셔 다운로드 버튼 */
.ftr-brc-download-btn{margin-right: 4rem; padding: 0 1.2rem 0 1.5rem; height: 3.5rem; font-size: 1.6rem; letter-spacing: 0.001em; color: #fff; border: 0.2rem solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; transition:var(--transition-custom); transition-property: background-color, border-color, color;}
.ftr-brc-download-btn i{margin-left: 1rem; position: relative; top: -0.1rem; font-size: 1.8rem;}
.ftr-brc-download-btn:hover{background-color: #fff; border-color: #fff; font-weight: 600; color: var(--main-color);}

/* Footer :: SNS 리스트 */
.foot-sns-menu{display: flex; align-items: center;}
.foot-sns-menu li{margin-left:2rem;}
.foot-sns-menu li:first-child{margin-left:0}
.foot-sns-menu li a{position: relative; display:block; font-size: 1.6rem; letter-spacing: 0.001em; color: #fff;}
.foot-sns-menu li a:after{
	position:absolute; bottom:-0.6rem; left:0; right:0; 
	height: 0.2rem; 
	background-color:#fff; 
	content:""; 
	transform:scaleX(0); 
	transition:var(--transition-custom);
	transition-property: transform;
	transform-origin:100% 0;
}
.foot-sns-menu li a:hover:after{transform:scaleX(1); transform-origin:0 0;}

/* Footer :: 푸터메뉴 */
.foot-menu{display: flex; align-items: center;}
.foot-menu li{margin-left: 3.5rem;}
.foot-menu li:first-child{margin-left:0;}
.foot-menu li a{display: block; font-size:1.6rem; line-height: 1.3; letter-spacing:-0.02em; color: rgba(255,255,255,0.6); transition:var(--transition-custom);}
.foot-menu li a:hover{color: #fff;}

/* Footer :: Copyright */
.footer-copyright{margin-top: 1.5rem; font-size:1.6rem; letter-spacing:-0.02em; font-weight: 500; color: rgba(255,255,255,0.2);}

@media all and (max-width:800px){
	.footer-sitemap-list-con > ul > li a:after,
	.foot-sns-menu li a:after{display: none;}
}

/* ****************** SUB LAYOUT ********************** */
/*  SUB LAYOUT :: 비주얼 */
#visual{position:relative; width:100%; height:var(--sub-visual-height); }
#visual .visual-img-con{
	position:absolute; 
	top:0px; 
	left:0px; 
	width:100%;
	height:var(--sub-visual-height);
	overflow:hidden; 
}
#visual .visual-img-inner{
	width:100%; 
	height:100%; 
	background-size:cover !important; 
	transform: scale(1.1,1.1); 
	transition:transform 5s linear;
}
#visual .visual-txt-con{position:relative; z-index:1; text-align:center; display:table; width:100%; height:100%; box-sizing: border-box;}
#visual .visual-txt-container{padding-top: var(--header-height); position:relative; width:100%; }
#visual .visual-tit{
	opacity:0;
    transform: translateY(30px);
	transition:var(--transition-custom2);
	transition-property: transform, opacity;
}
#visual .visual-tit{
	font-size:6rem; line-height: 1.1; letter-spacing: -0.05em; font-weight: 600; color: #fff; 
	/* transition-delay:0.3s; */
}
/* SUB LAYOUT :: 상단효과 active */
#visual.active .visual-img-inner{
    transform: scale(1.0,1.0) rotate(0.002deg);
}
#visual.active .visual-tit{
	opacity:1.0;
    transform: translateY(0px);
}


/* SUB LAYOUT :: 모바일메뉴(공통)  */
#topMenuM{display:none;}

/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
.no-visual-middleArea{padding-top: 9rem;}
#content:not(.wide){padding:15rem 0}
#content.wide{padding:15rem 0 0 0}


/* ****************** MODAL LAYERPOPUP ********************** */
/* modal layer */
.modal-fixed-pop-wrapper{display:none; overflow-y:scroll; overflow-x:hidden;  position:fixed; top:0px; left:0px; width:100%; height:100%; z-index:9999; background:#000; background:rgba(0,0,0,0.8);}
.modal-fixed-pop-inner{position:absolute; display:table; width:100%; height:100%; text-align:center;}
.modal-inner-box{ position:relative; display:table-cell; vertical-align:middle;}
.modal-loading{position:absolute; top:50%; left:50%; margin:-25px 0 0 -25px; z-index:10000;}
.modal-inner-content{text-align:left;}
.loading {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 8px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { transform: rotate(360deg); }
}
/* modal layer content */
.footer-modal-content{position:relative; width:96%; max-width:1000px; margin:20px auto; }
.footer-modal-content h1{font-size:24px; font-weight:600; letter-spacing:-0.5px; text-align:center; padding:0 50px 20px; color:#fff;}
.modal-close-btn{position:absolute; top:-6px; right:-6px; color:#fff; }
.modal-close-btn i{font-size:38px;}
.modal-close-btn i:hover {color:#fff}
.footer-inner-box{padding:30px; background-color:#fff; }
.footer-inner{padding:20px; height:400px; overflow-y:auto; overflow-x:hidden; border:1px solid #ddd; }


/* ******************  공통 상담 리스트 ********************** */
.cm-counsel-box{}
.cm-counsel-list {margin: 0 -1rem; display: flex; flex-wrap:wrap;}
.cm-counsel-item{margin: 0 1rem; width: calc(25% - 2rem);}
.cm-counsel-item a {width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 2.8rem 11.2%; border-radius: 0.8rem; border: 1px solid #ddd; background-color: #fff; transition: var(--transition-custom); box-sizing: border-box;}
.cm-counsel-item a.m-ver{display: none;}
.cm-counsel-item a .txt-box{width: calc(100% - 7.5rem);}
.cm-counsel-item a .txt-box h4 {font-size: 2rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1.3; color: #222;}
.cm-counsel-item a .txt-box p {margin-top: 0.5rem; font-size: 1.6rem; font-weight: 400; letter-spacing: -0.05em; line-height: 1.3; color: #666; word-break: break-word;}
.cm-counsel-item a .icon-box{width: 7.5rem; height: 6.4rem; max-height: 64px; display: flex; justify-content: flex-end;}
.cm-counsel-item a .icon-box img {height: 100%;}

.cm-counsel-item:nth-child(1) a:hover {border-color: #2a5082;}
.cm-counsel-item:nth-child(2) a:hover {border-color: #e08022;}
.cm-counsel-item:nth-child(3) a:hover {border-color: #109974;}
.cm-counsel-item:nth-child(4) a:hover {border-color: #642da1;}

@media all and (max-width:800px){
	.cm-counsel-list {margin: -1rem;}
	.cm-counsel-item{margin: 1rem; width: calc(50% - 2rem);}
	.cm-counsel-item a {padding: 2.5rem 3rem;}
	.cm-counsel-item a.pc-ver{display: none;}
	.cm-counsel-item a.m-ver{display: flex;}
	.cm-counsel-item a .txt-box{width: calc(100% - 7.5rem);}
	.cm-counsel-item a .txt-box h4 {font-size: 2rem;}
	.cm-counsel-item a .txt-box p {font-size: 1.6rem;}
	.cm-counsel-item a .icon-box{width: 7.5rem; height: 6.4rem;}
}
@media all and (max-width:480px){
	.cm-counsel-item{width: calc(100% - 2rem);}
}