@charset "UTF-8";
#header {
  position: fixed;
  top: 0;
  z-index: 9;
  transition: 1s;
  box-sizing: border-box;
  width: 100%;
}
#header .hpc {
  padding: 1.563vw 10.42vw;
  box-sizing: border-box;
  transition: 1s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .hpc .logo {
  width: auto;
  height: 5.1041666667vw;
  transition: 1s;
}
#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 .header-menu #menu-header-menu {
  flex-wrap: wrap;
  gap: 3.6458333333vw;
}
#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: #000000;
  font-size: 0.7291666667vw;
  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;
  position: relative;
}
#header .hpc .header-menu #menu-header-menu > li a::before {
  content: "";
  display: block;
  width: 2.5vw;
  height: 1.8229166667vw;
  background: url(../img/header_menu_icon001.svg);
  background-size: cover;
  margin: 0 auto;
  margin-bottom: 0.5208333333vw;
}
#header .hpc .header-menu #menu-header-menu > li a:hover {
  color: #D20B1B;
}
#header .hpc .header-menu #menu-header-menu > li:nth-child(2) a::before {
  background: url(../img/header_menu_icon002.svg);
  background-size: cover;
}
#header .hpc .header-menu #menu-header-menu > li:nth-child(3) a::before {
  background: url(../img/header_menu_icon003.svg);
  background-size: cover;
}
#header .hpc .header-menu #menu-header-menu > li:nth-child(4) a::before {
  background: url(../img/header_menu_icon004.svg);
  background-size: cover;
}
#header .hpc .header-menu #menu-header-menu > li:nth-child(5) a::before {
  background: url(../img/header_menu_icon005.svg);
  background-size: cover;
}
#header .hpc .header-menu #menu-header-menu > li:nth-child(6) a::before {
  background: url(../img/header_menu_icon006.svg);
  background-size: cover;
}
#header.fixed .hpc{
  background: rgba(255, 255, 255, 0.8);
  padding: 1vw 3vw;


}
#header.fixed .hpc .logo {
  width: auto;
  height: 4vw;
}

#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: 45px;
    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: #D20B1B;
    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: 100svh;
    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: 49px;
    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 #D20B1B;
    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: #D20B1B;
    color: #ffffff;
    position: relative;
  }
  #header .hsp .menu-btn-nav .flink .hs_form.hs_entry {
    background: #248C61;
    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: #248C61;
    -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 .hsp .character3 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 74px;
    -webkit-animation: walking-across2 18s linear infinite;
            animation: walking-across2 18s linear infinite;
    z-index: 1;
  }
  @-webkit-keyframes walking-across2 {
    0% {
      left: 100%;
    }
    50% {
      left: 50%;
    }
    100% {
      left: -10%;
    }
  }
  @keyframes walking-across2 {
    0% {
      left: 100%;
    }
    50% {
      left: 50%;
    }
    100% {
      left: -10%;
    }
  }
  #header.fixed .hsp {
    background: #ffffff;
  }
  #header.fixed .hsp .menu-bar {
    height: 70px;
    padding: 0 15px;
    padding-left: 18px;
  }
  #header.fixed .hsp .menu-bar .logo {
    width: auto;
    height: 40px;
  }
  #header.fixed .hsp .menu-bar .menu-btn {
    width: 40px;
    height: 40px;
  }
  #header.fixed .hsp .menu-bar .menu-btn div {
    width: 35px;
  }
  #header.fixed .hsp .menu-btn-nav .logo {
    width: auto;
    height: 40px;
    position: absolute;
    top: 15px;
    left: 18px;
  }
  #header.fixed .hsp .menu-btn-nav .menus {
    width: 100%;
    height: calc(100% - 70px);
    box-sizing: border-box;
    overflow-y: scroll;
    padding-top: 70px;
  }
  #header.fixed .hsp .menu-btn-nav .menus #menu-header-menu-sp {
    padding: 0 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #header.fixed .hsp .menu-btn-nav .menus #menu-header-menu-sp li {
    width: 80%;
    margin: 0 auto;
    border-radius: 0;
    border-bottom: solid 1px #D20B1B;
    box-sizing: border-box;
  }
  #header.fixed .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;
  }
}
/*# sourceMappingURL=header.css.map */