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

#nav-toggle {
	position: fixed;
	top: 30px;
	right: 30px;
	height: 32px;
	cursor: pointer;
}
#nav-toggle > div {
  position: relative;
  width: 26px;
}
#nav-toggle span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	background: #000;
	position: absolute;
	transition: top .5s ease, -webkit-transform .3s ease-in-out;
	transition: transform .3s ease-in-out, top .5s ease;
	transition: transform .3s ease-in-out, top .5s ease, -webkit-transform .3s ease-in-out;
	/* #nav-toggle close */
}
#nav-toggle span:nth-child(1) {
  top: 0;
}
#nav-toggle span:nth-child(2) {
  top: 10px;
}
#nav-toggle span:nth-child(3) {
  top: 20px;
}
#nav-toggle:hover span:nth-child(1) {
  top: 5px;
}
#nav-toggle:hover span:nth-child(3) {
  top: 15px;
}

#nav-toggle:hover span:nth-child(1),
#nav-toggle:hover span:nth-child(2),
#nav-toggle:hover span:nth-child(3) {
	background: #151C51;
	transition: all .2s;
}
.open #nav-toggle span:nth-child(1) {
  top: 15px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.open #nav-toggle span:nth-child(2) {
  top: 15px;
  width: 0;
  left: 50%;
}
.open #nav-toggle span:nth-child(3) {
  top: 15px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

/* z-index */
#nav-toggle {
  z-index: 1000;
}

body #nav-toggle p{
	font-size: 25pt;
	right: 10px;
	left: 5px;
	position: absolute;
	top: 20px;
	transform: rotate(90deg);
	padding: 0;
	margin: 0;
	line-height: inherit;
	white-space: nowrap;
}
body #nav-toggle p:hover{
	color: #151C51;
	transition: all .2s;
}
body #nav-toggle p.nav-r{
display: none;
}

body.open #nav-toggle p.nav-r{
	display: block;
}
body.open #nav-toggle p.nav-r-no{
	display: none;
}
body #nav-toggle p.nav-r-no{
	display: block;
	top: 19px;
}
#container {
  z-index: 900;
}

#gloval-nav nav {
  z-index: 999;
}

#gloval-nav {
	background-image: linear-gradient(-45deg, #151c51, #00dcff);
	color: #fff;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 990;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 2vw;
	padding-left: 0;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	transition: -webkit-transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
	transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
	transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.open #gloval-nav {
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

#gloval-nav a {
	display: inline-block;
	color: #000;
	text-decoration: none;
	padding: 10px 0;
	transition: color .6s ease;
}
#gloval-nav ul {
  list-style: none;
}
#gloval-nav ul li {
	-webkit-transform: translateX(-200px);
	transform: translateX(-200px);
	transition: -webkit-transform 1.3s ease;
	transition: transform 1.3s ease;
	transition: transform 1.3s ease, -webkit-transform 1.3s ease;
	position: relative;
}
#gloval-nav ul li:after {
  content: "";
  display: block;
  width: 500px;
  height: 2px;
  background: #000;
  left: -600px;
  position: absolute;
  -webkit-transform: translateX(0);
          transform: translateX(0);
  transition: -webkit-transform 1s ease;
  transition: transform 1s ease;
  transition: transform 1s ease, -webkit-transform 1s ease;
}
#gloval-nav ul li:hover:after {
  -webkit-transform: translateX(300px);
          transform: translateX(300px);
}
#gloval-nav ul li:nth-child(2) {
  transition-delay: .15s;
}
#gloval-nav ul li:nth-child(3) {
  transition-delay: .3s;
}
#gloval-nav ul li:nth-child(4) {
  transition-delay: .45s;
}
#gloval-nav ul li:nth-child(5) {
  transition-delay: .6s;
}
#gloval-nav ul li:nth-child(6) {
  transition-delay: .75s;
}
#gloval-nav ul li:nth-child(7) {
  transition-delay: .9s;
}

.open #gloval-nav li {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.nav-bg {
  opacity: 0;
  background-image: linear-gradient(-45deg, #FF00BF, #FFEA00);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  transition: all 1s ease;
}
.nav-bg.active {
  opacity: 1;
}
.nav-bg.news {
  background-image: linear-gradient(-45deg, #4400FF, #FFEA00);
}
.nav-bgabout {
  background-image: linear-gradient(-45deg, #00FFCC, #FFEA00);
}
.nav-bg.works {
  background-image: linear-gradient(-45deg, #EB1405, #FFEA00);
}
.nav-bg.contact {
  background-image: linear-gradient(-45deg, #8B05EB, #FFEA00);
}
@media screen and (max-width: 1024px) {
	#gloval-nav {
		font-size: 8vw;
	}
	.ipad #gloval-nav {
		font-size: 6vw;
	}
	body #nav-toggle p {
		left: auto;
		right: 70px;
		position: fixed;
		top: 0px;
		transform: rotate(0deg);
	}
	body #nav-toggle p.nav-r-no {
		display: block;
		top: 10px;
		right: 80px;
		left: auto;
	}
	body.open #nav-toggle p.nav-r {
		display: block;
		top: 10px;
		right: 80px;
		left: auto;
	}
	body #nav-toggle p {
		left: auto;
		right: 70px;
		position: fixed;
		top: 22px;
		transform: rotate(0deg);
	}
	.open #nav-toggle {
		position: fixed;
		top: 25px;
	}
	#nav-back{
		background: #fff;
		position: fixed;
		width: 100%;
		height: 80px;
		z-index: 2;
	}
	#nav-toggle {
	position: fixed;
	top: 25px;
	right: 20px;
	}
	#nav-toggle > div {
	width: 40px;
	}
	.open #nav-toggle > div {
	width: 26px;
	}
	body #nav-toggle p {
	font-size: 40pt;
	right: 0px;
	left: 9px;
	}
	#nav-toggle span {
	height: 3px;
	}
	body #nav-toggle p.nav-r-no.winpc {
		display: none;
	}
/*ハンバーガーメニュー*/
}
@media screen and (max-width: 980px) {
	#nav-toggle {
	}
	.win .winpc{
	}
	.win .winsp{
	}
}
@media screen and (max-width: 798px) {
	.win body #nav-toggle p.nav-r-no,
	.mac body #nav-toggle p.nav-r-no{
		display: none !important;
	}
	.win div.top,
	.mac div.top {
		width: 100%;
	}
	.win h1.top,
	.mac h1.top {
		font-size: 4vw;
	}
	.win p.top,
	.mac p.top {
		margin: 15px 0 0 0;
		font-size: 2.5vw;
	}
	.win #nav-toggle span,
	.mac #nav-toggle span {
		background: #fff;
	}
}
@media screen and (max-width: 690px) {
	.win h1.top,
	.mac h1.top {
		font-size: 5vw;
	}
}
@media screen and (max-width: 690px) {
	.win p.top,
	.mac p.top {
		font-size: 3.5vw;
	}
}
@media screen and (max-height: 768px) {
	.iphone #gloval-nav,
	.android #gloval-nav {
		font-size: 4vw;
	}
}