castle or fortress in the Ryukyu Islands, Japan