@charset "UTF-8";
/*===================================
ヘッダー
===================================*/
#block_navi {
  position: fixed;
  top: 0;
  padding: 20px 0;
  width: 100%;
  z-index: 999;
  transition: 0.4s ease-out; }
  @media (max-width: 767px) {
    #block_navi {
      padding: 20px; } }

.logo {
  display: inline-block;
  width: calc(300px + (434 - 300)*(100vw - 1080px)/(1940 - 1080));
  height: calc(35px + (60 - 35)*(100vw - 1080px)/(1940 - 1080));
  background-image: url("../img/logo.svg");
  background-repeat: no-repeat;
  background-size: contain; }
  @media (max-width: 767px) {
    .logo {
      width: 296px;
      height: 32px; } }

.page_logo {
  width: calc(300px + (434 - 300)*(100vw - 1080px)/(1940 - 1080));
  height: calc(35px + (60 - 35)*(100vw - 1080px)/(1940 - 1080)); }
  @media (max-width: 767px) {
    .page_logo {
      width: 296px;
      height: 32px; } }

.haeder {
  width: 95%;
  margin: 0 auto; }
  @media (max-width: 767px) {
    .haeder {
      width: 100%; } }

._hlist {
  display: none; }
  @media (min-width: 1081px) {
    ._hlist {
      display: flex; } }
  ._hlist ul {
    font-size: calc(13px + (18 - 13)*(100vw - 1080px)/(1940 - 1080));
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between; }
    ._hlist ul li {
      padding: 0 calc(11px + (17 - 11)*(100vw - 1080px)/(1940 - 1080));
      border-right: solid 2px #fff;
      height: 20px;
      line-height: 20px; }
      ._hlist ul li a {
        position: relative; }
        ._hlist ul li a::after {
          position: absolute;
          left: 0;
          content: '';
          width: 100%;
          height: 2px;
          background: #559A6E;
          bottom: -5px;
          transform: scale(0, 1);
          transform-origin: right top;
          /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
          transition: transform 0.3s;
          /*変形の時間*/ }
        ._hlist ul li a:hover::after {
          transform: scale(1, 1);
          /*ホバー後、x軸方向に1（相対値）伸長*/
          transform-origin: left top;
          /*左から右に向かう*/ }
    ._hlist ul li:last-child {
      border: none; }

._headsp {
  display: block; }
  @media (min-width: 1081px) {
    ._headsp {
      display: none; } }

.change-color {
  background-color: rgba(252, 252, 252, 0.8);
  color: #000 !important; }

.change-color .logo {
  background-image: url("../img/logo_black.svg"); }

.change-color ._hlist ul li {
  border-right: solid 2px #000; }

.head_bkg {
  background-color: rgba(252, 252, 252, 0.8); }
  .head_bkg ._hlist ul li {
    border-right: solid 2px #000; }

/*===================================
ハンバーガーメニュー
===================================*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh;
  /*ナビの高さ*/
  background: #0B0B0B;
  opacity: 0.97;
  /*動き*/
  transition: all 0.6s; }

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0; }

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

/*ナビゲーション*/
#g-nav .g-nav {
  position: absolute;
  z-index: 999;
  padding: 50px 20px;
  width: 100%; }

/*リストのレイアウト設定*/
#g-nav li {
  list-style: none; }

#g-nav li a {
  position: relative;
  width: fit-content;
  color: #fff;
  margin: 0 auto 30px;
  padding: 10px 0;
  display: block;
  font-size: 20px; }

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 30px;
  height: 50px; }

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 0;
  height: 1px;
  width: 30px; }

._bkgwhite span {
  background-color: #fff; }

._bkgblack span {
  background-color: #000; }

.openbtn1 span:nth-of-type(1) {
  top: 10px; }

.openbtn1 span:nth-of-type(2) {
  top: 15px; }

.openbtn1 span:nth-of-type(3) {
  top: 20px; }

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 0;
  transform: translateY(6px) rotate(-45deg); }

.openbtn1.active span:nth-of-type(2) {
  opacity: 0; }

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 0;
  transform: translateY(-6px) rotate(45deg); }

._flex {
  display: flex;
  justify-content: center;
  align-items: center; }

._logosp {
  width: 296px;
  padding: 30px 20px; }

.change-color .openbtn1 span {
  background-color: #000; }

.active span {
  background-color: #fff !important; }
