With the start of each new era in Japan, the country's capital changed locations. Why?
to accommodate shifts in the country's population
to give each region of the country an opportunity to rule
so the capital would be in the new leader's city
so the nobility would be able to retain power