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