rock type near the sea