Provided is a thermally-assisted magnetic recording head capable of setting the near-field light emission point to be sufficiently close to the write-field-generating portion. A portable terminal, as an example of an electronic device, is provided with a displayspeaker section, an operating section, and a microphone on the front surface of its main body. The second key group is disposed on the left side of the first key group, and the third key group is disposed on the right side of the first key group.