The shrine it belongs to (Ikutsushimajinja) is dedicated to a sea god, as a recall. It's built like a pier and "floats" too - the torii follows the same logic. Besides, the whole island is sacred ground.. Remember the torii separates the two worlds. This way, it guards the whole island: the "gate" to the island is not even on the island itself. See?