in the late nineteenth century, japanese attitudes toward european cultural influences changed as a direct result of