/* 査定申込フォーム専用。共通レイアウトはpage.css。 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; max-width: 480px; margin: 0 auto 34px; }
.step { padding: 9px 4px; text-align: center; background: #eee9e7; color: #74615d; font-size: 12px; font-weight: 700; }
.step.on { background: var(--red); color: #fff; }
form { max-width: 620px; margin: auto; }
.field { padding: 20px 0; border-top: 1px solid var(--line); }
.field:last-of-type { border-bottom: 1px solid var(--line); }
.label { font-weight: 800; margin-bottom: 10px; font-size: 15px; }
.req, .opt { font-size: 10px; padding: 3px 6px; border-radius: 3px; margin-left: 7px; vertical-align: 2px; }
.req { background: var(--red); color: #fff; }
.opt { background: #eee; color: #666; }
input[type=text], input[type=tel], input[type=email], input[type=date], select, textarea { width: 100%; min-width: 0; border: 1px solid #d9cfcc; border-radius: 6px; padding: 13px 12px; font: inherit; background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.radio-row, .checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.choice, .check { display: block; position: relative; }
.choice input, .check input { position: absolute; opacity: 0; }
.choice span, .check span { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid #d9cfcc; border-radius: 6px; text-align: center; padding: 8px; font-size: 13px; font-weight: 700; }
.choice input:checked + span, .check input:checked + span { border-color: var(--red); background: var(--soft); color: var(--red); }
.choice input:focus-visible + span, .check input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.note { font-size: 11px; color: #74615d; margin-top: 7px; line-height: 1.6; }
.date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.agree { font-size: 13px; line-height: 1.7; text-align: center; margin: 26px 0 18px; }
.agree p { margin: 10px 0; }
.agree a { color: #ae3541; text-decoration: underline; text-underline-offset: 3px; }
.error { color: #c52638; font-size: 12px; margin-top: 6px; display: none; }
.confirm { display: none; max-width: 620px; margin: auto; }
.confirm dl { border-top: 1px solid var(--line); }
.confirm dl > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.confirm dt { font-size: 12px; color: #74615d; margin-bottom: 5px; }
.confirm dd { margin: 0; font-weight: 700; white-space: pre-wrap; overflow-wrap: anywhere; }
.actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin-top: 24px; }
.secondary { border: 1px solid #bbb; background: #fff; border-radius: 8px; font-weight: 700; cursor: pointer; }
@media (max-width: 520px) { .date-grid { grid-template-columns: 1fr; } }
