By the time the story starts, Makoto doesn't really hate teachers anymore. It's more like a bad rep that carried over from elementary/middle school since it's the same school all the way through college and teachers/classmates obviously gossip. By the time he's gotten into high school, he's mostly gotten over his issues with teachers.