I would say a good example of that is Trigun. It's all just a comedy in the beginning, and then gradually it shifts gears and becomes more and more like a drama.