@charset "utf-8";

/* 공통 */
.inner {padding: 0 20px;max-width: 1570px;width: 100%;margin: 0 auto;}

/* 헤더 */
.main .navbar {height: 100px;margin: 0 40px;} 
.main .navbar-inner {width: 100%;height: 100%;} 

.sub .navbar {height: 100px;} 
.sub .navbar-inner {padding: 0 20px;max-width: 1570px;width: 100%;height: 100%;margin: 0 auto;} 

.navbar .logo a {display: block;} 
.navbar .logo a img {width: auto;height: 100%;max-height: 56px;} 
.gnb {line-height: 1.1;} 
.gnb > ul > li {position: relative;z-index: 100;} 
.gnb > ul > li > a {display: block;font-size: 20px;padding: 0 25px;line-height: 100px;color: var(--black);} 
.gnb > ul > li.on > a {color: var(--brand);} 
.lnb {position: absolute;top: 100px;left: 50%;transform: translateX(-50%);width: 180px;background: var(--brand);padding: 5px 0;opacity: 0;transition: all 0.3s ease;pointer-events: none;border-radius: 10px;overflow: hidden;filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.13));}
.gnb > ul > li.on > .lnb {opacity: 1;pointer-events: auto;}
.lnb > ul > li {padding: 16px 20px;}
.lnb > ul > li > a {display: block;width: fit-content;font-weight: 500;color: var(--white);text-align: center;transition: all 0.3s ease;position: relative;margin: 0 auto;}
.lnb > ul > li > a::after {content: '';display: block;width: 0;height: 10px;position: absolute;left: 50%;top: 50%;background: #fff;z-index: -1;transition: all .3s ease;transform: translateY(-50%);opacity: 0.3;}
.lnb > ul > li:hover > a::after {width: calc(100% + 10px);left: -5px;}

.member-btn {display: flex;gap: 10px;}
.member-btn a.m-btn {display: block;font-size: 13px;width: 30px;height: 30px;line-height: 30px;text-align: center;border: 1px solid var(--brand);border-radius: 50%;color: var(--brand);background: var(--white);transition: all .3s;}
.member-btn a.m-btn:hover {color: var(--white);background: var(--brand);transition: all .3s;}

.member-btn .mypage-btn {position: relative;}
.member-btn .mypage-btn .bubble {white-space: nowrap;color: var(--dgray) !important;font-size: 14px;line-height: 20px;padding: 6px 12px;border-radius: 6px;background: #fff;position: absolute;right: 0;bottom: -12px;transform: translate(0, 100%);box-shadow: 0 4px 16px 0 rgba(0, 0, 0, .15);}
.member-btn .mypage-btn .bubble b {color: var(--black) !important;}
.member-btn .mypage-btn .bubble::before {content: '';width: 0;height: 0;display: block;border-bottom: 6px solid #fff;border-top: 6px solid transparent;border-left: 5px solid transparent;border-right: 5px solid transparent;position: absolute;top: -12px;right: 10px;}

.hd-searchBox {width: 200px;height: 30px;border-bottom: 1px solid var(--brand);margin-right: 10px;}
.hd-lst-src-ip {width: 100%; height: 30px; padding-right: 13px; font-size: 14px; outline: none;}
.hd-btn {height: 30px;color: var(--brand);font-size: 13px;transition: .3s;cursor: pointer;}

/* mobile header */
.mobile-menu {display: block;}
.ham-btn {display: block;font-size: 32px;color: var(--brand);margin-left: 26px;}
.ham-btn.actice {margin-left: 0;}
.m-header {width: 100%; height: 100px; padding: 0 20px; display: flex; justify-content: space-between; border-bottom: 1px solid #ddd;align-items: center;}
.m-header .m-logo a {display: flex; justify-content: space-between; width: 100%; height: 48px;}
.m-header .m-logo a img {margin: auto;width: auto;height: 100%;}

.m-menu-wrap {position:fixed; top:0; right:0; width:100%; height:100%; background-color:rgba(0,0,0,0); visibility:hidden; transition: .5s;z-index: 200;}
.m-menu-wrap.active {background-color:rgba(0,0,0,0.6); visibility:visible;}

.m-menu {position:fixed; top:0; right:-75%; width:75%; height:100%; padding-bottom:15px; background-color:#fff;transition:right .5s;max-width: 640px; }
.m-menu-wrap.active .m-menu {right:0;}
.m-menu .m-inner {height: calc(100% - 70px); overflow-y: auto;}
.m-menu .menu-wrap ul > li.active > a {position: relative; color: var(--blue);}
.m-menu .menu-wrap .one-depth-menu > li > a:not(:only-child)::before {content: ''; position: absolute; top: 50%; right: 7.5px; transform: translateY(-50%); width: 16px; height: 2px; background-color: #616161; transition: .3s;}
.m-menu .menu-wrap .one-depth-menu > li > a:not(:only-child)::after {content: ''; position: absolute; top: 50%; right: 14px; transform: translateY(-50%); width: 2px; height: 16px; background-color: #616161; transition: .3s;}
.m-menu .menu-wrap ul > li.active > a:not(:only-child)::before {background-color: var(--blue); transition: .3s;}
.m-menu .menu-wrap ul > li.active > a:not(:only-child)::after {opacity: 0; transition: .3s;}
.m-menu .menu-wrap .one-depth-menu {width: 100%; padding: 0 15px;}
.m-menu .menu-wrap .one-depth-menu > li {padding: 11px 0; font-size: 16px; font-weight: 500;}
.m-menu .menu-wrap .one-depth-menu > li:not(:last-of-type) {border-bottom:1px solid #ddd;}
.m-menu .menu-wrap .one-depth-menu > li > a {display: block; position: relative; width: 100%; padding: 8px 0; font-size: 16px;text-transform: capitalize;}
.m-menu .menu-wrap .two-depth-menu {display:none; width: 100%; padding: 11px 0 0; margin-top: 11px;}
.m-menu .menu-wrap .one-depth-menu li.active .two-depth-menu {display:block; border-top: 1px solid #ddd;}
.m-menu .menu-wrap .two-depth-menu > li > a {display: block; width: 100%; padding: 8px 0; font-size: 15px; line-height: 19px; color: #000;text-transform: capitalize;}
.m-menu .menu-wrap .m-btn_global {padding-top: 10px !important;display: flex !important;gap: 7px;align-items: center;}
.m-menu .menu-wrap .m-btn_global span {font-size: 16px;font-weight: 500;color: var(--blue);}


/* 푸터 */
.main .footer {padding: 0 40px;background: var(--dgray);} 
.main .footer-inner {width: 100%;height: 100%;padding: 60px 0 70px;display: flex;justify-content: space-between;align-items: flex-start;} 

.sub .footer {background: var(--dgray);} 
.sub .footer-inner {max-width: 1570px;width: 100%;margin: 0 auto;padding: 60px 20px 70px; display: flex;justify-content: space-between;align-items: flex-start;} 

.footer-logo {max-width: 270px;width: 100%;height: auto;}
.footer-inner .right {text-align: right;} 
.footer-link {display: flex;column-gap: 10px;align-items: center;justify-content: flex-end;}
.footer-link a {font-size: 16px;color: #eee;}
.footer-info {display: flex;gap: 0 20px;flex-wrap: wrap;justify-content: flex-end;margin-top: 10px;}
.footer-info li {letter-spacing: 0;font-weight: 300;font-size: 16px;color: #eee;}
.footer .copy {letter-spacing: 0;font-weight: 300;font-size: 14px;color: var(--line-gray);margin-top: 16px;text-transform: uppercase;}

@media screen and (max-width: 1650px) {
    .inner {max-width: none;padding: 0 40px;}
}
@media screen and (max-width: 1300px) {
    body.m-active {overflow-y: hidden;}
    .gnb {display: none;}
    .ham-btn {margin-left: 16px;font-size: 28px;}
}
@media screen and (max-width: 1024px) {
    .main .footer-inner {flex-direction: column;row-gap: 20px;padding: 40px 0 50px;}
    .sub .footer-inner {flex-direction: column;row-gap: 20px;padding: 40px 20px 50px;}
    .footer-inner .right {text-align: left;}
    .footer-link {justify-content: flex-start;}
    .footer-info {justify-content: flex-start;}
}

@media screen and (max-width: 900px) {
    .main .navbar {height: 80px;}
    .sub .navbar {height: 80px;}
    .navbar .logo a img {max-height: 32px;}
    .m-header {height: 80px;}
    .m-header .m-logo a img {max-height: 32px;}
}
@media screen and (max-width: 580px) {
    .hd-searchBox {display: none;}
}
@media screen and (max-width: 640px) {
    .main .navbar {margin: 0 20px;}
    .inner {padding: 0 20px;}
    .main .footer {padding: 0 20px;}
}
@media screen and (max-width: 480px) {
    .main .navbar {height: 64px;}
    .sub .navbar {height: 64px;}
    .navbar .logo a img {max-height: 28px;}
    .ham-btn img {max-width: 64px;}
    .m-menu {max-width: 300px;}
    .m-header {height: 64px;}
    .m-header .m-logo a img {max-height: 28px;}

    .main .footer-inner {padding: 30px 0;}
    .sub .footer-inner {padding: 30px 20px;}
    .footer-logo {width: 160px;}
    .footer-info {gap: 0 10px;}
    .footer-link a, .footer-info li, .footer .copy {font-size: 12px;}
}