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