@charset "utf-8";
/* CSS Document */

/* スマホ閲覧時のハンバーガーメニュー */
 
#smpNav {
  display: none; /* チェックボックスを非表示 */
}
 
.menu_button { /* ボタンのスタイル */
width: 4em;
height: 4em;
  position: fixed;
  top: 0;
  right: 0;
  background: var(--green); /* 背景色 */
  z-index: 910;
}
.menu_button:after { 
		 content: "menu";
		position: absolute;
		display: block;
		font-size: 1em;
		width:100%;
		text-align: center;
		bottom:0.3em;
		letter-spacing: 1px;
		/*font-weight: bold;*/
		color: #fff;
	transform: scale(0.8);
	}
	#smpNav:checked + .menu_button::after{
			content: "close";

	}
	
	.menu_button .bticon,.menu_button .bticon:before,.menu_button .bticon:after{
		width: 2em;
		height: 2px;
		margin-top: -1px;
		margin-left: -1em;
		left:50%;
		transition: all 200ms 0s ease;
		background-color: #fff;
	}
	
	.menu_button .bticon{
		position: relative;
		top:43%;
	}
	.menu_button .bticon:before{
		content: "";
		top:-0.4em;
		position: absolute;
		display: block;
	}
	.menu_button .bticon:after{
		content: "";
		top:0.5em;
		position: absolute;
		display: block;
	}
	#smpNav:checked + .menu_button .bticon{
		background-color:transparent;
	}
	#smpNav:checked + .menu_button .bticon:before{
		transform: rotateZ(45deg);
		top:0;
	}
	#smpNav:checked + .menu_button .bticon:after{
		transform: rotateZ(-45deg);
		top:0;
	}

 
.global_menu { /* メニュー全体のスタイル */
  visibility: hidden; /* メニューを非表示 */
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 6em 2em;
  color:#fff; /* 文字色 */
  background: var(--green); /* 背景色 */
  overflow-y: auto;
  text-align: center;
  transition: all 200ms 0s ease;
   opacity: 0;
    transform: translateX(-3em);
	font-size: 1.2em;
	z-index: 900;
}
 
#smpNav:checked ~ .global_menu { /* メニュー全体のスタイル（チェック済） */
  visibility: visible; /* メニューを表示 */
	opacity: 1;
  transform: translateX(0);

}
 
.global_menu a { /* 各項目のスタイル */
  display: block;
  width: 100%;
  color: #fff;
	position: relative;
	/*border: #fff 1px solid;*/
	/* border-radius: 50px;*/
}
 
/*.global_menu a:not(.non):hover { 
       background: var(--bgP);
	   border-radius: 50px;
		color: #fff;
}*/
 
.menu:not(:last-child) {
  margin-bottom: 20px;
}
 
.menu > a { /* 親項目のスタイル */
	  padding: 1em;
	line-height: 1em;
}


 .menu > a.non {
	 pointer-events: none;
	 opacity: 0.2;
}
 .menu > a:not(.non):before {
	 content: "";
	 position: absolute;
	 top:0;
	 left: 0;
	 width: 100%;
	 bottom: 0;
       background: var(--green);
	 transform:skewX(-15deg);
	 border: #fff 1px solid;
	/*border-radius: 50px;*/
	 	/*	color: var(--brown);*/
  }

 .menu:hover > a:not(.non):before ,.menu > a.selected:before{
	 content: "";
	 position: absolute;
	 top:0;
	 left: 0;
	 width: 100%;
	 bottom: 0;
       background: var(--orange);
	 transform:skewX(-15deg);
	  border: #fff 1px solid;
	/*border-radius: 50px;*/
	 	/*	color: var(--brown);*/
  }
.menu span{
	position: relative;
	z-index: 3;
}
@media screen and (min-width: 1025px) {

  /* PC閲覧時のメガメニュー */

  .menu_button {
    display: none; /* ハンバーガーメニューのボタンを非表示 */
  }

  .global_menu { /* メニュー全体のスタイル */
    position:sticky;
    padding: 0;
    color: var(--brown); /* 文字色 */
    background:none; /* 背景色 */
	 visibility: visible;
	overflow-y: visible;
	  opacity: 1;
	   transform: translateX(0);
	   	font-size: 1em;

 
  }
	.global_menu ul{
		width:100% ;
		margin: 0 auto;
		padding: 1em;

		background-color: var(--green);
		border-top: 0;


	}
.menu{
	display: inline-block;
	vertical-align: middle;
		margin: 0 0.3em;

}
  .menu:not(:last-child) {
    margin-bottom: 0;
  }

  .menu > a { /* 親項目のスタイル */
    font-weight: normal;
    padding: 0.4em 1.5em 0.5em;
	  color: #fff;

  }
.global_menu a { /* 各項目のスタイル */
	border: 0;
}
	 .menu > a:not(.non):before {
	 content: "";
	 position: absolute;
	 top:0;
	 left: 0;
	 width: 100%;
	 bottom: 0;
       background: var(--green);
	 transform:skewX(-15deg);
	border: 0;
	/*border-radius: 50px;*/
	 	/*	color: var(--brown);*/
  }
 .menu:hover > a:not(.non):before ,.menu > a.selected:before{
	 content: "";
	 position: absolute;
	 top:0;
	 left: 0;
	 width: 100%;
	 bottom: 0;
       background: var(--orange);
	 transform:skewX(-15deg);
	/*border-radius: 50px;*/
	 	/*	color: var(--brown);*/
  }

/*  .menu:hover > a:not(.non) ,.menu > a.selected{
	background: var(--white);	
	border-radius: 50px;
	color: #000;
  }*/
/* .menu a.new:before {
	 position: absolute;

	left:-0.8em;
	 top:-0.1em;
 }*/


}