*{padding:0;margin:0}
.menu li{list-style:none}
.menu a{text-decoration:none;font-size:14px}
.submenu li{list-style:none}
.submenu a{text-decoration:none;font-size:14px}




.contimg{
  width: 100%;
  height: auto;
  top: 500px;
  text-align: center;
  margin-bottom: 150px;
  margin-top: 150px;
}
.contimg img{
  width: 100%;
  margin: auto;
}
.lgwp1{
  text-align: center;
  font-size: 40px;
  margin-top: 40px;
}
.lgwp2{
  text-align: center;
  font-size: 40px;
  color: #c5c5c5;
}
.lgwp3{
  text-align: center;
  font-size: 20px;
}











/* TOP 라인 */

.mainlogo{
  width: 95%;
  text-align:right;
  position:absolute;
  
  margin-top: 40px;
  margin: 20px;
  display: block;
  opacity: 1;
  z-index: 5;
}

.menu {
    width: 80%;
    overflow: hidden;
    margin:auto;
  }
  
  .menu > li {
    width: 20%; /*20*5=100%*/
    float: left;
    text-align: center;
    line-height: 40px;
    background-color: white;
    text-shadow: 0.5px 0.5px 1px;
    z-index: 10;
  }
  
  .menu a {
    color: black;
  }




  .submenu > li {
    line-height: 50px;
    background-color: gray;
    z-index: 10;
  }
  
  .submenu {
    height: 0; /*ul의 높이를 안보이게 처리*/
    overflow: hidden;
  }
  .navbar2{
    display: none;
  }

  .menu > li:hover {
    background-color: black;
    transition-duration: 0.5s;
    z-index: 10;
  }
  .menu > li:hover a{
    color:white;
    z-index: 10;
  }
  
  .menu > li:hover .submenu {
    height: auto; /*서브메뉴 li한개의 높이 50*5*/
    transition-duration: 1s;
    
    z-index: 10;
  }
  .menu > li:hover .submenu > li:hover {
    background-color: black;
    transition-duration: 0.5s;
    z-index: 10;

  }


  .contents01{
    width: 100%;
    height: 600px;

    /* 배경이미지는 최소 1920*960으로 제작해야 문제가 안생김 */
    background-image: url(../img/subimg3e.png);
    background-repeat: no-repeat; /* 배경이미지X */
    background-size: cover; /* 요소를 비율에 맞게 커버 */
    background-position: center; /* 이미지를 요소의 정가운데로 처리 */
    background-attachment: fixed; /* 스크롤바 움직일때 이미지가 따라다님 */
    z-index: 0;
  }


  #icon{
    display: none;
  }

  #header22{
    display: none;
  }


  
  

/* TOP 라인 종료 */

/* BODY 라인 */

.submainbox {
  width: 100%;
  height: 1000px;
  position: relative;
}


#sub_menu {
    font:bold 16px "malgun gothic";
    width:75%;
    height:50px;
    background: white;
    color:black;
    line-height: 50px; 
    margin:1px auto;
    text-align: center;
    margin-bottom: 30px;
    z-index: 50;
}





























/* menu태그 자식의 ul의 자식 li를 왼쪽정렬과 넓이 140설정 */
#sub_menu > ul > li {
    float:left;
    width:50%;
    position:relative;
    outline : solid 1px rgb(201, 201, 201);
    z-index: 50;
}

#sub_menu > ul > li > ul {
    width:100%;
    display:none;
    position: absolute;
    font-size:14px;
    background: white;
    outline : solid 1px rgb(201, 201, 201);
}
#sub_menu > ul > li:hover > ul {
    display:block;
}
#sub_menu > ul > li > ul > li:hover {
    background: lightgray;
    transition: ease 0.3s;
    }


    .snsh1{
      text-align: center;
      font-size: 40px;
      margin-bottom: 30px;
    }
    .map15{
      width: 100%;
      height: auto;
      margin-top: 60px;
    }

    .map15p{
      width: 60%;
      margin: auto;
    }

    .ph1{
      text-align: left;
      font-size: 20px;
    }

/* BODY 라인 종료 */


/* Bottom 라인 */


  .snslink{
  position: absolute;
  width: 100%;
  height:70px;
  margin: 30px 0;
}

.snslink li{
  display: inline-block;
  padding: 0 10px;
  color: rgb(146, 146, 146);
}

.BBottom{
  Width:100%;
  height:150px;
  background-color:rgb(30,30,30);
  text-align: center;
  float: center;
  position: absolute;
}
.bbottomcp ul{
text-align: center;
list-style: none;
position: absolute;
margin:125px auto;
width: 100%;
}
        .bbottomcp li{
            display: inline-block;
            padding: 0 10px;
            color: rgb(146, 146, 146);
        }

        .btminfo li{
          display: inline-block;
          padding: 0 10px;
          color: rgb(146, 146, 146);
          font-size: 5px;
        }
        .btminfo ul{
          text-align: center;
          list-style: none;
          position: absolute;
          margin:85px auto;
          width: 100%;
        }



/* Bottom 라인 종료 */
























/* 반응형 */


@media ( max-width: 1900px ) {
  .intro{
    position: relative;
  }
  .secondcont{
    position: relative;
  }
  .thirdcont{
    position: relative;
  }
  .fourthcont{
    position: relative;
  }
  
}
@media ( max-width: 1530px ) {

  .intro{
    display: none;
  }
  .f-f-fcont{
    width: 100%;
    height: 700px;
    display: inline-block;
    position: relative;
    margin-top: 30px;
    text-align: center;
  }
    
  .f-cards{
  margin: 0 auto;
  max-width: 800px;
  }
  .f-card {
   float: left;
    width: calc(30%);
    margin: 0 10px;
    height: 270px;
  }
  
  html {
    box-sizing: border-box;
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }
  
  .f-img {
    max-width: 100%;
    height: auto;
  }
  
  .f-card {
    background-color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
  }
  
  .f-card header {
    padding: 10px;
    background-color: rgb(41,73,130);
    color: #fff;
  }
  
  .f-card header h2 {
    font-size: 1.4rem;
    font-weight: normal;
    margin: 0;
    padding: 0;
  }
  
  .f-card .body {
    padding: 10px;
    font-size: .9rem;
    color: #757575;
  }

  .BBottom{
    height: 200px;
  }
  .bbottomcp ul{
    margin-top: 160px;
  }
  
}
@media(max-width: 1450px){
  
  .submainbox {
    width: 100%;
    height: 450px;
  }
  #s1f1{
    font-size: 25px;
    margin-top: 10px;
  }
  #s1f2{
    font-size: 20px;
  }
  #s1f3{
    font-size: 23px;
  }
  #s1f4{
    font-size: 22px;
  }
}

@media ( max-width: 1025px ) {

  .box-img{
    width: 80%;
    height: auto;
  }
  .news-box
  {
    width: 80%;
    height: auto;
  }
  .inner{
    width: 80%;
    height: auto;
  }

  .mesbtn2{
    width : 200px;
    padding: 15px;
    border: 3px inset black;
    background-color: black;
    color: white;
    margin: auto;
    border-radius: 20px;
    font-size: 30px;
    margin-bottom: 70px;
  }
  .mestitle2{
    font-size: 35px;
    font-weight: 400;
    margin-bottom: 20px;
  }
  .mesword2{
    font-size: 20px;
    font-weight: 100;
    margin-bottom: 40px;
  }
  .fourthcont{
    display: none;
  }
  .f-fcont{
    display: inline;
    text-align: center;
  }
  .submainbox {
    width: 100%;
    height: 350px;
  }

  #s1f1{
    font-size: 18px;
    margin-top: 5px;
  }
  #s1f2{
    font-size: 20px;
  }
  #s1f3{
    font-size: 17px;
  }
  #s1f4{
    font-size: 15px;
  }
  
  #tss1{
    font-size: 20px;
  }
  #tss2{
    font-size: 20px;
  }
}
@media ( max-width: 800px ) {
  .contimg{
    top: 800px;
  }
 
  .contents01{
    position: relative;
    width: 100%;
    height: 220px;
  }

  .mainlogo{
    position: absolute;
    width: 95%;
    top:-70px;
  }


  #sub_menu {
    margin:1px auto;
}


  
  #wrapper {
    display: inline;
  }
  .mainlogo{
    margin-top: 100px;
  }
  .navbar{
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 24px;
  }
  .submenu2{
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: inline;
  }
  .submenu2 li{
    width: 100%;
    text-align: center;
  }
  .navbar{
    display: none;
  }
  .navbar2{
    display: inline;
  }



.ph1{
  font-size: 16px;
}

  


  
  #header22{
    display: inline;
  }

  .headli{
    text-align: left;
    width: 100%;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
  }
  .headli > ul{
    display: none;
  }

  .headli:hover > ul{
    display: block;
  }
  .headli li{
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 30px;
    padding: auto;
  }
  

  input[id="icon"] {
    display:none;
} 


input[id="icon"] + label{
    position: relative;
    display:flex;
    width:60px;
    height:40px;
    top: 30px;
    left: 10px;
    z-index:500;
    cursor:pointer;  /* 커서를 올려놓을 때 모양이 바뀐다. */
    
} 

input[id="icon"] + label > span {
    position: absolute;
    display:inline;
    width:100%;
    height:5px;
    border-radius:30px;
    background: white;
    transition: all 0.35s;  /* 진행되는 과정들을 천천히 보여줄 수 있다. 0.35초 동안 진행됨 */
    z-index:600;
    

}

input[id="icon"] + label > span:nth-child(1) {
    top:0px;
}

input[id="icon"] + label > span:nth-child(2) {
    top:50%;
    transform: translateY(-50%);  /* 엘리먼트를 변형할 때 쓴다. 비틀거나 구부리거나 돌릴 때 . 여러가지로 모양을 바꿀 때 */
}

input[id="icon"] + label > span:nth-child(3) {
    bottom:0px;
}


input[id="icon"]:checked + label > span:nth-child(1) {
    top:50%;
    transform:translateY(-50%) rotate(45deg);
}

input[id="icon"]:checked + label > span:nth-child(2) {
    opacity: 0;
}

input[id="icon"]:checked + label > span:nth-child(3) {
    bottom:50%;
    transform:translateY(50%) rotate(-45deg);
}

#icon + label + #header22 {
  position:absolute;  /* 스크롤을 내리더라도 같은 위치에서 붙어다닌다. */
    width:800px;
    height:470%;
    background:#333;
    padding:150px 25px 25px 25px;
    box-sizing:border-box;
    left:-800px;
    top:-30px;
    z-index:500;
    transition: all 0.35s;
}

#icon:checked + label + #header22 {
    left:0px;
    z-index:490;
    
}

#icon:checked + label + #header22 > ul > li > a {
    color: white;
    z-index:400;

}



 

}
@media ( max-width: 685px ) {
  .f-card {
    float: left;
     width: calc(30%);
     margin: 0 10px;
     height: 300px;
   }
   .BBottom{
    height: 260px;
  }
   .bbottomcp ul{
    margin-top: 210px;
  }
}
@media ( max-width: 650px ) {


  #sub_menu {
    margin:1px auto;
}

.mainlogo{
  position: absolute;
  width: 95%;
  top:-100px;
}
img.imglogo{
  width: 50%;
}

  .f-card {
    float: left;
     width: calc(30%);
     margin: 0 10px;
     height: 300px;
   }

  .Header-topline{
    width: 100%;
    height: 30px;
    display: inline;
    margin: auto;
    line-height: 27px;
    text-align: center;
    height: 27px;
    font-size: 1.0em;
    z-index: 5;
}
#wrapper {
  display: inline;
  top:25px;
}
.mainlogo{
  margin-top: 130px;
}
.imglogo {
  width: 70%;
}
.contents01{
  width: 100%;
  height: 230px;
}
.BBottom{
  height: 270px;
}
.bbottomcp ul{
  margin-top: 215px;
}
}
@media ( max-width: 620px ) {

  .f-card {
    float: left;
     width: calc(43%);
     margin: 0 10px;
     height: 300px;
   }

   #tss1{
    font-size: 12px;
  }
  #tss2{
    font-size: 12px;
  }
  .s3txt{
    margin-top: 50px;
    margin-bottom: 60px;
  }
}
@media ( max-width: 520px ) {

  .Header-topline{
    display: none;
  }
}


