@charset "utf-8";
/* CSS Document */

/* =====================================================
   Contact Form Styling（空き情報連絡サービス）(見学フォーム)
   ===================================================== */
.requied {
	background: #f20404;
	color: #fff;
	border-radius: 5px;
	padding: 2px 10px;
	margin: 0 0 0 1em;
}
/* --- メッセージ出力 --- */
.wpcf7-response-output {
  text-align: center;
  border: 2px solid #17ff04;
  margin: 40px auto;
  width: 70%;
  font-size: 2rem;
}
.screen-reader-response ul {
  text-align: center;
}

/* --- 基本設定 --- */
body, input, select, textarea, button {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  box-sizing: border-box;
}

/* --- フォーム全体 --- */
.contact-form-wrapper,
.form-block {
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* --- 行構造 --- */
.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.form-label {
  width: 250px;
  font-weight: 600;
  font-size: 1.5em;
  color: #222;
  line-height: 1.6;
}
.form-field {
  flex: 1;
  min-width: 300px;
}
.required {
  color: #e60023;
  font-size: 0.85em;
  margin-left: 4px;
  font-weight: 700;
}

/* --- 入力項目（テキスト・メール・セレクト・テキストエリア） --- */
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1.5em;
  transition: all 0.3s ease;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #0072bc;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 114, 188, 0.2);
}
textarea {
  min-height: 120px;
  resize: vertical;
}

/* =====================================================
   エリアセクション
   ===================================================== */

/* --- 都道府県ブロック --- */
.pref-area {
  margin-bottom: 25px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  overflow: hidden;
}
.pref-title {
  background: #03489d;
  color: #fff;
  font-weight: 700;
  padding: 10px 15px;
  font-size: 1.5em;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
}
.pref-title:hover {
  background: #146edd;
}
.pref-title::after {
  content: "＋";
  position: absolute;
  right: 15px;
  font-weight: normal;
}
.pref-title.open::after {
  content: "－";
}
.pref-list {
  padding: 15px 20px;
  display: none;
}
.pref-list.open {
  display: block;
}

/* --- 各エリア --- */
.parking-area {
  margin-bottom: 15px;
  border-bottom: 1px dotted #ddd;
}
.parking-area:last-child {
  border-bottom: none;
}
.area-title {
  font-weight: 600;
  color: #333;
  font-size: 1.5rem;
  padding: 5px;
  background: #fff;
  cursor: pointer;
}
.area-list {
  padding: 10px;
  background: #fff;
  display: none;
}
.area-list .wpcf7-list-item {
  display: inline-block;
  margin: 3px 8px 10px 0;
  font-size: 1.5rem;
}
.area-list label {
  display: inline-block;
  background: #f4f7fb;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.area-list label:hover {
  background: #e8f1fa;
  border-color: #0072bc;
}
.area-list input[type="checkbox"] {
  margin-right: 4px;
  vertical-align: middle;
}

/* =====================================================
   ボタンエリア
   ===================================================== */
.form-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.form-buttons button,
.form-buttons [type="submit"] {
  flex: 1;
  max-width: 200px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.form-buttons [type="submit"] {
  background-color: #0078d7;
  color: #fff;
}
.form-buttons [type="submit"]:hover {
  background-color: #005fa3;
}
#formResetBtn {
  background-color: #ccc;
  color: #333;
}
#formResetBtn:hover {
  background-color: #999;
}

/* --- 個別配置用 --- */
#resetForm {
  font-size: 1.5rem;
  margin: 0 0 0 auto;
  display: block;
  text-align: right;
}

/* =====================================================
   レスポンシブ対応
   ===================================================== */
@media screen and (max-width: 768px) {
  .form-block {
    padding: 25px 20px;
  }
  .form-row {
    display: block;
  }
  .form-label {
    width: 100%;
    margin-bottom: 10px;
  }
  .form-field {
    width: 100%;
  }
  .pref-title {
    font-size: 1.2em;
  }
  .area-list .wpcf7-list-item {
    display: block;
    margin-bottom: 5px;
  }
}
