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

 .global-nav {
  position: fixed;
  right: -320px; /* これで隠れる */
  top: 0;
  width: 300px; /* スマホに収まるくらい */
  height: 100vh;
  padding-top: 80px;
  background-color: #fff;
  transition: all .6s;
  z-index: 10000;
  overflow-y: auto; /* メニューが多くなったらスクロールできるように */
}
#header .hamburger {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%; /* クリックしやすいようにちゃんと幅を指定する */
  height: 45px; /* クリックしやすいようにちゃんと高さを指定する */
  cursor: pointer;
  z-index: 10001;
}
.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-p {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #111;
}
.global-nav__item .no-p .jun {
	font-size: 80%;
	display: inline-block;
	margin-left: 12px;
}
.global-nav__item a:hover {
  background-color: #eee;
}
.hamburger__line {
  position: absolute;
  right: 20px;
  width: 30px;
  height: 4px;
  background-color: #000;
  transition: all .6s;
}
.hamburger__line--1 {
  top: 14px;
}
.hamburger__line--2 {
  top: 22px;
}
.hamburger__line--3 {
  top: 30px;
}
.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 {
    position: absolute;
    top: 13px;
    right: 75px;
    font-size: 20px;
    letter-spacing: 0.08em;
    color: #000;
}
.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: 22px;
}
.nav-open .hamburger__line--2 {
  width: 0;
  left: -50%;
}
.nav-open .hamburger__line--3 {
  transform: rotate(-45deg);
  top: 22px;
}
.nav-open .open-tx {
	display: none;
}
.nav-open .close-tx {
	display: block;
}
@media screen and (max-width:768px){
	#header .hamburger {
		top: 10px;
	}
	#header .header-main .navigation {
		top: 0;
	}
}
@media screen and (max-width:768px){
	.m-tx {
		font-size: 16px;
	}
}
@media screen and (max-width:640px){
	.global-nav {
		width: 100%;
		right: -100%;
	}
	.m-tx {
		font-size: 80%;
	}
	#header .header-main .header-logo {
		max-width: 45%;
		padding-top: 5px;
	}
	#header .header-main .header-logo img {
		max-height: 48px;
	}
	#header .hamburger {
		top: 5px;
	}
	#header .header-main {
		min-height: 56px;
	}
}
@media screen and (max-width:560px){
	#header .hamburger {
		top: 0;
	}
}
@media screen and (max-width:480px){
	#header .header-main .header-logo {
		padding-top: 10px;
	}
}
@media screen and (max-width:380px){
	.nav-open .close-tx,.m-tx {
		display: none;
	}
}