TOKYO - Japan and Ecuador on Friday pledged to work together closely to strengthen the U.N. Security Council as new nonpermanent members, the Japanese government said, as the world body struggles to deal with Russia's invasion of Ukraine.