having esterified hydroxy groups or amino groups bound to carbon atoms of rings other than six-membered aromatic rings of the same carbon skeleton