.qform-wrap { max-width: 720px; margin: 0 auto; padding: 40px 20px 80px; }
.qform-page { display: none; }
.qform-page.is-active { display: block; }
.qform-intro { margin-bottom: 30px; line-height: 1.7; }
.qform-field { margin-bottom: 24px; }
.qform-label { display: block; font-weight: 400; font-size: 16px; margin-bottom: 8px; color: #222; letter-spacing: 0.02em; }
.qform-label-required::after { content: ' *'; color: #b00020; }
.qform-input, .qform-textarea, .qform-select { width: 100%; padding: 10px 12px; border: 1px solid #d7d7d7; font-family: 'Source Sans Pro', sans-serif; font-size: 16px; color: #333; background: #fff; box-sizing: border-box; }
.qform-textarea { resize: vertical; min-height: 120px; }
.qform-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qform-radio-group { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.qform-radio-label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border: none; border-radius: 0; cursor: pointer; font-size: 16px; line-height: 1.5; color: #333; transition: background 0.2s; }
.qform-radio-label:hover { background: #f7f7f7; }
.qform-radio-label input { margin-top: 3px; flex-shrink: 0; }
.qform-radio-label.is-selected { background: #f0f0f0; font-weight: 400; }
.qform-scale-group { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.qform-scale-label { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #e0e0e0; border-radius: 20px; cursor: pointer; font-size: 16px; color: #555; transition: border-color 0.2s, background 0.2s; }
.qform-scale-label:hover { border-color: #999; }
.qform-scale-label input { display: none; }
.qform-scale-label.is-selected { border-color: #666; background: #f0f0f0; color: #222; font-weight: 600; }
.qform-consent { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid #e0e0e0; border-radius: 6px; background: #fafafa; }
.qform-consent input { margin-top: 3px; flex-shrink: 0; }
.qform-consent-text { font-size: 16px; line-height: 1.6; color: #333; }
.qform-consent-desc { font-size: 14px; color: #888; margin-top: 6px; }
.qform-nav { display: flex; justify-content: space-between; margin-top: 40px; gap: 16px; }
.qform-nav-spacer { flex: 1; }
.qform-error { color: #b00020; font-size: 14px; margin-top: 10px; min-height: 20px; }
.qform-success { text-align: center; padding: 60px 0; }
.qform-clinical { padding: 30px 0; }
.qform-clinical p { margin: 0 0 16px; line-height: 1.7; }
.qform-important { margin-top: 30px; padding: 20px; border: 1px solid #e0e0e0; border-radius: 6px; background: #fafafa; }
.qform-important p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.qform-question-block { margin-bottom: 32px; }
.qform-question-label { font-size: 16px; font-weight: 600; color: #222; margin-bottom: 10px; line-height: 1.5; }
@media (max-width: 600px) {
  .qform-name-grid { grid-template-columns: 1fr; }
  .qform-scale-group { flex-direction: column; }
}