There is provided an epoxy resin composition including: an epoxy resin, a thixotropic agent, a photobase generator, and an ether skeleton polythiol.