This website explains the screening process at Narita Airport.

If you are departing Narita Airport and traveling to your overseas destination via another airport outside of Japan, you may be required to undergo a security screening at your connecting airport.
For more information, please contact your airline.

When departing Narita Airport on an international flight, the Japan Restrictions on Carry-on Liquids apply. However, when connecting at an overseas airport, the restrictions on carry-on liquids for the country in which you are connecting will apply.