Just accept that Koto is an infallible omnidisciplinary doctor, just like in Kingdom they have generals who can single-handedly defeat armies, and in Naruto ninja can walk on water.
Having relationships with a female below the age of 25 is LITERALLY pedophilia.
But if it's 16 yo boy and older teacher like in so many other manga, then it's "nice".