/* 20260730 Sec01-07 SP adjustment implementation v1.0 */
/*
 * Zero Next One BASE NIIKAPPU
 * Approved motion implementation: Sec04-Sec06 v1.2.0
 */

.page-top .p-camp__feature-list {
  position: relative;
}

.page-top .p-camp__motion-route {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.page-top .p-camp__motion-route-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.34;
  vector-effect: non-scaling-stroke;
}

.page-top .p-camp__motion-route-end {
  fill: currentColor;
  opacity: 0;
  transform-box: fill-box;
}

.page-top .p-camp-feature {
  position: relative;
  z-index: 1;
}

.page-top .p-camp__primary-button,
.page-top .p-camp__pamphlet-link,
.page-top .p-stay__primary-button,
.page-top .p-stay__sub-link,
.page-top .p-activities__primary-button,
.page-top .p-activities__sub-link {
  transition:
    transform 300ms var(--motion-ease-hover),
    border-color 300ms var(--motion-ease-standard),
    background-color 300ms var(--motion-ease-standard),
    color 300ms var(--motion-ease-standard);
}

.page-top .p-camp__primary-button span[aria-hidden="true"],
.page-top .p-stay__primary-button span[aria-hidden="true"],
.page-top .p-stay__sub-link span[aria-hidden="true"],
.page-top .p-activities__primary-button span[aria-hidden="true"],
.page-top .p-activities__sub-link span[aria-hidden="true"] {
  transition: transform 280ms var(--motion-ease-hover);
}

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .page-top .p-camp__primary-button:hover,
  .page-top .p-camp__primary-button:focus-visible,
  .page-top .p-camp__pamphlet-link:hover,
  .page-top .p-camp__pamphlet-link:focus-visible,
  .page-top .p-stay__primary-button:hover,
  .page-top .p-stay__primary-button:focus-visible,
  .page-top .p-stay__sub-link:hover,
  .page-top .p-stay__sub-link:focus-visible,
  .page-top .p-activities__primary-button:hover,
  .page-top .p-activities__primary-button:focus-visible,
  .page-top .p-activities__sub-link:hover,
  .page-top .p-activities__sub-link:focus-visible {
    transform: translateY(-2px);
  }

  .page-top .p-camp__primary-button:hover span[aria-hidden="true"],
  .page-top .p-camp__primary-button:focus-visible span[aria-hidden="true"],
  .page-top .p-stay__primary-button:hover span[aria-hidden="true"],
  .page-top .p-stay__primary-button:focus-visible span[aria-hidden="true"],
  .page-top .p-stay__sub-link:hover span[aria-hidden="true"],
  .page-top .p-stay__sub-link:focus-visible span[aria-hidden="true"],
  .page-top .p-activities__primary-button:hover span[aria-hidden="true"],
  .page-top .p-activities__primary-button:focus-visible span[aria-hidden="true"],
  .page-top .p-activities__sub-link:hover span[aria-hidden="true"],
  .page-top .p-activities__sub-link:focus-visible span[aria-hidden="true"] {
    transform: translateX(5px);
  }

}

@media (max-width: 1023px) {
  .page-top .p-camp__motion-route {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-top .p-camp__motion-route {
    display: none;
  }

  .page-top .p-camp__primary-button,
  .page-top .p-camp__pamphlet-link,
  .page-top .p-stay__primary-button,
  .page-top .p-stay__sub-link,
  .page-top .p-activities__primary-button,
  .page-top .p-activities__sub-link,
  .page-top .p-camp__primary-button {
    transition-duration: 0ms !important;
    transform: none !important;
  }
}
