@charset "UTF-8";
#header {
  position: fixed;
  top: 1.6145833333vw;
  left: 0;
  z-index: 9;
  transition: 0.5s;
  box-sizing: border-box;
  width: 100%;
}
#header .hpc {
  padding: 1.05vw 2.6041666667vw;
  box-sizing: border-box;
  transition: 0.5s;
  display: flex;
  align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: #ffffff;
  box-shadow: 1px 1px 10px 2px rgba(26, 98, 113, 0.25);
  border-radius: 0 0.5208333333vw 0.5208333333vw 0;
  gap: 2.6041666667vw;
}
#header .hpc .logo {
  height: 3.125vw;
}
#header .hpc .logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
}
#header .hpc .logo a img {
  width: auto;
}
#header .hpc .logo a:hover {
  opacity: 0.8;
}
#header .hpc .txt-c {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  color: #253E54;
  gap: 0.5208333333vw;
  transition: 1s;
}
#header .hpc .txt-c svg path {
  fill: #1A6271;
  transition: 1s;
}
#header .hpc .txt-c:hover {
  color: #1A6271;
}
#header .hpc .txt-c:hover svg path {
  fill: #253E54;
  transition: 1s;
}
#header .hpc .header-menu {
  position: relative;
  padding: 0 2.6041666667vw;
  box-sizing: border-box;
}
#header .hpc .header-menu:before, #header .hpc .header-menu:after {
  content: "";
  background: #253E54;
  width: 1px;
  height: 3.3854166667vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
#header .hpc .header-menu:before {
  left: 0;
}
#header .hpc .header-menu:after {
  right: 0;
}
#header .hpc .header-menu #menu-header-menu {
  flex-wrap: wrap;
  gap: 2.6041666667vw;
}
#header .hpc .header-menu #menu-header-menu > li {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
}
#header .hpc .header-menu #menu-header-menu > li a {
  width: 100%;
  display: block;
  color: #253E54;
  font-size: 0.9375vw;
  font-family: "font-ZMGb", "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
  transition: 0.5s;
}
#header .hpc .header-menu #menu-header-menu > li a:hover {
  color: #1A6271;
}
#header .hsp {
  display: none;
}

@media screen and (max-width: 767px) {
  #header {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    width: 100%;
    height: initial;
    background: transparent;
    border: none;
  }
  #header .hpc {
    display: none;
  }
  #header .hsp {
    display: block;
    transition: 0.5s;
  }
  #header .hsp .menu-bar {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    box-sizing: border-box;
    transition: 0.5s;
  }
  #header .hsp .menu-bar .logo {
    width: auto;
    height: 35px;
    transition: 0.5s;
  }
  #header .hsp .menu-bar .logo a {
    display: flex;
    width: 100%;
    height: 100%;
  }
  #header .hsp .menu-bar .logo a img {
    width: auto;
    height: 100%;
  }
  #header .hsp .menu-btn {
    display: block;
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 11;
    background: transparent;
    transition: 0.5s;
  }
  #header .hsp .menu-btn div {
    height: 2px;
    width: 35px;
    background: #253E54;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: all 0.6s ease;
  }
  #header .hsp .menu-btn div:nth-of-type(1) {
    top: calc(50% - 10px);
  }
  #header .hsp .menu-btn div:nth-of-type(3) {
    top: calc(50% + 10px);
  }
  #header .hsp .menu-btn.active {
    width: 50px;
    height: 50px;
  }
  #header .hsp .menu-btn.active div {
    width: 40px;
  }
  #header .hsp .menu-btn.active div:nth-of-type(1) {
    top: 50%;
    transform: translateX(-50%) rotate(-35deg);
  }
  #header .hsp .menu-btn.active div:nth-of-type(2) {
    display: none;
  }
  #header .hsp .menu-btn.active div:nth-of-type(3) {
    top: 50%;
    transform: translateX(-50%) rotate(35deg);
  }
  #header .hsp .menu-btn-nav {
    opacity: 0;
    visibility: hidden;
    transition: 0.7s;
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態では非表示 */
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: initial;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(0.5rem);
            backdrop-filter: blur(0.5rem);
    box-sizing: border-box;
    z-index: 10;
  }
  #header .hsp .menu-btn-nav .logo {
    width: auto;
    height: 35px;
    position: absolute;
    top: 20px;
    left: 18px;
  }
  #header .hsp .menu-btn-nav .logo a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  #header .hsp .menu-btn-nav .logo a img {
    width: auto;
    height: 100%;
  }
  #header .hsp .menu-btn-nav .menus {
    width: 100%;
    height: calc(100% - 80px);
    box-sizing: border-box;
    overflow-y: scroll;
    padding-top: 80px;
  }
  #header .hsp .menu-btn-nav .menus #menu-header-menu-sp {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #header .hsp .menu-btn-nav .menus #menu-header-menu-sp li {
    width: 80%;
    margin: 0 auto;
    border-radius: 0;
    border-bottom: solid 1px #1A6271;
    box-sizing: border-box;
  }
  #header .hsp .menu-btn-nav .menus #menu-header-menu-sp li a {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 18px;
    color: #253E54;
    padding: 30px 15px;
    display: flex;
    align-items: flex-start;
    flex-flow: column;
    flex-wrap: wrap;
    font-family: "font-ZMGm", "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    box-sizing: border-box;
    gap: 5px;
  }
  #header .hsp .menu-btn-nav .menus #menu-header-menu-sp li a::before {
    content: "";
    background: url(../img/header_menu_arrow.svg) center no-repeat;
    background-size: cover;
    width: 18px;
    height: 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    margin-right: 0.4vw;
  }
  #header .hsp .menu-btn-nav .menus #menu-header-menu-sp li a span {
    line-height: 1;
    font-size: 14px;
    font-family: "font-ZMGm", "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #253E54;
  }
  #header .hsp .menu-btn-nav .flink {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
  }
  #header .hsp .menu-btn-nav .flink .hs_form {
    width: 50%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: #1A6271;
    color: #ffffff;
    position: relative;
  }
  #header .hsp .menu-btn-nav .flink .hs_form.hs_entry {
    background: #253E54;
    z-index: 1;
  }
  #header .hsp .menu-btn-nav .flink .hs_form.hs_entry:before {
    content: "";
    z-index: -1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 10%;
    background: #253E54;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
  }
  #header .hsp .menu-btn-nav.active {
    opacity: 1;
    visibility: visible;
    right: 0; /* メニューを表示する */
  }
  #header.fixed .hsp {
    background: #ffffff;
  }
}
/*# sourceMappingURL=header.css.map */