TOKYO (AP) - Most of the quarter-million people who fled massiveflooding in southwest Japan were able to return home by Monday, but the danger had not fully passed from record rains that have killedat least 28 people.

Thousands of homes and hundreds of roads were damaged, andhundreds of landslides were reported. The military airlifted food by helicopter to stranded districts.

The rain "was like a waterfall," Yoko Yoshika said in Yamaguchi prefecture (state). "It was horrible."

Yoshika, wife of an award-winning Hagi-yaki style potter, said workers used a bucket relay with plastic pails to get rid of the water flowing into their shop.

In Yame, a city of 69,000 in Fukuoka prefecture, dozens of people were stranded by the flooding.

"Our region gets hit with heavy rain every year, but I have never experienced anything like this," city employee Kumi Takesue said.

"Rice paddies and roads all became water so you couldn't tell what was what," she said, adding that she had to wade in knee-high water, even near her home, which was not as hard hit as other areas.

Kyodo News service said 28 people have died and police were searching for four missing people in the three prefectures of Kumamoto, Oita and Fukuoka, from the heavy rainfall that beganThursday. Nationwide tallies of the dead and missing were not immediately available.

Weather officials warned people to be careful even in areas where rain had subsided because the land was still mushy and prone to landslides. More rain was possible later Monday.

Even as some of the water subsided, homes and farms on the southern island of Kyushu, hardest hit by the flooding, were stillgetting food shipments, although mostly by land, local officials said.

The intense rain occurred as far north as the ancient capital of Kyoto, where rainfall exceeded 90 millimeters (3.5 inches) per hour- a condition in which rain cascades in such torrents that seeing ahead becomes impossible.

Evacuation orders were gradually being lifted, allowing most residents to return home by late Sunday.

Fukuoka prefecture said that as of Monday, damage there extendedto more than 4,300 homes, 800 roads and 20 bridges. At least 518landslides were recorded, and more than 2,700 people had evacuated their homes, it said in a statement.

Copyright 2015 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.

Online Public Information File

Viewers with disabilities can get assistance accessing this station's FCC Public Inspection File by contacting the station with the information listed below. Questions or concerns relating to the accessibility of the FCC's online public file system should be directed to the FCC at 888-225-5322, 888-835-5322 (TTY), or fccinfo@fcc.gov.