@charset "UTF-8";
/* CSS Document */
/*トップページヘッダー*/
.top header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
.top header h1 {
  display: none;
}
.top header nav {
  margin-top: 40px;
}
.top header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.top header nav ul li {
  display: inline-block;
  margin: 0 3%;
}
.top header nav ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-family: Arial, Helvetica, "sans-serif";
  font-weight: 600;
  font-size: 14px;
}
.top header nav ul li a:hover {
  color: #feec6e;
  opacity: 1;
}
.top header.is-fixed {
  position: fixed;
  top: 0 !important;
  left: 0;
  z-index: 10;
  width: 100%;
  background: url("../img/first_view1.jpg") no-repeat;
  background-size: cover;
  -webkit-transition: all .5s ease 0s, background .6s ease .3s;
  transition: all .5s ease 0s, background .6s ease .3s;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  padding: 40px 0;
  height: 20px;
}
.top header.is-fixed h1 {
  display: block;
  position: absolute;
  top: 33px;
  left: 5%;
  width: 300px;
  margin: 0;
  z-index: 10;
}
.top header.is-fixed h1 img {
  width: 100%;
}
.top header.is-fixed nav {
  width: 100%;
  position: absolute;
  top: 40px;
  right: 5%;
  margin: 0;
}
.top header.is-fixed nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}
.top header.is-fixed nav ul li {
  display: inline-block;
  margin: 0 2%;
}
.top header.is-fixed nav ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-family: Arial, Helvetica, "sans-serif";
  font-weight: 600;
  font-size: 14px;
}
.top header.is-fixed nav ul li a:hover {
  color: #feec6e;
  opacity: 1;
}
/*第二階層ヘッダー*/
.second header {
  width: 100%;
  height: 100px;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  background: url("../img/first_view1.jpg") no-repeat;
  background-size: cover;
  z-index: 10;
}
.second header h1 {
  position: absolute;
  top: 33px;
  left: 5%;
  width: 300px;
  margin: 0;
  z-index: 10;
}
.second header h1 img {
  width: 100%;
}
.second header nav {
  width: 100%;
  position: absolute;
  top: 40px;
  right: 5%;
}
.second header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}
.second header nav ul li {
  display: inline-block;
  margin: 0 2%;
}
.second header nav ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-family: Arial, Helvetica, "sans-serif";
  font-weight: 600;
  font-size: 14px;
}
.second header nav ul li a:hover {
  color: #feec6e;
  opacity: 1;
}
.button {
  display: none
}
@media screen and (max-width:1050px) {
  /*トップページ・第二階層ヘッダー*/
  header {
    width: 100%;
    height: 70px !important;
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 10;
    background: no-repeat !important;
    background-color: #000 !important;
  }
  header h1 {
    display: block !important;
    position: absolute;
    top: 18px !important;
    left: 5%;
    width: 180px !important;
    margin: 0 !important;
    z-index: 10;
  }
  header h1 img {
    width: 100%;
  }
  header nav {
    width: 100% !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.8) !important;
    position: fixed;
    top: 0 !important;
    left: 0;
    margin: 0 !important;
    display: none;
  }
  header nav ul {
    width: 80% !important;
    margin: 70px auto !important;
    padding: 0;
    list-style: none;
    text-align: center !important;
  }
  header nav ul li {
    display: block !important;
    margin: 0 !important;
    border-bottom: solid 1px #000;
  }
  header nav ul li:first-child {
    border-top: solid 1px #000;
  }
  header nav ul li a {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    font-size: 16px;
    background: #e1f5fa;
    color: #000 !important;
  }
  header nav ul li a:hover {
    background: #feec6e;
  }
  .button {
    display: block;
    position: absolute;
    right: 3%;
    top: -2.5px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    z-index: 9999;
  }
  .button span {
    display: block;
    position: absolute;
    height: 3px;
    width: 50%;
    background: #fff;
    right: 25%;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
  }
  .button span:nth-child(1) {
    top: 40%;
  }
  .button span:nth-child(2) {
    top: 50%;
  }
  .button span:nth-child(3) {
    top: 60%;
  }
  .open .button span {
    display: block;
    background: #000;
  }
  .open .button span:nth-child(1) {
    top: 50%;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .open .button span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open .button span:nth-child(3) {
    top: 50%;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .open nav {
    display: block;
    animation-duration: 0.6s;
    animation-name: fade-in;
  }
  @keyframes fade-in {
    from {
      opacity: 0.1;
    }
    to {
      opacity: 1;
    }
  }
}