Japanese officials see growing opportunities for cooperation as the European Union expands defense spending and moves to reduce dependence on the United States.