@charset "UTF-8";
/* CSS Document */
.bar3 {
	top: 5px;
	right: 15px;
	width: 50px;
	height: 50px;

	z-index: 10000;

	display: grid;
	justify-items: center;
	align-items: center;
	position: fixed;
	background:rgba(0,0,0,0);
}
/* ハンバーガーボタンのデザイン */
.drawer__button {
	position: relative;
	width: 50px;
	height: 50px;
	border: none;
	cursor: pointer;
	z-index: 10000; /* メニューを開いている時もクリックできるよう設定 */
	display: block;
}

/* ハンバーガーボタン内の線 */
.drawer__button > span {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 2px;
	background-color: #FFFFFF;
	transform: translateX(-50%);
	box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
}


.drawer__button > span:first-child {
  transform: translate(-50%, calc(-50% - 0.5rem));
  transition: transform 0.3s ease;
}
.drawer__button > span:nth-child(2) {
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.drawer__button > span:last-child {
  transform: translate(-50%, calc(-50% + 0.5rem));
  transition: transform 0.3s ease;
}
/* 展開時のデザイン */
.drawer__button.active > span{
	box-shadow: 0px 2px 10px 0px rgba(255, 255, 255, 1);
}


.drawer__button.active > span:first-child {
  transform: translate(-50%, -50%) rotate(-45deg);
	background-color: #000;
}
.drawer__button.active > span:nth-child(2) {
  opacity: 0;

}
.drawer__button.active > span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
	background-color: #000;
}


/* メニューのデザイン ----------------------------------------------------------------------------------------------------------*/
.drawer__nav {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color:#EDEDED;
	transition: opacity 0.3s ease;
	opacity: 0;
	visibility: hidden;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
	display: grid;
	justify-items: center;
	align-items: center;

	
}

/*メニューを表示----------------------------------------------------------------------------------------------------------*/
.drawer__nav.active {
  opacity: 1;
  visibility: visible;

}

/*メニューモーダル全体の大きさ----------------------------------------------------------------------------------------------------------*/
.drawer__nav__inner {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;

  
	transform: translateX(0%) translateY(-100%) rotateX(0deg) scale(1);
	transition: transform 0.6s ease;
}
.drawer__nav.active .drawer__nav__inner {
  transform: translateX(0%) translateY(0) rotateX(0deg) scale(1);
}

/*メニュー_リスト全体----------------------------------------------------------------------------------------------------------*/

.drawer__nav__menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-between;*/
  margin-top: 0px;
  padding-left: auto;
  padding-right: auto;
  margin-left: auto;
  margin-right: auto;
  width: 840px;
}

/*メニューそれぞれ----------------------------------------------------------------------------------------------------------*/
/*.drawer__nav__link {
	color: #FFFFFF;
	font-family:  "Sorts Mill Goudy", "Zen Old Mincho", serif;
	font-size: 20px;
	}


/*メニューそれぞれ----------------------------------------------------------------------------------------------------------*/
/*.drawer__nav__item {
	list-style-type: none;
	height: auto;
	margin: 15px;
}*/

.menu_child{
	font-family:  "Sorts Mill Goudy", "Zen Old Mincho", serif;
	width: 200px;
	height: auto;
	margin-right: 10px;
}

/*メニューボタンカスタム----------------------------------------------------------------------------------------------------------*/
.menubtn a {
  display: inline-block;
  transition: .3s;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  vertical-align: bottom;
  overflow: hidden;
  margin-top: 10px;
  cursor: pointer;
}
.menubtn a span {
  color: #fff;
  font-size: 16px;
  background: gray;
  padding: 30px 50px 30px 50px;
  display: inline-block;
  position: relative;
  transform-origin: 50% 0%;
  transform-style: preserve-3d;
  transition: .4s;
  width: 200px;
}
.menubtn a span:after {
  position: absolute;
  width: 200px;
  left: 0;
  top: 0;
  content: attr(data-text);
  padding: 30px 50px 30px 50px;
  background-color: #FFFFFF;
  color: #000000;
  display: inline-block;
  transform-origin: 50% 0%;
  transform: translate3d(0, 100%, 0) rotateX(-90deg);
}
.menubtn a:hover span {
  transform: translate3d(0, 0, -60px) rotateX(90deg);
}


/*メニュー内のロゴ----------------------------------------------------------------------------------------------------------*/

.menulogo{
	display: block;
	width: 300px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
	margin-top:150px;
}

/* ここからレスポンシブ　タブレットサイズ ----------------------------------------------------------------------------------------------------------*/
@media screen and (min-width:1000px) {

}

/* ここからレスポンシブ　スマホサイズ ----------------------------------------------------------------------------------------------------------*/
@media(max-width : 800px ){   /*メニュー全体*/
	.drawer__nav {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: #EDEDED;
	transition: opacity 0.3s ease;
	opacity: 0;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
	display: grid;
	justify-items: center;
	align-items: center;
}
	
.drawer__nav__menu {
  list-style: none;
  display: block;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-left: auto;
  padding-right: auto;
  margin-left: auto;
  margin-right: auto;
  width: 210px;
}

	

.menulogo{
	display: block;
	width: 70%;
	height: auto;
	margin-left: 5%;
	margin-top: 5%;
	margin-bottom: 30px;
}
	
.menubtn a {
  display: inline-block;
  transition: .3s;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  vertical-align: bottom;
  overflow: hidden;
  margin-top: 10px;
  cursor: pointer;
}
.menubtn a span {
  color: #fff;
  font-size: 16px;
  padding: 15px 20px 15px 20px;
  display: inline-block;
  position: relative;
  transform-origin: 50% 0%;
  transform-style: preserve-3d;
  transition: .4s;
  width: 150px;
}
.menubtn a span:after {
  position: absolute;
  width: 150px;
  left: 0;
  top: 0;
  content: attr(data-text);
  padding: 15px 20px 15px 20px;
  background-color: #FFFFFF;
  color: #000000;
  display: inline-block;
  transform-origin: 50% 0%;
  transform: translate3d(0, 100%, 0) rotateX(-90deg);
}
.menubtn a:hover span {
  transform: translate3d(0, 0, -60px) rotateX(90deg);
}


	
}