@charset "utf-8";
/* 色の変数定義 */
:root{
  --primary-700: #3650D6;
  --white: #fff;
  --gray-line-300: #D2D2D2;
  --gray-200: #fafafa;
  --red-emergency: #F01000;
}
/*form-mailer Reset*/
form * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  outline: none;
}

.hs-form-field {
  padding-bottom: 10px;
}

/* 送信ボタン上のエラーメッセージ出力箇所 */
.legal-consent-container .hs-richtext p {
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 10px;
}
/* ラベル */
.hs-form-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  position: relative;
}

/*必須マーク*/
.hs-form-required {
  width: 0;
  font-size: 0;
  order: 1;
  display: block;
  float: left;
  width: auto;
}
.hs-form-required::before {
  content: "必須";
  display: block;
  color: var(--white);
  background: var(--red-emergency);
  font-size: 12px;
  border-radius: 5px;
  letter-spacing: 0;
  padding: 5px 8px 6px;
  font-weight: 700;
  line-height: 100%;
  margin: 0 5px 0 0;
}
/* 各項目の個別エラーメッセージ */
.hs-form-field label.hs-error-msgs,
.hs-form-field label.hs-error-msg {
  color: var(--red-emergency);
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 0;
  font-weight: normal;
}
/* サブミット押下時の全体エラーメッセージ */
.hs_error_rollup .no-list.hs-error-msgs.inputs-list label.hs-main-font-element {
  color: var(--red-emergency);
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 10px;
  text-align: center;
  display: block;
}

/* 入力系フィールドの共通設定 */
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form textarea,
.hs-form select {
  width: 100%;
  padding: 10px 20px;
  border: 1px solid var(--gray-line-300);
  border-radius: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1;
  background-color: var(--gray-200);
}
@media (hover: hover) {
  .hs-form input[type="text"]:hover,
  .hs-form input[type="email"]:hover,
  .hs-form input[type="tel"]:hover,
  .hs-form textarea:hover,
  .hs-form select:hover {
    cursor: pointer;
  }
}

::placeholder {
  color: var(--gray-line-300);
}

/* チェックボックス・ラジオ */
.hs-form input[type="checkbox"],
.hs-form input[type="radio"] {
  margin-right: 8px;
  vertical-align: middle;
}

/* セレクトボックス */
.hs-form select {
  -webkit-appearance: none;
  appearance: none;
}
.hs-form .hs-fieldtype-select{
  position: relative;
}
.hs-form .hs-fieldtype-select::after{
  content: '';
  display: inline-block;
  position: absolute;
  top: 48px;
  right: 25px;
  width: 8px;
  height: 8px;
  z-index: 0;
  border-left: 2px solid var(--primary-700);
  border-bottom: 2px solid var(--primary-700);
  transform: rotate(-45deg);
}

/* テキストエリアサイズ調整 */
.hs-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* フォーカス時のエフェクト */
.hs-form input[type="text"]:focus,
.hs-form input[type="email"]:focus,
.hs-form input[type="tel"]:focus,
.hs-form textarea:focus,
.hs-form select:focus {
  border-color: var(--primary-700);
  outline: none;
}

/* 入力エラー時のエフェクト */
.hs-form input.error,
.hs-form textarea.error,
.hs-form select.error {
  border-color: var(--red-emergency);
}

/* 送信ボタン */
.hs-form input[type="submit"],
.hs-form .hs-button.primary {
  font-size: 16px;
  font-weight: 700;
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 20px;
  background: var(--primary-700);
  border: 1px solid var(--primary-700);
  text-align: center;
  color: var(--white);
  border-radius: 5px;
  line-height: 1;
  font-family: "Noto Sans JP", Lato, "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  cursor: none;
}
/* ホバー・フォーカス時の送信ボタン */
@media (hover: hover) {
  .hs-form input[type="submit"]:hover,
  .hs-form .hs-button.primary:hover {
    color: var(--primary-700);
    background-color: var(--white);
    border: 1px solid var(--primary-700);
    cursor: pointer;
  }
}
.hs-form input[type="submit"]:focus,
.hs-form .hs-button.primary:focus {
  color: var(--primary-700);
  background-color: var(--white);
  border: 1px solid var(--primary-700);
  cursor: pointer;
}

/* レスポンシブ対応（モバイル用） */
@media (max-width: 480px) {
  .hs-form {
    padding: 0 10px;
  }
}