/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 13 2026 | 05:20:47 */
/* =====================================
   ここち お問い合わせフォーム
===================================== */

.cocochi-contact-form {
  width: 100%;
  color: #4a4039;
  font-size: 0.9rem;
  line-height: 1.6;
}


/* =====================================
   フォームテーブル
===================================== */

.cocochi-contact-table {
  width: 100%;
  border-top: 1px dashed #c4b998;
  border-left: 1px dashed #c4b998;
  border-right: 1px dashed #c4b998;
}

.cocochi-contact-row {
  display: grid;
  grid-template-columns: 29% 71%;
  min-height: 50px;
  border-bottom: 1px dashed #c4b998;
}


/* =====================================
   左側：項目名
===================================== */

.cocochi-contact-label {
  display: flex;
  align-items: center;
  padding: 12px 22px;

  background: rgba(174, 164, 145, .40);

  border-right: 1px dashed #c4b998;

  font-weight: 600;
}


/* 必須マーク */

.cocochi-contact-label .required {
  margin-left: 4px;
  color: #df675e;
  font-weight: 400;
}


/* =====================================
   右側：入力部分
===================================== */

.cocochi-contact-field {
  display: flex;
  align-items: center;
  padding: 10px 24px;
  min-width: 0;
}


/* =====================================
   テキスト入力
===================================== */

.cocochi-contact-form input[type="text"],
.cocochi-contact-form input[type="email"],
.cocochi-contact-form input[type="tel"] {
  width: 100%;
  max-width: 340px;
  height: 32px;

  padding: 4px 7px;

  background: #fff;
  border: 1px solid #888;
  border-radius: 0;
  box-shadow: none;

  color: #444;
  font-size: 0.9rem;

  box-sizing: border-box;
}


/* 郵便番号は少し短く */

.cocochi-contact-form input[name="postal_code"] {
  max-width: 170px;
}


/* 住所は長め */

.cocochi-contact-form input[name="address"] {
  max-width: 480px;
}


/* 電話番号 */

.cocochi-contact-form input[name="phone"],
.cocochi-contact-form input[name="mobile"] {
  max-width: 250px;
}


/* =====================================
   ラジオボタン
===================================== */

.cocochi-contact-radio {
  align-items: flex-start;
}

.cocochi-contact-radio .wpcf7-form-control {
  display: flex;
  flex-direction: column;
}

.cocochi-contact-radio .wpcf7-list-item {
  display: block;
  margin: 0;
  line-height: 1.5;
}

.cocochi-contact-radio input[type="radio"] {
  margin: 0 5px 0 0;
  vertical-align: middle;
}


/* =====================================
   お問い合わせ内容
===================================== */

.cocochi-contact-message-row {
  min-height: 160px;
}

.cocochi-contact-message-row .cocochi-contact-label {
  align-items: flex-start;
  padding-top: 14px;
}

.cocochi-contact-message-row .cocochi-contact-field {
  align-items: flex-start;
}

.cocochi-contact-form textarea {
  width: 100%;
  max-width: 490px;
  height: 120px;

  padding: 7px;

  background: #fff;
  border: 1px solid #888;
  border-radius: 0;
  box-shadow: none;

  color: #444;
  font-size: 0.9rem;

  resize: vertical;
  box-sizing: border-box;
}


/* =====================================
   送信ボタン
===================================== */

.cocochi-contact-submit {
  margin-top: 48px;
  text-align: center;
}

.cocochi-contact-submit input[type="submit"] {
  width: 300px;
  max-width: 90%;
  min-height: 42px;

  padding: 8px 30px;

  border: none;
  border-radius: 30px;

  background: #e55c63;
  color: #fff;

  font-size: 0.9rem;
  font-weight: 400;

  cursor: pointer;

  transition: opacity .2s ease;
}

.cocochi-contact-submit input[type="submit"]:hover {
  opacity: .8;
}


/* =====================================
   CF7 エラー表示
===================================== */

.cocochi-contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
}

.cocochi-contact-form .wpcf7-response-output {
  margin: 25px 0 0 !important;
}


/* =====================================
   スマホ
===================================== */

@media (max-width: 767px) {

  .cocochi-contact-row {
    display: block;
    min-height: 0;
  }

  .cocochi-contact-label {
    padding: 9px 12px;

    border-right: none;
    border-bottom: 1px dashed #c4b998;

    background: rgba(174, 164, 145, .32);
  }

  .cocochi-contact-field {
    padding: 10px 12px 14px;
  }

  .cocochi-contact-form input[type="text"],
  .cocochi-contact-form input[type="email"],
  .cocochi-contact-form input[type="tel"],
  .cocochi-contact-form textarea {
    width: 100%;
    max-width: 100%;
  }

  .cocochi-contact-form input[name="postal_code"] {
    max-width: 60%;
  }

  .cocochi-contact-message-row {
    min-height: 0;
  }

  .cocochi-contact-form textarea {
    height: 140px;
  }

  .cocochi-contact-submit {
    margin-top: 30px;
  }

}