@charset "UTF-8";
/* CSS Document */
.menu, .menu span {
  display: inline-block;
  -webkit-transition: all .4s;
  transition: all .4s;
  box-sizing: border-box;
    padding: 1%;
    border: 0px solid rgba(255,255,255,0.0);
}
.menu {
  position: fixed;
  top: 6px;
  right: 10px;
  width: 40px;
  height: 40px;
   z-index: 999;
   background: #fff;
}
.menu span {
  position: absolute;
  left: 0;
  width: 80%;
  height: 2px;
  background-color:#0074C2;
  display: block;
}
.menu span:nth-of-type(1) {
  top: 10px;
    left: 10%
}
.menu span:nth-of-type(2) {
  top: 20px;
    left: 10%
}
.menu span:nth-of-type(3) {
  top: 30px;
    left: 10%
}
.menu.active span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(45deg);
  transform: translateY(10px) rotate(45deg);
}
.menu.active span:nth-of-type(2) {
  opacity: 0;
}
.menu.active span:nth-of-type(3) {
  -webkit-transform: translateY(-10px) rotate(-45deg);
  transform: translateY(-10px) rotate(-45deg);
}
#nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  width: 100%;
  height: 100vh;
  opacity: 0;
background: #fff;   
  visibility: hidden;
    z-index: 998;
    padding: 20px 0;
overflow-y: scroll;
 
}
#nav.active {
  right: 0;
  opacity: 1;
  -moz-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
}
#nav ul {
margin: 20px 0;
padding: 20px 0;
width: 80%;
display: block;
margin: 0 auto;
background:#fff;  
 
}


#nav ul li {
  list-style-type: none;

}
#nav ul li a {
  display: block;
  padding: 15px 0;
  transition: all 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
  color: #333;
    font-size: 1em;
}

#nav ul li a .color{
display: block;
color: #0074C2;   
font-family: 'Kanit', sans-serif; 
letter-spacing: 1px;    
}
.sp_contact{
width: 100%;
height: auto; 
display: block;  
padding: 3% 0;    
}

.sp_contact a{
width: 250px;
display: block;
background:#0074C2;
transition: all 0.5s;
text-align: center;
 color: #fff;   
padding: 1%;  
margin: 2% auto 0;  
border: 2px solid #0074C2;
}
.sp_contact a:hover{
   background:#fff;
font-weight: bold;
padding-top: 1%;
text-decoration: transparent;  
color: #0074C2;    
}



