@charset "UTF-8";
/* Contact form pages (/contact/), shown inside the iframe on the top page. Loaded after global.css. */
html,
body.contact-frame {
  background: transparent;
  overflow: hidden;
}

/* Bottom space keeps the reCAPTCHA badge (fixed, bottom right) clear of the form */
body.contact-frame {
  padding-bottom: 80px;
}

/* Spam trap: invisible to people */
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-recaptcha {
  padding-top: 16px;
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-weight: 300;
  color: #808080;
}
.contact-form-recaptcha a {
  text-decoration: underline;
}

.contact-form-error {
  color: #ee210a;
  font-size: 1.4rem;
  line-height: 2rem;
}
.contact-form-error.is-box {
  padding: 12px 16px;
  border: 1px solid #ee210a;
  background-color: #ffffff;
}

.contact-form-hint {
  font-size: 1.3rem;
  line-height: 1.9rem;
  font-weight: 300;
  color: #808080;
}

.contact-form-field textarea:focus,
.contact-form-field input:focus {
  outline: 2px solid #20469A;
  outline-offset: 1px;
}

/* Attachment lists */
.contact-file-list {
  list-style: none;
}
.contact-file-list:empty {
  display: none;
}
.contact-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.4rem;
  line-height: 2.2rem;
  word-break: break-all;
}
.contact-file-list.is-saved li label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.4rem;
  font-weight: 300;
  white-space: nowrap;
  cursor: pointer;
}

/* Buttons used as links (Back / Back to top) */
a.contact-form-submit {
  text-decoration: none;
}
.contact-form-submit.is-back img {
  transform: scaleX(-1);
}

/* Confirm */
.contact-confirm {
  max-width: 820px;
  padding-top: 48px;
  margin: 0 auto;
}
.contact-confirm-title {
  font-size: 2.4rem;
  line-height: 3.2rem;
  font-weight: 700;
  color: #20469A;
}
.contact-confirm .contact-form-error.is-box {
  margin-top: 16px;
}
.contact-confirm-list {
  margin-top: 24px;
  border-top: 1px solid #cccccc;
}
.contact-confirm-item {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #cccccc;
}
.contact-confirm-item dt {
  flex: 0 0 200px;
  font-weight: 700;
}
.contact-confirm-item dd {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-confirm-buttons {
  display: flex;
  gap: 24px;
}
.contact-confirm-buttons .contact-form-submit {
  flex: 1;
}

/* Thanks */
.contact-thanks {
  max-width: 820px;
  padding-top: 48px;
  margin: 0 auto;
  text-align: center;
}
.contact-thanks p {
  margin-top: 16px;
}
.contact-thanks a:not(.contact-form-submit) {
  color: #20469A;
  text-decoration: underline;
}
.contact-thanks .contact-form-submit {
  max-width: 320px;
  margin-right: auto;
  margin-left: auto;
}

@media only screen and (max-width: 750px) {
  .contact-confirm,
  .contact-thanks {
    padding-top: 25px;
  }
  .contact-confirm-title {
    font-size: 2rem;
    line-height: 2.8rem;
  }
  .contact-confirm-item {
    flex-direction: column;
    gap: 4px;
  }
  .contact-confirm-item dt {
    flex-basis: auto;
  }
  .contact-confirm-buttons {
    flex-direction: column-reverse;
    gap: 0;
  }
  .contact-confirm-buttons .contact-form-submit.is-back {
    margin-top: 16px;
  }
}
