@charset "utf-8";
/* CSS Document */

/* スマホ閲覧時のハンバーガーメニュー */
 
#smpNav {
  display: none; /* チェックボックスを非表示 */
}
 
.menu_button { /* ボタンのスタイル */
width: 4em;
height: 4em;
  position: fixed;
  top: 0;
  right: 0;
  background: var(--red); /* 背景色 */
  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(--red); /* 背景色 */
  overflow-y: auto;
  text-align: center;
  transition: all 200ms 0s ease;
   opacity: 0;
    transform: translateX(-3em);
	font-size: 1.5em;
	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;
}

 .menu a.new:before {
	 content: "new";
	 position: absolute;
	 display:inline-block;
	 background-color: var(--lightP);
	 color:#fff;
	 width: 3em;
	/* height: 3em;*/
	left: 0.5em;
	 line-height:2.8em;
	 font-size: max(0.5em,10px);
	 border-radius: 50%;
	 vertical-align: middle;
	 padding-bottom: 0.2em;
	 margin-right: 0.5em;
	 z-index: 3;
	 top:1.2em;
 }

 .menu > a.non {
	 pointer-events: none;
	 opacity: 0.2;
}

 .menu:hover > a:not(.non) ,.menu > a.selected{
       background: #fff;	
	border-radius: 50px;
	 		color: var(--brown);


  }

@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;
		border-bottom: var(--red) 5px solid;
 
  }
	.global_menu ul{
		width:100% ;
		margin: 0 auto;
		padding: 1em;

		background-color: var(--red);
		border-bottom: #fff 3px solid;
		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.1em 1.5em 0.2em;
	  color: #fff;

  }
.global_menu a { /* 各項目のスタイル */
	border: 0;
}
/*  .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;
 }


}