@charset "utf-8";

/* ハンバーガー */
.hamburger {
  position: fixed;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 9999;
  transform-origin: center center;
  transition: transform 0.28s cubic-bezier(.22, .8, .2, 1);
}

.hamburger img {
  padding: 0;
  margin: 0;
  line-height: 0;
  vertical-align: bottom;
}

/* オーバーレイ */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 97;
}

.backdrop.is-show {
  opacity: 1;
}

[hidden] {
  display: none !important;
}

/* ドロワー */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: 60%;
  background-color: #2d4b70;
  box-shadow: -8px 0 24px rgba(0, 0, 0, .12);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.22, .8, .2, 1);
  z-index: 98;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-list li {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.drawer-list li a {
  display: block;
  padding: 0.5em 0;
  color: #fff;
  font-size: 3.73vw;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}

.drawer-list li a span {
  padding: 0 0 0 0.3em;
  font-size: 2.67vw;
}

.drawer-list a:focus,
.drawer-list a:hover {
  background: rgba(255, 255, 255, .2);
}

.drawer-list li:last-child {
  width: 100%;
  margin: 2rem 0 0;
}

/* スクロール固定 */
.body-lock {
  overflow: hidden;
}

/* 低モーション配慮 */
@media (prefers-reduced-motion: reduce) {

  .drawer,
  .backdrop,
  .hamburger span {
    transition: none !important;
  }
}

@media screen and (min-width: 1px) and (max-width: 743px) {

}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .pc-menu {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    line-height: 1.2;
  }

  .menu-item {
    color: #2d4b70;
    font-size: 1.8vw;
    letter-spacing: 0.15em;
    margin-left: 2rem;
    text-align: center;
  }

  .menu-item p {
    padding: 0 0 0.2em;
    border-bottom: #2d4b70 solid 1px;
  }

  .menu-item span {
    font-size: 1.3vw;
    font-weight: 400;
  }
}

@media screen and (min-width: 1025px) {
  .pc-menu {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    line-height: 1.2;
  }

  .menu-item {
    color: #2d4b70;
    font-size: 15px;
    letter-spacing: 0.15em;
    margin-left: 2rem;
    text-align: center;
  }

  .menu-item p {
    padding: 0 0 0.2em;
    border-bottom: #2d4b70 solid 1px;
  }

  .menu-item span {
    font-size: 10px;
    font-weight: 400;
  }

}