Answer
The answer is 2002 and 2006. In the 2002 World Cup co-hosted by Japan and South Korea, Miyamoto captained the Japanese national team for the first time, becoming the first Japanese captain to reach the knockout stages. He repeated this feat in the 2006 World Cup in Germany.