.inner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* body
--------------------------------*/

/* ハンバーガーメニュー*/
.nav-ham {
  display: none;
  position: absolute;
  top: 2.2rem;
  right: 5.2%;
  width: 40px;
  height: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 100;
}

.nav-ham span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  position: absolute;
  transition: transform 0.5s, opacity 0.5s, width 0.3s;
}

.nav-ham span:nth-child(1) {
  top: 0;
}

.nav-ham span:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
}

.nav-ham span:nth-child(3) {
  bottom: 0;
}


  /* body
--------------------------------*/

.header-sec {
    height: 55px;
    padding: 0 20px;
  }
.header-ul {
    display: none;
  }
  /*sp nav*/
.nav-ham {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 16px;
    cursor: pointer;
    z-index: 100;
  }
  .open .nav-ham {
    position: fixed;
  }
  .open .nav-ham span {
    background-color: #fff;
  }
  .open .nav-ham span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .open .nav-ham span:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0px;
    opacity: 0;
  }
  .open .nav-ham span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .open .nav-layout {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
  .open .nav-layout ul li {
    transform: translateX(0);
  }
  .overlay {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s;
  }
.nav-layout {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  color: #ffffff;
  display: flex;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: 0.5s ease-in-out;
  z-index: 50;
}
.nav-layout ul {
  text-align: center;
  /*margin-top: 66%;*/
  margin-top: 46%;
}
.nav-layout ul li {
  position: relative;
  margin-bottom: 30px;
  transform: translateX(-200px);
  transition: transform 1.3s ease;
}

.nav-layout ul li:nth-child(2) {
  transition-delay: 0.15s;
}

.nav-layout ul li:nth-child(3) {
  transition-delay: 0.3s;
}

.nav-layout ul li:nth-child(4) {
  transition-delay: 0.45s;
}
.nav-layout ul li:nth-child(5) {
  transition-delay: 0.6s;
}
.nav-layout ul li:nth-child(6) {
  transition-delay: 0.75s;
}
.nav-layout ul li a {
  font-size: 24px;
  color: #fff;
}

@media only screen and (min-width: 768px) {
	.nav-ham {
		display: none;
	}
	.nav-layout,.open .nav-layout {
		position: relative;
		background: transparent;
		top: 0;
		right: 0;
		width: 100%;
		height: auto;
		color: #000;
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: 0;
	}
	.nav-layout ul {
		list-style: none;
		position: relative;
		text-align: center;
		margin-top: 0;
		display: flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;
	}
	.nav-layout ul li {
	font-size: 1rem;
	margin: 0 10px;
		position: relative;
		margin-bottom: 0;
		transform: none;
		transition: inherit;
	}
	.nav-layout ul li a {
	display: block;
	color: #333;
	font-weight: 400;
	padding-bottom: 3px;
	font-size: 1rem;
	}
	.nav-layout ul li a:hover {
	color: #999;
	transition: 0s;
	}
	.nav-layout ul li:nth-child(2),.nav-layout ul li:nth-child(3),.nav-layout ul li:nth-child(4),.nav-layout ul li:nth-child(5),.nav-layout ul li:nth-child(6){
		transition-delay: inherit;
	}
}