Super safe Canada
Canadian laws addressing this are included in the C-46 amended Canadian Criminal Code passed in 1985. It is described under Part V: Sexual Offences, Public Morals and Disordery Conduct: Offences Tending to Corrupt Morals. Section 163.1 defines child pornography to include "a visual representation, whether or not it was made by electronic or mechanical means", that "shows a person who is or is depicted as being under the age of eighteen years and is engaged in or is depicted as engaged in explicit sexual activity", or "the dominant characteristic of which is the depiction, for a sexual purpose, of a sexual organ or the **** region of a person under the age of eighteen years." The definitive Supreme Court of Canada decision, R. v. Sharpe, interprets the statute to include purely fictional material even when no real children were involved in its production.
What the hell Japan ...
Japan has unique laws regarding child pornography. Prior to the late 1990s, it was legal to sell and distribute actual child pornography. Between 1999 and 2004, Japan tightened its regulation of child pornography, but simple possession remains legal. Despite these tightening regulations, there is still a legal market for child erotica as illustrated by the continued production of junior idol media, erotic manga genres such as lolicon and shotacon, and the appearance of their themes in erotic computer games and doujinshi. UNICEF Japan and other organizations have petitioned Japan to outlaw not only actual child pornography but also cartoon pornography depicting minors, but they have not obliged so far. Japan, along with Russia, are the only two member countries in the G8 that have not outlawed the simple possession of child pornography. On March, 19, 2010, the Tokyo Metropolitan Government originally planned to vote on whether to ban or regulate the sale of lolicon material, but decided to postpone the vote. They later struck down the bill. On August 25, 2011, Japan's Liberal Democratic Party submitted a petition requesting stricter laws on child porn, which included animated child porn.