@charset  "utf-8";

html,
body {
 
    height: 100vh;
   
}


#head{
    width: 100%;
    height: 100px;
    margin: 0 auto;


}

#head> img{
 position: absolute;

}

header{
    width: 1168px;
    height: 100px;
margin: 0 auto;

    position: relative;

}


header div,
header nav{float: left;}




.hambtn{
    width: 48px;
    height: 48px;
top: 60%;
  cursor: pointer;
  /*버튼화*/
  position: absolute;
    z-index: 1;
  /*span요소의 기준*/

}



.line1,
.line2,
.line3 {
  position: absolute;
  width: 60%;
  height: 3px;
  background-color: #000;
  transition: all 0.5s;
}

.line1 {
  top: 0;
}

.deg45 {
  /*역슬래시 모양으로*/
  transform: translateY(11px) rotate(45deg) scale(1.3, 1);
}

.line2 {
  top: 11px;
}

.hide {
  /*숨김(Y축 기준으로 회전)*/
  transform: rotateY(90deg);
}

.line3 {
  bottom: 22px;
}

.deg-45 {
  /*슬래시 모양으로*/
  transform: translateY(-11px) rotate(-45deg) scaleX(1.3);
}



#gnb{ width: 300px;
    height: 40px;
    position: absolute;
    right: 0;
        top:10%;

}

#gnb>ul{
     width: 300px;
    height: 40px;
    margin-left: 60px;
}
#gnb>ul>li{
    float:left;
    width: 60px;
    text-align: center;
    line-height: 40px;
  

}
#gnb>ul>li>a{
    font-size: 12px;
      display: block;
}



#lnb{
    width: 1168px;
    height: 100px;
    position: relative;


}

#lnb >ul{
     width: 1168px;
    height: 100px;
        position: absolute;
    
}

#lnb >ul>li{
    float: left;
    position: relative;
    height: 100px;

}

#lnb >ul>li>img{
cursor: pointer;
}

#lnb >ul>li:nth-child(odd){
width: 234px;

}

#lnb >ul>li:nth-child(even){
width: 233px;
}


#lnb>ul>li>a{
    font-weight: bold;
}

.sub1,
.sub2,
.sub3,
.sub4{
    width: 100%;
  position: absolute;
  z-index: 1;
  /*Z값 설정: 기본설정은 0*/
  left: 0;
  top: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: all 0.2s;
    border-radius: 10px;
   

}

.sub1 a,.sub2 a,.sub3 a,.sub4 a{
 color: aliceblue;
}
.sub1{
height: 100px; 
}
.sub2{
height: 300px; 
}
.sub3{
height: 150px; 
}
.sub4{
height: 100px; 
}


#lnb>ul>li>ul>li{
    line-height: 50px;
    color: #272727;
    text-align: center;
      
}


.hidden {
  position: absolute;
  left: -9999px;
}

section{
    width: 1168px;
    height: calc(100vh - 100px);
    margin: 0 auto;

}

footer{
    width: 1920px;
    margin: 0 auto;
    height: 150px;
    position: relative;
    overflow: hidden;
}

footer img{
    position: absolute;
    left: 0;
    top 0;
}

footer ul{
   
width: 1000px;
    height: 30px;
    margin: 0 auto;
    
}

footer li {
    padding-top: 10px;
    width: 200px;
    float: left;
    text-align: center;
    
}
address{
    width: 600px;
    height: 120px;
    margin: 0 auto;
    font-size: 12px;
    text-decoration: none;
    font-style: normal;
    margin-top: 20px;
}

address p {
    text-align: center;
}

small{
    font-size: 100%;
    text-align: center;
    display: block;
    
}

#lnb >.home{
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    margin: 0 auto;
}