TOKYO - Japan aims to generate up to 45 gigawatts of power through offshore wind power in 2040, a level that would make the country the world's third-largest generator of such power, as part of efforts to achieve net zero emissions of carbon dioxide by 2050, officials said Tuesday.