/* ========================================
   contact-block フォームスタイル
   ======================================== */

.contact-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.contact-block .form_kitchen {
  padding: 40px;
  background: #fff;
}

.form_kitchen h2 {
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 2px solid #c8a96e;
  margin-bottom: 20px;
}

.form_kitchen .txt0 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}

.form_kitchen .txt1 {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  background: #f9f6f0;
  border-left: 4px solid #c8a96e;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.form_kitchen table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

.form_kitchen table tr {
  border-bottom: 1px solid #ddd;
}

.form_kitchen table td:first-child {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: bold;
  width: 220px;
  vertical-align: middle;
  border: 1px solid #ddd;
}

.form_kitchen table td:last-child {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.form_kitchen table td span[style*="color: red"] {
  display: inline-block;
  background: #c0392b;
  color: #fff !important;
  font-size: 11px !important;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form_kitchen input[type="text"] {
  width: 90%;
  max-width: 400px;
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form_kitchen input[type="text"]:focus {
  border-color: #c8a96e;
  outline: none;
  box-shadow: 0 0 4px rgba(200, 169, 110, 0.4);
}

.form_kitchen select {
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  min-width: 240px;
  transition: border-color 0.2s;
}

.form_kitchen select:focus {
  border-color: #c8a96e;
  outline: none;
  box-shadow: 0 0 4px rgba(200, 169, 110, 0.4);
}

.form_kitchen textarea {
  width: 90%;
  padding: 8px 10px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form_kitchen textarea:focus {
  border-color: #c8a96e;
  outline: none;
  box-shadow: 0 0 4px rgba(200, 169, 110, 0.4);
}

.form_kitchen table td span[style*="font-size: 90%"] {
  font-size: 11px;
  color: #888;
  display: block;
  margin-top: 4px;
}

.form_kitchen input[type="submit"] {
  background: #c8a96e;
  color: #fff;
  border: none;
  padding: 12px 40px !important;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  margin: 24px auto !important;
  transition: background 0.2s;
  letter-spacing: 0.1em;
}

.form_kitchen input[type="submit"]:hover {
  background: #a8893e;
}

.footer_sp {
  display: none;
}

.footer_sp ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 説明会日時行 非表示時 */
/* .seminar-row {
  display: none;
} */
/* ========================================
   SP レスポンシブ対応
   ======================================== */

@media screen and (max-width: 768px) {
  .contact-block {
    padding: 10px;
    margin-top: 100px;
  }

  .contact-block .form_kitchen {
    padding: 20px 16px;
  }

  .form_kitchen table,
  .form_kitchen tbody,
  .form_kitchen tr,
  .form_kitchen td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .form_kitchen table td:first-child {
    width: 100%;
    border-bottom: none;
    padding: 10px 12px 6px;
  }

  .form_kitchen table td:last-child {
    padding: 6px 12px 12px;
    border-top: none;
  }

  .form_kitchen input[type="text"] {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  .form_kitchen select {
    width: 100%;
    min-width: unset;
    font-size: 16px;
  }

  .form_kitchen textarea {
    width: 100%;
    font-size: 16px;
  }

  .form_kitchen input[type="submit"] {
    width: 100%;
    padding: 14px 20px !important;
    font-size: 16px;
  }
  /* 説明会日時行 非表示時 */
  .seminar-row {
    display: none !important;
  }
  #gnavi_btns {
    display: none;
  }
  .footer_sp {
    display: block;
    padding: 20px 16px;
  }
  .footer_sp .sp-btn {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  .footer_sp .topc a {
    display: block;
    text-align: center;
  }
}
#footer_address2,
#footer_note,
#footer_links {
  width: 100%;
}

/* ========================================
   ラジオボタン（お問い合わせ種別）
   ======================================== */

.form_kitchen input[type="radio"] {
  accent-color: #c8a96e; /* テーマカラーに合わせる */
  transform: scale(1.1);
  margin-right: 6px;
  cursor: pointer;
}

.form_kitchen td label {
  display: block;
  align-items: center;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  margin-bottom: 8px;
  line-height: 1.6;
  transition: color 0.2s;
}

.form_kitchen td label:hover {
  color: #c8a96e;
}

/* ラジオの間隔を少し整える */
.form_kitchen td label + br {
  display: none; /* brの余白をCSS管理に寄せる */
}
