Resin material with excellent heat resistance, high mechanical strength, and high dimensional stability