@charset "UTF-8";
header {
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  z-index: 9999;
}
header h1 {
  margin: 0;
  width: 180px;
  position: absolute;
  top: 30px;
  left: 3%;
}
header h1 img {
  width: 100%;
}
header .n {
  opacity: 0;
  transition: all .3s;
}
header.scroll-nav .n {
  opacity: 1;
  transition: all .3s;
}
header.scroll-nav .w {
  opacity: 0;
  transition: all .3s;
}
header.open .n {
  opacity: 1;
  transition: all .3s;
}
header.open .w {
  opacity: 0;
  transition: all .3s;
}
/*----------------ナビ　メイン----------------*/
header nav {
  position: fixed;
  top: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
}
header nav ul {
  margin: 0;
  padding: 0 15%;
  list-style: none;
  width: 70%;
  height: 90%;
  max-height: 500px;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
header nav ul li {
  width: 47%;
  position: relative;
  padding-left: 20px;
}
header nav ul li:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 10px;
  height: 3px;
  background-color: #111;
}
header nav ul li a {
  display: block;
  text-decoration: none;
  padding: 20px 0;
  font-size: 24px;
  font-family: sicgothicduex-re, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #111;
}
/*----------------トグル----------------*/
.nav-toggle {
  display: block;
  position: fixed;
  top: 20px;
  right: 2%;
  width: 70px;
  height: 70px;
  cursor: pointer;
  background-color: #111;
  border-radius: 50%;
  z-index: 9999;
  overflow: hidden;
}
.nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 30px;
  background-color: #fff;
  left: 20px;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
.nav-toggle span:nth-child(1) {
  top: 30px;
}
.nav-toggle span:nth-child(2) {
  top: 40px;
}
.open .nav-toggle span:nth-child(1) {
  top: 35px;
  transform: rotate(-45deg);
}
.open .nav-toggle span:nth-child(2) {
  top: 35px;
  transform: rotate(45deg);
}
.open nav {
  opacity: 1;
  pointer-events: auto;
  animation-duration: 0.6s;
  animation-name: slide-down;
}
@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width:1050px) {
  header {
    height: 80px;
  }
  header .inner {
    position: fixed;
    top: 20px;
    height: 60px;
  }
  header h1 {
    width: 150px;
    position: absolute;
    top: 5px;
  }
  /*----------------ナビ　メイン----------------*/
  header nav ul {
    margin: 90px auto 0;
    padding: 0 5%;
    list-style: none;
    width: 90%;
    height: 55%;
    max-height: 55%;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }
  header nav ul li {
    width: 100%;
    padding-left: 15px;
  }
  header nav ul li:before {
    width: 7px;
    height: 3px;
  }
  header nav ul li a {
    padding: 10px 0;
    font-size: 18px;
  }
  /*----------------トグル----------------*/
  .nav-toggle {
    position: fixed;
    top: 15px;
    right: 3%;
    width: 60px;
    height: 60px;
  }
  .nav-toggle span {
    position: absolute;
    left: 15px;
  }
  .nav-toggle span:nth-child(1) {
    top: 24px;
  }
  .nav-toggle span:nth-child(2) {
    top: 34px;
  }
  .open .nav-toggle span:nth-child(1) {
    top: 29px;
  }
  .open .nav-toggle span:nth-child(2) {
    top: 29px;
  }
}