@charset "UTF-8";
.g_nav {
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #fff;
}

.head_wrap {
  position: fixed;
  width: 100%;
  z-index: 10;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: calc(10px + 1vw) 23px 10px;
  top: calc(-1vw / 7.68);
}

.head_wrap .nav_logo {
  width: 100px;
}

#head_nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 9;
  /*ナビのスタート位置と形状*/
  top: -120%;
  left: 0;
  width: 100%;
  background: #999;
  /*動き*/
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  background-color: #fff;
}

.head_nav_list.pc {
  display: none;
}

/*アクティブクラスがついたら位置を0に*/
#head_nav.panelactive {
  top: 50px;
}

/*ナビゲーションの縦スクロール*/
#head_nav.panelactive .head_nav_list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  width: 100%;
  height: 100vh;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.head_nav_list {
  padding-top: 42px;
  border-top: 3px solid #e30012;
  background-color: #fff;
}

.head_nav_list li {
  border-bottom: 1px solid #e30012;
  padding: calc(18vw / 7.5) calc(50vw / 7.5);
}

.head_nav_list a {
  display: block;
}

/*ナビゲーション*/
.openbtn {
  position: fixed;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 10px;
  right: 25px;
  cursor: pointer;
  width: 28px;
  height: 28px;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  -webkit-transition: all .4s;
  transition: all .4s;
  position: absolute;
  left: 0;
  height: 5px;
  border-radius: 2px;
  background-color: #e30012;
  width: 100%;
}

.openbtn span:nth-of-type(1) {
  top: 0px;
}

.openbtn span:nth-of-type(2) {
  top: 11px;
}

.openbtn span:nth-of-type(3) {
  top: 23px;
}

.openbtn.active span:nth-of-type(1) {
  top: 8px;
  left: 0px;
  -webkit-transform: translateY(6px) rotate(-45deg);
          transform: translateY(6px) rotate(-45deg);
  width: 100%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
}

.openbtn.active span:nth-of-type(3) {
  top: 21px;
  left: 0px;
  -webkit-transform: translateY(-6px) rotate(45deg);
          transform: translateY(-6px) rotate(45deg);
  width: 100%;
}
.openbtn, .head_nav_list.sp {
  display: block;
}
  .g_nav_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }


/* @media screen and (max-width: 768px) {
  .openbtn, .head_nav_list.sp {
    display: block;
  }
} */

@media screen and (min-width: 769px) {
  .openbtn, .head_nav_list.sp {
    display: none;
  }
  .head_nav_list.pc {
    display: block;
  }
  .g_nav {
    width: 100%;
    position: fixed;
    height: calc(120vw / 19.2);
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 0 3.125%;
    background-color: #fff;
    z-index: 999;
  }
  .g_nav_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .head_wrap {
    position: relative;
    width: calc(186vw / 19.2);
    z-index: 10;
    background-color: #fff;
    margin-right: calc(360vw / 19.2);
    top: unset;
  }
  .head_wrap.fixed {
    position: fixed;
  }
  .head_wrap .nav_logo {
    width: 100%;
  }
  #head_nav {
    position: relative;
    top: unset;
    left: unset;
    width: 100%;
    background: #999;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    background-color: #fff;
  }
  .head_nav_list {
    padding: 0;
    border-top: none;
  }
  .head_nav_list ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .head_nav_list li {
    border-bottom: none;
    padding: unset;
  }
  .head_nav_list li {
    margin-right: calc(40vw / 19.2);
    width: calc(220vw / 19.2);
    max-width: 220px;
  }
  .head_nav_list li:last-child {
    margin-right: 0;
  }
  .head_nav_list li a {
    display: block;
  }
  .g_nav.UpMove {
    position: fixed;
    width: 100%;
    -webkit-animation: UpAnime 0.5s forwards;
            animation: UpAnime 0.5s forwards;
  }
  @-webkit-keyframes UpAnime {
    from {
      opacity: 1;
      -webkit-transform: translateY(0);
              transform: translateY(0);
    }
    to {
      opacity: 0;
      -webkit-transform: translateY(-100px);
              transform: translateY(-100px);
    }
  }
  @keyframes UpAnime {
    from {
      opacity: 1;
      -webkit-transform: translateY(0);
              transform: translateY(0);
    }
    to {
      opacity: 0;
      -webkit-transform: translateY(-100px);
              transform: translateY(-100px);
    }
  }
  /*　下に下がる動き　*/
  .g_nav.DownMove {
    position: fixed;
    width: 100%;
    -webkit-animation: DownAnime 0.5s forwards;
            animation: DownAnime 0.5s forwards;
  }
  @-webkit-keyframes DownAnime {
    from {
      opacity: 0;
      -webkit-transform: translateY(-100px);
              transform: translateY(-100px);
    }
    to {
      opacity: 1;
      -webkit-transform: translateY(0);
              transform: translateY(0);
    }
  }
  @keyframes DownAnime {
    from {
      opacity: 0;
      -webkit-transform: translateY(-100px);
              transform: translateY(-100px);
    }
    to {
      opacity: 1;
      -webkit-transform: translateY(0);
              transform: translateY(0);
    }
  }
}

@media screen and (min-width: 1921px) {
  .g_nav {
    height: 120px;
    padding: 0 60px;
  }
  .g_nav_wrap {
    width: 1920px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .head_wrap {
    width: 186px;
    margin-right: 360px;
  }

  .head_nav_list a {
    display: block;
  }
  .head_nav_list li {
    margin-right: 40px;
    width: 220px;
  }
  /* .head_nav_list a:nth-child(1) {
    width: 240px;
  }
  .head_nav_list a:nth-child(2) {
    width: 205px;
  }
  .head_nav_list a:nth-child(3) {
    width: 218px;
  }
  .head_nav_list a:nth-child(4) {
    width: 216px;
  }
  .head_nav_list a:last-child {
    width: 240px;
    margin-right: none;
  } */
}
