Japanese exporters are having to cope with President Trump’s tariff hikes and other higher costs that have been worsened by the war in Iran.