@charset "utf-8";

.header {
  width: 100%;
  z-index: 10;
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
}

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

.header__wrapper {
  width: 100%;
  height: 100%;
  padding: 20px;
}

/* ↓ ローデイング後アニメーション ↓ */
/* TOPにだけ付けてるクラス */
.header-top {
  opacity: 0;
  /* transform: translateY(-15px); */
  transition: opacity 1s ease, transform 1s ease;
}
.header-top.active {
  opacity: 1;
  /* transform: translateY(0); */
  transition-delay: 1.5s;
}
/* ↑ ローデイング後アニメーション ↑  */

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header__left {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  transition: 0.3s;
  opacity: 1;
}
body.fixed .header__left {
  opacity: 0;
}
.header__logoLink img {
  width: 100%;
}
.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 0px 0px 0px 42px;
  border-radius: 15px;
  transition: 0.3s;
}

.header__nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.header__nav-list li {
  position: relative;
}

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

.header__nav-listItem a {
  padding: 5px 5px 0 5px;
  font-size: 13px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.75;
  letter-spacing: 0.15em;
  transition: 0.4s;
  border-bottom: 1px solid #fff;
}

.header__nav-listItem a:hover {
  border-bottom: 1px solid #000;
}

.header__spWrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.ham {
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 999;
  border-radius: 50%;
  border: 1px solid #000;
}

.header_dark .ham {
  border: 1px solid #fff;
}

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

.ham__lineWrapper span {
  display: block;
  width: 14px;
  height: 1px;
  background-color: #372828;
  position: absolute;
  left: 50%;
  transition: 0.3s;
}

.header_dark .ham .ham__lineWrapper span {
  background-color: #ffffff;
}

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

.ham__lineWrapper span:nth-child(2) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.ham__lineWrapper span:nth-child(3) {
  transform: translateX(-50%);
  bottom: 14px;
}

.ham.open {
  width: 42px;
  height: 42px;
  border: 1px solid #000;
}

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

.ham.open .ham__lineWrapper span:nth-child(2) {
  opacity: 0;
}
.ham.open .ham__lineWrapper span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-33deg);
  top: 50%;
  background-color: #372828;
}

.header__logoLink {
  width: 100%;
  max-width: 82px;
  display: block;
}
.header__logoImg {
  display: block;
}
.header__logoImg--white {
  display: none;
}

.header.header_dark .header__logoImg {
  display: none;
}
.header.header_dark .header__logoImg--white {
  display: block;
}

.header__navWrap {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -99;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}

.header__navLogo {
  display: block;
  width: 82px;
  height: auto;
}
.header__navWrap.panelactive {
  opacity: 1;
  pointer-events: all;
  z-index: 9;
  transition: 0.3s;
  width: 100%;
}

/*ナビゲーションの縦スクロール*/
.header__navWrap.panelactive .header__navScroll {
  /*ナビの数が増えた場合縦スクロール*/
  /* position: fixed;
    z-index: 9; */
  width: 100%;
  height: 100%;
  /* overflow: auto;
    -webkit-overflow-scrolling: touch; */
}
.header__nav {
  flex-direction: column;
  max-width: 300px;
  height: 50vh;
  padding: 0 15px;
  margin: 0 auto;
}

.header__nav.open {
  display: block;
}
.header__nav-list {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.insta__link {
  margin: 0 auto 15px;
}
.mih__link {
  margin: 0 auto;
}

.ham {
  display: block;
}

/* .inner-nav {
    padding-top: 35px;
    max-width: none;

  } */
.header__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.header__linkBtn {
  display: block;
  width: 130px;
  height: 43px;
  background-color: #1a567b;
  border: 1px solid #1a567b;
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  opacity: 1;
}
.header__linkBtn:hover {
  color: #1a567b;
  background-color: #fff;
}

body.fixed .header__linkBtn {
  opacity: 0;
}

.header__text {
  font-size: 11px;
  line-height: 2.27;
  font-family: "adobe-garamond-pro", serif;
  letter-spacing: 0.08em;
  transition: 0.3s;
  opacity: 1;
}
body.fixed .header__text {
  opacity: 0;
}

.header__btnWrap {
  background-color: #d7dee4;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.header__btnWrap--list {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.header__btnWrap--link {
  display: block;
  width: 261px;
  height: 56px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: 0.3s;
}
.header__btnWrap--link:hover {
  background-color: #195477;
  color: #fff;
}
.header__btnWrap--text {
  font-size: 17px;
  text-align: center;
  line-height: 1.7;
  color: #195477;
  letter-spacing: 0.08em;
}

@media screen and (max-height: 850px) {
  .header__left {
    top: 10px;
  }
}

@media screen and (max-width: 750px) {
  .header__left {
    top: 4px;
    position: relative;
    left: 0;
    transform: translateX(0);
  }
  .header__logoLink {
    width: 65px;
  }
  .header__text {
    display: none;
  }
  .header__right {
    gap: 10px;
  }
  .header__linkBtn {
    width: 100px;
  }
  .header__navLogo {
    width: 65px;
  }
  .header__nav {
    gap: 30px;
  }
  .header__btnWrap--list {
    margin-bottom: 15px;
    gap: 8px;
  }
  .header__btnWrap--link {
    width: 230px;
    height: 45px;
  }
  .header__btnWrap--text {
    font-size: 15px;
  }
}
