.max-320{ display: none; }
/* footer & header styles */
header{position: fixed; top:0; left: 0; width: 100%; z-index: 999; }
header.bg{ background: #fffdf6;  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);  }
header .wrap{
    position: relative;z-index: 10; padding: 14px 0; /*display: flex; align-items: flex-start; justify-content: space-between;*/
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
 }

header::after{
    content: ''; position: absolute;left: 0;right: 0; top: 74px; height: 1px; background: #eee;
    opacity: 0; transform: scaleX(0); transform-origin: center; transition: opacity .3s ease, transform .5s ease;
    z-index: 11; pointer-events: none;
}

header .logo{max-width: 150px; width: 100%; justify-self: start; }

header nav{ /*display: flex;*/ justify-self: center; }
header nav>ul{ display: flex; align-items: stretch; justify-content: center; gap: 0; }
header nav>ul li { position: relative; }

header nav>ul>li .depth_1{ font-size: 20px; font-weight: 500; line-height: calc(30/20); letter-spacing: -0.025em; padding: 10px 45px; transition: all .5s; display: block; }

header .depth_2{ display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%; margin: 0; padding: 15px 0; min-width: 250px; background-color: #fffdf6; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
header .depth_2 li{ width: 100%; text-align: center; }
header .depth_2 li>a{
    font-size: 18px; font-weight: 500; line-height: calc(40/18); letter-spacing: -0.025em; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}

header .log{ display: flex; align-items: center; justify-self: end; position: relative; }
header .log ul>li{ position: relative; }
header .log ul>li>a{ font-size: 20px;font-weight: 500;line-height: calc(30/20);letter-spacing: -0.025em; }
header .log ul>li>.depth_1{ padding: 10px 45px; white-space: nowrap; display: block; }
header .log .depth_2 li>a{ font-size: 18px;font-weight: 500;line-height: calc(40/18);letter-spacing:-0.025em;white-space: nowrap;   }

.contact a{
    display: block; box-sizing: border-box; padding: 12px 31px; border-radius: 6px; background: #df0716; color: #fff;
    font-size: 18px; font-weight: 500; line-height: calc(15/18); letter-spacing: -0.025em; transition: background .3s ease, color .3s ease;
}
@media screen and (min-width: 821px){
    header .contact a:hover{ background: #101010; color: #fff; }
}

/* 헤더 호버 */
header .bg{
    position: absolute; width: 100%; inset: 0;
    height: 314px; background: #fffdf6; transform-origin: center top; transform: scaleY(0);
    transition: transform .5s;
}
header.hover::after{ opacity: 1; transform: scaleX(1); transition: opacity .3s ease .2s, transform .5s ease .1s; }
header.hover .bg{ transform: scaleY(1); }
header.hover nav>ul li .depth_1{ padding: 0 45px;}

@media screen and (min-width: 821px){
    header nav>ul>li .depth_1:hover{ color: #df0716; }
    header .log ul>li>.depth_1:hover{ color: #df0716; }
    header .depth_2 li>a:hover{ color: #df0716; }
}


/* 메뉴아이콘(모바일) */
header .menuIcoWrap{ display: flex; align-items: center; }
header .menuIcoWrap .contact{ display: none; margin-right: 16px; }
header .menuIcoWrap .contact a{ font-size: 14px; padding: 10px 20px; }

header .menuIco{ display: none;font-size: 1px;width: 32em;height: 20em;align-items:center;justify-content: center;position: relative;z-index: 1000; }
header .menuIco::before{ content: '';display: block;position: absolute;width: 100%;height: 100%;padding: 10em; }
header .menuIco div{ background: #000; }
header .menuIco div:nth-child(1){top: 0}
header .menuIco div:nth-child(2){}
header .menuIco div:nth-child(3){bottom: 0;}

header.on .menuIco div:nth-child(1){transform: rotate(45deg);top: 9em;}
header.on .menuIco div:nth-child(2){opacity: 0; transform: translateX(-50%); }
header.on .menuIco div:nth-child(3){transform: rotate(-45deg);bottom: 9em;}

/* 모바일메뉴 */
header .mo_menu{
    opacity: 0; background: #fffdf6; width: 100%;height: 100vh;position: fixed;top: 0;left: 0;z-index: 100;
    box-sizing: border-box;transition:opacity .5s; pointer-events: none;
}
header .mo_menu .wrap{ display: block; height: 100%;box-sizing: border-box; }
header .mo_menu .wrap .logo{ padding-top: 1em; }
header .mo_menu .wrap .logo img{  }
header .mo_menu .wrap ul{ box-sizing: border-box;width: 100%;font-size: 1px;overflow: auto; }
header .mo_menu .wrap>ul{ padding-top: 90px; }
header .mo_menu .wrap>ul>li>div{
    font-size: 16em;font-weight: 600;letter-spacing: -0.025em; padding: 1.2em 0;box-sizing: border-box; border-bottom: 1px solid #eee ;
    display: flex;justify-content: space-between; align-items: center;
    position: relative;transition: color .3s, padding-left .3s;
}
header .mo_menu .wrap>ul>li>div.on i{ transform: rotate(180deg); }
header .mo_menu .wrap>ul>li>ul{ display: none; padding: 10px 0; }
header .mo_menu .wrap>ul>li>ul>li>a{ display: block; font-size: 15px; font-weight: 400; letter-spacing: -0.025em; color: #555; padding: 10px 14px;}

header.on .mo_menu{ opacity: 1; visibility: visible; pointer-events: auto; }


@media screen and (max-width: 1600px){}
@media screen and (max-width: 1280px){
    header nav>ul>li .depth_1{ font-size: 18px; padding: 10px 38px; }
    header.hover nav>ul li .depth_1{ padding: 10px 38px;}
    header .log ul>li>.depth_1{ font-size: 18px; padding: 10px 38px; }
    header .depth_2{ min-width: 200px; }
    header .depth_2 li>a{ font-size: 16px; font-weight: 400; }
    header .log .depth_2 li>a{ font-size: 16px; font-weight: 400; }
    .contact a{ padding: 12px 28px; font-size: 16px; }
    header.hover .contact a{ padding: 12px 20px; }

}
@media screen and (max-width: 1024px){
    /* header.on .wrap{ width: 100%; } */
    header .menuIcoWrap .contact{ display: block; }
    /* header.on .menuIco{ margin-right: 2.5%; } */
    header nav, header .log{ display: none; }
    header .bg{ display: none; }
    header::after{ display: none; }
    header .wrap{ display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
    header .menuIco{ display: flex; flex-direction: column; justify-content: space-between; }
    header .menuIco div{ width: 100%; height: 2px; position: relative;  transition: transform .3s, opacity .3s, top .3s, bottom .3s; }

    header .mo_menu .wrap{ display: block; width: 95%; }
}
@media screen and (max-width: 820px){
    header .logo{ max-width: 112px; }
    header .mo_menu .wrap{ width: 90%; }
    header .menuIcoWrap .contact a{ padding: 10px 15px; }
}
@media screen and (max-width: 500px){}
@media screen and (max-width: 320px){}


/* 퀵메뉴 quick */
.floating{
    display: flex; flex-direction: column; gap: 5px;
    position: fixed; right: 1%; bottom: 2%; z-index: 999;
}
.floating .top a{
    display: block; box-sizing: border-box; width: 52px; aspect-ratio: 1/1; border-radius: 50%; border: 1px solid #eee; background: #fff;
    text-align: center;align-content: center;
}
.floating .top a>i{ font-size: 24px; line-height: calc(36/24); letter-spacing: -0.025em; color: #101010; }
.floating .quick{ display: flex; justify-content: center;align-items: center; padding: 14px; box-sizing: border-box; width: 52px;aspect-ratio: 1/1;border-radius: 50%; background: #df0716; }

/* 문의하기 contact */
.snackBar{
    box-sizing: border-box; background: #000; color: #fff; border-radius: 6px;
    position: fixed; bottom: 2%; left: 50%; transform: translateX(-50%); z-index: 999;
    display: flex;align-items: center; gap: 20px; padding: 6px 6px 6px 25px;
    white-space: nowrap;
}
.snackBar p{ font-size: 18px; font-weight: 600; line-height: calc(15/18); letter-spacing: -0.025em; }
.snackBar .contact a{ padding: 12px 20px; }
@media screen and (max-width: 1024px){}
@media screen and (max-width: 820px){
    .snackBar {display: none;}
}
@media screen and (max-width: 500px){
    .floating{ right: 3%; }
}

/* footer 푸터 */
footer{ background: #000; }
footer .wrap{ padding-top: 70px; }
footer .top{ display: flex; justify-content: space-between; }

footer .gnb{ display: flex; }
footer .gnb>li{ font-size: 18px; font-weight: 500; letter-spacing: -0.04em; color: #fff; }
footer .gnb>li + li { padding-left: 52px; }
footer .s_gnb{ display: flex; flex-direction: column; gap: 26px; padding-top: 30px; }
footer .s_gnb>li{ font-size: 15px; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.6); }

footer .r{ display: flex; flex-direction: column; justify-content: space-between;align-items: flex-end; }
footer .sns{ display: flex; color: #fff; }
footer .sns .naver{ margin-right: 14px; }

footer .line{ width: 100%; height: 1px; background: rgba(255, 255, 255, 0.2); margin: 50px 0; }

footer .bottom{ display: flex; justify-content: space-between;align-items: flex-end;  padding-bottom: 50px; line-height: 1.3; }
footer .l{ font-size: 15px; letter-spacing: -0.04em; color: #fff;}
footer .contact { display: flex; padding-top: 15px; }
footer .contact .tel{ padding-right: 8px; border-right: 1px solid #fff; }
footer .contact .email{ padding-left: 8px; }

footer .copy{ font-size: 15px; letter-spacing: -0.04em; color: #fff; }

@media screen and (max-width: 1600px){}
@media screen and (max-width: 1440px){}
@media screen and (max-width: 1280px){}
@media screen and (max-width: 1024px){
    footer .top{ /*flex-direction: column;align-items: center; gap: 60px;*/ display: block; }
    footer .top .l{ margin-bottom: 40px; display: flex; justify-content: center; }
    footer .r{ align-items: flex-start;}
    footer .sns{ margin-top: 20px; }
    footer .line{ margin: 34px 0; }
    footer .bottom{ padding-left: 16px; }
}
@media screen and (max-width: 820px){
    footer .wrap{ padding-top: 50px; }
    footer .gnb>li + li{ padding-left: 30px; }
    footer .s_gnb>li{ font-size: 14px; }
    footer .r{ flex-direction: row;  align-items: flex-end; }
    footer .r .logo a{ display: block; max-width: 230px; width: 100%; }
    footer .line{ margin: 24px 0; }
    footer .bottom{ flex-direction: column; }
    footer .bottom .l{ font-size: 14px; }
    footer .contact{ padding: 8px 0; }
    footer .copy{ font-size: 14px; }
}
@media screen and (max-width: 500px){
    footer .wrap{ padding-top: 24px; }
    footer .r .logo a{ max-width: 150px; }
    footer .top .l{ margin-bottom: 0; }
    footer .gnb{ display: none; }
    /* footer .gnb{ flex-wrap: wrap; gap: 20px; font-size: 16px;} */
    /* footer .gnb>li{ width: calc((100% - 20px) / 2); text-align: center; } */
    /* footer .gnb>li + li{ padding-left: 0; } */

    /* footer .s_gnb{ gap: 20px; padding-top: 20px; } */
    /* footer .gnb>li{ font-size: 16px; }
    footer .gnb>li + li{ padding-left: 20px; } */
    /* footer .s_gnb>li{ font-size: 13px; } */

    footer .sns{ margin-top: 14px; }

    footer .bottom{ align-items: flex-start; }
    footer .bottom .l{ font-size: 13px; }
    footer .contact{ flex-direction: column; }
    footer .contact .tel{ padding-right: 0; border-right: unset; margin-bottom: 8px; }
    footer .contact .email{ padding-left: 0; }
    footer .copy{ font-size: 13px; }
}
@media screen and (max-width: 380px){}
@media screen and (max-width: 320px){
    /* .max-320{ display: block; } */
 }






 .layerWrap {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition-duration: 0.4s;
    transition-property: opacity
}

.layerWrap .bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3)
}

.layerWrap .pop {
    width: 90%;
    max-width: 920px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 20px;
    padding-bottom: 60px;
    position: relative;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%)
}

.layerWrap .pop .popClose {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer
}

.layerWrap .pop .popClose p {
    margin-right: 10px;
    font-weight: 500;
    font-size: 20px
}

.layerWrap .pop .popcon {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    margin-top: 40px
}

.layerWrap .pop .popcon h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.025em
}

.layerWrap .pop .popcon dl {
    margin-top: 25px;
    background-color: #eee;
    padding: 20px 30px;
    box-sizing: border-box;
    font-size: 18px;
    line-height: calc(28 / 18);
    border-radius: 20px;
    box-sizing: border-box;
    word-break: keep-all;
    letter-spacing: -0.025em
}

.layerWrap .pop .popcon dl dd,
.layerWrap .pop .popcon dl dt {
    display: flex;
}

.layerWrap .pop .popcon dl span {
    margin-right: 20px;
    flex-shrink: 0;
    font-weight: 700;
}

.layerWrap .pop .popcon .map {
    width: 100%;
    margin-top: 10px;
    height: 320px;
    box-sizing: border-box
}

.layerWrap.on {
    opacity: 1
}

.layerWrap.zidx {
    z-index: 9999;
}

.layerWrap.priv .pop {
    line-height: 1.2;
    padding-bottom: 20px
}

.layerWrap.priv .pop .__p {
    display: block;
    height: 70vh;
    margin-top: 20px;
    line-height: 1.5;
    overflow: auto;
}
.layerWrap.priv .pop .__p strong{ font-weight: 600; }

.layerWrap.priv .pop .__p::-webkit-scrollbar{ width: 5px; background-color: #eee; }
.layerWrap.priv .pop .__p::-webkit-scrollbar-thumb{ width: 5px; border-radius: 10px; background-color: #333; }

.layerWrap.priv .pop dl dt {
    font-weight: 700;
    font-size: 20px;
    display: block; margin-bottom: 15px;
}

@media screen and (max-width:768px) {
    .layerWrap .pop {
        padding-bottom: 40px
    }

    .layerWrap .pop .popcon {
        margin-top: 20px
    }

    .layerWrap .pop .popcon h1 {
        font-size: 32px
    }

    .layerWrap .pop .popcon dl {
        margin-top: 15px;
        padding: 10px 20px;
        font-size: 14px
    }

    .layerWrap .pop .popcon .map {
        margin-top: 0;
        height: 260px
    }

    .layerWrap .pop .popClose p {
        font-size: 18px
    }

    .layerWrap .pop .popClose img {
        width: 12px
    }

    .layerWrap.priv {
        font-size: 14px
    }

    .layerWrap.priv .pop .__p {
        margin-top: 10px
    }

    .layerWrap.priv .pop dl dt {
        font-size: 16px
    }
}

@media screen and (max-width:500px) {
    .layerWrap .pop {
        padding: 10px;
        padding-bottom: 30px
    }

    .layerWrap .pop .popcon {
        margin-top: 10px
    }

    .layerWrap .pop .popcon h1 {
        font-size: 26px
    }

    .layerWrap .pop .popcon dl {
        margin-top: 5px;
        padding: 5px 15px;
        font-size: 13px
    }

    .layerWrap .pop .popcon .map {
        height: 260px
    }
}
