@charset "UTF-8";
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100px;
  z-index: 9999;
}
header h1 {
  width: 250px;
  position: absolute;
  top: 35px;
  left: 2%;
  margin: 0;
  line-height: 0;
}
header h1 img {
  width: 100%;
}
/*----------------ナビ　メイン----------------*/
header nav {
  position: absolute;
  top: 18px;
  right: 2%;
  background-color: #fff;
  box-shadow: 0 0 20px #1f26781a;
  border-radius: 50px;
  padding: 10px 30px;
}
header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
header nav ul li {
  font-size: 15px;
  margin: 0 15px;
}
header nav ul li a {
  display: block;
  text-decoration: none;
  color: #111;
}
header nav ul li a:hover {
  opacity: 1;
  color: #1f2678;
}
header nav ul li.btn {
  width: 150px;
}
header nav ul li.btn a {
  color: #fff;
  text-align: center;
  border-radius: 50px;
  padding: 10px 0 11px;
}
header nav ul li.btn a:hover {
  opacity: 0.8;
}
header nav ul li.btn.recruit {
  margin: 0 0 0 10px;
}
header nav ul li.btn.recruit a {
  background-color: #83c04c;
}
header nav ul li.btn.contact {
  margin: 0 0 0 10px;
}
header nav ul li.btn.contact a {
  background-color: #1f2678;
}
/*----------------トグル----------------*/
.nav-toggle {
  display: none;
}
@media screen and (max-width:1350px) {
  header nav ul li {
    margin: 0 10px;
  }
  header nav ul li.btn {
    width: 120px;
  }
}
@media screen and (max-width:1250px) {
  header nav ul li {
    margin: 0 7px;
  }
  header nav ul li.btn {
    width: 100px;
  }
}
@media screen and (max-width:1100px) {
  header {
    height: 60px;
    background-color: #fff;
  }
  header h1 {
    width: 240px;
    position: absolute;
    top: 16px;
    left: 3%;
  }
  /*----------------ナビ　メイン----------------*/
  header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: -1;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    border-radius: 0;
    padding: 0;
  }
  header nav ul {
    display: block;
    margin: 70px auto 0;
    height: calc(100svh - 60px);
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 0 7.5%;
    position: relative;
    z-index: 1;
  }
  header nav ul li {
    font-size: 18px;
    margin: 15px auto;
    text-align: center;
  }
  header nav ul li.btn {
    width: 200px;
  }
  header nav ul li.btn.recruit {
    margin: 25px auto 15px;
  }
  header nav ul li.btn.contact {
    margin: 0 auto 60px;
  }
  /*----------------トグル----------------*/
  .nav-toggle {
    display: block;
    position: fixed;
    top: 5px;
    right: 3%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e60012;
    cursor: pointer;
    z-index: 9999;
    overflow: hidden;
  }
  .nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 25px;
    background-color: #fff;
    left: 12.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: 19px;
  }
  .nav-toggle span:nth-child(2) {
    top: 29px;
  }
  .open .nav-toggle span:nth-child(1) {
    top: 24px;
    transform: rotate(-45deg);
  }
  .open .nav-toggle span:nth-child(2) {
    top: 24px;
    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);
    }
  }
}