ほこらであれば
hokoradeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of

1. If/when the shrine…; If it is a shrine…

Ba Conditional