:root {
  --lp-width: 430px;
  --cta-width: 351.25px;
}

* {
  box-sizing: border-box;
}

html {
  background: #e9e9e9;
}

body {
  min-width: 320px;
  margin: 0;
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
  background: #e9e9e9;
  color: #2b2b2b;
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricprecision;
}

a {
  color: inherit;
}

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

.lp-shell {
  width: 100%;
  max-width: var(--lp-width);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 3%);
}

.lp-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1563 / 49187;
  overflow: hidden;
  background: #fff;
}

.layer {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: cover;
}

img.layer {
  pointer-events: none;
}

.cta-layer {
  z-index: 2;
  line-height: 0;
  border-radius: 999px;
  transform-origin: center;
  animation: line-cta-pulse 2.4s ease-in-out infinite;
}

.cta-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px 16px;
  background: #f8f5ee;
  color: #333;
  text-align: center;
}

.footer-logo {
  display: block;
  width: 104px;
  height: auto;
}

.footer-tagline,
.footer-copy {
  margin: 0;
  letter-spacing: 0;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 9px;
  font-size: 10px;
  line-height: 1.5;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links a:focus-visible {
  outline: 2px solid #ff9700;
  outline-offset: 3px;
}

.footer-copy {
  color: #111;
  font-size: 10px;
  line-height: 1.2;
}

.fixed-cta-wrap {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 -8px 24px rgb(0 0 0 / 12%);
  backdrop-filter: blur(8px);
}

.fixed-cta {
  width: min(calc(100vw - 40px), var(--cta-width));
  line-height: 0;
  border-radius: 999px;
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / 22%));
  transform-origin: center;
  animation: line-cta-pulse 2.4s ease-in-out infinite;
}

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

.fixed-cta:focus-visible,
.cta-layer:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #06c755;
}

@keyframes line-cta-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  45% {
    transform: translateY(-2px) scale(1.025);
  }

  58% {
    transform: translateY(0) scale(0.995);
  }
}

.video-card {
  z-index: 2;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.video-card:active {
  transform: scale(0.97);
}

.video-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card:focus-visible {
  outline: 3px solid #ff9700;
  outline-offset: 3px;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.video-modal-inner {
  position: relative;
  z-index: 1;
  width: min(430px, calc(100vw - 24px), calc((9 / 16) * (100dvh - 288px)));
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 70px -18px rgba(0, 0, 0, 0.8);
  ring: 1px solid rgba(255, 255, 255, 0.15);
}

.video-modal-inner video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .fixed-cta,
  .cta-layer {
    animation: none;
  }
}

@media (max-width: 360px) {
  .footer-layer {
    gap: 6px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .footer-logo {
    width: 92px;
  }

  .footer-tagline {
    font-size: 12px;
  }

  .footer-links {
    font-size: 9px;
    gap: 2px 6px;
  }

  .footer-copy {
    font-size: 9px;
  }

  .fixed-cta {
    width: calc(100vw - 24px);
  }

  .fixed-cta-wrap {
    padding-right: 12px;
    padding-left: 12px;
  }
}
