@charset "utf-8";


#gnb.scrollDown {
    transform: translate(0, -160px);
}

/* .black */

.pc_navi_wrap .pc_logo_white {
    display: none;
}

/* .black */

#gnb {
    padding-top: 20px;
    padding-bottom: 20px;
    background: transparent;
    width: 100%;
    position: fixed;
    z-index: 9999;
    transition: .3s ease-in-out;
}

#gnb li a {
    position: relative;
    font-family: 'paperlogy';
    font-weight: 400;
}

#gnb li.has-submenu>a::after {
    position: absolute;
    content: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22 fill=%22%23222222%22><path d=%22M480-357.85 253.85-584 296-626.15l184 184 184-184L706.15-584 480-357.85Z%22/></svg>");
    width: 20px;
    position: absolute;
    right: -10px;
    top: 55%;
    transform: translateY(-50%);
    transition: .4s ease-in-out;
}



#gnb.bg_white {
    background: #fff;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

.pc_navi_wrap,
.menu,
.navi_btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.menu {
    gap: 3vw;
}

.navi_btn {
    background: var(--po-color);
    color: #fff;
    padding: 10px 30px 12px;
    padding-right: 35px;
    border-radius: 50px;
    gap: 10px;
    font-size: 1.6rem;
    font-family: 'paperlogy';
    font-weight: 400;
    z-index: 100;
}

.pc_navi_wrap .menu li {
    transition: .3s ease-in-out;
}

.pc_navi_wrap .menu li a {
    position: relative;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.pc_navi_wrap .menu li a::before {
    position: absolute;
    content: '';
    opacity: 0;
    width: 10%;
    height: 2px;
    background: var(--po-color);
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    transition: .3s ease-in-out;
}

/* .pc_navi_wrap .menu li:hover {
    transform: scale(1.3);
} */

.pc_navi_wrap .menu>li:hover>a {
    color: var(--po-color) !important;
}

.pc_navi_wrap .menu>li:hover>a:before {
    opacity: 1;
    top: -5px;
    width: 50%;
}


/* footer */
footer {
    padding: 3rem 20px;
}

footer .wrap {
    min-height: 0;
    background: #222;
    box-sizing: border-box;
    padding: 45px 60px;
    border-radius: var(--bdrs);
    display: flex;
    flex-direction: column;
    gap: 15rem;
    color: #ddd;
    font-family: 'paperlogy';
    font-weight: 400;
    font-size: 1.6rem;
}

footer .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .top p {
    font-size: 1.8rem;
    color: #fff;
}

footer .bot {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

footer .bot .left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer .bot .left a {
    color: #ddd;
    font-family: 'paperlogy';
    font-weight: 400;
    font-size: 1.6rem;
}

footer .bot .right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer .bot .right a {
    color: #fff;
    font-family: 'paperlogy';
    font-weight: 400;
    font-size: 1.8rem;
    text-align: right;
}

/* ▼ 드롭다운 하위메뉴 스타일 */
.menu li {
    position: relative;
}

.menu li .sub-wrap {
    position: absolute;
    top: 30px;
    left: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    min-width: 200px;
    transform: translate(-50%, -10px);
    z-index: 1000;
    padding-top: 10px;
}

.menu li:hover>.sub-wrap {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0px);
}

.menu li .submenu {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.menu li .submenu li {
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.menu li .submenu li:last-child{
    border-bottom: none;
}

.menu li .submenu li a {
    display: block;
    color: #333;
    font-size: 1.6rem;
    padding: 22px 15px;
}

.menu li .submenu li a:hover {
    background: #f5f5f5;
}

/* ▼ 호버 시 표시 */


.mob_menu .submenu {
    height: 0;
    overflow: hidden;
    flex-direction: column;
    padding-left: 2rem;
    gap: 2.5rem;
    opacity: 0;
    transition: 0.4s ease;
    margin-top: 0;
}

.mob_menu .submenu li {
    margin-bottom: 2rem;
    /* li끼리 아래쪽 간격 */
}

.mob_menu .submenu li:last-child {
    margin-bottom: 0;
    /* 마지막 li는 간격 제거 */
}

.mob_menu .submenu li a {
    font-size: 2rem;
    padding: 10px 0;
    padding-left: 15px;
}



.mob_menu .has-submenu .arrow_icon {
    transform: rotate(90deg);
    transition: .4s ease-in-out;
}

.mob_menu .has-submenu .arrow_icon.rotate {
    transform: rotate(270deg);
}




/* media query */
@media screen and (min-width:971px) {
    #gnb:hover {
        background: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .mob_navi_wrap {
        display: none;
    }
    #gnb li.has-submenu:hover>a::after {
    content: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22 fill=%22%23097Cff%22><path d=%22M480-357.85 253.85-584 296-626.15l184 184 184-184L706.15-584 480-357.85Z%22/></svg>");
    transform: rotate(180deg) translateY(60%);
}
}

/* min 971 */


@media screen and (max-width:970px) {
    #gnb {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .pc_navi_wrap {
        display: none;
    }

    .mob_navi_wrap .logo {
        width: 140px;
    }

    /* black */

    .mob_navi_wrap .logo .mob_logo_white {
        display: none;
    }

    /* #gnb:hover .logo .mob_logo{
        display: block;
    }
    #gnb:hover .logo .mob_logo_white{
        display: none;
    }
    #gnb:hover .menu-button .bar{
        background: #333;
    } */

    .mob_navi_wrap.on .mob_logo {
        display: none !important;
    }

    .mob_navi_wrap.on .mob_logo_white {
        display: block !important;
    }


    /* black */
    #gnb li.has-submenu>a::after {
        right: 0;
        mix-blend-mode: normal !important;
    }
    #gnb li.has-submenu>a.rotate::after{
        transform: rotate(180deg) translateY(60%);
    }


    #gnb li.has-submenu:hover>a::after, #gnb li.has-submenu>a::after {
        content: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22 fill=%22%23ffffff%22><path d=%22M480-357.85 253.85-584 296-626.15l184 184 184-184L706.15-584 480-357.85Z%22/></svg>") !important;
    }

    .mob_navi_wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mob_navi_wrap .logo {
        z-index: 100;
    }

    .mob_navi_wrap .mob_nav_btn {
        display: flex;
        align-items: center;
        gap: 15px;
        justify-content: space-between;
    }

    .navi_btn {
        padding: 8px;
    }

    .menu-button {
        cursor: pointer;
        padding: 10px 0;
        z-index: 100;
    }

    .menu-button .bar {
        position: relative;
        width: 40px;
        height: 2px;
        background: #333;
        margin: 6px 0;
        transition: .5s cubic-bezier(0.99, 0, 0, 0.99);
    }

    .menu-button.cross .bar:nth-child(1) {
        background: #fff;
        transform: translateY(4px) rotate(-45deg);
    }

    .menu-button.cross .bar:nth-child(2) {
        background: #fff;
        transform: translateY(-4px) rotate(45deg);
    }

    .mob_menu_wrap {
        position: absolute;
        height: 100vh;
        overflow-y: auto;
        background: url(../img/logo/kv_mark.png) no-repeat center;
        background-size: 80%;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 99;
        left: 0;
        right: 0;
        top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .3s ease-in-out;
    }

    .mob_menu_wrap.on {
        opacity: 1;
        visibility: visible;
    }


    .mob_menu {
        margin: 12rem 20px;
        display: flex;
        flex-direction: column;
        gap: 5rem;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .mob_menu li a {
        display: flex;
        justify-content: space-between;
        padding: 0 2rem;
        color: #fff;
        font-family: 'paperlogy';
        font-weight: 400;
        font-size: 2.6rem;
    }


}

/* max 970 */


@media screen and (max-width:850px) {
    footer .wrap {
        gap: 5rem;
        padding: 45px 20px;
    }

    footer .top {
        flex-direction: column;
        gap: 4rem;
    }

    footer .bot {
        flex-direction: column;
        align-items: center;
        gap: 4rem;
    }

    footer .bot .left {
        order: 2;
    }

    footer .bot .left,
    footer .bot .right {
        align-items: center;
    }

    footer .bot .right a {
        font-size: 1.8rem;
    }

    footer .bot .left p span {
        display: block;
        text-align: center;
        margin-top: 5px;
    }
}

/* max 850 */

@media screen and (max-width:500px) {
    footer .wrap {
        padding: 35px 20px;
    }

    footer .top img {
        width: 150px !important;
    }

}

/* max 500 */