In both anime, the main character loses someone close to them. Then, in the future, they are given the chance to change their past.