Ab initio calculation for photoabsorption on 7-body nuclei