Quarterly Consolidated Statement Of Cash Flows
| Concept | 
                                    
                                        As at 2024-05-31  | 
                            
                                
                                    
                                        2023-06-01 to 2024-05-31  | 
                            
                                
                                    
                                        2023-06-01 to 2024-05-31  | 
                            
                                
                                    
                                        As at 2023-05-31  | 
                            
                                
                                    
                                        2022-06-01 to 2023-05-31  | 
                            
                                
                                    
                                        2022-06-01 to 2023-05-31  | 
                            
                                
                                    
                                        As at 2022-05-31  | 
                            
                        
|---|---|---|---|---|---|---|---|
| Quarterly consolidated statement of cash flows | |||||||
| Statement of cash flows | |||||||
| Cash flows from operating activities | |||||||
| Profit (loss) before income taxes | — | 
                                        
                                             
                                                1,325,775,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    
                                        
                                             
                                                1,044,424,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | 
                                        
                                             
                                                -83,610,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    
                                        
                                             
                                                8,609,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | 
| Depreciation | — | 
                                        
                                             
                                                111,031,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                100,039,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Impairment losses | — | 
                                        
                                             
                                                
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                24,187,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Amortization of goodwill | — | 
                                        
                                             
                                                97,826,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                88,493,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Interest and dividend income | — | 
                                        
                                             
                                                -584,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -197,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Interest expenses | — | 
                                        
                                             
                                                44,927,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                41,226,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Decrease (increase) in trade receivables | — | 
                                        
                                             
                                                27,074,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                4,043,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Decrease (increase) in inventories | — | 
                                        
                                             
                                                925,136,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -154,017,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Increase (decrease) in trade payables | — | 
                                        
                                             
                                                378,930,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -567,558,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Other, net | — | 
                                        
                                             
                                                54,300,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                54,802,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Subtotal | — | 
                                        
                                             
                                                1,068,290,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -1,302,294,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Interest and dividends received | — | 
                                        
                                             
                                                584,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                197,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Interest paid | — | 
                                        
                                             
                                                -42,169,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -48,053,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Income taxes paid | — | 
                                        
                                             
                                                -47,256,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -390,498,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Net cash provided by (used in) operating activities | — | 
                                        
                                             
                                                1,087,247,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -1,523,439,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Cash flows from investing activities | |||||||
| Purchase of property, plant and equipment | — | 
                                        
                                             
                                                -345,338,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -715,063,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Proceeds from sale of property, plant and equipment | — | 
                                        
                                             
                                                2,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                209,338,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Other, net | — | 
                                        
                                             
                                                -13,497,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -11,166,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Net cash provided by (used in) investing activities | — | 
                                        
                                             
                                                -428,833,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -534,903,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Cash flows from financing activities | |||||||
| Proceeds from long-term borrowings | — | 
                                        
                                             
                                                545,000,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                1,350,000,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Repayments of long-term borrowings | — | 
                                        
                                             
                                                -905,334,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -615,665,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Dividends paid | — | 
                                        
                                             
                                                -1,000,000,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Other, net | — | 
                                        
                                             
                                                -165,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -3,781,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Net cash provided by (used in) financing activities | — | 
                                        
                                             
                                                -1,131,324,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                1,677,889,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Effect of exchange rate change on cash and cash equivalents | — | 
                                        
                                             
                                                11,624,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                804,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Net increase (decrease) in cash and cash equivalents | — | 
                                        
                                             
                                                -461,285,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                -379,648,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
| Cash and cash equivalents | 
                                        
                                             
                                                4,484,097,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                4,945,383,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     | 
                                
                                    — | — | 
                                        
                                             
                                                5,325,032,000
                                                
                                                    
                                                        JPY
                                                    
                                                
                                             
                                        
                                     |