FIGS. 7A to 7E are views related to the second embodiment of the present invention, in which FIGS. 7A and 7B are a front view showing a vertical surface mount type semiconductor device according to the second embodiment and a side view showing the mount direction on a circuit board, respectively, and FIG. 7C and 7D are a plan view showing a horizontal surface mount type semiconductor device accord