:root {
  --navy: #14263f;
  --cream: #fff5df;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--navy);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
button { font: 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;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: #ffdd4c;
  color: var(--navy);
}
.skip-link:focus { transform: none; }
.lp {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.visual-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.visual-section img {
  display: block;
  width: 100%;
  height: auto;
}
.image-hotspot {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 999px;
  background: transparent;
  transition: background-color 500ms ease, box-shadow 500ms ease;
}
.image-hotspot:hover,
.image-hotspot:active {
  background: rgb(255 255 255 / 15%);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 45%);
}
.image-hotspot:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.image-hotspot--fv { left: 4.1%; top: 87.8%; width: 91.8%; height: 8.9%; }
.image-hotspot--trial { left: 4.5%; top: 88.6%; width: 91%; height: 9%; border-radius: 16px; }
.image-hotspot--final { left: 3.8%; top: 84.2%; width: 92.4%; height: 9.4%; }

/* The whole image reveals without moving its section or changing the composition. */
.motion-ready .visual-section:not(#fv):not(.is-visible) img { opacity: .94; }
.motion-ready .visual-section:not(#fv) img { transition: opacity 500ms ease; }

.site-footer {
  max-width: 700px;
  margin: 0 auto;
  padding: 18px 16px 22px;
  background: #0e223c;
  color: var(--cream);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.demo-dialog {
  width: min(90vw, 420px);
  border: 0;
  border-radius: 18px;
  padding: 26px;
  background: var(--cream);
  color: var(--navy);
  box-shadow: 0 18px 60px rgb(20 38 63 / 25%);
  line-height: 1.7;
}
.demo-dialog::backdrop { background: rgb(20 38 63 / 65%); }
.demo-dialog h2 { margin: 0 0 12px; font-size: 20px; }
.demo-dialog p { margin: 0 0 20px; font-size: 14px; }
.demo-dialog form { text-align: right; }
.demo-dialog button {
  border: 0;
  border-radius: 999px;
  padding: 9px 24px;
  background: #ffdd4c;
  color: var(--navy);
  cursor: pointer;
}
.demo-dialog button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready .visual-section img,
  .image-hotspot { transition: none; }
  .motion-ready .visual-section:not(#fv):not(.is-visible) img { opacity: 1; }
}
