The foreign ministers of Japan, the United States and South Korea have agreed to strengthen their trilateral ties to address security issues together.