Japan dominated Tunisia in a decisive World Cup match, eliminating the North African side while boosting their own chances for the knockout stage.