@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');
@font-face {
    font-family: 'Binggrae';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Binggrae.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* 반응형 데스크탑 스타일 */

* {margin: 0; padding: 0;}
li {list-style: none;}
a {text-decoration: none; color: #000000;}
body, html {
    height: 100%;
    font-family: 'Noto Sans KR', sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #000000;
}

.site-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

header {
    width: 100%;
    background-color: #f1eee6;
    transition: all 0.3s ease-in-out;
}

.header-area {
    width: 1056px;
    height: 100px;
    /* background-color: aliceblue; */
    /* 자식객체를 옆으로 나란히 하되, 부모보다 가로크기가 커질 경우 아래로 떨어지게,,, */
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 110;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 스크롤시 헤더 고정 */

.h-bg {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    display: none;
}

.s-bg {
    width: 100%;
    height: 250px;
    position: fixed;
    top: 0;
    /* background-color: #673b90; */
    background-color: #C4A9BF;
    z-index: 100;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    display: none;
}

.h-bg, .header-area {
    height: 100px;
    line-height: 70px;
}

.m-index {display: none;}
/* pc에서는 메뉴버튼과 클로즈 버튼 안보이게 해야함. */

.menu-btn, .close-btn {
    display: none;
}

.logo a {
    display: block;
    transition: all 0.3s ease-in-out;
    padding-top: 15px;
}

nav ul li {
    float: left;
    margin-left: 1.5vw;
    font-size: 17px;
    line-height: 100px;
    font-weight: 500;
    
}

nav ul li a {color: #ffffff;}

nav>ul>li:last-child {
    display: none;
}

nav ul li:hover>a {
    color: #673b90;
    font-weight: 700;
    border-bottom: 3px solid #673b90;
}

.main-menu {
    position: relative;
}

.main-menu:hover .sub-menu {
    display: block;
}


.sub-menu {
    width: 100%;
    position: absolute;
    left: 0;
    margin-top: -15px;
    display: none;
}

.sub-menu>li {
    width: 100%;
    height: 35px;
    line-height: 35px;
    margin-left: 0;
    white-space: nowrap;
}
.sub-menu>li>a {
    font-weight: 400;
    font-size: 15px;
}



.logo a img {
    height: 70px;
}

/* 서브페이지 상단부분 */
/* subtop-area */
.subtop-area, .subtop-area>img {
    width: 100%;
    position: relative;
}

.subtop-area>.mobile {
    display: none;
}


/* footer */

footer {
    font-family: 'Noto Sans KR', sans-serif;
    width: 100%;
    background-color: #673b90;
    color: #ffffff;
    font-size: 1rem;
    height: 200px;
    padding: 65px 0 0 0;
}

.footer-top {
    width: 1056px;
    text-align: left;
    margin: 0 auto;
    padding: 0;
}

.footer-top {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding-bottom: 5vh !important;
}

.ezen-info {
    width: 50%;
    padding-right: 3vw;
    box-sizing: border-box;
}

.info-title {
    font-family: 'Binggrae';
    font-size: 18pt;
    color: #eeeeee;
}

.info-title b {
    font-size: 26pt;
    margin-top: 2px;
}

.info-text {
    font-size: 12pt;
    font-weight: 300;
    margin-top: 20px;
}


.quick-link {
    margin-top: 50px;
    float: left;
    font-size: 12pt;
    font-weight: 100;
}

.quick-sns {
    width: 300px;
    position: absolute;
    transform: translate(-3%, -150%);
}

.quick-sns>a>img {
    display: block;
    line-height: 30px;
    height: 30px;
    float: left;
    margin-left: 10px;
}


.call {
    float: none;
    margin-top: 10px;
}


.quick-link a {
    color: #ffffff;
    margin-right: 35px;
}

.quick-link p {
    margin-top: 10px;
}

.footer-bottom {
    width: 100%;
    margin: 0 auto;
    background-color: #231815;
    height: 120px;
    margin-top: 16px;
    position: relative;
}

.f-logo-area {
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    position: relative;
    /* background-color: aliceblue; */
}

.f-logo-area a {
    width: 25%;
    float: left;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* background-color: yellow; */
}

.f-logo-area a:nth-child(1) {
    left: 0;
}
.f-logo-area a:nth-child(2) {
    left: 50%;
    transform: translateX(-50%);
    top: 30% !important;

}
.f-logo-area a:nth-child(3) {
    right: 0;
}

.f-logo-area img {
    width: 100%;
    display: block;
}


@media screen and (max-width:1400px) {
    .header-area, .footer-top, .f-logo-area {
        width: 840px;
    }

}

@media screen and (max-width:1000px) {
    .header-area, .footer-top, .f-logo-area {
        width: 800px;
    }

    .logo a img {
        height: 50px;
    }

}


@media screen and (max-width:820px) {
    .header-area {
        width: 100%;
        height: 50px;
        /* background-color: aliceblue; */
        /* 자식객체를 옆으로 나란히 하되, 부모보다 가로크기가 커질 경우 아래로 떨어지게,,, */
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        z-index: 110;
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    /* 스크롤시 헤더 고정 */

    .h-bg {
        width: 100%;
        height: 50px;
        position: fixed;
        top: 0;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 100;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .s-bg {
        width: 100%;
        height: 0;
        position: fixed;
        top: 0;
        /* background-color: #673b90; */
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 100;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .h-bg, .header-area {
        height: 50px;
        line-height: 35px;
    }


    /* pc에서는 메뉴버튼과 클로즈 버튼 안보이게 해야함. */

    .menu-btn, .close-btn {
        display: none;
    }

    .logo {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        height: 30px;
    }

    .logo a {
        display: block;
        transition: all 0.3s ease-in-out;
        padding-top: 5px;
    }

    .logo a img {
        height: 30px;
    }
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background-color: #673b90;
        display: none;
    }

    nav ul li {
        width: 60%;
        position: absolute;
        float: none;
        font-size: 11pt;
        line-height: 15px;
        font-weight: 500;
        text-align: left;
        /* background-color: rosybrown; */
        left: 50%;
        transform: translateX(-50%);
    }

    nav ul li:hover>a {
        color: #fff;
        font-weight: 700;
        border-bottom: 2px solid #fff;
    }

    .m-index {
        display: block;
        position: absolute;
        float: none;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        width: 40%;
        top: 10%;
    }
    .m-index>img {width: 100%;}
    /*     
    nav ul li:last-child {
        display: block;
        width: 40%;
        top: 10%;
    } 
    */

    nav>ul>li:nth-child(1) {
        top: 18%;
    }
    nav>ul>li:nth-child(2) {
        top: 28%;
    }
    nav>ul>li:nth-child(3) {
        white-space: nowrap;
        top: 38%;
    }
    nav>ul>li:nth-child(4) {
        top: 48%;
    }
    nav>ul>li:nth-child(5) {
        top: 78%;
    }

    .main-menu {
        position: absolute !important;
        top: 48% !important;
    }

    .sub-menu {
        height: 100vh;
        position: absolute;
        /* display: block; */
        /* background-color: yellow; */
    }
    .sub-menu>li:nth-child(1) {
        top: 4%;
    }
    .sub-menu>li:nth-child(2) {
        top: 9%;
    }
    .sub-menu>li:nth-child(3) {
        top: 14%;
    }
    .sub-menu>li:nth-child(4) {
        top: 19%;
    }

    nav>ul>li:nth-child(6) {
        top: 75%;
        display: none;
    }

    nav ul li a img {
        width: 100%;
    }

    nav>ul>li:last-child:hover a {
        border-bottom: none;
    }

    .close-btn {
        width: 100%;
        display: block;
        position: absolute;
        bottom: 3%;
        left: 10%;
        
    }

    .close-btn>img {
        width: 10%;
        cursor: pointer;
    }

    .menu-btn {
        height: 40%;
        display: block;
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        right: 5%;
        cursor: pointer;
    }

    .menu-btn>img {
        height: 100%;
    }


    /* footer */

    footer {
        width: 100%;
        font-size: 10pt;
        height: 280px;
        padding: 40px 0 0 0; 
    }

    .footer-top {
        width: 90%;
        padding-left: 15px;
    }

    .ezen-info {
        width: 100%;
        margin-bottom: 10px;
    }

    .info-title {
        font-family: 'Binggrae';
        font-size: 10pt;
        color: #eeeeee;
    }

    .info-title b {
        font-size: 15pt;
        margin-top: 2px;
    }

    .info-text {
        font-size: 10pt;
        font-weight: 300;
        margin-top: 20px;
    }


    .quick-link {
        font-size: 10pt;
        /* margin-top: 12%; */
    }

    .quick-sns>a>img {
        line-height: 30px;
        height: 20px;
        margin-left: 8px;
    }


}
