In short
Two weeks is enough for Tokyo, Kyoto, Osaka and Hiroshima by train, with day trips along the way, and it pays to fly into Tokyo and home from Osaka. Stay near the stations so you never drag your case far. Spring and the autumn months of October and November are the most pleasant times to go.
Our first choice: Park Hyatt Tokyo in Shinjuku, with views over the city from the top of the tower and Mount Fuji on clear days. Check availability and prices at Park Hyatt Tokyo
The train glides into the platform to the second. The conductor bows before entering the carriage, the seats turn to face the direction of travel, and two hours later you are in Kyoto. Japan is one of the easiest countries in the world to travel by train, and two weeks gives you big city, temples, mountains and history.
Here is the itinerary we recommend, with rail tips and hotels placed so you never have to drag your suitcase far.