
/*===========================================================================
	FONT
============================================================================*/
/* 폰트 */
@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('../fonts/Pretendard-Thin.otf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('../fonts/Pretendard-ExtraLight.otf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/Pretendard-Light.otf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Pretendard-Regular.otf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/Pretendard-Medium.otf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/Pretendard-SemiBold.otf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/Pretendard-Bold.otf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('../fonts/Pretendard-ExtraBold.otf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('../fonts/Pretendard-Black.otf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'xeicon';
    font-style: normal;
    src: url('../fonts/xeicon.ttf') format("truetype");
    font-display: swap;
}


/*===========================================================================
	CSS 초기화
============================================================================*/
* {font-family: 'Pretendard', sans-serif;  box-sizing:border-box; margin:0; padding:0; font-weight: normal;}
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, em, img, strong, b, i, dl, dt, dd, ol, ul, li, form, label, legend, article, aside, footer, header, menu, nav, section, video, a {border:0; outline:0; font-size:100%; color:#333; line-height:1;}
body {line-height:1;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display:block;}
ul, ol, li {list-style:none; }
strong {display: inline-block;}
a {margin:0; padding:0; font-size:100%; }
table {border-collapse:collapse; border-spacing:0;}
input, select {vertical-align:middle; font-size: 16px;}
p {line-height:1.5; word-break: keep-all;}
img {width: 100%; object-fit: contain;}
input {outline:none;}
button {cursor:pointer; border: 0; outline: 0; background: none; font-size: 16px;}
a {text-decoration: none;}
textarea {resize: none;}


i {
    font-family: 'xeicon';
    font-style: normal;
    color: inherit;
    line-height: inherit;
}

/*===========================================================================
	Global
============================================================================*/

:root {
    /* 폰트 */
    --GmarketSansLight: 'GmarketSansLight',sans-serif; 
    --GmarketSansMedium:  'GmarketSansMedium' , sans-serif; 
    --GmarketSansBold:  'GmarketSansBold', sans-serif; 
    /* 칼라 */
    --1: #BB9202;
    --2: #0091f0;
}

.container { width: 100%; max-width: 1488px; margin: 0 auto; padding: 0 24px; }
.col-wrap { display: flex; flex-direction: column;}
.row-wrap { display: flex; flex-direction: row; }
.mb { display: none; }


.section-container {
    width: 100%;
    height: 100%;
}


@media screen and (max-width: 1080px) {
    .pc {
        display: none;
    }

    .mb {
        display: block;
    }
}

@media screen and (max-width: 1024px) {
    .container{ padding: 0 16px; }
}

 body.open-modal {
     overflow: hidden;
 }




/* ----------------

HEADER

----------------- */ 


#header {
    position: fixed;
    top: 0px;
    height: 80px;
    width: 100%;
    z-index: 998;
    text-align: center;
    color: #f2f2f2;
}

#header.main-header {
    background: #303030;
}

#header .container {
    max-width: unset;
    padding: 9px 80px 9px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

#header .logo-wrap {
    max-width: 343px;
}

#header .logo-b {
    display: none;
}

#header .ri-wrap {
    display: flex;
    align-items: center;
    gap: 97px;
}

#header .nav-list,
#header .nav-sns-list {
    display: flex;
    align-items: center;
}

/* 240716 */
#header .nav-list {
    gap: 48px;
    display: none;
}
/* // */

#header .nav-list .nav-item {
    position: relative;
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

#header .nav-list .nav-item:hover {
    font-weight: 800;
    color: #0745a0;
}

#header .nav-list .nav-item:hover::after{
   position: absolute;
   content: "";
   display: block;
   width: 100%;
   height: 2px;
   background-color: #0745a0;
   left: 0;
   bottom: -32px;
}

#header .nav-sns-list {
    gap: 10px;
}

#header .nav-sns-img {
    max-width: 40px;
}


/* 서브페이지 헤더  sub-header */
#header.sub-header {
    background: #f5f5f5;
    border-bottom: 1px solid #e4e4e4;
}

#header.sub-header .logo-w {
    display: none;
}

#header.sub-header .logo-b {
    display: flex;
}

#header.sub-header .nav-list {
    display: flex;
}


/* 첫번째 섹션이 아닐경우 header : ver2 클래스 추가 */
#header.ver2 .container {
    background: #f5f5f5;
}

#header.ver2 .nav-list {
    display: flex;
}

#header.ver2 .logo-w {
    display: none;
}

#header.ver2 .logo-b {
    display: flex;
}

/* 모바일 */

.mb-hd-wrap {
    display: none;
}


.mb-hd {
    display:block;
}


/* 햄버거 css */
.mb-hd .mb-hd-wrap {
    position: fixed;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #333333e6;
    display: none;
    justify-content: flex-end;
    z-index: 9999;
    height: 100vh;
}

 .mb-hd .scoll-wrap {
    height: 100%;
    padding-bottom: 24px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

 .mb-hd .mb-hd-wrap.open {
    display: flex;
}

 .mb-hd-wrap.open {
    display: flex;
}


 .mb-hd .mb-hd-box {
    width: 375px;
    background-color: #fff;
    box-shadow: -5px 0 5px 0 rgba(0, 0, 0, 0.3);
    position: relative;

}

 .mb-hd .mb-hd-box .mb-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 180px;
    background-color: #f4f5f8;
    border-bottom-right-radius: 64px;
    margin-bottom: 64px;
}

 .mb-hd .mb-header .mb-out-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 45px;
    line-height: 45px;
    border-bottom: 1px solid #e4e4e4e4;
    padding-right: 20px;
}

 .mb-hd .mb-header .mb-out-wrap i {
    font-size: 22px;
    color: #000;
    cursor: pointer;
}


 .mb-hd .mb-header .mb-login-wrap {
    display: flex;
    flex-direction: column;
    gap: 9.8px;
    padding-left: 32px;
    padding-top: 38px;
   width: 100%;
   height: 100%;
}

 .mb-hd .mb-login-wrap .mb-top-logo {
        max-width: 130px;
        height: 32px;
}

 .mb-hd .mb-login-wrap .mb-user-btn {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

 .mb-hd .mb-login-wrap .mb-user-btn .cir {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
}

 .mb-hd .mb-login-wrap .mb-user-btn .cir i {
    font-size: 12px;
    color: #fff;
}


 .mb-hd .mb-nav .mb-sm-nav-top {
    width: 100%;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
}

 .mb-hd .mb-nav .mb-sm-nav-top p,
 .mb-hd .mb-nav .mb-sm-nav-top a {
    color: #333;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
}

 .mb-hd .mb-nav .mb-sm-nav-top i {
    font-size: 12px;
    color: #333;
}

 .mb-hd .mb-nav .mb-sm-nav-top.active {
    background-color: #292f51;
}

 .mb-hd .mb-nav .mb-sm-nav-top.active a,
 .mb-hd .mb-nav .mb-sm-nav-top.active p {
    color: #fff;
}

 .mb-hd .mb-nav .mb-sm-nav-top.active i {
    color: #fff;
    transform: rotate(0.5turn);
}

.mb-hd .mb-nav .mb-sm-nav {
    flex-direction: column;
    background-color: #f5f5f5;
    display: none;
}

 .mb-hd .mb-nav .mb-sm-nav a {
    padding: 0 24px;
    font-size: 14px;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    line-height: 40px;
    color: #202020;
    letter-spacing: -0.35px;
}

 .mb-hd .mb-nav .instant a {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    color: #333;
    letter-spacing: -0.4px;
    font-weight: bold;
    border-bottom: 1px solid #efefef;
}

 .mb-hd .mb-nav .instant .counsel-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    color: #333;
    letter-spacing: -0.4px;
    font-weight: bold;
    border-bottom: 1px solid #efefef;
    font-size: 16px;
}

 .mb-hd .sns-wrap-mb {
    display: flex;
    gap: 16px;
    position: absolute;
    right: 24px;
    bottom: 24px;
}

.mb-hd .menubar-wrap {
    cursor: pointer;
}

 .mb-hd .close-btn {
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #292f51;
    position: absolute;
    top: 0;
    left: -56px;
}

 .mb-hd .close-btn i {
    font-size: 24px;
    color: #fff;
}


 .mb-btn-wrap {
     display: none;
 }

 /* 여기까지 */


/* 240716 */
@media screen and (max-width: 1720px) {
#header .ri-wrap {
    gap: 48px;
}

#header .nav-list {
    gap: 24px;
}

}

/* // */

@media screen and (max-width: 1580px) {
    #header .container{
        padding: 9px 40px 9px 40px;
    }

    /* 240716 */
    #header .ri-wrap {
        gap: 32px;
    }

    #header .nav-list {
        gap: 24px;
    }
    /* // */

    #header .logo-wrap {
        max-width: 248px;
    }
}

@media screen and (max-width: 1448px) {
    #header .container {
        padding: 9px 16px;
    }

    #header .ri-wrap {
        gap: 16px;
    }

    /* 240716 */
    #header .nav-list {
        gap: 12px;
    }
    /* // */

    #header .logo-wrap {
        max-width: 202px;
    }

    #header .nav-sns-img {
        max-width: 32px;
    }

    /* 240716 */
    #header .nav-list .nav-item {
        font-size: 14px;
    }
    /* // */

}

@media screen and (max-width: 1080px) {
#header {
    height: 45px;
    color: unset;
    background-color: #fff;
}


#header.ver2 .nav-list {
    display: none ;
}

#header .logo-b {
    display: flex;
}

#header .logo-w {
    display: none;
}

#header .container {
    padding: 12px 20px;
}

/* 23수정 */
#header.sub-header {
    background: unset;
    border-bottom: unset;
    background-color: #fff;
}
/* // */

#header .logo-wrap {
    max-width: 160px;
}

#header .nav-list,
#header.sub-header .nav-list,
 #header .nav-sns-list{
    display: none;
}

 #header .mb-btn-wrap {
    display: flex;
    gap: 10px;
 }

 #header .mb-btn-wrap .mb-btn {
    display: flex !important;
    font-size: 22px;
    color: #000;
 }
}




/* footer */
.footer {
    background-color: #000002;
    height: 196px;
    z-index: 9999;
}

/* 수정0227 */
.footer .container {
    padding: 48px 16px 0px;
    max-width: 1440px;
    margin: 0 auto;
}
/* // */

.footer p {
    color: #949494;
}

.footer .top-wrap {
    display: flex;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #fff;
}

.footer .top-wrap .info {
    font-size: 14px;
    line-height: 1.29;
}

.footer .top-le-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer .top-le-wrap img {
    max-width: 126px;
}

.footer .btm-wrap {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.footer .btm-ri-wrap {
    text-align: right;
}

.footer .list-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer .list-wrap .list-item {
    font-size: 14px;
    color: #f5f5f5;
}

.footer .btm-info {
    margin-top: 10px;
}

.footer .copy-info {
    font-size: 14px;
    color: #8f8f8f;
}

.footer select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 148px;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    height: 30px;
    padding: 0 15px;
    padding-right: 20px;
}

.footer select::-ms-expand {
    display: none;
}

.footer select {
    background: url('/images/arrow-down.png') no-repeat 90% 50%/18px auto;
}

.footer select option {
    font-size: 16px !important;
    color: #fff !important;
}


@media screen and (max-width: 1080px) {
    .footer {
        height: 330px;
    }

    .footer .container {
        padding: 40px 16px 0;
    }

    .footer .top-wrap {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 20px;
    }

    .footer .top-le-wrap {
        flex-direction: column;
        align-items: start;
        gap: 12px;
    }

    .footer .list-wrap {
        display: none;
    }

    .footer .btm-wrap {
        flex-direction: column;
        align-items: start;
        gap: 14px;
        margin-top: 20px;
    }

    .footer .top-le-wrap img {
        max-width: 75px;
    }

    .footer .top-wrap .info {
        font-size: 12px;
        line-height: 1.25;
    }

    .footer p {
        font-size: 12px;
    }

    .footer .btm-info {
        margin-top: unset;
        font-size: 12px;
    }
}


/* 새롭게 추가 */
#header .user-icon {
    font-size: 40px;
    color: #fff;
    margin-left: 20px;
}

#header.ver2 .user-icon {
    color: #303030;
}


#header.sub-header .user-icon {
    color: #303030;
}

@media screen and (max-width: 1448px) { 
    #header .user-icon {
        margin-left: 8px;
        font-size: 32px;
    }
}



.footer .select {
    width: 310px;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    height: 30px;
    display: flex;
}

.footer .related .group {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer .related .label {
    display: flex;
    align-items: center;
    width: 100%;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    position: relative;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    padding: 0 15px;
}

.footer .related .label::after {
    content: '';
    font-family: "xeicon";
    width: 1.4rem;
    height: 1.4rem;
    text-align: center;
    line-height: 1.4rem;
    position: absolute;
    right: 10px;
}

.footer .related .active .label::after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
} 

.footer .related .list {
    visibility: hidden;
    overflow: hidden;
    width: 0;
    height: 0;
    opacity: 0;
    font-size: 1.4rem;
    position: absolute;
    left: -2px;
    bottom: 30px;
    width: calc(100% + 3px) !important;
    margin-bottom: 2px;
    padding: 0 1rem;
    border: 1px solid #aaaa;
    background-color: #fff;
    color: #333;
    line-height: 2.5rem;
    z-index: 1;
}

.footer .related .list::after {
    display: block;
    height: 0.5rem;
    content: '';
}

.footer .related .list li {
    padding: .1rem 0;
}

.footer .related .list a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    position: relative;
    max-width: 100%;
    vertical-align: top;
    font-size: 1rem;
}

.footer .related .list a:hover {
   font-weight: bold;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.footer .related .active .list {
    visibility: visible;
    overflow: visible;
    width: auto;
    height: auto;
    opacity: 1;
    overflow: hidden;
    overflow-y: scroll;
    max-height: 280px;
    padding-top: 1rem;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

@media screen and (max-width: 357px) { 
    .footer .select {
        width: 100%;
    }
}