@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 h1 span {
  display: block;
  color: #1f2678;
  font-family: "Kumbh Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: "YOPQ"300;
  font-size: 22px;
  letter-spacing: 1px;
  position: absolute;
  top: 17px;
  left: 280px;
  width: 100%;
}
/*----------------ナビ　メイン----------------*/
header nav {
  position: absolute;
  top: 20px;
  right: 2%;
}
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: 20px;
  width: 190px;
  margin-left: 10px;
}
header nav ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
  text-align: center;
  border-radius: 50px;
  padding: 13px 0 14px;
  background: linear-gradient(45deg, rgba(31, 38, 120, 1) 50%, rgba(235, 51, 65, 1) 100%);
  border-bottom: solid 4px #ccc;
}
header nav ul li a:hover {
  opacity: 0.8;
}
header nav ul li.hp a {
  display: block;
  text-decoration: none;
  color: #1f2678;
  text-align: left;
  border-radius: 50px;
  padding: 13px 10% 14px 20%;
  background: linear-gradient(45deg, rgba(232, 233, 241, 1) 50%, rgba(253, 234, 236, 1) 100%);
  border-bottom: solid 4px #1f2678;
  position: relative;
}
header nav ul li.hp .arrow {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #e60012;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  transition: all .3s;
}
header nav ul li.hp .arrow:before, header nav ul li.hp .arrow:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
header nav ul li.hp .arrow:before {
  left: 0;
  width: 15px;
  height: 2px;
  background: #fff;
}
header nav ul li.hp .arrow:after {
  left: 5px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
header nav ul li.hp a:hover .arrow {
  right: 10px;
  transition: all .3s;
}
@media screen and (max-width:1100px) {
  header {
    height: 60px;
  }
  header h1 {
    width: 190px;
    position: absolute;
    top: 20px;
    left: 5%;
  }
  header h1 span {
    font-size: 18px;
    position: absolute;
    top: 13px;
    left: 205px;
  }
  /*----------------ナビ　メイン----------------*/
  header nav {
    position: fixed;
    top: auto;
    bottom: 20px;
    right: 0;
    left: 0;
    margin: auto;
    width: 90%;
  }
  header nav ul {
    justify-content: space-between;
  }
  header nav ul li {
    font-size: 18px;
    width: 48%;
    margin: 0;
  }
  header nav ul li.hp {
    display: none;
  }
}