Rail tickets in Japan are pretty expensive & as noted above, a JR pass may work out cheaper. These are only available to non Japanese individuals. As well as the national rail pass, some of the JR companies also offer regional passes as well.
Advance fares as we know them in the UK & parts of Europe don't appear to exist in Japan.