@charset "UTF-8";
body{
	background-color: #41B5EB;
	color: #FFFFFF;
	font-family:"見出ゴMB31","Midashi Go MB31",sans-serif;
}

.menu {
  /* メニューの位置マイナス指定で画面外に */
  position: fixed;
  right: -70%;
  width: 70%;
  height: 100vh;
  /* メニューを縦に */
  display: flex;
  flex-direction: column;
  color: #efefef;
  background-color: rgba(167, 148, 58, 1);
  transition: .3s;
	z-index: 99;
}
.menu-list {
  width: 100%;
  height: 100%;
  /* メニューテキスト位置をリスト内中心に */
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn {
  /* ボタンの配置位置  */
  position: fixed;
  top: 20px;
  right: 16px;
  /* ボタンの大きさ  */
  width: 48px;
  height: 48px;
  /* 最前面に */
  z-index: 100;

  background-color: rgba(255,255,255,0.00); /* わかりやすいように */
}
/***** 真ん中のバーガー線 *****/
.btn-line {
	display: flex;
	position: relative;  /* バーガー線の位置基準として設定 */
	width: 80%;  /* 線の長さと高さ */
	height: 3px;
	background-color: white;  /* バーガー線の色 */
	transition: .2s;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}
/****** 上下のバーガー線 *****/
.btn-line::before,
.btn-line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: white;
  transition: .5s;
	margin: 0px;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}


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


.btn-line::after {
  /* 下の線の位置 */
  transform: translateY(8px);
}
.menu.open {
  right: 0;
}
/***** メニューオープン時 *****/
.btn-line.open {
	background-color: transparent;  	/* 真ん中の線を透明に */
}

.btn-line.open::before , 
.btn-line.open::after {
	content: "";
	background-color: #FF7E94;  /* 上下の線の色を変える */
	transition: .1s;
}

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

.btn-line.open::after {
	transform: rotate(-45deg);  /* 下の線を傾ける */
}/**************** ここまで、ハンバーガーボタンのスタイリング ****************/

/**************** 以下、メニューのスタイリング ****************/
.menu {
	/* メニューを縦に */
	display: flex;
	flex-direction: column;
	position: fixed;
	/* メニューの位置マイナス指定で画面外に */
	right: -100%;
	width: 100%;
	height: 100vh;
	background-color: rgba(255,255,255,0.9);
	color: #41B5EB;
	transition: .3s;
	z-index: 99;
}

.menu-list {
	/* メニューテキスト位置をリスト内中心に */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.menu-list:hover {
	background-color: rgba(255, 255, 255, .5);
	color: #FF7E94;
	cursor: pointer;
	transition: .3s;
}

/***** メニューオープン時位置0にして画面内に *****/
.menu.open {
	position: flex;
	right: 0;
	z-index: 99;
}

/* 600px以上はハンバーガーボタン非表示、ヘッダー固定 */
@media screen and (min-width: 600px) {
	.btn {
		display: none;
	}

	.menu {
		/* メニューを横に */
		display: flex;
		flex-direction: row;
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100px;
	}
}
/**************** ここまで、メニューのスタイリング ****************/

