header {
  font-family: "Noto Sans JP";
}
/* // ================================
//  初期設定 CSS
// ================================ */

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}
li {
  list-style: none;
}
img {
  max-width: none;
  display: flex;
}

/* // ================================
//  本題のCSS
// ================================ */
.header {
  z-index: 100 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  padding-inline: 3.33vw !important;
  display: block !important;
  /* padding: 0 !important; */
  background-color: transparent !important;
  position: fixed !important;
  background: transparent !important;
  transition: background-color 0.3s ease !important;
  padding: 0.5vw 0 !important;
}
.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}
.header__inner {
  display: flex;
  grid-template-columns: 150px 1fr;
  align-items: center;
  padding: 1.1vw 56px;
  justify-content: space-between;
}
.header__logo-wrap {
  z-index: 10000;
}
.header__logo {
  display: flex;
  gap: 1.11vw;
  height: auto;
}
.header__logo-img {
  width: 15vw;
}
.header__nav {
  display: flex;
  align-items: center;
  /* justify-content: end; */
  /* gap: 19vw; */
}
.header__list {
  display: flex;
  align-items: center;
  column-gap: 2.22vw;
  li a {
    color: #101010;
    font-size: 15px;
    letter-spacing: 0;
    display: flex;
    align-items: center;
  }
}
.header__list {
  li a:hover {
    opacity: 60%;
  }
}
.header__btn {
  padding: 8px 26px;
  background: #4a6ffe;
  /* border: 1px solid #fff; */
  color: #fff;
  font-size: 15px;
  border-radius: 100vmax;
  transition: all 0.3s ease;
  font-family: "Noto Sans JP";
  font-weight: 500;
  display: flex;
  @media (any-hover: hover) {
    &:hover {
      opacity: 60%;
    }
  }
}
.external-link {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  margin-bottom: -2px;
}
.contact-icon {
  margin-right: 12px;
  width: 16px;
}

@media (min-width: 2000px) {
  .header {
    /* padding: 18px 0 !important; */
  }
}
@media (max-width: 1200px) {
  .header__inner,
  .header__nav {
    /* gap: 15vw; */
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body {
    padding-top: calc(var(--header-height, 74px) + 20px) !important;
  }
}

@media (max-width: 1024px) {
  .header__logo-img {
    width: 18vw;
  }

  .header__inner,
  .header__nav {
    /* gap: 10vw; */
  }
  .header__list {
    gap: 3.12vw;
    li a {
      color: #101010;
      font-size: 1.46vw;
    }
  }
  .header__btn {
    font-size: 1.46vw;
  }
  .external-link {
    width: 1.56vw;
    margin-bottom: -3px;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: calc(56px + env(safe-area-inset-top, 0px));
  }
  .header {
    min-height: 56px;
    box-sizing: border-box;
    padding-inline: 29px !important;
    padding-top: 2.5vw !important;
  }

  .header__inner {
    padding: 12px 0;
    justify-content: start;
  }
  .header__nav,
  .header__btn {
    display: none;
  }

  .header__logo-wrap {
    gap: 8px;
  }
  .header__logo-img {
    width: 170px;
  }
}

/* ===================
    ハンバーガー
=======================*/
.openbtn {
  position: absolute;
  top: 2.86vw;
  right: 6vw;
  z-index: 10000;
  width: 20px;
  height: 10px;
  cursor: pointer;
  border: 1px solid #d1dbff;
  border-radius: 40px;
  padding: 14px 29px;
}
@media (min-width: 769px) {
  .openbtn {
    display: none;
  }
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 13px;
  height: 2px;
  background-color: #4a6ffe;
}

.openbtn span:nth-of-type(1) {
  top: 10px;
  left: 20px;
  width: 20px;
}

.openbtn span:nth-of-type(2) {
  top: 17px;
  left: 20px;
  width: 20px;
}

.openbtn.active span:nth-of-type(1) {
  top: 8px;
  left: 19px;
  transform: translateY(6px) rotate(-35deg);
  width: 35%;
}

.openbtn.active span:nth-of-type(2) {
  top: 20px;
  left: 19px;
  transform: translateY(-6px) rotate(33deg);
  width: 35%;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(125, 164, 234, 0.7) 0%,
    rgba(227, 234, 254, 0.7) 100%
  );

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0s;
  z-index: 90; /* header より下、drawer 本体より下 */
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0s linear 0s;
}

.drawer {
  position: fixed;
  top: 0;
  right: 2%;
  /* right: -110%; */
  width: 95.6%;
  height: 61vh;
  background-color: #fff;
  /* -webkit-backdrop-filter: blur(30px); */
  /* backdrop-filter: blur(30px); */
  /* box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1); */
  /* transition: right 0.4s ease; */
  z-index: 99;
  margin: 7px auto 0px;
  border-radius: 16px;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.drawer.is-open {
  right: 2%;
  height: 420px;
  width: 95.6%;
  margin: 7px auto 0px;

  opacity: 1; /* 徐々に表示 */
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0s linear 0s;
}
.drawer__body {
  /* text-align: center; */
  overflow-y: auto;
  /* height: 71vh; */
  z-index: 9;
  padding-top: 80px;
  width: 84.6%;
  margin: 0 auto;
}
.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* margin: -15px auto 0; */
}
.drawer__item {
  color: #ffffff;
  text-align: left;
  /* padding: 34px 0 24px 6px; */
  border-bottom: 1px rgba(0, 59, 31, 0.1) dashed;
  position: relative;
  padding-bottom: 13px;
}
.drawer__link {
  color: #101010;
  font-size: 15px;
  font-weight: 500;
  font-family: "Noto Sans JP";
  line-height: auto;
  letter-spacing: 0;
}
.drawer__btn__contact {
  background-color: #f28d45;
  padding: 16px 84px;
  border-radius: 8px;
  border: 1px solid #d27838;
  color: #ffffff;
  width: 310px;
}
.drawer__btn__contact::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  vertical-align: middle;
  line-height: 1.2;
  margin-right: 7px;
}
.drawer__list-bottom {
  margin: 29px 5px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.drawer__link-bottom {
  font-size: 13px;
  font-weight: 500;
  font-family: "Noto Sans JP";
  letter-spacing: 0;
  letter-spacing: 0;
}
.drawer__link-bottom-information {
  display: flex;
}

.drawer__link-bottom img {
  width: 13px;
  margin-left: 7px;
}
.btn__link-header {
  padding: 12px 43.5px 11px 61.5px;
  background-color: #1974fc;
}
.btn__link-arrow-inner-header {
  background-color: #74acff;
}
.btn__link-header {
  gap: 22px;
}
.btn__link-text-header {
  font-size: 14px;
}
@media (max-width: 374px) {
  .btn__link-text-header {
    font-size: 3.73vw;
  }
  .btn__link-header {
    padding: 12px 10.2vw 11px 15.8vw;
    gap: 5.86vw;
  }
}
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.bgextend {
  animation-name: bgextendAnimeBase;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;
  opacity: 0;
}

@keyframes bgextendAnimeBase {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*中の要素*/
.bgappear {
  animation-name: bgextendAnimeSecond;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*左から右*/
.bgLRextend::before {
  animation-name: bgLRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #1974fc; /*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger {
  opacity: 0;
}
