.p-form__contact-form {
  max-width: 72.7rem;
  margin-inline: auto;
  margin-top: 15.5rem;
}
.form__text__lead {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0;
}
.form__item {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  text-align: left;
  margin: 3rem 0 2.3rem;
}
.form__item > .form__label {
  width: 16.2rem;
  margin-right: 2.7rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.form__item > .form__label__top {
  align-items: flex-start;
  margin-top: 1.8rem;
}
.form__label__note {
  background: #1a1a1a;
  color: #fff;
  padding: 0.3rem 0.5rem 0.5rem;
  display: inline-block;
  line-height: 1;
  font-size: 1.2rem;
  vertical-align: text-bottom;
  border-radius: 2px;
}
.form__content {
  flex: 1;
}
.form__label__name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0;
}
.form__agree {
  text-align: center;
  margin-top: 4rem;
  letter-spacing: 0;
}
.form__agree p + p {
  margin-top: 1.8rem;
}
.form__checkbox__input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  opacity: 0;
}
.form__checkbox {
  display: inline-block;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.form__checkbox__mark {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.form__checkbox__input:checked + .form__checkbox__mark {
  background-image: url("../img/checkbox.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-size: 1.5rem 1rem;
}
.form__link__gaibu {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0259af;
  text-decoration: underline;
  margin-bottom: 4.2rem;
}
.form__link__gaibu::after {
  content: "";
  display: inline-block;
  background: url("../img/icn_blank_blue.svg") no-repeat;
  background-size: 100% 100%;
  width: 1.59rem;
  height: 1.59rem;
  margin-left: 0.6rem;
}
.p-home__contact__head {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  line-height: 1;
}
.p-home__contact__head .en {
  font-family: "Outfit", sans-serif;
  color: #0060be;
  font-size: 10rem;
  line-height: 1.04;
}
.p-home__contact__head .jp {
  font-size: 2.4rem;
  color: #1a1a1a;
  letter-spacing: 0;
}
.thanks h3 {
  margin-top: 7.5rem;
}
@media screen and (min-width: 769px) {
  .p-home__contact__head .en {
    margin-bottom: 1.5rem;
  }
}
@media screen and (max-width: 767px) {
  .p-form__contact-form {
    margin-top: 7.4rem;
  }
  .form__item {
    display: block;
    font-size: 1.6rem;
    margin: 3.3rem 0 2rem;
  }
  .form__item > .form__label {
    width: auto;
    margin-right: 0;
  }
  .form__link__gaibu {
    margin-bottom: 3.8rem;
    font-size: 1.6rem;
  }
  .p-home__contact__head .en {
    font-size: 13.866666666666665vw;
    margin-bottom: 1rem;
  }
  .p-home__contact__head .jp {
    font-size: 4.8vw;
  }
  .form__agree {
    margin-top: 6rem;
  }
  .form__agree p {
    line-height: 1.625;
  }
  .form__agree p + p {
    margin-top: 2.4rem;
  }
  .thanks h3 {
    margin-top: 6rem;
  }
}

@media screen and (min-width: 768px) {
  .form__name__item:nth-child(n + 2) {
    margin-left: 2rem;
  }
}

.form__birth {
  display: flex;
  justify-content: flex-start;
}

.form__birth__item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.form__birth__item__label {
  margin: 0 1rem;
}

.c-form__item__error {
  width: 100%;
}

/*フッター_______________________________________*/
.l-footer {
  position: relative;
  background-color: #0259af;
  z-index: 100;
}
@media screen and (min-width: 769px) {
  .l-footer {
    padding: 2.196193265vw;
  }
}
@media screen and (max-width: 768px) {
  .l-footer {
    padding: 4vw 5.3333333333vw 5.3333333333vw;
  }
}
@media screen and (min-width: 769px) {
  .l-footer__inner {
    width: 80.5270863836vw;
    margin-inline: auto;
  }
}
@media screen and (min-width: 769px) {
  .l-footer__nav {
    margin-bottom: 4.39238653vw;
  }
}
@media screen and (max-width: 768px) {
  .l-footer__nav {
    margin-bottom: 10.6666666667vw;
  }
}
.l-footer__nav__list {
  display: grid;
}
@media screen and (min-width: 769px) {
  .l-footer__nav__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4641288433vw 0;
  }
}
@media screen and (max-width: 768px) {
  .l-footer__nav__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2.6666666667vw;
  }
}
@media screen and (min-width: 769px) {
  .l-footer__nav__list__item {
    border-left: 1px solid #5392d0;
  }
  .l-footer__nav__list__item:nth-of-type(3n) {
    border-right: 1px solid #5392d0;
  }
}
@media screen and (max-width: 768px) {
  .l-footer__nav__list__item {
    border-bottom: 0.2666666667vw solid #5392d0;
  }
}
.l-footer__nav__list__item a {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
}
@media screen and (min-width: 769px) {
  .l-footer__nav__list__item a {
    justify-content: center;
    gap: 0.7320644217vw;
    height: 2.5622254758vw;
    font-size: 1.0980966325vw;
  }
}
@media screen and (max-width: 768px) {
  .l-footer__nav__list__item a {
    gap: 1.8666666667vw;
    height: 12.2666666667vw;
    font-size: 2.9333333333vw;
  }
}
.l-footer__nav__list__item a[target="_blank"]::after {
  content: "";
  display: block;
  aspect-ratio: 1/1;
  background: url(../../../assets/img/common/icn_blank.png) no-repeat center/contain;
}
@media screen and (min-width: 769px) {
  .l-footer__nav__list__item a[target="_blank"]::after {
    width: 0.980966325vw;
  }
}
@media screen and (max-width: 768px) {
  .l-footer__nav__list__item a[target="_blank"]::after {
    width: 2.88vw;
  }
}
.l-footer__copyright {
  font-weight: 300;
  text-align: center;
  color: #b5dbff;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  letter-spacing: 0.075em;
}
@media screen and (min-width: 769px) {
  .l-footer__copyright {
    font-size: 0.878477306vw;
  }
}
@media screen and (max-width: 768px) {
  .l-footer__copyright {
    font-size: 2.6666666667vw;
  }
}
.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }
}
