Do you have to pay child support when you're not married and your gf "tricked" you in getting her pregnant in Japan?

In holland even if you're not married you are financial responsible for the child. I'm not implying I'm against that I just want to know if it's the same in Japan.