@charset "utf-8";
/* nav ***************************************************/
#header {
  width: 100%;
  padding: 0 1em;
  box-sizing: border-box;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}
.navBox {
  width: 1400px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.logoBox {
  width: 20%;
}
img.logo {
  width: auto;
  height: 50px;
}
.menu {
  width: 75%;
  display: flex;
  flex-wrap: wrap;
}
.topLink {
  width: 100%;
  margin-bottom: 7px;
  display: flex;
  justify-content: flex-end;
  gap: 0.5%;
  box-sizing: border-box;
}
.topLink li {
  border-radius: 0 0 10px 10px;
}
li.nav-contact {
  background: #00a2d6;
}
li.nav-line {
  background: #06c755;
}
.topLink li a {
  color: #fff;
  padding: 0 2em;
  box-sizing: border-box;
  height: 42px;
  line-height: 42px;
  font-size: 0.95em;
}
li.nav-line a {
  padding-left: 3em;
  position: relative;
}
li.nav-line a::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 1em;
  width: 25px;
  height: 25px;
  background: url("../img/common/header_line.png") no-repeat center;
  background-size: contain;
}
.topLink li a i {
  margin-left: 7px;
}
.bottomLink {
  margin-top: 7px;
  margin-bottom: 14px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}
li.link {
  position: relative;
  margin: 0 2em;
}
li.link a {
  position: relative;
  color: #000;
  padding: 0;
  display: block;
  font-weight: bold;
}

li.link a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #003e92;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}

li.link a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}

ul.sub-menu li {
  text-align: left;
}

nav li.has-child ul {
  position: absolute;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  z-index: 4;
  background: #003e92;
  width: 195px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}
.menuTriangle {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
  background: #003e92;
  height: calc(tan(60deg) * 15px / 2);
  width: 15px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul {
  visibility: visible;
  opacity: 1;
}
nav li.has-child ul li {
  border-bottom: solid 1px #fff;
  display: block;
  padding: 0.4em;
  margin: 0.4em 0.8em;
}
nav li.has-child ul li.sp-display {
  display: none;
}
nav li.has-child ul li:last-child {
  border-bottom: none;
}
nav li.has-child ul li a {
  color: #fff;
  position: relative;
  text-align: center;
}
nav li.has-child ul li a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}

nav li.has-child ul li a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}
.h-proKana {
  font-size: 0.75em;
  display: inline-block;
  margin: 0 0 0 5px;
}
.hamburger-menu-btn {
  display: none;
}
.link.h-sns {
  display: block;
  line-height: 1.55;
}
.link.h-sns a {
  font-size: 1.2em;
}
.sp-menu {
  display: none;
}
.onMenu {
  position: relative;
}
.onMenu::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #003e92;
}
@media screen and (max-width: 1024px) {
  nav li.has-child ul,
  nav li.has-child ul ul {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    visibility: visible;
    opacity: 1;
    display: none;
    transition: none;
  }

  nav ul li a {
    border-bottom: 1px solid #ccc;
  }

  nav ul li.has-child.active::before {
    transform: rotate(-45deg);
  }

  .hamburger-menu-btn {
    display: block;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    position: fixed;
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }

  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    border-radius: 3px;
    background: #00a2d6;
    width: 80%;
  }

  .openbtn span:nth-of-type(1) {
    top: 20%;
  }

  .openbtn span:nth-of-type(2) {
    top: 45%;
  }

  .openbtn span:nth-of-type(3) {
    top: 73%;
  }
  .openbtn.humOn span:nth-of-type(1) {
    top: 13px;
    left: 3px;
    transform: translateY(6px) rotate(-45deg);
    width: 80%;
  }

  .openbtn.humOn span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.humOn span:nth-of-type(3) {
    top: 25px;
    left: 3px;
    transform: translateY(-6px) rotate(45deg);
    width: 80%;
  }

  .navBox ul {
    display: none;
  }

  .navBox ul.show-menu {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    transition: 0.8s;
    background: #003e92;
    width: 90%;
    margin: 0 0 0 auto;
    padding: 40px;
    text-align: left;
    box-sizing: border-box;
    border-bottom: solid 2px #e9f9ff;
    border-left: solid 2px #e9f9ff;
  }

  /* nav ***************************************************/
  #header {
    padding: 0;
    background: transparent;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0);
  }
  .navBox {
    max-width: 100%;
    flex-wrap: wrap;
    text-align: left;
  }
  img.logo {
    height: 38px;
    padding: 20px 0 15px 20px;
  }
  /*  */
  .logoBox {
    width: 100%;
    background: #fff;
  }
  .logoBox a {
    display: inline-block;
  }
  .topLink {
    width: 100%;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5%;
    box-sizing: border-box;
  }
  .topLink li {
    border-radius: 10px;
    margin: 8px 0;
  }
  li.nav-contact {
    width: 100%;
  }
  li.nav-line {
    width: 100%;
  }
  .topLink li a {
    display: block;
    width: 100%;
    color: #fff;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    height: auto;
    line-height: 1.2;
    border-bottom: none;
    font-size: 1em;
  }
  li.nav-line a {
    padding-left: 0;
    position: static;
  }
  li.nav-line a::after {
    background: transparent;
  }
  li.nav-line a span {
    position: relative;
    padding-left: 28px;
  }
  li.nav-line a span::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background: url("../img/common/header_line.png") no-repeat center;
    background-size: contain;
  }
  .topLink li a i {
    margin-left: 7px;
  }
  .bottomLink {
    margin-top: 0;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }
  /*  */
  li.link {
    width: 100%;
    position: relative;
    margin: 0;
  }
  li.link:first-child a {
    padding: 0 0 1em;
  }
  li.link a {
    position: relative;
    color: #fff;
    padding: 1em 0;
    box-sizing: border-box;
  }
  li.link a::before {
    content: "";
    position: absolute;
    right: 0;
    top: 22px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    z-index: 2;
  }
  li.link:first-child a::before {
    top: 8px;
  }
  li.nav-contact a,
  li.nav-line a {
    position: relative;
    color: #fff;
    padding: 1em 0;
    box-sizing: border-box;
  }
  li.nav-contact a::before,
  li.nav-line a::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    z-index: 2;
  }
  ul.sub-menu {
    height: auto;
  }
  ul.sub-menu li {
    text-align: left;
  }
  ul.sub-menu li a {
    background: #fff;
    border-bottom: none;
    display: block;
    padding: 0.25em;
    margin: 0;
  }
  nav ul li.has-child nav li.has-child ul li.sp-display {
    display: block;
  }
  .link.h-sns {
    display: none;
  }
  .h-sns {
    display: block;
    position: absolute;
    top: 11px;
    right: 50px;
    line-height: 1;
    font-size: 22px;
  }
  .h-sns a {
    color: #fff;
  }
  .pc-menu {
    display: none !important;
  }
  .sp-menu {
    display: block !important;
  }
  .onMenu {
    position: relative;
  }
  .onMenu::before {
    left: 97.5%;
  }
}
