@charset "UTF-8";
header {
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  z-index: 9999;
}
header .inner {
  width: 95%;
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  margin: auto;
  height: 80px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px #2222221a;
  transition: all .3s;
}
header h1 {
  width: 180px;
  position: absolute;
  top: 30px;
  left: 2%;
  margin: 0;
  line-height: 0;
}
header h1 img {
  width: 100%;
}
/*----------------ナビ　メイン----------------*/
header nav {
  position: absolute;
  top: 18px;
  right: 2%;
}
header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
}
header nav ul li {
  font-family: "termina", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  margin: 0 0 0 50px;
}
header nav ul li a {
  display: block;
  text-decoration: none;
  color: #111;
  position: relative;
}
header nav ul li a:hover {
  opacity: 1;
  color: #db1527;
}
header nav ul li.contact {
  text-align: center;
  border-radius: 50px;
  overflow: hidden;
  width: 150px;
}
header nav ul li.contact a {
  padding: 10px 0;
  color: #fff;
  background-color: #db1527;
}
header nav ul li.contact a:hover {
  opacity: 1;
  background-color: #e24452;
}
header nav .gradation01 {
  display: none;
}
/*----------------トグル----------------*/
.nav-toggle {
  display: none;
}
@media screen and (max-width:1050px) {
  header {
    height: 80px;
  }
  header .inner {
    position: fixed;
    top: 20px;
    height: 60px;
  }
  header h1 {
    width: 170px;
    position: absolute;
    top: 20px;
    left: 5%;
  }
  /*----------------ナビ　メイン----------------*/
  header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: -1;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
  }
  header.scroll-nav nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  header nav ul {
    display: block;
    margin: 100px auto 0;
    height: 70%;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 0 8%;
    position: relative;
    z-index: 1;
  }
  header nav ul li {
    font-size: 20px;
    margin: 25px auto;
  }
  header nav ul li.contact {
    width: 200px;
  }
  header nav .gradation01 {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -20%;
    margin: auto;
    overflow: hidden;
    width: 120%;
    height: 100vh;
  }
  /*----------------トグル----------------*/
  .nav-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 2%;
    width: 80px;
    height: 60px;
    cursor: pointer;
    z-index: 9999;
    overflow: hidden;
  }
  .nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background-color: #111;
    left: 25px;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
  }
  .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;
    transform: rotate(-45deg);
  }
  .open .nav-toggle span:nth-child(2) {
    top: 29px;
    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);
    }
  }
}