.main-sec {padding: 100px 0;}
.main-sec .htitle {width: 100%; margin-bottom: 30px;}
.htitle h1 
{font-size: 48px; font-weight: 800; margin: 0 auto 10px; color: #222; text-transform: uppercase; letter-spacing: -0.05em;}
.htitle p 
{font-size: 18px!important; letter-spacing: -0.03em; color: #555; word-break: keep-all;}


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






/*메인-company*/
#maincompany
{background: url('../img/comp_bg.png') center center no-repeat; background-size: cover; background-attachment: fixed; position: relative;}

.graph {text-align: center; width: 100%; margin-bottom: 50px;}
#maincompany .morebtn {margin: 0 auto;}
.morebtn {display: inline-block;}
.morebtn a {color: #fff; font-weight: 500; padding: 18px 20px; background: #242c65; transition: all .2s;}
.morebtn span {margin-right: 40px;}
.morebtn img {transition: transform .2s ease-in-out;}

.morebtn a:hover {background: #364192;}
.morebtn:hover img {transform: rotate(90deg);}

/*메인-product*/
#mainproduct 
{position: relative;}

/*메인-notice*/
#mainnotice
{background: url('../img/notice_bg.jpg') center center no-repeat; background-size: cover; background-attachment: fixed; position: relative;}
.mntitle {margin-top: 20px;}
.mntitle h3 {color: #fff; font-size: 32px; font-weight: 600; margin-bottom: 20px;} 
.mntitle p {color: #fff; font-size: 18px; word-break: keep-all; line-height: 1.8; margin-bottom: 40px;}
#mainnotice iframe {width: 100%; max-width: 650px;}
.maddress{margin-bottom: 40px;}
.maddress li{display: inline-block; padding-right: 20px; margin-bottom: 10px;}
.maddress li:first-child{width: 100%;}
.maddress li p{color: #fff; font-size: 18px; font-weight: 300;}
.maddress li p span {font-weight: 700; margin-right: 15px;}
.cert-wrap .row div {padding-right: 5px; padding-left: 5px;}

/*메인-customer*/
#maincustomer {background: #ddd; padding: 30px 0;}
#maincustomer .namelist {padding: 0 10px;}
#maincustomer .namelist ul {position: relative; clear: both; width: 100%; display: inline-block;}
#maincustomer .namelist li {position: relative; width: 12.5%; float: left; padding: 0 5px;}
#maincustomer .namelist li p {background: #fff; padding: 15px 5px;}


@media screen and (max-width: 1200px){
    .tel-wrapper ul {display: flex; flex-wrap: wrap; justify-content: center;}
}




@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%;}
    
    
}





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


@media screen and (max-width: 768px){
    
    .main-sec .htitle {margin-bottom: 30px;}
    .htitle h1 {font-size: 2.4em;}
    .htitle p  {font-size: 1em!important; padding: 0 20px;}
    .htitle p br {display: none;}
/*
    #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;}

    #maincustomer {padding: 15px 0;}
    #maincustomer .namelist li {width: 25%; margin: 5px 0;}
    #maincustomer .namelist li p {padding: 10px 5px;}

    .graph img {max-width: 400px;}
    .morebtn {padding: 15px 20px;}
    .morebtn a {font-weight: 400;}
    .morebtn span {margin-right: 25px;}

    .mntitle p, .maddress li p {font-size: 1em;}
    .mntitle h3 {font-size: 1.8em;}
    #mainnotice .cont-wrap {margin: 20px 0;}
    .cert-wrap > .row > div { padding: 10px;}
}







@media screen and (max-width: 575px){
    
    .htitle h1 {font-size: 2.5rem; word-break: keep-all;margin-bottom: 15px;}
    .htitle p {font-size: 1rem!important; line-height: 1.5; word-break: keep-all; width: 90%; margin: auto;}
    
    #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;}
    
    

    .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;}
    
    .morebtn span {font-size: 15px;}
    .graph img {max-width: 100%;}

    
    
    
}
