:root { --instruction-font: "Noto Sans JP", "Yu Gothic", sans-serif; font-family: var(--instruction-font); color: #172534; background: #edf3f8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.page { max-width: 620px; margin: 0 auto; padding: 42px 20px 32px; }
header { margin-bottom: 28px; }
.eyebrow { margin: 0 0 6px; color: #216294; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
h1 { margin: 0; font-size: 30px; letter-spacing: .03em; }
.lead { margin: 10px 0 0; color: #526271; line-height: 1.65; }
form { padding: 22px; background: #fff; border-radius: 16px; box-shadow: 0 8px 28px rgb(24 57 84 / 12%); }
label { display: block; margin-bottom: 19px; }
.search-field { position: relative; }
label span, .signature-heading span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
input, select { width: 100%; min-height: 48px; border: 1px solid #b8c7d4; border-radius: 8px; padding: 10px 12px; color: #172534; background: #fff; font: inherit; }
input:focus, select:focus { outline: 3px solid #b8def6; border-color: #216294; }
.signature-section { margin: 4px 0 22px; }
.signature-heading { display: flex; justify-content: space-between; align-items: baseline; }
.signature-heading span { margin: 0; }
#clear-signature { border: 0; padding: 4px; color: #216294; background: none; text-decoration: underline; font: inherit; cursor: pointer; }
#signature-pad { display: block; width: 100%; height: 180px; border: 2px dashed #91a8ba; border-radius: 8px; background: #fbfdff; touch-action: none; }
.signature-section p, .privacy { color: #637383; font-size: 13px; line-height: 1.6; }
.message { margin: 0 0 16px; color: #a61d24; font-weight: 700; }
.suggestions { position: absolute; z-index: 2; top: 100%; left: 0; right: 0; max-height: 232px; overflow-y: auto; border: 1px solid #9cadbc; border-radius: 0 0 8px 8px; background: #fff; box-shadow: 0 8px 18px rgb(24 57 84 / 16%); }
.suggestion { display: block; width: 100%; border: 0; border-bottom: 1px solid #edf1f4; padding: 10px 12px; color: #172534; background: #fff; text-align: left; font: inherit; cursor: pointer; }
.suggestion:hover, .suggestion:focus { background: #eaf4fc; outline: 0; }
.submit { width: 100%; min-height: 54px; border: 0; border-radius: 9px; color: #fff; background: #123b63; font: inherit; font-weight: 700; cursor: pointer; }
.submit:disabled { opacity: .65; cursor: wait; }
.privacy { margin: 18px 2px 0; text-align: center; }
@media (max-width: 460px) { .page { padding: 28px 14px; } form { padding: 18px; } h1 { font-size: 27px; } }
