@charset "utf-8";
/* ===============================
   お問い合わせ・ご予約フォーム
=============================== */

.contact {
  width: min(100% - 40px, 1000px);
  margin: 70px auto 90px;
  color: #333;
  font-size: 16px;
  line-height: 1.9;
}

.contact * {
  box-sizing: border-box;
}

.contact-lead,
.contact-note {
  margin: 0;
  line-height: 2;
  letter-spacing: 0.08em;
}

.contact-note {
  margin-bottom: 55px;
}

/* フォーム表 */
.contact-form-table {
  width: 100%;
  border-top: 1px solid #ddd8cf;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid #ddd8cf;
}

.contact-form-head {
  padding: 28px 22px 28px 0;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.contact-form-head span {
  margin-left: 2px;
}

.contact-form-body {
  padding: 24px 0;
}

/* 入力欄 */
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="tel"],
.contact input[type="url"],
.contact input[type="date"],
.contact select,
.contact textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #cfc7bc;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: none;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  outline: none;
  border-color: #9a7d4a;
  background: #fffdf8;
}

.contact-textarea,
.contact textarea {
  min-height: 180px;
  resize: vertical;
}

/* 希望日時 */
.reserve-box {
  margin-bottom: 20px;
}

.reserve-title {
  margin: 0 0 8px;
  letter-spacing: 0.06em;
}

.reserve-flex {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact-date {
  max-width: 260px;
}

.contact-select {
  max-width: 280px;
}

.reserve-caption {
  margin: 8px 0 0;
  font-size: 14px;
  color: #555;
}

/* ラジオ */
.contact .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.contact .wpcf7-list-item {
  margin: 0;
}

.contact .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.contact input[type="radio"],
.contact input[type="checkbox"] {
  margin: 0;
  accent-color: #9a7d4a;
}

/* プライバシーポリシー */
.privacy-box {
  max-height: 280px;
  overflow-y: auto;
  padding: 22px;
  border: 1px solid #cfc7bc;
  background: #faf8f4;
  font-size: 14px;
  line-height: 1.9;
}

.acceptance-box {
  margin-top: 18px;
}

/* 送信ボタン */
.contact-submit {
  margin-top: 45px;
  text-align: center;
}

.contact-submit-btn,
.contact input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  min-height: 56px;
  padding: 14px 28px;
  border: 1px solid #9a7d4a;
  border-radius: 0;
  background: #9a7d4a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-submit-btn:hover,
.contact input[type="submit"]:hover {
  background: #fff;
  color: #9a7d4a;
}

/* エラー */
.contact .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b00020;
  font-size: 14px;
}

.contact .wpcf7-response-output {
  margin: 30px 0 0 !important;
  padding: 15px 20px !important;
  border: 1px solid #cfc7bc !important;
  background: #fffdf8;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .contact {
    width: calc(100% - 30px);
    margin: 45px auto 70px;
    font-size: 15px;
  }

  .contact-note {
    margin-bottom: 35px;
  }

  .contact-form-row {
    display: block;
  }

  .contact-form-head {
    padding: 20px 0 8px;
    font-weight: 700;
  }

  .contact-form-body {
    padding: 0 0 22px;
  }

  .reserve-flex {
    display: block;
  }

  .reserve-flex .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 10px;
  }

  .contact-date,
  .contact-select {
    max-width: 100%;
  }

  .contact .wpcf7-radio {
    display: block;
  }

  .contact .wpcf7-list-item {
    display: block;
    margin-top: 6px;
  }

  .contact-submit-btn,
  .contact input[type="submit"] {
    width: 100%;
  }
}

/* 必須案内文・必須マーク */
.contact-note {
  color: #c00000;
}

.contact-form-head span {
  color: #c00000;
  font-weight: 500;
}

/* ===============================
   サンクスページ
=============================== */

.thanks {
  width: min(100% - 40px, 1000px);
  margin: 70px auto 90px;
  color: #333;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
}

.thanks * {
  box-sizing: border-box;
}

.thanks-inner {
  padding: 55px 60px 60px;
  border-top: 1px solid #ddd8cf;
  border-bottom: 1px solid #ddd8cf;
  background: #faf8f4;
}

.thanks-title {
  margin: 0 0 28px;
  color: #9a7d4a;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.thanks-text {
  margin: 0;
  line-height: 2;
  letter-spacing: 0.06em;
}

.thanks-text + .thanks-text {
  margin-top: 14px;
}

.thanks-note {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid #ddd8cf;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.thanks-btn-wrap {
  margin-top: 45px;
  text-align: center;
}

.thanks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  min-height: 56px;
  padding: 14px 28px;
  border: 1px solid #9a7d4a;
  border-radius: 0;
  background: #9a7d4a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.thanks-btn:hover {
  background: #fff;
  color: #9a7d4a;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .thanks {
    width: calc(100% - 30px);
    margin: 45px auto 70px;
    font-size: 16px;
	  text-align:start;
  }

  .thanks-inner {
    padding: 38px 20px 42px;
  }

  .thanks-title {
    margin-bottom: 22px;
    font-size: 22px;
  }

  .thanks-note {
    margin-top: 24px;
    padding-top: 20px;
    text-align: left;
  }

  .thanks-btn-wrap {
    margin-top: 35px;
  }

  .thanks-btn {
    width: 100%;
  }
}