@charset "utf-8";
@import url("http://fonts.googleapis.com/earlyaccess/notosanskr.css");
@import url('https://webfontworld.github.io/pretendard/Pretendard.css');
@import url('https://fonts.googleapis.com/earlyaccess/nanummyeongjo.css');
@import url("https://use.typekit.net/dyj4uzj.css");
@import url("https://use.typekit.net/fwt2vzv.css");




*{
	margin: 0;
	padding: 0;
	
}
html{
	overflow-y: scroll;
	overflow-x: hidden;
	cursor:url(/images/cursor.png) 2 2, auto;
	scroll-behavior:smooth;
}
html, body{
	width: 100%;
	min-height:100%;
	font-family: 'Pretendard', sans-serif;
	letter-spacing:-1px;
}

ul li{
	list-style: none;
}
body, input, textarea, select{
	font-size: 16px;
	font-family: 'Pretendard', sans-serif;
	color: #313131;
	position: relative;
}
table{
	border-collapse: collapse;/*칸 사이의 기본여백 제거 및 중첩테두리 상쇄효과*/
}
input{
	vertical-align: middle;
}
img{
	border: 0; /*이미지링크시 나타나는 테두리 제거*/
}
a{
	color: #313131;
	text-decoration: none;
}
a:hover{
	cursor:pointer;
}
.hidden{
	display: none;
}
.clear:after{
	content: "";
	display: block;
	clear: both;
	*zoom: 1;
}
.flex{
	display:flex;
}

h2,h3,h4{
	font-weight: 600;
}
::placeholder{
	color:#bbb;
}
input:focus{
	outline:2px solid #79a7ad;
}
textarea:focus{
	outline:2px solid #79a7ad;
}
select:focus{
	outline:2px solid #79a7ad;
}


}

#wrap{max-width:1920px;margin:0 auto;}


.zahrah{
	font-family: "zahrah", serif;
	font-weight:500;
}
.pre{
	 font-family: 'Pretendard', sans-serif;
	 font-weight:100;
}
.point{color:#2f8588;}

img{max-width:100%;}

.mbr{display:none;}



/*26.05.20 헤더수정*/

#header_all {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
    transition: all 0.3s ease;
	letter-spacing:-0.3px;
}

#header_all .inner {
    width: 100%;
    max-width: 100%; 
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    height: 100px;
    position: relative;
    box-sizing: border-box;
	text-align:center;
}
#header_all .logo{
	display:flex;
	align-items:center;
}
#header_all .logo img {
    max-width:220px;
	width:100%;
    display: block;
}

#header_all .main-nav {
    display: flex;
    justify-content: center;
}

#header_all .gnb {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
	width:100%;
	gap:20px;
}

#header_all .gnb > li {
    position: relative;
    list-style: none;
}

#header_all .gnb > li > a {
    font-size: 16px;
    color: #222;
    font-weight: 600;
    line-height: 100px;
    display: block;
    text-decoration: none;
}

#header_all .gnb .depth2 {
    position: relative;
    padding-top: 15px;
    margin: 0;
    list-style: none;
    opacity: 0;
    display:none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
	min-width:100px;
}

#header_all .gnb .depth2 li {
    list-style: none;
}

#header_all .gnb .depth2 li a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

#header_all .gnb .depth2 li a:hover {
    color: #2f8588;
	font-weight:500;
}

#header_all::after {
    content: '';
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 0;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #ddd;
    transition: height 0.1s ease;
    z-index: 999;
}

#header_all.open::after {
    height: 240px; 
}

#header_all.open .gnb .depth2 {
    opacity: 1;
    display:block;
    transform: translateY(0);
}

#header_all .m-menu-btn {
    display: none;
}


@media screen and (max-width: 1440px) {
    #header_all .inner { padding: 0 2%; height:8vw; }
	#header_all .logo{max-width:16%;}
	#header_all .gnb{gap:1.2vw;}
    #header_all .gnb > li > a { font-size: 1.35vw; line-height:8vw;}
    #header_all .gnb .depth2 { padding-top:1.5vw; transform:translateY(-1vw);min-width: 10%; }
	#header_all .gnb .depth2 li a{padding:0.5vw 0;font-size:1.15vw;}
	#header_all::after{top:8vw;}
	#header_all.open::after{height:16vw;}
}


@media screen and (max-width: 1024px) {
    #header_all .inner {
        height: 8vw;
        padding: 0 2vw;
    }
	#header_all .logo{max-width:25%;}
    #header_all .gnb > li > a { line-height: inherit; }
	#header_all .m-menu-btn{
		display:flex;
		justify-content:center;
		align-items:center;
	}
    #header_all .m-menu-btn div {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        cursor: pointer;
        z-index: 2001;
    }

    #header_all .m-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: #222;
        transition: all 0.3s ease;
    }

    #header_all .m-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #header_all .m-menu-btn.active span:nth-child(2) { opacity: 0; }
    #header_all .m-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    #header_all .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 70vw;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 7vw 3vw 0;
        box-sizing: border-box;
        transition: right 0.3s ease;
        display: block;
        overflow-y: auto;
        z-index: 2000;
		text-align:left;
    }

    #header_all .main-nav.active { right: 0; }
    #header_all .gnb { display: block; }
    
    /* 물리적 링크 이동 차단을 위한 모바일 레이아웃 핵심 트릭 */
    #header_all .gnb > li { 
        position: relative;
        padding: 0; 
        border-bottom: 1px solid #eee; 
    }
    
    #header_all .gnb > li > a { 
        padding: 2vw 0; 
        font-size: 2vw; 
        position: relative;
        /* ★ 기존에 등록된 a태그 클릭 스크립트가 절대 반응하지 못하도록 클릭 감지 비활성화 */
        pointer-events: none; 
		text-indent:1vw;
    }
	
	
	#header_all .gnb > li > a:before{
		content:"";
		display:inline-block;
		width:0.4vw;
		height:0.4vw;
		border-radius:50%;
		background:#2f8588;
		margin-right:1vw;
		transform:translateY(-0.4vw);
	}
    
    /* ★ a태그 대신 클릭을 대신 받아줄 가짜 공백 레이어를 부모(li) 위에 생성 */
    #header_all .gnb > li::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto; /* 1차 메뉴 텍스트를 커버하는 높이 */
        z-index: 5;
        cursor: pointer;
		
    }
    
    #header_all .gnb > li > a::after {
        content: '+';
        position: absolute;
        right: 0.5vw;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2.5vw;
        color: #999;
		font-weight:400;
    }
    #header_all .gnb > li.on > a::after { content: '-'; }
	#header_all .gnb > li.no > a::after{display:none;}
	#header_all .gnb > li.no > a{
		pointer-events:auto;
	}
	#header_all .gnb > li.no::before{display:none;}
	
	
    #header_all .gnb .depth2 {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0 0 2vw 2.5vw;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        z-index: 6;
    }
    
    /* 2차 서브메뉴는 정상적으로 터치/클릭하여 이동해야 하므로 pointer-events 복구 */
    #header_all .gnb .depth2 li a {
        pointer-events: auto !important;
		padding:1vw 0;
		font-size:1.8vw;
    }
    
    #header_all::after { display: none; }
}

/* ====================================
   [4] 768px 이하 분기점 (스마트폰)
==================================== */
@media screen and (max-width: 768px) {
    #header_all .inner { height: 15vw; padding: 0 4vw; }
    #header_all .logo{max-width:42vw;}
    #header_all .main-nav { max-width: 80vw;  padding: 13vw 5vw 0;}
    #header_all .gnb > li > a { padding: 3vw 0; font-size: 3.5vw; }
	#header_all .gnb > li > a:before{
		width:0.8vw;
		height:0.8vw;
		margin-right:1vw;
		transform:translateY(-0.7vw);
	}
	#header_all .gnb > li > a::after{font-size:3.5vw;right:1vw;}
	#header_all .gnb .depth2{padding:0 0 5vw 3vw;}
    #header_all .gnb .depth2 li a { padding: 1.5vw 0; font-size: 3.2vw; }
}