30 dead as record rains devastate parts of Japan