@media (max-width: 990px) {
  .pc {
    display: none !important;
  }
}

@media (min-width: 991px) {
  .sp {
    display: none !important;
  }
}

.contact-mv {
  position: relative;
  padding: 3.8rem 12.3rem 0;
}
@media (max-width: 990px) {
  .contact-mv {
    padding: 8rem 0 0;
  }
}

.contact-mv__image {
  position: absolute;
  top: -8rem;
  left: 0;
  background: #fff;
}
@media (max-width: 990px) {
  .contact-mv__image {
    top: -2rem;
  }
}

.contact-mv__breadcrumb {
  position: relative;
  display: flex;
  gap: 1.2rem;
}

.contact-mv__breadcrumb-link {
  color: #bfbfbf;
}

.contact-mv__title {
  position: relative;
  margin: 7.2rem 0 0 12.3rem;
  width: fit-content;
  color: #11569f;
  font-weight: 700;
  font-size: 5rem;
}
@media (max-width: 990px) {
  .contact-mv__title {
    margin: 0 auto;
    font-size: 2.1rem;
    line-height: 1.43em;
    text-align: center;
  }
}

.contact-form {
  position: relative;
  margin: 10.6rem auto 13.1rem;
  padding: 5.77rem 0 9.86rem;
  width: 112rem;
  background: #ecf2f7;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 990px) {
  .contact-form {
    margin: 3.84rem auto 8.31rem;
    padding: 4.66rem 0 6.18rem;
    width: 34.2rem;
  }
}

.contact-form__note {
  font-weight: 500;
}
@media (max-width: 990px) {
  .contact-form__note {
    font-size: 1.4rem;
    line-height: 1.71em;
    text-align: center;
  }
}

.contact-form__error-note {
  margin: 6.2rem 0 0;
}
@media (max-width: 990px) {
  .contact-form__error-note {
    margin: 3.77rem 0 0;
  }
}
.contact-form__error-note p {
  align-items: center;
  background: #fcdedd;
  border: 2px solid #e73425;
  color: #e73425;
  display: flex;
  gap: 0.8rem;
  letter-spacing: 0.15rem;
  justify-content: center;
  padding: 1.6rem 2rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .contact-form__error-note p {
    align-items: start;
    font-size: 1.6rem;
    text-align: left;
  }
}
.contact-form__error-note p:before {
  aspect-ratio: 1/1;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="18" viewBox="0 0 22 18" fill="none"><path d="M0 17.1952L11 0L22 17.1952H0ZM3.45 15.3852H18.55L11 3.62005L3.45 15.3852ZM11 14.4802C11.2833 14.4802 11.5208 14.3935 11.7125 14.22C11.9042 14.0465 12 13.8316 12 13.5752C12 13.3188 11.9042 13.1038 11.7125 12.9304C11.5208 12.7569 11.2833 12.6702 11 12.6702C10.7167 12.6702 10.4792 12.7569 10.2875 12.9304C10.0958 13.1038 10 13.3188 10 13.5752C10 13.8316 10.0958 14.0465 10.2875 14.22C10.4792 14.3935 10.7167 14.4802 11 14.4802ZM10 11.7652H12V7.24009H10V11.7652Z" fill="%23E73425"/></svg>') no-repeat 0 0 / contain;
  content: " ";
  display: inline-block;
  height: auto;
  transform: translateY(0.2rem);
  width: 2.2rem;
}

.contact-form__item {
  margin: 4.2rem 0 0;
  width: 90rem;
}
@media (max-width: 990px) {
  .contact-form__item {
    margin: 2.33rem 0 0;
    width: 29.3rem;
  }
}

.contact-form__error {
  margin: 0.7rem 0 0;
  color: #e23223;
}
@media (max-width: 990px) {
  .contact-form__error {
    margin: 0.5rem 0 0;
    font-size: 1.2rem;
  }
}

.contact-form__item--first {
  margin: 6rem 0 0;
}
@media (max-width: 990px) {
  .contact-form__item--first {
    margin: 4rem 0 0;
  }
}

.contact-form__item-row {
  display: flex;
  gap: 1.4rem;
}
@media (max-width: 990px) {
  .contact-form__item-row {
    gap: 1.2rem;
  }
}

.contact-form__item-hissu {
  padding: 0.5rem 0.8rem 0.5rem;
  background: #f4fe00;
  font-family: "源ノ角ゴシック JP";
  font-weight: 500;
  font-size: 1.4rem;
}
@media (max-width: 990px) {
  .contact-form__item-hissu {
    font-size: 1.3rem;
  }
}

.contact-form__item-label {
  padding: 0.3rem 0 0;
  font-weight: 700;
}
@media (max-width: 990px) {
  .contact-form__item-label {
    font-size: 1.4rem;
  }
}

.contact-form__input {
  margin: 1.6rem 0 0;
  padding: 0 0 0 1.5rem;
  width: 100%;
  height: 6rem;
  border-radius: 6px;
  background: #fff;
}

.contact-form__input--error {
  border: 2px solid #e23223;
}
@media (max-width: 990px) {
  .contact-form__input--error {
    border: 1px solid #e23223;
  }
}

.contact-form__checkbox-group {
  margin: 2.53rem 0 0;
  display: flex;
  gap: 4.5rem;
}
@media (max-width: 990px) {
  .contact-form__checkbox-group {
    margin: 1.6rem 0 0;
    flex-direction: column;
    gap: 1.6rem;
  }
}

.contact-form__checkbox-label {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}
@media (max-width: 990px) {
  .contact-form__checkbox-label {
    margin: 0 0 0.2rem 0;
    letter-spacing: 0.05em;
  }
}

.contact-form__checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.contact-form__checkbox + span::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid #000;
  margin-right: 1.2rem;
  box-sizing: border-box;
  transform: translate(-0.3rem, 0.2rem);
}
@media (max-width: 990px) {
  .contact-form__checkbox + span::before {
    width: 1.4rem;
    height: 1.4rem;
  }
}

.contact-form__checkbox + span::after {
  content: "";
  position: absolute;
  opacity: 0;
  background-image: url("../assets/img/ico_check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 2.1rem;
  height: 2.1rem;
  left: -0.3rem;
  top: -0.4rem;
  pointer-events: none;
}
@media (max-width: 990px) {
  .contact-form__checkbox + span::after {
    background-image: url("../assets/img/ico_check_2.svg");
    width: 2rem;
    height: 2rem;
    left: -0.2rem;
    top: -0.5rem;
  }
}

.contact-form__checkbox:checked + span::after {
  opacity: 1;
}

.contact-form__privacy {
  margin: 6.8rem 0 0;
  width: fit-content;
  text-align: center;
}
@media (max-width: 990px) {
  .contact-form__privacy {
    margin: 6.3rem 0 0;
    font-size: 1.4rem;
    line-height: 1.71em;
  }
}

.contact-form__privacy-link {
  text-decoration: underline;
  line-height: 3em;
}
@media (max-width: 990px) {
  .contact-form__privacy-link {
    line-height: 1.71em;
  }
}

.contact-form__privacy-check {
  position: relative;
  margin: 3rem auto 0;
	width: fit-content;
}
@media (max-width: 990px) {
  .contact-form__privacy-check {
    margin: 3.2rem 0 0;
  }
}

.contact-form__privacy-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
@media (max-width: 990px) {
  .contact-form__privacy-checkbox {
    width: 1.4rem;
    height: 1.4rem;
  }
}

.contact-form__privacy-checkbox + span::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid #000;
  margin-right: 1.2rem;
  box-sizing: border-box;
  transform: translate(-0.3rem, 0.2rem);
}
@media (max-width: 990px) {
  .contact-form__privacy-checkbox + span::before {
    width: 1.4rem;
    height: 1.4rem;
  }
}

.contact-form__privacy-checkbox + span::after {
  content: "";
  position: absolute;
  opacity: 0;
  background-image: url("../assets/img/ico_check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 2.1rem;
  height: 2.1rem;
  left: -0.3rem;
  top: -0.2rem;
  pointer-events: none;
}
@media (max-width: 990px) {
  .contact-form__privacy-checkbox + span::after {
    background-image: url("../assets/img/ico_check_2.svg");
    width: 2rem;
    height: 2rem;
    left: -0.2rem;
    top: -0.1rem;
  }
}

.contact-form__privacy-checkbox:checked + span::after {
  opacity: 1;
}

.contact-form__privacy-check-text {
  font-weight: 500;
  font-size: 2rem;
}
@media (max-width: 990px) {
  .contact-form__privacy-check-text {
    font-size: 1.6rem;
  }
}

.form__submit {
  margin: 5rem 0 0;
  width: 30rem;
  height: 8.9rem;
  background: #1273d9;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 2.4rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.form__submit:hover {
  background: #F4FE00;
  color: #000;
  transition: 0.3s all ease-in-out;
}
@media (max-width: 990px) {
  .form__submit {
    margin: 4.1rem 0 0;
    width: 29.3rem;
    height: 8.7rem;
    font-size: 2.3rem;
  }
}

.confirm__item-text {
  margin: 3.4rem 0 0;
  border-bottom: 1px solid #707070;
  padding: 0 0 1.8rem 0;
  font-weight: 700;
}
@media (max-width: 990px) {
  .confirm__item-text {
    margin: 2.2rem 0 0;
    padding: 0 0 1.7rem 0;
    font-weight: 400;
    font-size: 1.4rem;
  }
}

.confirm__buttons {
  margin: 5rem 0 0;
  display: flex;
  gap: 2.5rem;
}
@media (max-width: 990px) {
  .confirm__buttons {
    margin: 4rem 0 0;
    flex-direction: column;
  }
}

.confirm__button {
  width: 30rem;
  height: 8.9rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 2.4rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.confirm__button:hover {
  background: #F4FE00;
  color: #000;
  transition: 0.3s all ease-in-out;
}
@media (max-width: 990px) {
  .confirm__button {
    width: 29.3rem;
    height: 8.7rem;
  }
}

.confirm__button-back {
  background: #868686;
}

.confirm__button-submit {
  background: #1273d9;
}

.thanks {
  position: relative;
  margin: 10.6rem auto 13.1rem;
  padding: 8.87rem 0 9rem;
  width: 112rem;
  background: #ecf2f7;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 990px) {
  .thanks {
    margin: 4.24rem auto 7.9rem;
    padding: 5.06rem 0 6.27rem;
    width: 34.2rem;
  }
}

.thanks__title {
  font-weight: 500;
  font-size: 3.2rem;
  color: #222;
  letter-spacing: 0.05em;
}
@media (max-width: 990px) {
  .thanks__title {
    font-size: 2.2rem;
  }
}

.thanks__line {
  margin: 2.8rem 0 0;
  width: 16.9rem;
  height: 0.1rem;
  background: #1273d9;
}
@media (max-width: 990px) {
  .thanks__line {
    margin: 2.7rem 0 0;
  }
}

.thanks__note {
  margin: 2.8rem;
  color: #222;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 2em;
  text-align: center;
}
@media (max-width: 990px) {
  .thanks__note {
    margin: 2.7rem 0 0;
    font-size: 1.4rem;
  }
}

.thanks__link {
  display: block;
  margin: 3.53rem 0 0;
  padding: 2.9rem 0 0;
  width: 30rem;
  height: 8.9rem;
  background: #1273d9;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 2.4rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.thanks__link:hover {
  background: #F4FE00;
  color: #000;
  transition: 0.3s all ease-in-out;
}
@media (max-width: 990px) {
  .thanks__link {
    width: 29.3rem;
    height: 8rem;
    padding: 2.8rem 0 0;
    font-size: 2.3rem;
  }
}
