Twelve people were injured after a magnitude-6.6 earthquake struck off the Japanese prefecture of Ehime on Wednesday, local media reported.