@charset "utf-8";

/* HEADER|INDEX CSS*/

p,
h1,
h2,
h3,
h4,
a,
div {
    transition: .8s;
}

.mt20 {
    margin-top: 20px;
}


/* header */
.navbar-header {
    display: none;
}

.navbar-header button {
    pointer-events: visible;
}

.navbar-brand {
    display: inline-block;
    background: url('../images/logo_w.png');
    background-position-y: center;
    height: 100%;
    width: 100%;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: 100% auto;
    align-items: center;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navBtn span.close {
    background-image: url('../images/close.png');
}

.nav_border {
    border-bottom: 1px solid #dee2e6;
}

/* ALL action */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* section01 */
#section01 {
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
}

.index_main {
    background-image: url("../images/index_main_bg.jpg");
    height: 100%;
    width: 100%;
    position: absolute;
    background-size: cover;
}

.txt_wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000091;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.txt_wrap p {
    color: #fff;
    font-size: 42px;
}

.txt_wrap img {
    transform: scale(0.8);
    margin-top: 30px;
}

.sub_go {
    display: none;
    transition: none;
}

/* section02 start */
#section02 {
    margin: 200px auto;
}

.p_txtbox {
    height: 80px;
}

.p_txtbox .eng,
.p_txtbox p {
    text-align: left;
    float: left;
}

.p_txtbox p {
    width: 70%;
    line-height: 1.8;
}

.p_txtbox .eng {
    width: 30%;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
}

.blue {
    color: #2F5CED;
}

/* Service start */
.service_wrap {
    width: 100%;
    margin: 0 auto;
    margin-top: 100px;
    clear: both;
}

.serBox {
    position: relative;
    display: inline-block;
    width: 89%;
    height: 515px;
    box-shadow: 0 3px 5px rgb(0 0 0 / 15%);
    cursor: pointer;
    overflow: hidden;
}

.s_box:nth-child(4),
.s_box:nth-child(5),
.s_box:nth-child(6) {
    margin-top: 50px;
}

.serBox .s_img {
    overflow: hidden;
    width: 100%;
    height: 60%;
}

.s_box_txt {
    height: 40%;
    text-align: center;
    padding: 30px 15px;
}

.s_box_txt p:first-child {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
}

.s_box_txt p:last-child {
    line-height: 1.4;
}

.serBox:hover div>img {
    transition: transform 0.8s ease;
}

.serBox:hover div>img {
    transform: scale(1.18);
    /* 요소 자체를 확대 */
}


/* section03 (WELFARE) start */
#section03 {
    background-color: #FBFBFB;
    width: 100%;
    max-width: 100%;
}

.welfare_wrap {
    clear: both;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 70px;
}

.w_content {
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    margin-top: 30px;
}

.w_content img {
    width: 50%;
}

.w_content p {
    font-size: 18px;
    font-weight: 800;
    margin-top: 25px;
}

.w_content:hover img {
    animation: up_down 0.8s linear infinite;
}

@keyframes up_down {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* Partner Start */
#section04 {
    margin: 200px auto;
}

ul.partner {
    clear: both;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
}

ul.partner.mt70 {
    margin-top: 79px;
}

ul.partner li {
    text-align: center;
    height: 100px;
    margin-top: 30px;
    transition: all .4s;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

ul.partner li.visible {
    opacity: 1;
    transform: translateY(0);
}

ul.partner li:nth-child(3) img {
    margin-top: -20px;
}

.partner li.scale_08 img {
    transform: scale(0.7);
}

/* 화면크기 ~922px일 경우 */
@media only screen and (min-width: 992px) {

    .nav-link {
        font-size: 18px;
        font-weight: 700;
    }

    .nav-item {
        padding: 20px 0;
    }

    .nav-item,
    .nav-item.on {
        position: relative;
    }

    .nav-item:after,
    .nav-item.on:after {
        position: absolute;
        display: block;
        content: "";
        top: 50px;
        width: 100%;
        height: 4px;
        background: #002f7b;
        margin: 22px auto 0;
        transition-timing-function: ease-in-out;
        -o-transition-timing-function: ease-in-out;
        -moz-transition-timing-function: ease-in-out;
        -webkit-transition-timing-function: ease-in-out;
        transition-duration: 0.2s;
        -o-transition-duration: 0.2s;
        -moz-transition-duration: 0.2s;
        -webkit-transition-duration: 0.2s;
    }

    .nav-item:after {
        width: 0;
    }

    .nav-item:hover::after {
        width: 100%;
    }

    .nav-item:hover .nav-link {
        color: #002f7b;
    }

    .nav-link.on {
        color: #002f7b;
    }

    .navbar {
        position: fixed;
        top: 0px;
        display: inline-table;
        z-index: 999;
        width: 100%;
        padding: 0;
        transition: 0.2s;
        background: #fff;
    }

    .navbar:after {
        position: absolute;
        display: block;
        content: "";
        width: 100%;
        top: 70px;
        left: 0;
        height: 0;
        background: #FFF;
        z-index: -1;
        opacity: 0.3;
        transition-timing-function: ease-in-out;
        -o-transition-timing-function: ease-in-out;
        -moz-transition-timing-function: ease-in-out;
        -webkit-transition-timing-function: ease-in-out;
        transition-duration: 0.2s;
        -o-transition-duration: 0.2s;
        -moz-transition-duration: 0.2s;
        -webkit-transition-duration: 0.2s;
    }

    .navbar:hover:after {
        height: 350px;
        opacity: 1;
        border-bottom: 1px solid #dee2e6;
    }

    ul.navbar-nav {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
        width: 100%;
    }

    ul.suv_menu {
        display: flex;
        position: absolute;
        top: 90px;
        height: 1px;
        width: 200px;
        opacity: 0;
        overflow: hidden;
        align-items: flex-start;
        flex-direction: column !important;
        z-index: 999;
        margin: 0;
        /* visibility: hidden; */
        transition-timing-function: ease-in-out;
        -o-transition-timing-function: ease-in-out;
        -moz-transition-timing-function: ease-in-out;
        -webkit-transition-timing-function: ease-in-out;
        transition-duration: 0.2s;
        -o-transition-duration: 0.2s;
        -moz-transition-duration: 0.2s;
        -webkit-transition-duration: 0.2s;
    }

    .navbar:hover ul.suv_menu {
        height: auto;
        /* visibility: visible; */
        opacity: 1;
    }

    .suv_menu li {
        display: flex;
        flex-direction: row;
        padding: 15px 5px 15px 7px;
    }

    .suv_menu li:hover {
        font-weight: 700;
    }

    .suv_menu li.on_color {
        font-weight: 700;
    }

}


/* 화면 크기 1400px ~ 일 경우 */
@media only screen and (max-width: 1400px) {
    .serBox .s_img {
        height: 55%;
    }

    .s_box_txt {
        height: 45%;
    }

    .s_box_txt p:first-child {
        font-size: 19px;
    }

}

/* 화면 크기 1200px ~ 일 경우 */
@media only screen and (max-width: 1200px) {

    .service_wrap {
        width: 100%;
    }

    .s_box {
        text-align: center;
    }

    .s_box:nth-child(4),
    .s_box:nth-child(5),
    .s_box:nth-child(6) {
        margin-top: 0px;
    }

    #section04 .p_txtbox .eng {
        width: 36%;
    }

    #section04 .p_txtbox p {
        width: 64%;
    }
}


/* 화면크기 922px이하일 경우 햄버거 메뉴바 */
@media only screen and (max-width: 992px) {

    .navbar>.container {
        max-width: 100%;
        width: 100%;
        justify-content: flex-end;
    }

    .navbar {
        position: fixed;
        width: 100%;
        z-index: 999;
        background-color: #fff;
    }

    .logo_box {
        width: 30%;
    }

    .navbar-header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 70%;
        height: 60px;
    }

    .navbar-header button {
        height: 90%;
        width: auto;
    }

    .navbar-nav {
        width: 99%;
        margin: 30px auto;
    }

    .navbar:after {
        display: none;
    }

    .nav-item>a {
        font-weight: bold;
        float: left;
    }

    .responsive_nav ul li.nav-item {
        padding: 15px 0;
    }

    .sub_go {
        display: inline-block;
        background-image: url('../images/down_arrow.png');
        background-repeat: no-repeat;
        width: 25px;
        height: 25px;
        background-size: contain;
        padding: 22px 0;
        float: right !important;
    }

    .sub_go.rotate {
        background-image: url('../images/up_arrow.png');
    }

    ul.suv_menu {
        clear: both;
        opacity: 0;
        height: 1px;
        visibility: hidden;
    }

    ul.suv_menu.on_nav {
        opacity: 1;
        height: auto;
        visibility: visible;
    }

    ul.suv_menu a {
        color: #75788E;
    }

    ul.suv_menu li {
        padding: 5px 0 5px 20px;
    }

    ul.suv_menu li:hover {
        color: #002f7b;
        font-weight: 600;
    }

    /* section */
    #section01 {
        top: 60px;
    }

    .txt_wrap p {
        font-size: 36px;
    }

    .txt_wrap img {
        transform: scale(0.5);
        margin-top: 20px;
    }

    .serBox {
        width: 100%;
        height: 500px;
    }

    /* welfare start */
    .p_txtbox .eng {
        width: 40%;
        font-size: 32px;
    }

    .p_txtbox p {
        width: 60%;
        line-height: 1.4;
    }

    .w_content p {
        font-size: 14px;
    }

    /* partner start */
    #section04 .p_txtbox .eng {
        width: 45%;
    }

    #section04 .p_txtbox p {
        width: 46%;
    }

    .serBox .s_img {
        height: 55%;
    }

    #section04 {
        margin: 120px auto;
    }
}



/* 화면크기 767px~ 일 경우 */
@media only screen and (max-width:767px) {

    .txt_wrap p {
        margin-top: 20px;
        font-size: 26px;
    }


    .p_txtbox .eng {
        font-size: 28px;
    }

    .s_box_txt p:first-child {
        font-size: 16px;
        margin-bottom: 10px;
    }

    /* service */
    .serBox {
        height: 400px;
    }

    .serBox .s_img {
        height: 50%;
    }

    .s_box_txt {
        height: 50%;
    }

}

@media only screen and (max-width: 636px) {
    .service_wrap .s_box {
        width: 100%;
    }

    .serBox {
        height: 360px;
    }

    .serBox .s_img {
        height: 60%;
    }

    .serBox .s_img img {
        transform: translateY(-90px);
    }

    .s_box_txt {
        height: 40%;
        padding: 15px;
    }

    .s_box_txt p:last-child {
        text-align: left;
    }

    .serBox:hover div>img {
        transform: scale(1.18) translateY(-90px);
    }


}

/* Mobile Start*/
@media only screen and (max-width: 575px) {

    .txt_wrap p,
    .p_txtbox .eng {
        font-size: 20px;
    }

    .p_txtbox p {
        font-size: 14px;
        line-height: 1.4;
    }

    /* service */
    #section02 {
        margin: 120px auto;
    }

    .s_box {
        padding: 0;
    }

    .service_wrap {
        margin-top: 20px;
    }


    /* welfare */

    .welfare_wrap {
        margin-top: 0;
        gap: 0;
        justify-content: flex-start;
    }

    .w_content p {
        margin-top: 10px;
    }

    /* partner */
    #section04 {
        margin: 50px auto;
    }

    #section04 .p_txtbox p {
        width: 54%;
    }

    ul.partner.mt70 {
        margin-top: 0px;
    }

    ul.partner li {
        height: 40px;
    }

    .partner li.scale_08 img {
        transform: scale(1);
    }


    .index_main {
        background-position: -330px;
    }


}

@media only screen and (max-width: 375px) {

    .navbar-brand {
        margin-left: -20px;
    }

    .section {
        opacity: 1;
        display: block;
    }

    .logo_box {
        width: 40%;
    }

    .navbar-header {
        width: 60%;
        height: 50px;
    }

    .responsive_nav ul li.nav-item {
        padding: 10px 0;
    }

    /* service  */
    .txt_wrap p,
    .p_txtbox .eng {
        font-size: 18px;
    }

    .p_txtbox p {
        font-size: 11px;
        width: 56%;
    }

    .s_box_txt p:first-child {
        font-size: 14px;
    }

    .serBox {
        height: 360px;
    }

    .s_box_txt {
        height: 44%;
        padding: 10px;
    }

    .serBox .s_img {
        height: 60%;
    }

    .serBox .s_img img {
        transform: translateY(-60px);
    }

    /* welfare */

    .p_txtbox {
        height: 60px;
    }

    .w_content {
        margin-top: 0;
    }

    .w_content p {
        font-size: 12px;
    }

    /* partner */
    ul.partner li {
        height: 30px;
    }

    ul.partner li:nth-child(3) img {
        margin-top: 0;
    }

    ul.partner li img {
        transform: scale(1.5) !important;
    }

}