WASHINGTON - Japan ranked a dismal 104th in the World Bank's latest report on women's economic opportunities, continuing to trail the rest of the Group of Seven developed member countries over the progress toward gender equality in the law.