@charset "UTF-8";
#header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9;
  transition: 0.5s;
}
#header .hpc {
  padding: 2.0833333333vw 3.3333333333vw;
  padding-left: 3.3333333333vw;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  transition: 0.5s;
}
#header .hpc .logo {
  height: 3.083333vw;
}
#header .hpc .logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
#header .hpc .logo a img {
  width: auto;
}
#header .hpc .logo a img.logo-w {
  display: none;
}
#header .hpc .logo a:hover {
  opacity: 0.8;
}
#header .hpc .header-menu {
  align-items: center;
  gap: 1.25vw;
}
#header .hpc .header-menu #menu-header-menu {
  flex-wrap: wrap;
  gap: 2.5vw;
}
#header .hpc .header-menu #menu-header-menu > li a {
  color: #ffffff;
  font-size: 1.05vw;
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 500;
  transition: 0.5s;
}
#header .hpc .header-menu #menu-header-menu > li a:hover {
  color: #0B328C;
}
#header .hpc .header-menu .h_contact {
  width: 8.8541666667vw;
  height: 3.4895833333vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B328C;
  color: #ffffff;
  border: solid 2px #0B328C;
  box-sizing: border-box;
  transition: 0.5s;
}
#header .hpc .header-menu .h_contact:hover {
  background: #ffffff;
  color: #0B328C;
}
#header .hsp {
  display: none;
}
#header.fixed {
  background: #005EB7;
}
#header.fixed .hpc {
  padding: 1vw 3.3333333333vw;
}
#header.fixed .hpc .logo {
  height: 3.083333vw;
}
#header.fixed .hpc .logo a img.logo-n {
  display: none;
}
#header.fixed .hpc .logo a img.logo-w {
  display: block;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  #header .hpc {
    padding: 15.5px 30px;
  }
}
@media screen and (max-width: 767px) {
  #header {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    width: 100%;
  }
  #header .hpc {
    display: none;
  }
  #header .hsp {
    display: block;
  }
  #header .hsp .menu-bar {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    padding-left: 16px;
  }
  #header .hsp .menu-bar .logo {
    width: auto;
    height: 30px;
  }
  #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-bar .logo a img.logo-w {
    display: none;
  }
  #header .hsp .menu-btn {
    display: block;
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 11;
    background: transparent;
  }
  #header .hsp .menu-btn div {
    height: 3px;
    width: 25px;
    background: #ffffff;
    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% - 6px);
  }
  #header .hsp .menu-btn div:nth-of-type(2) {
    display: none;
  }
  #header .hsp .menu-btn div:nth-of-type(3) {
    top: calc(50% + 6px);
  }
  #header .hsp .menu-btn.active {
    width: 60px;
    height: 60px;
  }
  #header .hsp .menu-btn.active div {
    width: 28px;
    background: #005EB7;
  }
  #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: 100svh;
    max-width: initial;
    background: rgba(255, 255, 255, 0.8);
    -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: 30px;
    position: absolute;
    top: 16px;
    left: 16px;
  }
  #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 - 20px);
    box-sizing: border-box;
    overflow-y: scroll;
  }
  #header .hsp .menu-btn-nav .menus #menu-header-menu-sp {
    padding: 60px 0 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 #0B328C;
    box-sizing: border-box;
  }
  #header .hsp .menu-btn-nav .menus #menu-header-menu-sp li a {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: #000000;
    padding: 30px 15px;
    display: flex;
    align-items: center;
    font-family: "Noto Sans JP", "Zen Kaku Gothic New", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: 700;
    box-sizing: border-box;
    gap: 10px;
  }
  #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 .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: #0B328C;
    color: #ffffff;
    position: relative;
  }
  #header .hsp .menu-btn-nav .flink .hs_form.hs_entry {
    background: #005EB7;
    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: #005EB7;
    -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 .menu-bar .logo a img.logo-n {
    display: none;
  }
  #header.fixed .hsp .menu-bar .logo a img.logo-w {
    display: block;
  }
}
/*# sourceMappingURL=header.css.map */