* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

.ios_body{
  overflow: hidden;
}

/* 最初の画面 */

.mv {
  width: 100%;
  height: 100vh;
  position: relative;
}

@media (max-width: 768px) {
  .mv {
    aspect-ratio: 4 / 3;
  }
}

.item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: img-change 15s infinite;
  opacity: 0;
}

.item:nth-child(1) {
  animation-delay: 0s;
}
.item:nth-child(2) {
  animation-delay: 5s;
}
.item:nth-child(3) {
  animation-delay: 10s;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* アニメーションの定義 */
@keyframes img-change {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* 初期状態（見えない） */
.scroll_up {
  opacity: 0;
  transition: 1s ease-in-out;
}

/* 表示時（onがついたらアニメーション開始） */
.scroll_up.on {
  transform: translateY(0);
  opacity: 1;
}

/* 初期の位置（アニメーション前の準備） */
.scroll_up {
  transform: translateY(30px);
}

/* レスポンシブ対応（スマホでも調整しやすく） */
ul.box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
}
ul.box li {
  list-style: none;
  max-width: 300px;
  width: 100%;
}
ul.box img {
  width: 100%;
  height: auto;
  display: block;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  background-color: #e9e3eb;
}

.logo {
  color: #2d2e1b;
  font-size: 22px;
  font-family: "Satisfy", cursive;
  font-weight: 400;
  font-style: normal;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 38%;
  transition: all 0.5s ease-in-out;
  transform: translateX(100%);
  will-change: transform;
}

.nav-links li {
  list-style: none;
  color: #2d2e1b;
}

.nav-links a {
  text-decoration: none;
  font-weight: bold;
  color: #2d2e1b;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #2d2e1b;
  margin: 5px;
  transition: all 0.5s ease-in-out;
}

.nav-active {
  transform: translate(0%) !important;
}

@media screen and (max-width: 1024px) {
  .nav-links {
    width: 55%;
  }
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .nav-links {
    position: absolute;
    right: 0;
    height: 92vh;
    top: 8vh;
    background-color: #e9e3eb;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translate(100%);
    z-index: 100;
    opacity: 0.9;
  }

  .nav-links li {
    opacity: 0;
    color: #2d2e1b;
  }

  .burger {
    display: block;
  }
}

@keyframes navLinksFade {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(405deg) translate(-5px, -6px);
}

/* message */
.message {
  align-items: center;
  text-align: center;
  padding: 20px;
  margin: 100px;
  border-bottom: 2px solid #000;
}
.message p {
  font-weight: 100;
  font-size: 25px;
}

.name {
  font-family: "Cactus Classical Serif", serif;
  font-weight: 1000;
  font-style: normal;
  font-size: 40px;
  color: #d99aad;
}

/* オープニングアニメーション */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2.5s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loading__logo {
  opacity: 0;
  animation: logo_fade 2s 0.5s forwards;
  width: 175px;
  text-align: center;
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  60% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
  }
}

/* schedule */
.schedule_seet {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* 画面の高さ全体を使う */
  
}

.schedule_seet img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* seating */

.seating {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* 画面の高さ全体を使う */
  
}
.seating img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* menu */

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  
}

.menu img {
  max-width: 100%;
  height: auto;
  display: block;
}
