@charset "UTF-8";
/* CSS Document */
.menu, .menu span {
  display: inline-block;
  -webkit-transition: all .4s;
  transition: all .4s;
  box-sizing: border-box;
    padding: 1%;
}
.menu {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
   z-index: 9999;
background: rgba(255,255,255,0.8);  
border-radius: 50px;      
}
.menu span {
  position: absolute;
  left: 0;
  width: 60%;
  height: 2px;
  background-color:#F25244;
  display: block;
}
.menu span:nth-of-type(1) {
  top: 10px;
    left: 20%
}
.menu span:nth-of-type(2) {
  top: 20px;
    left: 20%
}
.menu span:nth-of-type(3) {
  top: 30px;
    left: 20%
}
.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 img{
width: 5%;
vertical-align:top;
}
#nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  width: 70%;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
    z-index: 999;
    padding: 20px 0;
    background:url("../img/background1.jpg");
    background-size: cover;
    background-position: center;
    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: 10px 0;
  padding: 10px 3%;
     width: 80%;
display: block;
margin: 0 auto;
background: rgba(255,255,255,0.8);  
border-radius: 20px;    
}


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

}
#nav ul li a {
  display: block;
  padding: 10px 1%;
  transition: all 0.2s ease-in-out;
  text-align:left;
  text-decoration: none;
  color: #000;
   border-bottom: solid 1px #eee;
    font-size: 1em;
    transition: all 0.5s;
   font-weight: 500; 
}
#nav ul li .small{
display: block;
font-size: 1em;
color: #333;  
padding: 1% 0;    
}
#nav ul li a:hover {
  color: #348ABF;
    text-decoration: transparent;   
}
.sp_tel{
   width: 40%;
    display: block;
    margin: 1em auto;
}
.sp_tel a{
 color: #fff;
border: solid 1px #00B4BD;
background: #00B4BD;     
padding: 1em 1%;    
display: block;  
text-align: center;
font-size: 1.2em;  
transition: all 0.5s;	
font-weight: 500;
border-radius: 20px;      
}
.sp_tel a:hover{
 color: #00B4BD;
background: #fff;  
text-decoration: transparent;    
}
.sp_sns{
   width: 40%;
    display: block;
    margin: 1em auto;
}
.sp_sns a{
 color:#fff;
border: solid 1px #7D9ACF;
background: #7D9ACF;     
padding: 1em 1%;    
display: block;  
text-align: center;
font-size: 1.2em;  
transition: all 0.5s;	
font-weight: 500;
border-radius: 20px;   
display: block;    
}
.sp_sns a:hover{
 color:#7D9ACF; ;
background: #fff;  
text-decoration: transparent;    
}
@media all and  (max-width:690px){
#nav ul li a {
    font-size:0.8em;
}    
#nav {
  width: 100%;
  height: 100vh;
}  
.sp_tel{
   width: 45%;
    display: block;
    margin: 1em auto;
    font-size: 1em;  
}    
.sp_sns{
   width: 45%;
    display: block;
    margin: 1em auto;
}  
    
}
