Plot
A young Shirou Emiya and his adoptive father Kiritsugu travel to Fuyuki city in order to investigate the Sakatsuki family, who are rumored to be harboring a child with powerful magic abilities. They find and rescue Miyu from the ruins of the city, who has the power to grant wishes unconditionally, and that the storm was most likely caused when she was inadvertently exposed to humans thoughts and desires. Kiritsugu declares that he will use her power to save humanity. The Emiyas take Miyu back to their home, where Kiritsugu makes it clear to Shirou that they should only consider her a tool and not a human. Regardless, Shirou begins to bond with Miyu and Kiritsugu passes away before he can learn how to use Miyu's powers.
Five years later, Shirou is living as a regular high school student with Miyu as his adopted younger sister and attends school with his classmates Julian and Sakura. Shirou decides it is time to let Miyu experience the world outside their home, with Miyu saying she wants to see the ocean. When trying to confess his original intentions, Julian appears to finish the ritual he had started. Shirou realizes that Julian was the cause of the vortex that consumed Fuyuki and attempts to protect Miyu, but is defeated by Julian and his follower Angelica who leave him for dead while Miyu is kidnapped.
Shirou then wakes up in the care of a local priest, Kirei Kotomine. He explains that Julian is part of the Ainsworth family, an ancient family of mages who foresaw the end of humanity and sought to obtain the wish granting Holy Grail to avert it. Julian plans to use Miyu as a sacrifice to start the Fifth Grail War conflict. As he searches for Julian, Shirou is instead found by Sakura. She offers one to Shirou to give him a way to rescue Miyu, but admits that she would rather see him leave the city and not get involved in the War due to her feelings for him. They are then attacked by her older brother Shinji, who holds the Assassin Card. Sakura is killed and Shirou uses her Archer Card to empower himself and kill Shinji, who is revealed to merely be a puppet sent by Julian.
With his Archer Card, Shirou begins hunting down the other Servant Card holders and killing them, who are all revealed to be Julian's puppets as well. Kirei congratulates Shirou for winning the Fifth Grail War and directs him to an ancient cave where Miyu is being held. Shirou decides to use his wish to send Miyu to a different world where she can find happiness despite going against Kiritsugu's wishes. As the wish takes effect, Shirou confronts Angelica, the holder of the real Archer Card. Having used his Card to make his wish, Shirou is forced to fight Angelica with his own abilities. While Shirou is overpowered and defeated, he manages to buy enough time for the ritual to complete and Miyu is transported away. Miyu then wakes up in an alternate Fuyuki, now with the objective of finding the cards.