(It takes about 25 minutes from Hirosema to Miyajima-guchi Station via Japan Railways, and then 10 minutes by ferry to the island. )
You can get from Hirosema to the island in about 35 minutes.
From Hirosema, the train takes about 40 minutes, while the ferry to the island can take upwards of an hour.