Occurring by chance, occasionally, once in a while; not regular.
We wrote letters casually for several years, but have lost touch.
Adding an -LY to CASUAL makes it into an adverb.