@charset "UTF-8";
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: 150px;
  z-index: 9999;
  transition: all .3s;
}
header:after {
  content: '';
  background: linear-gradient(0deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.5) 100%);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  height: 150px;
}
header h1 {
  margin: 0;
  width: 170px;
  position: absolute;
  top: 30px;
  left: 3%;
}
header h1 img {
  width: 100%;
}
/*----------------ナビ　メイン----------------*/
header nav {
  position: absolute;
  top: 40px;
  right: 5%;
}
header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row-reverse;
  font-family: shippori-antique, sans-serif;
  font-weight: 400;
  font-style: normal;
}
header nav ul li {
  font-size: 18px;
  letter-spacing: 2px;
  padding: 0 0 0 40px;
  writing-mode: vertical-rl;
}
header nav ul li a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  position: relative;
}
header nav ul li a:hover {
  opacity: 1;
  color: #e50012;
}
header nav ul li a:after {
  content: '';
  position: absolute;
  top: 0;
  right: -5px;
  width: 1px;
  height: 100%;
  background: #e50012;
  transition: all .3s;
  transform: scale(1, 0);
  transform-origin: left top;
}
header nav ul li a:hover:after {
  transform: scale(1, 1);
}
/*----------------トグル----------------*/
.nav-toggle {
  display: none;
}
@media screen and (max-width:1050px) {
  header {
    height: 70px;
  }
  header h1 {
    width: 100px;
    position: absolute;
    top: 15px;
    left: 3%;
  }
  /*----------------ナビ　メイン----------------*/
  header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-color: rgba(1, 1, 1, 0.9);
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
  }
  header nav ul {
    display: block;
    width: auto;
    margin: 120px auto 0;
    height: 70%;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    text-align: center;
  }
  header nav ul li {
    height: 48px;
  }
  header nav ul li a {
    padding: 15px 0;
    font-size: 18px;
    color: #fff;
    writing-mode: horizontal-tb;
  }
  header nav ul li a:after {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 7px;
    width: 100%;
    height: 1px;
    transform: scale(0, 1);
    transform-origin: left top;
  }
  /*----------------トグル----------------*/
  .nav-toggle {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    cursor: pointer;
    background-color: #e50012;
    clip-path: polygon(0rem 0px, calc(100% - 0rem) 0px, 100% 0rem, 100% calc(100% - 0rem), calc(100% - 1rem) 100%, 1rem 100%, 0px calc(100% - 1rem), 0px 1rem);
    z-index: 9999;
    overflow: hidden;
  }
  .nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 30px;
    background-color: #fff;
    left: 20.5px;
    -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(-35deg);
  }
  .open .nav-toggle span:nth-child(2) {
    top: 35px;
    transform: rotate(35deg);
  }
  .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);
    }
  }