@charset "utf-8";

body {
  background-color: #fafafa;
}

#id_maincontrol_block {
  background-color: #fafafa;
  width: 70%;
  height: auto;
  margin: auto;
  padding-top: calc(80 / 1600 * 100vw);
}
#id_maincontrol_block_child {
  width: 80%;
  margin: auto;
}

.header, .header .site-name-text {
  color: #000;
}
#header {
  background-color: #ffcc00;
}
.header-container-in.hlt-top-menu {
  background-color: #ffcc00;
}

/* footer設定 */
#footer {
  background-color: #ffcc00;
  width: 70%;
  margin: auto;
}

#id_footer_alltext {
  width: 60%;
  height: 100%;
  margin: auto;
  background-color: #ffcc00;
  font-size: 13px;
  margin-top: 20px;
}

#id_footer_detail_block {
  display: flex;
  align-items: center;
  margin: auto;
}

#id_footer_name {
  margin: 20px 0px;
}

#id_footer_detail_left {
  width: 65%;
  height: auto;
  margin: 10px 0px;
}

#id_footer_detail_right {
  width: 35%;
  height: auto;
  margin: 10px 0px;
}

#id_footer_copyright {
  text-align: center;
  margin: 20px 0px;
  font-weight: bold;
}

::placeholder {
  color: #bbb; /* 🔹 グレー */
  font-style: italic; /* 🔹 斜体にする */
  font-size: 14px; /* 🔹 文字サイズ */
  opacity: 1; /* 🔹 薄くならないように調整 */
}



/* 🎯 ラジオボタン・チェックボックスのリストアイテムを横並びに */
.wpcf7-list-item {
  display: inline-block !important;  /* ブロック表示を防ぐ */
  margin-right: 10px; /* 各アイテム間の余白 */
}

/* 🎯 ラジオボタン・チェックボックスの親要素を横並びに */
.wpcf7-radio,
.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap; /* 必要に応じて折り返し */
  gap: 10px;  /* 各項目の間隔 */
}

/* 🎯 各リストアイテムのラベルを適切に配置 */
.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 5px; /* ボタンとラベルの間隔を調整 */
  white-space: nowrap; /* テキストが折り返されないように */
}

/* 🎯 「所在地*」の下にラジオボタンを配置 */
.wpcf7-form p {
  display: block; /* フォーム全体を崩さないように修正 */
}

/* 🎯 フォームの最大幅を指定し、中央配置 */
.wpcf7-form {
  max-width: 1000px;
  margin: 0 auto;
}

/* 🎯 🔥 テキスト入力欄の幅を100%にする（ラジオボタンと区別） */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100% !important; /* 幅を100%に固定 */
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* 🎯 ラベルのデフォルトスタイル */
label {
  width: 100%;
  font-weight: 100;
  margin-top: 0px;
}

/* 🎯 各入力欄（テキスト, メール, 電話, テキストエリア）の間隔を開ける */
.wpcf7-form p {
  margin-bottom: 15px;  /* 各要素の間隔を統一 */
}

/* 🎯 テキスト入力欄の間隔を調整 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px; /* 下の要素との間隔 */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* 🎯 ラジオボタンとチェックボックスの選択肢ごとの間隔 */
.wpcf7-list-item {
  margin-bottom: 10px; /* 選択肢の間隔を調整 */
}

#request_property_info,
#request_property_user {
  font-weight: bold;
  font-size: 18px;
}

form br {
  display: none;
}

input {
  margin: 0px;
  padding: 0px;
}

/* スマホでも横並びにする */
@media screen and (max-width: 834px) {
  .radio-container p {
    flex-direction: row !important; /* 🔹 スマホでも横並びを維持 */
  }
  #id_footer_alltext {
    display: block;
    width: 70%;
    height: 150%;
    font-size: 11px;
    margin-top: 10px;
  }

  #id_footer_name {
    margin: 0px 0px;
  }
  #id_footer_detail_block {
    display: block;
    width: 100%;
    margin: auto;
  }
  #id_footer_detail_left {
    width: 100%;
    height: auto;
    margin: 10px 0px;
  }
  #id_footer_detail_right {
    width: 100%;
    height: auto;
    margin:10px 0px;
    margin-bottom: 20px;
  }
  #id_footer_copyright {
    height: 80px;
    text-align: center;
    margin:10px 0px;
    font-weight: bold;
  }

  #request_property_info,
#request_property_user {
  font-weight: bold;
  font-size: 14px;
}
}




/* 🔹 スマホ対応 (max-width: 834px) */
@media screen and (max-width: 834px) {
  #id_maincontrol_block {
    width: 100%;
  }
  #id_maincontrol_block_child {
    width: 95%;
    margin-top: 20px;
  }
  
  /* footer設定 */
  #footer {
    width: 100%;
  }


}
