First woman to lead Japan poised to steer country sharply to the right