/* --- フォーム全体 --- */
.wpcf7 form {
  width: 100%;
  font-family: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #33475b;
}

/* --- フォーム内の全体的な line-height を調整 --- */
.wpcf7 form,
.wpcf7 form p,
.wpcf7 form label,
.wpcf7 form input,
.wpcf7 form textarea,
.wpcf7 form legend {
  line-height: 1 !important;
}

.grid .inquiry .wrap {
    padding-top: 0!important;
}


/* --- フォーム内のpタグのマージン調整 --- */
.wpcf7 form p {
    margin: 0 0 12px;
    padding: 0;
  }
  

/* fieldsetの枠線削除・余白 */
.wpcf7 form fieldset {
    border: none;
    padding: 0.35em 0em 0em;
  }

  /* 2カラム対応（セイ・メイ） */
.form-columns-2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2%;
  }
  .form-columns-2 .field{
    width: 48%;
  }
  .form-columns-2 .wpcf7-form-control-wrap {
    width: auto;
  }

/* --- ラベルと説明文 --- */
.wpcf7 label {
  font-size: 18px;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.form-description {
  font-size: 16px;
  color: #7C98B6;
  margin: 0 0 6px;
}

/* --- 入力欄全体のスタイル --- */
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  display: inline-block;
  width: 100%;
  height: 40px;
  padding: 9px 10px;
  font-size: 16px;
  border: 1px solid #cbd6e2;
  border-radius: 3px;
  background-color: #f5f8fa;
  box-sizing: border-box;
}

/* --- 必須マーク --- */
.hs-form-required {
  color: red;
  margin-left: 4px;
}

/* --- エラーメッセージ --- */
.wpcf7-not-valid-tip {
  color: #f2545b;
  font-size: 14px;
  margin: 4px 0 12px;
  display: block;
}

/* --- フィールド全体 --- */
.wpcf7 .form-row {
  margin-bottom: 18px;
}

/* --- 送信ボタン --- */
.wpcf7 input[type="submit"] {
  font-family: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  color: #fff;
  background-color: #ff7a59;
  border: 1px solid #ff7a59;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s linear;
  margin-top: 2em;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus {
  background-color: #ff8f73;
  border-color: #ff8f73;
}

.wpcf7 input[type="submit"]:active {
  background-color: #e66e50;
  border-color: #e66e50;
}

/* --- 応答メッセージ --- */
.wpcf7-response-output {
  font-size: 16px;
  color: #33475b;
  margin-top: 20px;
}

.recapcha-text {
  margin: 30px;
  font-size: 12px;
  text-align: center;
}

.grecaptcha-badge{
	display:none;
}

.wpcf7-response-output{
 display:none!important;
}

/* モバイル固定表示ボタン（768px以下のみ） */

.cv-fixed-button {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* 表示時にこのクラスが付与されます（JS側で制御） */
.cv-fixed-button.show {
  opacity: 1;
  pointer-events: auto;
}


@media (max-width: 768px) {
  .cv-fixed-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }

  .cv-fixed-button .cv-btn {
    flex: 1;
    text-align: center;

  line-height: 1.4;

    padding: 12px 0;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .cv-fixed-button .btn-mail {
    background-color: #eb6400;
  }

  .cv-fixed-button .btn-tel {
    background-color: #298E01;
  }

  .cv-fixed-button .cv-btn i {
    font-size: 24px;
    margin-bottom:8px;
  }
}