@charset "utf-8";

#menu{
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}
#menu li{
  display: block;
  float: left;
  width: 12.5%;
  margin: 0;
  padding: 0;
}
#menu li a{
  display: block;
  padding: 12px 0 10px;
  background:#fff;
  color:#ff6600;
  text-align: center;
  text-decoration: none;
}
#toggle{
	 
 display: none;
}

/* ------------------ */
/* default */
/* ------------------ */

@media screen and (min-width: 769px) {
   #menu li a:hover{
	padding-bottom: 3px;
	border-bottom-width: 3px;
	border-bottom-style: solid;
   }
}


/* ------------------ */
/* tablet */
/* ------------------ */

@media only screen and (max-width: 768px) {
    #menu li{
    width: 25%;
    border-bottom: 1px solid #ccc;
  }
  #menu li a:hover{
    background:#fff4ee;
  }
}


/* ------------------ */
/* smart */
/* ------------------ */

@media only screen and (max-width: 480px) {
  #menu{
    display: none;
  }
  #menu li{
    width: 100%;
  }
  #menu li a:hover{
    background:#fff4ee;
  }
  #toggle{
    display: block;
    position: relative;
    width: 100%;
    background:#ccc;
  }
  #toggle a{
    display: block;
    position: relative;
    padding: 12px 0 10px;
    border-bottom: 1px solid #ccc;
    color:#fff;
    text-align: center;
    text-decoration: none;
  }
  #toggle::before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background:#fff;
  }
  #toggle a::before, #toggle a::after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 4px;
    background:#ccc;
  }
  #toggle a::before{
    margin-top: -6px;
  }
  #toggle a::after{
    margin-top: 2px;
  }
}
