Japan doesn't have a departure tax, but NRT and KIX do have "passenger facility charges" for the use of the airport. However, since 2002 or so the charge is -- AFAIK -- always included in the price of your ticket, and it doesn't matter if you transit or immigrate.