Looking for transportation advice

My girlfriend and I will be spending 10 days in Japan. We’re starting in Osaka and planning day trips to Kyoto, Nara, and Kobe. After that, we’ll head to Tokyo for a few days before returning to Osaka for our flight home.

We’re wondering what’s the best way to book our train rides. I’ve heard about rail passes that might save money on the long trip between Osaka and Tokyo (and back), but I’m not sure which option makes the most sense for our itinerary.

Any advice or personal experiences would be greatly appreciated — thanks in advance!

by ChoiceReasonable7487