html {
    scroll-padding-top: 127.8px;
}

.contact__title {
    width: 100%;
    padding: 11px 24px;
    position: relative;
    background-color: #1F64AA;
    color: white;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.6;
    letter-spacing: 0.08em;
}

.contact__title.second {
    margin-top: 120px;
}

.contact-form {
    margin-top: 32px;
    border-radius: 16px;
    padding: 0;
    position: relative;
    width: 100%;
}

.contact-form__content {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media screen and (max-width: 760px) {
    .contact-form__content {
        width: 100%;
    }
}

.contact-form__text-header {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  width: 100%;
}

@media screen and (max-width: 760px) {
    .contact-form__text-header {
        width: 100%;
    }
}
  
.contact-form__row {
    flex-shrink: 0;
    width: 100%;
    position: static;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__text {
    color:#126DD7;
    text-align: left;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.contact-form__text-required {
    color: #de1313;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: bold;
}

.contact-form__input {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 50px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    padding: 0 24px;
}

.contact-form__input::placeholder {
    font-weight: bold;
    color: #999999;
    opacity: 1;
}

.contact-form__textarea {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 160px;
    font-size: 20px;
    line-height: 1.4;
    padding: 16px 24px;
}

.contact-form__privacy {
    width: fit-content;
    margin: 0 auto;
    margin-top: 28px;
    display: flex;
    align-items: center;
 
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.contact-form__privacy a {
    color: unset;
    text-underline-offset: 4px;;
}

.contact-form_checkbox {
    width: 16px;
    height: 16px;
    margin-right: 16px;
}

.contact-form__btn {
    display: block;
    width: 50%;
    max-width: 360px;
    height: 56px;
    margin: 0 auto;
    margin-top: 136.3px;
    background-color: #F26F11;
    color: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.75;
    letter-spacing: 0;
    padding-left: 128px;
    text-align: left;
    position: relative;
}

.contact-form__btn::after {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    top: 16px;
    right: 128px;
    background-image: url('../images/common/btn-arrow-right.png');
    background-size: cover;
    background-repeat: no-repeat;
}


@media screen and (max-width: 760px) {
    .contact-form__btn {
        width: 160px;
        padding-left: 40px;
        margin-top: 40px;
    }

    .contact-form__btn::after {
        right: 20px;
    }
}

.contact__privacy {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact__privacy-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__privacy-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #222;
  height: 68px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  border-left: 16px solid #3579C5;
}

.contact__privacy-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
