* {
  font-family: "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

header {
  width: 100%;
  height: 5.5vw;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  opacity: 0.95;
  background-color: white;
  z-index: 10;
}

header .title {
  height: 100%;
  display: flex;
  align-items: center;
}

header .title a {
  height: 100%;
  display: flex;
  align-items: center;
}

header .title a img {
  height: 100%;
  width: 12vw;
  object-fit: cover;
  object-position: center;
  transform: translateY(-0.5vw);
}

nav {
  width: 100%;
  height: 100%;
}

nav ul {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: right;
  align-items: center;
}

nav li {
  width: 10%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav li a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  font-size: 1vw;
  font-weight: 500;
  letter-spacing: 0.1vw;
  overflow: hidden;
  padding: 1vw;
}

header .reservation {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .reservation a {
  width: 100%;
  background-color: #333;
  color: white;
  padding: 0.5vw 1vw;
  text-decoration: none;
  border-radius: 0.5vw;
  font-size: 1.5vw;
  margin-right: 1vw;
  margin-left: 2vw;
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-align: center;
  letter-spacing: 0.1vw;
}

nav li a span {
  position: relative;
  overflow: hidden;
}

nav li a span::before,
header .reservation a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transform: skewX(-20deg);
}

nav li a:hover span::before,
header .reservation a:hover::before {
  animation: shine 0.8s ease-in-out;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

body.no-scroll {
  overflow: hidden;
}

@media screen and (orientation: landscape) {
  .hamburger-wrapper {
    display: none;
  }
}

@media screen and (orientation: portrait) {
  /* ハンバーガーボタン */
  .hamburger-wrapper {
    width: 9vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 4vw;
  }

  .hamburger {
    position: relative;
    width: 100%;
    height: 5vw; /* ここはバーの領域だけ */
    cursor: pointer;
  }

  /* 3本線 */
  .hamburger span {
    position: absolute;
    left: 0;
    width: 9vw;
    height: 2px;
    background: #333;
    border-radius: 0.3vw;
    transition: 0.4s;
  }
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .hamburger span:nth-child(3) {
    bottom: 0;
  }

  /* ×アニメーション */
  .hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

  /* MENU 文字はバーの下に */
  .menu-text {
    font-size: 3vw;
    color: #333;
    text-align: center;
    margin-top: 1vw;
  }

  header {
    height: 15vw;
    justify-content: space-between;
  }

  header .title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  header .title a img {
    width: 35vw;
    transform: translateY(-1.5vw);
  }

  header .reservation {
    width: 25%;
  }
  header .reservation a {
    font-size: 4vw;
    font-weight: 500;
    padding: 3vw 1vw;
    border-radius: 1vw;
    margin-right: 2vw;
    margin-left: 0;
    letter-spacing: 0.5vw;
  }

  nav {
    position: absolute;
    height: calc(100dvh - 15vw);
    top: 15vw;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    z-index: 20;
    transform: translateX(-100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  nav ul {
    flex-direction: column;
    width: 100%;
  }
  nav li {
    width: 100%;
  }
  nav li a {
    width: 100%;
    font-size: 4.5vw;
    padding: 7vw;
    background-color: white;
  }

  /* ハンバーガー開いた時に表示 */
  nav.active {
    transform: translateX(0);
    opacity: 1;
  }
}
