@charset "utf-8";
/* CSS Document */

 .global-nav {
  position: fixed;
  right: -320px; /* これで隠れる */
  top: 0;
  width: 300px; /* スマホに収まるくらい */
  height: 100vh;
  padding-top: 64px;
  background-color: #fff;
  transition: all .6s;
  z-index: 10000;
  overflow-y: auto; /* メニューが多くなったらスクロールできるように */
}
.site-header .hamburger {
  position: absolute;
  right: 0;
  top: 0;
  width: 64px; /* クリックしやすいようにちゃんと幅を指定する */
  height: 64px; /* クリックしやすいようにちゃんと高さを指定する */
  cursor: pointer;
  z-index: 10001;
  background-color: #FF6622;
}
.global-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.global-nav__item {
  text-align: center;
  padding: 0 14px;
}
.global-nav__item a,.global-nav__item .no-l {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 20px;
}
.global-nav__item .no-l {
	position: relative;
	padding: 8px 0 20px 0;
}
.global-nav__item .no-l:before {
	position: absolute;
	content: '(準備中)';
	left: 0;
	right: 0;
	bottom: 4px;
	margin: auto;
	font-size: 0.8rem;
	color: #666;
}
.global-nav__item a:hover {
  background-color: #eee;
}
.hamburger__line {
  position: absolute;
  left: 14px;
  width: 38px;
  height: 5px;
  background-color: #FFF;
  transition: all .6s;
}
.hamburger__line--1 {
  top: 12px;
}
.hamburger__line--2 {
  top: 23px;
}
.hamburger__line--3 {
  top: 34px;
}
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: rgba(0,0,0,0.5);
  filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#99ffffff,EndColorStr=#99ffffff); /* IE8以下*/
  opacity: 0;
  visibility: hidden;
  transition: all .6s;
  cursor: pointer;
}
.m-tx {
  width: 100%;
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #FFF;
}
.close-tx {
	display: none;
}
/* 表示された時用のCSS */
.nav-open .global-nav {
  right: 0;
}
.nav-open .black-bg {
  opacity: .8;
  visibility: visible;
}
.nav-open .hamburger__line--1 {
  transform: rotate(45deg);
  top: 24px;
}
.nav-open .hamburger__line--2 {
  width: 0;
  left: 50%;
}
.nav-open .hamburger__line--3 {
  transform: rotate(-45deg);
  top: 24px;
}
.nav-open .open-tx {
	display: none;
}
.nav-open .close-tx {
	display: block;
}
@media screen and (min-width:1025px){
	.hamburger {
		display: none;
	}
	.global-nav {
		position: static;
		right: 0;
		width: auto;
		height: inherit;
		padding-top: 40px;
	}
	.global-nav__list {
		letter-spacing: -0.4em;
	}
	.global-nav__item {
		letter-spacing: normal;
		display: inline-block;
		padding: 0;
	}
	.global-nav__item a,.global-nav__item .no-l {
		border-bottom: none;
		box-sizing: border-box;
		padding: 8px 24px;
		border-right: 1px solid #000;
		line-height: 1;
	}
	.global-nav__item .no-l:before {
		display: none;
	}
	.global-nav__item:first-of-type a {
		border-left: 1px solid #000;
	}
	.global-nav__item a:hover {
		background-color: #EFEFEF;
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		-o-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;
	}
	.main-nav {
		padding-right: 20px;
	}
	.site-title img.img-smp {
		max-height: 40px;
	}
	.site-header.fixed .global-nav {
		padding-top: 14px;
	}
	.site-header.fixed .global-nav__item a {
		font-size: 1rem;
	}
}
@media screen and (max-width:1240px){
	.global-nav__item a, .global-nav__item .no-l {
		padding: 8px 18px;
	}
}
@media screen and (max-width:1100px){
	.global-nav__item a {
		font-size: 16px;
	}
}
@media screen and (max-width:480px){
	.hamburger__line {
		width: 34px;
		height: 4px;
		left: 16px;
	}
	.hamburger__line--2 {
		top: 22px;
	}
	.hamburger__line--3 {
		top: 32px;
	}
	.nav-open .hamburger__line--1,.nav-open .hamburger__line--3 {
		top: 22px;
	}
	.m-tx {
		bottom: 6px;
	}
	.global-nav {
		right: -100%;
		width: 100%;
	}
}