/* DDJ inquiry mock — draft fields + preview submit */

.ddj-form-note,
.ddj-form-rationale {
  font-size: 13px;
  line-height: 1.8;
  color: #5C6B7A;
  margin: 16px 0 0;
  max-width: 40em;
}

.ddj-form-note {
  background: #F3F5F7;
  border: 1px solid #D6DCE4;
  padding: 12px 16px;
}

.ddj-form-rationale {
  padding-top: 8px;
}

.ddj-form-success {
  scroll-margin-top: 120px;
  margin: 32px 0 8px;
  padding: 28px 32px;
  background: #F3F5F7;
  border: 1px solid #D6DCE4;
}

.ddj-form-success[hidden] {
  display: none !important;
}

.ddj-form-success h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0A162E;
  margin: 0 0 12px;
}

.ddj-form-success p {
  color: #5C6B7A;
  line-height: 1.85;
  margin: 0 0 12px;
}

.ddj-form-success button {
  margin-top: 16px;
  background: #0A162E;
  color: #fff;
  border: 0;
  padding: 14px 28px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ddj-form-success .ddj-btn-ghost {
  background: transparent;
  color: #0A162E;
  border: 1px solid #D6DCE4;
  margin-left: 12px;
}

form.is-off {
  display: none !important;
}

/* 必須バッジ（任意バッジは廃止。無印 = 任意） */
#ddj-inquiry .ddj-req {
  display: inline-block !important;
  flex: none;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1 !important;
  color: #fff !important;
  background: #B3261E;
  padding: 4px 8px;
  border-radius: 2px;
}
