/* 既存フォーム（dl.contact7）のテーマスタイルを引き継ぎ、不足分だけ補う */
.cmls-form input[type="text"],
.cmls-form input[type="tel"],
.cmls-form input[type="email"],
.cmls-form input[type="number"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cmls-form .cmls-radio {
  display: block;
  margin: 0.25em 0;
}
.cmls-form .cmls-error,
.cmls-form .cmls-form-error {
  display: block;
  color: #d32f2f;
  font-size: 0.9em;
  margin-top: 0.25em;
}
.cmls-form .cmls-form-error:empty,
.cmls-form .cmls-error:empty {
  display: none;
}
.cmls-form .cmls-amount {
  font-weight: bold;
}
.cmls-form #cmls-payment-element {
  margin: 0.75em 0;
}
/* アプリ内ブラウザ・ボット対策失敗時の案内 */
.cmls-form .cmls-notice {
  margin: 0 0 1em;
  padding: 0.75em 1em;
  border: 1px solid #f0c36d;
  border-radius: 4px;
  background: #fff8e1;
  font-size: 0.95em;
}
.cmls-form .cmls-notice p {
  margin: 0;
}
.cmls-form .cmls-notice-button {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.5em 1em;
  border-radius: 4px;
  background: #06c755;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.cmls-form #cmls-turnstile {
  padding-bottom: 30px;
}
.cmls-form #cmls-turnstile-notice {
  margin-top: 0.5em;
}

/* 会員規約（フォーム内のスクロール枠） */
.cmls-form .cmls-terms {
  max-height: 20em;
  margin-bottom: 0.75em;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1em 1.25em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fafafa;
  font-size: 0.9em;
  line-height: 1.7;
}
.cmls-form .cmls-terms:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}
.cmls-form .cmls-terms h3 {
  margin: 0 0 0.75em;
  font-size: 1.15em;
  text-align: center;
}
.cmls-form .cmls-terms h4 {
  margin: 1.25em 0 0.25em;
  font-size: 1em;
}
.cmls-form .cmls-terms p,
.cmls-form .cmls-terms ol {
  margin: 0 0 0.5em;
}
.cmls-form .cmls-terms ol {
  padding-left: 1.75em;
}
.cmls-form .cmls-terms li {
  list-style: decimal;
  margin: 0.15em 0;
}
.cmls-form .cmls-terms .cmls-terms-date {
  margin-top: 1.25em;
  text-align: right;
}
.cmls-form #cmls-submit[disabled] {
  opacity: 0.6;
  cursor: wait;
}
