Game makers, romance writers, etc. making their main characters be in high school or college is a purposeful choice lol. Who cares if the people playing or reading media is older than the main character. In universe, that's a student, and she's literally taking that teacher's class.
A teacher...