.elementor-15 .elementor-element.elementor-element-d6410ad > .elementor-container{max-width:700px;}.elementor-15 .elementor-element.elementor-element-d6410ad{margin-top:50px;margin-bottom:50px;padding:0px 0px 0px 0px;}@media(max-width:767px){.elementor-15 .elementor-element.elementor-element-d6410ad{margin-top:30px;margin-bottom:30px;}}/* Start custom CSS *//* =========================
   底地相談フォーム 全体
========================= */

.sokochi-contact-form {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #222;
  box-sizing: border-box;
}

.sokochi-contact-form * {
  box-sizing: border-box;
}

.sokochi-contact-form h1,
.sokochi-contact-form h2,
.sokochi-contact-form h3 {
  margin-top: 0;
  line-height: 1.5;
  color: #111;
}

/* =========================
   タイトル・上部確認枠
========================= */

.form-main-title,
.sokochi-contact-form h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-note-box {
  background: #f7f4ed;
  border: 1px solid #e1d8c8;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 34px;
}

.form-note-box h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-note-box ul {
  margin: 0;
  padding-left: 1.3em;
}

.form-note-box li {
  margin-bottom: 8px;
}

/* =========================
   各フォーム行
========================= */

.form-row {
  margin-bottom: 26px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 16px;
  color: #111;
}

.required,
.optional {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: middle;
  font-weight: 700;
}

.required {
  background: #b33a2f;
  color: #fff;
}

.optional {
  background: #e9e9e9;
  color: #555;
}

/* =========================
   入力欄共通
========================= */

.sokochi-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.sokochi-contact-form input[type="text"],
.sokochi-contact-form input[type="email"],
.sokochi-contact-form input[type="tel"],
.sokochi-contact-form select,
.sokochi-contact-form textarea {
  display: block;
  width: 100% !important;
  max-width: 100%;
  padding: 14px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  box-sizing: border-box;
}

.sokochi-contact-form textarea {
  min-height: 190px;
  resize: vertical;
}

.sokochi-contact-form input:focus,
.sokochi-contact-form select:focus,
.sokochi-contact-form textarea:focus {
  outline: none;
  border-color: #a98743;
  box-shadow: 0 0 0 2px rgba(169, 135, 67, 0.15);
}

/* =========================
   補足文・注意書き
========================= */

.form-help {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #666;
}

/* ★追加：メールの注意喚起を目立たせる装飾 */
.important-notice {
  background-color: #fdf5f5;
  border: 1px solid #f2cece;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #c0392b;
}

.important-notice strong {
  color: #a93226;
  font-weight: 700;
}

/* =========================
   ラジオ・チェックボックス
========================= */

.sokochi-contact-form .wpcf7-radio,
.sokochi-contact-form .wpcf7-checkbox {
  display: block;
  width: 100%;
}

.sokochi-contact-form .wpcf7-radio .wpcf7-list-item,
.sokochi-contact-form .wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin: 0 0 8px 0;
}

.sokochi-contact-form .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.7;
  cursor: pointer;
}

.sokochi-contact-form input[type="radio"],
.sokochi-contact-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.35em;
  flex: 0 0 auto;
}

/* ★追加：PC表示(768px以上)の時だけ、チェックボックスとラジオボタンを2列にする */
@media (min-width: 768px) {
  .sokochi-contact-form .wpcf7-radio,
  .sokochi-contact-form .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列均等割り */
    gap: 8px 20px; /* 縦の余白8px、横の余白20px */
  }
  .sokochi-contact-form .wpcf7-radio .wpcf7-list-item,
  .sokochi-contact-form .wpcf7-checkbox .wpcf7-list-item {
    margin: 0; /* gridのgapを使用するため個別のmarginは解除 */
  }
  /* ★追加：項目が奇数個の場合、最後の項目をぶち抜きで全幅表示にしてレイアウトを整える */
  .sokochi-contact-form .wpcf7-checkbox .wpcf7-list-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* =========================
   送信ボタン
========================= */

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.sokochi-contact-form input[type="submit"] {
  display: inline-block;
  width: 100%;
  max-width: 520px;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  background: #a98743;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.sokochi-contact-form input[type="submit"]:hover {
  opacity: 0.86;
}

/* =========================
   ボタン下のプライバシー補足
========================= */

.form-privacy-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: #666;
  text-align: center; /* 中央揃えに変更 */
}

.form-privacy-note p {
  margin: 0 0 4px;
}

.form-privacy-note p:last-child {
  margin-bottom: 0;
}

.form-privacy-note a {
  color: #b44b4b;
  text-decoration: underline;
}

/* =========================
   エラー表示
========================= */

.sokochi-contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 14px;
  color: #d33;
}

.sokochi-contact-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
}

/* =========================
   スマホ調整
========================= */

@media (max-width: 767px) {
  .sokochi-contact-form {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 15px;
  }

  .form-main-title,
  .sokochi-contact-form h1 {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .form-note-box {
    padding: 18px 16px;
    margin-bottom: 30px;
  }

  .form-note-box h3 {
    font-size: 18px;
  }

  .form-row {
    margin-bottom: 25px;
  }

  .sokochi-contact-form input[type="text"],
  .sokochi-contact-form input[type="email"],
  .sokochi-contact-form input[type="tel"],
  .sokochi-contact-form select,
  .sokochi-contact-form textarea {
    font-size: 16px;
    padding: 13px 14px;
  }

  .sokochi-contact-form textarea {
    min-height: 180px;
  }

  .form-help {
    font-size: 13px;
    line-height: 1.75;
  }
  
  .important-notice {
    font-size: 13px;
    padding: 10px 14px;
  }

  .sokochi-contact-form input[type="submit"] {
    max-width: 100%;
    font-size: 17px;
    padding: 15px 20px;
  }

  .form-privacy-note {
    font-size: 11px;
    line-height: 1.65;
    margin-top: 10px;
  }
}/* End custom CSS */