@charset "utf-8";

.header {
  /* width: 100%; */
  position: absolute;
  top: 19vw;
  left: 11.8vw;
  z-index: 99;
  transition: all 0.3s ease;
}
/* .header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
} */
/* header.header__fixed {
  position: fixed;
  width: 100%;
  left: 0;
  z-index: 10;
} */

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

.inner-nav {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 67px;
  background-color: rgba(255, 255, 255, 0.9);
}

.header__left {
  max-width: 175px;
  position: relative;
  z-index: 4;
}
.header__logoLink img {
  width: 100%;
  /* min-width: 227px; */
}
.header__nav {
  /* display: flex;
  align-items: center;
  justify-content: center; */
  /* gap: 33px; */
  /* padding: 0px 0px 0px 42px; */
  /* border-radius: 15px; */
  transition: 0.3s;
}

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

.header__nav-list li {
  position: relative;
}

.header__nav-listLink {
  display: block;
  width: fit-content;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  line-height: 1;
  color: #fff;
  transition: 0.4s;
  /* border-bottom: 1px solid #fff; */
}

.header__nav-listLink:hover {
  /* border-bottom: 1px solid #000; */
}
.header__spWrap {
  display: none;
  position: relative;
  z-index: 9999;
}
.ham {
  /* width: 97px; */
  /* height: 42px; */
  cursor: pointer;
  padding: 14px 15px;
  background: rgba(71, 114, 161, 0.5);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.ham_menu {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.ham__lineWrapper {
  position: relative;
  width: 15px;
  height: 12px;
}

.ham__lineWrapper span {
  display: block;
  font-size: 11px;
  width: 15px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transition: 0.3s;
}

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

.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: 0px;
}

.ham.open {
  /* width: 32px;
  height: 21px; */
  background: #4772a1;
}

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

.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%;
}

.nav__listWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 30px;
}

.nav__list--heading {
  text-align: center;
}

.nav__listContents {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.nav__listItem {
  text-align: center;
}

.nav__listBtn {
  padding-top: 33px;
}

.nav__listItem.lst {
  margin-bottom: 0;
}
.nav__listItem.mg-btm {
  margin-bottom: 30px;
}

.nav__listLink {
  font-size: 18px;
  font-weight: 700;
  display: inline-block;
  padding: 5px 0;
  line-height: 1.5;
  position: relative;
}
@media screen and (max-width: 1360px) {
  .ham {
    transform: unset;
  }
}
@media screen and (max-width: 1200px) {
  .header {
    top: 15vw;
    left: 7.8vw;
  }
}

@media screen and (max-width: 1060px) {
  .header {
    position: fixed;
    top: 7vw;
    left: auto;
    right: 7vw;
  }
  .header__inner {
    display: block;
  }
  .header__spWrap {
    display: block;
    /* width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; */
  }
  .header__logoLink {
    width: 100%;
    max-width: 144px;
    margin: 0 auto;
  }

  .header__navWrap {
    display: block;
    width: 100%;
    max-width: 370px;
    height: 100vh;
    background: #fff;
    position: fixed;
    top: 0;
    right: -120%;
    z-index: 99;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition: all 0.3s;
  }
  .is-resize .header__navWrap {
    transition: none;
  }
  .header__navWrap::-webkit-scrollbar {
    display: none;
  }
  .header__navWrap.panelactive {
    right: 0;
  }

  /*ナビゲーションの縦スクロール*/
  .header__navWrap.panelactive .header__navScroll {
    /*ナビの数が増えた場合縦スクロール*/
    /* position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh; 
    padding-top: 50px;
    overflow: auto;
    -webkit-overflow-scrolling: touch; */
  }
  .header__navWrap.panelactive .header__nav-listLink {
    color: #000;
    width: 100%;
  }
  .header__nav {
    flex-direction: column;
    justify-content: flex-start;
    /* max-width: 300px; */
    min-height: 550px;
    padding: 120px 39px 0;
    margin: 0 auto;
    position: relative;
  }
  .header__nav::before {
    display: block;
    content: "";
    width: 251px;
    /* width: 80%; */
    /* padding-top: 35%; */
    height: 168px;
    position: absolute;
    bottom: -21%;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    background: url(../imgs/common/sp-menu_deco.png) center center / cover
      no-repeat;
  }
  .header__nav.open {
    display: block;
  }
  .header__nav-list {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .header__nav-listItem {
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 25px;
    position: relative;
  }
  .header__nav-listItem::after {
    display: block;
    content: "";
    width: 7px;
    height: 14px;
    background: url(../imgs/common/menu_arrow.png) center center / cover
      no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }

  .ham {
    /* display: block; */
  }
}
@media screen and (max-width: 750px) {
  .header {
    top: 10vw;
    right: 10vw;
  }
}

@media screen and (max-width: 500px) {
  .nav__listContents {
    max-width: 280px;
  }
  .header__navWrap {
    max-width: none;
  }
  .header__nav::before {
  }
}
