@charset "utf-8";

.nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 9999;
  background-color: var(--color);
}

.nav::before,
.nav::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: calc(100% + 1px);
}

.nav-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
}

.nav-menu {
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
  height: 100%;
}

.nav-panel {
  position: relative;
}

.nav-panel-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0 0 22%;
  background-color: #000;
  background-image: url(../img/menu/menu-bg.jpg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 100%;
}

.nav-panel-right {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8%;
  background-color: var(--color);
}

.nav-item {
  width: auto;
  margin: 0 0 1.05em;
  text-align: left;
  font-size: 5.6vw;
  letter-spacing: 0.05em;
  line-height: 1;
}

.nav-item:last-child {
  margin-bottom: 0;
}

.nav-logo {
  width: min(82%, 430px);
  margin: 0;
  text-align: center;
}

.nav-item a {
  color: var(--color);
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
}

.nav-item a:hover {
  color: var(--color);
  text-decoration: none;
}

.toggle {
  position: fixed;
  width: 82px;
  height: 82px;
  top: 16px;
  right: 16px;
  z-index: 999;
  background-color: #000;
}

.toggle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .nav-menu {
    grid-template-columns: 49.5% 50.5%;
  }

  .nav-panel-left {
    padding-left: 15%;
  }

  .nav-item {
    margin-bottom: 0.8em;
    font-size: 6vw;
  }

  .nav-logo {
    width: 90%;
  }

  .toggle {
    width: 45px;
    height: 45px;
    top: 5px;
    right: 5px;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {

  .nav-item {
    font-size: 4vw;
  }

  .toggle {
    position: fixed;
    width: 50px;
    height: 50px;
    top: 10px;
    right: 10px;
    z-index: 999;
  }
}

@media screen and (min-width: 1025px) {

  .toggle {
    display: none;
  }

  a.nav-link {
    color: var(--color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: var(--fs-menu-pc);
    padding: 0 0.3em;
    white-space: nowrap;
    transition: all 0.2s;
  }

  a.nav-link:hover {
    text-decoration: none;
    color: var(--color);
    transform: scale(1.05);
  }

  .pc-navi {
    position: fixed;
    top: 0;
    left: 50%;
    width: 900px;
    transform: translateX(-50%);
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1.5em;
    background: #000;
  }

  .pc-navi-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em 1em 0.5em;
  }

  .pc-navi-item {
    line-height: 1;
    letter-spacing: 0.03em;
  }

}
