@charset "utf-8";

/**************************************************
*
*   layout.css
*
***************************************************/
/* WRAP */
#wrap {/*min-height: 100dvh;*/ display: flex; flex-direction: column;}

/* header */
#hd {min-height: 80px; padding: 12px 20px;}
#hd h1 {font-size: 25px; color: #1d1d1d; font-weight: 800;}
#hd .mobile-menu-open {flex-shrink: 0;}
#hd .total-srch-btn {flex-shrink: 0; margin-left: auto;}

/* 통합검색 */
.main-mob-srch-box {width: 100%; height: 100dvh; position: fixed; top: 0; left: 0; z-index: 10; background: #fff; display: none;}
.main-mob-srch-box.open {display: block;}
.main-mob-srch-box p {font-size: var(--title-l-700); font-weight: 700;}
.main-mob-srch-box .btn-cls {width: 24px; height: 24px; background: url(../img/common/icon_x_light.svg) no-repeat center; background-size: 24px; margin-left: auto; margin-bottom: 12px;}
.main-mob-srch-box .srch-top {display: flex; flex-direction: column; padding: 32px 20px; border-bottom: 1px solid var(--career--gray-40);}
.main-mob-srch-box .srch-top p {margin-bottom: 12px;}
.main-mob-srch-box .srch-bt {display: flex; flex-direction: column; padding: 40px 20px; gap: 24px;}
.main-mob-srch-box .popular-srch-list {display: flex; flex-wrap: wrap; gap: 12px;}
.main-mob-srch-box .popular-srch-list li a {display: flex; align-items: center; gap: 2px; padding: 5px 12px; border: 1px solid var(--career--gray-40); border-radius: 50px;}
.main-mob-srch-box .popular-srch-list li a:hover {background: var(--career--gray-10);} 
.main-mob-srch-box .popular-srch-list li a::before {content: '\0023'; font-weight: 400; font-size: 17px;}

.total-srch-box {width: 100%; height: 56px; display: flex; align-items: center; justify-content: space-between; border-radius: 8px; background: #fff; border: 1px solid #717171; padding-right: 20px;}
.total-srch-box input {width: calc(100% - 50px); height: 100%; border: none; padding: 0 20px; border-radius: 8px;}
.total-srch-box input:focus-visible {outline: none;}
.total-srch-box input::placeholder {font-size: 18px; color: #888;}
.total-srch-box .btn-srch {width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: url(../img/main/icon_totalSrch.svg) no-repeat center; background-size: 20px;}



#hd.sub {display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid #D9D9D9;}
#hd.sub .title-box {display: flex; align-items: center; gap: 15px;}
#hd.sub .link-to-prev-page {flex-shrink: 0;}

#hd.main {display: flex; justify-content: space-between; align-items: center; gap: 20px;}
#hd.main h1 a {display: block;width: 135px;}


/* footer */
#ft {border-top: 1px solid #ddd;}
.ft-link-list {display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 0; font-size: 16px; padding: 22px 20px;}
.ft-link-list li {display: flex; align-items: center;}
.ft-link-list li.border::after {content: ''; display: block; width: 1px; height: 16px; background: #d9d9d9;}
/* .ft-link-list li:first-of-type {border-left: 0;}
.ft-link-list li:last-of-type {border-left: 0;} */
.ft-link-list li a {display: block; text-align: center; padding: 0 12px; color: #777; font-weight: 500;}
.ft-link-list li a.accent {color: #3E78E6; font-weight: 700;}
#ft-bot {padding: 26px 20px; display: flex; flex-direction: column; gap: 32px; align-items: center;}
#ft-bot .txt-box {font-size: 16px; color: #555; text-align: center;}
#ft-bot .txt-box p {font-weight: 500;}
#ft-bot address {}
#ft-bot .img-list {display: flex; align-items: center; justify-content: center; gap: 10px 26px;}

#ft-bot {padding: 26px 20px; border-top: 1px solid #ddd; color: #777;}
#ft-bot .copyright {font-size: 15px; margin-top: 16px;}
#ft-bot .sns-list {margin-top: 32px; display: flex; gap: 13px;}
#ft-bot .txt-box button::after{content:''; display: inline-block; width: 16px; height: 16px; background:url(../img/common/icon_copy.png) no-repeat; vertical-align: middle; margin-bottom: 2px;}

/* 패밀리 사이트 */
.ft-family-site {position: relative; width: 100%;}
.ft-family-site .family-toggle {font-size: var(--body-m-400); width: 100%; height: 53px; display: flex; align-items: center; justify-content: center; gap: 24px; font-weight: 600; color: #333; padding: 20px; border: 1px solid #ddd; cursor: pointer;}
.ft-family-site .family-toggle::after {content: ''; width: 13px; height: 13px; background: url(../img/common/icon_plus_bold.svg) no-repeat center;}
.ft-family-site .family-menu {position: absolute; bottom: 100%; left: 0; width: 100%; background: #fff; border: 1px solid var(--career--gray-40); display: none;}
.ft-family-site.open .family-menu {display: block;}
.ft-family-site .family-menu a {display: block; font-size: var(--body-s-400); padding: 12px 20px;}
.ft-family-site .family-menu a:hover {background: var(--career--secondary-5);}



/* 모바일 메뉴 */
#gnb-wrap {width: 100%; height: 100dvh; position: fixed; top: 0; left: 100%; background-color: #fff; z-index: 1000; display: flex; flex-direction: column; transition: left 0.5s;}
#gnb-wrap.active {left: 0;}
#gnb-wrap .gnb-hd {border-bottom: 1px solid #d8d8d8;}

#gnb-wrap .gnb-hd .box-01 {display: flex; justify-content: space-between; align-items: center; background: #3C73D3; padding: 20px 24px;}
#gnb-wrap .gnb-hd .box-01 .lb {width: calc(100% - 40px); display: flex; align-items: center; gap: 12px;}
#gnb-wrap .gnb-hd .box-01 .lb .account-card p {color: #fff; font-size: var(--title-s-700); font-weight: 600; letter-spacing: normal; word-break: break-all;}
#gnb-wrap .gnb-hd .box-01 .lb .account-card p span {color: #A4C5FF; font-size: var(--body-s-700); font-weight: 400; letter-spacing: normal;}
#gnb-wrap .gnb-hd .box-01 .lb .account-card > span {display: block; color: #A4C5FF; font-size: var(--body-s-700); font-weight: 400; letter-spacing: normal;}
#gnb-wrap .gnb-hd .box-01 .lb .account-card + a {margin-left: auto;}
#gnb-wrap .gnb-hd .box-01 .lb a.home {font-size:0; position: relative; width:38px; height:38px; padding:0; background-color:transparent;}
#gnb-wrap .gnb-hd .box-01 .lb a.home:before {display:inline-block; content:''; width:38px; height:38px; background:url(../img/common/icon_home2.svg) no-repeat center center; background-size:100% auto;}
#gnb-wrap .gnb-hd .box-01 .lb a {display: block; padding:5px 13px; border-radius: 8px; background: #5988DA; color: #fff; text-align: center; font-size:15px;}
#gnb-wrap .gnb-hd .box-01 .btn-cls {background: transparent; filter: invert(10) brightness(5);}

#gnb-wrap .gnb-hd .link-list {display: grid; /* grid-template-columns: repeat(2, 1fr); */}
#gnb-wrap .gnb-hd .link-list.half {display: grid; grid-template-columns: repeat(2, 1fr);}
#gnb-wrap .gnb-hd .link-list li a {display: flex; align-items: center; justify-content: center; gap: 16px; color: #fff; padding: 16px 0; letter-spacing: normal; background: #3464B8; border-right: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); background-size: cover;}
#gnb-wrap .gnb-hd .link-list li a.my-info::before {content: ''; display: block; width: 15px; height: 22px; background: url(../img/common/icon_my_info.svg) no-repeat center;}
#gnb-wrap .gnb-hd .link-list li a.my-test::before {content: ''; display: block; width: 22px; height: 22px; background: url(../img/common/icon_my_test.svg) no-repeat center;}
#gnb-wrap .gnb-hd .link-list li a.my-consult::before {content: ''; display: block; width: 22px; height: 22px; background: url(../img/common/icon_my_consult.svg) no-repeat center;}
#gnb-wrap .gnb-hd .link-list li a.my-interest::before {content: ''; display: block; width: 20px; height: 22px; background: url(../img/common/icon_my_interest.png) no-repeat center;}


#gnb-wrap .gnb-body {display: flex; flex: 1 0 0; overflow: auto;}
#gnb-wrap .gnb-body .dep-list-01 {flex-shrink: 0; width: 140px; background-color: #EDF1F5; font-size: 17px; font-weight: 800;overflow: auto;}
#gnb-wrap .gnb-body .dep-list-01 >li {background-color: #EDF1F5;}
#gnb-wrap .gnb-body .dep-list-01 a {min-height: 64px; padding: 12px 24px; display: flex; align-items: center; justify-content: center; text-align: center; transition: none;}
#gnb-wrap .gnb-body .dep-list-01 a.active {color: #3464B7; background: #fff url(../img/common/ic_cpt_arrow_right_blue.svg) no-repeat right 12px center;}
#gnb-wrap .gnb-body .menu-wrap {width: 100%; padding: 0 24px; font-size: 17px; color: #1d1d1d; display: flex; flex-direction: column; height: 100%; overflow: auto; scroll-behavior: smooth;}
#gnb-wrap .gnb-body .menu-box {border-bottom: 1px solid #d9d9d9;}
#gnb-wrap .gnb-body .menu-box:last-of-type {border-bottom: 0;}
#gnb-wrap .gnb-body .menu-box .dep-title-01 {padding: 18px 0 8px 0; font-weight: 800;}

#gnb-wrap .gnb-body .menu-box .dep-list-02 {padding-bottom: 12px;}
#gnb-wrap .gnb-body .menu-box .dep-02 {padding: 8px 0; display: flex; align-items: center; gap: 8px; border-radius: 8px;}
#gnb-wrap .gnb-body .menu-box .dep-02::before {content: ''; display: block; width: 4px; height: 4px; background: #3C73D3; border-radius: 50%;}
#gnb-wrap .gnb-body .menu-box .dep-02:hover {text-decoration: underline;}
#gnb-wrap .gnb-body .menu-box .dep-02:has(+ .dep-list-03) {padding-right: 25px; background: url('../img/common/icon_angle_down.svg') no-repeat center right;}
#gnb-wrap .gnb-body .menu-box .dep-02.active {background-color: #EDF1F5;}
#gnb-wrap .gnb-body .menu-box .dep-02.active:has(+ .dep-list-03) {background: #EDF1F5 url("../img/common/icon_angle_up_02.svg") no-repeat center right;}

#gnb-wrap .gnb-body .menu-box .dep-03 {padding: 14px 16px; display: block; position: relative; border-radius: 8px;}
#gnb-wrap .gnb-body .menu-box .dep-03::before {content: ""; width: 4px; height: 4px; border-radius: 50%; background-color: var(--career--gray-80); position: absolute; top: 24px; left: 0;}
#gnb-wrap .gnb-body .menu-box .dep-03.active {background-color: #EDF1F5;}
#gnb-wrap .gnb-body .menu-box .dep-list-03 {display: none;}
#gnb-wrap .gnb-body .menu-box .dep-list-03.active {display: block;}
#gnb-wrap .gnb-body .hidden-menu-wrap {width: 100%; height: 100dvh; position: fixed; top: 0; left: 100%; background-color: #fff; z-index: 1100; display: flex; flex-direction: column; transition: left 0.5s;}
#gnb-wrap .gnb-body .hidden-menu-wrap.active {left: 0;}
#gnb-wrap .gnb-body .hidden-menu-hd-box {flex-shrink: 0; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;}
#gnb-wrap .gnb-body .hidden-menu-list {flex: 1 0 0; overflow: auto; color: #1d1d1d; padding: 0 24px; font-size: 17px;}
#gnb-wrap .gnb-body .dep-title-03 {padding: 16px 0; font-weight: 800;}

#gnb-wrap .gnb-body .dep-list-04 {}
#gnb-wrap .gnb-body .dep-04 {padding: 14px 16px 14px 28px; display: block; position: relative; border-radius: 8px;}
#gnb-wrap .gnb-body .dep-04.active {background-color: #EDF1F5; color: #003675; font-weight: 800;}
#gnb-wrap .gnb-body .dep-04::before {content: ""; width: 4px; height: 4px; background-color: var(--career--gray-80); border-radius: 50%; position: absolute; top: 24px; left: 14px;}

/* Content */
#content {flex-grow: 1; overflow-x: hidden;}

@media screen and (max-width: 360px) {
    #gnb-wrap .gnb-hd .box-01 .lb {flex-wrap: wrap;}
    #gnb-wrap .gnb-hd .box-01 .lb .account-card + a {margin-left: 0;}

    #gnb-wrap .gnb-hd .link-list li a {font-size: var(--body-s-700); gap: 4px;}
    #gnb-wrap .gnb-hd .link-list li a::before {width: 15px !important; height: 15px; background-size: 15px !important;}
}


/* 서브페이지 헤더 메뉴 */
#hd.sub {border-color:#e5e5e5;}
#hd.sub h1 {display: inline-flex; align-items: center; gap: 12px;}
#hd.sub h1::after {content: ''; display: block; width: 18px; height: 18px; background: url(../img/common/ic_cpt_arrow_right_blue.svg) no-repeat center; background-size: 8px; transform: rotate(90deg); filter: grayscale(10);}
#hd.sub h1.nomenu::after {content: none;}
#hd.sub h1.active::after {content: ''; display: block; width: 18px; height: 18px; background: url(../img/common/ic_cpt_arrow_right_blue.svg) no-repeat center; background-size: 8px; transform: rotate(-90deg); filter: none;}
#hd.sub h1.active.nomenu::after {content: none;}
.mob-hd-menu-wrap {}
.mob-hd-menu {width:auto; min-width:50%; background:#fff; position:absolute; z-index:5; left:50%; transform:translateX(-60%); display:none; padding:16px 0; box-shadow:none; border:1px solid #d9d9d9; border-radius:10px; margin-top:-10px;}
.mob-hd-menu.active {display: block;}
.mob-hd-menu li a {display: block; padding:7px 40px 8px 45px; font-size: var(--body-l-700); font-weight: 600; position:relative; display:block; white-space:nowrap;}
.mob-hd-menu li a:focus {color: var(--career--primary);}
.mob-hd-menu li a:before {display:inline-block; content:''; width:5px; height:5px; background-color:#246BEB80; border-radius:50%; top:50%; left:30px; transform:translateY(-50%); position:absolute;}
