/* ----- 공통 ----- */
.main-sec {padding: 100px 0;}
.main-sec .htitle {width: 100%; margin-bottom: 50px;}
.htitle h1 
{font-size: 48px; font-weight: 900; margin: 0 auto 10px; color: #222; font-family: 'poppins', 'pretendard', sans-serif;}
.htitle p 
{font-size: 18px!important; color: #666666; line-height: 1.8em;}

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

.bg-container{
    height: 100%;
}

.bg-container .line{
    height: 100%;
    display: flex;
}

.bg-container span{
    display: inline-block;
    width: calc(33.3% - 3px);
    height: 100%;
    flex-grow: 1;
    border-left: 1px solid rgba(234, 234, 234, 1);
    position: relative;
}


.bg-container span:last-child{
    border-right: 1px solid rgba(234, 234, 234, 1);
}


.more-button{
    color: #fff;
    border-radius: 50px;
    overflow: hidden;
    max-width: 180px;
    min-height: 46px;
    flex-grow: 1;
}

 .more-button a{
    background: #2c2a50;
    font-family: 'poppins', 'pretendard';
    font-weight: 700;
    color: #fff;
    padding: 12px 5px 12px 25px;
    font-size: 15px;
    display: inline-flex;
    border-radius: 50px;
    position: relative;
    align-items: center;
    width: 100%;
    height: 100%;
}

.more-button.more-white a{
    background: transparent;
    border: 1px solid #ccc;
}


.more-button span::before{
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
    background: #fff;
    transition: 0.3s all;
    z-index: -1;
}


.more-button a:hover span::before{
    width: 100%;
}


 .more-button span{
    display: inline-block;
    transition: 0.3s all;
    flex-grow: 1;
    z-index: 10;
}


.more-button a:hover{
    color: #2c2a50;
}

 .more-button i{
    display: inline-flex;
    transition: 0.3s all;
    margin-right: 20px;
    padding: 5px;
    width: 25px;
    height: 25px;
    align-items: center;
    border-radius: 50%;
    z-index: 10;
    justify-content: center;
}


 .more-button a:hover i{
    margin-right: 10px;
    background: rgba(44, 42, 80, 0.3);
    color: #fff;
}



/* ----- 제품소개 ----- */
#mainproduct{
    padding-bottom: 200px;
    position: relative;
}

#mainproduct::after{
    content:"";
    background: url(../img/product_typo.png) repeat-x;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
    animation: productbg 20s linear infinite;
}

#mainproduct .product-bg01{
    position: absolute;
    left: 0;
    top: 75px;
}

#mainproduct .product-bg02{
    position: absolute;
    right: 3.75%;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes productbg{
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -400%;
    }
}

#mainproduct .htitle{
    margin-bottom: 30px;   
}

#mainproduct .product-des p{
    font-size: 18px;
    margin-bottom: 30px;
}

#mainproduct .col-md-5{
    align-self: flex-end;
    padding-right:30px;
}

#mainproduct .col-md-7{
    padding: 0;
    overflow: hidden;
}

#mainproduct .product-tab-nav{
    margin-top: 50px;
    display: flex;
    column-gap: 30px;
}

#mainproduct .product-tab-nav li span{
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

#mainproduct .product-tab-nav li.current span{
    color: #222;
    position: relative;
}

#mainproduct .product-tab-nav li.current span::before{
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #222;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: -15px;
}

#mainproduct .product-tab-nav li .product-progress{
    display: none;
}

#mainproduct .product-tab-nav li.current .product-progress{
    display: block;
}

#mainproduct .product-tab {
    min-height: 565px;
}

#mainproduct .product-tab  img{
    width: 100%;
}

#mainproduct .product-tab > div{
    opacity: 0;
    position: relative;
    visibility: hidden;
    transition: 0.3s all;
}

#mainproduct .product-tab > div.current{
    opacity: 1;
    visibility: visible;
}

#mainproduct .product-tab > div ul{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


#mainproduct .product-tab ul li{
    margin: 10px 15px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 2px  2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s all;
}

#mainproduct .product-tab ul li.slick-active{
    margin-top: 0px;
}

#mainproduct .product-tab ul li.slick-active.slick-current{
    margin-top: 100px;
}

#mainproduct .product-tab .txtarea{
    padding: 40px 30px;   
    background: #fff;
    font-weight: 700;
}

#mainproduct .product-tab .txtarea h2{
    color: #2c2a50;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 14px;
}

#mainproduct .product-tab .txtarea h3{
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #222;
}

#mainproduct .product-ind-wrap{
    margin-top: 80px;
    display: none;
    column-gap: 20px;
    align-items: center;
    transition: 0.3s all;
    padding-right: 85px;
}

#mainproduct .product-ind-wrap.current{
    display: flex;
}

#mainproduct .product-slide-ind{
    display: flex;
    column-gap: 20px;
}

#mainproduct .product-slide-ind > p{
    z-index: 999;
    cursor: pointer;
}

#mainproduct .product-slide-ind i{
    color: #222;
}

#mainproduct .product-button i{
    display: none;
}

#mainproduct .product-button i.active{
    display: inline-block;
}

#mainproduct .product-slide01-progress{
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    overflow: hidden;
    
    background-color: #eaeaea;
    background-image: linear-gradient(to right, black, black);
    background-repeat: no-repeat;
    background-size: 0 100%;
    
    transition: background-size .4s ease-in-out;
}

#mainproduct .product-slide02-progress{
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    overflow: hidden;
    
    background-color: #eaeaea;
    background-image: linear-gradient(to right, black, black);
    background-repeat: no-repeat;
    background-size: 0 100%;
    
    transition: background-size .4s ease-in-out;
}


/* ----- 회사소개 ----- */
#maincompany{
    background: url(../img/company_bg.png) no-repeat center;
    background-size: cover;
    position: relative;
}


#maincompany .main-bg span{
    border-color: rgba(234, 234, 234, 0.15);
}

#maincompany .col-md-6{
    padding: 0;
}

#maincompany .htitle h1{
    color: #fff;
    line-height: 1.5em;
    font-weight: 400;
}

#maincompany p{
    font-size: 18px;
    line-height: 1.8em;
    font-weight: 300;
    color: #fff;
    margin-bottom: 50px;
}

#maincompany p:last-child{
    margin-bottom: 0;
}

/* 회사소개 인증서부분 */
#maincert{
    background: #fff;
    border-bottom: 1px solid #ccc;
    padding: 40px 0;
}

#maincert .row > div{
    display: flex;
    column-gap: 25px;
}

#maincert h3{
    font-size: 24px;
    color: #222;
    font-weight: 700;
    margin-bottom: 10px;
}

/* CONTACT */
#maincontact{
    background: #f7f7f7;
    position: relative;
}

#maincontact .htitle h1{
    margin-bottom: 50px;
}

#maincontact ul li{
    margin-bottom: 30px;
}


#maincontact ul li strong{
    color: #222;
    font-size: 14px;
}

#maincontact .more-button{
    float: right;
    text-align: right;
    max-width: unset;
    margin-top: 20px;
    max-width: 200px;
    border: 1px solid #2c2a50;
}

#maincontact .more-button a{
    display: flex;
    width: 200px;
    text-align: left;
}


.main-contact-wrap table {
    background: transparent;
    border: none;
    width: 100%;
}

.main-contact-wrap table td, .main-contact-wrap table th{
    font-family: 'pretendard', sans-serif;
    border: none;
    background: none;
    display: block;
    width: 100%;
    text-align: left;
}

.main-contact-wrap .formmail_title_bgcolor{
    background: none;
    font-size: 16px;
    font-weight: 700;
    padding-left: 30px;
    margin-bottom: 10px;
}

.main-contact-wrap table input.formmail_border[type="text"]{
    border-radius: 30px;
    font-family: 'pretendard', sans-serif;
    background: #fff;
    font-size: 15px;
    padding: 15px 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    border: none;
}

.main-contact-wrap table textarea{
    border: none;
    border-radius: 30px;
    font-family: 'pretendard', sans-serif;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 30px;
    font-size: 15px;
}

.main-contact-wrap table input::placeholder{
    font-family: 'pretendard', sans-serif;
}

.main-contact-inner > tbody {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}

.main-contact-inner > tbody > tr:first-child{
    display: none;
}

.main-contact-inner > tbody > tr:last-child{
    display: none;
}

.main-contact-inner > tbody > tr{
    display: flex;
    flex-flow: column;
    min-height: 100px;
    height: auto;
    margin-bottom: 10px;
    width: 100%;
}

.main-contact-inner > tbody > tr:nth-child(2),
.main-contact-inner > tbody > tr:nth-child(3),
.main-contact-inner > tbody > tr:nth-child(4),
.main-contact-inner > tbody > tr:nth-child(5){
    display: inline-flex;
    width: 48%;
    flex-grow: 1;
}

/* 메인 info */
#maininfo{
    position: relative;
    color: #fff;
}

#maininfo img{
    display: block;
    margin-bottom: 20px;
}

#maininfo p{
    margin-bottom: 30px;
}

#maininfo h2{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
    left: 0;
    top: 0;
}

.info-bg > div{
    display: inline-block;
    flex-grow: 1;
    height: 100%;
    color: #fff;
}


.info-bg .infobg01{
    background: url(../img/info_bg1.png) no-repeat;
    background-size: cover;
}

.info-bg .infobg02{
    background: url(../img/info_bg2.png) no-repeat;
    background-size: cover;
}



@media screen and (max-width: 1024px){
    #mainproduct .product-des p, #maincompany p{
        font-size: 16px;
    }

    #maincompany .col-md-6{
        padding: 0 15px;
    }

    #mainproduct .product-des p br{
        display: none;
    }

    #mainproduct .product-tab-nav li span{
        font-size: 18px;
    }
    
    #mainproduct .product-tab .txtarea h3{
        font-size: 18px;
    }

    #mainproduct .product-tab .txtarea p{
        font-size: 15px;
    }
    
    #mainproduct .product-tab .txtarea{
        padding: 20px;
    }

    .main-sec{
        padding: 80px 0;
    }

    #mainproduct::after{
        animation: productbg 2s linear infinite;
    }

    .htitle h1{
        font-size: 32px;
    }
    
    #maincert .txtarea p{
        font-size: 14px;
    }
    
    #maincert h3{
        font-size: 22px;
    }

}







@media screen and (max-width: 768px){
    .main-sec {padding: 60px 0;}
    
    .main-sec .htitle {margin-bottom: 30px;}
    .htitle h1 {font-size: 2.5em;}
    .htitle p  {font-size: 1em!important;}

}



@media screen and (max-width: 575px){
    
    .htitle h1 {font-size: 2.5rem; word-break: keep-all;margin-bottom: 0;}
    .htitle p {font-size: 1rem!important; line-height: 1.5; word-break: keep-all;}

    #mainproduct::after {
        animation: productbg 20s linear infinite;
    }
    
    #mainproduct .product-tab{
        min-height: 430px !important;
    }

    #maincompany .more-button{
        margin-bottom: 50px;
    }

    #mainproduct .product-ind-wrap{
        padding: 0;
    }

    #maincert .row > div{
        column-gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    #maincert .row > div .imgarea{
        min-width: 120px;
        margin-bottom: 30px;
    }

    #maincert h3{
        font-size: 20px;
        text-align: center;
    }

    #maincert p{
        text-align: center;
    }



    .info-bg{
        flex-wrap: wrap;
    }

    .info-bg > div{
        width: 100%;
        height: 50%;
    }

    #maininfo .row > div{
        padding: 30px !important;
    }

    #footerarea .f-bottom{
        flex-wrap: wrap;
    }
}
