/* 폰트 */
@font-face {
    font-family: 'Pretendard-Thin';
    src: url('/public/font/Pretendard-Thin.woff');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard-ExtraLight';
    src: url('/public/font/Pretendard-ExtraLight.woff');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard-Light';
    src: url('/public/font/Pretendard-Light.woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard-Regular';
    src: url('/public/font/Pretendard-Regular.woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard-Medium';
    src: url('/public/font/Pretendard-Medium.woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard-SemiBold';
    src: url('/public/font/Pretendard-Thin.woff');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard-Bold';
    src: url('/public/font/Pretendard-Bold.woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard-ExtraBold';
    src: url('/public/font/Pretendard-ExtraBold.woff');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard-Black';
    src: url('/public/font/Pretendard-Black.woff');
    font-weight: 900;
    font-display: swap;
}

/* 백그라운드 색상 */
.bg_default{background-color: #fff; color: #333; border: 1px solid #ddd;}
.bg_gray{background-color: #ddd; color: #222; border: 1px solid #ddd;}
.bg_green{background-color: #4d806c; color: #fff; border: 0;}
.bg_blue{background-color: #1950b4; color: #fff; border: 0;}
.bg_save{background-color: #4f77cc; color: #fff; border: 0;}
.bg_delete{background-color: #555; color : #fff; border: 0;}
.bg_navy{background-color: #003169; color : #fff; border: 0;}
.bg_yellow{background-color: #eeff00; color: #111; border: 0;}
.bg_red{background-color: #ff0000; color: #fff; border: 0;}


/* 선 색상 */
.top_line{border-top: 1px solid #eee;}
.bottom_line_d{border-bottom: 3px dotted #ddd;}


/* 텍스트 색상 */
.txt_blue{color: #0073df;}
.txt_red{color: red;}
.txt_white{color: #fff !important;}
.txt_green{color: #00ac42 !important;}
.txt_gray{color: #acacac;}
.txt_black{color: #111 !important;}
.txt_charcoal{color: #777;}
.txt_navy{color: #000080;}

/* 패딩 값 공통 */
.p4{padding: 4px !important;}
.p8{padding: 8px;}
.pt50{padding-top: 50px;}
.pt10{padding-top: 10px;}
.pl0{padding-left: 0px !important;}
.pl11{padding-left: 11px !important;}
.pl33{padding-left: 33px !important;}

/* 가로 크기 공통 */
.w100{width: 100% !important;}
.w80{width: 80%;}
.w50{width: 50%;}
.w30{width: 30%;}

/* 폰트 크기 공통 */
.f13{font-size: 13px; letter-spacing: -1px;}
.f14{font-size: 14px; letter-spacing: -1px;}
.f15{font-size: 15px;}
.f18{font-size: 18px;}
.fw900{font-weight: 900;}
.txtcen{text-align: center !important;}
.txtstart{text-align: start !important;}

/* 마진값 공통 */
.mt70{margin-top: 70px;}
.mt6{margin-top: 6px !important;}
.mt10{margin-top: 10px !important;}
.mt12{margin-top: 12px !important;}
.mt20{margin-top: 20px !important;}
.mmt5{margin-top: -5px !important;}
.mb0{margin-bottom: 0px !important;}
.mb5{margin-bottom: 5px !important;}
.mb10{margin-bottom: 10px !important;}
.mmb20{margin-bottom: -20px !important;}
.ml0{margin-left: 0px !important;}
.ml10{margin-left: 10px !important;}
.ml22{margin-left: 22px !important;}
.ml33{margin-left: 33px !important;}
.ml44{margin-left: 44px !important;}
.ml66{margin-left: 66px !important;}
.ml88{margin-left: 88px !important;}
.g6{gap: 6px !important;}


input[type='checkbox']{
    cursor: pointer;
}
label{
    cursor: pointer;
}

/* 초기화 */
* {margin: 0; padding: 0; box-sizing: border-box;}
li{list-style: none;}
a{text-decoration: none; color: #000;}
img{vertical-align: top;}
button{cursor: pointer;}

.text {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: strict;
}
.beca_txt{
    font-size: 18px;
}
@media screen and (max-width: 768px){
    .beca_txt{
        font-size: 16px;
        letter-spacing: -1px;
    }
}

/* 컨테이너 */
.container{
    width: 100%;
    font-family: 'Pretendard';
    font-weight: 500;
}


/* 헤더 */
header{
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}
.util_area {
    width: 100%;
    background-color: #003169;
}
.util_area.scroll{
    display: none;
}
.util_area ul {
    width: 1200px;
    display: flex;
    justify-content: end;
    gap: 30px;
    margin: 0 auto;
    padding: 15px 0px;
}
.util_area li{
    min-width: 0
}
.util_area li::after {
    display: inline-block;
    content: '';
    width: 1px;
    height: 10px;
    background-color: #fff;
    margin-left: 30px;
}

.util_area li:last-child::after {
    display: none;
}
.util_area a {
    color: #fff;
    font-size: 16px;
}
.header_bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    height: 104px;
    position: relative;
    transition: height 0.3s ease;
    z-index: 10;
    box-sizing: border-box;
    z-index: 30;
}
.header_bg.scroll{
    border-bottom: 1px solid #f3f3f3;
    box-shadow: 0px 3px 20px #0000002a
}
.header_wrap{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
    box-sizing: border-box;
}
.header_logo{
    max-width: 270px;
    min-width: 0
}
.header_logo img{
    width: 100%;
}
nav{
    height: 104px;
    min-width: 0
}
.depth1{
    display: flex;
    height: 30px;
}
.depth1>ul{
    height: 104px;
    min-width: 0
}
.depth1>li{
    height: 104px;
}
.depth1>li>a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 50px;
    box-sizing: border-box;
    font-size: 18px;
    color: #222;
    transition: all 0.2s;
    letter-spacing: -1px;
}
.depth1 li:hover>a{
    color: #0075E3;
    transition: all 0.2s;
}
.depth2_wrap{
    position: absolute;
    left: 0px;
    top:100% ;
    background-color: #fff;
    width: 100%;
    display: none;
    transition: all 0.2s;
    box-shadow: 0px 7px 7px #0000005d;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.depth2_wrap.on{
    display: flex;
}
.depth2_wrap h1{
    width: 20%;
    text-align: end;
    font-size: 30px;
    font-weight: 600;
    background-color: #ebf5ff;
    padding: 30px;
    color: #003169;
}
.depth2{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background-color: fff;
}
.depth2 li{
    background-color: #fff;
    width: calc(25% - 25px);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 10px;
    border: 1px solid #ddd;
    min-width: 0
}
.depth2 a{
    font-size: 18px;
    display: block;
    text-align: center;
    padding: 10px;
    color: #333;
}
.depth2 li:hover{
    background-color: #003169;
}
.depth2 li:hover a{
    color: #fff;
}
.ham {
    display: none;
}



/* 푸터 */
footer{
    background-color: #1E1F25;
}
.foot_top{
    border-bottom: 1px solid #575757;
}
.foot_top ul{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 20px 0px;
}
.foot_top li{
    display: flex;
    align-items: center;
    min-width: 0
}
.foot_top li:nth-child(5) a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.foot_top li:nth-child(5) img{
    width: 80px;
}
.foot_top li::after{
    display: flex;
    content: '';
    width: 1px;
    height: 18px;
    background-color: #fff;
    margin-left: 44px;
}
.foot_top li:last-child:after{
    display: none;
}
.foot_top a{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -1px;
    cursor: pointer;
    min-width: 0
}
.foot_bottom{
    width: 1200px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 30px 0px;
}
.foot_bottom .left img{
    width: 300px;
    margin-bottom: 30px;
    min-width: 0
}
.foot_bottom .left p{
    color: #D1D1D2;
    font-size: 14px;
    margin-bottom: 8px;
}
.foot_bottom .right{
    position: relative;
    min-width: 0
}
.foot_bottom .right .foot_dropdown {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
    display: inline-block;
}
.foot_bottom .right .foot_down_btn {
    width: 190px;
    padding: 12px;
    box-sizing: border-box;
    background-color: #f1f1f1;
    color: #333;
    font-size: 15px;
    letter-spacing: -1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 10px;
}
.foot_bottom .right .foot_down_btn.on{
    border-radius: 0px;
}
.foot_bottom .right .foot_menu{
    width: 190px;
    height: 215px;
    overflow-y: auto;
    background-color: #fff;
    border-top: 1px solid #ddd;
    position: absolute;
    bottom: 100%;
    left: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
}
.foot_bottom .right .foot_menu.show{
    display: block;
}
.foot_bottom .right .foot_down_btn img{
    width: 13px;
    height: 12px;
    transition: all 0.4s;
    transform: rotate(360deg);
}
.foot_bottom .right .foot_down_btn img.on {
    transform: rotate(180deg);
}
.foot_bottom .right li{
    transition: all 0.2s;
    font-size: 15px;
    letter-spacing: -1px;
}
.foot_bottom .right li:hover{
    background-color: #ebf5ff;
}
.foot_bottom .right li a{
    display: block;
    padding: 12px;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    color: #333;
}

/* 1921px 이상 시 */
@media screen and (min-width: 1921px) {
    .util_area ul,
    .header_wrap,
    .foot_bottom{
        width: 63%;
    }
    nav{
        margin-right: -40px;
    }
    .depth1>li>a {
        padding: 0px 40px;
    }
}

/* 1300px 이하 시 */
@media screen and (max-width: 1300px) {
    .depth2_wrap h1{
        font-size: 25px;
    }
    .depth2 li{
        width: calc(33.333333% - 25px);
    }
}

/* 1200px 이하 시 */
@media screen and (max-width: 1215px){
    .util_area ul,
    .header_wrap,
    .foot_bottom,
    .foot_top ul{
        width: 90%;
    }
    .foot_top ul{
        flex-wrap: wrap;
        gap: 8px;
    }
    .foot_top li{
        width: calc(33.3333% - 8px);
        background-color: #f7f7f7;
        border-radius: 5px;
        transition: all 0.2s;
        
    }
    .foot_top li:hover{
        background-color: #dbdbdb;
    }
    .foot_top a{
        width: 100%;
        height: 52px;   
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #333;
        padding: 10px 0px;
    }
    .foot_top li::after{
        display: none;
    }
    .foot_top li:nth-child(5) p br{
        display: none;
    }
    .foot_top li:nth-child(5) img{
        width: 60px;
    }
}

/* 1150px 이하 시 */
@media screen and (max-width: 1150px) {
    /* 헤더 */
    .depth1>li>a{
        padding-left: 40px;
    }
}

/* 1024px 이하 시 */
@media screen and (max-width: 1024px){
    /* 헤더 */
    header{
        position: static;
    }
    .header_bg{
        height: 80px;
    }
    .header_wrap{
        align-items: center;
    }
    .header_logo{
        max-width: 220px;
    }
    .header_logo p{
        font-size: 14px;
    }
    .ham{
        display: block;
        width: 25px;
        height: 25px;
        position: relative;
        cursor: pointer;
        flex-shrink: 0;
    }
    .ham li{
        width: 100%;
        height: 2px;
        border-radius: 15px;
        background-color: #222;
        transition: all 0.2s;
        width: 100%;
        margin-bottom: 7px;
    }
    .ham li.cross{
        position: absolute;
    }
    .ham li.cross:nth-child(1){
        transform: rotate(45deg);
        right: 0;
        bottom: 8px;
    }
    .ham li.cross:nth-child(2){
        display: none;
    }
    .ham li.cross:nth-child(3){
        transform: rotate(-45deg);
        bottom: 8px;
        left: 0;
    }
    .util_area{
        position: fixed;
        top: 80px;
        z-index: 11;
        display: none;
        transition: all 0.5s ease;
    }
    .util_area.active{
        display: block;

    }
    nav{
        width: 100%;
        height: 80px;
        margin-top: 0;
        position: relative;
    }
    .depth1{
        width: 100%;
        display: block;
        height: auto;
        position: relative;
        position: fixed;
        width: 100%;
        background-color: #ffffff;
        top: 128px;
        right: 0;
        bottom: 0;
        background-color: #f3f3f3;
        display: none;
        transition: all 0.5s ease;
    }
    .depth1.active{
        display: block;
    }
    .depth1>li{
        height: auto;
        border-bottom: 1px solid #ffffff;
        transition: all 0.2s;
        background-color: #f3f3f3;
    }
    .depth1>li:hover,
    .depth1>li.active{
       background-color: #fff;
    }
    .depth1>li>a{
        display: block;
        width: 100%;
        height: 100%;
        padding: 15px 10px;
    }
    .depth1>li.active >a{
        color: #0075E3;
    }
    .depth2_wrap{
        width: 70%;
        position: absolute;
        right: 0;
        top: 0;
        left: auto;
        bottom: 0;
        border-left: 1px solid #f0f0f0;
        display: none;
        box-shadow: none;
    }
    .depth2_wrap.active{
        display: flex;
    }
    .depth2_wrap h1{
        display: none;
    }
    .depth2{
        width: 100%;
        display: block;
        padding: 0;
        background-color: transparent;
    }
    .depth2 li{
        width: auto;
        border-radius: 0px;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        background-color: transparent;
        border-top: none;
    }
    .depth2 li:hover{
        background-color:#ffffff;
    }
    .depth2 a{
        text-align: left;
        padding: 15px 10px;
    }
    .depth2 li:hover a{
        color: #0075E3;
    }


    /* 푸터 */
    .foot_top a{
        font-size: 17px;
    }
    .foot_top li:nth-child(5) img{
        width: 65px;
    }
    .foot_bottom {
        flex-direction: column;
        gap: 20px;
    }
    .foot_bottom .left img{
        width: 240px;
        margin-bottom: 20px;
    }
    .foot_bottom .left p{
        font-size: 13px;
        margin-bottom: 4px;
    }
    .foot_bottom .right .foot_dropdown{
        position: static;
        transform: translateY(0%);
    }
}

/* 992px 이하 시 */
@media screen and (max-width: 992px){
    .foot_top li {
        width: calc(50% - 8px);
    }
}

/* 600px 이하 시 */
@media screen and (max-width: 600px){
    /* 푸터 */
    .foot_top li {
        width: 100%;
    }
    .foot_top a{
        height: 46px;
    }
}

/* 500px 이하 시 */
@media screen and (max-width: 500px){
    /* 헤더 */
    .util_area ul{
        gap: 20px;
    }
    .util_area li::after{
        margin-left: 20px;
    }
    .util_area a{
        font-size: 15px;
        letter-spacing: -1px;
    }
    .depth1>li>a{
        font-size: 15px;
        letter-spacing: -1px;
    }
    .depth2_wrap{
        width: 65%;
    }
    .depth2 a{
        font-size: 15px;
    }


    /* 푸터 */
    .foot_top a{
        font-size: 16px;
    }
    .foot_top li:nth-child(5) img {
        width: 55px;
    }
    .foot_bottom{
        padding: 20px 0px;
    }
    .foot_bottom .left img {
        width: 200px;
    }
    .foot_bottom .left p{
        letter-spacing: -1px;
    }
    .foot_bottom .right .foot_down_btn,
    .foot_bottom .right .foot_menu{
        width: 180px;
    }
    .foot_bottom .right .foot_down_btn,
    .foot_bottom .right li a{
        padding: 8px;
    }
    .foot_bottom .right .foot_down_btn{
        border-radius: 5px;
    }
}

/* 420px 이하 시 */
@media screen and (max-width: 420px){
    /* 헤더 */
    .header_bg{
        height: 60px;
    }
    .util_area{
        top: 55px;
    }
    nav{
        height: 60px;
    }
    .depth1{
        top: 102px;
    }
    .header_logo{
        max-width: 170px;
    }
    .header_logo p{
        font-size: 11px;
        letter-spacing: -1px;
    }
}

/* 팝업(푸터 탑 메뉴바) */
.footer_txt_wrap{
    max-height: 50vh;
    overflow-y: auto;
    padding: 12px;
}
.footer_txt_wrap p{
    font-size: 15px;
    letter-spacing: -1px;
    color: #444;
    font-weight: 500;
}
.footer_txt_wrap p.txt{
    color: #111;
    font-weight: 600;
    margin-bottom: 5px;
}
.footer_txt_wrap .txt_title{
    background-color: #003169;
    color: #fff;
    text-align: center;
    padding: 8px;
    box-sizing: border-box;
    margin-top: 30px;
    font-size: 18px;
}
.footer_txt_wrap .txt_title:first-of-type{
    margin-top: 0px;
}
.footer_box{
    margin-top: 20px;
}
.footer_box h2{
    font-size: 16px;
    color: #0073df;
    letter-spacing: -1px;
    margin-bottom: 8px;
}
.footer_box h3{
    font-size: 15px;
    color: #333;
    margin-top: 10px;
    margin-bottom: 10px;
}
.footer_box ul{
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer_box li{
    font-size: 15px;
    letter-spacing: -1px;
    color: #333;
}