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