@charset "utf-8";
header {
  width: 100%;

  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;

  pointer-events: none;
}

.header__wrapper {
  width: 100%;
  height: 100%;
}

.header__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  /* gap: 10px; */
}

.header__left {
  /* opacity: 0; */
  width: 100%;
  max-width: 100px;
  margin: 40px 0px 0 40px;
  pointer-events: all;
  /* transition: opacity 0.5s; */
}

.header__right {
  pointer-events: all;
}

.header__other-logo {
  width: 21%;
  max-width: 103px;
}

.header__logoLink {
  width: 78%;
  max-width: 408px;
  opacity: 0;
}

body.home .header__logoLink {
  opacity: 1;
}

.header__logoLink a {
  display: block;
}

.header__navWrap {
  display: none;
  width: 100%;
  max-width: 370px;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  background-color: rgba(90, 58, 25, 0.85);
  z-index: 2;
  overflow: scroll;
  /*IE(Internet Explorer)・Microsoft Edgeへの対応*/
  -ms-overflow-style: none;
  /*Firefoxへの対応*/
  scrollbar-width: none;
}
.header__navWrap::-webkit-scrollbar {
  display: none;
}

.header__nav-inner {
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
  padding-bottom: 50px;
}
.header__nav-logo {
  width: 80px;
  position: absolute;
  top: 35px;
  left: 30px;
}
.header__nav {
  padding-top: 138px;
  margin-bottom: 28px;
}

.header__nav-listItem:not(:last-child) {
  margin-bottom: 14px;
}

.header__nav-listItem a {
  color: #fff;
  font-family: "montserrat", sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.11em;
}

.ham {
  position: relative;
  margin: 40px 40px 0 0;
  width: 29px;
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  /* background-color: #244e25; */
  opacity: 0;
}
body.home .ham {
  /* opacity: 0; */
}

.ham__lineWrapper {
  width: 29px;
  height: 15px;
}
.ham__lineWrapper span.is-white {
  background-color: #fff;
}
.ham__menu.is-white {
  color: #fff;
}

.ham__lineWrapper span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #5a3919;
  transition: 0.3s;
}

.ham__lineWrapper span:nth-child(1) {
  position: absolute;
  top: 0%;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.ham__lineWrapper span:nth-child(2) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.ham__lineWrapper span:nth-child(3) {
  position: absolute;
  bottom: 35%;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.ham__menu {
  display: inline-block;
  margin-top: 24px;
  font-size: 9px;
}

.ham.open {
  width: 29px;
  height: 20px;
}

.ham.open .ham__lineWrapper span:nth-child(1) {
  /* transform: translate(-50%, -50%) rotate(45deg); */
  /* top: 50%; */
  top: 18%;
  background-color: #fff;
}

.ham.open .ham__lineWrapper span:nth-child(2) {
  opacity: 0;
}
/* 
.ham.open .ham__lineWrapper span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
  top: 50%;
} */
.ham.open .ham__menu {
  color: #fff;
}
@media screen and (max-width: 750px) {
  .header__left {
    max-width: 66px;
    margin: 25px 0px 0 24px;
  }
  .header__nav-logo {
    width: 66px;
    /* top: 21px;
    left: 26px; */
    top: 25px;
    left: 24px;
  }
  .header__nav-inner {
    max-width: 287px;
  }
  .header__navWrap {
    max-width: none;
  }
  .header__nav {
    padding-top: 112px;
  }
  .header__nav-listItem a {
    font-size: 21px;
  }
  .header__nav-listItem:not(:last-child) {
    margin-bottom: 11px;
  }
  .ham.open {
    width: 24px;
    height: 20px;
  }
  .ham {
    width: 24px;
    height: 26px;
    margin: 25px 24px 0 0;
  }
}
