The 22-year-old who would rather be identified by his pen name than his real one (Yume-Hotaru means "Dreaming Firefly" in Japanese) started composing the novel on his cell phone in 2007.
Japan, who upset the odds when they beat favorites Brazil at the 1996 Atlanta Games, could have extended their lead as Spain chased a goal, but Nagai and Hotaru Yamaguchi both failed to convert easy chances.