@charset "utf-8";
header {
  width: 100%;
  min-height: 69px;
  background: #fff;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: none;
}
header.is-hide {
  opacity: 0;
  transform: translateY(-30px);
}

/* ヘッダーを表示するとき（トップページで使用） */
header.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* header.has-shadow {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
} */
header.has-shadow::before {
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
}

header::before {
  content: "";
  display: block;
  width: 105%;
  height: 111px;
  background: url(../imgs/common/mv_frame_pc.svg) no-repeat bottom center / 100% auto;
  position: absolute;
  bottom: -37%;
  left: 0;
  transition: filter 0.4s ease;
}
.header__wrapper {
  width: 100%;
  height: 100%;
}

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

.header__left {
  width: 41.4%;
  max-width: 198px;
  margin: clamp(25px, 6.67vw, 37px) 0px 0 clamp(23px, 6.13vw, 40px);
  pointer-events: all;
}
.header__left.is-white {
  opacity: 1;
}

.header__right {
  pointer-events: all;
}

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

.header__logoLink {
  width: 100%;
  max-width: 198px;
  min-width: 155px;
  opacity: 0;
}

body.home .header__logoLink {
  opacity: 1;
}

.header__logoLink a {
  display: block;
}

.header__navWrap {
  display: none;
  width: 100%;
  max-width: 375px;
  height: 100svh;
  position: fixed;
  top: 0;
  right: 0;
  background-color: rgba(195, 153, 112, 0.88);
  backdrop-filter: blur(5px) brightness(1); /* ぼかし5 / 明るさ0(＝変化なし) */
  -webkit-backdrop-filter: blur(5px) brightness(1);
  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 {
  width: 80%;
  max-width: 231px;
  min-height: 400px;
  overflow-y: auto;
}
.header__nav-inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding-top: clamp(80px, 16.49svh, 110px);
  padding-bottom: 50px;
}
.header__nav_txt {
  color: #fff;
  font-size: 12px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.03em;
  padding: 0 10px;
}

.header__nav-listItem:not(:last-child) {
  margin-bottom: clamp(1em, 6svh, 40px);
}

.header__nav-listItem a {
  color: #fff;
  font-size: clamp(15px, 3.3svh, 22px);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.ham {
  position: relative;
  margin: clamp(25px, 6.67vw, 40px) clamp(23px, 6.13vw, 40px) 0 0;
  width: 30px;
  height: 21px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}
.ham__lineWrapper {
  width: 30px;
  height: 15px;
}

.ham__lineWrapper span {
  display: block;
  width: 100%;
  height: 1px;
  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) {
  width: 21px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
}
.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) {
  top: 18%;
  background-color: #fff;
}

.ham.open .ham__lineWrapper span:nth-child(2) {
  opacity: 0;
}
.ham.open .ham__lineWrapper span:nth-child(3) {
  display: none;
}
.ham .ham__menu {
  color: #fff;
  display: none;
}
.ham.open .ham__menu {
  display: block;
}

@media screen and (max-width: 750px) {
  header::before {
    height: 87px;
    background: url(../imgs/common/mv_frame_sp.svg) no-repeat bottom left / 100% auto;
    bottom: -40%;
  }
  .header__navWrap {
    max-width: none;
  }
  .ham.open {
    height: 20px;
  }
}
