.main-sec {padding: 100px 0;}
.main-sec .htitle {width: 100%;}
.htitle h1 
{font-size: 40px; font-weight: 400; margin: 0 auto 10px; color: #222; text-transform: uppercase;}
.htitle p 
{font-size: 18px!important; letter-spacing: -0.03em; color: #666666;}


.main-sec p{
    font-size: 18px;
    line-height: 1.8em;
    font-weight: 500;
    color: #222;
}

.more-button{
    display: inline-block;
    padding: 5px 40px;
    border: 2px solid #121212;
    border-radius: 30px;
    font-weight: 900;
    font-size: 15px;
    background: #fff;
}

.more-button:hover{
    border-color: #e9002c;
    color: #e9002c;
}

@media screen and (max-width: 768px){
    .main-sec {padding: 60px 0;}
}






/*메인-company*/
#maincompany p{
    word-break: keep-all;
}
#maincompany .row{
    align-items: center;
}

#maincompany .more-button{
    margin-top: 15px;
}

.company-logo{
    margin-top: 100px;
}

.company-logo ul{
    display: flex;
    align-items: center;
    column-gap: 10%;
}

.company-logo .logo-content01{
    padding: 60px 20% 60px 50px;
    background: #f7f7f7;
}

.company-logo .logo-content02{
    padding: 60px 0% 60px 10%;
}


#maincompany{
    padding-top: 80px;
}

/* 메인 서비스 */
#mainservice{
    position: relative;
}

#mainservice .container{
    position: relative;
    z-index: 10;
}

#mainservice .htitle ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#mainservice .htitle p{
    margin: 30px 0;
}

.service_titlebox{
    display: flex;
    justify-content: space-between;
}

.service_titlebox h2{
    font-size: 16px;
    font-weight: 900;
    color: #222;
    text-transform: uppercase;
}

.service_txt_slide{
    margin-top: 80px;
}

.service_txt_slide li{
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    width: 70%;
}

.service_txt_slide .txtbox{
    padding-left: 140px;
    position: relative;
}

#btn1 .txtbox::before{
    content: "1";
    display: inline-block;
    color: #f0b3be;
    position: absolute;
    font-size: 155px;
    font-weight: 700;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}


#btn2 .txtbox::before{
    content: "2";
    display: inline-block;
    color: #f0b3be;
    position: absolute;
    font-size: 155px;
    font-weight: 700;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#btn3 .txtbox::before{
    content: "3";
    display: inline-block;
    color: #f0b3be;
    position: absolute;
    font-size: 155px;
    font-weight: 700;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.service_txt_slide li{
    height: 100%;
}

.service_txt_slide li.active{
    background: #cc092e;
    border-radius: 0 10px 10px 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.service_txt_slide li h2{
    font-size: 24px;
    color: #222;
    margin-bottom: 10px;
    font-weight: 700;
}

.service_txt_slide li p{
    color: #222;
    font-size: 18px;
}

.service_txt_slide li p span{
    display: inline-block;
    margin-right: 20px;
}

.service_txt_slide li.active h2, .service_txt_slide li.active p{
    color: #fff;
}

.service-bg-wrap{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-bg01{
    background: #f7f7f7;
}

.service-bg02{
    padding: 0;
}

.service-bg02 ul, .service-bg02 ul li{
    width: 100%;
    height: 100%;
}

.service_bg_slide .slick-list,.service_bg_slide .slick-track,.service_bg_slide li{
    height: 100% !important;
}


/* 메인-cowork */
.cowork-wrap{
    align-items: center;
}

.cowork-wrap .cowork-img{
    padding: 0;
}

.cowork-wrap .cowork-title01 h1{
    margin-bottom: 20px;
}

.cowork-wrap .cowork-title01 h2{
    font-size: 16px;
    color: #222;
    font-weight: 900;
    margin-top: 60px;
}

.cowork-wrap .cowork-title01 h2::after{
    content: "";
    display: block;
    width: 1px;
    margin: 50px 0;
    height: 55px;
    background: #222;
}


.cowork-wrap .cowork-title02 h1{
    font-size: 30px;
    display: flex;
    align-items: center;
    font-weight: 900;
    color: #222;
    margin-bottom: 20px;
}

.cowork-wrap .cowork-title02 h2{
    font-size: 26px;
    font-weight: 400;
    color: #222;
    margin-bottom: 20px;
}

.cowork-wrap .cowork-title02 h3{
    font-size: 20px;
    font-weight: 900;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.6em;
}

.cowork-wrap .cowork-title02 p{
    font-size: 16px;
}

/* 메인-NEWS */
#mainnews .row{
    margin-bottom: 20px;
}

.news-borad-wrap .board_output-inner > tbody > tr > td{
    display: inline-block;
    width: 25%;
}


.board_output_gallery_img{
    width: 100%;
    display: block;
}

.board_output_gallery_img img{
    width: 100%;
}


.news-borad-wrap .board_output-inner tbody tbody tr:nth-child(2){
    background: #f7f7f7;
    padding: 30px;
    border-radius: 0 0 10px 10px;
    display: block;
}

.news-borad-wrap .board_output-inner tbody tbody tr:nth-child(2) span{
    text-align: left;

}

.news-borad-wrap .board_output_gallery_subject a{
    font-size: 20px !important;
    font-weight: 400;
    color: #222 !important;
    line-height: 1.5em !important;
}


.board_output_gallery_description{
    display: block;
    text-align: left !important;
    font-size: 15px !important;
    margin-top: 20px;
}

@media screen and (max-width: 1600px){

    .scroll-down{
        display: none;
    }

}



@media screen and (max-width: 1440px){
    .cowork-wrap .cowork-title02 h1{
        font-size: 20px;
    }   
}



@media screen and (max-width: 1200px){

    .container{
        max-width: unset;
    }
    
}



@media screen and (max-width: 1024px){
    .service_txt_slide .txtbox::before{
        font-size: 150px !important;
    }
    .htitle h1{
        font-size: 2em;
    }

    .main-sec p{
        font-size: 1em;
    }

    #mainservice  .row{
        margin: 0;
    }
    
    .service-bg-wrap div , #mainservice .col-md-6{
        flex: unset !important;
        width: 100% !important;
        max-width: unset;
    }

    #mainservice .col-md-6{
        padding: 0 20px;
    }

    .service_txt_slide{
        display: flex;
        column-gap: 20px;
        padding: 0 20px;
    }

    .service_txt_slide li{
        flex-flow: column;
        width: 30%;
        flex-grow: 1;
        background: #fff;
    }


    .service_txt_slide .txtbox{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    
    
    #mainservice .slick-initialized .slick-slide{
        left: 0 !important;
        position: absolute !important;
        background-position: center !important;
    }
    
}










@media screen and (max-width: 991px){
    #maincustomer h3 {text-align: center!important;}
}


@media screen and (max-width: 768px){
    

    .service_txt_slide .txtbox::before {
        font-size: 30px !important;
        position: relative !important;
        transition: unset !important;
        left: unset !important;
        top: unset !important;
    }

    .service_txt_slide .txtbox{
        padding-left: 20px;
    }
    .more-button{
        padding: 5px 25px;
    }

    .news-borad-wrap .board_output-inner > tbody > tr > td{
        width: 50%;
        margin-bottom: 20px;
    }

    .main-sec .htitle {margin-bottom: 30px;}
    .htitle h1 {font-size: 2.5em;}
    .htitle p  {font-size: 1em!important;}
    
/*
    #maincompany .row {padding: 0 10px;}
    #maincompany .row > div {padding: 0;}
*/
    #maincompany .copmany-txt {left: 0; text-align: center; width: 100%;}
    #maincompany .row:nth-child(2) > div::before {right: 30px;}
    #maincompany ul.copmany-txt li {max-width: 85%; margin: auto;}
    #maincompany ul.copmany-txt li br {display: none;}
    
    
    
    
}





@media screen and (max-width: 512px){
    .company-logo .logo-content01, .company-logo .logo-content02{
        padding: 20px;
        flex-wrap: wrap;
        grid-gap: 20px;
        justify-content: center;

    }

    .company-logo ul li{
        width: 30%;
        flex-grow: 1;
        text-align: center;
    }
    .company-logo ul li img{
    height: 28px;
    }


    #mainservice .htitle ul{
        display: block;
    }

    .htitle h1{
        margin-bottom: 20px;
    }
    
}

















@media screen and (max-width: 575px){
    
    .service_titlebox{
        flex-flow: column;
        row-gap: 10px;
    }

    .main-sec .htitle{
        margin-bottom: 10px;
    }

    .htitle h1 {font-size: 2rem; word-break: keep-all;margin-bottom: 0;}
    .htitle p {font-size: 1rem!important; line-height: 1.8em; word-break: keep-all;}
    
    #maingallery {background-attachment: fixed;}
    #maincompany .row > div {margin-bottom: 30px;}
    #maincompany .row > div:last-child {margin-bottom: 0px;}
    #maincompany .copmany-txt li {text-align: left; max-width: 80%; word-break: keep-all;line-height: 1.5;}
    #maincompany .copmany-txt li h2 {margin-bottom: 10px;}
    
    
    #maincustomer .container .cont-wrap {padding: 30px 20px;}
    #maincustomer .board_output a,
    #maincustomer .board_output .board_output_1_tr td:last-child
    {font-size: 13px!important;}
    #maincustomer .board_output a {padding-left: 2px!important;}
    #maincustomer h3 {margin-bottom: 0px!important;text-align: center;}
    .tel-wrapper li:nth-child(1) a::before {display: none}
    .tel-wrapper li:nth-child(4) a {padding-top: 0px!important;}
    .goto-btns ul {flex-wrap: wrap;}
    .goto-btns ul li {width: 100%;}
    span.more {position: static; text-align: center;}
    span.more a {background: #ddd; padding: 5px; margin-top: 30px;}
    
    
    
    
    .service_txt_slide{
        flex-wrap: wrap;
    }

    .service_txt_slide li{
        width: 100%;
    }
    

    .more-button{
        margin-top: 10px;
    }

    .news-borad-wrap .board_output-inner tbody tr > td{
        width: 100%;
    }

    .service_txt_slide{
        margin-top: 40px;
    }

    .service_txt_slide .txtbox{
        padding: 20px 10px;
    }

    .service_txt_slide li h2{
        margin-bottom: 10px;
    }

    .service_txt_slide li p span{
        margin-right: 10px;
    }

    .service_txt_slide li p{
        font-size: 14px;
    }
    
    .cowork-wrap .cowork-title01 h2{
        margin-top: 30px;
    }

    .cowork-wrap .cowork-title01 h2::after{
        margin: 20px auto;
    }

    #maincowork .cowork-title01 p{
        margin-bottom: 30px;
    }

    .cowork-wrap .cowork-title02 h1 {
        justify-content: center;
    }

    .cowork-wrap .cowork-title02 h1 img{
        width: 40%;
    }

    .cowork-wrap .cowork-title02 h2{
        font-size: 20px;
    }
    
    .cowork-wrap .cowork-title02 h3{
        font-size: 17px;
    }

    #mainnews .text-right{
        text-align: left !important;
    }

}
