I am working with a large set of Ontario watercourses and wish to automatically populate a field with the nearest road network. In the picture below, the watercourses are represented by the blue lines and the road network is represented by the purple lines.

I am trying to have a field titled NearestRoad auto-populate with the nearest road network that is 100km from it. Is there a way to go about this? Thank you!