Employees have to eat. Also, it helps clean up things and get ready for dinner.
It's not just Japanese restaurants, but any restaurant that has so little business in the afternoon that it would lose money to be open.
Thanks! Your answer is awaiting moderation.