Capitals of Japan end Kyoto