Miaka is a junior high school student studying for entrance exams for Johan High School, the top school in the city. Not academically inclined, Miaka would rather forget studying and spend more time eating snacks--her favorite pastime--but she's cramming for the exam to please her mother. While studying at the library with her best friend Yui, she finds an old book called The Universe of the Four Gods. Upon reading the book, the girls are transported to a land resembling ancient China. Immediately on their arrival, a pair of bandits attempts to abduct Yui! A mysterious young man with the kanji for "demon" on his forehead comes to their rescue, but now he wants to be paid for his act of heroism!