@charset "UTF-8";
/* フォーム全体の外枠 */
.custom-contact-form {
  max-width: 800px;
  margin: 0 auto;
  font-family: sans-serif;
  color: #333;
}

/* 各項目の区切り線（上下の境界線） */
.custom-contact-form .form-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}

.custom-contact-form .form-item:first-child {
  border-top: 1px solid #e0e0e0;
}

/* 項目ラベルと※必須の装飾 */
.custom-contact-form .form-label {
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 10px 0;
}

.custom-contact-form .required {
  color: red;
  font-size: 12px;
  margin-left: 6px;
  font-weight: normal;
}

/* 入力欄（お名前・フリガナ・メールアドレス） */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"] {
  width: 100%;
  max-width: 380px;
  height: 36px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  background-color: #fff;
}

/* 電話番号の3分割入力欄 */
.custom-contact-form input[type="tel"] {
  width: 100%;
  max-width: 380px;
  height: 36px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}.form-field.form-tel-group p{
    display: flex;
    align-items: center;
    gap: 8px;
}
/* お問い合わせ内容（テキストエリア） */
.custom-contact-form textarea {
  width: 100%;
  height: 180px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

/* 店舗のチェックボックス */
.custom-contact-form .wpcf7-checkbox .wpcf7-list-item {
  margin: 0 20px 0 0;
  display: inline-block;
}

/* 個人情報ポリシーのスクロール枠 */
.custom-contact-form .privacy-box {
  border: 1px solid #ccc;
  padding: 15px;
  height: 140px;
  overflow-y: scroll;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  background-color: #fff;
  margin-bottom: 15px;
}

/* 「同意する」チェックボックス（左寄せ） */
.custom-contact-form .privacy-checkbox {
  margin-top: 10px;
}

/* ボタンエリア */
.custom-contact-form .form-submit {
  text-align: center;
  margin-top: 30px;
}

/* 送信・確認ボタン */
.custom-contact-form .btn-submit {
  background-color: #006837;
  color: #fff;
  border: none;
  width: 100%;
  max-width: 380px;
  padding: 14px 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0;
  transition: opacity 0.2s;
}

.custom-contact-form .btn-submit:hover {
  opacity: 0.85;
}

/* 確認画面用の2列ボタン（戻る・送信） */
.custom-contact-form .confirm-buttons {
  display: flex;
  flex-direction: column;
    align-items: center;}


.custom-contact-form .btn-back {
  background-color: #888;
  color: #fff;
  border: none;
  width: 100%;
  max-width: 180px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0;
  transition: opacity 0.2s;
    margin-bottom: 10px !important;
}

.custom-contact-form .btn-back:hover {
  opacity: 0.85;
}
.contact_text{
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}
/* ==========================================
   レスポンシブ対応（画面幅 768px 以下）
   ========================================== */
@media screen and (max-width: 768px) {
    .contact-container.sp-container {
        width: 100%;
        padding-top: 8vw;
    }
  /* フォーム全体のパディング調整 */
  .custom-contact-form {
      width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
.wpcf7 {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
  /* 入力欄（お名前・フリガナ・メール・電話番号）を横幅100%に広げる */
  .custom-contact-form input[type="text"],
  .custom-contact-form input[type="email"],
  .custom-contact-form input[type="tel"] {
    max-width: 100%;
  }

  /* 電話番号を3分割で横並びさせている場合のレスポンシブ調整 */
  .form-field.form-tel-group p {
    flex-wrap: nowrap; /* 画面が狭くなっても崩れないようにする */
    gap: 4px;
  }

  /* 3分割電話番号の入力欄サイズを可変にする */
  .form-field.form-tel-group input[type="tel"] {
    width: 30%;
    min-width: 0;
    padding: 6px 4px;
    font-size: 14px;
  }

  /* 店舗チェックボックスの配置調整 */
  .custom-contact-form .wpcf7-checkbox .wpcf7-list-item {
    margin: 0 15px 8px 0;
  }

  /* 個人情報スクロール枠の高さ調整 */
  .custom-contact-form .privacy-box {
    height: 120px;
    padding: 10px;
    font-size: 13px;
  }

  /* 送信ボタン（確認画面へ）を幅100%にする */
  .custom-contact-form .btn-submit {
    max-width: 100%;
    font-size: 16px;
    padding: 12px 0;
  }
}