Unless MAL is totes confused, the first of the manga versions started publication prior to the light novel release. I haven't checked to see if there was a WN first, or if this is one of the uncommon works where the LN was developed after a manga or anime version already existed; the LN being the adaptation, as it were.
It sounds like an odd story universe, odd in a good way.