@charset "UTF-8";
@font-face {
  font-family: "Kanata-kanji";
  src: url("../font/Kanata-kanji.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
:root {
  --scale: 0.0694444444vw;
  --max: 1;
}
@media screen and (max-width: 767px) {
  :root {
    --scale: 0.2666666667vw;
    --max: 10;
  }
}

/* ------------------------------------------------
 * 確認画面なしフォーム 追加スタイル
 * ------------------------------------------------ */
/* エラーメッセージ
.c-form-text はカスタム用
*/
.c-form-error,
.c-form-text {
  margin-top: min(calc(20 * var(--scale)), calc(20px * var(--max)));
  color: #c8352b;
  font-size: min(calc(14 * var(--scale)), calc(14px * var(--max)));
  line-height: 1.6;
  white-space: nowrap;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}

.consultation__form .c-form-error {
  margin-top: 0;
}

.c-form-error--global {
  margin-top: min(calc(24 * var(--scale)), calc(24px * var(--max)));
  padding: min(calc(16 * var(--scale)), calc(16px * var(--max)));
  border: 1px solid #c8352b;
  border-radius: 4px;
  background: #fdf2f1;
  text-align: center;
}

.c-form-error[hidden] {
  display: none;
}

/* エラーになった項目 */
.is-invalid input,
.is-invalid textarea,
.is-invalid select,
input.is-invalid,
textarea.is-invalid,
select.is-invalid {
  border-color: #c8352b;
}

/* 非表示の CF7 本体（display:none にはしない） */
.c-cf7-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 送信中のボタン */
.c-btn.is-sending {
  opacity: 0.6;
  pointer-events: none;
}

/* 条件表示（「その他」選択時のみ表示されるテキストエリア） */
[data-show-if][hidden] {
  display: none;
}

/* 完了メッセージ */
.consultation__thanks,
.inquiry__thanks {
  padding: 32px 24px;
  text-align: center;
  line-height: 2;
}

.consultation__thanks[hidden],
.inquiry__thanks[hidden] {
  display: none;
}
/*# sourceMappingURL=simple-form.css.map */