TOKYO - Japanese Foreign Minister Yoshimasa Hayashi and new Philippine President Ferdinand Marcos Jr. agreed Thursday the two nations will closely cooperate to maintain and reinforce the rules-based maritime order amid China's rise in the Indo-Pacific.