*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #edf7ff;
  color: #07164b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

.image-lp {
  width: min(100vw, 443.5px);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 28px rgba(7, 22, 75, 0.08);
}

.mock-form {
  margin: 0;
}

.mock-panel {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.mock-panel img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  user-select: none;
}

.label-patch {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  color: #07164b;
  font-size: clamp(10px, 2.8vw, 13px);
  font-weight: 700;
  line-height: 1;
  padding: 1px 4px 2px;
}

.label-patch--top-code {
  left: 9.9%;
  top: 33.8%;
  width: 28.5%;
  white-space: nowrap;
}

.label-patch-badge {
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  background: #0068ff;
  color: #fff;
  font-size: 0.72em;
  line-height: 1;
  padding: 3px 4px;
}

.nav-copy-patch {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.98);
  color: #005cff;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  pointer-events: none;
}

.nav-copy-patch {
  border-radius: 6px;
  font-size: clamp(12px, 3.1vw, 14px);
  white-space: nowrap;
  left: 4.7%;
  top: 7.15%;
  width: 20.4%;
  height: 3.0%;
  line-height: 1;
}

.overlay-field,
.overlay-button,
.overlay-link {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
}

.overlay-field {
  z-index: 4;
  border: 1px solid rgba(190, 206, 229, 0.92);
  border-radius: 8px;
  background-color: #fff;
  background-image: linear-gradient(#fff, #fff);
  color: #07164b;
  caret-color: #0068ff;
  font: 700 clamp(13px, 3.2vw, 16px) / 1.35 system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
  outline: 0;
  padding: 0 3.2%;
  -webkit-appearance: none;
  appearance: none;
  opacity: 1;
}

.overlay-field-bottom {
  border-radius: 3px;
  font-size: clamp(12px, 3vw, 15px);
  padding: 0 1.5%;
}

.overlay-field::placeholder {
  color: #a9b3c8;
  opacity: 1;
}

.overlay-field:focus-visible {
  outline: 2px solid rgba(0, 95, 255, 0.72);
  outline-offset: 1px;
  background: #fff;
}

.overlay-button,
.overlay-link {
  z-index: 5;
  display: block;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  padding: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 95, 255, 0.18);
}

.overlay-link {
  border-radius: 8px;
}

.overlay-button:focus-visible,
.overlay-link:focus-visible {
  outline: 3px solid rgba(0, 95, 255, 0.82);
  outline-offset: 3px;
  background: rgba(0, 95, 255, 0.07);
}

.mock-toast {
  position: fixed;
  right: max(16px, calc((100vw - 443.5px) / 2 + 16px));
  bottom: 16px;
  left: max(16px, calc((100vw - 443.5px) / 2 + 16px));
  z-index: 10;
  max-width: 411.5px;
  margin: 0 auto;
  border: 1px solid rgba(0, 104, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(7, 22, 75, 0.18);
  color: #07164b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  padding: 12px 14px;
}

.payment-notice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(7, 22, 75, 0.52);
  padding: 20px;
}

.payment-notice-dialog {
  width: min(100%, 390px);
  border: 1px solid rgba(0, 104, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(7, 22, 75, 0.28);
  color: #07164b;
  padding: 20px;
}

.payment-notice-label {
  width: max-content;
  max-width: 100%;
  margin: 0 0 10px;
  border-radius: 6px;
  background: #e8f2ff;
  color: #0068ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
}

.payment-notice-dialog h2 {
  margin: 0 0 10px;
  color: #07164b;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.payment-notice-body {
  margin: 0;
  color: #34435f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
}

.payment-notice-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.payment-notice-primary,
.payment-notice-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  cursor: pointer;
  font: 700 15px / 1.3 system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
  padding: 0 16px;
}

.payment-notice-primary {
  border: 0;
  background: linear-gradient(135deg, #009cff, #0058ff);
  box-shadow: 0 12px 24px rgba(0, 88, 255, 0.22);
  color: #fff;
}

.payment-notice-secondary {
  border: 1px solid rgba(0, 104, 255, 0.28);
  background: #fff;
  color: #005cff;
}

.payment-notice-primary:focus-visible,
.payment-notice-secondary:focus-visible {
  outline: 3px solid rgba(0, 95, 255, 0.7);
  outline-offset: 2px;
}

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

@media (max-width: 360px) {
  .overlay-field {
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .image-lp {
    width: 390px;
  }

  .nav-copy-patch {
    font-size: 13px;
  }

}
