@charset "utf-8";

/* header */
.header{
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    z-index: var(--z-index-important);
    transform:translate(-50%, 0);
    max-width: 1400px;
    padding: 0 60px;
    box-sizing: content-box;
}
.header_mo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 14%;
    box-sizing: border-box;
    z-index: 1000;
}
.header_mo #dim, .header_mo .gnb_mo {
    position: fixed;
    z-index: 1100;
}

.og_header{
    background: transparent;
}
.og_header .logo a{
    background: url("/home/images/logo_wht.svg") no-repeat center / contain;
}
.og_header .btn_nav_open .line{
    background: #fff;
}

.og_header{
    transition: background 0.5s;
}
.og_header:not([data-header-change-bg="transparent"]){
    background: #FFF;
    border-bottom: 1px solid #EAEAEA;
}
.og_header:not([data-header-change-bg="transparent"]):after{
    display: block;
    content: "";
    position: absolute;
    left: -50%;
    top: 0;
    width: 200%;
    height: 100%;
    background: #FFF;
    border-bottom: 1px solid #EAEAEA;
    z-index: -1;
}
.og_header:not([data-header-change-bg="transparent"]) .gnb > ul > li > a,
.og_header:not([data-header-change-bg="transparent"]) .lang a{
    color: var(--color-black2-base);
}
.og_header:not([data-header-change-bg="transparent"]) .logo a{
    background: url("/home/images/logo.svg") no-repeat center / contain;
}
.og_header:not([data-header-change-bg="transparent"]) .btn_nav_open .line{
    background: #000;
}
.og_header:not([data-header-change-bg="transparent"]) .btn_nav_open.active .line{
    background: #fff;
}

.logo, .gnb{
    position: absolute;
}
.logo{
    z-index: 100;
    top: 23px;
    left: 60px;
}
.logo a{
    display: block;
    width: 87px;
    height: 30px;
    background: url("/home/images/logo_wht.svg") no-repeat center / contain;
}
.logo.on a{
    background: url("/home/images/logo.svg") no-repeat center / contain;
}

.gnb{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: transparent;
}
.gnb.active{
    background-color: #FFF;
}
.gnb.active:after {
    display: block;
    content: '';
    width: 200%;
    height: 100%;
    background: #fff;
    z-index: -1;
    position: absolute;
    left: -50%;
    top: 0;
}
.gnb.active > ul > li > a,
.gnb.active + .lang a{
    color: var(--color-black2-base);
}
.gnb > ul > li.selected > a{
    color: var(--color-red-primary) !important;
}
.gnb ul::before{
    top: 100%
}
.gnb > ul{
    display: flex;
    justify-content: center;
}
.gnb > ul > li{
    flex: 0 0 auto;
}
/* 브라우저창을 줄여도 같이 작아지지 않는다 */
.gnb > ul > li > a{
    position: relative;
    display: block;
    padding: 26.5px 50px;
    color: var(--color-white-base);
    font-size: var(--fs-medium);
    font-weight: var(--fw-semibold);
    line-height: 27px;
    /*min-width: 160px;*/
}
.gnb > ul > li.on > a{
    color: var(--color-red-primary);
}

/* 가상요소 제어 */
.gnb > ul > li > a::before{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.gnb > ul > li > a::before{
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--color-red-primary);
    z-index: 999;
}
.gnb > ul > li.on > a::before{
    width: 100%;
    transition: width 0.3s;
}
.gnb ul li ul{
    overflow: hidden;
    height: auto;
    padding: 32px 0;
    font-weight: var(--fw-base);
}
.gnb ul li ul li:not(:first-child){
    padding-top: 24px;
}
.gnb ul li ul li a{
    display: block;
    /*padding: 0 20px;*/
}
.gnb ul li ul li:hover a, .gnb ul li ul li a:focus{
    color: var(--color-red-primary);
    font-weight: var(--fw-semibold);
}

.btn_nav_open {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 34px;
    height: 34px;
    z-index: 1200;
    transform: translateY(-50%);
}
.btn_nav_open .line {
    width: 30px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s;
}
.btn_nav_open .line1 {
    top: 7px;
}
.btn_nav_open .line2 {
    top: 16px;
}
.btn_nav_open .line3 {
    top: 25px;
}
.btn_nav_open.active .line1 {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10.5px;
    left: 2px;
}
.btn_nav_open.active .line2 {
    opacity: 0;
}
.btn_nav_open.active .line3 {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 10.5px;
    left: 2px;
}

.gnb_mo {
    top: 0;
    right: -82%;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    overflow-y: auto;
    visibility: hidden;
}
.gnb_inner {
    margin-top: 60px;
    font-size: 18px;
}
.gnb_inner a {
    display: block;
}
.gnb_inner .dep1 > li > a {
    position: relative;
    color: #fff;
    padding: 20px 20px;
    font-weight: 700;
    font-size: 20px;
}
.gnb_inner .dep1 > li.selected > a {
    /*color: var(--color-red-primary) !important;*/
}
.gnb_inner .dep1 > li > a::after {
    content: "";
    transform: translateY(-50%);
    position: absolute;
    right: 20px;
    top: 50%;
    background-image: url("/home/images/ico_arrow.svg");
    width: 24px;
    height: 24px;
}
.gnb_inner .dep1 > li.on > a::after {
    transform: rotate(180deg) translateY(15px);
}
.gnb_inner .dep2, .gnb_inner .dep3 {
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
}
.gnb_inner .dep2 > li > a {
    position: relative;
    padding: 10px 20px 10px 20px;
    color: #fff;
    opacity: 0.8;
}
.gnb_inner .dep2 > li > a::before {
    background: #444;
    left: 22px;
}
.gnb_inner .dep2 > li:first-of-type > a{
    padding-top: 0;
}
.gnb_inner .has_dep3 > li > a {
    position: relative;
}
.gnb_inner .right_icon {
    transform: translateY(-50%);
    position: absolute;
    right: 22px;
    top: 50%;
    width: 12px;
    height: 12px;
}
.gnb_inner .right_icon::before, .gnb_inner .right_icon::after {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 100%;
    height: 2px;
    background: #444;
    opacity: 0.8;
}
.gnb_inner .right_icon::after {
    transform: rotate(90deg);
    -webkit-transition: transform 0.5s;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
}
.has_dep3 > li.on .right_icon::after {
    transform: rotate(0deg);
}
.gnb_inner .dep3 {
    background: #aaa;
    color: #fff;
    margin: 0 22px;
    padding: 0 13px;
}
.gnb_inner .dep3 > li:first-child {
    padding-top: 10px;
}
.gnb_inner .dep3 > li:last-child {
    padding-bottom: 10px;
}
.gnb_inner .dep3 a {
    position: relative;
    padding: 8px 0 8px 9px;
}
.gnb_inner .dep3 a::before {
    background: #fff;
    left: 0;
}

/*국문, 영문 홈페이지 이동*/
.lang {
    position: absolute;
    top: 26px;
    right: 60px;
}
.lang ul {
	display: flex;
	gap: 20px;
}
.lang a {
    color: var(--color-white-base);
}
.lang a.on {
	text-decoration: underline;
	text-underline-position: under;
}
.lang a:hover {
    font-weight: bold;
}



footer{
    background: var(--color-gray90-base);
}
.footer{
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 60px;
    box-sizing: content-box;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: #fff;
    font-weight: var(--fw-base);
    font-size: var(--fs-small);
}
.footer .right {
     position: relative;
 }
.logo_g a{
    display: block;
    width: 150px;
    height: 77px;
    background: url("/home/images/logo_g.svg") no-repeat center center / contain;
}
address{
    margin: 50px 0 0 0;
}
address p{
    color: #fff;
}
address p strong{
    margin-right: 4px;
}
address p.right{
    opacity: 40%;
    font-size: 12px;
    margin-top: 10px;
}
.sns_wrap{
    margin-top: 56px;
    text-align: right;
}
.sns_wrap span a{
    display: inline-block;
    width: 60px;
    height: 60px;
    background-position: center;
    background-size: cover;
    margin-left: 20px;
}
.facebook a{
    background-image: url("/home/images/ico_facebook.svg");
}
.blog a{
    background-image: url("/home/images/ico_blog.svg");
}
.twitter a{
    background-image: url("/home/images/ico_twitter.svg");
}
.instagram a{
    background-image: url("/home/images/ico_insta.svg");
}
.number_wrap{
    margin-top: 40px;
}
.number_wrap > span{
    position: relative;
    margin-right: 17px;
}
.number_wrap > span > strong{
    margin-right: 4px;
}
.com_intro{
    width: 64px;
    height: 64px;
    background: url(/home/images/btn_pdf.svg);
    right: 30px;
    display: block;
}
.com_intro.fixed {
    position: fixed;
    bottom: 184px;
    z-index: 999;
}
.com_intro.on {
    bottom: 500px;
}
.top_button {
    cursor: pointer;
    display: inline-block;
    right: 30px;
}
.top_button.fixed {
    position: fixed;
    bottom: 100px;
    z-index: 999;
}
.top_button.on {
    bottom: 416px;
}
.top_button span {
    display: flex;
    width: 64px;
    height: 64px;
    background: url("/home/images/btn_top.svg");
}
.com_intro .tooltip {
    background: rgba(0, 0, 0, 0.55);
    width: max-content;
    text-align: center;
    padding: 4px 8px;
    position: absolute;
    left: 50%;
    bottom: 70px;
    transform: translate(-60%, 0);
    display: none;
    border-radius: 2px;
}
.com_intro:hover .tooltip {
    display: block;
}

/***************** TABLET / MOBILE ******************/
@media all and (max-width: 1460px) {
    .header {
        padding: 0;
    }
}
@media all and (max-width: 1280px){
    .gnb > ul{
        margin: 0 10%;
    }
    .gnb > ul > li > a{
        padding: 26.5px 35px;
    }
}
@media all and (max-width:1024px){
    .header_mo .logo{
        left: 20px;
    }
    .header_mo .lang {
		right: 80px;
	}
    .footer{
        padding: 45px 20px;
        flex-direction: column-reverse;
    }
    .sns_wrap{
        margin-top: 0;
    }
    .sns_wrap span a{
        margin-left: 0;
        margin-right: 13px;
        width: 40px;
        height: 40px;
    }
    .logo_g{
        margin-top: 34px;
    }
    .logo_g a{
        width: 52px;
        height: 27px;
    }
    address{
        margin-top: 22px;
    }
    address p{
        font-size: 11px;
    }
    .number_wrap{
        margin-top: 4px;
    }
    address p.right{
        margin-top: 34px;
    }
    .number_wrap span:last-of-type{
        display: block;
        margin-top: 4px;
    }
}
@media all and (max-width:768px){
    .header_mo{
        height: 50px;
    }
    .header_mo .logo{
        top: 17px;
    }
    .header_mo .logo a{
        width: 46px;
        height: 16px;
    }
    .header_mo .lang {
		top: 12px;
	    right: 60px;
	}
    .lang a {
		font-size: 14px;
	}
	.lang ul {
		gap: 10px;
	}
    .btn_nav_open {
        width: 22px;
        height: 22px;
    }
    .btn_nav_open .line {
        width: 17px;
        height: 2px;
    }
    .btn_nav_open .line1 {
        top: 4px;
    }
    .btn_nav_open .line2 {
        top: 10px;
    }
    .btn_nav_open .line3 {
        top: 16px;
    }
    .com_intro,
    .top_button span{
        width: 40px;
        height: 40px;
        background-size: cover;
    }
    .com_intro.fixed {
        position: fixed;
        bottom: 160px;
    }
    .com_intro.on {
        bottom: 440px;
    }
    .top_button.fixed {
        position: fixed;
        bottom: 100px;
    }
    .top_button.on {
        bottom: 380px;
    }
}

