@charset "UTF-8";
header {
  width: 100%;
  height: 80px;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: all .3s;
}
header h1 {
  width: 300px;
  margin: 0;
  position: absolute;
  top: 25px;
  left: 5%;
  z-index: 9999;
}
header h1 img {
  width: 100%;
}
header nav.nav_top ul {
  display: flex;
  list-style: none;
  text-align: right;
  position: absolute;
  top: 10px;
  right: 220px;
}
header nav.nav_top ul li a {
  display: block;
  margin: 0 20px;
  text-decoration: none;
  color: #000;
  position: relative;
}
header nav.nav_top ul li a:hover {
  color: #004ea2;
  opacity: 1;
}
header nav.nav_top ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #004ea2;
  transition: all .3s;
  transform: scale(0, 1);
  transform-origin: left top;
}
header nav.nav_top ul li.current a:after, header nav.nav_top ul li a:hover:after {
  transform: scale(1, 1);
}
header nav.nav_top ul li.contact a {
  font-family: din-condensed, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  letter-spacing: 1px;
  display: block;
  color: #fff;
  background-color: #004ea2;
  width: 200px;
  height: 35px;
  text-align: center;
  padding: 18px 0 27px;
  position: fixed;
  top: 0;
  right: 0;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  margin: 0;
}
header nav.nav_top ul li.contact .sub {
  font-family: kozuka-gothic-pr6n, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  display: block;
}
header nav.nav_top ul li.contact a:hover {
  background-color: #3371b5;
  opacity: 1;
}
header nav.nav_top ul li.contact a:after {
  position: static;
}
header.scroll-nav {
  height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: all .3s;
  box-shadow: 1px 1px 7px #aaa;
}
header nav.sitemap {
  display: none;
}
.nav-toggle {
  display: none;
}
@media screen and (max-width:1100px) {
  header {
    height: 60px;
    box-shadow: 1px 1px 7px #777;
  }
  header.scroll-nav {
    height: 60px;
  }
  header h1 {
    width: 220px;
    margin: 0;
    position: absolute;
    top: 10px;
    left: 5%;
    z-index: 9999;
  }
  header nav.nav_top {
    display: none;
  }
  header nav.sitemap {
    display: block;
  }
  header nav.sitemap {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: rgba(0, 78, 162, 0.95);
    margin-top: 60px;
  }
  header nav.sitemap .inner {
    width: 100%;
    height: 70%;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }
  header nav.sitemap ul {
    padding: 0;
    margin: 0 auto;
    list-style: none;
  }
  header nav.sitemap ul li {
    padding: 0 7%;
    border-bottom: solid 1px #ccc;
    position: relative;
  }
  header nav.sitemap ul li a {
    display: block;
    text-decoration: none;
    color: #fff;
    position: relative;
  }
  header nav.sitemap ul li a:after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 5px;
    height: 2px;
    background-color: #fff;
  }
  header nav.sitemap ul li > ul {
    display: none;
    margin-bottom: 20px;
  }
  header nav.sitemap ul li > ul li {
    padding: 10px 2%;
    border-bottom: none;
  }
  header nav.sitemap ul li > ul li a:after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 5px;
    height: 1px;
    background-color: #fff;
  }
  header nav.sitemap ul li p {
    margin: 0;
  }
  header nav.sitemap ul li p a {
    display: block;
    text-decoration: none;
    position: relative;
    padding: 15px 0;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
  }
  header nav.sitemap ul li .sp {
    display: block;
  }
  header nav.sitemap ul li a:hover {
    opacity: 1;
  }
  /*トグル　±マーク*/
  header nav.sitemap ul li p.toggle .plus {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: block;
  }
  header nav.sitemap ul li p.toggle .plus:before, header nav.sitemap ul li p.toggle .plus:after {
    display: block;
    content: '';
    background-color: #fff;
    position: absolute;
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  header nav.sitemap ul li p.toggle .plus:before {
    width: 2px;
    height: 12px;
  }
  header nav.sitemap ul li p.toggle.active .plus:before {
    content: normal;
  }
  /*トグル*/
  .nav-toggle {
    display: block;
    position: fixed;
    right: 5%;
    top: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10000;
    transition: all .3s;
  }
  .nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 40px;
    background-color: #004ea2;
    left: 10px;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
  }
  .nav-toggle span:nth-child(1) {
    top: 20px;
  }
  .nav-toggle span:nth-child(2) {
    top: 30px;
  }
  .nav-toggle span:nth-child(3) {
    top: 40px;
  }
  .open .nav-toggle span:nth-child(1) {
    top: 30px;
    transform: rotate(-45deg);
  }
  .open .nav-toggle span:nth-child(2) {
    left: 50%;
    opacity: 0;
    animation: active-menu-bar02 .8s forwards;
  }
  .open .nav-toggle span:nth-child(3) {
    top: 30px;
    transform: rotate(45deg);
  }
  .open nav.sitemap {
    display: block;
    animation-duration: 0.6s;
    animation-name: fade-in;
  }
  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}