html {
    font-size: 15px;
}

::moz-selection {
    background: rgb(179, 179, 187, .8);
    color: #fff;
}

::selection {
    background: rgb(179, 179, 187, .8);
    color: #fff;
}

/* section-list */
.section-list {
    position: fixed;
    right: 34px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.section-list li a {
    display: block;
    width: 7px;
    height: 7px;
    margin-top: 20px;
    font-size: 1px;
    text-indent: -9999px;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #e7e7e7;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

.section-list li .active {
    background-color: #54a6e2;
}

@media only screen and (max-width: 1023px) {
    .section-list {
        display: none;
    }
}

/* top button */
.top_button {
    width: 30px;
    height: 30px;
    background-color: rgba(0,0,0,0.25);
    border-radius: 100%;
    position: fixed;
    right: 15px;
    bottom: 15px;
    text-align: center;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;

    display: none;
}

.top_button:hover {
    background-color: #54a6e2;
}

.top_button i {
    font-size: 12px;
    color: #fff;
}

/* 헤더 */
header {
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

@media only screen and (max-width: 1440px) {
    html {
        font-size: 13px;
    }
}

header a {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

header .videobox {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

header .videobox video {
    position: relative;
    width: 100vw;
}

@media screen and (max-aspect-ratio: 16/9) {
    header .videobox video {
        width: auto;
        height: 100vh;
    }
}

@media only screen and (max-width: 1024px) {
    header .videobox video {
        transform: translateX(-15%);
    }
}

@media only screen and (max-width: 768px) {
    header .videobox video {
        transform: translateX(-23%);
    }
}

@media only screen and (max-width: 450px) {
    header .videobox video {
        transform: translateX(-34%);
    }
}


@media only screen and (max-width: 375px) {
    header .videobox video {
        transform: translateX(-37%);
    }
}

.m_logo, .m_bar, .m_close{
    line-height: 80px;
}

.m_logo a {
    display: inline-block;
}

.m_logo img {
    max-width: 177px;
    width: 100%;
    height: auto;
}

.m_logo .bffm {
    width: 30px;
    margin-left: 6px;
}

.h_box_top { /* 메뉴가 맨 위가 아닐 때 */
    width: 100%;
    height: 50px !important;
    border: none;
    position: fixed;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 18px rgb(0 0 0 / 6%);
    z-index: 4;
    top: 0;
    left: 0;
}

.h_box_top .menu {
    padding: 0 6vw !important;
}

.h_box_top .menu .m_menu ol {
    line-height: 50px;
}

.h_box_top .menu > .m_logo {
    line-height: 70px;
}

.h_box_top .menu > .m_bar, .m_close {
    line-height: 60px;
}

.h_box_top .m_logo img {
    max-width: 150px;
}

.h_box_top .m_logo .bffm {
    width: 27px;
}

.h_box_top .m_menu ol a {
    font-size: 17px;
}

.h_box_top .m_bar img {
    max-width: 30px;
}

/* hover 아닐 때 */
.h_box {
    width: 100%;
    background-color: none;
    position: fixed;
    overflow: hidden;
    height: 100px;
    z-index: 4;
    top: 0;
    left: 0;
}

.menu {
    padding: 20px 6vw 0 6vw;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 4;
}

.mbox {
    display: none;
    margin-top: 20px;
    flex-direction: column;
    position: relative;
    z-index: 4;
}
/* //// */

/* hover */
@keyframes hover {
    0% {
        height: 100px;
    }
    100% {
        height: 470px;
    }
}

.h_box_hover {
    width: 100%;
    border: none;
    background-color: rgba(255, 255, 255);
    box-shadow: 0 3px 18px rgb(0 0 0 / 6%);
    position: fixed;
    overflow: hidden;
    animation: hover 0.3s forwards;
    height: 470px;
    z-index: 4;
    top: 0;
    left: 0;
}

@keyframes hover_m {
    0% {
        height: 50px;
    }
    100% {
        height: 470px;
    }
}

.h_box_hover_m { /* nav가 top이 아닐 때 */
    width: 100%;
    border: none;
    background-color: rgba(255, 255, 255);
    box-shadow: 0 3px 18px rgb(0 0 0 / 6%);
    position: fixed;
    overflow: hidden;
    animation: hover_m 0.3s forwards;
    height: 470px;
    z-index: 4;
    top: 0;
    left: 0;
}


.bar_b {
    -webkit-filter: grayscale(100%) brightness(0);
    filter: grayscale(100%) brightness(0);
}

/* //// */

.mbox li a:hover {
    color: #808080 !important;
}

.m_menu {
    display: flex;
}

.s_menu {
    width: 10vw;
    text-align: center;
}

.m_menu ol {
    line-height: 60px;
    display: inline-block;
}

.m_menu ol a {
    font-weight: 600;
    font-size: 18px;
}

.mbox li, .mbox_h li {
    margin-top: 15px;
}

#icon {
    z-index: 99;
    visibility: hidden;
}

.m_bar img {
    max-width: 33px;
    width: 100%;
    height: auto;
}

.m_arr {
    cursor: pointer;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    display: none;
}

section {
    position: relative;
}

/* br */
.t_br, .st_br, .sst_br, .sup_br {
    display: none;
}

/* 미디어쿼리 */
@media only screen and (max-width: 1690px) {
    .t_br {
        display: block;
    }
}

@media only screen and (max-width: 1500px) {
    .sup_br {display: block;}
}

@media only screen and (max-width: 1280px) {
    .m_menu ol a {
        font-size: 20px !important;
    }

    header a {
        font-size: 16px;
    }

    .t_br, .st_br, .sst_br, .sup_br  {
        display: none;
    }

    .mbox {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 1350px) {
    header a {
        font-size: 15px;
    }
}

/* 모바일 헤더 */
@media only screen and (max-width: 1280px) {
    .t_br, .sup_br {
        display: none;
    }

    .section-list {
        z-index: 1;
    }

    #icon {
        visibility: visible;
    }

    .m_menu {
        display: none;

        flex-direction: column;
        width: 70%;
        height: 100%;
        background: #4c739d;
        color: #fff;
        box-shadow: -6px 0 18px rgb(0 0 0 / 22%);
        position: fixed;
        top: 0;
        right: -900px;
        padding: 100px 30px 30px 30px;
        z-index: 98;
    }

    .mbox li {
        margin: 0;
        padding: 0;
        line-height: 30px;
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .mbox li::after {
        content: "";
        width: 2px;
        height: 12px;
        display: inline-block;
        background: #fff;
        opacity: 0.7;
        margin: 0px 10px;
    }

    .mbox li:last-child::after {
        display: none;
    }

    .mbox {
        display: flex;
        border-top: 1px solid transparent;
        flex-wrap: wrap;
        flex-direction: row;
        padding: 20px 0;
    }

    .mbox li a:hover {
        color: #fff !important;
    }

    .mbox li:last-child a::after {
        display: none;
    }

    .s_menu {
        width: 100%;
        text-align: left;
        padding: 20px 0;
    }

    .s_menu ol {
        margin: 0 10px;
    }

    .s_menu a {
        color: #fff;
    }

    .m_menu ol {
        line-height: normal;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .m_close {
        position: fixed;
        margin-right: 6vw;
        right: 0;
        filter: grayscale(0) brightness(100%) !important;
        -webkit-filter: grayscale(0) brightness(100%) !important;
    }

    .m_close img {
        max-width: 22px;
        width: 100%;
        height: auto;
    }

    .h_box_top .menu .m_menu ol {
        line-height: normal;
    }
}

@media only screen and (max-width: 1024px) {
    .m_arr {
        display: block;
        width: 11px;
        transform: rotate(90deg);
        -webkit-transition: 0.4s;
        -o-transition: 0.4s;
        transition: 0.4s;
    }

    .mbox {
        display: none;
        border-top: 1px solid #e7e7e7;
    }

    .mbox li {
        display: block;
        padding: 10px;
        line-height: normal;
    }

    .mbox li::after {
        content: none;
    }
}

@media only screen and (max-width: 450px) {
    .mbox {
        flex-direction: column;
    }

    .mbox li {
        padding: 0 10px 15px;
    }

    .mbox li a::after {
        display: none;
    }

    .mbox li a {
        font-size: 17px;
    }

    .mbox li:last-child a {
        padding: 0;
    }

    .m_menu {
        width: 101%;
    }

    .f_br {display: block;}

    .m_menu ol a {
        font-size: 18px;
    }

    .m_logo img {
        max-width: 135px !important;
    }

    .m_bar img {
        max-width: 24px !important;
    }

    .m_close img {
        max-width: 18px !important;
    }

    .m_logo .bffm {
        width: 24px !important;
    }
}

@media only screen and (max-width: 320px) {
    .m_logo img {
        max-width: 155px;
    }

    .m_bar img {
        max-width: 32px;
    }

    .m_close img {
        max-width: 19px;
    }
}

/* 푸더 */
footer {
    margin-top: 20vw;
    width: 100%;
    padding: 20px 0 0 0;
}

.f_text {
    color: #A3A3A3;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    margin-top: 13vw;
    padding: 0 30px;
}

.listbox {
    margin: 55px 6vw 65px 6vw;
    overflow: hidden;
    position: relative;
    /* z-index: -1; */
}

.list {
    display: flex;
    align-items: center;
    transform:perspective(500px) rotate(.001deg)
}

/* .list:hover {
    animation-play-state :  paused
} */

.list li {
    margin: 20px 18px 0 18px;
}

.list a {
    display: inline-block;
}

.list a img {
    width: 140px;
    height: 100%;
}

.f_bg {
    background-color: #333333;
    width: 100%;
    height: auto;
    padding: 60px 6vw;
}

.f_pri {
    display: flex;
    margin-top: 40px;
}

.f_pri a:first-child {position: relative;display: flex;align-items: center;}
.f_pri a:first-child::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 13px;
    background-color: #adadad;
    margin-left: 10px;
}

.f_pri a:last-child {padding-left: 10px;}

.f_box img {
    max-width: 232px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.f_br {display: none;}

.f_menu {
    border-top: 1px solid #adadad;
}

.f_mtext, .f_menu a, .copy {
    color: #ADADAD;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.7rem;
}

.f_menu a {display: inline-block;}

.f_pri a {
    padding: 0;
}

.f_menu p a:hover, .f_pri a:hover {
    color: #7c7c7c;
}

/* 푸터 기업 리스트 */
.kli a img {
    width: 175px;
}

.kwdi a img {
    width: 231px;
}

.hrdk a {
    margin: 0 0.4vw;
}

.hrdk a img {
    width: 293px;
}

.nhis a {
    margin-left: 0.2vw; 
    margin-bottom: 0.9vw;
}

.nlrc a {
    margin-left: 0.2vw;
}

.nlrc a img {
    width: 170px;
}

.comwel a img {
    width: 158px;
}

.moel a {
    margin-left: 0.2vw;
}

.yeoul a {
    margin: 0 0.4vw;
}

@media only screen and (max-width: 1280px) {
    .h_box {
        height: 54px;
        overflow: visible;
    }

    .m_logo, .m_bar, .m_close {
        line-height: 0px;
    }

    .menu {
        padding: 11px 5vw 0 5vw;
        align-items: center;
    }

    .h_box_top .menu > .m_logo, .h_box_top .menu > .m_bar, .m_close {line-height: 0;}
    .h_box_top .menu {padding: 11px 5vw 0 5vw !important;}

    .m_logo img {
        max-width: 150px;
    }

    .m_bar img {
        max-width: 29px;
    }

    .f_box img {
        max-width: 190px;
    }

    .m_logo .bffm {
        width: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .f_text {
        font-size: 15px;
    }
}

@media only screen and (max-width: 550px) {
    .h_box {
        top: -1px;
    }

    .list li {
        margin: 20px 10px 0 10px;
    }

    .f_br {display: block;}

    .f_box img {
        max-width: 170px;
    }

    .list a img {
        width: 90px;
    }

    .kli a img {
        width: 129px;
        margin-bottom: 5px;
    }
    
    .kwdi a img {
        width: 159px;
    }

    .hrdk a img {
        width: 215px !important;
    }

    .nlrc a img {
        width: 120px !important;
    }

    .comwel a img {
        width: 114px !important;
    }

    .f_text {
        font-size: 14px;
    }
}
