Heavily armed Islamist gunmen kidnapped many girls from a secondary school in northeast Nigeria's Borno state and torched the surrounding town, a local official told AFP.