.contact {
    margin-top: 119px;
    padding-bottom: 163px;
}

.form__sub {
    text-align: center;
    font-size: 20px;
}

.contact__box {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    font-size: 20px;
    margin-top: 107px;
}

.form__area {
    width: 60%;
    background-color: #FFEFD9;
    padding: 18px;
    border-radius: 10px;
}

.form__title {
    width: 35%;
    display: flex;
    column-gap: 30px;
}

.contact__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact__span {
    font-size: 16px;
    color: #CB2A2D;
    border: 1px solid #CB2A2D;
    padding: 3px 15px;
    border-radius: 10px;
}

input[type="checkbox"] {
    position: relative;
    width: 25px;
    height: 25px;
    margin-right: 11px;
    cursor: pointer;
    border: 1px solid #555;
    /* 枠線 */
    border-radius: 4px;
    /* 角を少し丸く（お好みで） */
    background-color: #fff;
    /* 背景は白 */

    appearance: none;
    /* デフォルトの見た目をリセット */
}

input[type="checkbox"]:checked {
    background-color: #e3a145;
    /* チェック時の背景色（オレンジ） */
}

input[type="checkbox"]:checked::after {
    position: absolute;
    top: 3px;
    left: 8px;
    width: 7px;
    height: 14px;
    content: "";
    transform: rotate(45deg);
    border: solid #fff;
    /* 白いチェックマーク */
    border-width: 0 2px 2px 0;
}




.contact__item02 {
    align-items: baseline;
}

.form__area01 {
    width: 59%;
}

.contact__item {
    width: 79.9%;
    margin: 0 auto;
}

.privacy__border {
    border-bottom: 1px solid #4d4d4d;
}

.privacy__box {
    text-align: center;
    margin-top: 30px;
}

.lower__button {
    width: 190px;
    margin: 0 auto;
    margin-top: 50px;
    transition-duration: .4s;
}


@media (max-width:960px) {
    .contact {
        margin-top: 40px;
        padding-bottom: 144px;
    }

    .form__sub {
        font-size: 16px;
    }

    .contact__span {
        font-size: 15px;
    }

    .form__title {
        font-size: 18px;
        width: 40%;
        column-gap: 20px;
    }

    .form__area {
        font-size: 17px;
    }

    .contact__item {
        width: 100%;
    }

    .form__area01 {
        font-size: 17px;
        width: 60%;
    }

    input[type="checkbox"] {
        width: 21px;
        height: 21px;
        margin-right: 10px;
    }


    input[type="checkbox"]:checked::after {
        top: 1px;
        left: 6px;
    }

    .privacy__box {
        font-size: 16px;
        margin-top: 20px;
    }

    .lower__button {
        margin-top: 30px;
        font-size: 15px;
        width: 158px;
    }
}


@media (max-width:768px) {
    .contact {
        margin-top: 40px;
        padding-bottom: 83px;
    }

    .form__sub {
        font-size: 15px;
    }

    .contact__item {
        flex-direction: column;
        width: 100%;
        row-gap: 20px;

    }

    .contact__item:not(:nth-of-type(1)) {
        margin-top: 50px;
    }

    .form__title {
        width: 100%;
        font-size: 17px;
        column-gap: 20px;
    }

    .form__area {
        width: 100%;
        font-size: 17px;
    }

    .contact__span {
        font-size: 14px;
    }

    .form__area01 {
        width: 100%;
        font-size: 16px;
    }

    input[type="checkbox"]:checked::after {
        top: 1px;
        left: 6px;
    }

    .privacy__box {
        font-size: 16px;
        margin-top: 40px;
    }

    .contact__box {
        row-gap: 0;
        margin-top: 70px;
    }

    .lower__button {
        font-size: 13px;
        width: 141px;
        column-gap: 3px;
    }

}