@charset "UTF-8";
/*==========================================================================================

	■ contact form (/contact/)

==========================================================================================*/
.tcm-form {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}
.tcm-form [hidden] {
  display: none !important;
}
.tcm-form__alert {
  margin-bottom: 25px;
  padding: 15px 20px;
  border: 2px dotted #c71b1c;
  background: #fff;
  color: #c41316;
  font-weight: bold;
  font-size: 13px;
  text-align: center;
}
.tcm-form__lead {
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

/* rows ----------------------------------------------------------------------------------- */
.tcm-form__group + .tcm-form__group {
  margin-top: 30px;
}
.tcm-form__group-title {
  padding: 8px 15px;
  background: #015830;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}
.tcm-form__group-note {
  padding: 10px 15px;
  border-bottom: 1px solid #d9cfae;
  background: #fff;
  font-size: 13px;
}
.tcm-form__row {
  display: flex;
  border-bottom: 1px solid #d9cfae;
}
.tcm-form__group > .tcm-form__row:first-child,
.tcm-form__group-title + .tcm-form__row {
  border-top: 1px solid #d9cfae;
}
.tcm-form__head {
  display: flex;
  flex: 0 0 32%;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 14px 15px;
  background: #f3edd6;
  font-weight: bold;
  font-size: 14px;
}
.tcm-form__body {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 15px;
  background: #fff;
  word-break: break-word;
}
.tcm-form__body.is-empty {
  color: #999;
}
.tcm-form__badge {
  flex: none;
  margin: 3px 0 0 10px;
  padding: 0 6px;
  border-radius: 3px;
  background: #999;
  color: #fff;
  font-size: 11px;
  line-height: 1.8;
  white-space: nowrap;
}
.tcm-form__badge.is-required {
  background: #c41316;
}

/* controls ------------------------------------------------------------------------------- */
.tcm-form input[type="text"],
.tcm-form input[type="email"],
.tcm-form input[type="tel"],
.tcm-form input[type="url"],
.tcm-form input[type="date"],
.tcm-form select,
.tcm-form textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #999;
  border-radius: 4px;
  background: #fff;
  color: #000;
  /* 16px keeps iOS Safari from zooming into the field */
  font-size: 16px;
  font-family: inherit;
}
.tcm-form textarea {
  min-height: 8em;
  resize: vertical;
}
.tcm-form input:focus,
.tcm-form select:focus,
.tcm-form textarea:focus {
  border-color: #015830;
  outline: 2px solid rgba(1, 88, 48, 0.25);
}
.tcm-form ::placeholder {
  color: #aaa;
}
.tcm-form__choices label {
  display: block;
  padding: 4px 0;
  cursor: pointer;
}
.tcm-form__choices input {
  margin: 0 8px 0 0;
  vertical-align: middle;
}
.tcm-form__help {
  margin-top: 6px;
  color: #555;
  font-size: 12px;
  line-height: 1.6;
}
.tcm-form__error {
  margin-top: 6px;
  color: #c41316;
  font-weight: bold;
  font-size: 13px;
}
.tcm-form__row.is-error .tcm-form__body input,
.tcm-form__row.is-error .tcm-form__body select,
.tcm-form__row.is-error .tcm-form__body textarea {
  border-color: #c41316;
  background: #fff5f5;
}

/* consent + notice ----------------------------------------------------------------------- */
.tcm-form__consent {
  margin-top: 40px;
}
.tcm-form__consent-title {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  font-weight: bold;
}
.tcm-form__consent-box {
  max-height: 10em;
  overflow-y: auto;
  padding: 12px 15px;
  border: 1px solid #999;
  background: #fff;
  font-size: 13px;
}
.tcm-form__check {
  display: inline-block;
  margin-top: 12px;
  font-weight: bold;
  cursor: pointer;
}
.tcm-form__check input {
  margin: 0 8px 0 0;
  vertical-align: middle;
}
.tcm-form__consent.is-error .tcm-form__consent-box {
  border-color: #c41316;
}
.tcm-form__notice {
  margin-top: 30px;
  padding: 15px 20px;
  border: 2px solid #c41316;
  background: #fff;
  font-size: 13px;
}
.tcm-form__notice-title {
  margin-bottom: 6px;
  color: #c41316;
  font-weight: bold;
}
.tcm-form__notice li {
  padding-left: 1em;
  text-indent: -1em;
}
.tcm-form__notice li:before {
  content: "・";
}
.tcm-form__notice p + p,
.tcm-form__notice ul + p {
  margin-top: 6px;
}

/* buttons -------------------------------------------------------------------------------- */
.tcm-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.tcm-form__submit,
.tcm-form__back {
  min-width: 240px;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: bold;
  font-family: inherit;
  letter-spacing: 2px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.tcm-form__submit {
  border: 3px solid #c2ad57;
  background: #c41316;
  color: #fff;
}
.tcm-form__submit:hover {
  background: #e01819;
}
.tcm-form__back {
  margin-right: 20px;
  border: 3px solid #999;
  background: #fff;
  color: #333;
}
.tcm-form__back:hover {
  background: #f3f3f3;
}

/* honeypot: off screen rather than display:none, which some bots skip */
.tcm-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 678px) {
  .tcm-form__row {
    display: block;
  }
  .tcm-form__head {
    justify-content: flex-start;
    padding: 10px 12px;
    font-size: 13px;
  }
  .tcm-form__body {
    padding: 10px 12px 14px;
  }
  .tcm-form__notice {
    padding: 12px 15px;
  }
  .tcm-form__actions {
    flex-direction: column-reverse;
  }
  .tcm-form__submit,
  .tcm-form__back {
    width: 100%;
    min-width: 0;
  }
  .tcm-form__back {
    margin: 15px 0 0;
  }
}

/* /contact/thanks/ uses page.php, whose title image path (assets/images/thanks/title.png) does not
   exist; show the contact title there. Only background-image is inline, so only it needs !important. */
section#thanks .title h1 {
  background-image: url(../../images/contact/title.png) !important;
  background-position: 0 0;
  background-repeat: no-repeat;
}
