/* ============================================================
   CONTACT PAGE — juri tone, minimal editorial form
   ============================================================ */

.contact-page {
  position: relative;
  z-index: 1;
  padding: 140px 32px 80px;
  max-width: 760px;
  margin: 0 auto;
}

/* Hero */
.contact-hero { text-align: center; margin-bottom: 64px; }
.contact-hero h1 {
  font-family: "Klee One", "Noto Sans JP", serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #1B2A4E;
}
.contact-lead-text {
  margin-top: 32px;
  font-size: 1.45rem;
  line-height: 2;
  color: #444;
  letter-spacing: .04em;
}

/* Form */
.contact-form-section { position: relative; }

#contact-form {
  background: #fff;
  border: 1px solid #E5E0D6;
  border-radius: 8px;
  padding: 56px 48px;
  box-shadow: 0 24px 48px -32px rgba(20,40,80,.18);
}

.field {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}
.field:last-of-type { margin-bottom: 0; }

.field label {
  font-family: "Klee One", "Noto Sans JP", serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #1B2A4E;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.field .req {
  color: #C8453A;
  font-weight: 500;
  margin-left: 4px;
}
.field .optional {
  color: #888;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: .04em;
  margin-left: 4px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1.45rem;
  color: #2E2E2E;
  background: #FBFAF6;
  border: 1px solid #E5E0D6;
  border-radius: 4px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color .25s ease, background .25s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #1B2A4E;
  background: #fff;
}
.field input:user-invalid,
.field textarea:user-invalid,
.field select:user-invalid {
  border-color: #C8453A;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #1B2A4E 50%),
                    linear-gradient(135deg, #1B2A4E 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.8;
}

/* Consent */
.field.consent { margin-top: 16px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #444;
  cursor: pointer;
  letter-spacing: .02em;
  margin-bottom: 0;
}
.consent-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #B89968;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 4px;
  cursor: pointer;
  position: relative;
  transition: background .25s ease;
}
.consent-label input[type="checkbox"]:checked {
  background: #B89968;
}
.consent-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.consent-label .note {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
  color: #888;
}

/* Honeypot - hidden but accessible */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Submit */
.submit-btn {
  width: 100%;
  margin-top: 40px;
  padding: 18px 32px;
  background: #C8453A;
  color: #FBFAF6;
  border: 1px solid #C8453A;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, transform .35s ease;
  position: relative;
}
.submit-btn:hover:not(:disabled) {
  background: transparent;
  color: #C8453A;
  transform: translateY(-2px);
}
.submit-btn:disabled { opacity: .6; cursor: wait; }
.submit-loading { display: none; }
.submit-btn.is-loading .submit-label { display: none; }
.submit-btn.is-loading .submit-loading { display: inline; }

/* Error */
.form-error {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(200, 69, 58, 0.08);
  border-left: 3px solid #C8453A;
  color: #C8453A;
  font-size: 1.25rem;
  border-radius: 4px;
}

/* Thanks card */
.thanks-card {
  background: #fff;
  border: 1px solid #E5E0D6;
  border-radius: 8px;
  padding: 80px 48px;
  text-align: center;
  box-shadow: 0 24px 48px -32px rgba(20,40,80,.18);
}
.thanks-eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: .3em;
  color: #B89968;
  margin-bottom: 18px;
}
.thanks-card h2 {
  font-family: "Klee One", "Noto Sans JP", serif;
  font-size: 2.0rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #1B2A4E;
  margin-bottom: 28px;
}
.thanks-text {
  font-size: 1.4rem;
  line-height: 2;
  color: #444;
  margin-bottom: 36px;
}
.thanks-back {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: .2em;
  color: #1B2A4E;
  border-bottom: 1px solid #1B2A4E;
  padding-bottom: 4px;
  transition: opacity .25s ease;
}
.thanks-back:hover { opacity: .6; }

/* Footer adjust */
.footer {
  background: #1B2A4E;
  color: #E9F1F8;
  padding: 36px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  letter-spacing: .12em;
  margin-top: 80px;
}

/* Mobile */
@media (max-width: 820px) {
  .contact-page { padding: 110px 20px 56px; }
  .contact-hero { margin-bottom: 48px; }
  .contact-hero h1 { font-size: 2.2rem; }
  .contact-lead-text { font-size: 1.35rem; margin-top: 24px; }

  #contact-form { padding: 36px 24px; }
  .field { margin-bottom: 26px; }
  .field label { font-size: 1.3rem; margin-bottom: 10px; }
  .field input, .field select, .field textarea { font-size: 1.55rem; padding: 13px 14px; }

  .submit-btn { font-size: 1.4rem; padding: 16px 28px; }

  .thanks-card { padding: 56px 24px; }
  .thanks-card h2 { font-size: 1.7rem; }
  .thanks-text { font-size: 1.3rem; }

  .footer { flex-direction: column; gap: 6px; padding: 20px; text-align: center; }
}

@media (max-width: 480px) {
  .contact-page { padding: 96px 16px 40px; }
  #contact-form { padding: 28px 18px; }
  .contact-hero h1 { font-size: 1.95rem; }
}
