@charset "UTF-8";

/********** ヘッダー **********/
#header {
  z-index: 999;
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  height: 100svh;
}
.header__wrapper {
  background-color: rgba(245, 243, 240, 0.68);
  height: 100%;
}
.header__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 32px;
  position: relative;
  max-width: 180px;
  z-index: 10000;
}
.header__container .contact__btn {
  background-color: var(--logo-green);
  color: var(--base-white);
  font-weight: 500;
  letter-spacing: var(--l-space-50);
  padding: 40px 24px;
  text-align: center;
}
.header__container .contact__btn a {
  color: var(--base-white);
}
.header__container .header__logo {
  display: flex;
  justify-content: center;
}
.header__container .header__logo a {
  display: inline-block;
  width: 20vw;
  max-width: 160px;
  min-width: 148px;
}
.header__logo picture {
  display: flex;
  padding: var(--padding-02);
}
.header__inbox {
  padding: 16px;
}
.header__add {
  padding: 16px 0;
}
/********** PCナビ：ヘッダー **********/
#gnav__PC {
  flex-grow: 2;
  padding: 72px 24px;
}
#gnav__PC ul.gnav__PC--list {
  letter-spacing: var(--l-space-100);
  font-weight: 600;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}
#gnav__PC .gnav__PC--item {
  margin-bottom: 8vh;
}
#gnav__PC .gnav__PC--item a {
  transition: all 0.5s 0s ease;
}
#gnav__PC .gnav__PC--item a::after {
  border-radius: 4.8px;
  background-color: var(--bright-greengrey);
  content: "";
  height: 4.8px;
  opacity: 0;
  transform: scale(0, 1);
  transition: 0.5s;
  position: absolute;
  bottom: -8px;
  left: calc(50% - 8px);
  width: 16px;
}
#gnav__PC .gnav__PC--item a:hover {
  color: var(--logo-green);
  position: relative;
}
#gnav__PC .gnav__PC--item a:hover::after {
  opacity: 1;
  transform: scale(1, 1);
}
.toggle {
  display: none;
}
#gnav {
  display: none;
}
@media screen and (max-width: 1440px) {
  .header__container {
    display: none;
  }
  /********** トグルボタン **********/
  .toggle {
    display: block;
    position: fixed;
    z-index: 1000; /*ボタンを最前面に*/
    top: 0px;
    right: 0px;
    cursor: pointer;
    width: 92.8px;
    height: 88px;
    background: var(--logo-green);
  }

  /*×に変化*/
  .toggle span {
    display: inline-block;
    transition: all 0.3s;
    position: absolute;
    left: 21.5px;
    height: 1.5px;
    border-radius: 1.5px;
    background-color: var(--base-white);
  }

  .toggle span:nth-of-type(1) {
    top: 26.8px;
    width: 57.6%;
  }
  .toggle span:nth-of-type(2) {
    top: 42.8px;
    width: 44.8%;
  }

  .toggle span:nth-of-type(3) {
    top: 58.8px;
    width: 28.8%;
  }

  .toggle.is__active span:nth-of-type(1) {
    top: 36px;
    left: 28px;
    transform: translateY(6px) rotate(-135deg);
    width: 42%;
  }

  .toggle.is__active span:nth-of-type(2) {
    opacity: 0;
  }

  .toggle.is__active span:nth-of-type(3) {
    top: 48px;
    left: 28px;
    transform: translateY(-6px) rotate(135deg);
    width: 42%;
  }
  /********** トグルボタン ここまで **********/

  /********** ナビパネル ここから **********/
  #gnav {
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    height: 100svh;
    justify-content: space-around;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
  }
  #gnav.is__active {
    opacity: 1;
    visibility: visible;
    transition: all 0.4s;
  }
  #gnav .gnav__container {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: 12vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 78vh;
  }
  #gnav li {
    list-style: none;
  }
  #gnav li a {
    text-decoration: none;
    text-transform: none;
    display: inline-block;
    margin-bottom: var(--margin-05);
  }
  #gnav h3 {
    color: var(--logo-green);
    line-height: 1;
    padding-bottom: var(--padding-01);
  }
  #gnav p {
    letter-spacing: var(--l-space-100);
    color: var(--neutral-greengrey);
  }
  #gnav li a:hover p {
    color: var(--bright-greengrey);
  }
  #gnav .ft__box {
    display: flex;
  }
  #gnav .ft__corporate--info > div {
    margin-top: var(--margin-01);
    width: max-content;
  }
  #gnav img.SRP__mark {
    width: 80px;
    height: 80px;
    margin-left: 6%;
  }
}

@media screen and (max-width: 768px) {
  /********** ナビパネル **********/
  #gnav {
    padding: var(--padding-07) 0 0 14%;
  }
}

/********** ナビパネル ここまで **********/

@media screen and (max-width: 1920px) {
  .header__container {
    max-width: 160px;
  }
  .header__container .contact__btn {
    padding: 40px 16px;
  }
  .header__logo picture {
    padding: 0;
  }
  .header__container .header__logo a {
    width: auto;
    min-width: initial;
  }
  .header__add {
    padding: 8px 0;
    font-size: 14px;
  }
}
@media screen and (max-width: 390px) {
  /********** ナビトグルボタン **********/
  .toggle {
    width: 58px;
    height: 55px;
  }
  .toggle span {
    left: 16.5px;
    height: 1.5px;
    border-radius: 1.5px;
  }

  .toggle span:nth-of-type(1) {
    top: 16.75px;
  }
  .toggle span:nth-of-type(2) {
    top: 26.75px;
  }

  .toggle span:nth-of-type(3) {
    top: 36.75px;
  }

  .toggle.is__active span:nth-of-type(1) {
    top: 20px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
  }

  .toggle.is__active span:nth-of-type(3) {
    top: 32px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
  }
  /********** ナビパネル **********/
  #gnav .ft__box {
    flex-direction: column;
  }
  #gnav li a {
    margin-bottom: var(--margin-04);
  }
  #gnav h3 {
    font-size: 24px;
  }
  #gnav .ft__logo {
    width: 85%;
  }
  #gnav img.SRP__mark {
    margin-left: 0;
    margin-top: var(--margin-02);
  }
}
