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 15px !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:3.5em;
	/*これ↑↑がナビの高さを揃えるのに必要*/
}
.nav a:hover {
	background-color:#ffffff;
}
.nav li.liBase {
	/*width:24.5%;*/
    background: #ffffff !important;
	text-align: center;
	}
.nav li.liBase a {
	display:block;
}
.nav a.liDefault {
	/*color:blue;*/
	display:block;
	height:4rem;
	/*↑↑これを指定しないと狭くなったときに文字がブロック外に出る*/
	padding-top:15px;
}
	
.nav li.liBase a:hover {
    background: #ffebf3 !important;
	}
.nav li {
    position: relative;
	border-right: 4px solid #fadbb7;
	border-collapse:collapse;
}

.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 #fadbb7;
	}
    .nav li li .parent {
        background-image: url("../images/downArrow.png");
        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;
    }

}
