@charset "UTF-8";

#header {width: 100%; background: #fff; border-bottom: 1px solid #E3EFE8; position: sticky; top: 0; right: 0; left: 0; z-index: 999;}

#header .top-bar {height: 60px; background: var(--white-gray);}
#header .utility {width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: -webkit-flex; display: flex; justify-content: space-between; align-items: center;}
#header .ul-utility {display: -webkit-flex; display: flex; justify-content: end; align-items: center;}
#header .ul-utility .util-menu::after {content: ''; display: inline-block; width: 1px; height: 10px; background: var(--bone); margin: 0 5px;}
#header .ul-utility .util-menu:last-child::after {display: none;}
#header .ul-utility .util-menu a {font-size: 0.938rem; color: var(--dark);}

#header .menu-bar {width: 100%; max-width: 1200px; margin: 0 auto; display: -webkit-flex; display: flex; justify-content: space-between; align-items: center;}

#header .logo {display: block; height: 58px;}
#header .logo img {display: block; height: 100%; object-fit: contain;}

#gnb_pc {margin-left: auto;}
#gnb_pc .ul-main-menu {display: -webkit-flex; display: flex; justify-content: start; align-items: center;}
#gnb_pc .ul-main-menu>.item {position: relative; font-size: 1.25rem; font-weight: 700; line-height: 80px; text-align: center; margin-right: 70px; -webkit-flex-shrink: 0; flex-shrink: 0;}
#gnb_pc .ul-main-menu>.item:last-child {margin-right: 0;}
#gnb_pc .ul-main-menu .main-menu {display: inline-block; color: var(--dark);}
#gnb_pc .ul-main-menu>.item:hover .main-menu {color: var(--highlight);}
#gnb_pc .ul-main-menu .main-menu.mypage {padding: 8px 26px; background: var(--highlight); color: #fff; border-radius: 999px; line-height: 1.2;}
#gnb_pc .ul-main-menu>.item:hover .main-menu.mypage {color: #fff;}

#header #gnb_pc .ul-main-menu>.item:hover .ul-sub-menu {display: block;}
#header #gnb_pc .ul-sub-menu {display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 180px; background: #fff; border-top: 1px solid #E3EFE8; box-shadow: 0 3px 6px rgba(0, 0, 0, .07); border-radius: 0px 0px 20px 20px; overflow: hidden;}
#header #gnb_pc .ul-sub-menu>.item {padding: 15px 0; line-height: 1.2; text-align: center;}
#header #gnb_pc .ul-sub-menu>.item:first-child {padding-top: 30px;}
#header #gnb_pc .ul-sub-menu>.item:last-child {padding-bottom: 30px;}
#header #gnb_pc .ul-sub-menu .sub-menu {display: block; width: -moz-fit-content; width: -webkit-fit-content; width: fit-content; margin: 0 auto; font-weight: 500; font-size: 0.938rem; color: var(--darkgray);}
#header #gnb_pc .ul-sub-menu>.item:hover .sub-menu {font-weight: 600; color: var(--iris);}

/* 모바일 메뉴 */
#header .m-menu-wrap .btn-open {width: 30px; height: 30px; padding: 5px; display: -webkit-flex; display: flex; justify-content: center; align-items: center;}
#header .m-menu-wrap .btn-open svg {width: 20px; height: 17px; display: block;}

#header .m-menu-area {
    width: 100%; max-width: 370px; padding-top: 60px; padding-left: 20px; padding-right: 20px; position: fixed; top: 0; right: 0; bottom: 0; z-index: 99999; background-color: #fff; transform: translateX(100%);
    transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
}
#header .m-menu-area.open {transform: translateX(0px); box-shadow: 0 0px 39px 10px rgba(0, 0, 0, 0.2);}

#header .m-menu-area .btn-close {width: 30px; height: 30px; display: -webkit-flex; display: flex; justify-content: center; align-items: center; position: absolute; top: 20px; right: 30px; cursor: pointer; z-index: 99;}
#header .m-menu-area .btn-close .icon-close {width: 24px; height: 24px; display: block;}

#header .m-menu-area .ul-utility {padding: 10px 0; justify-content: start; flex-wrap: wrap; border-bottom: var(--border-solid);}
#header .m-menu-area .ul-utility .item {display: -webkit-flex; display: flex; justify-content: start; align-items: center;}

#header .scroll {max-height: calc(--vh - 97px); overflow-x: hidden; overflow-y: auto;}

#header .m-menu-area .ul-main-menu {padding: 20px 0; margin: 0 -20px;}
#header .m-menu-area .main-menu {width: 100%; padding: 10px 20px; display: -webkit-flex; display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 700;}
#header .m-menu-area .ul-main-menu>.item:hover .main-menu {color: var(--highlight);}

#header .m-menu-area .sub-menu {padding: 5px 25px; font-weight: 500; font-size: 0.938rem; color: var(--darkgray); display: inline-block;}
#header .m-menu-area .ul-sub-menu>.item:hover .sub-menu {font-weight: 600; color: var(--iris);}

#header .m-menu-area .main-menu ~ .ul-sub-menu {overflow: hidden;}
#header .m-menu-area .main-menu ~ .ul-sub-menu {max-height: 0; transition: max-height .3s ease-in-out;}
#header .m-menu-area .main-menu.open ~ .ul-sub-menu {max-height: 500px;}
/* //모바일 메뉴 */


#footer {padding: 40px 0; background: var(--darkgray);}
#footer address {width: 100%; max-width: 1200px; margin: 0 auto; font-weight: 300; font-size: 0.938rem; color: #fff;}

#footer .etc {display: -webkit-flex; display: flex; justify-content: start; align-items: center; margin-bottom: 20px;}
#footer .etc li::after {content: ''; display: inline-block; width: 1px; height: 10px; background: var(--bone); margin: 0 6px;}
#footer .etc li:last-child::after {display: none;}
#footer .etc .btn-popup {color: #fff;}
#footer .etc #btn_privacy {font-weight: 500;}

#footer p {display: -webkit-flex; display: flex; justify-content: start; align-items: center; margin-bottom: 6px; flex-wrap: wrap;}
#footer p:last-of-type {margin-bottom: 20px;}
#footer span::after {display: inline-block; content: ''; width: 1px; height: 10px; background: var(--bone); margin: 0 6px;}
#footer span:last-child::after {display: none;}
#footer .tit {font-weight: 500;}
#footer .copy {font-weight: 200; font-size: 0.875rem; color: #F3F3F3;}





@media screen and (max-width:1200px){
    #header .top-bar, #header .menu-bar {padding: 0 var(--inner-padding-l);}
    #header #gnb_pc .ul-sub-menu {width: 170px;}

    
    #footer {padding: 40px 50px;}
}

@media screen and (min-width:993px){
    .mobile {display: none;}

    #header .menu-bar {height: 80px;}
    #header .logo {margin-right: 14px;}
    
    #header {transition: top .3s ease-in;}
    #header.shrink {top: -60px;}
    #header .top-bar {transition: all .3s ease-in;}
    #header.shrink .top-bar {visibility: hidden;}
}

@media screen and (max-width:992px){
    .pc {display: none;}
    .mobile {display: block; margin-left: auto;}

    #header .menu-bar {height: 70px;}
    #header .logo {height: 50px;}
}

@media screen and (max-width:768px){
    #footer {padding: 40px;}
}

@media screen and (max-width:480px){
    #footer {padding: 30px 12px;}
}