Harukanaru Toki no Naka de 3

Harukanaru Toki no Naka de 3 (遙かなる時空の中で3) is a PlayStation 2 otome adventure game developed by Ruby Party and published by Koei. Harukanaru Toki no Naka de 3 is the third installment in the Haruka series, and it is a part of Ruby Party's Neoromance label.

Story
One rainy day, Nozomi Kasuga and her two friends encounter a strange boy at their high school, who sends them hurtling across time and space to a place in another world called Kyō. This place bears a strong resemblance to Kyoto at the end of the Heian period, where the Minamoto clan (Genji), led by Minamoto no Yoritomo (based on the historical Minamoto no Yoritomo), is at war with the Taira clan (Heike), led by Taira no Kiyomori (based on the historical Taira no Kiyomori). The Heike hope to defeat the Genji by releasing vengeful spirits (onryō) to disturb the Earth's natural flow of energies and to terrorize the land. The boy that Nozomi met is revealed to be the human form of Hakuryū, the White Dragon God said to protect Kyō, whose powers have greatly weakened due to the presence of the onryō. Nozomi discovers that she has the power to seal the onryō as Hakuryū no Miko (白龍の神子), and she allies herself with the Genji in order to seal the onryō, restore Hakuryū's powers, and return home to her own world.