In books and essays, he captured the unease beneath Japan’s economic miracle and wrote about everyday people who might never appear in headlines.