@charset "UTF-8";

.pmContactPage,
.pmContactSubPage {
  background: var(--pm-bg);
}

.pm-contact-main {
  min-height: 100vh;
  background:
    url("../common/img/bg_hero_shape1.png") top center / cover no-repeat,
    var(--pm-bg);
}

.pm-contact-hero {
  padding: 176px 24px 72px;
  text-align: center;
}

.pm-contact-hero .pm-kicker {
  margin-bottom: 18px;
}

.pm-contact-hero h1 {
  margin: 0;
  background: var(--pm-grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
}

.pm-contact-hero p:last-child {
  margin: 28px 0 0;
  color: var(--pm-navy);
  font-size: var(--pm-body-size);
  font-weight: 500;
  line-height: var(--pm-body-leading);
  letter-spacing: var(--pm-tracking);
}

.pm-contact-section {
  padding: 0 24px 120px;
}

.pm-contact-container {
  width: min(920px, 100%);
  margin: 0 auto;
}

.pm-contact-guide {
  margin: 0 0 20px;
  color: var(--pm-navy);
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
}

.pm-contact-guide span {
  color: #d33939;
  font-weight: 700;
}

.pm-contact-form {
  padding: 40px 64px 64px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
}

.pm-form-field {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid #d6e3ef;
}

.pm-form-field legend {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
  float: left;
  width: 220px;
  margin: 0 32px 0 0;
  padding: 0;
  color: var(--pm-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.pm-form-field legend + * {
  grid-column: 2;
}

.pm-form-label {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
  color: var(--pm-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.pm-form-required,
.pm-form-optional {
  display: inline-flex;
  min-width: 38px;
  height: 22px;
  margin-left: 0;
  padding: 0 7px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: 2px;
}

.pm-form-required {
  background: #d33939;
  color: #fff;
}

.pm-form-optional {
  background: #dce8f3;
  color: #51647a;
}

.pm-form-control {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  border: 1px solid #a9bfd4;
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: var(--pm-navy);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.pm-form-control::placeholder {
  color: #8b9aad;
  opacity: 1;
}

.pm-form-control:focus {
  border-color: var(--pm-blue);
  box-shadow: 0 0 0 3px rgba(0, 78, 162, .12);
}

.pm-form-field.is-error .pm-form-control {
  border-color: #d33939;
  background: #fffafa;
}

.pm-form-field.is-error .pm-form-control:focus {
  border-color: #c92f2f;
  box-shadow: 0 0 0 3px rgba(211, 57, 57, .12);
}

.pm-form-error {
  grid-column: 2;
  margin: -12px 0 0;
  color: #c92f2f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.pm-form-field--choices .pm-form-error {
  margin-top: 12px;
}

textarea.pm-form-control {
  height: 208px;
  padding-top: 15px;
  resize: vertical;
}

.pm-form-choices {
  display: grid;
  gap: 12px 20px;
}

.pm-form-choices--two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pm-form-choices--three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pm-form-choices--inline {
  grid-template-columns: repeat(3, max-content);
  gap: 12px 32px;
}

.pm-form-choices label,
.pm-form-consent {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 9px;
  color: var(--pm-navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.pm-form-choices input,
.pm-form-consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--pm-blue);
}

.pm-form-privacy {
  padding: 40px 0 0;
}

.pm-form-privacy > h2 {
  margin: 0 0 20px;
  color: var(--pm-navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.pm-form-privacy__document {
  height: 190px;
  overflow-y: auto;
  padding: 20px 24px;
  border: 1px solid #a9bfd4;
  border-radius: 4px;
  background: #fff;
  color: var(--pm-navy);
  font-size: 13px;
  line-height: 1.9;
}

.pm-form-privacy__document h3,
.pm-form-privacy__document h4,
.pm-form-privacy__document p {
  margin: 0;
}

.pm-form-privacy__document h3 {
  margin-bottom: 14px;
  font-size: 16px;
}

.pm-form-privacy__document h4 {
  margin-top: 14px;
  font-size: 14px;
}

.pm-form-consent {
  width: fit-content;
  margin: 22px auto 0;
  align-items: center;
  font-size: 15px;
}

.pm-form-consent input {
  margin-top: 0;
}

.pm-form-actions {
  padding-top: 42px;
  text-align: center;
}

.pm-form-submit {
  display: inline-flex;
  width: min(360px, 100%);
  height: 64px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 4px;
  background: var(--pm-grad);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: opacity .2s ease, transform .2s ease;
}

.pm-form-submit:hover {
  opacity: .86;
  transform: translateY(-2px);
}

.pm-form-submit:link,
.pm-form-submit:visited,
.pm-form-submit:hover,
.pm-form-submit:active {
  color: #fff;
}

.pm-form-submit:focus-visible {
  outline: 3px solid rgba(0, 78, 162, .3);
  outline-offset: 3px;
}

.pm-form-static-notice {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid #83b8df;
  border-radius: 4px;
  background: #e5f4ff;
  color: var(--pm-navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.pm-confirm-list {
  margin: 0;
}

.pm-confirm-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid #d6e3ef;
}

.pm-confirm-row dt,
.pm-confirm-row dd {
  margin: 0;
  color: var(--pm-navy);
  font-size: 16px;
  line-height: 1.8;
}

.pm-confirm-row dt {
  font-weight: 700;
}

.pm-confirm-row dd {
  font-weight: 500;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.pm-confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 48px;
}

.pm-confirm-actions .pm-confirm-back,
.pm-confirm-actions .pm-form-submit {
  width: min(320px, 100%);
}

.pm-confirm-back {
  display: inline-flex;
  width: min(280px, 100%);
  height: 64px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pm-blue);
  border-radius: 4px;
  background: #fff;
  color: var(--pm-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.pm-confirm-back:hover {
  background: var(--pm-blue);
  color: #fff;
  transform: translateY(-2px);
}

.pm-confirm-back:focus-visible {
  outline: 3px solid rgba(0, 78, 162, .3);
  outline-offset: 3px;
}

.pm-confirm-back:link,
.pm-confirm-back:visited {
  color: var(--pm-blue);
}

.pm-confirm-back:hover,
.pm-confirm-back:active {
  color: #fff;
}

.pm-thanks-card {
  padding: 72px 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  text-align: center;
}

.pm-thanks-main {
  min-height: 100vh;
}

.pm-thanks-hero {
  padding-bottom: 48px;
}

.pm-thanks-card__mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--pm-grad);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.pm-thanks-card h2 {
  margin: 0;
  color: var(--pm-navy);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.pm-thanks-card p {
  margin: 24px 0 40px;
  color: var(--pm-navy);
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.pm-thanks-card .pm-form-submit {
  margin: 0 auto;
}

@media (max-width: 680px) {
  .pm-contact-main {
    background-size: cover;
  }

  .pm-contact-hero {
    padding: 126px 16px 48px;
  }

  .pm-contact-hero .pm-container {
    width: 100%;
  }

  .pm-contact-hero .pm-kicker {
    margin-bottom: 12px;
  }

  .pm-contact-hero h1 {
    font-size: 32px;
    line-height: 1.45;
  }

  .pm-contact-hero p:last-child {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }

  .pm-contact-section {
    padding: 0 16px 72px;
  }

  .pm-contact-guide {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .pm-contact-form {
    padding: 12px 16px 36px;
    border-radius: 6px;
  }

  .pm-form-field {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .pm-form-field--choices {
    display: block;
    margin-top: 20px;
    padding-top: 0;
  }

  .pm-form-field legend {
    float: none;
    width: 100%;
    margin: 0 0 12px;
    font-size: 15px;
  }

  .pm-form-field legend + * {
    grid-column: auto;
  }

  .pm-form-label {
    font-size: 15px;
  }

  .pm-form-control {
    height: 52px;
    padding: 0 14px;
    font-size: 14px;
  }

  .pm-form-error {
    grid-column: auto;
    margin-top: 4px;
    font-size: 14px;
  }

  textarea.pm-form-control {
    height: 180px;
    padding-top: 13px;
  }

  .pm-form-choices--two-columns,
  .pm-form-choices--three-columns {
    grid-template-columns: 1fr;
  }

  .pm-form-choices--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .pm-form-choices label {
    font-size: 14px;
  }

  .pm-form-choices {
    gap: 8px 16px;
  }

  .pm-form-privacy {
    padding-top: 32px;
  }

  .pm-form-privacy > h2 {
    margin-bottom: 16px;
    font-size: 19px;
  }

  .pm-form-privacy__document {
    height: 170px;
    padding: 16px;
    font-size: 12px;
  }

  .pm-form-consent {
    margin-top: 18px;
    font-size: 14px;
  }

  .pm-form-actions {
    padding-top: 32px;
  }

  .pm-form-submit {
    height: 58px;
    font-size: 16px;
  }

  .pm-confirm-form {
    padding-top: 12px;
  }

  .pm-confirm-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .pm-confirm-row dt,
  .pm-confirm-row dd {
    font-size: 14px;
  }

  .pm-confirm-actions {
    flex-direction: column-reverse;
    gap: 14px;
    padding-top: 32px;
  }

  .pm-confirm-back {
    width: 100%;
    height: 58px;
    font-size: 14px;
  }

  .pm-thanks-card {
    padding: 48px 20px;
    border-radius: 6px;
  }

  .pm-thanks-hero {
    padding-bottom: 32px;
  }

  .pm-thanks-hero h1 {
    font-size: 30px;
  }

  .pm-thanks-card__mark {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    font-size: 28px;
  }

  .pm-thanks-card h2 {
    font-size: 22px;
  }

  .pm-thanks-card p {
    margin: 20px 0 32px;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }
}
