.main-sec {padding: 100px 0;}
.main-sec .htitle {width: 100%; margin-bottom: 50px; position: relative;}
.main-sec .htitle span {color: #eb2a2e;}
.htitle h1 
{font-size: 46px; font-weight: 800; margin: 0 auto 20px; color: #222; text-transform: uppercase; line-height: 1.4;}
.htitle p 
{font-size: 18px!important; letter-spacing: -0.03em; color: #666666;}


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





/*메인-company*/
#maincompany .row > div {position: relative;}
.detailbtn {position: relative;}
.detailbtn a {
    border: 2px solid #eb2a2e;
    border-radius: 50px;
    padding: 5px 25px;
    background: #fff;
    color: #eb2a2e;
    font-size: 16px;
}
.detailbtn a:hover {
    color: #fff;
    background: #eb2a2e;
}
.detailbtn span {
    width: 55%;
    height: 1px;
    background: #ddd;
    display: block;
    position: absolute;
    top: 45%;
    left: 130px;
}
#maincompany .txtwrap h3 {
    color: #222;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}
#maincompany .txtwrap p {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    word-break: keep-all;
    margin-bottom: 40px;
}
#maincompany .compbtn01 a, #maincompany .compbtn02 a{
    padding: 30px 50px;
    color: #fff;
    display: block;
}
#maincompany .compbtn01 {
    background: url(../img/m00-c01.jpg) center center no-repeat; 
    background-size: cover;
}
#maincompany .compbtn02 {
    background: url(../img/m00-c02.jpg) center center no-repeat; 
    background-size: cover;
}
#maincompany .compbtn01 h3, #maincompany .compbtn02 h3{
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}
#maincompany .compbtn01 p, #maincompany .compbtn02 p{
    font-size: 16px;
    line-height: 1.5;
    font-weight: 200;
}



#mainproduct 
{background: url('gnbbg04.jpg') center center no-repeat; background-size: cover; background-attachment: fixed;position: relative;}
#mainproduct .htitle {text-align: left; margin-bottom: 40px; width: 70%;}
#mainproduct .slider-section {width: 70%;}

#mainproduct .detailbtn {
    position: absolute;
    top: 10px;
    right: 15%;
}



/*메인-갤러리슬라이드*/
#maingallery {
    position: relative;
    clear: both;
    width: 100%;
    text-align: center;
    background: url(maingallery_bg.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}




/*메인-공지사항*/
#mainnotice .htitle {margin-bottom: 30px;}
.infobtn {padding: 0; margin-bottom: 50px;}
.infobtn > ul {display: flex;}
.infobtn > ul > li {float: left; display: flex; padding-left: 10px;}
.infobtn > ul > li:first-child {text-align: center; margin-right: 25px;}
.infobtn > ul > li:first-child a {display: block;
    width: 80px!important;
    height: 80px!important;
    background: #eaeaea;
    border-radius: 50%;
}
.infobtn > ul > li:first-child a:hover {background: #e73e41; transition: all .2s;}
.infobtn > ul > li:first-child a img{position: relative; top: 50%; transform: translateY(-50%);}

.infobtn > ul > li > ul > li {margin-top: 8px;}
.infobtn h3 {font-size: 25px; color: #222; font-weight: 700;}
.infobtn p {color: #333; font-size: 18px; line-height: 1.2; word-break: keep-all;}


#mainnotice h2 {font-size: 28px; color: #222; font-weight: 800; margin-bottom: 30px;}
#mainnotice .noticewrap {border: 1px solid #ddd; padding: 40px 30px 50px;}
#mainnotice .noticewrap .board_output_1_tr {
    padding: 10px 20px;
    display: block;
    background: #eee;
}
#mainnotice .noticewrap .board_output_1_tr:nth-child(3) {background: #fff;}

#mainnotice .noticewrap .board_output td {
    font-weight: 300;
    padding: 0px 0 0!important;
}
#mainnotice .noticewrap .board_output a {padding-left: 0px!important; display: block;}
#mainnotice .noticewrap .board_output_1_tr .bd_out1 a {
    color: #222!important;
    font-size: 16px!important;
    font-weight: 500;
}
#mainnotice .noticewrap .board_output_1_tr .bd_out1 a:hover {color: #eb2a2e!important;}
p.more {
    position: absolute;
    top: 40px;
    right: 50px;
}
p.more a {
    background: #eb2a2e;
    display: block;
    width: 30px; height: 30px;
    border-radius: 20px;
    color: #fff;
}
p.more a img {width: 100%; transition: all ease .5s;}
p.more a:hover img {transform: rotate(90deg);}
p.more a span {display: none;}
#mainnotice .board_output {width: 100%!important;}
#mainnotice .board_output .board_output_1_tr td:last-child {text-align: right;}

.gallerywrap {padding-top: 30px;}
.gallerywrap table td.board_output_gallery_img img 
{width: 380px; height: 250px; max-width: 100%; object-fit: cover; object-position: center; border: 1px solid #ddd;}
.gallerywrap .board_output > tbody > tr > td {padding-right: 10px;}
.gallerywrap .board_output > tbody > tr > td:last-child {padding-right: 0;}
.gallerywrap .board_output_gallery_subject {margin: 5px 0; display: inline-block; text-align: left;}
#mainnotice .gallerywrap .board_output_gallery_subject a {color: #222!important; font-weight: 600;}


/*메인-CUSTOMER CENTER*/
.gote-area {padding-top: 10px;}
.tel-wrapper li:nth-child(1) a {
    font-size: 36px;
    font-family: 'Roboto'!important;
    font-weight: 600;
    color: #eb2a2e ;
    line-height: 1.1;
}
.tel-wrapper li:nth-child(2) {
    font-size: 28px;
    font-family: 'Roboto'!important;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: #6d6d6d;
    line-height: 1.8;
    border-bottom: 1px solid #d0d0d0;
}
.tel-wrapper li:nth-child(3) a {
    font-size: 16px;
    font-weight: 300;
    color: #212121;
    padding-top: 10px!important;
    display: block;
}
.goto-btns ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    justify-content: space-between;
}
.goto-btns a {
    display: block;
    padding: 5px;
    border: 1px solid #eb2a2e ;
    color: #eb2a2e ;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: -0.04em;
}
.goto-btns a:hover {
    background-color: #eb2a2e ;
    color: #fff;
}



@media screen and (max-width: 1200px){
    #maincustomer .container .cont-wrap {max-width: 600px; margin: auto;}
    #maincustomer .container .cont-wrap {min-height: 1px;}
    #maincustomer .container .notice-area .cont-wrap{margin-bottom: 30px;}
    .tel-wrapper ul {display: flex; flex-wrap: wrap; justify-content: center;}

    #maincompany .txtwrap p {font-size: 16px;}
}






@media screen and (max-width: 1024px){
    
    .tel-wrapper li {display: inline-block; padding-right: 17px;}
/*    .tel-wrapper li:nth-child(1) a {font-size: 2em; position: relative;}*/
    .tel-wrapper li:nth-child(2) {border: none;font-size: 1.4em;}
    .tel-wrapper li:nth-child(3) {font-size: 1em;}
    .goto-btns ul {flex-direction: row; margin-top: 30px;}
    .goto-btns ul li {width: 33%;}

    .gallerywrap table td.board_output_gallery_img img {height: 220px;}
    
    
    
}







@media screen and (max-width: 991px){
    #maincustomer h3 {text-align: center!important;}
    .htitle h1 {font-size: 2.5em;}

    #mainproduct .htitle {width: 100%;}
    #mainproduct .slider-section {width: 100%;}

    #mainnotice h2 {font-size: 25px;}
    #mainnotice .board_output_1_tr {padding: 10px;}
    #mainnotice .noticewrap {padding: 40px 20px 50px;}

}


@media screen and (max-width: 768px){
    
    .main-sec .htitle {margin-bottom: 30px;}
    .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;}

    #maincompany .compbtn01 a, #maincompany .compbtn02 a {padding: 30px;}
    
    .infobtn h3 {font-size: 20px;}
    .infobtn > ul > li:first-child a {width: 70px!important; height: 70px!important;}

    .gallerywrap table td.board_output_gallery_img img {height: 200px;}
    .gallerywrap .board_output > tbody > tr > td {display: flex; margin-bottom: 20px; padding-right: 0;}
    .gallerywrap .board_output > tbody > tr > td > table {width: 100%;}
    .gallerywrap table td.board_output_gallery_img img {
        height: 350px;
        width: 100%;
        max-width: 100%!important;
    }
    .infobtn > ul > li:first-child {margin-right: 18px;}
}






@media screen and (max-width: 575px){
    
    .htitle h1 {font-size: 2.2rem; word-break: keep-all;}
    .htitle p {font-size: 1rem!important; line-height: 1.5; word-break: keep-all;}
    
    #maingallery {background-attachment: fixed;}
    #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%;}
    p.more {position: static; text-align: center;}
    p.more a {    
        padding: 10px;
        margin-top: 30px;
        border-radius: 0;
        width: 100%;
        height: 45px;
        color: #fff;
    }
    p.more a span {display: inline-block; margin-right: 10px;}    
    p.more a img {width: 30px;}
    #maincompany .txtwrap h3 {font-size: 1.4rem;}
    #maincompany .compbtn01 a, #maincompany .compbtn02 a {padding: 30px 20px;}

    #mainproduct .detailbtn {right: 0;}
    
    .gallerywrap table td.board_output_gallery_img img {height: 300px;}
    .infobtn h3 {font-size: 18px;}
    .infobtn p {font-size: 15px;}
    .infobtn > ul > li > ul > li {margin-top: 5px;}
    .infobtn > ul > li:first-child {margin-right: 6px;}

}
