@charset "utf-8";

/* 공통 */
.inner {padding: 0 20px;max-width: 1520px;width: 100%;margin: 0 auto;}
.round-border {border-radius: 10px;overflow: hidden;}
.shadow {filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.13));}


/* 헤더 */
.navbar {border-bottom: 1px solid #eee;height: 85px;} 
.navbar-inner {width: 100%;height: 100%;padding: 0 20px;max-width: 1520px;margin: 0 auto;} 
.navbar .logo a {display: block;} 
.navbar .logo a img {width: auto;height: 100%;max-height: 45px;} 
.gnb {line-height: 1.1;} 
.gnb > ul > li {position: relative;z-index: 100;} 
.gnb > ul > li > a {display: block;font-size: 22px;font-weight: 500;padding: 0 25px;line-height: 85px;} 
.gnb > ul > li.on > a {color: var(--green);} 
.lnb {position: absolute;top: 85px;left: 50%;transform: translateX(-50%);width: 180px;background: var(--green);padding: 5px 0;opacity: 0;transition: all 0.3s ease;pointer-events: none;}
.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: #C9EAFC;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;}

/* mobile header */
.mobile-menu {display: none;}
.ham-btn {display: block;font-size: 40px;color: var(--green);}
.m-header {width: 100%; height: 85px; 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: auto; height: 100%;}
.m-header .m-logo a img {margin: auto;width: auto;height: 100%;max-height: 40px;}

.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(--green);}
.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(--green); 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(--green);}
@media screen and (max-width: 1200px) {
    .mobile-menu {display: block;}
    body.m-active {overflow-y: hidden;}
    .gnb {display: none;}
}

/* 공통 탭 스타일 */
/* .tab-list {display: flex;}
.tab-list > li {width: 100%;background: #aaaebb;border-right: 1px solid #fff;}
.tab-list > li:last-child {border-right: 0;}
.tab-list > li.on {background: #363f5e;}
.tab-list > li > a {display: block;width: 100%;font-size: 18px;font-weight: 500;text-align: center;padding: 16px 0;color: #fff;}
.tab-list > li.on > a {font-weight: 700;}
.tab-content {padding: 20px 30px;background: #fff;display: none;}
.tab-content.on {display: block;}
.tab-content > li {padding: 16px 0;border-bottom: 1px solid #eee;}
.tab-content > li:last-child {border-bottom: 0;}
.tab-content > li .date {font-size: 14px;color: #c5c5c5;font-weight: 700;}
.tab-content > li .title {font-size: 20px;color: #707070;font-weight: 500;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.tab-content > li.on .title {color: #313b46;font-weight: 700;} */

/* 푸터 */
.footer {background: #F2F3F8;font-size: 15px;color: var(--line-gray);font-weight: 500;letter-spacing: 0;}
.footer-inner {padding: 0 20px 50px;max-width: 1520px;width: 100%;margin: 0 auto;}
.footer-list {gap: 20px;}


@media screen and (max-width: 1540px) {
    .inner {max-width: none;}
}
@media screen and (max-width: 1024px) {
    .navbar-inner {padding: 0 20px;}
    .footer-logo {max-width: 100%;width: 200px;}
    .footer .left {align-items: flex-start;flex-direction: column;gap: 30px;}
    .footer-inner {flex-direction: column;align-items: flex-start;}
}
@media screen and (max-width: 768px) {
    .navbar {height: 80px;}
    .navbar .logo a img {max-height: 32px;}
    .ham-btn {min-width: auto;}
    .m-header {height: 80px;}
    .m-header .m-logo a img {max-height: 32px;}
    .ham-btn {font-size: 32px;}
    .ham-btn.active img {max-height: 80px;}
}
@media screen and (max-width: 480px) {
    .navbar {height: 64px;}
    .navbar .logo a img {max-height: 28px;}
    .ham-btn img {max-width: 64px;}
    .m-header {height: 64px;}
    .m-header .m-logo a img {max-height: 28px;}
    .ham-btn {font-size: 28px;}
}