.fv {
    background-image: url(../contact/image/contact_fv.jpg);
}

.form {
    margin-top: 110px;
}

.form__top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 40px;
    margin-bottom: 84px;
}

.contact__title-group {
    display: flex;
    justify-content: space-between;
    width: 31%;
    column-gap: 31px;
}

.contact__tel-form {
    display: flex;
    column-gap: 23px;
    margin-right: 12%;
    align-items: center;
}

.form__button-box {
    display: flex;
    width: 370px;
    flex-direction: column;
    align-items: center;
    border: 1px solid #231815;
    padding: 8% 0 7%;
}

.form__button-icon {
    width: 25px;
    height: 100%;
}

.form__button-tel {
    font-size: 30px;
    font-family: "Antonio", sans-serif;
    font-optical-sizing: auto;
}

.form__button-small {
    font-size: 11px;
}

/* 問い合わせフォーム */
.form__container {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
}

.contact__form-group {
    width: 90%;
    display: flex;
    align-items: center;
    margin-left: 59px;
    justify-content: space-between;
    column-gap: 52px;
}

.contact__label-box {
    display: flex;
}

.contact__label {
    display: inline-block;
}

.contact__span {
    font-size: 16px;
    color: #E20000;
    border: 1px solid #E20000;
    width: 62px;
    height: auto;
    text-align: center;
}

.contact__input {
    background-color: #E4EBE9;
    display: inline-block;
    width: 67.2%;
    height: 61px;
    padding-left: 15px;
}

.contact__textarea {
    background-color: #E4EBE9;
    display: inline-block;
    width: 67.2%;
}

.contact__select {
    display: flex;
    align-items: center;
}

.contact__select-item {
    -webkit-appearance: auto;
    margin-right: 25px;
    accent-color: #095844;
    width: 25px;
    height: 25px;
}

.contact__checkbox {
    -webkit-appearance: auto;
    vertical-align: baseline;
    margin-right: 25px;
    accent-color: #095844;
    width: 25px;
}

.privacy__line {
    border-bottom: 1px solid #095844;
    transition-duration: 0.4s;
}

.privacy__line:hover {
    opacity: 0.7;
}

.contact__select-box {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    width: 67%;
}

.contact__form-group01 {
    width: 90%;
    display: flex;
    align-items: baseline;
    margin-left: 59px;
    column-gap: 52px;
}

.contact__textarea {
    height: 333px;
    padding-left: 15px;
    padding-top: 17px;
}

.form__bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-top: 60px;
    margin-bottom: 80px;
}

.contact__submit-text {
    display: flex;
    justify-content: center;
}

.contact__form-checkbox {
    display: flex;
    justify-content: center;
}

.contact__button-area {
    margin-top: 80px;
}

.contact__button {
    color: #095844;
}

.contact__button:hover {
    color: #fff;
}

@media (max-width:960px) {
    .fv {
        background-image: url(../contact/image/contact_fv-tb.jpg);
    }

    .form {
        margin-top: 80px;
    }

    .form__text {
        font-size: 16px;
    }

    .contact__form-group {
        flex-direction: column;
        align-items: normal;
        margin-left: 0;
        width: 88.4%;
        margin: 0 auto;
        row-gap: 18px;
    }

    .contact__input {
        width: 100%;
    }

    .contact__title-group {
        margin-left: 20px;
        justify-content: normal;
        width: 100%;
    }

    .contact__form-group01 {
        flex-direction: column;
        align-items: normal;
        margin-left: 0;
        margin: 0 auto;
        row-gap: 20px;
    }

    .contact__select-box {
        margin-left: 20px;
    }

    .contact__textarea {
        width: 100%;
    }

    .form__container {
        row-gap: 40px;
    }

    .contact__submit-text {
        font-size: 16px;
    }

    .contact__form-checkbox {
        font-size: 16px;
    }

    .contact__checkbox {
        margin-right: 10px;
    }

    .form__bottom {
        margin-bottom: 50px;
    }

    .contact__button-area {
        margin-top: 40px;
    }

    .contact__button {
        font-size: 13px;
    }

}


@media (max-width:768px) {
    .form__text {
        font-size: 14px;
        text-align: center;
    }

    .form__button-boxsp {
        width: 291px;
    }

    .form__button-telsp {
        font-size: 25px;
    }

    .form__button-iconsp {
        width: 19px;
        height: 100%;
    }

    .contact__tel-formsp {
        column-gap: 20px;
        align-items: center;
        margin-right: 0;
    }

    .form__arrowsp {
        width: 28px;
    }

    .contact__form-groupsp {
        width: 100%;
        margin-left: 0;
    }

    .contact__label,
    .contact__span {
        display: flex;
        flex-direction: column;
    }

    .contact__form-group {
        width: 100%;
        margin-left: 0;
        column-gap: 0;
        flex-direction: column;
    }

    .contact__title-group {
        width: 100%;
        column-gap: 31px;
        justify-content: normal;
        margin-bottom: 14px;
        margin-left: 5px;
    }

    .contact__input {
        width: 100%;
        height: 40px;
        font-size: 13px;
    }

    .contact__form-group01 {
        width: 100%;
        flex-direction: column;
        margin-left: 0;
    }

    .contact__select-box {
        width: 100%;
    }

    .contact__select {
        font-size: 15px;
    }

    .contact__select-item {
        margin-right: 10px;
    }

    .contact__textarea {
        width: 100%;
    }

    .contact__submit-text {
        font-size: 15px;
        justify-content: start;
    }

    .contact__form-checkbox {
        font-size: 15px;
        column-gap: 10px;
    }

    .form__bottom {
        justify-content: start;
        align-items: normal;
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .contact__checkbox {
        margin-right: 0;
    }

    .contact__caution {
        margin-left: 6.1%;
    }

    .contact__button-area {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

}