/*
  hmn 전체메뉴(사이드바) 전용 CSS.
  AS-IS /css/common.css(원본 css2/common.css) 에서 사이드바(.sidemenu-wrap/.gnb-*) 규칙만 발췌.
  - 전역 오염 방지: 토대(reset/버튼) 규칙은 .sidemenu-wrap 하위로 스코프.
  - rem 의존 제거: AS-IS 는 html{font-size:62.5%}(1rem=10px) 전제 → hmn 전역을 바꾸지 않으려 px 로 환산.
  - 이미지 경로: 원본의 ../images → 런타임 절대경로 /images 로 변경.
  ※ 사이드바 하단 회사정보/SNS(.side-footer-*) 는 common.css 에 없어(타 CSS) 제외 → 그 영역은 미적용.
*/

/* ---- 사이드바 내부 토대(스코프) ---- */
.sidemenu-wrap, .sidemenu-wrap * { box-sizing: border-box; }
.sidemenu-wrap, .sidemenu-wrap p, .sidemenu-wrap ul, .sidemenu-wrap li,
.sidemenu-wrap button, .sidemenu-wrap nav, .sidemenu-wrap div { margin: 0; padding: 0; }
.sidemenu-wrap ul, .sidemenu-wrap li { list-style: none; }
.sidemenu-wrap a { color: inherit; text-decoration: none; }
.sidemenu-wrap button { border: 0; background: transparent; cursor: pointer; font: inherit; color: inherit; }
.sidemenu-wrap .blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* 버튼 유틸(발췌, 스코프) */
.sidemenu-wrap .btn { display: inline-block; font-weight: 400; line-height: 1.2; width: 100%; height: 49px; padding: 0 15px; text-align: center; letter-spacing: -.01em; border: 1px solid; border-radius: 0; }
.sidemenu-wrap .btn-sm { line-height: 26px; height: 28px; font-weight: 400; font-size: 12px; }
.sidemenu-wrap .btn-type06 { width: auto; color: #999; background: #fff; border-color: #ccc; border-radius: 14px; }
.sidemenu-wrap .btn-ico { display: inline-block; padding: 0; border: 0; background-color: transparent; background-repeat: no-repeat; background-position: 50% 50%; }
.sidemenu .sm-top-btn .btn-ico { height: 100%; background-repeat: no-repeat; }
.sidemenu .sm-btn .btn-home { width: 42px; height: 100%; background: url('/images/common/btn_home_new.png') no-repeat center/24px; }

/* ---- 전체메뉴 22.09.30 디자인 리뉴얼 (common.css 1962~2019 발췌, rem→px, 이미지경로 보정) ---- */
.sidemenu-wrap { position: fixed; inset: 0; z-index: 9999; visibility: hidden; transition: visibility 0s .3s; }
.sidemenu-wrap.on { visibility: visible; transition: visibility 0s 0s; }
.sidemenu { position: fixed; top: 0; right: 0; width: 100%; height: 100%; background: #fff; transform: translateX(100%); transition: transform .3s ease; }
.sidemenu-wrap.on .sidemenu { transform: translateX(0); }
.gnb-wrap { height: 100%; margin-top: 40px; overflow-y: auto; }
.gnb-wrap .gnb-top .top-info { padding: 20px 10px 0 23px; }
.gnb-wrap .gnb-top .profile { display: flex; justify-content: space-between; }
.gnb-wrap .gnb-top .top-info .pf-hello { font-weight: 500; font-size: 20px; color: #222; }
.gnb-wrap .top-info .profile .pf-name { align-self: start; padding-right: 17px; font-weight: 400; font-size: 20px; color: #222; background: url('/images/common/arrw_right06.svg') no-repeat center right/8px; }
.gnb-wrap .top-info .profile .pf-name span { font-weight: 500; font-size: inherit; color: inherit; }
.gnb-new .sm-btn { display: flex; align-items: center; }
.gnb-new .sm-btn .btn-type06 { flex: 0 0 auto; white-space: nowrap; height: 23px; line-height: 1; padding: 0 10px; margin-right: 2.8%; font-size: 13px; color: #666; border-color: #afafaf; }
.gnb-wrap .work { margin-top: 2.6%; font-weight: 400; font-size: 13px; color: #666; }
.gnb-wrap .gnb-top .top-info .work > a { margin-left: 3px; line-height: inherit; font-weight: 500; font-size: 13px; color: #009edb; text-decoration: underline; }
.gnb-new .gnb-top .btn-gnb-menu { display: flex; margin-top: 20px; background: url('/images/common/bg_gnb1.png') no-repeat 0/cover; }
.gnb-new .btn-gnb-menu button { display: flex; flex: 1; justify-content: center; align-items: center; padding: 16px 0; }
.gnb-new .gnb-top .btn-gnb-menu button:before { content: ''; display: block; width: 28px; height: 28px; margin-right: 5px; border-radius: 50%; background-repeat: no-repeat; background-position: 50% 50%; background-color: rgba(17, 133, 214, .5); }
.gnb-new .gnb-wrap .gnb-top .btn-gnb-cs:before { background-image: url('/images/common/ico_sm_cs.png'); background-size: 18px auto; }
.gnb-new .gnb-wrap .gnb-top .btn-gnb-sign:before { background-image: url('/images/common/ico_sm_sign.png'); background-size: 15px auto; }
.gnb-new .gnb-wrap .gnb-top .btn-gnb-terms:before { background-image: url('/images/common/ico_sm_set.png'); background-size: 16px auto; }
.gnb-new .gnb-top .btn-gnb-menu span { font-weight: 500; font-size: 13px; color: #fff; line-height: 28px; text-align: center; }

.gnb-wrap .gnb-menu { padding: 10px 20px 50px; background: #f8f8f8; border-top: 1px solid #ccc; }

.gnb-menu .depth2 a { position: relative; display: block; padding: 12px 25px 12px 20px; text-align: left; background: url('/images/common/arrw_right08.png') no-repeat right 25px center/7px; }
.gnb-menu .depth2 span { font-weight: 400; font-size: 14px; }
@media (max-width: 320px) {
	.gnb-menu .depth2 a { padding: 12px 12.5% 12px 10.4%; background-position: right 12.5% center; }
}

.gnb-new .gnb-wrap { margin-top: 0; }
.gnb-new .sm-btn .btn-home { width: 36px; height: 24px; background-image: url(/images/common/btn_home_new.png); background-size: 24px; }
.gnb-new .sm-btn .btn-close { width: 30px; height: 24px; background-image: url(/images/common/btn_sm_del_new.png); background-size: 16px; }
.gnb-new .gnb-wrap .gnb-top .top-info .profile > a { text-align: left; }
.gnb-new .gnb-wrap .gnb-top .top-info .work > p > a { font-weight: 500; color: #009edb; text-decoration: underline; }
.gnb-new .gnb-wrap .gnb-top .top-info .profile .pf-hello { font-size: 18px; }
.gnb-new .gnb-wrap .gnb-menu { overflow: hidden; position: relative; padding: 0; font-size: 0; background: #fff; }

.sidemenu-wrap.gnb-new .gnb-wrap .gnb-menu .gnb-n { position: relative; width: 100%; }
.sidemenu-wrap.gnb-new .gnb-wrap .gnb-menu .gnb-n > li { overflow: hidden; border-bottom: 1px solid #efefef; background-color: #f6f6f6; }
.gnb-new .gnb-wrap .gnb-menu .depth1 { display: block; float: left; width: 44.8%; max-width: 484px; height: 37px; margin-top: 15px; padding: 0 20px 0 25px; line-height: 37px; border-bottom: 0; text-align: left; letter-spacing: -1px; font-size: 15px; color: #222; font-weight: 500; }
@media (max-width: 320px) {
	.gnb-new .gnb-wrap .gnb-menu .depth1 { padding: 0 5.6% 0 6.6%; }
}
.gnb-new .gnb-wrap .gnb-menu .depth1 span { font-weight: 500; font-size: 15px; color: #222; }
.gnb-new .gnb-wrap .gnb-menu .depth2 { display: block; float: left; width: 55.2%; border-bottom: 0; padding: 12px 0; background: #fff; }
.gnb-new .gnb-wrap .gnb-menu .depth2 span { color: #333; }
.gnb-new .gnb-wrap .gnb-menu .depth2 .on > span { font-weight: 500; color: #009edb; }
.gnb-new .gnb-wrap .gnb-menu .depth2 .on { background-image: url('/images/common/btn_txticon03.png'); }
