I think it was outlawed in the 1990's.
Child porn was banned in June 2014 in Japan. The ban does not include anime.