/* 黒背景のベース設定 */
body {
  background-color: #000;
  color: #eee;
  font-family: "Helvetica Neue", sans-serif;
}

/* フォーム全体 */
form {
  max-width: 800px;
  margin: 0 auto;
  color: #eee;
}

/* 行と列 */
.mktoFormRow {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.mktoFormRow p {
  margin-bottom: 30px;
}

.mktoFormCol {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-bottom: 5px;
}

/* ラベル */
label,
.mktoFieldWrap p {
  margin: 0;
  font-weight: bold;
  color: #fff;
}

/* 入力系スタイル */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px;
  background-color: #fff;
  color: #000;
  border: 1px solid #666;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  margin-top: 4px;
}
option {
    color: #000;
}

/* プレースホルダー */
::placeholder {
  color: #888;
}

/* アスタリスク（必須） */
.mktoAsterix {
  color: #ff5555;
  margin-right: 4px;
  display: inline-block;
}

/* 都道府県 + 市区町村 2列表示 */
.form-group:nth-child(1),
.form-group:nth-child(2) {
  margin-right: 4%;
}

.form-group:nth-child(2):last-child {
  margin-right: 0;
}

/* 住所検索ボタン */
button {
  padding: 8px 12px;
  background-color: #444;
  color: #fff;
  border: 1px solid #777;
  border-radius: 3px;
  cursor: pointer;
}

button:hover {
  background-color: #666;
}

/* チェックボックス */
input[type="checkbox"] {
  margin-right: 6px;
  accent-color: #dc3232; /* チェック色 */
  appearance: auto;
  color: #333;
}
.mktoLogicalField.mktoCheckboxList {
    text-align: center;
    line-height: 3.5;
    color: #fff;
}
.mktoLogicalField.mktoCheckboxList a {
    color: #fff;
}


/* テキストエリア */
textarea {
  resize: vertical;
  min-height: 120px;
}

/* プライバシーポリシー */
.privacy-agreement {
  font-size: 13px;
  color: #ccc;
  text-align: center;
  margin-top: 20px;
}

.privacy-agreement a {
  color: #ff6600;
  text-decoration: underline;
}

/* 送信ボタン */
.mktoButtonRow {
  text-align: center;
}

input[type="submit"] {
  padding: 12px 32px;
  font-size: 16px;
  background-color: #656565;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.wpcf7-spinner {
  display: none !important;
}

input[type="submit"]:hover {
  background-color: #e65500;
}

/* モバイル対応 */
@media screen and (max-width: 600px) {
  .mktoFormRow {
    flex-direction: column;
    width: 95%;
    margin: 0 auto 1.5rem;
  }

  .mktoFormRow .mktoFormCol {
    width: 100% !important;
    margin-right: 0 !important;
  }
}
/* フォーム項目のペアを囲むコンテナ */
.form-row {
  display: flex;
  flex-wrap: wrap;
}

/* 各フォーム項目を50%幅にする（PCのみ） */
.form-row .form-group {
  flex: 1;
  min-width: 250px;
}

/* モバイルでは1列に戻す */
@media (max-width: 767px) {
  .form-row {
    flex-direction: column;
  }
}
