/* foundation
----------------------------------------------------------------- */
::placeholder {
  color: #999;
}

input,
textarea {
  border: 1px solid #333;
  width: 100%;
  padding: 10px;
}

select {
  border: 1px solid #333;
  width: 350px;
  padding: 10px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, 0.8) 50%), linear-gradient(135deg, rgba(0, 0, 0, 0.8) 50%, transparent 50%);
  background-size: 5px 5px, 5px 5px;
  background-position: calc(100% - 25px) 50%, calc(100% - 20px) 50%;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
  select {
    width: 100%;
  }
}

/* p-contact-required
----------------------------------------------------------------- */
.p-contact-required {
  color: #de2d4a;
}


/* p-contact-required
----------------------------------------------------------------- */
.p-input-supplement {
  margin-bottom: 8px;
}


/* p-contact-required
----------------------------------------------------------------- */
.p-validation-advice {
  margin-top: 5px;
  background-color: #de2d4a;
  padding: 5px 10px;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .p-contact__intro-text {
    font-size: 1.1rem;
  }
}

/* p-contact
----------------------------------------------------------------- */
.p-contact__intro-text {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.p-contact__link-text {
  color: #2e68d0;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-color: #2e68d0;
  padding-right: 30px;
}

.p-contact__link-text:hover {
  text-decoration-color: transparent;
  color: #333;
}

.p-contact__text-wrapper {
  margin-bottom: 50px;
}

.p-contact__text {
  font-size: 1.6rem;
  line-height: 2;
  text-align: center;
}

.p-contact__text:not(:last-of-type) {
  margin-bottom: 20px;
}

.p-contact__table {
  margin-bottom: 65px;
}

.p-contact__button {
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .p-contact__intro-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .p-contact__link-text {
    padding-right: 20px;
    text-underline-offset: 4px;
  }

  .p-contact__text-wrapper {
    margin-bottom: 20px;
  }

  .p-contact__text {
    font-size: 1.2rem;
    line-height: 2;
  }


  .p-contact__text:not(:last-of-type) {
    margin-bottom: 10px;
  }

  .p-contact__table {
    margin-bottom: 30px;
  }
}


/* p-contact-form
----------------------------------------------------------------- */
.p-submit {
  display: flex;
  width: 460px;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
  .p-submit {
    display: block;
    width: auto;
  }

  .p-submit__button {
    margin-left: auto;
    margin-right: auto;
  }
}