/* 基本スタイル */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

.main-content {
  width: 100%;
}

.image-section {
  width: 100%;
  margin-bottom: 0;
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* SPのみの画像の場合（PC表示時は480px中央寄せ） */
.image-wrapper--sp-only {
  max-width: 480px;
  margin: 0 auto;
  background-color: #fff;
}

.map-wrapper--sp-only {
  margin: 0 auto;
  max-width: 480px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
}

.map-wrapper--sp-only iframe {
  width: 100%;
  aspect-ratio: 1 / 0.6;
  height: auto;
  display: block;
}

.shop-images-wrapper--sp-only {
  max-width: 480px;
  margin: 0 auto;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 0 40px;
}

.shop-image {
  width: 80%;
}

.shop-image img {
  width: 100%;
  aspect-ratio: 1 / 0.6;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 767px) {
  .image-wrapper--sp-only {
    max-width: 100%;
    box-shadow: none;
  }

  .map-wrapper--sp-only {
    max-width: 100%;
    box-shadow: none;
  }

  .shop-images-wrapper--sp-only {
    max-width: 100%;
  }
}

/* PC表示時の右側ナビゲーション（シンプルデザイン） */
.side-nav {
  position: fixed;
  left: calc(75% + 120px);
  /* 480pxコンテンツの右側エリアの中央 */
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  display: none;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .side-nav {
    display: block;
  }
}

.side-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  pointer-events: auto;
}

.side-nav__item {
  margin-bottom: 8px;
}

.side-nav__item:last-child {
  margin-bottom: 0;
}

.side-nav__link {
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 12px 20px;
  min-width: 48px;
  height: auto;
  line-height: 1.5;
  text-align: left;
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.side-nav__link:hover {
  opacity: 0.7;
}


/* CTAボタン（セクション内） */
.image-section--cta {
  position: relative;
}

.cta-btn {
  position: absolute;
  display: block;
  z-index: 100;
  bottom: 40px;
  left: calc(50% + 8px);
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  animation: pulse 1.7s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

.cta-btn--03 {
  bottom: 60px;
}

@media screen and (max-width: 600px) {
  .cta-btn--03 {
    bottom: 52px;
  }
}

.cta-btn:hover {
  opacity: 0.8;
}

.cta-btn__img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes pulse {

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

  50% {
    transform: translateX(-50%) scale(1.03);
  }
}

@media screen and (max-width: 767px) {
  .cta-btn {
    left: 30px;
    right: 20px;
    width: auto;
    max-width: 100%;
    transform: none;
    animation: pulse-sp 1.7s ease-in-out infinite;
  }

  @keyframes pulse-sp {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.03);
    }
  }
}

/* SP画像のみセクションのPC表示時CTA調整 */
@media screen and (min-width: 768px) {
  .image-section--cta:has(.image-wrapper--sp-only) .cta-btn {
    max-width: calc(480px - 40px);
  }
}

/* 追従CTAボタン（PC用） */
.fixed-cta-btn {
  display: none;
  transition: opacity 0.3s ease;
}

.fixed-cta-btn:hover {
  opacity: 0.8;
}

@media screen and (min-width: 768px) {
  .fixed-cta-btn {
    position: fixed;
    bottom: 20px;
    left: max(calc(50% + 240px + 20px), calc(100% - 320px));
    z-index: 999;
    display: block;
    width: auto;
    max-width: 300px;
    animation: pulse-sp 1.7s ease-in-out infinite;
  }

  .fixed-cta-btn__img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* ロゴ（QRコード）PC用 */
.logo-wrapper {
  display: none;
}

@media screen and (min-width: 768px) {
  .logo-wrapper {
    position: fixed;
    top: 50%;
    left: calc((100vw - 480px) / 4);
    transform: translate(-50%, -50%);
    width: auto;
    max-width: calc((100vw - 480px) / 2 * 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    pointer-events: none;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .logo-wrapper__img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    pointer-events: auto;
  }
}

/* スマホ用追従CTAボタン */
.mobile-fixed-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 10px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  width: auto;
}

.mobile-fixed-cta.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-fixed-cta__img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (min-width: 768px) {
  .mobile-fixed-cta {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .mobile-fixed-cta {
    display: block;
  }
}