:root {
  --green: #06c755;
  --green-dark: #05a948;
  --bg: #f4f6f8;
  --text: #2b2f33;
  --err: #d23b3b;
  --ok: #1a8a3c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.card {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}
h1 { font-size: 1.4rem; margin: 8px 0 4px; }
.lead { color: #555; font-size: .95rem; margin: 0 0 20px; }
form { display: flex; flex-direction: column; gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
input, select, textarea {
  font-size: 1rem;
  padding: 12px;
  border: 1px solid #ccd2d8;
  border-radius: 10px;
  background: #fff;
  width: 100%;
}
textarea { resize: vertical; min-height: 70px; }
.req { color: var(--err); font-size: .72rem; font-weight: 700; margin-left: 4px; }
button {
  margin-top: 8px;
  background: var(--green);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
}
button:active { background: var(--green-dark); }
button:disabled { opacity: .55; cursor: default; }
.msg { margin-top: 18px; font-weight: 600; min-height: 1.5em; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }
.testbar {
  background: #fff7d6;
  border: 1px solid #e6d27a;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 18px;
}
.testbar small { display: block; color: #7a6a20; margin-top: 6px; font-weight: 400; }
.hint { color: #777; font-size: .82rem; margin-top: -8px; }
