@charset "utf-8";

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  transition: opacity 0.4s ease;
}
.top-header {
  max-width: 300px;
  z-index: 3;
}
.header-topHam {
  z-index: 3;
  width: 37px;
  left: auto;
  right: 30px;
}
.header.is-hide {
  opacity: 0;
  pointer-events: none;
}
/* header.header__fixed {
  position: fixed;
  width: 100%;
  left: 0;
  z-index: 10;
} */

body.fixed {
  height: 100%;
  overflow: hidden;
}

.header__wrapper {
  width: 100%;
  height: 100%;
  padding: 38px 0 0px 43px;
}

.header__inner {
  width: 100%;
}

.header__nav-list {
  display: grid;
  grid-template-rows: repeat(5, auto);
  justify-content: start; /* 全体中央寄せ */
  grid-auto-flow: column;
  column-gap: 59px; /* 左右の間隔 */
  row-gap: 14px; /* 上下の間隔 */
  justify-items: start;
}

.header__nav-list li {
  position: relative;
}

.header__nav-list li:last-child {
  margin-right: 0;
}

.header__nav-listItem {
  text-align: left; /* ← 全部左寄せ */
}

.header__nav-listItem a {
  font-size: 13px;
  font-family: "Libre Caslon Display", serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.75;
  letter-spacing: 0.063em;
}

.header__nav-listItem a.ja {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
}
.header__nav-listItem.top--sp {
  display: none;
}

.ham {
  width: 37px;
  height: 17px;
  cursor: pointer;
  z-index: 9999;
  display: none;
}

.low-header .ham {
  display: flex;
}
.low-header .header__wrapper {
  padding: 41px 30px 0 0;
}
.low-header .header__navWrap {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -99;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s;
  pointer-events: none;
}
.low-header .header__navWrap.panelactive {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  pointer-events: auto;
  z-index: 999;
  background-color: #006934;
}
.low-header .header__inner {
  display: block;
}
.low-header .header__spWrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
/*ナビゲーションの縦スクロール*/
.low-header .header__navWrap.panelactive .header__navScroll {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100svh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.low-header .header__nav {
  flex-direction: column;
  max-width: 300px;
  min-height: 550px;
  padding: 0 15px;
  margin: 0 auto;
}
.low-header .header__nav.open {
  display: block;
}
.low-header .header__nav-list {
  display: block;
  justify-items: center;
}
.low-header .header__nav-list li:not(:last-child) {
  margin-bottom: 30px;
}
.low-header__logo {
  width: 196px;
  position: absolute;
  top: 30px;
  left: 33px;
  z-index: 2;
}

.ham__lineWrapper {
  position: relative;
  width: 100%;
  height: 7px;
}

.ham__lineWrapper span {
  display: block;
  width: 37px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transition: 0.3s;
}
.fv--none .ham__lineWrapper span {
  background-color: #000;
}

.ham__lineWrapper span:nth-child(1) {
  transform: translateX(-50%);
  top: 0px;
}

.ham__lineWrapper span:nth-child(2) {
  width: 28px;
  bottom: 0px;
  left: auto;
  right: 0;
}

.ham.open {
  width: 37px;
  height: 17px;
}

.ham.open .ham__lineWrapper span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(33deg);
  top: 50%;
}

.ham.open .ham__lineWrapper span:nth-child(2) {
  width: 37px;
  transform: translate(-50%, -50%) rotate(-33deg);
  top: 50%;
  left: 50%;
}

/* トップページハンバーガーメニュー表示 */

.header-topHam .header__inner {
  display: block;
}
.header-topHam .header__spWrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-topHam .header__wrapper {
  padding: 41px 0 0 0;
}
.header-topHam .header__navWrap {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -99;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}
.header-topHam .header__navWrap.panelactive {
  opacity: 1;
  pointer-events: all;
  z-index: 999;
  background-color: #006934;
}
/*ナビゲーションの縦スクロール*/

.header-topHam .header__navWrap.panelactive .header__navScroll {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100svh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #006934;
}
.header-topHam .header__nav {
  flex-direction: column;
  max-width: 300px;
  min-height: 550px;
  padding: 0 15px;
  margin: 0 auto;
}
.header-topHam .header__nav.open {
  display: block;
}
.header-topHam .header__nav-list {
  display: block;
  justify-items: center;
}
.header-topHam .header__nav-list li:not(:last-child) {
  margin-bottom: 30px;
}
.header-topHam .ham {
  display: block;
}

.header-topHam .header__nav-listItem.top--sp {
  display: block;
}
/* トップページハンバーガーメニュー表示 */

.header__wrapper .footer__wrap {
  padding: 120px 0 140px;
}

.header__wrapper .footer__logo--sp {
  display: none;
}
@media screen and (max-width: 1360px) {
  .ham {
    transform: unset;
  }
}

@media screen and (max-width: 980px) {
  .header__wrapper .footer__logo--pc {
    display: none;
  }
  .header__wrapper .footer__logo--sp {
    display: block;
    margin-bottom: 0;
  }
  .header__wrapper .footerNav__list--other {
    margin-bottom: 70px;
  }
}

@media screen and (max-width: 750px) {
  .top-header {
    display: none;
  }
  .header__inner {
    display: block;
  }
  .low-header .header__navWrap {
    height: 100dvh;
  }
  .header__spWrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .header__wrapper {
    padding: 41px 30px 0 0;
  }
  .header__navWrap {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -99;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
  }
  .header__navWrap.panelactive {
    opacity: 1;
    pointer-events: all;
    z-index: 999;
    background-color: #006934;
  }
  /*ナビゲーションの縦スクロール*/

  .header__navWrap.panelactive .header__navScroll {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100svh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .header__nav {
    flex-direction: column;
    max-width: 300px;
    min-height: 550px;
    padding: 0 15px;
    margin: 0 auto;
  }
  .header__nav.open {
    display: block;
  }
  .header__nav-list {
    display: block;
    justify-items: center;
  }
  .header__nav-list li:not(:last-child) {
    margin-bottom: 30px;
  }
  .ham {
    display: block;
  }

  .header__nav-listItem.top--sp {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .header__wrapper,
  .low-header .header__wrapper {
    padding: 20px 20px 0 0;
  }
  .low-header__logo {
    width: 166px;
    top: 20px;
    left: 20px;
  }
}
