The Yasukuni Shrine in central Tokyo is dedicated to 2.5 million war dead, mostly Japanese, who perished in conflicts since the late 19th century.