/* CSS Document */
/*ヘッダー*/
header {
  width: 100%;
  position: fixed;
  z-index: 9999;
}
header h1 {
  position: absolute;
  top: 20px;
  left: 5%;
  margin: 0;
  z-index: 10000;
}
header .logo img {
  width: 150px;
}
header nav {
  width: 100%;
  position: absolute;
  top: 50px;
}
header nav ul {
  padding: 0;
  margin: 0 5% 0 0;
  list-style: none;
  text-align: right;
}
header nav ul li {
  display: inline-block;
  margin: 0 0 0 3%;
}
header nav ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  font-family: 'Special Elite', cursive;
}
header nav ul li:last-child {
  margin: 0 0 0 1.5%;
}
header nav .sns_ttl {
  display: none;
}
/*トグル*/
.nav-toggle {
  display: none;
}
.nav-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 40px;
  background-color: #fff;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
.nav-toggle span:nth-child(1) {
  top: 12px;
}
.nav-toggle span:nth-child(2) {
  height: 3px;
  top: 19px;
}
.nav-toggle span:nth-child(3) {
  top: 27px;
}
/*お問い合わせ　確認画面・送信完了画面のみ*/
.contact nav,.contact .nav-toggle {
  display: none;
}
@media screen and (max-width: 1050px) {
  /*ヘッダー*/
  header h1 {
    position: absolute;
    top: 20px;
    left: 5%;
    margin: 0;
    z-index: 10000;
  }
  header .logo img {
    width: 100px;
  }
  header nav {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    color: #000;
    display: none;
  }
  header nav ul {
    height: 330px;
    padding: 0;
    list-style: none;
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  header nav ul li {
    display: block;
    margin: 5px 0;
  }
  header nav ul li a {
    display: inline-block;
    padding: 20px 10%;
    font-size: 18px;
    color: #000;
    text-decoration: none;
  }
  header nav ul li:nth-child(1) a {
    background-image: url("../img/bg_btn_w01.png");
    background-size: 100% 100%;
  }
  header nav ul li:nth-child(2) a {
    background-image: url("../img/bg_btn_w02.png");
    background-size: 100% 100%;
  }
  header nav ul li:nth-child(3) a {
    background-image: url("../img/bg_btn_w03.png");
    background-size: 100% 100%;
  }
  header nav ul li:nth-child(4) a {
    background-image: url("../img/bg_btn_w04.png");
    background-size: 100% 100%;
  }
  header nav ul li.sns {
    display: inline-block;
    margin: 0 2%;
  }
  header nav ul li.sns a {
    background: no-repeat;
    color: #fff;
    padding: 0;
    font-size: 22px;
  }
  header nav .sns_ttl {
    display: block;
    font-family: 'Special Elite', cursive;
    font-size: 16px;
    color: #fff;
    margin: 30px auto 10px;
  }
  /*トグル*/
  .nav-toggle {
    display: block;
    position: fixed;
    right: 10%;
    top: 25px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10000;
  }
  .open .nav-toggle span:nth-child(1) {
    top: 20px;
    transform: rotate(-45deg);
  }
  .open .nav-toggle span:nth-child(2) {
    left: 50%;
    opacity: 0;
    animation: active-menu-bar02 .8s forwards;
  }
  @keyframes active-menu-bar02 {
    100% {
      height: 0;
    }
  }
  .open .nav-toggle span:nth-child(3) {
    top: 20px;
    transform: rotate(45deg);
  }
  .open nav {
    display: block;
    animation-duration: 0.6s;
    animation-name: fade-in;
  }
  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }