.root {
  --paper: #f6f1e7;
  --pine: #173f37;
  --orange: #ed7149;
  --orange-dark: #d75c37;
  --ink: #243c36;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.root :global(*) {
  box-sizing: border-box;
}

.posterShell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.posterFrame {
  position: relative;
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  margin: 0;
  background: var(--paper);
  overflow: clip;
  isolation: isolate;
}

.posterVisual {
  position: relative;
  width: 100%;
  transform-origin: 50% 8%;
  animation: gymSceneEnter 1.1s var(--ease) both;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.posterImage {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.copyLayer {
  position: absolute;
  z-index: 5;
  inset: 0;
  color: var(--pine);
  pointer-events: none;
}

.copyLayer h1,
.copyLayer h2,
.copyLayer p {
  margin: 0;
}

.heroCopy {
  position: absolute;
  top: 6.25%;
  left: 4.4%;
  width: 43%;
  height: 13.25%;
  padding: 0.35% 0 0 0.65%;
  background: #f5f2ec;
}

.heroCopy h1 {
  color: var(--pine);
  font-size: clamp(18px, 5.05cqw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.025em;
}

.heroCopy p {
  margin-top: 1.7%;
  color: var(--orange-dark);
  font-size: clamp(9px, 2.1cqw, 16.5px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tourHeading {
  position: absolute;
  top: 24.6%;
  left: 5.55%;
  width: 36.8%;
  height: 2.75%;
  padding-top: 0.2%;
  border-bottom: 1px solid rgba(23, 63, 55, 0.56);
  background: #f5f2ec;
  font-size: clamp(10px, 3.25cqw, 25.5px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.065em;
  white-space: nowrap;
}

.stepThreeTitle {
  position: absolute;
  top: 39.69%;
  left: 7.15%;
  width: 10.4%;
  height: 1.46%;
  background: #f8f6f0;
  color: var(--orange-dark);
  font-size: clamp(8px, 2.55cqw, 20px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.stepThreeDescription {
  position: absolute;
  top: 41.22%;
  left: 7.08%;
  width: 15.1%;
  height: 2.44%;
  background: #f8f6f0;
  color: #253e38;
  font-size: clamp(5px, 1.48cqw, 11.6px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.posterVisual::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: 60.55%;
  left: 11.5%;
  width: 30%;
  height: 1.25%;
  background: #f5f2ec;
  transform: rotate(-5.2deg);
  transform-origin: left center;
  pointer-events: none;
}

.heroPrice {
  position: absolute;
  z-index: 5;
  top: 22.72%;
  left: 5.25%;
  width: 33.5%;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.32em;
  color: var(--pine);
  font-size: clamp(8px, 2.1cqw, 16.5px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
}

.heroPrice strong {
  color: var(--orange-dark);
  font-size: 1.34em;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.heroPrice small {
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.posterVisual::after {
  content: "";
  position: absolute;
  z-index: 5;
  right: 1px;
  bottom: 1px;
  left: 1px;
  height: 2.5%;
  background: #f5f2ec;
  pointer-events: none;
}

@keyframes gymSceneEnter {
  0% {
    opacity: 0.76;
    transform: perspective(1100px) translateY(16px) rotateX(1.6deg) scale(1.012);
  }
  68% {
    opacity: 1;
    transform: perspective(1100px) translateY(-2px) rotateX(-0.12deg) scale(0.999);
  }
  100% {
    opacity: 1;
    transform: perspective(1100px) translateY(0) rotateX(0) scale(1);
  }
}

.pageAnchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 2rem;
}

.anchorFirst { top: 29.2%; }
.anchorFlow { top: 18.4%; }
.anchorFacility { top: 60.7%; }
.anchorInformation { top: 76.4%; }

.posterNavigation {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.posterNavigation a {
  position: absolute;
  right: 2.8%;
  width: 14.2%;
  height: 1.55%;
  border-radius: 999px;
  pointer-events: auto;
}

.navFirst { top: 4.05%; }
.navFacility { top: 5.68%; }
.navFlow { top: 7.31%; }
.navInformation { top: 8.94%; }

.posterNavigation a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.reserveHotspot {
  position: absolute;
  z-index: 6;
}

.reserveHeader {
  top: 1.12%;
  left: 81.9%;
  width: 16.1%;
  height: 2.08%;
}

.reserveHero {
  top: 19.52%;
  left: 5.1%;
  width: 33.5%;
  height: 2.9%;
}

.reserveFinal {
  top: 89.08%;
  left: 54.2%;
  width: 37.9%;
  height: 3.02%;
}

.ctaButton {
  appearance: none;
  border: 0;
  min-height: 56px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--paper);
  background: var(--orange);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(195, 71, 37, 0.18);
  font: 700 0.96rem/1 "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.hotspotButton {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  opacity: 0;
  border-radius: 6px;
}

.hotspotButton:focus-visible {
  opacity: 0.14;
  outline: 3px solid var(--pine);
  outline-offset: 3px;
}

.ctaButton:hover:not(.hotspotButton) {
  background: var(--orange-dark);
  box-shadow: 0 14px 30px rgba(195, 71, 37, 0.24);
}

.ctaButton:active {
  transform: translateY(1px);
}

.modalLayer {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(11, 36, 31, 0.72);
  backdrop-filter: blur(9px);
}

.modalLayer[hidden] {
  display: none !important;
}

.modal {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100dvh - 44px);
  overflow-y: auto;
  padding: clamp(30px, 6vw, 54px);
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(8, 28, 24, 0.3);
}

.modalClose {
  appearance: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--pine);
  background: rgba(23, 63, 55, 0.08);
  cursor: pointer;
}

.modalEyebrow {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.modal h2 {
  margin: 0;
  color: var(--pine);
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  line-height: 1.35;
}

.modalLead {
  margin: 14px 0 24px;
}

.modalForm {
  display: grid;
  gap: 18px;
}

.modalForm label {
  display: grid;
  gap: 7px;
  color: var(--pine);
  font-size: 0.84rem;
  font-weight: 700;
}

.modalForm input {
  width: 100%;
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid rgba(23, 63, 55, 0.28);
  border-radius: 7px;
  color: var(--ink);
  background: #fffefa;
  font: inherit;
}

.modalSubmit {
  appearance: none;
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font: 700 0.9rem/1 "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  cursor: pointer;
}

.modalClose:focus-visible,
.modalSubmit:focus-visible,
.modalForm input:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
}

.modalForm small {
  text-align: center;
  color: rgba(36, 60, 54, 0.72);
  font-size: 0.72rem;
}

.success {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.success > svg {
  color: var(--orange);
}

.success p {
  margin: 0 0 6px;
}

.srOnly {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 785px) {
  .posterFrame {
    box-shadow: none;
  }
}

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