It's not the technology nor the porn. It's the stress and work hours. Japanese work very long hours, and very hard jobs. High stress and very little free time create exhausted people who do not have time to do anything but attempt to recover for the next day. Tired people do not have energy nor motivation, get sick more, and don't have time to socialize or to date.
Japan needs labor reform, shorter working days, more vacation time.