/* =========================================================
   Page: Contact
========================================================= */

.p-contactPage {
  background: #fff;
}

.p-contactPage__inner {
  max-width: 860px;
}

.p-contactPage__label {
  color: var(--color-accent);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.p-contactPage__title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.45;
  letter-spacing: .05em;
}

.p-contactPage__body {
  margin-top: 28px;
  color: var(--color-sub);
  font-size: 1rem;
  line-height: 2.05;
}

.p-contactPage__body p + p {
  margin-top: 1.25em;
}

.p-contactPage__notice {
  margin-top: 36px;
  padding: 26px 28px;
  border: 1px solid var(--color-line);
  background: #f8f3ea;
}

.p-contactPage__notice h2 {
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: .05em;
}

.p-contactPage__notice p {
  margin-top: 10px;
  color: var(--color-sub);
  line-height: 1.9;
}

.p-contactPage__actions {
  margin-top: 30px;
}

/* =========================================================
   Contact Form
========================================================= */

.p-contactPage__form {
  margin-top: 42px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--color-line);
  background: #f8f3ea;
}

.p-contactPage__form h2 {
  margin: 0 0 22px;
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: .05em;
}

.tpocs-comm-form {
  color: var(--color-ink);
}

.tpocs-comm-form__body {
  margin: 0;
}

.tpocs-comm-form__field {
  margin: 0 0 20px;
}

.tpocs-comm-form__field label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-ink);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.6;
}

.tpocs-comm-form__field input,
.tpocs-comm-form__field select,
.tpocs-comm-form__field textarea {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 13px;
  border: 1px solid var(--color-line);
  border-radius: 0;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
}

.tpocs-comm-form__field textarea {
  min-height: 160px;
  resize: vertical;
}

.tpocs-comm-form__field input:focus,
.tpocs-comm-form__field select:focus,
.tpocs-comm-form__field textarea:focus {
  outline: 2px solid rgba(147, 88, 44, .22);
  outline-offset: 2px;
  border-color: var(--color-accent);
}

.tpocs-comm-form__required {
  margin-left: .5em;
  color: var(--color-accent);
  font-size: .78rem;
  font-weight: 700;
}

.tpocs-comm-form__notice {
  margin: 22px 0 0;
  color: var(--color-sub);
  font-size: .92rem;
  line-height: 1.8;
}

.tpocs-comm-form__notice a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tpocs-comm-form__agree {
  margin: 18px 0 0;
  color: var(--color-sub);
  font-size: .92rem;
  line-height: 1.8;
}

.tpocs-comm-form__agree label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.tpocs-comm-form__agree input {
  margin-top: .35em;
}

.tpocs-comm-form__message {
  margin-top: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.tpocs-comm-form__message--error {
  color: #9f2f23;
}

.tpocs-comm-form__message--success {
  color: #3f6f37;
}

.tpocs-comm-form__submit {
  margin: 28px 0 0;
}

.tpocs-comm-form__submit-button {
  min-width: 220px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  background: var(--color-ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
}

.tpocs-comm-form__submit-button:hover,
.tpocs-comm-form__submit-button:focus-visible {
  background: var(--color-accent);
}

.tpocs-comm-form__submit-button.is-disabled,
.tpocs-comm-form__submit-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .p-contactPage__form {
    padding: 22px 18px;
  }

  .tpocs-comm-form__submit-button {
    width: 100%;
  }
}
