I usually aim for two hours. Check in and security at Narita are pretty efficient, after checking in, I usually enjoy one last meal of authentic Japanese food or perhaps buy some gifts for the people back home before going through security. It all depends on whether I have a small amount of yen left over (in which case I try to spend as much as possible) or a lot (in which case I change all of it back into dollars before going through security).