:root {
  color-scheme: light;
  --navy: #08152e;
  --blue: #3557e8;
  --ice: #9bd7ff;
  --paper: #f5f4f0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--navy);
}
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 30;
  top: -5rem;
  left: 1rem;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: #fff;
  color: var(--navy);
  font-size: 1rem;
}
.skip-link:focus { top: 1rem; }

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

.lp {
  width: min(100%, 760px);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 96px #0005;
}
.panel {
  position: relative;
  width: 100%;
  line-height: 0;
  background: var(--paper);
}
.panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 7;
  object-fit: cover;
}
.panel--expanded img { aspect-ratio: auto; }
.image-cta {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.image-cta--fv { left: 8%; width: 84%; top: 89.1%; height: 7.5%; }
.image-cta--final { left: 5%; width: 90%; top: 89.2%; height: 8%; }
.image-cta:focus-visible {
  outline: 4px solid #e8f367;
  outline-offset: 2px;
}

.site-footer {
  padding: 2rem 1.25rem 3rem;
  background: var(--navy);
  color: #e7eefb;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
}
.site-footer p { margin: .25rem 0; }
.site-footer .footer-brand { margin-bottom: 1rem; font-size: 1.3rem; font-weight: 700; letter-spacing: .28em; }
.site-footer .footer-small { font-size: .875rem; color: #a9b9d7; }

.sticky-cta {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .5rem max(.75rem, env(safe-area-inset-left)) calc(.5rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #08152e00, #08152eea 28%);
  visibility: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.sticky-cta.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }
.sticky-cta a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border: 1px solid #5cbbff;
  border-radius: 999px;
  background: linear-gradient(120deg, #009feb, #0755df);
  box-shadow: 0 5px 20px #03184488;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
.sticky-cta a:focus-visible { outline: 3px solid #e8f367; outline-offset: 2px; }

dialog {
  width: min(calc(100vw - 2rem), 460px);
  padding: 0 1.5rem 1.5rem;
  border: 1px solid #94baff;
  border-radius: 1rem;
  background: #f8fbff;
  color: var(--navy);
  box-shadow: 0 24px 80px #0008;
  line-height: 1.8;
}
dialog::backdrop { background: #030a1ec9; }
.dialog-accent { height: 5px; margin: 0 -1.5rem 1.25rem; background: linear-gradient(90deg, #00b7f3, var(--blue)); }
dialog h2 {
  margin: 0 0 .5rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-break: strict;
  word-break: keep-all;
  text-wrap: balance;
}
dialog p { margin: 0 0 1.25rem; font-size: 1rem; }
dialog button {
  display: block;
  min-height: 48px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
dialog button:focus-visible { outline: 3px solid #e8f367; outline-offset: 2px; }

@media (min-width: 761px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta { transition: none; }
}
