section.form {
    padding: 80px 0;
}

section.form.thanks {
    padding: 240px 0;
}

.form__en {
    font-family: var(--font-family-lato);
}

.form__notice,
.form form {
    max-width: 800px;
    margin: 0 auto;
}

.form__notice {
    line-height: var(--line-height-md);
    text-align: center;
    word-break: auto-phrase;
}

.form__notice span {
    color: var(--color-green-main);
}

.form__notice em {
    font-weight: bold;
    margin: 0 8px;
}


.form form {
    display: flex;
    flex-direction: column;
    margin-top: 48px;
}

.form__item {
    width: 100%;
}

.form__item:not(:last-child) {
    margin-bottom: 32px;
}

.form__item label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.form__required {
    color: var(--color-red);
    font-size: 12px;
}

.form__error {
    color: var(--color-red);
    font-size: 12px;
    margin-left: 16px;
}

.form__error-apply {
    background-color: var(--color-green-10);
    padding: 16px 24px;
    width: fit-content;
    margin: 16px auto;
    border: 1px dashed var(--color-green-main);
}

.form__error-apply p {
    text-align: center;
    color: var(--color-green-main);
    font-weight: var(--font-weight-bold);
    font-size: 14px;
}


.form__input-txt {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid var(--color-black-20);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: var(--font-family-ja);
    color: var(--color-black-main);
}

.form__en .form__input-txt {
    font-family: var(--font-family-lato);
}

.form__input-select {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid var(--color-black-20);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: var(--font-family-ja);
    color: var(--color-black-main);
}

.form__en .form__input-select {
    font-family: var(--font-family-lato);
}

.form__item a,
.form__notice a {
    color: var(--color-green-main);
    text-decoration: underline;
}

.form__checkbox-group {
    display: flex;
    gap: 8px 24px;
    flex-wrap: wrap;
}

.form__checkbox-item {
    display: flex;
    gap: 8px;
}

.form__checkbox-item label {
    font-weight: var(--font-weight-medium);
}

.form__item-policy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.form__item-policy,
.form__submit {
    text-align: center;
    font-weight: bold;
}

.form__submit button {
    font-weight: bold;
}


@media screen and (max-width: 768px) {

    .form__error {
        display: block;
    }

}

@media screen and (max-width: 480px) {

    .form__input-txt,
    .form__input-select {
        font-size: 14px;
    }
}


.form__items-wrap {
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 16px;
    border: 1px solid var(--color-black-20);
}

.form__submit-confirm {
    display: flex;
    justify-content: center;
    gap: 40px;
}

@media screen and (max-width: 768px) {

    .form__items-wrap {
        padding: 24px;
    }

    .form__submit-confirm {
        gap: 24px;
    }

}


@media screen and (max-width: 480px) {

    .form__items-wrap {
        padding: 16px;
    }

    .form__submit button,
    .form__submit input.button {
        height: 64px;
        width: 100%;
    }

    .form__submit-confirm {
        gap: 16px;
        flex-direction: column-reverse;
        align-items: center;
    }

}