@charset "utf-8";

/* *******************************************************
 * filename : main.css
 * description : 메인 레이아웃 및 컨텐츠 CSS
 * date : 2023-09-15
******************************************************** */
/*strategic*/
.strategic h1{ font-size: 90px !important; line-height: 1.2;
}
.strategic p{     margin-top: 50px;
    font-size: 20px;
    line-height: 1.4;
}
.strategic_bg{    background: #eaecf0 url(/2022/img/main/sbg1.png) center/cover no-repeat;
 padding: 150px 0;     background-attachment: fixed;}
.strategic{ line-height: 1.2; padding: 0 10%;  }
.strategic_txt{position: sticky; top: 160px;}
.strategic h1{color: #1a2447 !important;}
.strategic_wrap{width: 55%; margin-left: 45%;}
.strategic_wrap img{width: 100%;     transition: all .5s;}
.strategic_wrap img:hover{border-radius: 20%}
.strategic_l:hover.strategic_l img{border-radius: 20%;}
.strategic_r:hover.strategic_r img{border-radius: 20%;}
.strategic_l{width: 55%;}
.s_txt{padding-top: 40px; font-size: 35px; line-height: 1.5; color: #1a2447; font-weight: 600;}
.strategic_r{width: 55%; margin: 20% 0 20% 45%;}
.more_btn2{font-size: 20px;
    padding: 10px 20px;
    margin-top: 70px;
    display: inline-block;
    color: #fff !important;
    background: #1a2447;
    border-radius: 30px;
    width: 6%;
    font-weight: 700;
}


/*카테고리*/
.cate_wrap {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.cate_txt img {
    opacity: 0;
    transition: all .8s;
}

.cate_txt {
    padding-left: 9rem
}

.cate_txt h1 {
    position: relative;
    transition: .3s cubic-bezier(.4, 0, 1, 1);
}

.cate_txt p {
    font-weight: 600;
    line-height: 1.4;
    font-size: 25px;
}

.cate_txt span {
    position: absolute;
    left: 0;
}

.cate_img img {
    width: 100%;
}

.cate_hover {

    opacity: 0;
    transition: .3s cubic-bezier(.4, 0, 1, 1);
}

.cate:hover .cate_txt span {
    opacity: 0;
    transform: translateX(70px)
}

.cate:hover .cate_hover {
    opacity: 1 !important;
}


.cate {
    width: calc(100% / 3);
    font-size: 25px;
    padding-top: 120px;
    position: relative;
}

.cate:hover .cate_txt img {
    opacity: 1;
}

.cate:hover .cate_txt,
.cate:hover .cate_txt h1 {
    color: #213a8f;
}


.cate h1 {
    margin: 100px 0 120px;
    display: flex;
    align-items: center;
    font-size: 38px;
}



/*비즈니스*/
.cando_wrap {
    display: flex;
    flex-wrap: wrap;
}

.cando h1 {
    font-weight: 700;
    font-size: 45px;
}

.cando {
    width: calc(100% / 3);
    transition: all .3s
}

.cando h2 {
    position: relative;

}

.cando span {
    position: absolute;
    left: 0;
    font-weight: 700;
}

.cando_hover {

    opacity: 0;

}

.cando:hover .cando_txt span {
    opacity: 0;

}

.cando:hover .cando_hover {
    opacity: 1 !important;
    border-bottom: 2px solid;
    padding-bottom: 10px;

}


.cando:hover {
    background: #f9f9f9;
}

.cando:hover.cando_t {
    background: none !important;
}

.cando_border {
    background: #d5d5d5;
    height: 1px;
    margin: 0 auto;
}

.cando img {
    width: 100%;
}

.cando_con {
    padding: 9rem;
}

.cando_txt h2 {
    font-size: 28px;
    padding: 30px 0 65px;
    color: #213a8f;
}

.cando_txt p {
    font-size: 20px;
    line-height: 1.4;
}

@media (max-width:1440px) {
    .cate_txt {
        padding-left: 5rem;
    }

    .cate_txt p {
        font-size: 23px;
    }

    .cate h1 {
        font-size: 36px;
        margin: 80px 0 100px;
    }

    .cando_con {
        padding: 7rem 5rem;
    }

    .cando h1 {
        font-size: 42px;
    }

    .cando_txt h2 {
        font-size: 26px;
    }

    .cando_txt p {
        font-size: 18px;
    }

}

@media (max-width:1024px) {
    .cate_txt {
        padding-left: 3rem;
    }

    .cate_txt p {
        font-size: 21px;
    }

    .cate h1 {
        font-size: 33px;
    }

    .cando_con {
        padding: 5rem 3rem;
    }

    .cando h1 {
        font-size: 40px;
    }

    .cando_txt h2 {
        font-size: 24px;
    }

    .cando_txt p {
        font-size: 17px;
    }
}

@media (max-width:810px) {
    .cate_wrap {
        flex-direction: column;
        flex-wrap: wrap;
        margin-top: 100px;
    }

    .cate {
        display: flex;
        position: relative;
        justify-content: space-between;
        flex-direction: row-reverse;
        width: 100%;
        padding-top: 0;
        align-items: center;
        margin: 50px 0;
    }

    .cate:nth-child(2) {
        flex-direction: row;
    }

    .cate_txt {
        padding: 0 2rem;
        width: 60%;
        text-align: right;
    }

    .cate_txt img {
        opacity: 1;
        width: 42px;
        margin-right: 10px;
    }

    .cate:nth-child(2) .cate_txt {
        text-align: left;
    }

    .cate_img img {
        border-radius: 0 20px 20px 0;
    }

    .cate:nth-child(2) .cate_img img {
        border-radius: 20px 0 0 20px;
    }

    .cate_txt span {
        display: none;
        position: relative;
    }

    .cate:hover .cate_txt span {
        transform: translateX(0px)
    }

    .cate_hover {
        opacity: 1 !important;
        display: inline-block !important;
    }

    .cate_img {
        width: 50%;
    }

    .cate_txt p {
        font-size: 19px;
    }

    .cate h1 {
        font-size: 30px;
        margin: 30px 0 0;
        justify-content: end;
    }

    .cate:nth-child(2) h1 {
        justify-content: start;
    }

    .cando_con {
        padding: 2rem;
        display: flex;
        align-items: center;
    }

    .cando_txt h2 {
        font-size: 22px;
        padding: 5px 0 35px;
    }

    .cando_txt p {
        font-size: 16px;
    }

    .cando_wrap {
        flex-direction: column;
        padding: 0;
    }

    .cando_wrap:first-child {
        border-top: 1px solid #d5d5d5;
    }

    .cando:first-child {
        display: none;
    }

    .cando_wrap2 .cando:first-child {
        display: block;
    }

    .cando {
        width: 100%;
        border-bottom: 1px solid #d5d5d5;
    }

    .cando_border {
        display: none;
    }

    .cando_wrap2 .cando:last-child {
        border-bottom: none;
    }

    .cando img {
        width: 110px;
        height: 110px;
    }

    .cando_txt {
        padding-left: 2rem;
        width: 100%;
    }

    .cando:hover {
        background: none;
    }

    .cando_txt span {
        opacity: 0;

    }

    .cando_hover {
        opacity: 1 !important
    }

    .cando:hover .cando_hover {
        border-bottom: 0;
        padding-bottom: 0;

    }
}

@media (max-width:550px) {
    .cate_txt {
        padding: 0 1rem
    }

    .cate_txt p {
        font-size: 15px;
    }

    .cate_txt img {
        width: 28px;
        margin-right: 7px;
    }

    .cate h1 {
        font-size: 25px;
        margin: 25px 0 0;
    }

    .cando_con {
        padding: 1.5rem 1rem;

    }

    .cando_txt {
        padding-left: 1rem;
    }

    .cando_txt h2 {
        font-size: 20px;
    }

    .cando_txt p {
        font-size: 15px;
    }

    .cando img {
        width: 100px;
        height: 100px;
    }


}
