@charset "UTF-8";
#header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9;
  transition: 0.5s;
}
#header .hpc {
  padding: 0.5vw 2.34375vw;
  padding-left: 2.8125vw;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  transition: 0.5s;
}
#header .hpc .logo {
  height: 1.5vw;
}
#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:hover {
  opacity: 0.8;
}
#header .hpc .header-menu {
  align-items: center;
  gap: 2vw;
}
#header .hpc .header-menu #menu-header-menu {
  display: flex;
  /* 親メニューアイテム（子メニューがある場合） */
  /* 親メニューホバー時 */
  /* サブメニュー */
  /* サブメニュー表示 */
  /* サブメニューアイテム */
}
#header .hpc .header-menu #menu-header-menu .menu-item {
  position: relative;
}
#header .hpc .header-menu #menu-header-menu .menu-item > a {
  display: block;
  padding: 1vw 1.5vw;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  color: #000000;
  font-size: 0.95vw;
  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 .menu-item > a:hover {
  color: #04934E;
}
#header .hpc .header-menu #menu-header-menu .menu-item:not(.menu-item-has-children) > a:hover {
  color: #04934E;
  border-bottom: solid 3px #04934E;
}
#header .hpc .header-menu #menu-header-menu .menu-item-has-children > a {
  cursor: default; /* リンクではないことを示す */
  position: relative;
}
#header .hpc .header-menu #menu-header-menu .menu-item-has-children > a::after {
  content: "▼";
  font-size: 0.8em;
  margin-left: 8px;
  transition: 0.5s;
  color: #000000;
}
#header .hpc .header-menu #menu-header-menu .menu-item-has-children:hover > a {
  color: #04934E;
}
#header .hpc .header-menu #menu-header-menu .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
  color: #04934E;
}
#header .hpc .header-menu #menu-header-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 15vw;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.5s;
  z-index: 1000;
  border-top: 3px solid #04934E;
  padding: 0.7vw;
}
#header .hpc .header-menu #menu-header-menu .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#header .hpc .header-menu #menu-header-menu .sub-menu .menu-item {
  width: 100%;
}
#header .hpc .header-menu #menu-header-menu .sub-menu .menu-item a {
  display: block;
  padding: 0.5vw 1vw;
  color: #000000;
  text-decoration: none;
  transition: 0.5s;
  border: none;
}
#header .hpc .header-menu #menu-header-menu .sub-menu .menu-item a:hover {
  color: #04934E;
  border: none;
}
#header .hpc .header-menu .h_contact {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #04934E;
  color: #ffffff;
  border: solid 2px #04934E;
  box-sizing: border-box;
  transition: 0.5s;
  gap: 0.5vw;
  width: 10.5vw;
  height: 2.8vw;
  border-radius: 2px;
}
#header .hpc .header-menu .h_contact svg {
  width: 1.4vw;
  height: 1vw;
}
#header .hpc .header-menu .h_contact:hover {
  background: #ffffff;
  color: #04934E;
}
#header .hpc .header-menu .h_contact:hover svg path {
  fill: #04934E;
}
#header .hsp {
  display: none;
}
#header.fixed {
  background: #ffffff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.4549019608);
}

@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: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    padding-left: 25px;
  }
  #header .hsp .menu-bar .logo {
    width: auto;
    height: 18px;
  }
  #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: 60px;
    height: 60px;
    position: relative;
    z-index: 11;
    background: transparent;
  }
  #header .hsp .menu-btn div {
    height: 2.2px;
    width: 23px;
    background: #000000;
    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% - 7.5px);
  }
  #header .hsp .menu-btn div:nth-of-type(3) {
    top: calc(50% + 7.5px);
  }
  #header .hsp .menu-btn.active {
    width: 60px;
    height: 60px;
  }
  #header .hsp .menu-btn.active div {
    width: 28px;
    background: #04934E;
  }
  #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: 18px;
    position: absolute;
    top: 24px;
    left: 25px;
  }
  #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: 100%;
    box-sizing: border-box;
    overflow-y: scroll;
    position: relative;
  }
  #header .hsp .menu-btn-nav .menus #menu-header-menu-sp {
    padding: 65px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
  }
  #header .hsp .menu-btn-nav .menus #menu-header-menu-sp li {
    width: 80%;
    margin: 0 auto;
    border-radius: 0;
    border-bottom: solid 1px #04934E;
    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 .hs_form {
    width: 100%;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: #04934E;
    color: #ffffff;
    position: relative;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  #header .hsp .menu-btn-nav.active {
    opacity: 1;
    visibility: visible;
    right: 0; /* メニューを表示する */
  }
}
/*# sourceMappingURL=header.css.map */