/* ========================================
   お問い合わせフォーム
   ======================================== */

.contact-page {
  padding: clamp(48px, 8vw, 80px) 0;
  background: #f8f6f0;
}

.contact-page__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #2d5a42;
  text-align: center;
  margin: 0 0 12px;
}

.contact-page__lead {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin: 0 auto 40px;
  max-width: 36em;
}

.contact-page__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 560px;
  margin: 0 auto;
}

.contact-page__info {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #d4ddd4;
}

.contact-page__info-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2d5a42;
  margin: 0 0 8px;
}

.contact-page__info-title:not(:first-child) {
  margin-top: 24px;
}

.contact-page__phone {
  margin: 0 0 4px;
}

.contact-page__phone a {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2EA875;
  text-decoration: none;
}

.contact-page__phone a:hover {
  color: #2d5a42;
}

.contact-page__note {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

.contact-page__info p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
  color: #444;
}

.contact-page__form-wrap {
  background: #fff;
  border-radius: 8px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #d4ddd4;
}

.inquiry-form__field {
  margin-bottom: 20px;
}

.inquiry-form__field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.inquiry-form__required {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: #2d5a42;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.inquiry-form__field input,
.inquiry-form__field textarea,
.inquiry-form__field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #d4ddd4;
  border-radius: 4px;
  background: #fff;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.inquiry-form__field input:focus,
.inquiry-form__field textarea:focus,
.inquiry-form__field select:focus {
  outline: none;
  border-color: #2d5a42;
  box-shadow: 0 0 0 3px rgba(45, 90, 66, 0.12);
}

.inquiry-form__lodging {
  margin-bottom: 20px;
  padding: 16px;
  background: #f0f7f0;
  border: 1px solid #d4ddd4;
  border-radius: 6px;
}

.inquiry-form__lodging-note {
  font-size: 0.85rem;
  color: #555;
  margin: 0 0 16px;
  line-height: 1.6;
}

.inquiry-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 480px) {
  .inquiry-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .inquiry-form__row .inquiry-form__field {
    margin-bottom: 16px;
  }
}

.inquiry-form__field textarea {
  resize: vertical;
  min-height: 140px;
}

.inquiry-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.inquiry-form__spam-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d5a42;
  margin: 0 0 8px;
}

.inquiry-form__spam-question span {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
}

.inquiry-form__message {
  display: none;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.inquiry-form__message.is-visible {
  display: block;
}

.inquiry-form__message.is-success {
  background: #e8f5e9;
  color: #2d5a42;
  border: 1px solid #c8e6c9;
}

.inquiry-form__message.is-error {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
}

.inquiry-form__submit {
  display: block;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #2d5a42;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.inquiry-form__submit:hover:not(:disabled) {
  background: #1e3d2d;
}

.inquiry-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- お問い合わせ完了 ---------- */
.contact-thanks__card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d4ddd4;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
}

.contact-thanks__icon {
  margin: 0 0 8px;
  font-size: 3rem;
  line-height: 1;
  color: #2d5a42;
}

.contact-thanks .contact-page__title {
  margin-bottom: 16px;
}

.contact-thanks__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin: 0 0 20px;
}

.contact-thanks__note {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #666;
  margin: 0 0 8px;
}

.contact-thanks__phone {
  margin: 0 0 28px;
}

.contact-thanks__phone a {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2EA875;
  text-decoration: none;
}

.contact-thanks__phone a:hover {
  color: #2d5a42;
}

.contact-thanks__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .contact-thanks__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.contact-thanks__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.contact-thanks__btn--primary {
  background: #2d5a42;
  color: #fff;
  border: 2px solid #2d5a42;
}

.contact-thanks__btn--primary:hover {
  background: #1e3d2d;
  border-color: #1e3d2d;
  color: #fff;
}

.contact-thanks__btn--secondary {
  background: #fff;
  color: #2d5a42;
  border: 2px solid #2d5a42;
}

.contact-thanks__btn--secondary:hover {
  background: #f0f7f0;
  color: #2d5a42;
}

