Mai Mai Miracle

is a Japanese animated film produced by MadHouse Studios and directed by Sunao Katabuchi. It is based on Nobuko Takagi's novelization of her autobiography, Maimai Shinko.

Plot
The story is set in 1955 in Kokuga, Hofu City, Yamaguchi Prefecture.

A millennia ago, it was the site of the ancient capital, Suo no Kuni, and traces of the Heian Period (year 794-1185) are passed down to us in the form of ruins and historical place names.

Shinko is a third-grade elementary school student, who was born and raised in one of the town's venerable families. She is a little girl with strange curls on her forehead (she calls it her "Mai Mai"), and loves playing in the fields. On the other hand, her secret joy is to imagine and to daydream about the world of one thousand years ago. Her fantasies travel far into the days of the Heian Period...

One day, a girl called Kiiko transfers from Tokyo and enters Shinko's class. This girl from the big city has difficulty feeling at home in this small town, but gradually her friendship with Shinko deepens.

Before long, the two of them become engulfed in a strange incident of one thousand years earlier...?!