/* 메인페이지만 적용 */
.head_wrap{
    border-bottom: none;
}
/* /메인페이지만 적용 */

section{
    width: 100%;
}




/* count */
#cknb_count_mains{
    text-align: center;
    background-image: url("/resources/newimg/header/header_background.jpg");
    background-position: center;
    background-size: cover;
}
#cknb_count_mains .cknb_count{
    display: flex;
    align-items: center;
    justify-content: center;
}
#cknb_count_mains .cknb_count h2{
    color: #fff;
    margin: 0 50px 0 0;
}
#cknb_count_mains .cknb_count_wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
#cknb_count_mains .cknb_count_wrap .cknb_count_inner_set{
    margin: 0;
    width: 160px;
    color: #fff;
}
.cknb_count_inner_set p{
    font-weight: 300;
}
.cknb_count_inner_set span{
    font-weight: 500;
    font-size: 1.25rem;
}
.cknb_count_inner_set p,.cknb_count_inner_set span{
    color: #fff;
    line-height: 30px;
}




/* slide */
#slide_area .swiper {
    width: 100%;
    height: 680px;
}
#slide_area .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
#slide_area .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#slide_area .swiper {
    margin-left: auto;
    margin-right: auto;
}
#slide_area .swiper-button-next{
    right: 5%;
}
#slide_area .swiper-button-prev{
    left: 5%;
}




/* 분야별 */
#conts .conts_wrap{
    width: 100%;
}
#conts .conts_wrap ul{
    width: 100%;
}

#conts .conts_wrap ul.promotion{
    background-color: #baddf3;
}
#conts .conts_wrap ul.logistics{
    background-color: #ddcfe6;
}
#conts .conts_wrap ul.control{
    background-color: #cae3bc;
}
#conts .conts_wrap ul.certification{
    background-color: #f9e7a5;
}
#conts .conts_wrap ul li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding: 30px 130px;
    box-sizing: border-box;
}

#conts .conts_wrap ul li div:nth-child(1){
    width: 350px;
    height: 280px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* ----promotion----- */
#conts .conts_wrap .promotion li div:nth-child(1){
    background-image: url("/resources/newimg/main/main_conts_a.jpg");
}
#conts .conts_wrap .promotion li div:nth-child(2) a{
    background-color: #4f98d2;
}

/* -----logistics---- */
#conts .conts_wrap .logistics li div:nth-child(1){
    background-image: url("/resources/newimg/main/main_conts_b.jpg");
}
#conts .conts_wrap .logistics li div:nth-child(2) a{
    background-color: #8968a0;
}

/* ----control----- */
#conts .conts_wrap .control li div:nth-child(1){
    background-image: url("/resources/newimg/main/main_conts_c.jpg");
}
#conts .conts_wrap .control li div:nth-child(2) a{
    background-color: #689f4a;
}

/* ----certification----- */
#conts .conts_wrap .certification li div:nth-child(1){
    background-image: url("/resources/newimg/main/main_conts_d.jpg");
    background-size: 250px;
}
#conts .conts_wrap .certification li div:nth-child(2) a{
    background-color: #eabf20;
}


#conts .conts_wrap ul li div:nth-child(2){
    text-align: right;
}
#conts .conts_wrap ul li div:nth-child(2) p{
    margin: 20px 0 30px 0;
    font-size: 1.5rem;
    color: #626262;
}
#conts .conts_wrap ul li div:nth-child(2) a{
    padding: 7px 23px;
    border-radius: 9px;
    font-size: 1.25rem;
    color: #fff;
    box-sizing: border-box;
}



/* reference */
.reference_list{
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.reference_list li{
    margin: 0;
    width: 220px;
    padding: 0 2px;
}







/* media */
/* 테블릿 세로 (해상도 768px ~ 1023px)*/ 
@media all and (max-width:1023px) {
    /* count */
    #cknb_count_mains .cknb_count h2 {
        margin: 0 15px 0 0;
    }
    #cknb_count_mains .cknb_count_wrap .cknb_count_inner_set{
        width: 140px;
    }
    .cknb_count_inner_set span{
        font-size: 1.1rem;
    }


    /* 분야별 */
    #conts .conts_wrap ul li{
        padding: 20px 100px;
    }
    #conts .conts_wrap ul li div:nth-child(1){
        width: 280px;
    }
}

/* (해상도 899px) */
@media all and (max-width:899px) {
    /* 분야별 */
    #cknb_count_mains .cknb_count h2{
        margin: 0 0 15px 0;
    }
    #conts .conts_wrap ul li{
        padding: 20px 70px;
    }
    #cknb_count_mains .cknb_count_wrap .cknb_count_inner_set{
        width: 150px;
    }
}
  
/* 모바일 가로, 테블릿 세로 (해상도 480px ~ 767px)*/ 
@media all and (max-width:767px) {
    /* count */
    #cknb_count_mains .cknb_count{
        flex-direction: column;
    }

    #slide_area .swiper-button-next, #slide_area .swiper-button-prev{
        display: none;
    }

    /* 분야별 */
    #conts .conts_wrap{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 10px;
    }
    #conts .conts_wrap ul{
        width: 43%;
        border-radius: 40px;
    }
    #conts .conts_wrap ul:nth-child(-n+2){
        margin-bottom: 20px;
    }
    #conts .conts_wrap ul:nth-child(2n){
        margin-left: 20px;
    }

    #conts .conts_wrap ul li.max{
        max-width: unset;
        margin: 0;
        padding: 50px 0;
    }

    #conts .conts_wrap ul li{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    #conts .conts_wrap ul li div:nth-child(1){
        width: 230px;
        height: 230px;
        margin-bottom: 20px;
    }
    #conts .conts_wrap .certification li div:nth-child(1){
        width: 200px;
        background-size: 100%;
    }
    #conts .conts_wrap ul li div:nth-child(2){
        text-align: center;
    }
    #conts .conts_wrap ul li div:nth-child(2) p{
        display: none;
    }
    #conts .conts_wrap ul li div:nth-child(2) a{
        font-size: 1.2rem;
        display: block;
        margin: 0 auto;
        margin-top: 20px;
        padding: 9px 0;
        width: 140px;
    }

    .reference_list{
        margin-top: 10px;
    }
} 

@media all and (max-width:570px) {
    /* 분야별 */
    #conts .conts_wrap ul li.max{
        padding: 30px 0;
    }
    #conts .conts_wrap ul li div:nth-child(1){
        width: 130px;
        height: 130px;
        margin-bottom: 20px;
    }
    #conts .conts_wrap .certification li div:nth-child(1){
        width: 120px;
        background-size: 100%;
    }
    #conts .conts_wrap .certification li div:nth-child(1){
        background-size: 100%;
    }
    #conts .conts_wrap ul li div:nth-child(2) a{
        font-size: 1rem;
        padding: 8px 0;
        width: 120px;
    }
}
  
/* 모바일 가로, 테블릿 세로 (해상도 ~ 479px)*/ 
@media all and (max-width:479px) {
    
    /* 카운트 */
    .cknb_count_inner_set p{
        font-size: 1rem;
    }
    .cknb_count_inner_set span{
        font-size: 1rem;
    }
    #cknb_count_mains .cknb_count_wrap{
        width: 100%;
    }
    #cknb_count_mains .cknb_count_wrap .cknb_count_inner_set{
        width: calc(100%/3);
    }

    /* 분야별 */
    #conts .conts_wrap ul li div:nth-child(1){
        width: 100px;
        height: 100px;
    }
    #conts .conts_wrap .certification li div:nth-child(1){
        width: 80px;
        background-size: 100%;
    }
}

@media all and (max-width:280px) {
    
    /* 카운트 */
    .cknb_count_wrap{
        flex-direction: column;
    }
    #cknb_count_mains .cknb_count_wrap .cknb_count_inner_set{
        width: 200px;
    }
    #cknb_count_mains .cknb_count_wrap .cknb_count_inner_set:nth-child(2){
        margin: 10px 0;
    }

    #conts .conts_wrap ul{
        border-radius: 20px;
    }
    #conts .conts_wrap ul li.max{
        padding: 20px 0;
    }
    #conts .conts_wrap ul li div:nth-child(1){
        width: 80px;
        height: 80px;
    }
    #conts .conts_wrap .certification li div:nth-child(1){
        width: 60px;
    }
    #conts .conts_wrap ul li div:nth-child(2) a{
        font-size: 0.75rem;
        width: 83px;
        padding: 8px 0;
    }
    #conts .conts_wrap ul:nth-child(2n){
        margin-left: 10px;
    }
    #conts .conts_wrap ul:nth-child(-n+2){
        margin-bottom: 10px;
    }
}