Patent ID: 8585272

Claim:
A photosemiconductor device comprising: a photosemiconductor element mounting board having a recess composed of the bottom face and the wall faces, a photosemiconductor element disposed in the recess of the photosemiconductor element mounting board and a sealing resin section in which the recess is filled to seal the photosemiconductor element, wherein at least parts of the wall faces of the recess are made of a cured thermosetting resin composition comprising (A) an epoxy resin and (B) a curing agent and (D) a white pigment, wherein the (B) curing agent contains a polyvalent carboxylic acid condensate with a component represented by the following formula (1): where: R x represents a divalent organic group derived from hydrogenated terephthalic acid, multiple R x groups in the same molecule are the same or different, R y represents a monovalent organic group and the two R y groups in the same molecule are the same or different, and n 1 represents an integer of 1 or greater.