* {
    margin: 0;
    padding: 0;
}

html body {
    font-family: 'Noto Sans KR', 'Nanum Gothic', sans-serif;
}

section {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* header */
.nave-header {
    width: 100%;
    height: 100px;
    background: #a40027;

}

.navi-menu {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
}

.menu_sub {
    width: 100%;
    height: 250px;
    border: 1px solid #ddd;

}

.menu_sub_u {

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    border-left: 1px solid #bac7be;
    /* border-right: 1px solid #bac7be; */
    width: 140px;
}

.menu_sub_u:hover {
    background: #a40027;
    cursor: pointer;

    a {
        color: #fff;
    }
}

.menu_sub_u>li {
    font-size: 18px;
    height: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.menu_sub_u>li>a {
    color: #000;
    font-size: 1.4rem;

}

.logo-img {
    height: 100%;
}

.logo-img2 {
    display: none;
}

.logo-img>a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.nevi-tab>li {
    margin-right: 60px;
}

.nevi-tab>li>a {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    width: 100%;
    display: flex;
    align-items: center;
    height: 100%;
}

.nevi-tab {
    display: flex;
    width: 640px;
    height: 100%;
    margin-right: 8vw;
}

.login_box {
    display: flex;
    align-items: center;
    height: 100%;

}

.login_img {
    width: 20px;
    height: 26px;
    margin-right: 8px;
}

.login {
    color: #fff;
    font-weight: 400;
    font-size: 17px;
    margin-left: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.mobile_pop {
    width: 100%;
    display: none;
}


/* visual */

.visual_section {
    width: 100%;
    height: 480px;
    background: #f2f4f7;
}

.visual_img_box {
    width: 1000px;
    height: 480px;
    margin: 0 auto;

    img {
        width: 100%;
        height: 100%;
    }
}


/* °ø????????? */

.noti_section {
    width: 1000px;
    height: 300px;
    margin: 30px auto 50px;
}

.noti_section_list {
    display: flex;
}

.noti_title>h2 {
    font-size: 28px;
}

.noti_section_box:nth-of-type(1) {
    width: 73%;
    margin-right: 20px;
}

.noti_section_box:nth-of-type(2) {
    width: 26%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.noti_section_box_a{
    display: inline-block;
    height: 48%;
}




.noti_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plus_btn_box {
    border-radius: 50%;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plus_btn {
    width: 15px;
    height: 15px;

}

.noti_box {
    display: flex;
    margin-top: 30px;
    justify-content: flex-start;
    /* overflow-x: scroll; */
}

.noti_box_list {
    box-sizing: border-box;
    width: 32%;
    height: 260px;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 4px 5px 7px #efefef;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 10px;
}

.noti_box_title {
    font-size: 18px;
    color: #000;
}

.noti_box_p {
    font-size: 14px;
    color: #000;
    height: 145px;
}

.noti_box_sp {
    font-size: 13px;
    color: #999;
}

.noti_section_box_img {
    width: 100%;
    height: 100%;
}

/* 1300 */
@media (max-width:1300px) {
    .nevi-tab {
        display: flex;
        width: 600px;
        height: 100%;
        margin-right: 0vw;
    }
}

/* ¹ÝÀÀÇü 1100 */

@media (max-width:1100px) {
    .logo-img {
        display: none;
    }

    .navi-menu {

        padding: 0 20px;
    }

    .menu_sub {
        padding: 0;
        height: 300px;
    }

    .nevi-tab {
        display: flex;
        width: 600px;
        height: 100%;
        margin-right: 0vw;
    }
}

/* ?????? */



/* ¹ÝÀÀ??? 1000 */

@media (max-width:1000px) {


    .visual_img_box {
        width: 100%;
        height: 480px;
        margin: 0 auto;
    }

    /* .noti_section_box1{
        height: 800px;
        overflow-y: scroll;
    } */

    .noti_section_box:nth-of-type(1) {
        width: 73%;
        /* margin-right: 20px; */
        padding: 10px;
        box-sizing: border-box;
    }

}


/* ¹ÝÀÀ??? 681~999 */

@media (min-width:681px) and (max-width:999px) {

    .noti_section {
        width: 100%;
        height: 350px;
        margin: 30px auto 30px;
    }

    .noti_box_title {
        font-size: 15px;
    }

    .noti_box_p {
        font-size: 13px;
    }

    .noti_box_sp {
        font-size: 12px;
        color: #999;
    }

    .noti_section_box:nth-of-type(2) {
        width: 26%;
    }

}

@media (max-width:800px) {

    /* ?????? */

    .nevi-tab>li {
        margin-right: 30px;
    }

    .nevi-tab>li>a {
        color: #fff;
        font-weight: bold;
        font-size: 16px;
    }

    .navi-menu {
        height: 100px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .menu_sub {
        padding: 0;
        height: 200px;
    }

    .nevi-tab {
        display: flex;
        width: 450px;
        height: 100%;
        margin-right: 0vw;
    }

    .login {
        color: #fff;
        font-weight: 400;
        font-size: 15px;
        margin-left: 10px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    /* ºñ???¾ó¹è³Ê */
    .visual_section {
        width: 100%;
        height: 250px;
    }

    .visual_img_box {
        width: 100%;
        height: 250px;
    }


    /* °ø????????? */
    .noti_section {
        width: 100%;
        height: 100%;
        margin: 30px auto 50px;
        padding: 0 10px;
    }


    .noti_box {
        display: flex;
        margin-top: 30px;
        flex-direction: column;
    }

    .noti_box_list {
        box-sizing: border-box;
        width: 100%;
        height: 150px;
        border: 1px solid #ececec;
        border-radius: 10px;
        box-shadow: 4px 5px 7px #ededed;
        padding: 20px;
        display: flex;
        flex-direction: column;
        margin-bottom: 7px;
    }

    .noti_section_box_img {
        width: 100%;
    }

    .noti_box_title {
        font-size: 15px;
    }

    .noti_box_p {
        font-size: 13px;
    }

    .noti_box_sp {
        font-size: 12px;
        color: #999;
    }
}

@media (max-width:699px) {
    .noti_section_list {
        display: flex;
        flex-direction: column;
    }

    .noti_section_box:nth-of-type(1) {
        width: 100%;
    }

    .noti_section_box:nth-of-type(2) {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }

    .noti_section_box_img {
        width: 100%;
        height: auto;
    }
    .noti_section_box_a {
        width: 48%;
    }
}

@media (max-width:599px) {
    .navi-menu {
        display: none;
    }

    .mobile_pop {
        display: none;
        width: 100%;
        height: 100%;
        background: #a40027;
        position: fixed;
        top: 0;
    }

    .mobile_btn {
        width: 60px;
        height: 60px;
        position: absolute;
        right: 2%;
        top: 25px;
        z-index: 1;
        background-image: url(./gafl_img/menubtn.png);
        background-size: 50%;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
    }

    .logo-img2 {
        display: block;
        height: 100%;
        margin-left: 10px;
    }

    .logo-img2>a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }


    .nevi-tab_mobile {
        margin-top: 10px;
    }

    .nevi-tab_mobile>li {
        width: 100%;
        margin-bottom: 0px;
        padding: 15px;

        a {
            color: #fff;
            font-size: 22px;
            font-weight: bold;
        }
    }

    .nevi-tab_mobile>li:hover {
        background: #fff;
        cursor: pointer;
        transition: 0.5s;

        a {
            color: #000;
            font-weight: bold;
            transition: 0.5s;
        }



    }

    .login_box {
        margin-top: 18px;
    }

    .login {
        color: #fff;
        font-weight: 400;
        font-size: 20px;
        margin-left: 15px;
    }

    .out {
        position: absolute;
        font-size: 42px;
        z-index: 99;
        right: 5%;
        top: -7px;
        color: #fff;
        cursor: pointer;
    }
}