I will recommend you to stay at Kyoto instead of Osaka. You can venture out to Hiroshima as many have already suggested or to the Central Alps region such as Nagano, Gero (onsen), Matsumoto or Takayama. Lots of nice landscape, onsen and trekking.
If you are going to these places suggest you get a JR rail pass.