@charset "utf-8";
/* CSS Document */

/* リセットCSS */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
::before , ::after {
	box-sizing: inherit;
}
button {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	vertical-align: middle;
	text-align: inherit;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
}
/**************** 以下、ハンバーガーボタンのスタイリング ****************/


.btn {
	/* ボタンの配置位置  */
	position: fixed;
	top: 25px;
	right: 16px;
	/* 最前面に */
	z-index: 10;
	/* ボタンの大きさ  */
	width: 30px;
	height: 30px;
}
/***** 真ん中のバーガー線 *****/
.btn-line {
	display: block;
	/* バーガー線の位置基準として設定 */
	position: relative;
	/* 線の長さと高さ */
	width: 100%;
	height: 3px;
	/* バーガー線の色 */
	background-color: #837ad3;
	transition: .2s;
}
/***** 上下のバーガー線 *****/
.btn-line::before , .btn-line::after {
	content: "";
	/* 基準線と同じ大きさと色 */
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #837ad3;
	transition: .5s;
}
.btn-line::before {
	/* 上の線の位置 */
	transform: translateY(-10px);
}
.btn-line::after {
	/* 下の線の位置 */
	transform: translateY(10px);
}
/***** メニューオープン時 *****/
.btn-line.open {
	/* 真ん中の線を透明に */
	background-color: transparent;
}
.btn-line.open::before , .btn-line.open::after {
	content: "";
	background-color: #837ad3;
	transition: .2s;
}
.btn-line.open::before {
	/* 上の線を傾ける */
	transform: rotate(45deg);
}
.btn-line.open::after {
	/* 上の線を傾ける */
	transform: rotate(-45deg);
}
/**************** ここまで、ハンバーガーボタンのスタイリング ****************/
/**************** 以下、メニューのスタイリング ****************/

/* 画面サイズが991px以下の場合に適用 */
@media only screen and (max-width: 991px) {
 .menu {
  /* メニューを縦に */
  display: flex;
  flex-direction: column;
  position: fixed;
  /* メニューの位置マイナス指定で画面外に */
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, .7);
  color: #efefef;
  transition: .3s;
 }
 .menu ul{
  margin-top: 80px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
 }
 .menu-list {
  /* メニューテキスト位置をリスト内中心に */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
 }
 .menu-list a{
  color: #000;
  font-weight: 700;
 }
 .menu-list:hover {
  background-color: rgba(255, 255, 255, .5);
  color: #333;
  cursor: pointer;
  transition: .3s;
 }
 /***** メニューオープン時位置0にして画面内に *****/
 .menu.open {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
 }
}

/* 画面サイズが992px以上の場合に適用 */
@media only screen and (min-width: 992px) {
	.btn {display: none;}
}