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


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






/*메인-company*/
#maincompany .row > div {position: relative;}
#maincompany .htitle {padding: 0 15px;}
#maincompany .htitle h1 {
    text-align: left;
    line-height: 1.5;
    font-weight: 500;
    width: 60%;
    float: left;
    font-size: 42px;
}
#maincompany .htitle h1 span{
    color: #25286f;
    font-weight: 700;
}
#maincompany .htitle p {
    width: 40%;
    float: left;
    text-align: right;
}
#maincompany .htitle p span{
    position: absolute;
    display: block;
    bottom: 20px;
    right: 15px;
    font-size: 17px;
    color: #000;
    font-weight: 500;
}
#maincompany .subtitle {
    clear: both;
    position: relative;
}
#maincompany .subtitle h3 {
    text-align: left;
    color: #000;
    font-weight: 700;
    letter-spacing: -.1rem;
}
#maincompany .subtitle .detailbtn {
    position: absolute;
    right: 0;
    bottom: 0;
}
#maincompany .subtitle .detailbtn a{
    font-size: 16px;
    font-weight: 700;
    color: #25286f;
}
#maincompany .subtitle .detailbtn a img{
    position: relative;
    margin-left: 5px;
    right: 0px;

}
#maincompany .subtitle .detailbtn a:hover img{
    right: -5px;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}



ul.copmany-txt {
    position: absolute;
    left: 40px;
    bottom: 60px;
    text-align: left;
    width: auto;;
}
ul.copmany-txt li {
    font-family: 'Spoqa Han Sans', 'Spoqa Han Sans JP', 'Sans-serif'!important;
    color: #fff;
    font-size: 17px;
}
ul.copmany-txt li h2 {
    font-size: 28px;
    color: #fff;
    font-weight: 400;
}
#maincompany .row:nth-child(2) > div::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 45px;
    width: 44px;
    height: 44px;
    background: url(goto-btn.png) center no-repeat;
    z-index: 100;
    cursor: pointer;
    transition: all 0.5s;
}
#maincompany .row > div:hover::before {background-color:  #0669bf;}

#maincompany ul li.imgarea{overflow: hidden;}
#maincompany ul li img{
    display: inline-block;
    width: 100%;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

/*아코디언*/
.accordion {width: 100%;  max-width: 1200px;   overflow: hidden;  margin: 50px auto;}
.accordion ul {  width: 100%;  display: table;  table-layout: fixed;  margin: 0;  padding: 0;}
.accordion ul li {overflow: hidden; border-radius: 0 35px 0 0; display: table-cell; border-left:8px solid #fff; border-right:8px solid #fff; vertical-align: bottom;  position: relative;  
width: 16.666%;   height: 305px;  background-repeat: no-repeat;  background-position: center center; transition: all 700ms ease;}
.accordion ul li div {  display: block;  overflow: hidden;  width: 100%;}
.accordion ul li div a { display: block;  height: 320px;  width: 100%;  position: relative;  z-index: 3;
  vertical-align: bottom;  padding: 15px 20px;  box-sizing: border-box;  color: #fff;  text-decoration: none;  transition: all 200ms ease;}
.accordion ul li div a * {  margin: 0;  width: 100%;  text-overflow: ellipsis;  position: relative;  z-index: 5;
  white-space: nowrap;  overflow: hidden;  -webkit-transform: translateX(0px);  transform: translateX(0px);
  -webkit-transition: all 400ms ease;  transition: all 400ms ease;}
.accordion ul li div a div {height: 25%; position: absolute; bottom: 0; left: 0;}
.accordion ul li div a div h2 {
    text-shadow:1px 1px 5px rgba(0,0,0,0.5); 
    text-overflow: clip; 
    font-size: 22px; 
    text-transform: uppercase;  
    margin-bottom: 10px; 
    padding:15px 0 0 10px; 
    text-align: center  
}
.accordion ul li div a div p {opacity: 1; font-size: 17px; text-align: left; padding:5px 0 0 10px; text-shadow: 0px 0px 2px rgba(0,0,0,0.5);}
.accordion ul li div a div p span {display: block; width: 100%;}
.accordion ul li:nth-child(1) {background-image: url("../img/m00-c01.jpg");  }
.accordion ul li:nth-child(2) {background-image: url("../img/m00-c02.jpg");}
.accordion ul li:nth-child(3) {background-image: url("../img/m00-c03-1.jpg");}
.accordion ul li:nth-child(4) {background-image: url("../img/m00-c04.jpg");}
.accordion ul li:nth-child(5) {background-image: url("../img/m00-c05.jpg");}
.accordion ul:hover li {width: 10%;}
.accordion ul:hover li:hover {width: 20%;}
/*.accordion ul li a {background-image:url("../img/arrow.png"); background-repeat:no-repeat; background-position: center 90%; background-color: rgba(0, 0, 0, 0.2);}*/
.accordion ul:hover li:hover a {background-color: rgba(0, 0, 0, 0.7);}
.accordion ul:hover li:hover a * {  opacity: 1;  -webkit-transform: translateX(0);  transform: translateX(0);}


#mainproduct 
{background: url('gnbbg04.jpg') center center no-repeat; background-size: cover; background-attachment: fixed;position: relative;}
#mainproduct::before 
{content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; background-color: #000; opacity: 0.5;}
#mainproduct .htitle h1, #mainproduct .htitle p {color: #fff;}



/*메인-공지사항*/
#mainnotice h3 {
    color: #fff;
    float: left;
    font-size: 2.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}
#mainnotice .leftbox {
    position: relative;
    float: left;
    width: 50%;
    background: url(../img/mnleftbg.jpg) center center no-repeat;
    background-size: cover;
    padding: 80px 0;
}
#mainnotice .leftbox::before, #mainnotice .rightdown::before, #mainnotice .rightup::before{
    content: ""; 
    position: absolute; 
    left: 0; right: 0; top: 0; bottom: 0;
    width: 100%; height: 100%; 
    background-color: #000; 
    opacity: 0.4;
}
.noticewrap {
    max-width: 600px;
    width: 100%;
    position: relative;
    margin-left: auto;
    padding-right: 50px;
}
.plusbtn a {width: 100%; height: 100%; display: block;}

.noticewrap .plusbtn {
    content: "";
    position: absolute;
    top: 0;
    right: 45px;
    width: 40px;
    height: 40px;
    background: url(goto-btn.png) center no-repeat;
    background-size: cover;
    z-index: 100;
    transition: all 0.5s;
}
.noticewrap .plusbtn:hover {background-color:  #25286f;}
#mainnotice .rightbox {
    position: relative;
    float: left;
    width: 50%;
}
#mainnotice .rightup {
    position: relative;
    background: url(../img/mnrightup.jpg) center center no-repeat;
    background-size: cover;
    width: 100%;
    height: 50%;
    padding: 50px 0;
}
#mainnotice .rightdown {
    position: relative;
    background: url(../img/mnrightdown.jpg) center center no-repeat;
    background-size: cover;
    width: 100%;
    height: 50%;
    padding: 50px 0;
}
.contwrap {    
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-right: auto;
    padding-left: 60px;
}
.contwrap p {   
    color: #fff;
    clear: both;
    text-align: left;
    font-size: 1.2rem;
}
.contwrap .plusbtn {
    position: absolute;
    top: 0;
    right: 45px;
    width: 40px;
    height: 40px;
    background: url(goto-btn.png) center no-repeat;
    background-size: cover;
    z-index: 100;
    transition: all 0.5s;
}
.contwrap .plusbtn:hover {background-color:  #25286f;}

#mainnotice .board_output td {
    font-weight: 300;
    padding: 0px 0 0!important;
    color: #fff;
}
#mainnotice .board_output a {padding: 20px 0!important; display: block;}
#mainnotice .board_output a:hover {
    color: #25286f!important;
}
#mainnotice .board_output {width: 100%!important;}
#mainnotice .board_output .board_output_1_tr td:last-child {text-align: right;}
#mainnotice .board_output_1_tr {border-top: 1px solid #fff;}
#mainnotice .board_output_1_tr:last-child {border-bottom: 1px solid #fff;}

/*메인-공지사항*/
#maincustomer h3 {
    font-family: 'Roboto'!important;
    font-size: 24px;
    color: #3d3d3d;
    font-weight: 600;
    text-transform: uppercase;
    padding-top: 5px;
    margin-bottom: 5px!important;
}
#maincustomer .container .cont-wrap {position: relative;border: 1px solid #e3e3e3;padding: 40px; min-height: 270px;}
#maincustomer h3 {
    font-family: 'Roboto'!important;
    font-size: 24px;
    color: #3d3d3d;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px!important;
    text-align: left;
}
#mainnotice .board_output_1_tr td:first-child {display: none;}
span.more {
    position: absolute;
    top: 45px;
    right: 40px;
    text-transform: uppercase;
}
span.more a {
    display: block;
    font-family: 'Roboto'!important;
    font-size: 15px;
    color: #666666;
}



/*메인-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: #0669bf ;
    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 #0669bf ;
    color: #0669bf ;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: -0.04em;
}
.goto-btns a:hover {
    background-color: #0669bf ;
    color: #fff;
}

@media screen and (max-width: 1250px){
    .noticewrap {max-width: 550px;}
}


@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 .htitle h1 {line-height: 1.3; font-size: 38px;}
    #maincompany .htitle p span {bottom: 15px;}
}
@media screen and (max-width: 1150px){
    .noticewrap {max-width: 500px;}
}

@media screen and (max-width: 1100px){
    #maincompany .htitle h1 {position: relative; width: 100%; float: none; margin-bottom: 20px;}
    #maincompany .htitle p {width: 100%; float: none;}
    #maincompany .htitle p span {position: relative; right: 0; bottom: 0;}
    .main-sec .htitle {margin-bottom: 30px;}
    .noticewrap {padding: 0 30px;}
    .contwrap {padding: 0 30px;}

}




@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.5em;}
    .htitle p  {font-size: 1em!important;}

    #maincompany .htitle h1 {text-align: center;}
    #maincompany .htitle p {text-align: center;}

    
/*
    #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 .subtitle { margin-bottom: 30px;}

    #mainnotice .leftbox {width: 100%; clear: both; padding: 60px 0;}
    #mainnotice .rightbox {width: 100%; clear: both;}
    .noticewrap {margin: auto;}
    #mainnotice h3 {font-size: 2rem;}
    #mainnotice .rightup {width: 50%; height: 300px; float: left;}
    #mainnotice .rightdown {width: 50%; height: 300px; float: left;}
    .contwrap p {font-size: 1.1rem;}
    #mainnotice .contwrap h3 {margin-bottom: 30px;}

    .accordion {    height: auto; margin: 0px; }
    .accordion ul li, .accordion ul li:hover, .accordion ul:hover li, .accordion ul:hover li:hover {
        position: relative;  display: table;  table-layout: fixed;  width: 100%;  -webkit-transition: none;  transition: none;  }
    .accordion ul li , .accordion ul li div a {height:250px; background-size:cover;}
    .accordion ul li div a h2 {padding-top:45px;}
    .accordion ul li div a p {  opacity: 1;  }
    .accordion ul li {border-left:0px; border-right:0px; margin-bottom: 10px;} 
    .accordion ul li a {background:none;}
    .accordion ul li div a div h2 {font-size: 20px;}
    
}























@media screen and (max-width: 575px){
    
    .htitle h1 {font-size: 2.5rem; word-break: keep-all;margin-bottom: 0;}
    .htitle p {line-height: 1.5; 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;}
    #maincompany .subtitle { margin: 40px 0;}
    
    .accordion ul li div a div h2 {font-size: 18px;}
    
    
    #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;}
    
    #maincompany .htitle h1 {font-size: 30px;}
    
    .contwrap .plusbtn {right: 25px;}
    
    
    
    
}
