Train travel in Japan is really wonderful. You can reach almost any place and the trains are fast and clean. We used bullet trains (shinkansen) and the regular local services to go from Toyama, near the coast, to a little city further south called Takayama. Hopefully these photos convey just some of how lush, green and lovely the scenery was, winding over rivers and past mountain villages with little gardens, all impossibly bright in the hot sun.
Takayama itself is quaint and friendly with plenty of streets and buildings just as they were centuries ago. We stayed in a traditional hotel called a minshuku, with sliding doors and mats on the floor.
On the way back, I got the view from the other side of the train. Lucky me.