Homes flattened in Japanese city hit hard by new year earthquakes