@charset "UTF-8";
/* ==========================================================================
   custom.css  ―  2026-08 リニューアル分の追加スタイル

   ※ style.css / reset.css / bootstrap の後に読み込むこと（header.php）
   ※ 既存 style.css には手を入れず、追加分はすべてここに書く
   ※ !important 禁止 / IDセレクタ禁止 / ネスト最大3階層
   ========================================================================== */

/* ==========================================================================
   1. HOME 並び順の制御
   --------------------------------------------------------------------------
   PC : hero →【1】不動産情報INDEX ＋ 高額査定バナー（横並び）
              →【2】売りたい方必見 ＋ 3バナー
   SP : hero →【1】不動産情報INDEX（※高額査定バナーのみ非表示）
              →【2】売りたい方必見 → 3バナー

   ・.home-index-wrap … 【1】のブロック全体（INDEX＋右カラム）
   ・.home-index-side … 【1】の右カラム（高額査定バナー）だけを指す
   ========================================================================== */

/* 【1】不動産情報INDEX ブロック（hero の直下に来るので余白を確保） */
.home-index-wrap {
  padding-top: 30px;
}

/* 【2】売りたい方必見バナー枠
   元の .home-first-bt-area は hero に重ねるため margin-top:-60px が入っている。
   今回は hero 直後ではなく【1】の下に来るので、その負のマージンを打ち消す。 */
.home-first-bt-area.home-first-bt-area--lower {
  margin-top: 0;
  margin-bottom: 40px;
}

@media only screen and (max-width: 768px) {
  /* SP：不動産INDEXは表示したまま、高額査定バナー（右カラム）だけ非表示 */
  .home-index-side {
    display: none;
  }

  .home-index-wrap {
    padding-top: 20px;
  }

  .home-first-bt-area.home-first-bt-area--lower {
    margin-bottom: 30px;
  }
}

/* ==========================================================================
   2. 本文用リスト（reset.css で list-style:none が当たっているため復活させる）
   ========================================================================== */
.content-list {
  margin: 0 0 20px;
  padding-left: 1.6em;
  list-style: disc outside;
}

.content-list li {
  margin-bottom: 8px;
  line-height: 1.8;
  list-style: disc outside;
}

/* アイコン付きのリンクリスト（404ページの導線など） */
.link-list {
  margin: 0 0 20px;
  padding-left: 0;
}

.link-list li {
  padding: 10px 0;
  border-bottom: 1px dotted #d5d0c4;
  line-height: 1.6;
}

.link-list .fa {
  margin-right: 8px;
  color: #0086d3;
}

/* ==========================================================================
   3. Contact Form 7 共通スタイル
   （物件問合せフォーム / 相談会問合せフォーム 共用）
   ========================================================================== */
/* フォーム全体の枠。どこからがフォームか一目で分かるように
   白背景＋角丸＋枠線で囲う（物件・相談会 共通） */
.cf7-form {
  margin: 0 0 40px;
  padding: 30px 35px;
  border: 1px solid #d5d0c4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
}

@media only screen and (max-width: 768px) {
  .cf7-form {
    padding: 20px 15px;
    border-radius: 6px;
  }
}

.cf7-form__lead {
  margin-bottom: 25px;
  line-height: 1.8;
}

/* --- 1行 --- */
.cf7-form__row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dotted #d5d0c4;
}

.cf7-form__row:last-of-type {
  border-bottom: none;
}

.cf7-form__label {
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.5;
}

.cf7-form__req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 3px;
  background: #ff0067;
  color: #fff;
  font-size: 1.1rem;
  font-weight: normal;
  vertical-align: 2px;
}

.cf7-form__any {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 3px;
  background: #999;
  color: #fff;
  font-size: 1.1rem;
  font-weight: normal;
  vertical-align: 2px;
}

.cf7-form__note {
  margin-top: 6px;
  color: #777;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* --- 入力欄 --- */
.cf7-form__input,
.cf7-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9c4b8;
  border-radius: 4px;
  background: #fff;
  font-size: 1.6rem;
  line-height: 1.6;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.cf7-form__textarea {
  min-height: 180px;
  resize: vertical;
}

.cf7-form__input:focus,
.cf7-form__textarea:focus {
  border-color: #0086d3;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 134, 211, 0.15);
}

/* iOS で入力時にズームしないよう 16px 以上を確保 */
@media only screen and (max-width: 768px) {
  .cf7-form__input,
  .cf7-form__textarea {
    font-size: 16px;
  }
}

/* --- ラジオ（ご希望ご連絡方法など） --- */
.cf7-form__radio .wpcf7-list-item {
  display: inline-block;
  margin: 0 20px 8px 0;
}

.cf7-form__radio label {
  font-weight: normal;
  cursor: pointer;
}

.cf7-form__radio input[type="radio"] {
  margin-right: 6px;
  vertical-align: -2px;
}

/* --- 物件名（自動表示・読み取り専用） --- */
.cf7-form__bukken {
  margin-bottom: 25px;
  padding: 14px 18px;
  border-left: 5px solid #0086d3;
  background: #e9eff4;
  border-radius: 3px;
}

.cf7-form__bukken-label {
  display: block;
  margin-bottom: 2px;
  color: #0086d3;
  font-size: 1.2rem;
  font-weight: bold;
}

.cf7-form__bukken-name {
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.5;
}

/* ==========================================================================
   4. 承認チェックボックス（プライバシーポリシー同意）
      Google Material Symbols のアイコンで大きく表示する
      ※ header.php で Material Symbols Outlined を読み込んでいること
   ========================================================================== */
.cf7-form__consent {
  margin: 30px 0;
  padding: 20px;
  border: 2px solid #0086d3;
  border-radius: 6px;
  background: #f5f9fc;
}

.cf7-form__consent-title {
  margin-bottom: 10px;
  color: #d80043;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.6;
}

.cf7-form__consent .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7-form__consent label {
  display: block;
  margin: 0;
  padding: 6px 4px;
  border-radius: 4px;
  font-weight: normal;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.cf7-form__consent label:hover {
  background-color: rgba(0, 134, 211, 0.08);
}

/* ネイティブのチェックボックスは隠す（キーボード操作は維持） */
.cf7-form__consent input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.cf7-form__consent .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* アイコン本体（未チェック状態） */
.cf7-form__consent-icon {
  flex: 0 0 auto;
  color: #8a8a8a;
  font-size: 40px;
  line-height: 1;
  transition:
    color 0.15s ease,
    transform 0.1s ease;
  user-select: none;
}

.cf7-form__consent-icon::before {
  content: "check_box_outline_blank";
}

/* チェック時 */
.cf7-form__consent input[type="checkbox"]:checked ~ .cf7-form__consent-icon,
.cf7-form__consent input[type="checkbox"]:checked ~ * .cf7-form__consent-icon {
  color: #0086d3;
  transform: scale(1.06);
}

.cf7-form__consent
  input[type="checkbox"]:checked
  ~ .cf7-form__consent-icon::before,
.cf7-form__consent
  input[type="checkbox"]:checked
  ~ *
  .cf7-form__consent-icon::before {
  content: "check_box";
}

/* キーボードフォーカス時の視認性 */
.cf7-form__consent input[type="checkbox"]:focus ~ .cf7-form__consent-icon,
.cf7-form__consent input[type="checkbox"]:focus ~ * .cf7-form__consent-icon {
  outline: 2px solid #0086d3;
  outline-offset: 3px;
  border-radius: 4px;
}

.cf7-form__consent-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.4rem;
  line-height: 1.7;
  word-wrap: break-word;
}

.cf7-form__consent-text a {
  color: #0086d3;
  text-decoration: underline;
}

/* ==========================================================================
   5. 送信ボタン
   ========================================================================== */
.cf7-form__submit {
  margin-top: 30px;
  text-align: center;
  position: relative;
}

.cf7-form__btn {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  padding: 18px 30px;
  border: none;
  border-bottom: 4px solid #b5003f;
  border-radius: 6px;
  background: #ff0067;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    transform 0.1s ease;
}

.cf7-form__btn:hover {
  background: #e5005c;
}

.cf7-form__btn:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

.cf7-form__btn:disabled {
  background: #bbb;
  border-bottom-color: #999;
  cursor: not-allowed;
}

/* CF7 送信中スピナー */
.cf7-form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* ==========================================================================
   6. CF7 バリデーション・応答メッセージ
   ========================================================================== */
.cf7-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #d80043;
  font-size: 1.3rem;
  font-weight: bold;
}

.cf7-form .wpcf7-not-valid {
  border-color: #d80043;
  background: #fff5f8;
}

.wpcf7 form .wpcf7-response-output {
  margin: 25px 0 0;
  padding: 15px 20px;
  border-width: 2px;
  border-radius: 4px;
  font-size: 1.5rem;
  line-height: 1.7;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #0086d3;
  background: #eaf5fc;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #d80043;
  background: #fff5f8;
}

/* ==========================================================================
   7. 404 / プライバシーポリシー ページ微調整
   ========================================================================== */
.page-search-form {
  margin-bottom: 30px;
  padding: 18px 20px;
  border-radius: 4px;
  background: #f2f0ec;
}

.page-search-form .form-control {
  min-width: 240px;
  height: 42px;
}

.page-search-form .btn {
  height: 42px;
  padding-left: 25px;
  padding-right: 25px;
}

@media only screen and (max-width: 768px) {
  .page-search-form .form-group,
  .page-search-form .form-control {
    display: block;
    width: 100%;
  }

  .page-search-form .btn {
    display: block;
    width: 100%;
    margin-top: 10px;
  }
}
