General formula (i) (in formula,1 R displays the aromatic heterocycle basis of the aryl or displacement or the unsubstituted of displacement or the unsubstituted,2 R displays the aryl, or displacement of displacement or the unsubstituted or the aromatic heterocycle basis etc of the unsubstituted,3 R displays the hydrogen atom and the like,4 R the low-grade alkyl of displacement or the unsubstituted, displays the aryl, or displacement of displacement or the unsubstituted or the alicyclic complex ring basis etc of the unsubstituted,5 R,6 R and7 R display the hydrogen atom and the like) with the pentajienamido derivative or that it is displayed the salt which is allowed pharmacyIt contains, as the active ingredient inflammation Characteristic painfully, after the technique painfully, the diabetes Characteristic neurogenic painfully, something related to HIV painfully, cancer Characteristic painfully, and the neurogenic it accompanies cancer chemotherapy the empty it is chosen painfully, painfully prevention and/or the remedy medicine etc are offered.一般式(I)(式中、R1は置換もしくは非置換のアリールまたは置換もしくは非置換の芳香族複素環基を表し、R2は置換もしくは非置換のアリール、または置換もしくは非置換の芳香族複素環基等を表し、R3は水素原子等を表し、R4は置換もしくは非置換の低級アルキル、置換もしくは非置換のアリール、または置換もしくは非置換の脂環式複素環基等を表し、R5、R6及びR7は、水素原子等を表す)で表されるペンタジエナミド誘導体またはその薬学的に許容される塩を有効成分として含有する、炎症性疼痛、術後痛、糖尿病性神経因性疼痛、HIV関連疼痛、癌性疼痛、及び癌化学療法に伴う神経因性疼痛から選ばれる疼痛の予防及び/または治療剤等を提供する。