@charset "UTF-8";

/* ========================================
   マツシタホーム お問合せフォーム専用CSS
   ※デザイン変更なし・style.cssから分離
======================================== */

/* ========================================
   マツシタホーム お問合せフォーム
======================================== */


/* ----------------------------------------
   フォーム全体
---------------------------------------- */

.entry-content .wpcf7 {
  width: 750px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.5;
}


/* ----------------------------------------
   「お問合せ」見出し
   元サイト contact_h2.gif 準拠
---------------------------------------- */

.entry-content .wpcf7 .contact-title {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: auto;
  margin: 0 0 22px;
  padding: 0;
  box-sizing: border-box;
  color: #222;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  border: 0;
  background: none;
}

.entry-content .wpcf7 .contact-title::after {
  content: "";
  flex: 1 1 auto;
  min-width: 40px;
  height: 1px;
  background: #bfc0c0;
}


/* ----------------------------------------
   冒頭説明
---------------------------------------- */

.entry-content .wpcf7 .contact-intro {
  width: 100%;
  margin: 0 0 18px;
  padding: 0;

  font-size: 13px;
  font-weight: normal;
  line-height: 1.6;
}

.entry-content .wpcf7 .contact-intro strong {
  display: block;
  margin: 0;
  padding: 0;

  font-size: 13px;
  font-weight: normal;
  line-height: 1.6;
}

.entry-content .wpcf7 .required-note {
  display: block;
  margin: 0;
  padding: 0;

  color: #c42921;
  font-size: 12px;
  line-height: 1.5;
}

/* 冒頭2行の間隔を詰める */
.entry-content .wpcf7 .contact-intro br {
  display: none;
}

/* 必須マーク */
.entry-content .wpcf7 .required-mark {
  color: #c42921;
  font-size: 12px;
}

/* 「複数選択可」 */
.entry-content .wpcf7 .form-note {
  margin-left: 6px;
  font-size: 11px;
  font-weight: normal;
  color: #777;
}


/* ----------------------------------------
   各フォーム項目
---------------------------------------- */

.entry-content .wpcf7 .form-row {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  box-sizing: border-box;
}


/* 項目名 */
.entry-content .wpcf7 .form-label {
  display: block;
  width: 100%;
  margin: 0 0 3px;
  padding: 0;
  box-sizing: border-box;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
}


/* 入力欄側 */
.entry-content .wpcf7 .form-field {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-size: 13px;
  font-weight: normal;
  line-height: 1.4;
}


/* Cocoon・Contact Form 7由来の不要な段落余白を解除 */
.entry-content .wpcf7 .form-row p,
.entry-content .wpcf7 .form-label p,
.entry-content .wpcf7 .form-field p {
  margin: 0;
  padding: 0;
}


/* Contact Form 7の入力欄ラッパー */
.entry-content .wpcf7 .form-field .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
  padding: 0;
}


/* ----------------------------------------
   テキスト入力欄
---------------------------------------- */

.entry-content .wpcf7 .form-field input[type="text"],
.entry-content .wpcf7 .form-field input[type="email"],
.entry-content .wpcf7 .form-field input[type="tel"] {
  display: block;
  width: 100%;
  height: 38px;

  margin: 0;
  padding: 7px 9px;
  box-sizing: border-box;

  border: 1px solid #ccc;
  border-radius: 2px;

  background: #fff;
  color: #333;

  font-size: 14px;
  font-weight: normal;
  line-height: 1.25;
}


/* ----------------------------------------
   お問合せ内容
---------------------------------------- */

.entry-content .wpcf7 .form-field textarea {
  display: block;
  width: 100%;
  min-height: 170px;

  margin: 0;
  padding: 9px;
  box-sizing: border-box;

  border: 1px solid #ccc;
  border-radius: 2px;

  background: #fff;
  color: #333;

  font-size: 14px;
  font-weight: normal;
  line-height: 1.3;

  resize: vertical;
}


/* ----------------------------------------
   チェックボックス・ラジオボタン
---------------------------------------- */

.entry-content .wpcf7 .form-field .wpcf7-list-item {
  display: block;
  margin: 0 0 1px;
  padding: 0;
}

.entry-content .wpcf7 .form-field .wpcf7-list-item:last-child {
  margin-bottom: 0;
}

.entry-content .wpcf7 .form-field .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 6px;

  margin: 0;
  padding: 0;

  font-size: 13px;
  font-weight: normal;
  line-height: 1.5;
}

.entry-content .wpcf7 .form-field input[type="checkbox"],
.entry-content .wpcf7 .form-field input[type="radio"] {
  flex: 0 0 auto;
  margin: 2px 0 0;
}


/* ----------------------------------------
   個人情報について
---------------------------------------- */

.entry-content .wpcf7 .privacy-note {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  box-sizing: border-box;

  color: #666;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.6;
}

.entry-content .wpcf7 .privacy-note a {
  color: #555;
  text-decoration: underline;
}


/* ----------------------------------------
   Turnstile
---------------------------------------- */

.entry-content .wpcf7 .turnstile-area {
  width: 100%;
  margin: 8px 0 20px;
  padding: 0;
}


/* ----------------------------------------
   送信ボタン
---------------------------------------- */

.entry-content .wpcf7 .form-submit {
  width: 100%;
  margin: 22px 0 40px;
  padding: 0;
  text-align: left;
}

.entry-content .wpcf7 .form-submit input[type="submit"] {
  min-width: 100px;
  margin: 0;
  padding: 9px 18px;
  box-sizing: border-box;

  border: 1px solid #c42921;
  border-radius: 2px;

  background: #c42921;
  color: #fff;

  font-size: 13px;
  cursor: pointer;
}

.entry-content .wpcf7 .form-submit input[type="submit"]:hover {
  opacity: 0.75;
}

@media screen and (max-width: 834px) {
  /* New Information と同じ考え方で、PC値から自然に縮小 */
  .entry-content .wpcf7 {
    padding: 10px 15px 20px;
    font-size: clamp(11px, calc(9.75px + 0.389vw), 13px);
  }

  .entry-content .wpcf7 .contact-title {
    margin-bottom: 20px;
    font-size: clamp(16px, calc(14.76px + 0.389vw), 18px);
  }

  .entry-content .wpcf7 .contact-intro,
  .entry-content .wpcf7 .contact-intro strong {
    font-size: clamp(11px, calc(9.75px + 0.389vw), 13px);
  }

  .entry-content .wpcf7 .required-note,
  .entry-content .wpcf7 .required-mark {
    font-size: clamp(10px, calc(8.75px + 0.389vw), 12px);
  }

  .entry-content .wpcf7 .form-note,
  .entry-content .wpcf7 .privacy-note {
    font-size: clamp(10px, calc(9.38px + 0.195vw), 11px);
  }

  .entry-content .wpcf7 .form-label,
  .entry-content .wpcf7 .form-field,
  .entry-content .wpcf7 .form-field .wpcf7-list-item label {
    font-size: clamp(11px, calc(9.75px + 0.389vw), 13px);
  }

  /* iPhoneの入力時ズーム対策：入力欄の文字だけ16px */
  .entry-content .wpcf7 .form-field input[type="text"],
  .entry-content .wpcf7 .form-field input[type="email"],
  .entry-content .wpcf7 .form-field input[type="tel"],
  .entry-content .wpcf7 .form-field textarea {
    font-size: 16px;
  }

  .entry-content .wpcf7 .form-submit input[type="submit"] {
    font-size: clamp(12px, calc(11.38px + 0.195vw), 13px);
  }

  .entry-content .wpcf7 .form-row {
    margin-bottom: 15px;
  }

  .entry-content .wpcf7 .form-submit {
    margin-top: 18px;
    margin-bottom: 24px;
  }



  /* ----------------------------------------
     お問合せフォーム
  ---------------------------------------- */

  .entry-content .wpcf7 {
    width: 100%;
    max-width: 100%;

    margin: 0;
    box-sizing: border-box;
  }


  /* 「お問合せ」見出し */

  .entry-content .wpcf7 .contact-title {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }


  /* 各フォーム項目 */

  .entry-content .wpcf7 .form-row,
  .entry-content .wpcf7 .form-label,
  .entry-content .wpcf7 .form-field {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }


  /* テキスト入力欄 */

  .entry-content .wpcf7 .form-field input[type="text"],
  .entry-content .wpcf7 .form-field input[type="email"],
  .entry-content .wpcf7 .form-field input[type="tel"],
  .entry-content .wpcf7 .form-field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }


  /* チェックボックス・ラジオボタン */

  .entry-content .wpcf7 .form-field .wpcf7-list-item,
  .entry-content .wpcf7 .form-field .wpcf7-list-item label {
    max-width: 100%;
    box-sizing: border-box;
  }


  /* ----------------------------------------
     Turnstile
  ---------------------------------------- */

  .entry-content .wpcf7 .turnstile-area {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }


  /* ----------------------------------------
     送信ボタン
  ---------------------------------------- */

  .entry-content .wpcf7 .form-submit {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

}