The calculated distance (air line) between Hamamatsu and Tanba is approximately 156 miles respectively 251 kilometers.
By car or train, the actual journey to Tanba is certainly longer, as only the direct route (as the crow flies) between Hamamatsu and Tanba has been calculated here.