/* 基本スタイル */
html,
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  width: 100%;
  /* 必須: HTMLとBODYの幅をウィンドウ幅に固定 */
  height: 100%;
  /* 必須: HTMLとBODYの高さをウィンドウ高さに固定 */
/*   overflow: hidden; */
  /* ウィンドウ外のスクロールを防止 */
  perspective: 1100px;
  /* 3D効果を有効化 */
}

html {
    margin-top: 0 !important;
    
}
body {
    background-image: url(../img/menu_bg.png);
    background-size: cover;
}
@media screen and (max-width: 768px) {
	body {
	    background-image: url(../img/menu_bg_sp.png) !important;
	    background-position: right !important;
	}
}
/*.inner{
    width: 90%;
    max-width:1150px;
    margin: 0 auto;
  }*/

/*article{
    overflow: hidden;
  }*/
#wpadminbar {
  z-index: 9999 !important;
	    display: none !important;
  
}

.container {
  overflow-y: scroll;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff !important;
  transition: transform 0.8s ease;
  transform-origin: left center;
  box-sizing: border-box;
}

.container.slide {
  transform: rotateY(20deg);
  /* 右奥に押し出す */
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.4);
  /* 奥行き感の影 */
}

/* 3D効果を受けない要素 */
.fixed-elements {
  position: fixed;
  top: 0;
  right: 0;
  width: auto;
  height: auto;
  z-index: 9;
  /* 3D要素より前面に配置 */
  transform: none;
  /* 3D効果を無効化 */
}

/* ヘッダー */
.header {
  position: fixed;
  /* ヘッダーを画面上部に固定 */
  padding: 20px;
  color: #fff;
  text-align: center;

}

.toggle {
  position: relative;
  width: 47px;
  height: 47px;
  cursor: pointer;
  z-index: 999;
  display: block;
}

.toggle.active {
  position: relative;
}

.toggle span {
  display: block;
  position: absolute;
  width: 47px;
  height: 5px;
  background-color: #fff;
  border: 1px solid #000;
  -webkit-transition: .35s ease-in-out;
  -o-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

/* ハンバーガーメニューのバツ型切り替え */
.toggle span:nth-child(1) {
  top: 18%;
}

.toggle span:nth-child(2) {
  top: 45%;
}

.toggle span:nth-child(3) {
  top: 73%;
}

.toggle.active span:nth-child(1) {
  top: 50%;
  /* 真ん中に移動 */
  transform: rotate(45deg);
  /* 右上から左下に回転 */
}

.toggle.active span:nth-child(2) {
  opacity: 0;
  /* 真ん中の線を非表示 */
}

.toggle.active span:nth-child(3) {
  top: 50%;
  /* 真ん中に移動 */
  transform: rotate(-45deg);
  /* 左上から右下に回転 */
}

/* コンテンツ */
.content {
  padding: 20px;
}

/* メニュー */
.par-menu {
  position: relative;
}

.menu {
/*   position: fixed;
  overflow-y: scroll;
  top: 0;
  right: 0;
  width: 20%;
  height: 100vh;
  background-color: rgba(0, 0, 0, .3); */
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.8s ease;
/*   padding-bottom: 80px;
  box-sizing: border-box; */
}

.menu.active {
  transform: translateX(0);
}

.menu ul {
  list-style: none;
  padding: 0;
  width: 90%;
  margin: 0 auto;
  margin-top: 100px;
}

.menu ul li {
  border-bottom: 2px solid #fff;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.menu ul li a span {
  display: block;
  font-size: 14px;
}
@media screen and (max-width: 768px) {

	
	
	.menu ul li a{
		font-size: 16px;
		color: #fff;
	}
	.menu ul li a span{
		font-size: 10px;
	}
	.g-menu ul li{
		border-bottom: 1px solid #fff;
	}
}
.menu ul li a:hover {
  color: #bbb;
}