The anime film The Wind Rises presents a fictionalized account of Jiro Horikoshi and the development of the Mitsubishi A5M. Throughout most of the anime, Jiro visualizes the plane with this shape:
I recognized this shape from a production aircraft, but being rusty on my WW2 aviation knowledge, assumed it was the A6M Zero (the designation is never stated in the film). In reality, the production A5M and A6M had fairly straight wings, but the prototype A5M (which is what is depicted in the film) had inverted gull wings:
I then realized that the inverted-gull wings aircraft that I was thinking of was an American fighter, the somewhat similarly-shaped Vought F4U Corsair:
This got me curious on whether any production aircraft used by the IJN (or any branch of the Japanese military) during WW2 used inverted gull wings. From the photos and diagrams I can find, it looks like Japan stuck exclusively with straight wings, but some aircraft are depicted from a side view where it's very difficult to discern the exact shape of the wings.
Did Japan actually fly any production aircraft with inverted gull wings during WW2?