I'm really glad someone posed this question. I feel it is a definite gray area...
Pedophilia is only as wrong as the society in which it exists, deems it so. In other words, if pedophilia existed in a world (perhaps in the middle ages..etc when it was not uncommon to marry 12 year olds etc.) where the norms allowed for such behavior, then it would not be seen as a vile/disgusting/wrong thing.
As time progressed to the present day we find ourselves in, we have been socialized to see pedophilia as wrong because it is seen as a skew from the norm...an outlier...something which society has deemed unacceptable/illegal...(and implicitly...immoral).
I think the law becomes a slippery slope at times. Someone brought up the example: can cops prosecute someone who had thoughts of molesting little kids and wrote it in a diary? I personally, think not.
I say what people think, fantasize, do in the privacy of their own homes...is fine by me. As long as they are not ACTING out these urges on children. I think pedophilia is illegal with good reason. The simple fact remains that it is unfair for an adult to manipulate a child which is incapable of fully consenting because their mind is still developing, their norms are still being established...they do not possess the full cognitive development adults do. They lack the cognizance to decide yes/no to a sexual act.
Pedophilia in many ways is a matter of control. The law tries to even the playing ground.
candicec