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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #eef7ff;
  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;
}

.form-notes {
  display: grid;
  gap: 10px;
  padding: 24px 18px;
  background: #fff;
  color: #07164b;
}

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

.form-notes h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.form-notes ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-notes li {
  border: 1px solid rgba(0, 104, 255, 0.13);
  border-radius: 8px;
  background: #f7fbff;
  color: #1d2a55;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  padding: 10px 12px;
}

.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  max-width: 480px;
  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: 600;
  line-height: 1.55;
  padding: 12px 14px;
}

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

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

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

.overlay-field {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #07164b;
  caret-color: #0068ff;
  font: 600 clamp(12px, 3vw, 14px) / 1.35 system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
  outline: 0;
  padding: 0 2%;
  -webkit-appearance: none;
  appearance: none;
}

.overlay-field::placeholder {
  color: transparent;
}

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

.overlay-select {
  cursor: pointer;
}

.overlay-textarea {
  padding-top: 1.2%;
  resize: none;
}

.overlay-button {
  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-button:focus-visible {
  outline: 3px solid rgba(0, 95, 255, 0.82);
  outline-offset: 3px;
  background: rgba(0, 95, 255, 0.07);
}

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