@charset "UTF-8";
/* ======================== */
/*         contact           */
/* ======================== */
.l-main {
  background: #FAFBFF;
  width: min(100%, 1920px);
  margin-inline: auto;
}

.p-contact, .p-confirm, .p-thanks {
  font-size: 0.875rem;
  color: #111111;
}
@media screen and (max-width: 750px) {
  .p-contact, .p-confirm, .p-thanks {
    font-size: 0.75rem;
  }
}

.p-contact__content {
  margin-top: 5rem;
}
@media screen and (max-width: 750px) {
  .p-contact__content {
    margin-top: 3.75rem;
  }
}

/* フォーム全体幅(画像の見た目に寄せて中央に細く) */
.p-contact-form {
  width: 496px;
  margin: 0 auto;
}
@media screen and (max-width: 750px) {
  .p-contact-form {
    width: 100%;
    max-width: 340px;
  }
}

.p-contact-form__items {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media screen and (max-width: 750px) {
  .p-contact-form__items {
    gap: 24px;
  }
}

.p-contact-item__label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  letter-spacing: 0.05em;
}

.p-contact-item__req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 20px;
  background: #002AC7;
  color: #FFFFFF;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 750px) {
  .p-contact-item__req {
    width: 31px;
    height: 16px;
    font-size: 9px;
  }
}

.p-contact-item__control {
  margin-top: 1.25rem;
}
@media screen and (max-width: 750px) {
  .p-contact-item__control {
    margin-top: 10px;
  }
}

.p-contact-item__input,
.p-contact-item__textarea {
  font-size: 16px;
  width: 100%;
  border: 1px solid #979797;
  background: #FFFFFF;
  border-radius: 0;
  font-size: 1rem;
  padding: 6px;
  outline: none;
}
@media screen and (max-width: 750px) {
  .p-contact-item__input,
  .p-contact-item__textarea {
    font-size: 1rem;
    padding: 6px;
    border: 1px solid #C4C4C4;
  }
}

.p-contact-item__textarea {
  min-height: 180px;
  resize: vertical;
}
@media screen and (max-width: 750px) {
  .p-contact-item__textarea {
    min-height: 180px;
  }
}

.p-contact-form__policy {
  margin-top: 1.875rem;
  text-align: center;
}
@media screen and (max-width: 750px) {
  .p-contact-form__policy {
    margin-top: 28px;
  }
}

.p-contact-form__policy-title {
  margin-bottom: 6px;
}
@media screen and (max-width: 750px) {
  .p-contact-form__policy-title {
    margin: 0 0 12px;
  }
}

.p-contact-form__policy-link {
  color: #002AC7;
  text-decoration: none;
}
@media screen and (max-width: 750px) {
  .p-contact-form__policy-link {
    color: #002AC7;
  }
}

.p-contact-form__policy-link:hover {
  text-decoration: underline;
}
@media screen and (max-width: 750px) {
  .p-contact-form__policy-link:hover {
    text-decoration: none;
  }
}

.p-contact-check__req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 20px;
  background: #002AC7;
  color: #FFFFFF;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 750px) {
  .p-contact-check__req {
    width: 31px;
    height: 16px;
    font-size: 9px;
  }
}

.p-contact__label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  position: relative;
}
.p-contact__label-row .wpcf7-not-valid-tip {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
}
@media screen and (max-width: 750px) {
  .p-contact__label-row {
    justify-content: center;
  }
}
@media screen and (max-width: 436px) {
  .p-contact__label-row {
    gap: 0.625rem;
  }
}
.p-contact__label-row .c-badge {
  margin-right: 0;
}

.p-contact__checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  cursor: none;
}
@media screen and (max-width: 436px) {
  .p-contact__checkbox-label {
    gap: 0.625rem;
  }
}
.p-contact__checkbox-label input[type=checkbox] {
  width: 1rem;
  height: 1rem;
  -webkit-appearance: checkbox;
     -moz-appearance: checkbox;
          appearance: checkbox;
  margin-right: 0.625rem;
}

.p-contact-form__actions {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 750px) {
  .p-contact-form__actions {
    margin-top: 22px;
  }
}

.p-contact-form__btn {
  width: 200px;
  height: 40px;
  border: none;
  border-radius: 5px;
  background: #002AC7;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-align: center;
  cursor: pointer;
}
@media screen and (max-width: 750px) {
  .p-contact-form__btn {
    width: 226px;
    height: 48px;
  }
}

.p-contact-form__btn:hover {
  opacity: 0.9;
}
@media screen and (max-width: 750px) {
  .p-contact-form__btn:hover {
    opacity: 1;
  }
}

.p-contact-form__actions-row--confirm {
  display: flex;
  gap: 2.5rem;
}
@media screen and (max-width: 750px) {
  .p-contact-form__actions-row--confirm {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
}

.p-contact-form__back {
  background: #00A5EA;
}

.p-contact-item__error {
  margin-top: 6px;
  font-size: 12px;
  color: #d32f2f;
  line-height: 1.6;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-list-item label {
  cursor: pointer;
}
.wpcf7-list-item label input {
  cursor: pointer;
}

label[for] {
  cursor: default;
}

/* ======================== */
/*         confirm           */
/* ======================== */
.section__heading {
  text-align: center;
}
.section__heading .section__lead {
  font-size: 0.875rem;
  margin-top: 1.875rem;
  margin-bottom: 1.25rem;
}
@media screen and (max-width: 750px) {
  .section__heading .section__lead {
    font-size: 0.75rem;
    margin-bottom: min(4.7916666667vw, 5.75rem);
  }
}

.p-confirm .p-contact__content {
  margin-top: 0;
}

.p-contact-form__actions-row--confirm {
  font-size: 0.875rem;
}
.p-contact-form__actions-row--confirm p {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  justify-content: center;
}
@media screen and (max-width: 750px) {
  .p-contact-form__actions-row--confirm p {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ======================== */
/*         thanks           */
/* ======================== */
.p-thanks__content {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  margin-top: 5rem;
  padding: 6.25rem 148px;
  background: #FFFFFF;
  text-align: center;
}
@media screen and (max-width: 750px) {
  .p-thanks__content {
    margin-top: 3.125rem;
    padding: 2.75rem 2.5rem;
    max-width: 340px;
  }
}

.p-thanks__title {
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 750px) {
  .p-thanks__title {
    font-size: 0.875rem;
  }
}

.p-thanks__text {
  margin-top: 26px;
  font-size: 0.875rem;
  line-height: 2.5;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 750px) {
  .p-thanks__text {
    margin-top: 22px;
    line-height: 2.3;
    font-size: 0.75rem;
  }
}