:root { --ink: #222; --muted: #555; --line: #d8d2c4; --accent: #1f3864; --bg: #faf8f3; --err: #b00020; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; line-height: 1.7; font-size: 16px; }
header.site, footer.site { text-align: center; padding: 16px; }
header.site img { max-width: 100%; height: auto; }
footer.site { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 48px; }
main { max-width: 720px; margin: 0 auto; padding: 0 16px 32px; }
h1 { font-size: 1.4rem; margin: 8px 0 16px; word-break: keep-all; overflow-wrap: anywhere; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px 16px; margin: 0 0 16px; background: var(--bg); }
legend { font-weight: 700; padding: 0 6px; }
label { display: block; margin: 12px 0 0; font-weight: 600; }
label.check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
label.check input { margin-top: 6px; }
label.check > span { flex: 1 1 auto; min-width: 0; }
input:not([type=checkbox]):not([type=radio]), textarea { display: block; width: 100%; margin-top: 4px; padding: 10px; font: inherit; border: 1px solid #b9b2a2; border-radius: 6px; background: #fff; }
textarea { resize: vertical; }
.q { margin: 14px 0 4px; font-weight: 600; }
.choices label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 0; }
.choices input { margin-top: 6px; }
.req { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--err); border-radius: 4px; padding: 0 6px; vertical-align: middle; white-space: nowrap; }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.notice { border-left: 4px solid var(--accent); background: #f1f4fa; padding: 8px 14px; margin: 0 0 16px; border-radius: 4px; }
.notice.small { font-size: 14px; }
.notice ul { padding-left: 1.2em; margin: 6px 0; }
.error { color: var(--err); font-weight: 700; }
.invalid { outline: 2px solid var(--err); outline-offset: 2px; }
.person { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 4px; }
button { font: inherit; cursor: pointer; }
button#send { display: block; width: 100%; padding: 14px; font-size: 1.1rem; font-weight: 700; color: #fff; background: var(--accent); border: 0; border-radius: 8px; }
button#send[disabled] { opacity: .6; cursor: wait; }
button.sub { margin-top: 10px; padding: 6px 12px; border: 1px solid var(--accent); color: var(--accent); background: #fff; border-radius: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.cf-turnstile { margin-top: 16px; }
a { color: var(--accent); }
