* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0 0 96px;
  background: #f6efe4;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
}

.lp-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.lp-section {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: #fff;
}

.lp-section img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.2s ease, filter 1.2s ease;
  will-change: transform;
}

/* 初回表示：ヒーローだけ少しズームアウトして登場 */
.hero-section img {
  transform: scale(1.04);
}

.hero-section.is-visible img {
  transform: scale(1);
}

/* スクロールフェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  transform: translateX(-34px);
}

.slide-right {
  transform: translateX(34px);
}

.slide-left.is-visible,
.slide-right.is-visible {
  transform: translateX(0);
}

/* PCのみ、画像に少しだけ高級感のあるホバー */
@media (hover: hover) and (pointer: fine) {
  .lp-section:hover img {
    transform: scale(1.018);
  }

  .hero-section.is-visible:hover img {
    transform: scale(1.018);
  }
}

/* 画像内の最下部ボタン用クリック範囲 */
.reserve-hit {
  position: absolute;
  left: 31.5%;
  bottom: 7.2%;
  width: 37%;
  height: 4.2%;
  display: block;
  border-radius: 999px;
}

.floating-reserve-btn {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(90%, 520px);
  padding: 17px 24px;
  border-radius: 999px;
  background: #5a0b0b;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
  animation: reservePulse 2.8s ease-in-out infinite;
}

.floating-reserve-btn::after {
  content: "›";
  margin-left: 0.7em;
  font-size: 1.35em;
  line-height: 0;
  vertical-align: -0.05em;
}

.floating-reserve-btn:hover,
.floating-reserve-btn:focus-visible {
  opacity: 0.92;
  animation-play-state: paused;
}

@keyframes reservePulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.035);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 78px;
  }

  .fade-in {
    transform: translateY(28px);
  }

  .slide-left,
  .slide-right {
    transform: translateY(28px);
  }

  .floating-reserve-btn {
    bottom: 12px;
    width: min(92%, 420px);
    padding: 14px 18px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in,
  .slide-left,
  .slide-right,
  .hero-section img {
    opacity: 1;
    transform: none !important;
  }
}
