Meanwhile, a MPM of a current block may be determined based on a reference region which will be described after. When a reference region of a current block is the k-th reference line, a nondirectional mode may be used and otherwise, it may be restricted so that a nondirectional mode is not used. When a current block is allowed to use a reference line other than the k-th reference line, a nondirectional mode may not be included in the MPM of a current block. k may be 1, 2, 3, or 4. In this case, in the above-described embodiments (1) to (7), a nondirectional mode belonging to a MPM may be replaced with a predetermined intra prediction mode. Herein, a predetermined intra prediction mode may be at least one of an intra prediction mode of a neighboring block or a mode derived by adding/subtracting a value of n to/from an intra prediction mode of a neighboring block. n may be an integer such as 1, 2, 3, or more. The addition/subtraction process may be repeatably performed by increasing a value of n by 1 until a candidate mode list is configured with 6 MPM. But, the 6 is just an example, and the maximum number of MPM configuring a candidate mode list may be 3, 4, 5, 7, 8, 9, or more. The maximum number may be a fixed value which is pre-promised in an encoder/a decoder or may be variably determined based on an encoding parameter (e.g., information related to a block attribute, a position of a reference line, etc.).