@charset "utf-8";
nav {
    width: 100%;
}
.hamber-master input[type="checkbox"] {
    display: none;
}

/* ====PC) ==== */
#header {
    position: fixed;
    z-index: 999999;
    top: 0;
    width: 100%;
    transition: 0.5s ease-out;
    /* background: rgba(0,0,0,0.7); */
    background-color: #fff;
    box-shadow: 5px 5px 20px -22px;
    left: 0;
}
.mobile-gnb,
#mobill_logo {
    display: none;
}
img.sub-iconimg {
    width: 45px;
    height: auto;
    display: none;
}
header.scroll {
    background: #ffffff !important;
    box-shadow: 5px 5px 20px -22px;
    position: fixed !important;
    top: -30px !important;
}
header.hove {
    background: #ffffff !important;
    box-shadow: 5px 5px 20px -22px;
}

.menu .dropdown > li > a {
    color: var(--color-primary);
    transition: 0.3s;
}
.menu .dropdown ul li a {
    color: var(--color-text-tertiary);
    font-weight: normal;
}
.menu .dropdown > li:hover > a {
    color: var(--color-primary) !important;
}

/* ===== PC gnb ====== */
#pc-top_banner {
    width: 100%;
    background: var(--color-primary);
    height: 30px;
    overflow: hidden;
}
#pc-top_banner ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    align-content: center;
}
#pc-top_banner a {
    font-size: 12px;
    display: inline-block;
    color: var(--color-text-nonary);
    margin: 0 10px;
    line-height: 30px;
}
#pc-top_banner a:hover {
    transition: all 0.3s ease;
    opacity: 0.5;
}
#bo_v_info strong a {
    color: var(--color-text-secondary);
}

/* ===================== menu ===================== */
.menu {
    display: flex;
    height: 60px;
    transition: all ease 0.3s;
}
.menu:hover {
    height: max-content;
    transition: all ease 0.3s;
}
#logo {
    max-height: 100%;
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
#phone-call {
    position: absolute;
    top: 28px;
    left: 8px;
    display: none;
}
#phone-call img {
    width: 60%;
}

/* dropdown */
.menu .dropdown {
    display: flex;
    width: 100%;
    overflow: hidden;
    justify-content: center;
    padding-bottom: 0px;
}
.menu .dropdown > li {
    min-width: 14.28%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.menu .dropdown > li:hover {
    transition: all 0.5s ease;
    height: auto;
}
.menu .dropdown > li:hover * {
}
.menu .dropdown > li > a {
    line-height: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: var(--font-size-lg);
    height: 60px;
    font-weight: 500;
}
.menu .dropdown > li > a > span:last-child {
    display: inline-block;
}

/* 2dropdown */
.menu ul.sub-menu {
    margin-bottom: 40px;
    padding: 0px 0;
}
.menu .dropdown ul li {
    padding: 10px 0;
}
.menu .dropdown ul li a {
    position: relative;
}
.menu .dropdown ul li a::after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -5px;
}
.menu .dropdown ul li:hover a::after {
    width: 100%;
    transition: all 0.3s ease;
}

/* =======logo ======== */
.logo .logo_wrap {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    position: relative;
}
.logo .logo_wrap > a {
    flex: 1;
}
.logo .logo_wrap > a:first-child {
}
.logo a:last-child {text-align: right;}
.logo a span {
    display: inline-block;
    border: 4px solid #ffc90f;
    border-radius: 40px;
    padding: 4px 16px;
    background-color: #fff;
}
.logo .logo_img {
    width: 240px;
}
.sub-iconimg img {
    width: 35px; height: auto;
}
a.sub-icon {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 500;
}
.menu_logo {
    position: relative;
}
.menu_logo:before {
    position: absolute;
    content: "";
    top: 48%;
    left: -25px;
    transform: translateY(-45%);
    width: 21px;
    height: 20px;
    transition: all 0.5s ease-out;
    background-color: #fff;
    border-radius: 50%;
}

@media screen and (max-width: 1024px) {
    .logo {
        display: none;
    }
    /*#header{background: #0d2040 ;}*/
    #pc-top_banner {
        display: none;
    }
    .menu-wrap {
        text-align: center;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        /* height: 100%; */
    }
    #mobill_logo {
        display: flex;
        padding: 0px 0;
        text-align: center;
        height: 60px;
        align-items: center;
        max-width: 250px;
        justify-content: center;
        margin: 0 auto;
    }
    #mobill_logo img {
        width: 230px;
        padding-right: 0;
    }
    #logo {
        display: none;
    }
    #phone-call {
        display: block;
    }
    .menu {
        display: none;
        padding: 0 !important;
    }
    .menu.active {
        display: block;
        background: #fff;
        height: auto;
    }
    .menu.active,
    .dropdown ul.active {
        max-height: 70vh;
        display: block !important;
    }
    .menu ul.sub-menu {
        padding: 10px 0;
        display: none;
    }

    header.scroll .menu .dropdown > li > a {
        color: #111;
    }
    header.hove .menu .dropdown > li > a {
        color: var(--color-primary);
    }
    .menu .dropdown > li > a {
        color: var(--color-primary);
        transition: 0.3s;
        height: auto;
        white-space: normal;
    }
    .menu .dropdown > li > a > span:last-child {
        margin-top: 0;
    }
    .menu .dropdown ul li a {
    }
    .menu .dropdown > li:hover > a {
        color: var(--color-primary) !important;
    }

    .mobile-gnb.active {
        display: flex;
        background: #ffffff;
        color: var(--color-primary);
        order: 1;
        flex-wrap: nowrap;
        align-content: center;
        align-items: center;
        padding: 0px 20px;
        border-bottom: 1px solid #000;
        position: absolute;
        width: 100%;
        top: 0px;
        left: 0;
        height: 60px;
    }
    .mobile-gnb li {
        text-align: left;
        margin-right: 15px;
    }
    .mobile-gnb li a {
        color: var(--color-primary);
        font-size: 12px;
    }

    /* menu */
    #menu .dropdown {
        display: flex;
        padding: 20px;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
    }
    #menu .dropdown:hover::before {
        display: none;
    }
    #menu .dropdown > li {
        text-align: left;
    }
    #menu .dropdown > li:hover * {
    }
    #menu .dropdown > li:hover {
        height: auto;
        background-color: #fff;
    }
    #menu .dropdown > li > a {
        line-height: 1.3;
        display: flex;
        padding: 10px 0px 10px;
    }
    #menu .dropdown > li > a:after {
        display: none;
    }
    #menu .dropdown > li.cat-menu > a:after {
        content: "+";
        position: absolute;
        top: 2px;
        right: 35px;
        display: block;
        padding: 0;
        font-size: 25px;
        width: 25px;
        text-align: center;
    }
    #menu .dropdown > li.cat-menu > a.active:after {
        content: "-";
        z-index: 99;
        padding: 0;
        width: 25px;
    }

    #menu .dropdown ul li a {
        width: 100%;
        display: block;
        height: 100%;
        text-indent: 0;
    }
    #menu .dropdown ul li a::after {
        display: none;
    }
    #menu .dropdown ul li:hover a {
        background: #0054d1;
        color: #fff;
        transition: all 0.1s ease;
    }

    .menu,
    .dropdown ul {
        overflow: hidden;
        max-height: 0;
        background-color: #fff;
    }
    .dropdown ul {
        display: inherit;
        position: relative;
        left: auto;
        top: auto;
        border: none;
        padding: 0px;
    }

    /* menu button style */
    .hamber-master * {
        transition: all 0.3s;
        box-sizing: border-box;
    }
    .hamber-master {
        position: absolute;
        margin: 0;
        height: 25px;
        width: 25px;
        right: 20px;
        top: 20px;
        z-index: 999;
    }
    .hamber-master label {
        cursor: pointer;
        position: absolute;
        z-index: 99;
        height: 100%;
        width: 100%;
        top: 0px;
        right: 0;
    }
    .hamber-master .hamber {
        position: absolute;
        height: 2px;
        width: 100%;
        padding: 0;
        background-color: var(--color-primary);
    }
    .hamber-master .diagonal.part-1 {
        position: relative;
        float: left;
    }
    .hamber-master .horizontal {
        position: relative;
        float: left;
        margin-top: 8px;
    }
    .hamber-master .diagonal.part-2 {
        position: relative;
        float: left;
        margin-top: 8px;
    }
    .hamber-master input[type="checkbox"]:checked ~ .hamber-spin > .horizontal {
        opacity: 0;
    }
    .hamber-master input[type="checkbox"]:checked ~ .hamber-spin > .diagonal.part-1 {
        transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        margin-top: 10px;
    }
    .hamber-master input[type="checkbox"]:checked ~ .hamber-spin > .diagonal.part-2 {
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        margin-top: -12px;
    }

    header.scroll {
        top: 0px !important;
    }
}

@media screen and (max-width: 767px) {
    #menu .dropdown {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }
    #menu .dropdown > li {
        text-align: left;
        width: 100%;
    }
    #menu .dropdown ul {
        margin-bottom: 0;
    }
    #menu .dropdown ul li a {
        text-indent: 10px;
    }
}
@media screen and (max-width: 460px) {
    #mobill_logo img {
        width: 170px;
    }
    #phone-call {
        top: 22px;
        left: 10px;
        text-align: left;
    }
    #phone-call img {
        width: 60%;
    }
    .hamber-master {
        top: 18px;
        right: 15px;
    }
}
