@charset "utf-8";

/*gnb*/
.masthead_wrap {
    padding: 20px 20px 60px 20px;
}
.area_masthead {
    display: flex;
    justify-content: space-between;
}

.logo img {
    width: 35vw;
    display: block;
    margin: 0 auto;
}

.gnb {
    display: none;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    z-index: 9999;
    box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.2);
    overflow-y: auto;
}
.backon{
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}
.gnb_btn img,
.mypage img {83a5ac	
    width: 50px;
}
.gnb_btn_close { /*240128 수정*/
    
}
.gnb_btn_close img {
    width: 30px;
}

.gnb .gnb_top {
    background-color: #83a5ac;
}
.gnb .gnb_top > div {
    padding: 20px;  /*240128 수정*/
    color: #fff;
    border-bottom: 1px solid #fff;
}
.gnb .gnb_top > div > img {
    width: 100px;
    padding: 18px 0;
}
.gnb .gnb_top > div p {
    font-size: 20px;
    padding-bottom: 28px;
}
.gnb .gnb_top > div p span {
    color: #563c1c;
}

.gnb_bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #333; /*240128 추가*/
    border-bottom: 1px solid #333; /*240128 추가*/
}
.gnb_bottom li { /*240128 수정 .gnb .gnb_top > ul > .gnb_bottom*/
    width: 33%;
    border-right: 1px solid #333; /*240128 수정*/
    text-align: center;
    padding: 18px 0 ;
    box-sizing: border-box;
    border
}
.gnb_bottom li:last-child {
    border:none;
}
.gnb_bottom li a {
    color: #fff;
}
.gnb_bottom li a img {
    width: 30px;
    filter:invert(); /*240128 추가*/
}
.gnb_bottom li a p {
    padding-top: 10px;
    color:#000; /*240128 추가*/
}

.gnb .gnb_middle { /*240128 수정 .gnb_bottom > .gnb_middle*/
    display: flex;
    flex-wrap: wrap;
    padding-top: 28px;
    background-color: #83a5ac; /*240128 추가*/
}
.gnb .gnb_middle li {
    width: 33%;
    text-align: center;
}
.gnb .gnb_middle li a img {
    width: 60px;
    filter:invert(); /*240128 추가*/
}
.gnb .gnb_middle li a p {
    color:#fff; /*240128 수정*/
    margin: 10px 0;
}

#footer {
    width: 100%;
    height: 30px;
    background-color: #ffd76b;
    text-align: center;
    line-height: 30px;
    color: #563c1c;
    font-weight: 900;
}


@media (max-width:798px) {
    .gnb {
        width: 70%;
    }
}
@media (max-width:518px) {
    .gnb_btn img,
    .mypage img {
        width: 40px;
    }
}
@media (max-width:474px) {
    .gnb {
        width: 90%;
    }
}