:root {
  color-scheme: light;
  --navy: #18365c;
  --paper: #fffaf0;
  --yellow: #f4ca55;
  --coral: #ef7459;
  --blue: #aecde8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #e8edf1;
  color: var(--navy);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

button { font: inherit; }

.lp {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding-bottom: 86px;
  background: var(--paper);
  box-shadow: 0 0 30px rgb(24 54 92 / 10%);
}

.slice {
  position: relative;
  line-height: 0;
  overflow: hidden;
}

.slice__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hotspot:focus-visible {
  outline: 3px solid #1769aa;
  outline-offset: -3px;
  background: rgb(255 255 255 / 16%);
}

.hotspot--cta {
  top: 28%;
  left: 8%;
  width: 84%;
  height: 17%;
  min-height: 64px;
}

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 250 240 / 94%);
  border-top: 1px solid rgb(24 54 92 / 12%);
  backdrop-filter: blur(8px);
}

.sticky-cta__button,
.modal__ok {
  width: min(100%, 398px);
  min-height: 52px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 4px 0 #0e2440;
  cursor: pointer;
}

.sticky-cta__button:active,
.modal__ok:active { transform: translateY(2px); box-shadow: 0 2px 0 #0e2440; }

.sticky-cta__button:focus-visible,
.modal__ok:focus-visible,
.modal__close:focus-visible { outline: 3px solid #f0a400; outline-offset: 3px; }

.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal__backdrop { position: absolute; inset: 0; background: rgb(24 54 92 / 56%); }

.modal__dialog {
  position: relative;
  width: min(100%, 390px);
  padding: 30px 24px 24px;
  border: 3px solid var(--navy);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 14px 0 rgb(24 54 92 / 18%);
  line-height: 1.75;
}

.modal__dialog h2 { margin: 4px 0 12px; font-size: 1.4rem; }
.modal__dialog p { margin: 0 0 20px; }
.modal__label { color: var(--coral); font-weight: 700; }

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.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;
}

@media (min-width: 431px) {
  .sticky-cta { right: auto; left: 50%; width: 430px; transform: translateX(-50%); }
}
