/* CSS Document */
/* リセットCSS */
body {
  box-sizing: border-box;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  vertical-align: middle;
  border: 0;
  background: transparent;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
}

button:hover {
  cursor: pointer;
}

/**************** 以下、ハンバーガーボタンのスタイリング ****************/
.navbtn {
	/* ボタンの配置位置  */
  position: fixed;
	top: 30px;
	right: 20px;
	/* ボタンの大きさ  */
  width: 50px;

  //width: 58px;
	height: 28px;

  //height: 48px;
	/* バーガーの線をボタン範囲の中心に配置 */
  display: flex;
	justify-content: center;
	align-items: center;
	/* 最前面に */
  z-index: 120;
}

/***** 真ん中のバーガー線 *****/
.navbtn-line {
  /* 線の長さと高さ */
  width: 100%;
  height: 1px;
  /* バーガー線の色 */
  background-color: #aaa;
  /* バーガー線の位置基準として設定 */
  position: relative;
  transition: .2s;
}

/***** 上下のバーガー線 *****/
.navbtn-line::before,
.navbtn-line::after {
  content: "";
  /* 基準線と同じ大きさと色 */
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #aaa;
  transition: .2s;
}


.navbtn-line::before {
  /* 上の線の位置 */
  transform: translateY(-8px);
  //transform: translateY(-16px);
}


.navbtn-line::after {
  /* 下の線の位置 */
  transform: translateY(8px);
  //transform: translateY(16px);
}

/***** メニューオープン時 *****/
.navbtn-line.open {
  /* 真ん中の線を透明に */
  background-color: transparent;
}

.navbtn-line.open::before,
.navbtn-line.open::after {
  content: "";
  transition: .2s;
  background-color: #fff;
}

.navbtn-line.open::before {
  /* 上の線を傾ける */
  transform: rotate(45deg);
}

.navbtn-line.open::after {
  /* 上の線を傾ける */
  transform: rotate(-45deg);
}

/**************** ここまで、ハンバーガーボタンのスタイリング ****************/

/**************** 以下、メニューのスタイリング ****************/
.navmenu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

　　　　/*  メニューを非表示に  */
  visibility: hidden;
	opacity: 0;
	/* メニューを縦に */
  display: flex;
	flex-direction: column;
	color: #efefef;
	background-color: rgba(0,0,0,0.8);
	transition: opacity .3s;
	margin: 0px;
	padding: 0px;
	display:none;
	z-index: 110;
}
a:link {
	text-decoration:none;
	color: #333;
}
.navmenu-list {
	color: #fff;
	width: 100%;
  height: 50px;
	/* メニューテキスト位置をリスト内中心に */
  /*
  display: flex;
  justify-content: center;
  align-items: center;
  */
  
  text-decoration:none;
	display: grid;
	justify-items: center;
	align-items: center;
}

.navmenu-list:hover {
  color: #aaa;
  text-decoration:none;
  //background-color: rgba(255, 255, 255, 0.9);
  transition: .3s;
  cursor: pointer;
}
.navmenu-list:a {
	text-decoration:none;
	color: #fff;
}
.navmenu-list:alink {
	text-decoration:none;
	color: #fff;
}

.navmenu.open {
/*   transition: visibility 1s ease-in; */
	display:block;
	visibility: visible;
	opacity: 1;
	transition: opacity .5s;
}
.navzone {
	display: grid;
	justify-items: center;
	align-items: center;
	height: 100%;
	width: 100%;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

.w100 {
width: 100%;
}


/**************** ここまで、メニューのスタイリング ****************/
