@charset "utf-8";
/* CSS Document */







/*640以下の場合*/

@media only screen and (max-width: 640px) {
	
.navi_pos{

}	
	
	
.tolerance {
	height: auto;
	width: 100%;
	background: rgb(255, 255, 255);
	background-color: rgba(255,255,255,255);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 500;
/*	box-shadow: 0px 10px 10px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 10px 10px rgba(0,0,0,0.4);*/
}

.tolerance:before, .tolerance:after {
	content:"";
	display: table;
}
.tolerance:after {
	clear: both;
}
.tolerance {
	zoom: 1;
        /* For IE 6/7 (trigger hasLayout) */
}
.tolerance * {
	padding: 0px;
	color: #fff;
	margin:0px auto;
}


  #nav{
    display: none;
  }
  #nav li{
    width: 100%;
  }
  
  #nav li{
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  }
  #nav li a{
  display: block;
  background: #333;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding:7px;
  }
  #nav li a:hover{
  background: #359732;
  }



  #toggle{
    display: block;
    position: relative;
    width: 100%;
    background: #222;
  }
  #toggle a{
    display: block;
    position: relative;
    padding: 12px 0 10px;
    border-bottom: 1px solid #444;
    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: #222;
  }
  #toggle a:before{
    margin-top: -6px;
  }
  #toggle a:after{
    margin-top: 2px;
  }
  
  a:hover {
  opacity: .7;
  -webkit-opacity: .7;
  -moz-opacity: .7;
  filter: alpha(opacity=70);	/* IE lt 8 */
  -ms-filter: "alpha(opacity=70)"; /* IE 8 */
}
 
  a  {
  -webkit-transition: opacity 1s ease-out;
  -moz-transition: opacity 1s ease-out;
  -ms-transition: opacity 1s ease-out;
  transition: opacity 1s ease-out;
}


.now{
  /*background: #fa0137;
  border: 1px dotted #eb4a0a;*/
  background-color:#359732!important;
  color:#FFFFFF!important;
}



}





















/*650以上の場合*/

@media screen and (min-width: 650px) {


.navi_pos{
}


.tolerance {
	width: 980px;
	margin: 0 auto;
	padding: 0;
}

.tolerance:before, .tolerance:after {
	content:"";
	display: table;
}
.tolerance:after {
	clear: both;
}
.tolerance {
	zoom: 1;
        /* For IE 6/7 (trigger hasLayout) */
}
.tolerance * {
	padding: 15px;
	color: #fff;
	margin:0px auto;
}



#nav{
  width: 980px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
}
#nav li{
  display: block;
  float: left;
  width: 122px;
  margin: 0;
  padding: 0;
}
#nav li a{
  display: block;
  padding: 10px;
  background: #fff;
  color: #333;
  text-align: center;
  text-decoration: none;
  height:50px;
}
#nav li a:hover{
  background: #eb4a0a;
  color:#FFFFFF!important;
}

.now{
  /*background: #fa0137;
  border: 1px dotted #eb4a0a;*/
  background-color:#eb4a0a!important;
  color:#FFFFFF!important;
}


#toggle{ 
 display: none;
}

  a:hover {
  opacity: .5;
  -webkit-opacity: .5;
  -moz-opacity: .5;
  filter: alpha(opacity=50);	/* IE lt 8 */
  -ms-filter: "alpha(opacity=50)"; /* IE 8 */
}
 
  a  {
  -webkit-transition: opacity 1s ease-out;
  -moz-transition: opacity 1s ease-out;
  -ms-transition: opacity 1s ease-out;
  transition: opacity 1s ease-out;
}

}









