@charset "UTF-8";

/* Contact page
 * カラーはテーマ共通（#0ABAB5 / #078282 / #BA0A8E / #EEFFFF）に合わせる
 */

.p-contact {
  padding-top: 0;
}

.p-contact__tel {
  background-color: #EEFFFF;
  padding: 20px 16px;
  margin-bottom: 28px;
  text-align: center;
}
@media (min-width: 640px) {
  .p-contact__tel {
    padding: 24px 32px;
  }
}

.p-contact__tel__lead {
  font-size: 14px;
  line-height: 1.7;
  color: #363535;
  margin-bottom: 12px;
}
@media (min-width: 640px) {
  .p-contact__tel__lead {
    font-size: 15px;
  }
}

.p-contact__tel__number {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #363535;
}
@media (min-width: 640px) {
  .p-contact__tel__number {
    font-size: 28px;
  }
}

.p-contact__tel__number img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .p-contact__tel__number img {
    width: 24px;
    height: 24px;
  }
}

.p-contact__tel__number a {
  color: #363535;
  font-weight: 700;
  text-decoration: none;
}

.p-contact__tel__number a:hover,
.p-contact__tel__number a:focus-visible {
  opacity: 0.72;
}

.p-contact__tel__hours {
  font-size: 13px;
  font-weight: 400;
  color: #363535;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .p-contact__tel__hours {
    font-size: 14px;
  }
}

.p-contact__intro {
  margin-bottom: 32px;
  line-height: 1.8;
}

.p-contact__form {
  width: 100%;
}

.p-contact__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E8E8E8;
}
@media (min-width: 768px) {
  .p-contact__row {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 0;
    padding: 22px 0;
  }
}

.p-contact__row--textarea {
  border-bottom: none;
}

.p-contact__label {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #363535;
}
@media (min-width: 768px) {
  .p-contact__label {
    width: 200px;
    padding-top: 12px;
  }
}

.p-contact__required {
  color: #BA0A8E;
  font-weight: 500;
}

.p-contact__optional {
  color: #333;
  font-weight: 500;
}

.p-contact__form p.error {
  color: red;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 6px;
}

.p-contact__field {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.p-contact__field input[type=text],
.p-contact__field input[type=tel],
.p-contact__field input[type=email],
.p-contact__field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 0;
  background-color: #F5F5F5;
  color: #363535;
  font-size: 15px;
  line-height: 1.5;
  appearance: none;
}

.p-contact__field input[type=text]:focus,
.p-contact__field input[type=tel]:focus,
.p-contact__field input[type=email]:focus,
.p-contact__field textarea:focus {
  outline: 2px solid #0ABAB5;
  outline-offset: -2px;
}

.p-contact__field textarea {
  min-height: 180px;
  resize: vertical;
}

.p-contact__field--radio {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}
@media (min-width: 768px) {
  .p-contact__field--radio {
    padding-top: 10px;
  }
}

.p-contact__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
  color: #363535;
}

.p-contact__radio input[type=radio] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0ABAB5;
  cursor: pointer;
}

.p-contact__agree {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 28px 0 24px;
}

.p-contact__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: #363535;
}
@media (min-width: 640px) {
  .p-contact__checkbox {
    font-size: 15px;
  }
}

.p-contact__checkbox input[type=checkbox] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0ABAB5;
  cursor: pointer;
}

.p-contact__submit {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.p-contact__submit .o-cta__btn {
  width: 220px;
  border: 1px solid #BA0A8E;
  cursor: pointer;
  font-size: 16px;
}

.p-contact__submit .o-cta__btn:hover,
.p-contact__submit .o-cta__btn:focus-visible {
  background: #FFFFFF;
  color: #BA0A8E;
  opacity: 1;
}

/* Thanks page */
.p-thanks {
  padding: 40px 0 80px;
}
@media (min-width: 640px) {
  .p-thanks {
    padding: 60px 0 100px;
  }
}

.p-thanks__content {
  text-align: center;
}

.p-thanks__image {
  display: flex;
  justify-content: center;
  margin: 0 auto 28px;
}

.p-thanks__image img {
  width: 160px;
  height: auto;
}
@media (min-width: 640px) {
  .p-thanks__image img {
    width: 200px;
  }
}

.p-thanks__title {
  font-size: 20px;
  font-weight: 700;
  color: #0ABAB5;
  line-height: 1.5;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .p-thanks__title {
    font-size: 24px;
  }
}

.p-thanks__text {
  margin-bottom: 24px;
}

.p-thanks__text p {
  font-size: 14px;
  line-height: 1.9;
  color: #363535;
}
@media (min-width: 640px) {
  .p-thanks__text p {
    font-size: 15px;
  }
}

.p-thanks__tel {
  margin-bottom: 4px;
}

.p-thanks__tel a {
  font-size: 20px;
  font-weight: 700;
  color: #363535;
  text-decoration: none;
}
@media (min-width: 640px) {
  .p-thanks__tel a {
    font-size: 22px;
  }
}

.p-thanks__tel a:hover,
.p-thanks__tel a:focus-visible {
  opacity: 0.72;
}

.p-thanks__hours {
  font-size: 13px;
  line-height: 1.6;
  color: #363535;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .p-thanks__hours {
    font-size: 14px;
  }
}

.p-thanks__back a {
  font-size: 14px;
  color: #BA0A8E;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
@media (min-width: 640px) {
  .p-thanks__back a {
    font-size: 15px;
  }
}

.p-thanks__back a:hover,
.p-thanks__back a:focus-visible {
  opacity: 0.72;
}
