@charset "UTF-8";

.slicknav_menu {
	display:none;
}

@media screen and (max-width: 768px) {
	/* #menu is the original menu */
	.js #menu,
	.js .menu {
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
	}
	#g-nav ul li ul.sub-menu {
	display: inherit;
}
}



/* header *//* header */
#top-head {
    position: fixed;
    width: 100%;
    margin: 0 auto;
    z-index: 999;
    padding: 0 0 60px;
    background-color:rgba(255, 255, 255, 0.95);
}
/*
#top-head:after {
    content: "";
    display: block;
    height: 1px;
    background: #dfdfdf;
    margin: 60px auto 0;
}
*/
 
#top-head a,
#top-head {
    color: #333;
    text-decoration: none;
}
 
#top-head .inner {
    position: relative;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}


#g-nav ul {
	font-family:"ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
    list-style: none;
    position: absolute;
	right:0px;
	left:0px;
	margin:auto auto;
	width: 100%;
	max-width: 1000px;
    font-size: 1.4rem;
    text-align: center;
	text-transform: uppercase;
}


#g-nav ul * {
  box-sizing: border-box;
}


#g-nav ul li {
	display: inline-block;
	list-style: outside none none;
	padding: 0 .5em;
 
}


#g-nav ul li a { 
  padding: 0.5em .5em;
  position: relative;
  
}


#g-nav ul a:before,
#g-nav ul a:after {
  position: absolute;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

#g-nav ul#menu-g-nav-en a:before,
#g-nav ul a:before {
  bottom: 0;
  display: block;
  height: 3px;
  width: 0%;
  content: "";
  background-color: #C61E21;
}

#g-nav ul#menu-g-nav-en a:after,
#g-nav ul a:after {
  left: 0;
  top: 0;
  padding: 0.5em 0;
  position: absolute;
  content: attr(data-hover);
  color: #ffffff;
  white-space: nowrap;
  max-width: 0%;
  overflow: hidden;
}



/*#g-nav ul#menu-g-nav li:nth-last-child(-n+1) {
	display: none;
}*/
/*#g-nav ul#menu-g-nav li:nth-last-child(3) {
	display: none;
}*/

#g-nav ul li ul.sub-menu {
	display: none;
}




/* 現在位置表示 */
body.tax-shurui #g-nav ul .menu-item-90 a:before,
/*body.tax-shurui #g-nav ul .menu-item-92 a:before, */
body.single-kyoshitsu #g-nav ul .menu-item-92 a:before,
#g-nav ul#menu-g-nav-en .current-page-ancestor a:before,
#g-nav ul#menu-g-nav-en a:hover:before,
#g-nav ul#menu-g-nav-en .current-menu-item a:before,
#g-nav ul#menu-g-nav-en .current_page_item a:before,
#g-nav ul .current-page-ancestor a:before,
#g-nav ul a:hover:before,
#g-nav ul .current-menu-item a:before,
#g-nav ul .current_page_item a:before {
  opacity: 1;
  width: 100%;
}

#g-nav ul#menu-g-nav-en .current-page-ancestor a:after,
#g-nav ul#menu-g-nav-en a:hover:after,
#g-nav ul#menu-g-nav-en .current-menu-item a:after,
#g-nav ul#menu-g-nav-en .current_page_item a:after,
#g-nav ul .current-page-ancestor a:after,
#g-nav ul a:hover:after,
#g-nav ul .current-menu-item a:after,
#g-nav ul .current_page_item a:after {
  max-width: 100%;
}


/* transition */
#top-head,
#top-head:after,
#top-head h1,
#g-nav ul li,
#g-nav ul li a {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
/* Fixed */
#top-head.fixed {
    padding-top: 0px;
    padding-bottom: 20px;
    background: rgba(255,255,255, 1);
    top: 0;
    border-bottom: solid 1px #eee;
}

#top-head.fixed h1 {
    display: block;
    width: 42px;
	height: 70px;
	background-size: contain;
}
#top-head.fixed h1 a {
	display: block;
    width: 42px;
	height: 70px;
	}
 
/*
#top-head.fixed:after {
    width: 100%;
    margin-top: 20px;
}
*/

#top-head.fixed #g-nav ul {
	font-size: 1.4rem;
    top: 40px;
    right: inherit;
	left: 70px;
	width: 100%;
	max-width: 930px;
	text-align: right;
}

#top-head.fixed #g-nav ul li a {
    color: #333;
    padding: 0.5em .25em;
}


/* ------------------------------ side nav ---------------- */

#side ul {
	font-size: 1.4rem;
}

	#side ul li {
		display: block;
		line-height: 50px;
		border-top: solid 1px #999;
	}
	
	#side ul li:last-child {
		border-bottom: solid 1px #999;
	}

	#side ul li a {
		display: block;
		text-decoration: none;
		color: #666; 
	}
	#side ul li a:hover {
		color: #333;
		}

	#side ul li a:before {
		content: "● ";
		color: #999; 
	  -webkit-transition: all 0.5s ease 0s;
	  -o-transition: all 0.5s ease 0s;
	  transition: all 0.5s ease 0s;
	}
	
	#side ul li a:hover:before {
		color: #C1272D;
	}

#side ul li ul {
	margin-left: 1.5em;
}
	
	#side ul li ul li {
		border-top: dotted 1px #666;
		border-bottom: none;
	}
		#side ul li ul li:last-child {
			border-bottom: none;
	}
		
		
		#side ul li ul li a {
			color: #999;
			display: inline-block;
			padding-left: .5em;
			}
			
			#side ul li ul li i {
			color: #999;
		}
			
			#side ul li.current_page_item ul li a:hover,
			#side ul li ul li a:hover {
			color: #333;
			}
		
		#side ul li ul li a:before {
			content: none;
			}
				#sid ul li.current_page_item ul li a:hover,
				#side ul li ul li:hover i {
				    -webkit-transition: all 0.5s ease 0s;
				    -o-transition: all 0.5s ease 0s;
				    transition: all 0.5s ease 0s;
				}
				#side ul li ul li:hover i {
					color: #C1272D;
				}
#side ul li.current_page_item ul li a {
	color: #999;
}




/* 現在位置表示 */
#side ul li.current_page_ancestor a:before,
#side ul li.current_page_parent a:before,
#side ul li.current-cat a:before,
#side ul li.current_page_item a:before,
#side ul li.current a:before,
#side ul li ul li.current-cat i {
	color: #C1272D;
}


#side ul li.current_page_parent a,
#side ul li.current-cat a,
#side ul li.current_page_item a,
#side ul li.current > a,
#side ul li.current-cat ul li.current-cat > a,
#side ul li.current-cat ul li a,
#side ul li.current_page_item ul li.current-cat a {
	color: #333;
}


.cate ul li > i {
	display: none;
}



@media screen and (max-width: 768px){		/* -------------------------------------------------  768px以下用（iPad）の記述 */

#top-head {
    position: inherit;
    z-index: 999;
    padding: 0 0 0;
}

#top-head:after {
    margin: 0;
}

/* Fixed */
#top-head.fixed {
    padding-top: 20px;
    background: rgba(255,255,255, 1);
}

#top-head.fixed h1 {
    width: 95px;
	height: 130px;
	display: block;
	margin: 0 auto;
}
#top-head.fixed h1 a {
	display: block;
	width: 95px;
	height: 130px;
	}



#side-nav ul {
	font-size: 1.4rem;
}

	#side-nav ul li {
		display: block;
		text-align: center;
		line-height: 50px;
		border-top: solid 1px #4D4D4D;
	  -webkit-transition: all 0.5s ease 0s;
	  -o-transition: all 0.5s ease 0s;
	  transition: all 0.5s ease 0s;
	  background-color: #f8f8f8;
	}
	
	#side-nav ul li:last-child {
		border-bottom: solid 1px #4D4D4D;
	}

	#side-nav ul li a {
		display: block;
		text-decoration: none;
		color: #4D4D4D; 
	}

	#side-nav ul li a:before {
		content: none;
	  -webkit-transition: inherit;
	  -o-transition: inherit;
	  transition: inherit;
	}
	
	#side-nav ul li:hover {
		background-color: rgba(141,194,33, .7);
	}
	#side-nav ul li a:hover {
		color: #fff;
	}
	
	#side-nav ul li ul li:last-child {
		border-bottom: none;
	}

	
	
	
	/* 現在位置表示 */

/*
#side-nav ul li.current_page_item > a,
#side-nav ul li.current  > a {
	background-color: rgba(141,194,33, .7);
	color: #fff;
}

#side-nav ul li.current_page_item ul li a,
#side-nav ul li.current ul li a {

}


#side-nav ul li.current_page_parent a,
#side-nav ul li.current-cat a,
#side-nav ul li.current_page_item a,
#side-nav ul li.current > a,
#side-nav ul li.current-cat {
	color: #485B19;
}

 ul li.current-cat > a,
#side-nav ul li.current-cat ul li a,
#side-nav ul li.current_page_item ul li.current-cat a,
#side-nav ul li ul li.current a {
	color: #fff;
	background-color: rgba(141,194,33, .6);
}


*/




}