body, nav, ul, li, a  {margin: 0; padding: 0;}
.nav a {text-decoration: none;}
/*
.toggleMenu {
    display:  none;
    background: #666;
    padding: 10px 15px;
    color: #fff !important;
	margin-top:0.2em;
	margin-bottom:0 !important;
}
a.toggleMenu {
	text-decoration:none;
}
*/
.nav {
    list-style: none !important;
     *zoom: 1;
	 /*margin-bottom:1em;*/
	 /*width:960px;*/
	 /*overflow:hidden;*/
	 clear:right;
	/*margin-top: 1rem;*/
	 margin-bottom:.3rem;
}
.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none !important;
    /*width: 9rem;*/
	line-height:2em !important;
	}
.nav a {
		
    /*padding: 10px 0px !important;*/
	
    /*color:#333333;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight:400;
	font-style:normal;
	font-size:1.2rem;
	line-height:1.2em;*/
	/*height:2em;*/
	/*これ↑↑がナビの高さを揃えるのに必要*/
}
.nav a:hover {
	/*background-color:#ffffff;*/
}
.nav li.liBase {
	/*width:24.5%;*/
    /*background: #ffffff !important;*/
	text-align: center;
	background-image: url("../images/header/nav_bg.gif");
        background-repeat: no-repeat;
        background-position: 95% 50%;
	}
.nav li.liBase a {
	display:block;
}
.nav a.liDefault {
	/*color:blue;*/
	display:block;
	/*height:1.6rem;*/
	/*↑↑これを指定しないと狭くなったときに文字がブロック外に出る*/
	padding-top:10px;
}
	
.nav li.liBase a:hover {
    
	}
.nav li {
    position: relative;
	
}

.nav li li {
	/*font-size:0.7em !important;
	line-height:1.2em;
	font-weight:200 !important;
	border-right:1px solid #4b894b;*/
}
.nav li li li {

}
.nav > li {
    float: left;
}

.nav > li > a {
    display: block;
}
.nav li  ul {
    position: absolute;
    left: -9999px;
}
.nav > li.hover > ul {
    left: 0;
	/*background-color:#d1f0d0;*/
}
.nav li li.hover ul {
    left: 100%;
    top: 0;
}
.nav li li a {
	/*子のスタイル*/
    /*display: block;
    background: #e8fde7;
    position: relative;
    z-index:100;
	font-size:0.7rem !important;
	font-weight:200 !important;
	/*color:red;
	height:3em;*/
	/*padding-bottom:1em;*/
}
.nav li li a:hover {
    /*background: #ffffff !important;*/
}
.nav li li li a {
	/*孫のスタイル*/
    /*background:#f4fff4;*/
	/*background-color:white;
    z-index:200;*/
	/*width:10em;*/
}

/*以下モバイルのスタイル*/
@media screen and (max-width: 1023px) {
    .active {
        display: block;
    }
    .nav > li {
        float: none;
    }
    .nav > li > .parent {
        background-position: 95% 50%;
    }
	.nav li {
		border-right: none;
		border-bottom: 4px solid #b3c60f;
		background-image: none;
		background: none;
	}
	.nav li.liBase {
		background-image: none;
	}
    .nav li li .parent {
        /*background-image: url("../images/header/nav_bg.gif");
        background-repeat: no-repeat;
        background-position: 95% 50%;*/
    }
	    .nav li li .parent a:hover {
    /*background: #ffffff !important;*/
		}
    .nav ul {
        display: block;
        width: 100%;
    }
   .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }

}
