@charset "utf-8";

#shGnb {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 95px;
    padding: 0 5%;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    transition: all .2s
}

#shGnb.on {
    border-bottom: 1px solid #e1e1e1
}

#shGnb.sub {
    position: absolute
}

.sh_lnb_bg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 320px;
    background: #fff
}

/* 로고 */
#shGnb .sh_logo {
    position: relative;
    z-index: 20
}

/* 대분류  */
#shGnb .sh_nav>ul>li .d-none {
    display: none;
}


#shGnb .sh_nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%
}

#shGnb .sh_nav>ul {
    display: flex;
    justify-content: center
}

#shGnb .sh_nav>ul>li {
    position: relative;
    line-height: 95px;
    transition: all .4s ease-in-out
}

#shGnb .sh_nav>ul>li>a {
    position: relative;
    z-index: 20;
    display: block;
    font-weight: 600;
    padding: 0 30px;
    font-size: 20px;
    color: #fff;
    transition: all .2s
}

#shGnb.on .sh_nav>ul>li>a {
    padding: 0 50px;
    color: #111
}

/* 소분류 */
#shGnb .sh_lnb_s {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    padding-top: 25px;
    min-height: 145px
}

#shGnb .sh_lnb_s:before {
    opacity: 0;
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    top: -2px;
    z-index: -1;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: all .2s
}

#shGnb .sh_lnb_s li a {
    display: block;
    font-size: 17px;
    font-weight: 500;
    line-height: 2.2;
    text-align: center;
    color: #555;
    transition: all .2s
}

/* 메뉴버튼 */
#pfBtn {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 101;
    width: 95px;
    height: 95px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    cursor: pointer;
    transition: all .2s
}

#pfBtn div {
    position: relative;
    width: 24px;
    height: 24px;
    margin: auto
}

#pfBtn div:before,
#pfBtn div:after {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    transition: all .2s
}

#pfBtn div:before {
    top: 0
}

#pfBtn div:after {
    bottom: 0
}

#pfBtn span {
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background: #fff;
    transition: all .2s
}

#pfBtn span.s1 {
    top: 0;
    transform: rotate(45deg)
}

#pfBtn span.s2 {
    bottom: 0;
    transform: rotate(-45deg)
}

#pfBtn.active div:before,
#pfBtn.active div:after {
    opacity: 0
}

#pfBtn.active span {
    left: -2px;
    width: 32px;
    background: var(--primary)
}

#pfBtn.active span.s1 {
    top: 10px
}

#pfBtn.active span.s2 {
    bottom: 10px
}

#shGnb #pfBtn.active {
    border-color: #fff;
    background: #fff
}

/* 메뉴오픈 */
#pfWrap {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    backdrop-filter: blur(10px)
}

#pfWrap .bg_wrap {
    position: absolute;
    z-index: 1;
    width: 30%;
    margin: 0 auto
}

#pfWrap .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    max-height: 980px;
    height: 100vh;
    margin-left: 0;
    background: url(./bg.jpg) left no-repeat;
    background-size: cover
}

.pf_cate {
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary)
}

.pf_cate>ul {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 15%
}

.pf_cate>ul>li {
    opacity: 1;
    padding-bottom: 23px;
    border-bottom: 1px solid rgba(255, 255, 255, .25)
}
.pf_cate>ul>li:last-child{display:none;}

.pf_cate>ul>li+li {
    margin-top: 23px
}

.pf_cate>ul>li>a {
    display: block;
    width: max-content;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 600;
    color: #fff
}

.pf_cate>ul>li:nth-child(1) {
    animation-delay: .4s
}

.pf_cate>ul>li:nth-child(2) {
    animation-delay: .5s
}

.pf_cate>ul>li:nth-child(3) {
    animation-delay: .6s
}

.pf_cate>ul>li:nth-child(4) {
    animation-delay: .7s
}

.pf_cate>ul>li:nth-child(5) {
    animation-delay: .8s
}

.pf_cate>ul>li ul {
    display: flex;
    flex-wrap: wrap
}

.pf_cate>ul>li ul li+li {
    margin-left: 25px
}

.pf_cate>ul>li ul a {
    opacity: 0.6;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    transition: all .2s
}

#shGnb.fix {
    background: #fff;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, .1)
}

#shGnb.fix .sh_nav>ul>li>a {
    color: #111
}

#shGnb.fix #pfBtn {
    border-color: #111;
    background: #111
}

#shGnb.fix #pfBtn.active {
    border-color: #fff;
    background: #fff
}

/* 상단 버튼 및 오픈메뉴 */
#topmenuM {
    display: none;
    width: 100%;
    line-height: 1.8;
    padding: 15px
}

#m_navBtn {
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 30;
    width: 30px;
    height: 30px;
    transform: translateY(-50%)
}

#m_navBtn span {
    display: block;
    position: relative;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: #fff;
    content: "";
}

#m_navBtn span::before {
    display: block;
    position: absolute;
    top: -6px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    content: ""
}

#m_navBtn span::after {
    display: block;
    position: absolute;
    top: 6px;
    right: 0%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    content: ""
}

#m_navBtn.on {
    position: fixed;
    top: 27px
}

#m_navBtn.on span:before {
    top: 0;
    right: -4px;
    transform: rotate(45deg);
    background-color: #000
}

#m_navBtn.on span:after {
    top: 0;
    right: -4px;
    width: 100%;
    transform: rotate(-45deg);
    background-color: #222
}

#navWrap {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 15;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7)
}

#navWrap .inner {
    overflow-y: scroll;
    opacity: 0;
    position: fixed;
    right: -40px;
    top: 0;
    z-index: 999;
    min-width: 300px;
    width: 75%;
    height: 100%;
    padding: 60px 0;
    background-color: #fff;
    -webkit-transition: all .1s;
    transition: all .1s
}

#navWrap.on .inner {
    opacity: 1;
    right: 0;
    -webkit-transition: all .4s;
    transition: all .4s
}

#navWrap .inner:before,
#navWrap .inner:after {
    opacity: 0;
    display: block;
    position: fixed;
    top: 0;
    right: -40px;
    z-index: 1;
    content: "";
    min-width: 300px;
    width: 70%;
    height: 60px;
    background-color: #fff;
    -webkit-transition: all .1s;
    transition: all .1s
}

#navWrap .inner:after {
    top: auto;
    bottom: 0
}

#navWrap.on .inner:before,
#navWrap.on .inner:after {
    opacity: 1;
    right: 0;
    -webkit-transition: all .4s;
    transition: all .4s
}

#navWrap .inner .mo_hd_copy {
    position: fixed;
    right: 0;
    bottom: 15px;
    z-index: 2;
    min-width: 300px;
    width: 70%;
    font-size: 12px;
    text-align: center;
    color: #888
}

#navWrap .user_tip {
    padding: 10px 20px;
    background-color: #f5f5f5
}

#navWrap .user_tip li {
    display: inline-block
}

#navWrap .user_tip li+li {
    margin-left: 10px
}

/* 대분류 */
#topmenuM .m_lnb .m_bmenu {
    display: block;
    position: relative;
    width: 100%;
    height: 45px;
    padding: 0 20px;
    border: none;
    border-bottom: 1px solid #ddd;
    background: none;
    font-size: 14px;
    line-height: 47px;
    color: #222;
    text-align: left;
    font-weight: 500;
    font-family: var(--e-font);
}

#topmenuM .m_lnb .m_bmenu:after {
    float: right;
    content: "\f107";
    font-family: 'fontawesome'
}

#topmenuM .m_lnb .m_bmenu.on:after {
    content: "\f106"
}



/* 소분류 */
#topmenuM .m_smenu {
    display: none;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    background-color: #268A9C;
}

#topmenuM .m_smenu li a {
    font-size: 12px;
    color: #ffffff
}

#topmenuM .m_smenu li:last-child {
    display: none;
}


/* 반응형 [s] */
@media (hover:hover) {
    #shGnb .sh_nav>ul>li:hover>a {
        color: var(--primary) !important
    }

    #shGnb .sh_nav>ul>li:hover .sh_lnb_s:before {
        width: calc(100% + 10px);
        opacity: 1
    }

    #shGnb .sh_nav>ul>li:hover .sh_lnb_s a {
        color: #777
    }

    #shGnb .sh_nav>ul>li:hover .sh_lnb_s a:hover {
        color: var(--primary)
    }

    #shGnb .sh_lnb_s li a:hover {
        color: var(--primary)
    }

    .pf_cate>ul>li ul a:hover {
        opacity: 1
    }
}

@media (max-width:1380px) {
    #shGnb {
        padding: 0 3%
    }

    #shGnb .sh_nav>ul>li>a {
        padding: 0 30px
    }

    #shGnb.on .sh_nav>ul>li>a {
        padding: 0 38px
    }
}

@media (max-width:1024px) {
    #skip_to_container{
        display: none;
    }
    #sh_hd.sub #topmenuM.fix {
        background-color: transparent;
    }

    #shGnb {
        display: none
    }

    #topmenuM {
        display: block;
        transition: all .2s
    }

    #topmenuM.fix {
        background-color: #fff
    }

    #navWrap {
        display: none
    }

    #topmenuM .m_smenu li:last-child{
        display: block;
    }
}

/* 반응형 [e] */

.hd-lang{position:absolute;top: 35px;right: 150px;z-index: 101;display:flex;gap: 10px;}
.hd-lang li{height:20px;}
.hd-lang li a{display:flex; justify-content: center; align-items: center; width:100%; height:100%;}
.hd-lang img{height:100%;}


@media (max-width:1300px) {
	.hd-lang{right:120px;}
}
@media (max-width:1200px) {
	.hd-lang{gap:8px; top:38px;}
	.hd-lang li{height:16px;}
}
@media (max-width:1024px) {
	.hd-lang{top:50%; right:70px; transform: translateY(-50%);}
}
@media (max-width:480px) {
	.hd-lang{gap:5px; right:60px;}
}