focus_tree = {
	id = TFR_tree_JAP
	country = {
		factor = 0
		modifier = {
			add = 20
			tag = JAP
		}
	}
	default = no
	# 2020 PRE ELECTION FOCUS TREE
	focus = {
		id = JAP_reiwa_2
		icon = GFX_focus_JAP_reiwa_ii
		cost = 5
		x = 7
		y = 0
		offset = {
			x = 12
			trigger = {
				OR = {
					has_country_flag = JAP_cc_won_flag
					has_country_flag = JAP_ldp_won_flag
				}
			}
		}
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			country_event = {
				id = jap.7
			}
			add_political_power = 50
			hidden_effect = {
				scoped_play_song = "setsuna"
			}
		}
	}
	focus = {
		id = JAP_deal_with_the_pandemic
		icon = GFX_focus_JAP_deal_with_the_pandemic
		prerequisite = {
			focus = JAP_reiwa_2
		}
		relative_position_id = JAP_reiwa_2
		cost = 5
		x = -2
		y = 1
		ai_will_do = {
			factor = 999
		}
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			add_days_mission_timeout = {
				mission = JAP_the_pandemic_worsens_mission
				days = 25
			}
			unlock_decision_tooltip = JAP_distribute_masks
			unlock_decision_tooltip = JAP_announce_guidelines
			unlock_decision_tooltip = JAP_enforce_lockdowns
		}
	}
	focus = {
		id = JAP_restrict_travel
		icon = GFX_focus_JAP_restrict_travel
		prerequisite = {
			focus = JAP_deal_with_the_pandemic
		}
		relative_position_id = JAP_deal_with_the_pandemic
		cost = 4
		x = -1
		y = 1
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_restrict_travel_PRC
			unlock_decision_tooltip = JAP_restrict_travel_USA
			unlock_decision_tooltip = JAP_restrict_travel_SOV
		}
	}
	focus = {
		id = JAP_research_the_vaccine
		icon = GFX_focus_JAP_research_the_vaccine
		prerequisite = {
			focus = JAP_restrict_travel
		}
		relative_position_id = JAP_deal_with_the_pandemic
		cost = 4
		x = -2
		y = 2
		ai_will_do = {
			factor = 100
		}
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			activate_mission = JAP_vaccine_research_mission
			custom_effect_tooltip = JAP_research_the_vaccine_tt
		}
	}
	focus = {
		id = JAP_provide_emergency_response_packages
		icon = GFX_focus_JAP_provide_emergency_response_packages
		prerequisite = {
			focus = JAP_restrict_travel
		}
		prerequisite = {
			focus = JAP_deal_with_the_pandemic
		}
		relative_position_id = JAP_deal_with_the_pandemic
		cost = 4
		x = 0
		y = 2
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			add_days_mission_timeout = {
				mission = JAP_the_pandemic_worsens_mission
				days = 25
			}
			add_stability = 0.05
			set_temp_variable = {
				var = poverty_development_var_temp
				value = 0.05
			}
			add_poverty_development = yes
		}
	}
	focus = {
		id = JAP_continue_the_lockdowns
		icon = GFX_focus_JAP_continue_the_lockdowns
		prerequisite = {
			focus = JAP_research_the_vaccine
		}
		mutually_exclusive = {
			focus = JAP_ease_the_lockdowns
		}
		relative_position_id = JAP_deal_with_the_pandemic
		bypass = {
			has_country_flag = JAP_dealt_with_coronavirus
		}
		cost = 5
		x = -1
		y = 3
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_enforce_mass_lockdowns
			custom_effect_tooltip = JAP_continue_the_lockdowns_tt
			set_temp_variable = {
				var = JAP_election_approval_rating_jcp_var_temp
				value = 0.005
			}
			JAP_add_election_approval_rating_jcp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_sdp_var_temp
				value = 0.005
			}
			JAP_add_election_approval_rating_sdp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_ino_var_temp
				value = 0.005
			}
			JAP_add_election_approval_rating_ino = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_kdp_var_temp
				value = 0.01
			}
			JAP_add_election_approval_rating_kdp = yes
		}
	}
	focus = {
		id = JAP_support_small_medium_enterprises
		icon = GFX_focus_JAP_support_small_medium_enterprises
		prerequisite = {
			focus = JAP_provide_emergency_response_packages
		}
		relative_position_id = JAP_deal_with_the_pandemic
		cost = 5
		x = 0
		y = 4
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			set_temp_variable = {
				var = debt_var_temp
				value = 2.5
			}
			add_debt_with_inflation = yes
			add_timed_idea = {
				idea = JAP_pandemic_economic_relief_idea
				days = 100
			}
		}
	}
	focus = {
		id = JAP_ease_the_lockdowns
		icon = GFX_focus_JAP_ease_the_lockdowns
		prerequisite = {
			focus = JAP_research_the_vaccine
		}
		mutually_exclusive = {
			focus = JAP_continue_the_lockdowns
		}
		relative_position_id = JAP_deal_with_the_pandemic
		bypass = {
			has_country_flag = JAP_dealt_with_coronavirus
		}
		cost = 5
		x = 1
		y = 3
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = JAP_ease_the_lockdowns_tt
			custom_effect_tooltip = JAP_ease_the_lockdowns_2_tt
		}
	}
	focus = {
		id = JAP_prepare_for_the_olympics
		icon = GFX_focus_JAP_prepare_for_the_olympics
		prerequisite = {
			focus = JAP_reiwa_2
		}
		relative_position_id = JAP_reiwa_2
		cost = 5
		x = 0
		y = 1
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			country_event = {
				id = jap.4
			}
		}
	}
	focus = {
		id = JAP_hold_the_olympics
		icon = GFX_focus_JAP_hold_the_olympics
		prerequisite = {
			focus = JAP_prepare_for_the_olympics
		}
		mutually_exclusive = {
			focus = JAP_delay_the_olympics
		}
		relative_position_id = JAP_prepare_for_the_olympics
		cost = 3
		x = -1
		y = 1
		available = {
			is_completed_by_event = yes
		}
		completion_reward = {
			country_event = {
				id = jap.3
				days = 3
			}
			custom_effect_tooltip = JAP_hold_the_olympics_tt
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = -0.05
			}
			JAP_add_election_approval_rating_ldp = yes
			if = {
				limit = {
					has_completed_focus = JAP_restrict_travel
				}
				set_temp_variable = {
					var = income_var_temp
					value = 40
				}
				add_income_with_inflation = yes
				add_days_mission_timeout = {
					mission = JAP_the_pandemic_worsens_mission
					days = -15
				}
			}
			else = {
				set_temp_variable = {
					var = income_var_temp
					value = 65
				}
				add_income_with_inflation = yes
				add_days_mission_timeout = {
					mission = JAP_the_pandemic_worsens_mission
					days = -25
				}
			}
		}
	}
	focus = {
		id = JAP_delay_the_olympics
		icon = GFX_focus_JAP_delay_the_olympics
		prerequisite = {
			focus = JAP_prepare_for_the_olympics
		}
		mutually_exclusive = {
			focus = JAP_hold_the_olympics
		}
		relative_position_id = JAP_prepare_for_the_olympics
		cost = 3
		x = 1
		y = 1
		available = {
			is_completed_by_event = yes
		}
		completion_reward = {
			country_event = {
				id = jap.2
				days = 3
			}
			add_stability = -0.05
		}
	}
	focus = {
		id = JAP_promote_japanese_culture
		icon = GFX_focus_JAP_promote_japanese_culture
		prerequisite = {
			focus = JAP_prepare_for_the_olympics
		}
		prerequisite = {
			focus = JAP_hold_the_olympics
			focus = JAP_delay_the_olympics
		}
		relative_position_id = JAP_prepare_for_the_olympics
		cost = 4
		x = 0
		y = 2
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			set_temp_variable = {
				var = debt_var_temp
				value = 0.3
			}
			add_debt_with_inflation = yes
			add_timed_idea = {
				idea = JAP_promoted_culture
				days = 100
			}
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.03
			}
			JAP_add_election_approval_rating_ldp = yes
			hidden_effect = {
				country_event = {
					id = jap.116
					days = 5
					random_days = 10
				}
			}
		}
	}
	focus = {
		id = JAP_japan_on_the_world_stage
		icon = GFX_focus_JAP_japan_on_the_world_stage
		prerequisite = {
			focus = JAP_promote_japanese_culture
		}
		relative_position_id = JAP_prepare_for_the_olympics
		cost = 4
		x = 0
		y = 4
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_trade_deals_taiwan
			unlock_decision_tooltip = JAP_trade_deals_australia
			unlock_decision_tooltip = JAP_trade_deals_korea
			add_war_support = 0.1
			hidden_effect = {
				country_event = {
					id = jap.119
					days = 10
					random_days = 10
				}
			}
		}
	}
	focus = {
		id = JAP_deal_with_social_policies
		icon = GFX_focus_JAP_deal_with_social_policies
		prerequisite = {
			focus = JAP_reiwa_2
		}
		relative_position_id = JAP_reiwa_2
		cost = 4
		x = 2
		y = 1
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			add_political_power = -25
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.03
			}
			JAP_add_election_approval_rating_ldp = yes
			set_temp_variable = {
				var = poverty_development_var_temp
				value = 0.1
			}
			add_poverty_development = yes
		}
	}
	focus = {
		id = JAP_provide_maternity_leave_for_female_workers
		icon = GFX_focus_JAP_maternity_leave
		prerequisite = {
			focus = JAP_deal_with_social_policies
		}
		relative_position_id = JAP_deal_with_social_policies
		cost = 4
		x = 1
		y = 1
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea = JAP_social_programs_idea
				days = 175
			}
			set_temp_variable = {
				var = poverty_development_var_temp
				value = 0.1
			}
			add_poverty_development = yes
			set_temp_variable = {
				var = debt_var_temp
				value = 0.5
			}
			add_debt_with_inflation = yes
		}
	}
	focus = {
		id = JAP_improve_childcare_facilities
		icon = GFX_focus_JAP_childcare_facilities
		prerequisite = {
			focus = JAP_provide_maternity_leave_for_female_workers
		}
		relative_position_id = JAP_deal_with_social_policies
		cost = 4
		x = 2
		y = 2
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = JAP_social_programs_idea
				}
				modify_timed_idea = {
					idea = JAP_social_programs_idea
					days = 125
				}
			}
			else = {
				custom_effect_tooltip = JAP_not_has_idea_tt
				add_timed_idea = {
					idea = JAP_social_programs_idea
					days = 125
				}
			}
			set_temp_variable = {
				var = poverty_development_var_temp
				value = 0.15
			}
			add_poverty_development = yes
			set_temp_variable = {
				var = debt_var_temp
				value = 0.35
			}
			add_debt_with_inflation = yes
			hidden_effect = {
				country_event = {
					id = jap.118
					days = 10
					random_days = 10
				}
			}
		}
	}
	focus = {
		id = JAP_improve_the_workspace
		icon = GFX_focus_JAP_improve_the_workspace
		prerequisite = {
			focus = JAP_ease_economic_burdens
		}
		relative_position_id = JAP_deal_with_social_policies
		cost = 4
		x = -1
		y = 3
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			JAP_decrease_economic_stagnation = yes
			set_temp_variable = {
				var = poverty_development_var_temp
				value = 0.15
			}
			add_poverty_development = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.03
			}
			JAP_add_election_approval_rating_ldp = yes
		}
	}
	focus = {
		id = JAP_ease_economic_burdens
		icon = GFX_focus_JAP_ease_economic_burdens
		prerequisite = {
			focus = JAP_deal_with_social_policies
		}
		relative_position_id = JAP_deal_with_social_policies
		cost = 6
		x = 0
		y = 2
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_reduce_pressure_on_business
			set_temp_variable = {
				var = poverty_development_var_temp
				value = 0.05
			}
			add_poverty_development = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.03
			}
			JAP_add_election_approval_rating_ldp = yes
		}
	}
	focus = {
		id = JAP_tackle_the_hikkikomori_issue
		icon = GFX_focus_JAP_tackle_the_hikkikomori_issue
		prerequisite = {
			focus = JAP_ease_economic_burdens
		}
		prerequisite = {
			focus = JAP_improve_childcare_facilities
		}
		relative_position_id = JAP_deal_with_social_policies
		cost = 4
		x = 1
		y = 3
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			JAP_decrease_aging_population = yes
			set_temp_variable = {
				var = poverty_development_var_temp
				value = 0.05
			}
			add_poverty_development = yes
			hidden_effect = {
				country_event = {
					id = jap.117
					days = 7
					random_days = 5
				}
			}
		}
	}
	focus = {
		id = JAP_reform_the_education_system
		icon = GFX_focus_JAP_reform_the_education_system
		prerequisite = {
			focus = JAP_ease_economic_burdens
		}
		relative_position_id = JAP_deal_with_social_policies
		cost = 4
		x = 0
		y = 4
		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = JAP_election_time
				}
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea = JAP_reformed_education
				days = 180
			}
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.075
			}
			add_society_development = yes
			set_temp_variable = {
				var = academic_development_var_temp
				value = 0.075
			}
			add_academic_development = yes
		}
	}
	# MILITARY TREE
	focus = {
		id = JAP_revise_article_9
		icon = GFX_focus_JAP_revise_article_9
		relative_position_id = JAP_reiwa_2
		cost = 4
		x = 12
		y = 4
		allow_branch = {
			has_country_flag = JAP_military_tree_opened
		}
		completion_reward = {
			JAP_decrease_japanese_pacifism = yes
			if = {
				limit = {
					has_completed_focus = JAP_peoples_japan
				}
				add_power_balance_value = {
					id = JAP_civil_coalition_power_balance
					value = 0.35
					tooltip_side = JAP_bop_cc_liberal
				}
			}
		}
	}
	focus = {
		id = JAP_improve_the_ground_defence_forces
		icon = GFX_focus_JAP_improve_the_jgsdf
		prerequisite = {
			focus = JAP_revise_article_9
		}
		relative_position_id = JAP_revise_article_9
		cost = 5
		x = -2
		y = 1
		available = {
		}
		completion_reward = {
			army_experience = 50
			set_temp_variable = {
				var = military_development_var_temp
				value = 0.05
			}
			add_military_development = yes
		}
	}
	focus = {
		id = JAP_improve_the_tank_fleet
		icon = GFX_focus_JAP_improve_the_tank_fleet
		prerequisite = {
			focus = JAP_improve_the_ground_defence_forces
		}
		relative_position_id = JAP_improve_the_ground_defence_forces
		mutually_exclusive = {
			focus = JAP_a_fleet_of_mcvs
		}
		cost = 4
		x = -3
		y = 1
		completion_reward = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = modern_tank_chassis_1
					variant_name = "Type-10"
					amount = 350
					producer = JAP
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = modern_tank_equipment_1
					amount = 350
					producer = JAP
				}
			}
			add_timed_idea = {
				idea = JAP_tank_bonus
				days = 480
			}
		}
	}
	focus = {
		id = JAP_a_fleet_of_mcvs
		icon = GFX_focus_JAP_a_fleet_of_mcvs
		prerequisite = {
			focus = JAP_improve_the_ground_defence_forces
		}
		relative_position_id = JAP_improve_the_ground_defence_forces
		mutually_exclusive = {
			focus = JAP_improve_the_tank_fleet
		}
		cost = 4
		x = -1
		y = 1
		completion_reward = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis_1
					variant_name = "Type-16 MCV"
					amount = 300
					producer = JAP
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = light_tank_equipment_1
					amount = 300
					producer = JAP
				}
			}
			add_timed_idea = {
				idea = JAP_mcv_fleet
				days = 360
			}
		}
	}
	focus = {
		id = JAP_procure_new_equipment
		icon = GFX_focus_JAP_procure_new_equipment
		prerequisite = {
			focus = JAP_improve_the_ground_defence_forces
		}
		relative_position_id = JAP_improve_the_ground_defence_forces
		cost = 4
		x = 1
		y = 1
		completion_reward = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_2
				variant_name = "Howa Type 89f"
				amount = 1500
				producer = JAP
			}
			add_equipment_to_stockpile = {
				type = support_equipment
				amount = 450
				producer = JAP
			}
			add_equipment_to_stockpile = {
				type = mechanized_equipment
				amount = 450
				producer = JAP
			}
			set_temp_variable = {
				var = debt_var_temp
				value = 0.35
			}
			add_debt_with_inflation = yes
		}
	}
	focus = {
		id = JAP_start_limited_military_exports
		icon = GFX_focus_JAP_start_limited_military_exports
		prerequisite = {
			focus = JAP_improve_the_tank_fleet
			focus = JAP_a_fleet_of_mcvs
			focus = JAP_procure_new_equipment
		}
		relative_position_id = JAP_procure_new_equipment
		cost = 4
		x = 0
		y = 1
		completion_reward = {
			set_temp_variable = {
				var = income_var_temp
				value = 25
			}
			add_income_with_inflation = yes
			add_timed_idea = {
				idea = JAP_military_exports
				days = 360
			}
			AST = {
				add_equipment_to_stockpile = {
					type = infantry_equipment_2
					amount = 2500
					producer = JAP
				}
				add_equipment_to_stockpile = {
					type = support_equipment
					amount = 250
					producer = JAP
				}
				add_equipment_to_stockpile = {
					type = anti_tank_equipment_1
					amount = 300
					producer = JAP
				}
				add_equipment_to_stockpile = {
					type = anti_air_equipment_1
					amount = 300
					producer = JAP
				}
				add_equipment_to_stockpile = {
					type = motorized_equipment
					amount = 400
					producer = JAP
				}
			}
		}
	}
	focus = {
		id = JAP_innovate_the_helicopter_fleet
		icon = GFX_focus_JAP_innovate_the_helicopter_fleet
		prerequisite = {
			focus = JAP_improve_the_tank_fleet
			focus = JAP_a_fleet_of_mcvs
			focus = JAP_procure_new_equipment
		}
		relative_position_id = JAP_improve_the_tank_fleet
		cost = 4
		x = 0
		y = 1
		completion_reward = {
			add_ideas = JAP_helicopter_bonus
		}
	}
	focus = {
		id = JAP_adapt_to_cyber_warfare
		icon = GFX_focus_JAP_adapt_to_cyberwarfare
		prerequisite = {
			focus = JAP_improve_the_tank_fleet
			focus = JAP_a_fleet_of_mcvs
			focus = JAP_procure_new_equipment
		}
		relative_position_id = JAP_a_fleet_of_mcvs
		cost = 4
		x = 0
		y = 1
		completion_reward = {
			add_ideas = JAP_cyber_warfare
		}
	}
	focus = {
		id = JAP_acquire_f35s
		icon = GFX_focus_JAP_acquire_f35s
		prerequisite = {
			focus = JAP_improve_the_ground_defence_forces
		}
		prerequisite = {
			focus = JAP_improve_the_tank_fleet
			focus = JAP_a_fleet_of_mcvs
			focus = JAP_procure_new_equipment
		}
		relative_position_id = JAP_improve_the_ground_defence_forces
		cost = 5
		x = -2
		y = 3
		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				set_country_flag = JAP_has_j35b
				create_equipment_variant = {
					name = "F-35B"
					type = cv_small_plane_naval_bomber_airframe_2
					modules = {
						fixed_main_weapon_slot = torpedo_mounting
						fixed_auxiliary_weapon_slot_1 = heavy_mg_4x
						fixed_auxiliary_weapon_slot_2 = empty
						engine_type_slot = engine_2_1x
						special_type_slot_1 = hmg_defense_turret
						special_type_slot_2 = empty
					}
					icon = "GFX_USA_fighter5_medium"
				}
				add_equipment_to_stockpile = {
					type = cv_small_plane_naval_bomber_airframe_2
					variant_name = "F-35B"
					amount = 50
					producer = JAP
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_2
					variant_name = "F-35"
					amount = 50
					producer = JAP
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = cv_fighter_equipment_3
					amount = 50
					producer = JAP
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_3
					amount = 50
					producer = JAP
				}
			}
		}
	}
	focus = {
		id = JAP_new_artillery_pieces
		icon = GFX_focus_JAP_artillery_pieces
		prerequisite = {
			focus = JAP_improve_the_ground_defence_forces
		}
		prerequisite = {
			focus = JAP_improve_the_tank_fleet
			focus = JAP_a_fleet_of_mcvs
			focus = JAP_procure_new_equipment
		}
		relative_position_id = JAP_improve_the_ground_defence_forces
		cost = 5
		x = 0
		y = 3
		completion_reward = {
			add_tech_bonus = {
				name = JAP_new_artillery_pieces
				bonus = 1
				uses = 2
				category = artillery
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment_1
				amount = 75
				producer = JAP
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment_1
				amount = 100
				producer = JAP
			}
			set_temp_variable = {
				var = debt_var_temp
				value = 0.15
			}
			add_debt_with_inflation = yes
		}
	}
	focus = {
		id = JAP_expand_the_JMSDF
		icon = GFX_focus_JAP_expand_the_jmsdf
		prerequisite = {
			focus = JAP_revise_article_9
		}
		relative_position_id = JAP_revise_article_9
		cost = 5
		x = 3
		y = 1
		available = {
		}
		completion_reward = {
			navy_experience = 50
			add_tech_bonus = {
				name = JAP_expand_the_JMSDF
				bonus = 1
				uses = 2
				category = naval_equipment
			}
		}
	}
	focus = {
		id = JAP_convert_helicopter_destroyers
		icon = GFX_focus_JAP_convert_helicopter_destroyers
		prerequisite = {
			focus = JAP_expand_the_JMSDF
		}
		relative_position_id = JAP_expand_the_JMSDF
		cost = 4
		x = -2
		y = 1
		completion_reward = {
			add_ideas = JAP_helicopter_destroyers
			add_war_support = 0.025
		}
	}
	focus = {
		id = JAP_build_new_aegis_destroyers
		icon = GFX_focus_JAP_build_new_aegis_destroyers
		prerequisite = {
			focus = JAP_expand_the_JMSDF
		}
		relative_position_id = JAP_expand_the_JMSDF
		cost = 4
		x = 0
		y = 1
		completion_reward = {
			add_timed_idea = {
				idea = JAP_aegis_bonus
				days = 360
			}
		}
	}
	focus = {
		id = JAP_unveil_the_taigei
		icon = GFX_focus_JAP_unveil_the_taigei
		prerequisite = {
			focus = JAP_expand_the_JMSDF
		}
		relative_position_id = JAP_expand_the_JMSDF
		cost = 4
		x = 2
		y = 1
		completion_reward = {
			create_equipment_variant = {
				name = "Taigei-class"
				type = ship_hull_submarine_2
				modules = {
					fixed_ship_radar_slot = ship_sonar_1
					mid_1_custom_slot = ship_radar_1
					fixed_ship_torpedo_slot = ship_torpedo_sub_2
					fixed_ship_engine_slot = sub_ship_engine_2
					rear_1_custom_slot = ship_torpedo_sub_2
				}
			}
			add_war_support = 0.025
		}
	}
	focus = {
		id = JAP_build_new_dockyards
		icon = GFX_focus_JAP_new_dockyards
		prerequisite = {
			focus = JAP_convert_helicopter_destroyers
		}
		prerequisite = {
			focus = JAP_build_new_aegis_destroyers
		}
		relative_position_id = JAP_expand_the_JMSDF
		cost = 4
		x = -1
		y = 2
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = JAP_introduce_the_kawazaki
		icon = GFX_focus_JAP_kawazaki_p1
		prerequisite = {
			focus = JAP_build_new_aegis_destroyers
		}
		prerequisite = {
			focus = JAP_unveil_the_taigei
		}
		relative_position_id = JAP_expand_the_JMSDF
		cost = 4
		x = 1
		y = 2
		completion_reward = {
			add_ideas = JAP_kawasaki_bonus
		}
	}
	focus = {
		id = JAP_improve_island_defences
		icon = GFX_focus_JAP_improve_island_defenses
		prerequisite = {
			focus = JAP_build_new_aegis_destroyers
		}
		relative_position_id = JAP_expand_the_JMSDF
		cost = 5
		x = 0
		y = 3
		completion_reward = {
			282 = {
				add_building_construction = {
					type = coastal_bunker
					province = 1182
					level = 5
				}
				add_building_construction = {
					type = anti_air_building
					level = 3
					instant_build = yes
				}
			}
			282 = {
				add_building_construction = {
					type = coastal_bunker
					province = 9998
					level = 4
				}
			}
			532 = {
				add_building_construction = {
					type = coastal_bunker
					province = 10125
					level = 3
				}
			}
			532 = {
				add_building_construction = {
					type = coastal_bunker
					province = 7087
					level = 3
				}
			}
			531 = {
				add_building_construction = {
					type = coastal_bunker
					province = 7072
					level = 3
				}
			}
			528 = {
				add_building_construction = {
					type = coastal_bunker
					province = 9950
					level = 3
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			530 = {
				add_building_construction = {
					type = coastal_bunker
					province = 7197
					level = 3
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			add_war_support = 0.05
		}
	}
	#General Election 2021
	focus = {
		id = JAP_election_time
		icon = GFX_focus_JAP_election_time
		relative_position_id = JAP_japan_on_the_world_stage
		cost = 4
		x = 0
		y = 2
		allow_branch = {
			has_country_flag = JAP_election_time
			NOT = {
				has_country_flag = JAP_general_election_is_over
			}
		}
		completion_reward = {
		}
	}
	focus = {
		id = JAP_unite_against_ldp
		icon = GFX_focus_JAP_Unite_Against_LDP
		relative_position_id = JAP_election_time
		cost = 4
		x = -2
		y = 1
		available = {
			hidden_trigger = {
				has_country_flag = JAP_sided_with_anti_ldp
			}
		}
		prerequisite = {
			focus = JAP_election_time
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_election_approval_rating_jcp_var_temp
				value = 0.005
			}
			JAP_add_election_approval_rating_jcp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_sdp_var_temp
				value = 0.005
			}
			JAP_add_election_approval_rating_sdp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_rei_var_temp
				value = 0.005
			}
			JAP_add_election_approval_rating_rei = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_kdp_var_temp
				value = 0.005
			}
			JAP_add_election_approval_rating_kdp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_dpp_var_temp
				value = 0.005
			}
			JAP_add_election_approval_rating_dpp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_ino_var_temp
				value = 0.005
			}
			JAP_add_election_approval_rating_ino = yes
			hidden_effect = {
				add_popularity = {
					ideology = libertarian_socialist
					popularity = 0.0075
				}
				add_popularity = {
					ideology = social_democrat
					popularity = 0.0075
				}
				add_popularity = {
					ideology = market_liberal
					popularity = 0.0075
				}
				add_popularity = {
					ideology = social_liberal
					popularity = 0.0075
				}
			}
			unlock_decision_tooltip = JAP_launch_anti_ldp_campaign
		}
	}
	focus = {
		id = JAP_restore_peoples_trust
		icon = GFX_focus_JAP_restore_peoples_trust
		relative_position_id = JAP_election_time
		cost = 4
		x = 2
		y = 1
		available = {
			hidden_trigger = {
				has_country_flag = JAP_sided_with_ldp
			}
		}
		prerequisite = {
			focus = JAP_election_time
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.03
			}
			JAP_add_election_approval_rating_ldp = yes
			hidden_effect = {
				add_popularity = {
					ideology = conservative
					popularity = 0.03
				}
			}
			unlock_decision_tooltip = JAP_launch_ldp_campaign
		}
	}
	focus = {
		id = JAP_for_prosperity_of_our_people
		icon = GFX_focus_JAP_for_prosperity_of_our_people
		relative_position_id = JAP_unite_against_ldp
		cost = 4
		x = -1
		y = 1
		prerequisite = {
			focus = JAP_unite_against_ldp
		}
		mutually_exclusive = {
			focus = JAP_for_saving_our_economy
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_election_approval_rating_jcp_var_temp
				value = 0.01
			}
			JAP_add_election_approval_rating_jcp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_rei_var_temp
				value = 0.01
			}
			JAP_add_election_approval_rating_rei = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_sdp_var_temp
				value = 0.01
			}
			JAP_add_election_approval_rating_sdp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_kdp_var_temp
				value = 0.01
			}
			JAP_add_election_approval_rating_kdp = yes
			hidden_effect = {
				add_popularity = {
					ideology = libertarian_socialist
					popularity = 0.02
				}
				add_popularity = {
					ideology = social_democrat
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = JAP_for_saving_our_economy
		icon = GFX_focus_JAP_for_saving_our_economy
		relative_position_id = JAP_unite_against_ldp
		cost = 4
		x = 1
		y = 1
		prerequisite = {
			focus = JAP_unite_against_ldp
		}
		mutually_exclusive = {
			focus = JAP_for_prosperity_of_our_people
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_election_approval_rating_dpp_var_temp
				value = 0.015
			}
			JAP_add_election_approval_rating_dpp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_ino_var_temp
				value = 0.015
			}
			JAP_add_election_approval_rating_ino = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_kdp_var_temp
				value = 0.01
			}
			JAP_add_election_approval_rating_kdp = yes
			hidden_effect = {
				add_popularity = {
					ideology = social_liberal
					popularity = 0.02
				}
				add_popularity = {
					ideology = market_liberal
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = JAP_form_civil_coalition
		icon = GFX_focus_JAP_form_civil_coalition
		relative_position_id = JAP_unite_against_ldp
		cost = 3
		x = 0
		y = 2
		prerequisite = {
			focus = JAP_for_prosperity_of_our_people
			focus = JAP_for_saving_our_economy
		}
		completion_reward = {
			country_event = {
				id = jap.19
			}
		}
	}
	focus = {
		id = JAP_destroy_myth_of_one_party_japan
		icon = GFX_focus_JAP_destroy_myth_of_one_party_japan
		relative_position_id = JAP_form_civil_coalition
		cost = 3
		x = 1
		y = 1
		prerequisite = {
			focus = JAP_form_civil_coalition
		}
		completion_reward = {
			add_popularity = {
				ideology = conservative
				popularity = -0.03
			}
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = -0.02
			}
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = -0.05
			}
			JAP_add_election_approval_rating_ldp = yes
			remove_ideas = JAP_political_monopoly_idea
		}
	}
	focus = {
		id = JAP_covid_populism
		icon = GFX_focus_JAP_covid_populism
		relative_position_id = JAP_election_time
		cost = 4
		x = 0
		y = 3
		prerequisite = {
			focus = JAP_unite_against_ldp
			focus = JAP_restore_peoples_trust
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_release_buses
			if = {
				limit = {
					has_country_flag = JAP_sided_with_anti_ldp
				}
				set_temp_variable = {
					var = JAP_election_approval_rating_ldp_var_temp
					value = -0.05
				}
				JAP_add_election_approval_rating_ldp = yes
				hidden_effect = {
					add_popularity = {
						ideology = conservative
						popularity = -0.05
					}
				}
			}
			if = {
				limit = {
					has_country_flag = JAP_sided_with_ldp
				}
				set_temp_variable = {
					var = JAP_election_approval_rating_ldp_var_temp
					value = 0.05
				}
				JAP_add_election_approval_rating_ldp = yes
				hidden_effect = {
					add_popularity = {
						ideology = conservative
						popularity = 0.05
					}
				}
			}
		}
	}
	focus = {
		id = JAP_good_old_japan
		icon = GFX_focus_JAP_good_old_japan
		relative_position_id = JAP_restore_peoples_trust
		cost = 4
		x = 1
		y = 1
		prerequisite = {
			focus = JAP_restore_peoples_trust
		}
		mutually_exclusive = {
			focus = JAP_new_course
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.04
			}
			JAP_add_election_approval_rating_ldp = yes
			set_temp_variable = {
				var = JAP_ldp_conservatives_var_temp
				value = 0.05
			}
			JAP_add_influence_ldp_conservatives = yes
			effect_tooltip = {
				add_popularity = {
					ideology = authoritarian_democrat
					popularity = 0.05
				}
			}
			hidden_effect = {
				add_popularity = {
					ideology = conservative
					popularity = -0.04
				}
				add_popularity = {
					ideology = authoritarian_democrat
					popularity = 0.08
				}
			}
		}
	}
	focus = {
		id = JAP_new_course
		icon = GFX_focus_JAP_new_course
		relative_position_id = JAP_restore_peoples_trust
		cost = 4
		x = -1
		y = 1
		prerequisite = {
			focus = JAP_restore_peoples_trust
		}
		mutually_exclusive = {
			focus = JAP_good_old_japan
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.04
			}
			JAP_add_election_approval_rating_ldp = yes
			set_temp_variable = {
				var = JAP_ldp_liberals_var_temp
				value = 0.05
			}
			JAP_add_influence_ldp_liberals = yes
			effect_tooltip = {
				add_popularity = {
					ideology = conservative
					popularity = 0.05
				}
			}
			hidden_effect = {
				add_popularity = {
					ideology = conservative
					popularity = 0.08
				}
				add_popularity = {
					ideology = authoritarian_democrat
					popularity = -0.04
				}
			}
		}
	}
	focus = {
		id = JAP_strengthen_our_union
		icon = GFX_focus_JAP_strengthen_our_union
		relative_position_id = JAP_restore_peoples_trust
		cost = 3
		x = 0
		y = 2
		prerequisite = {
			focus = JAP_new_course
			focus = JAP_good_old_japan
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.05
			}
			JAP_add_election_approval_rating_ldp = yes
			hidden_effect = {
				add_popularity = {
					ideology = conservative
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = JAP_maintain_stability
		icon = GFX_focus_JAP_maintain_stability
		relative_position_id = JAP_strengthen_our_union
		cost = 3
		x = -1
		y = 1
		prerequisite = {
			focus = JAP_strengthen_our_union
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.05
			}
			JAP_add_election_approval_rating_ldp = yes
			add_popularity = {
				ideology = conservative
				popularity = 0.02
			}
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = 0.02
			}
		}
	}
	#Civil Coalition Tree
	focus = {
		id = JAP_formation_of_government
		icon = GFX_focus_JAP_formation_of_government
		cost = 1
		x = 8
		y = 0
		allow_branch = {
			has_country_flag = JAP_cc_won_flag
		}
		completion_reward = {
			add_political_power = 25
			custom_effect_tooltip = JAP_cc_government
			hidden_effect = {
				country_event = {
					id = jap.23
				}
			}
		}
	}
	focus = {
		id = JAP_expose_ldp
		icon = GFX_focus_JAP_expose_ldp
		relative_position_id = JAP_formation_of_government
		cost = 2
		x = -2
		y = 1
		prerequisite = {
			focus = JAP_formation_of_government
		}
		completion_reward = {
			country_event = {
				id = jap.28
			}
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = -0.05
			}
			JAP_add_election_approval_rating_ldp = yes
		}
	}
	focus = {
		id = JAP_state_budgeting
		icon = GFX_focus_JAP_state_budgeting
		relative_position_id = JAP_formation_of_government
		cost = 2
		x = 2
		y = 1
		prerequisite = {
			focus = JAP_formation_of_government
		}
		completion_reward = {
			country_event = {
				id = jap.29
			}
		}
	}
	focus = {
		id = JAP_lets_do_our_best
		icon = GFX_focus_JAP_lets_do_our_best
		relative_position_id = JAP_formation_of_government
		cost = 2
		x = 0
		y = 2
		prerequisite = {
			focus = JAP_expose_ldp
		}
		prerequisite = {
			focus = JAP_state_budgeting
		}
		completion_reward = {
			custom_effect_tooltip = JAP_lets_do_our_best_tooltip
			country_event = {
				id = jap.31
			}
		}
	}
	focus = {
		id = JAP_peoples_japan
		icon = GFX_focus_JAP_peoples_japan
		relative_position_id = JAP_lets_do_our_best
		cost = 3
		x = -2
		y = 1
		prerequisite = {
			focus = JAP_lets_do_our_best
		}
		mutually_exclusive = {
			focus = JAP_free_japan
		}
		available = {
			hidden_trigger = {
				always = no
			}
		}
		completion_reward = {
			set_politics = {
				ruling_party = social_democrat
				elections_allowed = yes
				last_election = "2021.10.31"
				election_frequency = 48
			}
			add_popularity = {
				ideology = social_democrat
				popularity = 0.025
			}
			set_temp_variable = {
				var = JAP_election_approval_rating_jcp_var_temp
				value = 0.02
			}
			JAP_add_election_approval_rating_jcp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_sdp_var_temp
				value = 0.02
			}
			JAP_add_election_approval_rating_sdp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_rei_var_temp
				value = 0.02
			}
			JAP_add_election_approval_rating_rei = yes
			unlock_decision_tooltip = JAP_dec_socialist_cc_support1
			custom_effect_tooltip = Japan_Socialist_Unfinished_tt
			hidden_effect = {
				set_temp_variable = {
					coalition_partner_var_temp = token:social_liberal
				}
				add_to_coalition = yes
				add_popularity = {
					ideology = market_liberal
					popularity = -0.05
				}
				add_popularity = {
					ideology = social_liberal
					popularity = -0.05
				}
				add_popularity = {
					ideology = conservative
					popularity = 0.05
				}
				AST = {
					country_event = {
						id = jap.32
						days = 45
						random_days = 25
					}
				}
			}
		}
	}
	focus = {
		id = JAP_free_japan
		icon = GFX_focus_JAP_free_japan
		relative_position_id = JAP_lets_do_our_best
		cost = 3
		x = 2
		y = 1
		prerequisite = {
			focus = JAP_lets_do_our_best
		}
		mutually_exclusive = {
			focus = JAP_peoples_japan
		}
		available = {
			hidden_trigger = {
				always = no
			}
		}
		completion_reward = {
			set_politics = {
				ruling_party = social_liberal
				elections_allowed = yes
				last_election = "2021.10.31"
				election_frequency = 48
			}
			add_popularity = {
				ideology = market_liberal
				popularity = 0.025
			}
			set_temp_variable = {
				var = JAP_election_approval_rating_dpp_var_temp
				value = 0.02
			}
			JAP_add_election_approval_rating_dpp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_ino_var_temp
				value = 0.02
			}
			JAP_add_election_approval_rating_ino = yes
			unlock_decision_tooltip = JAP_dec_liberal_cc_support1
			hidden_effect = {
				set_country_leader_ideology = centrist
				add_popularity = {
					ideology = social_democrat
					popularity = -0.05
				}
				add_popularity = {
					ideology = libertarian_socialist
					popularity = -0.05
				}
				add_popularity = {
					ideology = conservative
					popularity = 0.05
				}
			}
		}
	}
	focus = {
		id = JAP_throw_the_corporations
		icon = GFX_focus_JAP_throw_the_corporations
		relative_position_id = JAP_peoples_japan
		cost = 4
		x = -2
		y = 1
		prerequisite = {
			focus = JAP_peoples_japan
		}
		available = {
			has_completed_focus = JAP_deal_with_devil
		}
		completion_reward = {
			add_political_power = 50
			JAP_decrease_keiretsu_control = yes
			add_stability = -0.1
		}
	}
	focus = {
		id = JAP_progressive_healthcare
		icon = GFX_focus_JAP_progressive_healthcare
		relative_position_id = JAP_throw_the_corporations
		cost = 4
		x = 0
		y = 1
		prerequisite = {
			focus = JAP_throw_the_corporations
		}
		completion_reward = {
			set_temp_variable = {
				var = poverty_development_var_temp
				value = 0.05
			}
			add_poverty_development = yes
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.1
			}
			add_society_development = yes
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = -0.1
				tooltip_side = JAP_bop_cc_socialist
			}
		}
	}
	focus = {
		id = JAP_feed_the_people
		icon = GFX_focus_JAP_feed_the_people
		relative_position_id = JAP_progressive_healthcare
		cost = 4
		x = -1
		y = 1
		prerequisite = {
			focus = JAP_progressive_healthcare
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_dec_liberal_cc_support2
			JAP_decrease_aging_population = yes
			set_temp_variable = {
				var = poverty_development_var_temp
				value = 0.1
			}
			add_poverty_development = yes
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = -0.1
				tooltip_side = JAP_bop_cc_socialist
			}
		}
	}
	focus = {
		id = JAP_leftists_in_cdp
		icon = GFX_focus_JAP_leftists_in_cdp
		relative_position_id = JAP_feed_the_people
		cost = 4
		x = 1
		y = 1
		prerequisite = {
			focus = JAP_feed_the_people
		}
		available = {
			has_idea = JAP_fragmented_goverment_idea
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_dec_liberal_cc_support3
			add_political_power = 25
			add_popularity = {
				ideology = social_liberal
				popularity = 0.025
			}
			set_temp_variable = {
				var = JAP_election_approval_rating_dpp_var_temp
				value = -0.05
			}
			JAP_add_election_approval_rating_dpp = yes
			set_temp_variable = {
				var = JAP_election_approval_rating_kdp_var_temp
				value = 0.05
			}
			JAP_add_election_approval_rating_kdp = yes
			remove_ideas = JAP_fragmented_goverment_idea
		}
	}
	focus = {
		id = JAP_promises_of_peace
		icon = GFX_focus_JAP_promises_of_peace
		relative_position_id = JAP_peoples_japan
		cost = 3
		x = 1
		y = 1
		prerequisite = {
			focus = JAP_peoples_japan
		}
		mutually_exclusive = {
			focus = JAP_pledge_to_defend_taiwan
		}
		completion_reward = {
			add_political_power = 50
			add_stability = 0.05
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = -0.05
				tooltip_side = JAP_bop_cc_socialist
			}
		}
	}
	focus = {
		id = JAP_deal_with_devil
		icon = GFX_focus_JAP_deal_with_devil
		relative_position_id = JAP_promises_of_peace
		cost = 3
		x = -1
		y = 1
		prerequisite = {
			focus = JAP_promises_of_peace
		}
		completion_reward = {
			#туду добавить ньюс ивент, картинка уже есть japanese_chinese_agreement.dds
			PRC = {
				country_event = jap.46
			}
			diplomatic_relation = {
				country = PRC
				relation = non_aggression_pact
				active = yes
			}
			hidden_effect = {
				country_event = {
					id = jap.63
					days = 15
					random_days = 15
				}
			}
		}
	}
	focus = {
		id = JAP_legacy_of_anpo_protests
		icon = GFX_focus_JAP_legacy_of_anpo_protests
		relative_position_id = JAP_deal_with_devil
		cost = 3
		x = -1
		y = 1
		prerequisite = {
			focus = JAP_deal_with_devil
		}
		completion_reward = {
			country_event = jap.47
			add_political_power = 150
			JAP_decrease_japanese_pacifism = yes
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = -0.05
				tooltip_side = JAP_bop_cc_socialist
			}
		}
	}
	focus = {
		id = JAP_armed_neutrality
		icon = GFX_focus_JAP_armed_neutrality
		relative_position_id = JAP_deal_with_devil
		cost = 3
		x = 1
		y = 1
		prerequisite = {
			focus = JAP_deal_with_devil
		}
		completion_reward = {
			add_stability = -0.05
			custom_effect_tooltip = JAP_armed_neutrality_tt
			set_country_flag = JAP_military_tree_opened
			mark_focus_tree_layout_dirty = yes
			custom_effect_tooltip = JAP_military_tree_opened_tt
			set_temp_variable = {
				var = JAP_election_approval_rating_kdp_var_temp
				value = -0.05
			}
			JAP_add_election_approval_rating_kdp = yes
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = 0.15
				tooltip_side = JAP_bop_cc_liberal
			}
			hidden_effect = {
				add_popularity = {
					ideology = social_liberal
					popularity = -0.05
				}
			}
		}
	}
	focus = {
		id = JAP_pledge_to_defend_taiwan
		icon = GFX_focus_JAP_pledge_to_defend_taiwan
		prerequisite = {
			focus = JAP_free_japan
		}
		relative_position_id = JAP_free_japan
		mutually_exclusive = {
			focus = JAP_promises_of_peace
		}
		cost = 3
		x = -1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			add_war_support = 0.05
			CHI = {
				country_event = jap.53
			}
			diplomatic_relation = {
				country = CHI
				relation = guarantee
				active = yes
			}
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = 0.05
				tooltip_side = JAP_bop_cc_liberal
			}
			hidden_effect = {
				country_event = {
					id = jap.122
					days = 10
					random_days = 5
				}
			}
		}
	}
	focus = {
		id = JAP_form_pdto
		icon = GFX_focus_JAP_form_the_pdo
		prerequisite = {
			focus = JAP_pledge_to_defend_taiwan
		}
		relative_position_id = JAP_pledge_to_defend_taiwan
		cost = 3
		x = 1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			country_event = jap.5
			set_country_flag = JAP_military_tree_opened
			mark_focus_tree_layout_dirty = yes
			custom_effect_tooltip = JAP_military_tree_opened_tt
			hidden_effect = {
				country_event = {
					id = jap.62
					days = 15
					random_days = 15
				}
				country_event = {
					id = jap.123
					days = 5
					random_days = 5
				}
				PRC = {
					country_event = {
						id = china.329
						days = 15
					}
				}
			}
		}
	}
	focus = {
		id = JAP_anti_prc_propaganda
		icon = GFX_focus_JAP_anti_prc_propaganda
		prerequisite = {
			focus = JAP_form_pdto
		}
		relative_position_id = JAP_form_pdto
		cost = 3
		x = -1
		y = 1
		ai_will_do = {
			factor = 40
		}
		available = {
			PRC = {
				has_war_with = CHI
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea = JAP_anti_prc_propaganda_idea
				days = 120
			}
		}
	}
	focus = {
		id = JAP_beyond_the_ocean
		icon = GFX_focus_JAP_beyond_the_ocean
		prerequisite = {
			focus = JAP_form_pdto
		}
		relative_position_id = JAP_form_pdto
		cost = 3
		x = 1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			country_event = jap.48
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = 0.05
				tooltip_side = JAP_bop_cc_liberal
			}
		}
	}
	focus = {
		id = JAP_support_small_business
		icon = GFX_focus_JAP_support_small_business
		relative_position_id = JAP_free_japan
		cost = 4
		x = 2
		y = 1
		prerequisite = {
			focus = JAP_free_japan
		}
		available = {
			has_completed_focus = JAP_form_pdto
		}
		completion_reward = {
			decrease_taxes = yes
			JAP_decrease_keiretsu_control = yes
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = 0.05
				tooltip_side = JAP_bop_cc_liberal
			}
			add_political_power = 75
			hidden_effect = {
				country_event = {
					id = jap.124
					days = 20
					random_days = 5
				}
			}
		}
	}
	focus = {
		id = JAP_strengthen_freedom_of_speech
		icon = GFX_focus_JAP_strengthen_freedom_of_speech
		relative_position_id = JAP_support_small_business
		cost = 4
		x = 0
		y = 1
		prerequisite = {
			focus = JAP_support_small_business
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_dec_liberal_cc_support2
			unlock_decision_tooltip = JAP_dec_centrist_cc_support2
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = 0.1
				tooltip_side = JAP_bop_cc_liberal
			}
			add_ideas = higher_prison
			add_political_power = 75
		}
	}
	focus = {
		id = JAP_protect_rights_of_citizens
		icon = GFX_focus_JAP_protect_rights_of_citizens
		relative_position_id = JAP_strengthen_freedom_of_speech
		cost = 4
		x = 1
		y = 1
		prerequisite = {
			focus = JAP_strengthen_freedom_of_speech
		}
		completion_reward = {
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.05
			}
			add_society_development = yes
			add_stability = 0.025
			add_political_power = -50
			add_power_balance_value = {
				id = JAP_civil_coalition_power_balance
				value = 0.1
				tooltip_side = JAP_bop_cc_liberal
			}
		}
	}
	focus = {
		id = JAP_loyal_liberal_democrats
		icon = GFX_focus_JAP_loyal_liberal_democrats
		relative_position_id = JAP_protect_rights_of_citizens
		cost = 4
		x = -1
		y = 1
		prerequisite = {
			focus = JAP_protect_rights_of_citizens
		}
		available = {
			has_idea = JAP_fragmented_goverment_idea
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_dec_liberal_cc_support3
			unlock_decision_tooltip = JAP_dec_centrist_cc_support3
			add_political_power = 25
			add_popularity = {
				ideology = conservative
				popularity = -0.05
			}
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = -0.05
			}
			JAP_add_election_approval_rating_ldp = yes
			remove_ideas = JAP_fragmented_goverment_idea
		}
	}
	focus = {
		id = JAP_post_covid_stabilization
		icon = GFX_focus_JAP_post_covid_stabilization
		relative_position_id = JAP_lets_do_our_best
		cost = 4
		x = 0
		y = 3
		prerequisite = {
			focus = JAP_free_japan
			focus = JAP_peoples_japan
		}
		available = {
			OR = {
				has_completed_focus = JAP_form_pdto
				has_completed_focus = JAP_deal_with_devil
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea = JAP_post_covid_stabilization_idea
				days = 100
			}
			if = {
				limit = {
					has_completed_focus = JAP_peoples_japan
				}
				add_power_balance_value = {
					id = JAP_civil_coalition_power_balance
					value = -0.05
					tooltip_side = JAP_bop_cc_socialist
				}
			}
			if = {
				limit = {
					has_completed_focus = JAP_free_japan
				}
				add_power_balance_value = {
					id = JAP_civil_coalition_power_balance
					value = 0.05
					tooltip_side = JAP_bop_cc_liberal
				}
			}
		}
	}
	focus = {
		id = JAP_promote_gender_neutrality
		icon = GFX_focus_JAP_promote_gender_neutrality
		relative_position_id = JAP_post_covid_stabilization
		cost = 4
		x = 2
		y = 2
		prerequisite = {
			focus = JAP_post_covid_stabilization
		}
		completion_reward = {
			add_ideas = high_female
			add_ideas = higher_female_service
			if = {
				limit = {
					has_completed_focus = JAP_peoples_japan
				}
				add_power_balance_value = {
					id = JAP_civil_coalition_power_balance
					value = -0.05
					tooltip_side = JAP_bop_cc_socialist
				}
			}
			if = {
				limit = {
					has_completed_focus = JAP_free_japan
				}
				add_power_balance_value = {
					id = JAP_civil_coalition_power_balance
					value = 0.05
					tooltip_side = JAP_bop_cc_liberal
				}
			}
		}
	}
	focus = {
		id = JAP_green_revolution
		icon = GFX_focus_JAP_green_revolution
		relative_position_id = JAP_post_covid_stabilization
		cost = 4
		x = -2
		y = 2
		prerequisite = {
			focus = JAP_post_covid_stabilization
		}
		completion_reward = {
			activate_mission = JAP_green_plan_mission
			add_timed_idea = {
				idea = JAP_green_energy_plan
				days = 100
			}
			set_country_flag = JAP_green_plan_mission_flag
			if = {
				limit = {
					has_completed_focus = JAP_peoples_japan
				}
				add_power_balance_value = {
					id = JAP_civil_coalition_power_balance
					value = -0.05
					tooltip_side = JAP_bop_cc_socialist
				}
			}
			if = {
				limit = {
					has_completed_focus = JAP_free_japan
				}
				add_power_balance_value = {
					id = JAP_civil_coalition_power_balance
					value = 0.05
					tooltip_side = JAP_bop_cc_liberal
				}
			}
		}
	}
	#Liberal-Democrats Tree
	focus = {
		id = JAP_the_status_quo_remains
		icon = GFX_focus_JAP_the_status_quo_remains
		cost = 1
		x = 8
		y = 0
		ai_will_do = {
			factor = 10
		}
		allow_branch = {
			has_country_flag = JAP_ldp_won_flag
		}
		completion_reward = {
			country_event = {
				id = jap.44
			}
			unlock_decision_tooltip = JAP_boost_conservatives_campaign
			unlock_decision_tooltip = JAP_boost_centrists_campaign
			unlock_decision_tooltip = JAP_boost_liberals_campaign
			hidden_effect = {
				set_variable = {
					JAP_political_campaign_decision_cost_var = 75
				}
				country_event = {
					id = jap.161
					days = 15
					random_days = 10
				}
			}
		}
	}
	focus = {
		id = JAP_new_era_for_japan
		icon = GFX_focus_JAP_new_era_for_japan
		relative_position_id = JAP_the_status_quo_remains
		cost = 3
		x = -2
		y = 1
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = JAP_the_status_quo_remains
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_labor_reforms
			unlock_decision_tooltip = JAP_post_covid_business_relief
			set_temp_variable = {
				var = JAP_ldp_centrists_var_temp
				value = 0.05
			}
			JAP_add_influence_ldp_centrists = yes
			set_temp_variable = {
				var = JAP_ldp_liberals_var_temp
				value = 0.1
			}
			JAP_add_influence_ldp_liberals = yes
		}
	}
	focus = {
		id = JAP_administrative_reforms
		icon = GFX_focus_JAP_administrative_reforms
		relative_position_id = JAP_the_status_quo_remains
		cost = 3
		x = 2
		y = 1
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = JAP_the_status_quo_remains
		}
		completion_reward = {
			hidden_effect = {
				country_event = {
					id = jap.45
					days = 20
					random_days = 30
				}
			}
			add_timed_idea = {
				idea = JAP_administrative_reform_ldp
				days = 100
			}
			set_temp_variable = {
				var = JAP_ldp_conservatives_var_temp
				value = -0.05
			}
			JAP_add_influence_ldp_conservatives = yes
		}
	}
	focus = {
		id = JAP_together_with_you
		icon = GFX_focus_JAP_together_with_you
		relative_position_id = JAP_administrative_reforms
		cost = 3
		x = -2
		y = 1
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = JAP_new_era_for_japan
		}
		prerequisite = {
			focus = JAP_administrative_reforms
		}
		completion_reward = {
			add_political_power = 50
			add_popularity = {
				ideology = conservative
				popularity = 0.03
			}
			set_temp_variable = {
				var = JAP_election_approval_rating_ldp_var_temp
				value = 0.03
			}
			JAP_add_election_approval_rating_ldp = yes
		}
	}
	focus = {
		id = JAP_new_three_arrows
		icon = GFX_focus_JAP_new_three_arrows
		relative_position_id = JAP_together_with_you
		cost = 3
		x = -2
		y = 1
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = JAP_together_with_you
		}
		mutually_exclusive = {
			focus = JAP_new_japanese_capitalism
		}
		available = {
			has_country_flag = JAP_kono_elected
		}
		completion_reward = {
			add_political_power = 50
			#unlock_decision_category_tooltip = JAP_domestic_policies_category
		}
	}
	focus = {
		id = JAP_new_japanese_capitalism
		icon = GFX_focus_JAP_new_japanese_capitalism
		relative_position_id = JAP_together_with_you
		cost = 3
		x = 2
		y = 1
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = JAP_together_with_you
		}
		mutually_exclusive = {
			focus = JAP_new_three_arrows
		}
		available = {
			has_country_flag = JAP_fumio_elected
		}
		completion_reward = {
			add_political_power = 50
			#unlock_decision_category_tooltip = JAP_domestic_policies_category
		}
	}
	focus = {
		id = JAP_post_covid_stabilization2
		icon = GFX_focus_JAP_post_covid_stabilization2
		prerequisite = {
			focus = JAP_new_three_arrows
			focus = JAP_new_japanese_capitalism
		}
		relative_position_id = JAP_new_japanese_capitalism
		cost = 3
		x = -2
		y = 2
		ai_will_do = {
			factor = 40
		}
		available = {
			has_completed_focus = JAP_form_pdto2
		}
		completion_reward = {
			add_timed_idea = {
				idea = JAP_post_covid_stabilization_idea
				days = 100
			}
		}
	}
	focus = {
		id = JAP_form_pdto2
		icon = GFX_focus_JAP_form_the_pdto2
		prerequisite = {
			focus = JAP_new_three_arrows
			focus = JAP_new_japanese_capitalism
		}
		relative_position_id = JAP_new_japanese_capitalism
		cost = 3
		x = -2
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			country_event = jap.5
			set_country_flag = JAP_military_tree_opened
			mark_focus_tree_layout_dirty = yes
			custom_effect_tooltip = JAP_military_tree_opened_tt
			unlock_decision_category_tooltip = JAP_pdto_dec_cat
			set_temp_variable = {
				var = JAP_ldp_conservatives_var_temp
				value = 0.1
			}
			JAP_add_influence_ldp_conservatives = yes
			hidden_effect = {
				PRC = {
					country_event = {
						id = china.329
						days = 15
					}
				}
			}
		}
	}
	focus = {
		id = JAP_first_pdto_military_exercises
		icon = GFX_focus_JAP_first_pdto_military_exercises
		prerequisite = {
			focus = JAP_form_pdto2
		}
		relative_position_id = JAP_form_pdto2
		cost = 3
		x = -2
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_pdto_military_exercises
		}
	}
	focus = {
		id = JAP_invest_taiwanese_defences
		icon = GFX_focus_JAP_invest_taiwanese_defences
		prerequisite = {
			focus = JAP_form_pdto2
		}
		relative_position_id = JAP_form_pdto2
		cost = 3
		x = 2
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_taiwanese_training_idea1
			unlock_decision_tooltip = JAP_taiwanese_training_idea2
			unlock_decision_tooltip = JAP_taiwanese_supervision_idea
			unlock_decision_tooltip = JAP_taiwanese_military_development
			unlock_decision_tooltip = JAP_send_military_advisiors_to_taiwan
			unlock_decision_tooltip = JAP_develop_taiwanese_military_production
		}
	}
	focus = {
		id = JAP_ldp_unification_campaign
		icon = GFX_focus_JAP_ldp_unification_campaign
		prerequisite = {
			focus = JAP_post_covid_stabilization2
		}
		relative_position_id = JAP_first_pdto_military_exercises
		cost = 3
		x = 1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			add_political_power = -75
			custom_effect_tooltip = JAP_political_unification_campaign_tt
			add_to_variable = {
				var = JAP_political_campaign_decision_cost_var
				value = -25
			}
		}
	}
	focus = {
		id = JAP_raise_defence_budget
		icon = GFX_focus_JAP_raise_defence_budget
		prerequisite = {
			focus = JAP_post_covid_stabilization2
		}
		relative_position_id = JAP_invest_taiwanese_defences
		cost = 3
		x = -1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			JAP_decrease_japanese_pacifism = yes
			add_ideas = JAP_raised_defence_budget
			add_stability = -0.075
		}
	}
	focus = {
		id = JAP_start_information_war
		icon = GFX_focus_JAP_start_information_war
		prerequisite = {
			focus = JAP_first_pdto_military_exercises
		}
		prerequisite = {
			focus = JAP_invest_taiwanese_defences
		}
		relative_position_id = JAP_post_covid_stabilization2
		cost = 3
		x = 0
		y = 2
		ai_will_do = {
			factor = 40
		}
		available = {
			PRC = {
				has_war_with = CHI
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea = JAP_anti_prc_propaganda_idea
				days = 120
			}
			PRC = {
				add_timed_idea = {
					idea = JAP_PRC_japan_propaganda
					days = 120
				}
				country_event = {
					id = jap.56
					days = 1
				}
			}
		}
	}
	focus = {
		id = JAP_provide_heavy_inflation_relief_packages
		icon = GFX_focus_JAP_provide_heavy_inflation_relief_packages
		prerequisite = {
			focus = JAP_new_japanese_capitalism
		}
		relative_position_id = JAP_new_japanese_capitalism
		cost = 3
		x = 1
		y = 1
		ai_will_do = {
			factor = 40
		}
		available = {
			has_completed_focus = JAP_form_pdto2
		}
		completion_reward = {
			unlock_decision_tooltip = JAP_inflation_reduction_campaign
			unlock_decision_tooltip = JAP_inflation_increase_campaign
			add_timed_idea = {
				idea = JAP_inflation_relief
				days = 70
			}
			set_temp_variable = {
				var = debt_var_temp
				value = 45
			}
			add_debt_with_inflation = yes
		}
	}
	focus = {
		id = JAP_increase_minimum_wage
		icon = GFX_focus_JAP_increase_minimum_wage
		prerequisite = {
			focus = JAP_provide_heavy_inflation_relief_packages
		}
		relative_position_id = JAP_provide_heavy_inflation_relief_packages
		cost = 3
		x = 1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_ldp_centrists_var_temp
				value = 0.05
			}
			JAP_add_influence_ldp_centrists = yes
			unlock_decision_tooltip = JAP_minimum_wage_campaign
		}
	}
	focus = {
		id = JAP_subsidise_small_medium_businesses
		icon = GFX_focus_JAP_subsidise_small_medium_businesses
		prerequisite = {
			focus = JAP_increase_minimum_wage
		}
		relative_position_id = JAP_increase_minimum_wage
		cost = 3
		x = -1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			add_political_power = 100
			decrease_taxes = yes
			JAP_decrease_keiretsu_control = yes
		}
	}
	focus = {
		id = JAP_startup_digitalization_economy
		icon = GFX_focus_JAP_startup_digitalization_economy
		prerequisite = {
			focus = JAP_subsidise_small_medium_businesses
		}
		relative_position_id = JAP_subsidise_small_medium_businesses
		cost = 3
		x = -1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			add_ideas = JAP_digitalization_fumio
		}
	}
	focus = {
		id = JAP_green_energy_plan
		icon = GFX_focus_JAP_green_energy_plan
		prerequisite = {
			focus = JAP_new_three_arrows
		}
		relative_position_id = JAP_new_three_arrows
		cost = 3
		x = -1
		y = 1
		ai_will_do = {
			factor = 40
		}
		available = {
			has_completed_focus = JAP_form_pdto2
		}
		completion_reward = {
			activate_mission = JAP_green_plan_mission
			add_timed_idea = {
				idea = JAP_green_energy_plan
				days = 100
			}
			set_country_flag = JAP_green_plan_mission_flag
		}
	}
	focus = {
		id = JAP_rural_benefits_programme
		icon = GFX_focus_JAP_rural_benefits_programme
		prerequisite = {
			focus = JAP_green_energy_plan
		}
		relative_position_id = JAP_green_energy_plan
		cost = 3
		x = -1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			set_temp_variable = {
				var = JAP_ldp_liberals_var_temp
				value = 0.1
			}
			JAP_add_influence_ldp_liberals = yes
			unlock_decision_tooltip = JAP_rural_benefits_programme
		}
	}
	focus = {
		id = JAP_stable_government_stable_market
		icon = GFX_focus_JAP_stable_government_stable_market
		prerequisite = {
			focus = JAP_rural_benefits_programme
		}
		relative_position_id = JAP_rural_benefits_programme
		cost = 3
		x = 1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = JAP_political_monopoly_idea
				add_idea = JAP_political_monopoly_1_idea
			}
			set_temp_variable = {
				var = JAP_ldp_conservatives_var_temp
				value = 0.025
			}
			JAP_add_influence_ldp_conservatives = yes
			unlock_decision_tooltip = JAP_keiretsu_restructure_taro_kono
		}
	}
	focus = {
		id = JAP_kono_digitalization_programme
		icon = GFX_focus_JAP_kono_digitalization_programme
		prerequisite = {
			focus = JAP_stable_government_stable_market
		}
		relative_position_id = JAP_stable_government_stable_market
		cost = 3
		x = 1
		y = 1
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			add_ideas = JAP_digitalization_taro
		}
	}
	#Taiwan War Tree
	focus = {
		id = JAP_defend_taiwan
		icon = GFX_focus_JAP_defend_taiwan
		cost = 3
		x = 8
		y = 8
		allow_branch = {
			has_country_flag = JAP_ongoing_taiwan_war
		}
		completion_reward = {
			hidden_effect = {
				country_event = {
					id = jap.110
					hours = 4
				}
				country_event = {
					id = jap.126
					days = 10
					random_days = 30
				}
				country_event = {
					id = jap.127
					days = 20
					random_days = 80
				}
				country_event = {
					id = jap.186
					days = 30
				}
			}
		}
	}
	focus = {
		id = JAP_kinmen_operation
		icon = GFX_focus_JAP_kinmen
		prerequisite = {
			focus = JAP_defend_taiwan
		}
		relative_position_id = JAP_defend_taiwan
		cost = 3
		x = -3
		y = 1
		completion_reward = {
			unlock_decision_tooltip = JAP_activate_mission_kinmen
		}
	}
	focus = {
		id = JAP_maintain_sea_and_air_superiority
		icon = GFX_focus_JAP_maintain_superiority
		prerequisite = {
			focus = JAP_defend_taiwan
		}
		relative_position_id = JAP_defend_taiwan
		cost = 3
		x = 1
		y = 1
		completion_reward = {
			unlock_decision_tooltip = JAP_taiwan_fleet
			unlock_decision_tooltip = JAP_taiwan_air
			add_equipment_to_stockpile = {
				type = amphibious_mechanized_equipment_1
				amount = 500
				producer = JAP
			}
		}
	}
	focus = {
		id = JAP_break_the_blockade_of_taiwan
		icon = GFX_focus_JAP_break_the_blockade
		prerequisite = {
			focus = JAP_defend_taiwan
		}
		relative_position_id = JAP_defend_taiwan
		cost = 3
		x = 0
		y = 2
		completion_reward = {
			unlock_decision_tooltip = JAP_break_the_blockade_of_taiwan_dec
		}
	}
	focus = {
		id = JAP_throw_them_into_the_sea
		icon = GFX_focus_JAP_throw_them
		prerequisite = {
			focus = JAP_defend_taiwan
		}
		relative_position_id = JAP_defend_taiwan
		cost = 3
		x = -1
		y = 1
		available = {
			PRC = {
				OR = {
					controls_state = 524
					controls_state = 1148
					controls_state = 1149
					controls_state = 1150
				}
			}
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = PDO_taiwan_intervention_idea
				add_idea = PDO_taiwan_intervention_2_idea
			}
			AST = {
				swap_ideas = {
					remove_idea = PDO_taiwan_intervention_idea
					add_idea = PDO_taiwan_intervention_2_idea
				}
			}
			unlock_decision_tooltip = JAP_throw_them_back_dec
			add_war_support = 0.025
		}
	}
	focus = {
		id = JAP_fortify_okinawa_and_senkaku
		icon = GFX_focus_JAP_fortify
		prerequisite = {
			focus = JAP_defend_taiwan
		}
		relative_position_id = JAP_defend_taiwan
		cost = 3
		x = 3
		y = 1
		available = {
			controls_state = 876
			controls_state = 526
		}
		completion_reward = {
			add_war_support = 0.025
			876 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 13215
				}
			}
			526 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 10124
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 11932
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 1123
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 7115
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 11932
				}
			}
		}
	}
	focus = {
		id = JAP_strike_chinese_military_bases
		icon = GFX_focus_JAP_chinese_bases
		prerequisite = {
			focus = JAP_defend_taiwan
		}
		relative_position_id = JAP_defend_taiwan
		cost = 3
		x = 2
		y = 2
		completion_reward = {
			unlock_decision_tooltip = JAP_naval_strike_gaolei
			unlock_decision_tooltip = JAP_naval_strike_fuzhou
			unlock_decision_tooltip = JAP_naval_strike_shanghai
			unlock_decision_tooltip = JAP_destroy_shanghai_industry
			unlock_decision_tooltip = JAP_destroy_xiamen_industry
			unlock_decision_tooltip = JAP_destroy_fuzhou_industry
			add_war_support = 0.05
			add_stability = -0.025
		}
	}
	focus = {
		id = JAP_strengthen_air_defense
		icon = GFX_focus_JAP_airforce
		prerequisite = {
			focus = JAP_defend_taiwan
		}
		relative_position_id = JAP_defend_taiwan
		cost = 3
		x = -2
		y = 2
		completion_reward = {
			add_war_support = 0.025
			CHI = {
				add_war_support = 0.025
				add_stability = 0.075
				every_controlled_state = {
					limit = {
						NOT = {
							state = 648
						}
					}
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					controls_state = 876
				}
				876 = {
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					controls_state = 526
				}
				526 = {
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
				}
			}
			set_temp_variable = {
				var = debt_var_temp
				value = 2.5
			}
			add_debt_with_inflation = yes
		}
	}
}

###POSTWAR
shared_focus = {
	id = JAP_leap_to_prosperity
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
				has_global_flag = JAP_japan_lost
			}
		}
		value = GFX_focus_JAP_leap_to_prosperity_1
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_japan_lost
			}
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_leap_to_prosperity_2
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_leap_to_prosperity_3
	}
	available = {
	}
	cost = 5
	x = 17
	y = 0
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		if = {
			limit = {
				has_global_flag = PRC_taiwan_war_lost
			}
			set_temp_variable = {
				var = debt_var_temp
				value = -750
			}
			add_debt_with_inflation = yes
		}
		if = {
			limit = {
				has_global_flag = PRC_taiwan_war_won
			}
			set_temp_variable = {
				var = debt_var_temp
				value = -1750
			}
			add_debt_with_inflation = yes
		}
		add_research_slot = 1
		effect_tooltip = {
			add_ideas = JAP_japan_economy_start
		}
		hidden_effect = {
			add_dynamic_modifier = {
				modifier = JAP_japan_economy_dynamic
			}
			add_to_variable = {
				var = JAP_japan_economy_production_speed_buildings_factor_dynamic
				value = 0.025
			}
			add_to_variable = {
				var = JAP_japan_economy_industrial_capacity_factory_dynamic
				value = 0.025
			}
			add_to_variable = {
				var = JAP_japan_economy_industrial_capacity_dockyard_dynamic
				value = 0.025
			}
			set_variable = {
				JAP_energetic_cost = 75
			}
			if = {
				limit = {
					NOT = {
						has_completed_focus = JAP_balance_regional_development
					}
				}
				set_variable = {
					JAP_prefectures_dev_cost = 50
				}
			}
		}
		unlock_decision_category_tooltip = JAP_japan_economy_category
	}
}

shared_focus = {
	id = JAP_develop_northern_prefectures
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
				has_global_flag = JAP_japan_lost
			}
		}
		value = GFX_focus_JAP_develop_northern_prefectures_1
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_japan_lost
			}
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_develop_northern_prefectures_2
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_develop_northern_prefectures_3
	}
	prerequisite = {
		focus = JAP_leap_to_prosperity
	}
	relative_position_id = JAP_leap_to_prosperity
	cost = 5
	x = -2
	y = 2
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		add_political_power = 50
		custom_effect_tooltip = JAP_northern_development
	}
}

shared_focus = {
	id = JAP_support_centre_prefectures
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
				has_global_flag = JAP_japan_lost
			}
		}
		value = GFX_focus_JAP_support_centre_prefectures_1
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_japan_lost
			}
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_support_centre_prefectures_2
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_support_centre_prefectures_3
	}
	prerequisite = {
		focus = JAP_leap_to_prosperity
	}
	relative_position_id = JAP_leap_to_prosperity
	cost = 5
	x = -1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		add_political_power = 50
		custom_effect_tooltip = JAP_centre_development
	}
}

shared_focus = {
	id = JAP_revitalize_southern_prefectures
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
				has_global_flag = JAP_japan_lost
			}
		}
		value = GFX_focus_JAP_revitalize_southern_prefectures_1
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_japan_lost
			}
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_revitalize_southern_prefectures_2
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_revitalize_southern_prefectures_3
	}
	prerequisite = {
		focus = JAP_leap_to_prosperity
	}
	relative_position_id = JAP_leap_to_prosperity
	cost = 5
	x = 0
	y = 2
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		add_political_power = 50
		custom_effect_tooltip = JAP_south_development
	}
}

shared_focus = {
	id = JAP_expand_urban_areas
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
				has_global_flag = JAP_japan_lost
			}
		}
		value = GFX_focus_JAP_expand_urban_areas_1
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_japan_lost
			}
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_expand_urban_areas_2
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_expand_urban_areas_3
	}
	prerequisite = {
		focus = JAP_support_centre_prefectures
		focus = JAP_develop_northern_prefectures
		focus = JAP_revitalize_southern_prefectures
	}
	relative_position_id = JAP_support_centre_prefectures
	cost = 5
	x = 0
	y = 2
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		custom_effect_tooltip = JAP_urban_development
	}
}

shared_focus = {
	id = JAP_age_of_reconstruction
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
				has_global_flag = JAP_japan_lost
			}
		}
		value = GFX_focus_JAP_age_of_reconstruction_1
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_japan_lost
			}
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_age_of_reconstruction_2
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_age_of_reconstruction_3
	}
	prerequisite = {
		focus = JAP_leap_to_prosperity
	}
	relative_position_id = JAP_leap_to_prosperity
	cost = 5
	x = 1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_japan_economy_dummy
				add_idea = JAP_japan_economy_reconstruction
			}
		}
		unlock_decision_tooltip = JAP_railway_modernization_start
		hidden_effect = {
			add_to_variable = {
				var = JAP_japan_economy_industrial_capacity_factory_dynamic
				value = 0.05
			}
			add_to_variable = {
				var = JAP_japan_economy_industrial_capacity_dockyard_dynamic
				value = 0.05
			}
		}
	}
}

shared_focus = {
	id = JAP_technological_renaissance
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
				has_global_flag = JAP_japan_lost
			}
		}
		value = GFX_focus_JAP_technological_renaissance_1
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_japan_lost
			}
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_technological_renaissance_2
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_technological_renaissance_3
	}
	prerequisite = {
		focus = JAP_age_of_reconstruction
	}
	relative_position_id = JAP_age_of_reconstruction
	cost = 5
	x = 0
	y = 2
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_japan_economy_dummy
				add_idea = JAP_japan_economy_tech
			}
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_japan_economy_production_speed_buildings_factor_dynamic
				value = 0.025
			}
			add_to_variable = {
				var = JAP_japan_economy_production_factory_max_efficiency_factor_dynamic
				value = 0.025
			}
			add_to_variable = {
				var = JAP_japan_economy_research_speed_factor_dynamic
				value = 0.05
			}
		}
		unlock_decision_tooltip = JAP_research_innovations_japan
		add_tech_bonus = {
			name = JAP_technological_renaissance
			bonus = 1
			ahead_reduction = 2
			uses = 2
			category = artificial_intelligence
		}
		add_tech_bonus = {
			name = JAP_technological_renaissance
			bonus = 1.5
			ahead_reduction = 2
			uses = 3
			category = electronics
		}
	}
}

shared_focus = {
	id = JAP_energy_independence
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
				has_global_flag = JAP_japan_lost
			}
		}
		value = GFX_focus_JAP_energy_independence_1
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_japan_lost
			}
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_energy_independence_2
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_energy_independence_3
	}
	prerequisite = {
		focus = JAP_age_of_reconstruction
	}
	relative_position_id = JAP_age_of_reconstruction
	cost = 5
	x = 1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_japan_economy_dummy
				add_idea = JAP_japan_economy_energy
			}
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_japan_economy_factory_energy_consumption_dynamic
				value = -0.1
			}
		}
		custom_effect_tooltip = JAP_energetic_cost_tt
		add_to_variable = {
			var = JAP_energetic_cost
			value = -25
		}
		set_temp_variable = {
			var = debt_var_temp
			value = 60
		}
		add_debt_with_inflation = yes
		every_controlled_state = {
			limit = {
				is_core_of = ROOT
				is_able_to_build_nuclear_reactor_in_state = yes
				state_population > 1000000
				free_building_slots = {
					building = nuclear_reactor
					size > 0
					include_locked = yes
				}
			}
			random_select_amount = 2
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = nuclear_reactor
				level = 1
				instant_build = yes
			}
		}
		every_controlled_state = {
			limit = {
				is_core_of = ROOT
				is_able_to_build_energy_farm_in_state = yes
				free_building_slots = {
					building = energy_farm
					size > 0
					include_locked = yes
				}
			}
			random_select_amount = 3
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = energy_farm
				level = 1
				instant_build = yes
			}
		}
		modify_building_resources = {
			building = nuclear_reactor
			resource = coal
			amount = 2
		}
	}
}

shared_focus = {
	id = JAP_new_leader_of_the_free_world
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_new_leader_of_the_free_world
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_new_leader_of_the_free_world_2
	}
	available = {
	}
	cost = 8
	x = 26
	y = 0
	ai_will_do = {
		factor = 1000
	}
	completion_reward = {
		add_political_power = 150
		unlock_decision_category_tooltip = JAP_foreign_policy_cat
		hidden_effect = {
			set_variable = {
				JAP_PEC_cost_support_economic_explotation = 65
			}
			set_variable = {
				JAP_PEC_cost_support = 85
			}
		}
	}
}

shared_focus = {
	id = JAP_reinforce_pdto
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_reinforce_pdto
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_reinforce_pdto_2
	}
	available = {
		has_country_flag = JAP_cold_war_flag
	}
	prerequisite = {
		focus = JAP_new_leader_of_the_free_world
	}
	relative_position_id = JAP_new_leader_of_the_free_world
	cost = 4
	x = -2
	y = 1
	ai_will_do = {
		factor = 1000
	}
	completion_reward = {
		every_country = {
			limit = {
				NOT = {
					original_tag = JAP
				}
				has_country_flag = pdto_member
			}
			add_ideas = JAP_PDTO_member_1
		}
	}
}

shared_focus = {
	id = JAP_own_economic_sphere
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_own_economic_sphere
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_own_economic_sphere_2
	}
	prerequisite = {
		focus = JAP_new_leader_of_the_free_world
	}
	relative_position_id = JAP_new_leader_of_the_free_world
	cost = 4
	x = 2
	y = 1
	ai_will_do = {
		factor = 1000
	}
	completion_reward = {
		unlock_decision_category_tooltip = JAP_PEC_category
		effect_tooltip = {
			add_ideas = JAP_PEC_fake_idea
		}
		every_country = {
			limit = {
				OR = {
					tag = CHI
					tag = AST
				}
			}
			add_ideas = JAP_PEC_member
			set_country_flag = JAP_PEC_member_flag
		}
		hidden_effect = {
			set_country_flag = JAP_PEC_member_flag
			add_dynamic_modifier = {
				modifier = JAP_PEC_dynamic
			}
			set_variable = {
				JAP_PEC_number_of_members = 3
			}
			set_variable = {
				JAP_PEC_consumer_goods_factor = -0.006
			}
			set_variable = {
				JAP_PEC_lend_lease_tension = -0.03
			}
			set_variable = {
				JAP_PEC_poverty_development_monthly = 0.003
			}
			set_variable = {
				JAP_PEC_industrial_development_monthly = 0.003
			}
			set_variable = {
				JAP_PEC_global_building_slots_factor = 0.015
			}
			set_variable = {
				JAP_PEC_production_speed_buildings_factor = 0.015
			}
			AST = {
				set_country_flag = JAP_PEC_member_flag
			}
			CHI = {
				set_country_flag = JAP_PEC_member_flag
			}
			add_to_array = {
				JAP.JAP_PEC_members = AST
			}
			add_to_array = {
				JAP.JAP_PEC_members = CHI
			}
			set_country_flag = JAP_PEC_invite_asia_flag
		}
	}
}

shared_focus = {
	id = JAP_new_allies
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_new_allies
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_new_allies_2
	}
	prerequisite = {
		focus = JAP_reinforce_pdto
	}
	relative_position_id = JAP_reinforce_pdto
	cost = 4
	x = -2
	y = 1
	ai_will_do = {
		factor = 1000
	}
	completion_reward = {
		unlock_decision_tooltip = JAP_invite_new_zealand_pdto
		unlock_decision_tooltip = JAP_invite_india_pdto
		KOR = {
			add_political_power = 50
			add_war_support = 0.15
			diplomatic_relation = {
				country = JAP
				relation = military_access
				active = yes
			}
			diplomatic_relation = {
				country = JAP
				relation = docking_rights
				active = yes
			}
		}
		diplomatic_relation = {
			country = KOR
			relation = military_access
			active = yes
		}
		diplomatic_relation = {
			country = KOR
			relation = docking_rights
			active = yes
		}
	}
}

shared_focus = {
	id = JAP_expanding_our_influence
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_expanding_our_influence
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_expanding_our_influence_2
	}
	prerequisite = {
		focus = JAP_reinforce_pdto
	}
	prerequisite = {
		focus = JAP_own_economic_sphere
	}
	relative_position_id = JAP_reinforce_pdto
	cost = 4
	x = 2
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		unlock_decision_tooltip = JAP_start_international_mission
		add_command_power = 50
	}
}

shared_focus = {
	id = JAP_made_in_japan
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_made_in_japan
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_made_in_japan_2
	}
	prerequisite = {
		focus = JAP_own_economic_sphere
	}
	relative_position_id = JAP_own_economic_sphere
	cost = 4
	x = 1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		set_country_flag = JAP_PEC_help_asia_flag
		custom_effect_tooltip = JAP_made_in_japan_tt
		add_stability = 0.015
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = arms_factory
				level = 2
				instant_build = yes
			}
		}
		set_temp_variable = {
			var = debt_var_temp
			value = 50
		}
		add_debt_with_inflation = yes
		set_temp_variable = {
			inflation_var_temp = 0.05
		}
		add_inflation = yes
	}
}

shared_focus = {
	id = JAP_recovery_assistance
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_recovery_assistance
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_recovery_assistance_2
	}
	prerequisite = {
		focus = JAP_new_allies
	}
	prerequisite = {
		focus = JAP_expanding_our_influence
	}
	relative_position_id = JAP_new_allies
	cost = 4
	x = 2
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		CHI = {
			add_stability = 0.2
			add_war_support = 0.075
			add_political_power = 50
			swap_ideas = {
				remove_idea = CHI_destroyed_country_1
				add_idea = CHI_destroyed_country_2
			}
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
		hidden_effect = {
			country_event = {
				id = jap.128
				days = 5
				random_days = 5
			}
		}
	}
}

shared_focus = {
	id = JAP_continue_military_integration
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_continue_military_integration
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_continue_military_integration_2
	}
	prerequisite = {
		focus = JAP_new_allies
	}
	relative_position_id = JAP_new_allies
	cost = 4
	x = 0
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		every_country = {
			limit = {
				NOT = {
					original_tag = JAP
					original_tag = INS
				}
				has_country_flag = pdto_member
			}
			swap_ideas = {
				remove_idea = JAP_PDTO_member_1
				add_idea = JAP_PDTO_member_2
			}
		}
		hidden_effect = {
			country_event = {
				id = jap.129
				days = 15
				random_days = 10
			}
		}
	}
}

shared_focus = {
	id = JAP_stimulate_local_mic
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_stimulate_local_mic
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_stimulate_local_mic_2
	}
	prerequisite = {
		focus = JAP_continue_military_integration
	}
	relative_position_id = JAP_continue_military_integration
	mutually_exclusive = {
		focus = JAP_weapon_supplies
	}
	cost = 4
	x = -1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		CHI = {
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			set_temp_variable = {
				var = income_var_temp
				value = 35
			}
			add_income_with_inflation = yes
		}
		AST = {
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			set_temp_variable = {
				var = income_var_temp
				value = 35
			}
			add_income_with_inflation = yes
		}
		RAJ = {
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			set_temp_variable = {
				var = income_var_temp
				value = 35
			}
			add_income_with_inflation = yes
		}
		KOR = {
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			set_temp_variable = {
				var = income_var_temp
				value = 35
			}
			add_income_with_inflation = yes
		}
	}
}

shared_focus = {
	id = JAP_weapon_supplies
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_weapon_supplies
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_weapon_supplies_2
	}
	prerequisite = {
		focus = JAP_continue_military_integration
	}
	relative_position_id = JAP_continue_military_integration
	mutually_exclusive = {
		focus = JAP_stimulate_local_mic
	}
	cost = 4
	x = 1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		add_offsite_building = {
			type = arms_factory
			level = 3
		}
		every_country = {
			limit = {
				OR = {
					tag = CHI
					tag = AST
					tag = RAJ
					tag = KOR
				}
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 10000
				producer = JAP
			}
			add_equipment_to_stockpile = {
				type = support_equipment
				amount = 1000
				producer = JAP
			}
			hidden_effect = {
				add_manpower = 75000
			}
		}
		CHI = {
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
		AST = {
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
		RAJ = {
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
		KOR = {
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
}

shared_focus = {
	id = JAP_scientific_collaboration
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_scientific_collaboration
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_scientific_collaboration_2
	}
	prerequisite = {
		focus = JAP_weapon_supplies
		focus = JAP_stimulate_local_mic
	}
	relative_position_id = JAP_weapon_supplies
	cost = 4
	x = -1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		every_country = {
			limit = {
				has_country_flag = pdto_member
			}
			add_to_tech_sharing_group = pdto_research
			add_tech_bonus = {
				name = JAP_scientific_collaboration
				bonus = 1
				uses = 1
				category = electronics
			}
		}
	}
}

shared_focus = {
	id = JAP_new_cooperation_agreement
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_new_cooperation_agreement
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_new_cooperation_agreement_2
	}
	prerequisite = {
		focus = JAP_weapon_supplies
		focus = JAP_stimulate_local_mic
	}
	prerequisite = {
		focus = JAP_recovery_assistance
	}
	relative_position_id = JAP_weapon_supplies
	cost = 4
	x = 1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		add_political_power = 75
		effect_tooltip = {
			puppet = CHI
		}
		CHI = {
			add_stability = 0.1
			remove_ideas = CHI_destroyed_country_2
		}
		hidden_effect = {
			CHI = {
				get_current_government_type = yes
				JAP = {
					puppet = CHI
				}
				restore_previous_government_type = yes
			}
		}
	}
}

shared_focus = {
	id = JAP_economic_pan_asianism
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_economic_pan_asianism
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_economic_pan_asianism_2
	}
	prerequisite = {
		focus = JAP_expanding_our_influence
	}
	prerequisite = {
		focus = JAP_made_in_japan
	}
	relative_position_id = JAP_expanding_our_influence
	cost = 4
	x = 1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		custom_effect_tooltip = JAP_economic_pan_asianism_tt
		custom_effect_tooltip = JAP_oil_prog_asia_tt
		set_country_flag = JAP_PEC_invite_south_asia_flag
		add_political_power = 25
	}
}

shared_focus = {
	id = JAP_our_european_partners
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_our_european_partners
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_our_european_partners_2
	}
	prerequisite = {
		focus = JAP_economic_pan_asianism
	}
	relative_position_id = JAP_economic_pan_asianism
	mutually_exclusive = {
		focus = JAP_our_north_neighbour
	}
	cost = 4
	x = -1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		add_timed_idea = {
			idea = JAP_european_assistance_idea
			days = 150
		}
		every_country = {
			limit = {
				OR = {
					tag = GER
					tag = ENG
					tag = FRA
					tag = ITA
				}
			}
			add_timed_idea = {
				idea = JAP_european_assistance_idea
				days = 150
			}
		}
		modify_building_resources = {
			building = energy_farm
			resource = coal
			amount = 2
		}
		hidden_effect = {
			country_event = {
				id = jap.130
				days = 10
				random_days = 10
			}
		}
	}
}

shared_focus = {
	id = JAP_our_north_neighbour
	icon = {
		trigger = {
			has_global_flag = SOV_medvedev_won
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_our_north_neighbour
	}
	icon = {
		trigger = {
			has_global_flag = SOV_medvedev_won
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_our_north_neighbour_2
	}
	icon = {
		trigger = {
			has_global_flag = SOV_cprf_won
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_our_north_neighbour_3
	}
	icon = {
		trigger = {
			has_global_flag = SOV_cprf_won
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_our_north_neighbour_4
	}
	icon = {
		trigger = {
			NOT = {
				OR = {
					has_global_flag = SOV_medvedev_won
					has_global_flag = SOV_cprf_won
				}
			}
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_our_north_neighbour_5
	}
	icon = {
		trigger = {
			NOT = {
				OR = {
					has_global_flag = SOV_medvedev_won
					has_global_flag = SOV_cprf_won
				}
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_our_north_neighbour_6
	}
	prerequisite = {
		focus = JAP_economic_pan_asianism
	}
	relative_position_id = JAP_economic_pan_asianism
	mutually_exclusive = {
		focus = JAP_our_european_partners
	}
	cost = 4
	x = 1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		SOV = {
			set_country_flag = JAP_reconciliation
		}
		add_timed_idea = {
			idea = SOV_economic_assistance_idea_japan
			days = 125
		}
		SOV = {
			add_timed_idea = {
				idea = SOV_economic_assistance_idea_japan
				days = 125
			}
		}
		custom_effect_tooltip = JAP_our_north_neighbour_tt
		country_event = {
			id = jap.81
		}
		effect_tooltip = {
			add_ideas = JAP_oil_rus_help
		}
		hidden_effect = {
			country_event = {
				id = jap.131
				days = 10
				random_days = 10
			}
		}
	}
}

shared_focus = {
	id = JAP_promote_yen
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_promote_yen
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_promote_yen_2
	}
	prerequisite = {
		focus = JAP_our_north_neighbour
		focus = JAP_our_european_partners
	}
	relative_position_id = JAP_economic_pan_asianism
	cost = 5
	x = 0
	y = 2
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		set_temp_variable = {
			var = debt_var_temp
			value = -300
		}
		add_debt_with_inflation = yes
		every_country = {
			limit = {
				has_country_flag = JAP_PEC_member_flag
			}
			swap_ideas = {
				remove_idea = JAP_PEC_member
				add_idea = JAP_PEC_member_2
			}
		}
		custom_effect_tooltip = JAP_PEC_cost_tt
		hidden_effect = {
			add_to_variable = {
				JAP_PEC_cost_support_economic_explotation = -15
			}
			add_to_variable = {
				JAP_PEC_cost_support = -15
			}
		}
	}
}

shared_focus = {
	id = JAP_our_american_colleagues
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_our_american_colleagues
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_our_american_colleagues_2
	}
	prerequisite = {
		focus = JAP_made_in_japan
	}
	relative_position_id = JAP_made_in_japan
	cost = 5
	x = 1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		set_country_flag = JAP_PEC_invite_america_flag
		custom_effect_tooltip = JAP_our_american_colleagues_tt
	}
}

shared_focus = {
	id = JAP_development_programmes
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_development_programmes
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_development_programmes_2
	}
	prerequisite = {
		focus = JAP_our_american_colleagues
	}
	relative_position_id = JAP_our_american_colleagues
	cost = 4
	x = 0
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		unlock_decision_tooltip = JAP_send_advisors_to_colombia
		unlock_decision_tooltip = JAP_send_advisors_to_central_america
		set_country_flag = JAP_PEC_help_america_flag
		custom_effect_tooltip = JAP_development_programmes_tt
		custom_effect_tooltip = JAP_oil_prog_tt
	}
}

shared_focus = {
	id = JAP_seize_the_situation
	icon = {
		trigger = {
			has_global_flag = JAP_cc_won
		}
		value = GFX_focus_JAP_seize_the_situation
	}
	icon = {
		trigger = {
			NOT = {
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_seize_the_situation_2
	}
	prerequisite = {
		focus = JAP_development_programmes
	}
	relative_position_id = JAP_development_programmes
	cost = 4
	x = -1
	y = 1
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		set_country_flag = JAP_PEC_economic_explotation_flag
		custom_effect_tooltip = JAP_seize_the_situation_tt
	}
}

###GAW
shared_focus = {
	id = JAP_second_war_in_greater_east_asia
	icon = GFX_focus_JAP_great_asian_war
	x = 13
	y = 10
	cost = 5
	available_if_capitulated = yes
	ai_will_do = {
		factor = 1
	}
	allow_branch = {
		has_country_flag = pan_asian_war_ongoing
	}
	available = {
		always = no
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_second_war_in_greater_east_asia completion_reward"
		hidden_effect = {
			country_event = {
				id = jap.191
			}
		}
	}
}

shared_focus = {
	id = JAP_third_sino_japanese_war
	icon = GFX_focus_JAP_sino_japanese_war
	x = 4
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_second_war_in_greater_east_asia
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_second_war_in_greater_east_asia
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_third_sino_japanese_war completion_reward"
		custom_effect_tooltip = JAP_third_sino_jap_tt
		add_political_power = 150
		hidden_effect = {
			country_event = {
				id = jap.137
				days = 5
				random_days = 5
			}
		}
	}
}

#shared_focus = {
#	id = JAP_hold_the_initial_push
#	icon = GFX_focus_JAP_hold_the_initial_push
#	x = 3
#	y = 1
#	cost = 5
#	available_if_capitulated = yes
#	relative_position_id = JAP_third_sino_japanese_war
#	ai_will_do = {
#		factor = 1
#	}
#	prerequisite = { focus = JAP_second_war_in_greater_east_asia }
#	available = {
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: focus JAP_hold_the_initial_push completion_reward"
#	}
#}
#shared_focus = {
#	id = JAP_take_hainan
#	icon = GFX_focus_JAP_take_hainan
#	x = -2
#	y = 2
#	cost = 5
#	available_if_capitulated = yes
#	relative_position_id = JAP_third_sino_japanese_war
#	ai_will_do = {
#		factor = 1
#	}
#	prerequisite = { focus = JAP_third_sino_japanese_war }
#	available = {
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: focus JAP_take_hainan completion_reward"
#	}
#}
#shared_focus = {
#	id = JAP_kanton_koryakusen
#	icon = GFX_focus_JAP_kanton_koryakusen
#	x = -1
#	y = 1
#	cost = 5
#	available_if_capitulated = yes
#	relative_position_id = JAP_third_sino_japanese_war
#	ai_will_do = {
#		factor = 1
#	}
#	prerequisite = { focus = JAP_third_sino_japanese_war }
#	available = {
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: focus JAP_kanton_koryakusen completion_reward"
#	}
#}
shared_focus = {
	id = JAP_reclaim_the_island
	icon = GFX_focus_JAP_reclaim_island
	x = -1
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_third_sino_japanese_war
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_third_sino_japanese_war
	}
	available = {
		NOT = {
			524 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			1148 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			1149 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			1150 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_reclaim_the_island completion_reward"
		unlock_decision_tooltip = JAP_operation_white_sun_dec
		custom_effect_tooltip = when_selecting_a_decision_tt
		show_ideas_tooltip = JAP_operation_white_sun_idea
		unlock_decision_tooltip = JAP_operation_red_earth
	}
}

#shared_focus = {
#	id = JAP_honor_matsui
#	icon = GFX_focus_JAP_honor_matsui
#	x = 1
#	y = 1
#	cost = 5
#	available_if_capitulated = yes
#	relative_position_id = JAP_third_sino_japanese_war
#	ai_will_do = {
#		factor = 1
#	}
#	prerequisite = { focus = JAP_third_sino_japanese_war }
#	available = {
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: focus JAP_honor_matsui completion_reward"
#	}
#}
#shared_focus = {
#	id = JAP_gateway_to_the_bohai_sea
#	icon = GFX_focus_JAP_gateway_to_the_bohai_sea
#	x = 2
#	y = 2
#	cost = 5
#	available_if_capitulated = yes
#	relative_position_id = JAP_third_sino_japanese_war
#	ai_will_do = {
#		factor = 1
#	}
#	prerequisite = { focus = JAP_third_sino_japanese_war }
#	available = {
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: focus JAP_gateway_to_the_bohai_sea completion_reward"
#	}
#}
shared_focus = {
	id = JAP_straight_into_the_dragons_lair
	icon = GFX_focus_JAP_dragons_lair
	x = 1
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_third_sino_japanese_war
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_third_sino_japanese_war
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_straight_into_the_dragons_lair completion_reward"
		unlock_decision_tooltip = JAP_operation_hideyoshi_dec
		custom_effect_tooltip = when_selecting_a_decision_tt
		show_ideas_tooltip = JAP_operation_hideyoshi_idea
		unlock_decision_tooltip = JAP_operation_summer_palace_dec
	}
}

shared_focus = {
	id = JAP_together_with_korea
	icon = GFX_focus_JAP_together_korea
	x = 6
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_second_war_in_greater_east_asia
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_second_war_in_greater_east_asia
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_together_with_korea completion_reward"
		unlock_decision_tooltip = JAP_seoul_pyongyang_operation_dec
		custom_effect_tooltip = when_selecting_a_decision_tt
		show_ideas_tooltip = JAP_seoul_pyongyang_operation_idea
		unlock_decision_tooltip = JAP_wajo_operation_dec
	}
}

shared_focus = {
	id = JAP_secure_a_foothold_in_manchuria
	icon = GFX_focus_JAP_foothold_manchuria
	x = 1
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_together_with_korea
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_together_with_korea
	}
	available = {
		OR = {
			NOT = {
				country_exists = PRK
			}
			PRK = {
				has_capitulated = yes
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_secure_a_foothold_in_manchuria completion_reward"
		unlock_decision_tooltip = JAP_cross_amnok_river_dec
		custom_effect_tooltip = when_selecting_a_decision_tt
		show_ideas_tooltip = JAP_amnok_operation_idea
		hidden_effect = {
			country_event = {
				id = jap.139
				days = 5
				random_days = 5
			}
		}
	}
}

shared_focus = {
	id = JAP_korean_question
	icon = GFX_focus_JAP_korean_question
	x = 3
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_together_with_korea
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_together_with_korea
	}
	available = {
		OR = {
			NOT = {
				country_exists = PRK
			}
			PRK = {
				has_capitulated = yes
			}
		}
		has_war = no
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_korean_question completion_reward"
		country_event = {
			id = jap.98
		}
	}
}

shared_focus = {
	id = JAP_our_southern_allies
	icon = GFX_focus_JAP_our_southern_allies
	x = -4
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_second_war_in_greater_east_asia
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_second_war_in_greater_east_asia
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_our_southern_allies completion_reward"
		custom_effect_tooltip = JAP_support_decisions
		hidden_effect = {
			country_event = {
				id = jap.138
				days = 10
				random_days = 5
			}
		}
	}
}

#shared_focus = {
#	id = JAP_return_to_burma
#	icon = GFX_focus_JAP_return_to_burma
#	x = -5
#	y = 2
#	cost = 5
#	available_if_capitulated = yes
#	relative_position_id = JAP_second_war_in_greater_east_asia
#	ai_will_do = {
#		factor = 1
#	}
#	prerequisite = { focus = JAP_our_southern_allies }
#	available = {
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: focus JAP_return_to_burma completion_reward"
#	}
#}
shared_focus = {
	id = JAP_operations_in_southeast_asia
	icon = GFX_focus_JAP_operations_in_southeast_asia
	x = -4
	y = 2
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_second_war_in_greater_east_asia
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_our_southern_allies
	}
	available = {
		OR = {
			has_war_with = VIN
			has_war_with = LAO
			has_war_with = CAM
			has_war_with = SIA
		}
	}
	bypass = {
		NOT = {
			has_war_with = VIN
			has_war_with = LAO
			has_war_with = CAM
			has_war_with = SIA
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_operations_in_southeast_asia completion_reward"
		unlock_decision_tooltip = JAP_operation_tsuki_shigure_dec
		custom_effect_tooltip = when_selecting_a_decision_tt
		show_ideas_tooltip = JAP_operation_tsuki_shigure_idea
		unlock_decision_tooltip = JAP_malaya_offensive_dec
		unlock_decision_tooltip = JAP_philippine_offensive_dec
		unlock_decision_tooltip = JAP_indonesia_offensive_dec
	}
}

#shared_focus = {
#	id = JAP_philippine_affairs
#	icon = GFX_focus_JAP_philippine_affairs
#	x = -7
#	y = 2
#	cost = 5
#	available_if_capitulated = yes
#	relative_position_id = JAP_second_war_in_greater_east_asia
#	ai_will_do = {
#		factor = 1
#	}
#	prerequisite = { focus = JAP_our_southern_allies }
#	available = {
#	}
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: focus JAP_philippine_affairs completion_reward"
#	}
#}
shared_focus = {
	id = JAP_marine_corps_expansion
	icon = GFX_focus_JAP_marine_corps_expansion
	x = -6
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_second_war_in_greater_east_asia
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_second_war_in_greater_east_asia
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_marine_corps_expansion completion_reward"
		custom_effect_tooltip = JAP_marine_brigades_tt
		hidden_effect = {
			load_oob = JAP_marines
		}
	}
}

shared_focus = {
	id = JAP_occupation_administrations
	icon = GFX_focus_JAP_occupation_administrations
	x = -2
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_second_war_in_greater_east_asia
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_second_war_in_greater_east_asia
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_occupation_administrations completion_reward"
		add_ideas = JAP_occupation_administrations
	}
}

shared_focus = {
	id = JAP_prepare_to_defend_the_home_islands
	icon = GFX_focus_JAP_home_islands
	x = 2
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_second_war_in_greater_east_asia
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_second_war_in_greater_east_asia
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_prepare_to_defend_the_home_islands completion_reward"
		add_timed_idea = {
			idea = JAP_build_fortress_japan_idea
			days = 100
		}
		custom_effect_tooltip = JAP_fortress_japan_tt
		hidden_effect = {
			1338 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 7110
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 7110
				}
			}
			529 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 11985
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 11985
				}
			}
			529 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 11946
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 11946
				}
			}
			529 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 7212
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 7212
				}
			}
			1340 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 7072
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 7072
				}
			}
			531 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 11960
				}
			}
			531 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 1136
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 1136
				}
			}
			531 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 9985
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 9985
				}
			}
			531 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 4142
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 4142
				}
			}
			1341 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 9998
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 9998
				}
			}
			282 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 14698
				}
			}
			282 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 4100
				}
			}
			282 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 1113
				}
			}
			1335 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 7169
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 7169
				}
			}
			530 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 4179
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 4179
				}
			}
			530 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 7046
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 7046
				}
			}
			530 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 9965
				}
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 9965
				}
			}
		}
	}
}

shared_focus = {
	id = JAP_spiritual_mobilization
	icon = GFX_focus_JAP_spiritual_mobilization
	x = 0
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_second_war_in_greater_east_asia
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_second_war_in_greater_east_asia
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_spiritual_mobilization completion_reward"
		add_days_mission_timeout = {
			mission = JAP_GAW_war_exhaustion
			days = 90
		}
		add_war_support = 0.05
	}
}

shared_focus = {
	id = JAP_priority_to_military_corporations
	icon = GFX_focus_JAP_priory_military_corporations
	x = 1
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_spiritual_mobilization
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_spiritual_mobilization
	}
	available = {
	}
	completion_reward = {
		JAP_decrease_keiretsu_control = yes
		add_ideas = war_mobilization
		log = "[GetDateText]: [Root.GetName]: focus JAP_priority_to_military_corporations completion_reward"
	}
}

shared_focus = {
	id = JAP_war_for_japans_survival
	icon = GFX_focus_JAP_war_japan_survival
	x = -1
	y = 1
	cost = 5
	available_if_capitulated = yes
	relative_position_id = JAP_spiritual_mobilization
	ai_will_do = {
		factor = 1
	}
	prerequisite = {
		focus = JAP_spiritual_mobilization
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus JAP_war_for_japans_survival completion_reward"
		add_days_mission_timeout = {
			mission = JAP_GAW_war_exhaustion
			days = 90
		}
		unlock_decision_tooltip = JAP_initiate_ketsugo_plan_dec
		add_war_support = 0.1
	}
}

#Post-Taiwan/Post-CW Army
shared_focus = {
	id = JAP_redefine_the_japanese_army
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_redefine_the_japanese_army_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_redefine_the_japanese_army_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_redefine_the_japanese_army_defeat
	}
	cost = 5
	x = -14
	y = 0
	available = {
	}
	completion_reward = {
		country_event = {
			id = jap.100
			hours = 6
		}
		add_war_support = 0.025
		custom_effect_tooltip = tooltip_white_line
		effect_tooltip = {
			add_ideas = JAP_jietai_idea
		}
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_category_tooltip = JAP_jietai_cat
		hidden_effect = {
			add_stability = -0.05
			add_dynamic_modifier = {
				modifier = JAP_jieitai_dynamic
			}
			add_to_variable = {
				var = JAP_jieitai_army_org_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_jieitai_army_attack_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_jieitai_max_planning_factor_dynamic_var
				value = 0.075
			}
			add_to_variable = {
				var = JAP_jieitai_initiative_factor_dynamic_var
				value = 0.025
			}
			add_to_variable = {
				var = JAP_jieitai_planning_speed_dynamic_var
				value = -0.3
			}
			add_to_variable = {
				var = JAP_jieitai_mobilization_speed_dynamic_var
				value = -0.35
			}
			add_to_variable = {
				var = JAP_jieitai_battalion_upkeep_factor_dynamic_var
				value = 0.1
			}
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_recall_the_battle_for_taiwan
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_recall_the_battle_for_taiwan_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_recall_the_battle_for_taiwan_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_recall_the_battle_for_taiwan_defeat
	}
	prerequisite = {
		focus = JAP_redefine_the_japanese_army
	}
	relative_position_id = JAP_redefine_the_japanese_army
	cost = 3
	x = -3
	y = 1
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_jietai_idea_dummy
				add_idea = JAP_recall_the_battle_for_taiwan_idea
			}
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_military_development_monthly_dynamic_var
				value = 0.01
			}
			add_to_variable = {
				var = JAP_jieitai_experience_gain_army_factor_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_jieitai_planning_speed_dynamic_var
				value = 0.05
			}
		}
		army_experience = 25
		air_experience = 25
		navy_experience = 25
		set_temp_variable = {
			var = military_development_var_temp
			value = 0.1
		}
		add_military_development = yes
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_continue_rearmament
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_continue_rearmament_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_continue_rearmament_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_continue_rearmament_defeat
	}
	prerequisite = {
		focus = JAP_redefine_the_japanese_army
	}
	relative_position_id = JAP_redefine_the_japanese_army
	cost = 4
	x = 3
	y = 1
	completion_reward = {
		add_ideas = JAP_continued_rearmament_idea
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_increase_financing_for_rearmament
		unlock_decision_tooltip = JAP_reduce_financing_for_rearmament
		custom_effect_tooltip = JAP_continue_rearmament_tt
	}
	ai_will_do = {
		factor = 20
	}
}

shared_focus = {
	id = JAP_creation_of_a_new_military_doctrine
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_creation_of_a_new_military_doctrine_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_creation_of_a_new_military_doctrine_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_creation_of_a_new_military_doctrine_defeat
	}
	prerequisite = {
		focus = JAP_redefine_the_japanese_army
	}
	relative_position_id = JAP_redefine_the_japanese_army
	cost = 3
	x = 0
	y = 1
	completion_reward = {
		JAP_increase_creation_of_a_new_military_doctrine_idea = yes
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_lean_towards_the_csto_doctrine
		unlock_decision_tooltip = JAP_lean_towards_the_nato_doctrine
		custom_effect_tooltip = tooltip_white_line
		custom_effect_tooltip = PRC_strikes_on_any_place_of_the_earth_tt
	}
	ai_will_do = {
		factor = 20
	}
}

shared_focus = {
	id = JAP_rikujo_jieitai
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_rikujo_jieitai_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_rikujo_jieitai_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_rikujo_jieitai_defeat
	}
	prerequisite = {
		focus = JAP_creation_of_a_new_military_doctrine
	}
	prerequisite = {
		focus = JAP_recall_the_battle_for_taiwan
	}
	prerequisite = {
		focus = JAP_continue_rearmament
	}
	relative_position_id = JAP_redefine_the_japanese_army
	cost = 1.5
	x = 0
	y = 2
	completion_reward = {
		country_event = jap.101
		army_experience = 25
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_koku_jieitai
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_koku_jieitai_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_koku_jieitai_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_koku_jieitai_defeat
	}
	prerequisite = {
		focus = JAP_creation_of_a_new_military_doctrine
	}
	prerequisite = {
		focus = JAP_recall_the_battle_for_taiwan
	}
	prerequisite = {
		focus = JAP_continue_rearmament
	}
	relative_position_id = JAP_redefine_the_japanese_army
	cost = 1.5
	x = 10
	y = 2
	completion_reward = {
		country_event = jap.102
		custom_effect_tooltip = tooltip_white_line
		effect_tooltip = {
			add_ideas = JAP_koku_jieitai_idea
		}
		custom_effect_tooltip = tooltip_white_line
		air_experience = 25
		hidden_effect = {
			add_dynamic_modifier = {
				modifier = JAP_koku_jieitai_dynamic
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_attack_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_defence_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_koku_jieitai_experience_gain_air_factor_dynamic_var
				value = -0.2
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_mission_efficiency_dynamic_var
				value = -0.05
			}
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_kaijo_jieitai
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_kaijo_jieitai_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_kaijo_jieitai_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_kaijo_jieitai_defeat
	}
	prerequisite = {
		focus = JAP_creation_of_a_new_military_doctrine
	}
	prerequisite = {
		focus = JAP_recall_the_battle_for_taiwan
	}
	prerequisite = {
		focus = JAP_continue_rearmament
	}
	relative_position_id = JAP_redefine_the_japanese_army
	cost = 1.5
	x = -11
	y = 2
	completion_reward = {
		country_event = jap.103
		custom_effect_tooltip = tooltip_white_line
		effect_tooltip = {
			add_ideas = JAP_kaijo_jieitai_idea
		}
		custom_effect_tooltip = tooltip_white_line
		navy_experience = 25
		hidden_effect = {
			add_dynamic_modifier = {
				modifier = JAP_kaijo_jieitai_dynamic
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_spotting_chance_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_morale_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_coordination_dynamic_var
				value = -0.08
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_speed_factor_dynamic_var
				value = -0.05
			}
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_the_japanese_armada
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_the_japanese_armada_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_the_japanese_armada_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_the_japanese_armada_defeat
	}
	prerequisite = {
		focus = JAP_kaijo_jieitai
	}
	mutually_exclusive = {
		focus = JAP_the_mosquito_fleet
	}
	relative_position_id = JAP_kaijo_jieitai
	cost = 3.6
	x = -4
	y = 1
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_the_japanese_armada_idea
			}
		}
		add_doctrine_cost_reduction = {
			name = JAP_the_japanese_armada
			cost_reduction = 0.75
			uses = 2
			category = cat_fleet_in_being
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_capital_ship_defence_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_capital_ship_attack_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_positioning_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_critical_receive_chance_dynamic_var
				value = -0.05
			}
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_yamato_reborn
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_yamato_reborn_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_yamato_reborn_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_yamato_reborn_defeat
	}
	prerequisite = {
		focus = JAP_the_japanese_armada
	}
	prerequisite = {
		focus = JAP_increase_dockyard_construction_plan
	}
	relative_position_id = JAP_the_japanese_armada
	cost = 3.6
	x = -1
	y = 1
	completion_reward = {
		add_war_support = 0.02
		navy_experience = 35
		add_timed_idea = {
			idea = PRC_battle_cruiser_idea
			days = 300
		}
		custom_effect_tooltip = tooltip_white_line
		if = {
			limit = {
				has_tech = ship_hull_super_heavy
				NOT = {
					has_tech = ship_hull_advanced_super_heavy
				}
			}
			set_technology = {
				ship_hull_advanced_super_heavy = 1
			}
		}
		if = {
			limit = {
				NOT = {
					has_tech = ship_hull_super_heavy
				}
			}
			set_technology = {
				ship_hull_super_heavy = 1
			}
		}
		custom_effect_tooltip = tooltip_white_line
		if = {
			limit = {
				has_dlc = "Man the Guns"
			}
			create_equipment_variant = {
				name = "Senbonzakura-class"
				type = ship_hull_super_heavy_1
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_super_heavy_battery_1
					fixed_ship_anti_air_slot = ship_anti_air_3
					fixed_ship_fire_control_system_slot = ship_fire_control_system_1
					fixed_ship_radar_slot = ship_radar_1
					fixed_ship_engine_slot = heavy_ship_engine_1
					fixed_ship_secondaries_slot = ship_secondaries_2
					fixed_ship_armor_slot = ship_armor_shbb
					front_1_custom_slot = ship_super_heavy_battery_1
					front_2_custom_slot = ship_super_heavy_battery_1
					mid_1_custom_slot = ship_secondaries_2
					mid_2_custom_slot = ship_secondaries_2
					mid_3_custom_slot = ship_anti_air_3
					rear_1_custom_slot = ship_airplane_launcher_2
					rear_2_custom_slot = ship_super_heavy_battery_1
				}
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_super_heavy_1
					creator = "JAP"
					version_name = "Senbonzakura-class"
				}
				name = "Enomoto"
				requested_factories = 5
				progress = 0.3
				amount = 1
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_super_heavy_1
					creator = "JAP"
					version_name = "Senbonzakura-class"
				}
				name = "Tōgō"
				requested_factories = 5
				progress = 0.2
				amount = 1
			}
		}
		else_if = {
			limit = {
				NOT = {
					has_dlc = "Man the Guns"
				}
			}
			add_equipment_production = {
				equipment = {
					type = SH_battleship_1
					creator = "JAP"
				}
				name = "Enomoto"
				requested_factories = 5
				progress = 0.3
				amount = 1
			}
			add_equipment_production = {
				equipment = {
					type = SH_battleship_1
					creator = "JAP"
				}
				name = "Tōgō"
				requested_factories = 5
				progress = 0.2
				amount = 1
			}
		}
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 75
		}
		add_debt_with_inflation = yes
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_expand_the_carrier_fleet
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_expand_the_carrier_fleet_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_expand_the_carrier_fleet_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_expand_the_carrier_fleet_defeat
	}
	prerequisite = {
		focus = JAP_increase_dockyard_construction_plan
	}
	prerequisite = {
		focus = JAP_the_japanese_armada
	}
	relative_position_id = JAP_the_japanese_armada
	cost = 3.6
	x = 2
	y = 1
	completion_reward = {
		if = {
			limit = {
				NOT = {
					has_idea = PRC_mass_naval_production_idea
				}
			}
			add_timed_idea = {
				idea = PRC_mass_naval_production_idea
				days = 60
			}
		}
		if = {
			limit = {
				has_idea = PRC_mass_naval_production_idea
			}
			modify_timed_idea = {
				idea = PRC_mass_naval_production_idea
				days = 60
			}
		}
		custom_effect_tooltip = tooltip_white_line
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_expand_the_carrier_fleet_idea
			}
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_carrier_air_attack_factor_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_carrier_air_targetting_factor_dynamic_var
				value = 0.1
			}
		}
		if = {
			limit = {
				has_dlc = "Man the Guns"
			}
			if = {
				limit = {
					NOT = {
						has_tech = basic_ship_hull_carrier
					}
				}
				set_technology = {
					basic_ship_hull_carrier = 1
				}
			}
			create_equipment_variant = {
				#Carrier 2020
				name = "Naruhito-class"
				type = ship_hull_carrier_1
				parent_version = 0
				modules = {
					fixed_ship_deck_slot_1 = ship_deck_space
					fixed_ship_deck_slot_2 = ship_deck_space
					fixed_ship_anti_air_slot = ship_anti_air_2
					fixed_ship_radar_slot = ship_radar_1
					fixed_ship_engine_slot = carrier_ship_engine_3
					fixed_ship_secondaries_slot = ship_secondaries_1
					front_1_custom_slot = ship_deck_space
					mid_1_custom_slot = ship_deck_space
					mid_2_custom_slot = ship_deck_space
				}
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_carrier_1
					creator = "JAP"
					version_name = "Naruhito-class"
				}
				name = "Fumihito"
				requested_factories = 5
				progress = 0.7
				amount = 1
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_carrier_1
					creator = "JAP"
					version_name = "Naruhito-class"
				}
				name = "Hisahito"
				requested_factories = 5
				progress = 0.5
				amount = 1
			}
		}
		else_if = {
			limit = {
				NOT = {
					has_dlc = "Man the Guns"
				}
			}
			add_equipment_production = {
				equipment = {
					type = carrier_2
					creator = "JAP"
				}
				name = "Fumihito"
				requested_factories = 5
				progress = 0.7
				amount = 1
			}
			add_equipment_production = {
				equipment = {
					type = carrier_2
					creator = "JAP"
				}
				name = "Hisahito"
				requested_factories = 5
				progress = 0.5
				amount = 1
			}
		}
		set_temp_variable = {
			var = debt_var_temp
			value = 75
		}
		add_debt_with_inflation = yes
	}
}

shared_focus = {
	id = JAP_anti_ship_missile_development
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_anti_ship_missile_development_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_anti_ship_missile_development_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_anti_ship_missile_development_defeat
	}
	prerequisite = {
		focus = JAP_a_new_generation_escort
		focus = JAP_sink_their_supply
		focus = JAP_expand_the_carrier_fleet
		focus = JAP_yamato_reborn
	}
	relative_position_id = JAP_the_japanese_armada
	cost = 3.6
	x = 2
	y = 3
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_anti_ship_missile_development_idea
			}
		}
		add_tech_bonus = {
			name = JAP_anti_ship_missile_development
			bonus = 0.75
			uses = 3
			category = ship_modules_tech
		}
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 15
		}
		add_debt_with_inflation = yes
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_air_strategic_bomber_bombing_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_damage_factor_dynamic_var
				value = 0.075
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_positioning_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_critical_score_chance_factor_dynamic_var
				value = 0.05
			}
		}
	}
}

shared_focus = {
	id = JAP_the_mosquito_fleet
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_the_mosquito_fleet_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_the_mosquito_fleet_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_the_mosquito_fleet_defeat
	}
	prerequisite = {
		focus = JAP_kaijo_jieitai
	}
	mutually_exclusive = {
		focus = JAP_the_japanese_armada
	}
	relative_position_id = JAP_kaijo_jieitai
	cost = 3.6
	x = 2
	y = 1
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_the_mosquito_fleet_idea
			}
		}
		add_doctrine_cost_reduction = {
			name = JAP_the_mosquito_fleet
			cost_reduction = 0.75
			uses = 2
			category = cat_trade_interdiction
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_detection_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_critical_score_chance_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_visibility_dynamic_var
				value = -0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_critical_receive_chance_dynamic_var
				value = -0.1
			}
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_focus_on_helicopter_carriers
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_focus_on_helicopter_carriers_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_focus_on_helicopter_carriers_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_focus_on_helicopter_carriers_defeat
	}
	prerequisite = {
		focus = JAP_the_mosquito_fleet
	}
	relative_position_id = JAP_the_mosquito_fleet
	cost = 3.6
	x = -1
	y = 1
	available = {
		has_dlc = "Man the Guns"
		has_tech = basic_ship_hull_carrier
	}
	completion_reward = {
		add_timed_idea = {
			idea = JAP_helicopter_carriers_accelerated_production_idea
			days = 90
		}
		custom_effect_tooltip = tooltip_white_line
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_focus_on_helicopter_carriers_idea
			}
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_carrier_air_attack_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_carrier_air_targetting_factor_dynamic_var
				value = 0.05
			}
		}
		if = {
			limit = {
				NOT = {
					has_tech = improved_ship_hull_carrier
				}
			}
			set_technology = {
				improved_ship_hull_carrier = 1
			}
		}
		create_equipment_variant = {
			name = "Ichika-class"
			type = ship_hull_carrier_conversion_ca2
			parent_version = 0
			modules = {
				fixed_ship_deck_slot_1 = ship_deck_space
				fixed_ship_deck_slot_2 = ship_deck_space
				fixed_ship_anti_air_slot = ship_anti_air_3
				fixed_ship_radar_slot = ship_radar_1
				fixed_ship_engine_slot = carrier_ship_engine_3
				front_1_custom_slot = ship_airplane_launcher_2
				mid_1_custom_slot = ship_airplane_launcher_2
				mid_2_custom_slot = ship_secondaries_2
				fixed_ship_secondaries_slot = ship_secondaries_2
			}
		}
		add_equipment_production = {
			equipment = {
				type = ship_hull_carrier_conversion_ca2
				creator = "JAP"
				version_name = "Ichika-class"
			}
			name = "Okayama"
			requested_factories = 5
			progress = 0.7
			amount = 1
		}
		add_equipment_production = {
			equipment = {
				type = ship_hull_carrier_conversion_ca2
				creator = "JAP"
				version_name = "Ichika-class"
			}
			name = "Fukuyama"
			requested_factories = 5
			progress = 0.5
			amount = 1
		}
		set_temp_variable = {
			var = debt_var_temp
			value = 25
		}
		add_debt_with_inflation = yes
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_a_new_generation_escort
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_a_new_generation_escort_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_a_new_generation_escort_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_a_new_generation_escort_defeat
	}
	prerequisite = {
		focus = JAP_the_mosquito_fleet
	}
	relative_position_id = JAP_the_mosquito_fleet
	cost = 3.6
	x = 1
	y = 1
	completion_reward = {
		add_timed_idea = {
			idea = JAP_escort_accelerated_production_idea
			days = 180
		}
		custom_effect_tooltip = tooltip_white_line
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_a_new_generation_escort_idea
			}
		}
		add_tech_bonus = {
			name = JAP_a_new_generation_escort
			bonus = 0.5
			uses = 2
			category = dd_tech
		}
		add_tech_bonus = {
			name = JAP_a_new_generation_escort
			bonus = 0.5
			uses = 2
			category = cl_tech
		}
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 15
		}
		add_debt_with_inflation = yes
		hidden_effect = {
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_screen_attack_factor_dynamic_var
				value = 0.07
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_screen_defence_factor_dynamic_var
				value = 0.07
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_screening_efficiency_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_convoy_escort_efficiency_dynamic_var
				value = 0.1
			}
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_sink_their_supply
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_sink_their_supply_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_sink_their_supply_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_sink_their_supply_defeat
	}
	prerequisite = {
		focus = JAP_the_mosquito_fleet
	}
	relative_position_id = JAP_the_mosquito_fleet
	cost = 3.6
	x = 3
	y = 1
	completion_reward = {
		add_timed_idea = {
			idea = JAP_submarines_accelerated_production_idea
			days = 180
		}
		custom_effect_tooltip = tooltip_white_line
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_sink_their_supply_idea
			}
		}
		add_tech_bonus = {
			name = JAP_sink_their_supply
			bonus = 1
			uses = 2
			category = ss_tech
		}
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 15
		}
		add_debt_with_inflation = yes
		hidden_effect = {
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_torpedo_hit_chance_factor_dynamic_var
				value = 0.08
			}
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_hit_and_run_tactics
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_hit_and_run_tactics_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_hit_and_run_tactics_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_hit_and_run_tactics_defeat
	}
	prerequisite = {
		focus = JAP_a_new_generation_escort
	}
	prerequisite = {
		focus = JAP_sink_their_supply
	}
	relative_position_id = JAP_the_mosquito_fleet
	cost = 3.6
	x = 2
	y = 2
	completion_reward = {
		navy_experience = 50
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_hit_and_run_tactics_idea
			}
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_retreat_chance_dynamic_var
				value = 0.2
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_retreat_speed_dynamic_var
				value = 0.2
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_critical_receive_chance_dynamic_var
				value = -0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_speed_factor_dynamic_var
				value = 0.05
			}
		}
		add_doctrine_cost_reduction = {
			name = JAP_hit_and_run_tactics
			cost_reduction = 0.5
			uses = 2
			category = cat_trade_interdiction
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_a_nation_of_the_greatest_admirals
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_a_nation_of_the_greatest_admirals_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_a_nation_of_the_greatest_admirals_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_a_nation_of_the_greatest_admirals_defeat
	}
	prerequisite = {
		focus = JAP_a_new_generation_escort
		focus = JAP_sink_their_supply
		focus = JAP_expand_the_carrier_fleet
		focus = JAP_yamato_reborn
	}
	relative_position_id = JAP_the_mosquito_fleet
	cost = 5
	x = -2
	y = 2
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_a_nation_of_the_greatest_admirals_idea
			}
		}
		every_navy_leader = {
			add_max_trait = 1
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_kaijo_jieitai_experience_gain_factor_dynamic_var
				value = 0.07
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_morale_factor_dynamic_var
				value = 0.03
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_coordination_dynamic_var
				value = 0.05
			}
		}
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_skill_training_admiral_attack_skills
		unlock_decision_tooltip = JAP_skill_training_admiral_defense_skills
		unlock_decision_tooltip = JAP_skill_training_admiral_maneuvering_skills
		unlock_decision_tooltip = JAP_skill_training_admiral_coordination_skills
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_confront_chinese_maritime_dominance
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_confront_chinese_maritime_dominance_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_confront_chinese_maritime_dominance_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_confront_chinese_maritime_dominance_defeat
	}
	prerequisite = {
		focus = JAP_expand_the_carrier_fleet
	}
	prerequisite = {
		focus = JAP_yamato_reborn
	}
	relative_position_id = JAP_the_japanese_armada
	cost = 3.6
	x = 0
	y = 2
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_confront_chinese_maritime_dominance_idea
			}
		}
		if = {
			limit = {
				VIN = {
					is_in_faction = no
				}
			}
			set_temp_variable = {
				var = global.PRC_influence_VIN_var_temp
				value = -0.1
			}
			PRC_add_VIN_influence = yes
		}
		if = {
			limit = {
				CAM = {
					is_in_faction = no
				}
			}
			set_temp_variable = {
				var = global.PRC_influence_CAM_var_temp
				value = -0.1
			}
			PRC_add_CAM_influence = yes
		}
		if = {
			limit = {
				PHI = {
					is_in_faction = no
				}
			}
			set_temp_variable = {
				var = global.PRC_influence_PHI_var_temp
				value = -0.1
			}
			PRC_add_PHI_influence = yes
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_capital_ship_defence_factor_dynamic_var
				value = 0.15
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_capital_ship_attack_factor_dynamic_var
				value = 0.15
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_speed_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_morale_factor_dynamic_var
				value = 0.03
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_spotting_chance_dynamic_var
				value = 0.03
			}
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_the_fleets_of_asia_are_strong_and_united
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_the_fleets_of_asia_are_strong_and_united_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_the_fleets_of_asia_are_strong_and_united_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_the_fleets_of_asia_are_strong_and_united_defeat
	}
	prerequisite = {
		focus = JAP_a_new_generation_escort
		focus = JAP_sink_their_supply
		focus = JAP_expand_the_carrier_fleet
		focus = JAP_yamato_reborn
	}
	relative_position_id = JAP_the_mosquito_fleet
	cost = 5
	x = 0
	y = 3
	available = {
		OR = {
			has_completed_focus = JAP_continue_military_integration
			has_completed_focus = JAP_defeat_collective_sovereignity
		}
	}
	completion_reward = {
		navy_experience = 35
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_kaijo_jieitai_idea_dummy
				add_idea = JAP_the_fleets_of_asia_are_strong_and_united_idea
			}
		}
		unlock_decision_tooltip = JAP_conduct_pdto_naval_exercises
		custom_effect_tooltip = tooltip_white_line
		custom_effect_tooltip = JAP_the_fleets_of_asia_are_strong_and_united_tt
		show_ideas_tooltip = PDTO_pdto_fleets_coordination_idea
		hidden_effect = {
			every_country = {
				limit = {
					NOT = {
						tag = JAP
					}
					has_idea = JAP_PDTO_member_2
				}
				navy_experience = 35
				add_ideas = PDTO_pdto_fleets_coordination_idea
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_coordination_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_speed_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_max_range_factor_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_navy_fuel_consumption_factor_dynamic_var
				value = -0.1
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_detection_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_kaijo_jieitai_naval_attrition_dynamic_var
				value = -0.05
			}
		}
	}
	ai_will_do = {
		factor = 15
	}
}

shared_focus = {
	id = JAP_mass_production_of_the_rising_suns_airplanes
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_mass_production_of_the_rising_suns_airplanes_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_mass_production_of_the_rising_suns_airplanes_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_mass_production_of_the_rising_suns_airplanes_defeat
	}
	prerequisite = {
		focus = JAP_koku_jieitai
	}
	mutually_exclusive = {
		focus = JAP_stick_to_american_5th_generation_projects
	}
	relative_position_id = JAP_koku_jieitai
	cost = 3.6
	x = -1
	y = 1
	completion_reward = {
		random_owned_controlled_state = {
			limit = {
				is_core_of = ROOT
				state_population > 500000
				free_building_slots = {
					building = arms_factory
					size > 1
					include_locked = yes
				}
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = arms_factory
				level = 2
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			limit = {
				is_core_of = ROOT
				state_population > 500000
				free_building_slots = {
					building = arms_factory
					size > 1
					include_locked = yes
				}
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = arms_factory
				level = 2
				instant_build = yes
			}
		}
		custom_effect_tooltip = tooltip_white_line
		add_timed_idea = {
			idea = PRC_mass_aircraft_production
			days = 200
		}
		custom_effect_tooltip = tooltip_white_line
		if = {
			limit = {
				NOT = {
					has_tech = improved_small_airframe
				}
			}
			set_technology = {
				improved_small_airframe = 1
			}
		}
		create_equipment_variant = {
			name = "Mitsubishi X-2 Shinshin"
			type = small_plane_airframe_2
			modules = {
				fixed_main_weapon_slot = aircraft_cannon_1_1x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_1x
				fixed_auxiliary_weapon_slot_2 = aircraft_cannon_1_1x
				fixed_auxiliary_weapon_slot_3 = aircraft_cannon_1_1x
				fixed_auxiliary_weapon_slot_4 = aircraft_cannon_1_1x
				engine_type_slot = engine_3_2x
				special_type_slot_1 = hmg_defense_turret
				special_type_slot_2 = lmg_defense_turret
				special_type_slot_3 = fuel_tanks_small
			}
			icon = "GFX_JAP_fighter4_medium"
		}
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 30
		}
		add_debt_with_inflation = yes
		hidden_effect = {
			if = {
				limit = {
					is_ai = yes
					PRC = {
						is_ai = yes
					}
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_2
					variant_name = "Mitsubishi X-2 Shinshin"
					amount = 750
					producer = JAP
				}
			}
			if = {
				limit = {
					is_ai = yes
					PRC = {
						is_ai = no
					}
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_2
					variant_name = "Mitsubishi X-2 Shinshin"
					amount = 1000
					producer = JAP
				}
			}
		}
	}
	ai_will_do = {
		factor = 20
	}
}

shared_focus = {
	id = JAP_return_to_the_super_kai_program
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_return_to_the_super_kai_program_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_return_to_the_super_kai_program_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_return_to_the_super_kai_program_defeat
	}
	prerequisite = {
		focus = JAP_mass_production_of_the_rising_suns_airplanes
	}
	relative_position_id = JAP_mass_production_of_the_rising_suns_airplanes
	cost = 3.6
	x = -1
	y = 1
	completion_reward = {
		create_equipment_variant = {
			name = "Mitsubishi F-2 Super Kai"
			type = small_plane_cas_airframe_1
			modules = {
				fixed_main_weapon_slot = heavy_mg_2x
				fixed_auxiliary_weapon_slot_1 = heavy_mg_2x
				fixed_auxiliary_weapon_slot_2 = heavy_mg_4x
				fixed_auxiliary_weapon_slot_3 = heavy_mg_4x
				engine_type_slot = engine_3_1x
				special_type_slot_1 = hmg_defense_turret
				special_type_slot_2 = lmg_defense_turret
				special_type_slot_3 = fuel_tanks_small
			}
			icon = "GFX_JAP_fighter2_medium"
		}
		custom_effect_tooltip = tooltip_white_line
		add_equipment_production = {
			equipment = {
				type = small_plane_cas_airframe_1
				creator = "JAP"
				version_name = "Mitsubishi F-2 Super Kai"
			}
			requested_factories = 10
			efficiency = 100
		}
		custom_effect_tooltip = JAP_return_to_the_super_kai_program_tt
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 20
		}
		add_debt_with_inflation = yes
		hidden_effect = {
			add_equipment_to_stockpile = {
				type = small_plane_cas_airframe_1
				variant_name = "Mitsubishi F-2 Super Kai"
				amount = 300
				producer = JAP
			}
			if = {
				limit = {
					is_ai = yes
					PRC = {
						is_ai = yes
					}
				}
				add_equipment_to_stockpile = {
					type = small_plane_cas_airframe_1
					variant_name = "Mitsubishi F-2 Super Kai"
					amount = 1200
					producer = JAP
				}
			}
			if = {
				limit = {
					is_ai = yes
					PRC = {
						is_ai = no
					}
				}
				add_equipment_to_stockpile = {
					type = small_plane_cas_airframe_1
					variant_name = "Mitsubishi F-2 Super Kai"
					amount = 2500
					producer = JAP
				}
			}
		}
	}
	ai_will_do = {
		factor = 20
	}
}

shared_focus = {
	id = JAP_experimental_uavs
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_experimental_uavs_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_experimental_uavs_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_experimental_uavs_defeat
	}
	prerequisite = {
		focus = JAP_koku_jieitai
	}
	relative_position_id = JAP_koku_jieitai
	cost = 4.3
	x = -3
	y = 1
	completion_reward = {
		if = {
			limit = {
				NOT = {
					has_tech = improved_medium_airframe
				}
			}
			set_technology = {
				improved_medium_airframe = 1
			}
		}
		create_equipment_variant = {
			name = "Tenryu Type"
			type = medium_plane_airframe_2
			#allow_without_tech = yes
			modules = {
				fixed_main_weapon_slot = bomb_locks
				fixed_auxiliary_weapon_slot_1 = bomb_locks
				fixed_auxiliary_weapon_slot_2 = bomb_locks
				engine_type_slot = engine_2_2x
				special_type_slot_1 = hmg_defense_turret
				special_type_slot_2 = ai_targeting_computer_small
				special_type_slot_3 = radio_navigation_1
			}
			#icon = "GFX_PRC_dark_sword_eq"
		}
		custom_effect_tooltip = tooltip_white_line
		add_equipment_production = {
			equipment = {
				type = medium_plane_airframe_2
				creator = "JAP"
				version_name = "Tenryu Type"
			}
			requested_factories = 10
			efficiency = 100
		}
		custom_effect_tooltip = JAP_experimental_uavs_tt
		custom_effect_tooltip = tooltip_white_line
		add_tech_bonus = {
			name = JAP_experimental_uavs
			bonus = 0.5
			uses = 2
			category = rocketry
		}
		add_tech_bonus = {
			name = JAP_experimental_uavs
			bonus = 0.75
			uses = 2
			category = tactical_bomber
		}
		custom_effect_tooltip = tooltip_white_line
		random_army_leader = {
			add_trait = {
				trait = trait_drone_operator
			}
		}
		random_army_leader = {
			add_trait = {
				trait = trait_drone_operator
			}
		}
		random_army_leader = {
			add_trait = {
				trait = trait_drone_operator
			}
		}
		set_temp_variable = {
			var = debt_var_temp
			value = 20
		}
		add_debt_with_inflation = yes
		hidden_effect = {
			add_equipment_to_stockpile = {
				type = medium_plane_airframe_2
				variant_name = "Tenryu Type"
				amount = 100
				producer = JAP
			}
		}
	}
}

shared_focus = {
	id = JAP_rikujo_koku_unmanned_coordination
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_rikujo_koku_unmanned_coordination_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_rikujo_koku_unmanned_coordination_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_rikujo_koku_unmanned_coordination_defeat
	}
	prerequisite = {
		focus = JAP_armored_unmanned_vehicles
	}
	prerequisite = {
		focus = JAP_experimental_uavs
	}
	relative_position_id = JAP_koku_jieitai
	cost = 4.3
	x = -5
	y = 2
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_jietai_idea_dummy
				add_idea = JAP_rikujo_koku_coordination1_idea
			}
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_koku_jieitai_idea_dummy
				add_idea = JAP_rikujo_koku_coordination2_idea
			}
		}
		JAP_increase_creation_of_a_new_military_doctrine_idea = yes
		custom_effect_tooltip = tooltip_white_line
		add_doctrine_cost_reduction = {
			name = JAP_rikujo_koku_unmanned_coordination
			cost_reduction = 0.5
			uses = 2
			category = land_doctrine
		}
		add_doctrine_cost_reduction = {
			name = JAP_rikujo_koku_unmanned_coordination
			cost_reduction = 0.5
			uses = 2
			category = air_doctrine
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_max_planning_factor_dynamic_var
				value = 0.075
			}
			add_to_variable = {
				var = JAP_jieitai_planning_speed_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_jieitai_recon_factor_dynamic_var
				value = 0.075
			}
			add_to_variable = {
				var = JAP_koku_jieitai_army_bonus_air_superiority_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_koku_jieitai_cas_damage_reduction_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_mission_efficiency_dynamic_var
				value = 0.05
			}
		}
		set_temp_variable = {
			var = military_development_var_temp
			value = 0.1
		}
		add_military_development = yes
	}
}

shared_focus = {
	id = JAP_creation_of_a_attack_helicopter_fleet
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_creation_of_a_attack_helicopter_fleet_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_creation_of_a_attack_helicopter_fleet_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_creation_of_a_attack_helicopter_fleet_defeat
	}
	prerequisite = {
		focus = JAP_koku_jieitai
	}
	relative_position_id = JAP_koku_jieitai
	cost = 4.3
	x = -5
	y = 1
	completion_reward = {
		add_equipment_to_stockpile = {
			type = attack_helicopter_equipment_1
			amount = 250
			producer = JAP
		}
		add_equipment_to_stockpile = {
			type = utility_helicopter_equipment_1
			amount = 350
			producer = JAP
		}
		custom_effect_tooltip = tooltip_white_line
		add_tech_bonus = {
			name = JAP_creation_of_a_attack_helicopter_fleet
			bonus = 1
			uses = 2
			category = cat_helicopter_modules
		}
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_expand_the_helicopter_plant_in_kakamigahara
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 10
		}
		add_debt_with_inflation = yes
	}
}

shared_focus = {
	id = JAP_stick_to_american_5th_generation_projects
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_stick_to_american_5th_generation_projects_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_stick_to_american_5th_generation_projects_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_stick_to_american_5th_generation_projects_defeat
	}
	prerequisite = {
		focus = JAP_koku_jieitai
	}
	mutually_exclusive = {
		focus = JAP_mass_production_of_the_rising_suns_airplanes
	}
	relative_position_id = JAP_koku_jieitai
	cost = 4.3
	x = 3
	y = 1
	completion_reward = {
		custom_effect_tooltip = JAP_stick_to_american_5th_generation_projects_tt
		custom_effect_tooltip = tooltip_white_line
		add_doctrine_cost_reduction = {
			name = JAP_stick_to_american_5th_generation_projects
			cost_reduction = 0.5
			uses = 2
			category = air_doctrine
		}
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 20
		}
		add_debt_with_inflation = yes
		hidden_effect = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_2
					variant_name = "F-35 Lightning II"
					amount = 200
					producer = JAP
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = fighter_equipment_3
					amount = 200
					producer = JAP
				}
			}
		}
	}
}

shared_focus = {
	id = JAP_deep_modernization_of_nato_fighter_jets
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_deep_modernization_of_nato_fighter_jets_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_deep_modernization_of_nato_fighter_jets_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_deep_modernization_of_nato_fighter_jets_defeat
	}
	prerequisite = {
		focus = JAP_stick_to_american_5th_generation_projects
	}
	relative_position_id = JAP_stick_to_american_5th_generation_projects
	cost = 3.6
	x = 1
	y = 1
	completion_reward = {
		custom_effect_tooltip = JAP_deep_modernization_of_nato_fighter_jets_tt
		custom_effect_tooltip = tooltip_white_line
		add_timed_idea = {
			idea = PRC_mass_aircraft_production
			days = 100
		}
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 30
		}
		add_debt_with_inflation = yes
		hidden_effect = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				create_equipment_variant = {
					name = "F-22 Raptor"
					type = small_plane_airframe_2
					modules = {
						fixed_main_weapon_slot = heavy_mg_4x
						fixed_auxiliary_weapon_slot_1 = heavy_mg_4x
						fixed_auxiliary_weapon_slot_2 = heavy_mg_4x
						fixed_auxiliary_weapon_slot_3 = light_mg_4x
						engine_type_slot = engine_1_2x
						special_type_slot_1 = hmg_defense_turret
						special_type_slot_2 = lmg_defense_turret_2x
						special_type_slot_3 = lmg_defense_turret_2x
					}
				}
				create_equipment_variant = {
					name = "F-16/IQ"
					type = small_plane_airframe_1
					modules = {
						fixed_main_weapon_slot = heavy_mg_4x
						fixed_auxiliary_weapon_slot_1 = heavy_mg_4x
						fixed_auxiliary_weapon_slot_2 = light_mg_4x
						engine_type_slot = engine_2_1x
						special_type_slot_1 = hmg_defense_turret
					}
					icon = "GFX_USA_fighter3_medium"
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_2
					variant_name = "F-22 Raptor"
					amount = 250
					producer = JAP
				}
				add_equipment_to_stockpile = {
					type = small_plane_airframe_1
					variant_name = "F-16/IQ"
					amount = 250
					producer = JAP
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = fighter_equipment_3
					amount = 250
					producer = JAP
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_2
					amount = 250
					producer = JAP
				}
			}
		}
	}
}

shared_focus = {
	id = JAP_global_combat_air_programme_development
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_global_combat_air_programme_development_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_global_combat_air_programme_development_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_global_combat_air_programme_development_defeat
	}
	prerequisite = {
		focus = JAP_stick_to_american_5th_generation_projects
		focus = JAP_mass_production_of_the_rising_suns_airplanes
	}
	relative_position_id = JAP_koku_jieitai
	cost = 4.3
	x = 1
	y = 2
	completion_reward = {
		add_doctrine_cost_reduction = {
			name = JAP_global_combat_air_programme_development
			cost_reduction = 0.5
			uses = 2
			category = air_doctrine
		}
		custom_effect_tooltip = tooltip_white_line
		add_tech_bonus = {
			name = JAP_global_combat_air_programme_development
			bonus = 1
			uses = 1
			category = light_air
		}
		add_tech_bonus = {
			name = JAP_global_combat_air_programme_development
			bonus = 0.5
			uses = 2
			category = air_equipment
		}
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 20
		}
		add_debt_with_inflation = yes
		custom_effect_tooltip = tooltip_white_line
		every_country = {
			limit = {
				OR = {
					tag = ITA
					tag = ENG
				}
			}
			add_doctrine_cost_reduction = {
				name = JAP_global_combat_air_programme_development
				cost_reduction = 0.5
				uses = 2
				category = air_doctrine
			}
			add_tech_bonus = {
				name = JAP_global_combat_air_programme_development
				bonus = 1
				uses = 2
				category = light_air
			}
			add_tech_bonus = {
				name = JAP_global_combat_air_programme_development
				bonus = 0.5
				uses = 2
				category = air_equipment
			}
		}
	}
}

shared_focus = {
	id = JAP_accelerate_mitsubishi_f_x_development
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_accelerate_mitsubishi_f_x_development_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_accelerate_mitsubishi_f_x_development_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_accelerate_mitsubishi_f_x_development_defeat
	}
	prerequisite = {
		focus = JAP_mass_production_of_the_rising_suns_airplanes
	}
	prerequisite = {
		focus = JAP_global_combat_air_programme_development
	}
	available = {
		air_experience > 75
	}
	relative_position_id = JAP_mass_production_of_the_rising_suns_airplanes
	cost = 4.3
	x = 0
	y = 2
	completion_reward = {
		air_experience = -75
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_koku_jieitai_idea_dummy
				add_idea = JAP_accelerate_mitsubishi_f_x_development_idea
			}
		}
		if = {
			limit = {
				NOT = {
					has_tech = modern_small_airframe
				}
			}
			set_technology = {
			    modern_small_airframe = 1
			}
		}
		create_equipment_variant = {
			name = "Mitsubishi F-X Godzilla"
			type = small_plane_airframe_4
			modules = {
				fixed_main_weapon_slot = aircraft_cannon_1_1x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_1x
				fixed_auxiliary_weapon_slot_2 = aircraft_cannon_1_1x
				fixed_auxiliary_weapon_slot_3 = aircraft_cannon_1_1x
				fixed_auxiliary_weapon_slot_4 = aircraft_cannon_1_1x
				engine_type_slot = engine_4_2x
				special_type_slot_1 = hmg_defense_turret
				special_type_slot_2 = ai_targeting_computer_small
				special_type_slot_3 = radio_navigation_2
				special_type_slot_4 = fuel_tanks_small
				special_type_slot_5 = lmg_defense_turret_2x
			}
			icon = "GFX_JAP_mistubishi_x_godzilla"
		}
		custom_effect_tooltip = tooltip_white_line
		add_equipment_production = {
			equipment = {
				type = small_plane_airframe_4
				creator = "JAP" 
				version_name = "Mitsubishi F-X Godzilla"
			}
			requested_factories = 10
			efficiency = 100
		}
		custom_effect_tooltip = JAP_accelerate_mitsubishi_f_x_development_tt
		hidden_effect = {
			add_equipment_to_stockpile = {
				type = small_plane_airframe_4
				variant_name = "Mitsubishi F-X Godzilla"
				amount = 50
				producer = JAP
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_range_factor_dynamic_var
				value = 0.15
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_detection_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_accidents_factor_dynamic_var
				value = -0.2
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_weather_penalty_dynamic_var
				value = -0.2
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_night_penalty_dynamic_var
				value = -0.2
			}
		}
	}
}

shared_focus = {
	id = JAP_european_future_combat_air_systems
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_european_future_combat_air_systems_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_european_future_combat_air_systems_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_european_future_combat_air_systems_defeat
	}
	prerequisite = {
		focus = JAP_stick_to_american_5th_generation_projects
	}
	prerequisite = {
		focus = JAP_global_combat_air_programme_development
	}
	relative_position_id = JAP_stick_to_american_5th_generation_projects
	cost = 4.3
	x = 0
	y = 2
	completion_reward = {
		air_experience = 50
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_koku_jieitai_idea_dummy
				add_idea = JAP_european_future_combat_air_systems_idea
			}
		}
		add_tech_bonus = {
			name = JAP_european_future_combat_air_systems
			bonus = 1
			uses = 1
			ahead_reduction = 2
			category = light_air
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_koku_jieitai_air_attack_factor_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_defence_factor_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_agility_factor_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_mission_efficiency_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_koku_jieitai_air_fuel_consumption_factor_dynamic_var
				value = 0.15
			}
		}
	}
}

shared_focus = {
	id = JAP_increase_dockyard_construction_plan
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_increase_dockyard_construction_plan_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_increase_dockyard_construction_plan_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_increase_dockyard_construction_plan_defeat
	}
	prerequisite = {
		focus = JAP_kaijo_jieitai
	}
	relative_position_id = JAP_kaijo_jieitai
	cost = 5
	x = -7
	y = 1
	completion_reward = {
		add_timed_idea = {
			idea = PRC_mass_naval_production_idea
			days = 200
		}
		custom_effect_tooltip = tooltip_white_line
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_jietai_idea_dummy
				add_idea = JAP_increase_dockyard_construction_plan_idea
			}
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_production_speed_dockyard_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_jieitai_industrial_capacity_dockyard_dynamic_var
				value = 0.075
			}
		}
		set_temp_variable = {
			var = debt_var_temp
			value = 100
		}
		add_debt_with_inflation = yes
	}
}

shared_focus = {
	id = JAP_investments_in_infantry_and_artillery_development
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_investments_in_infantry_and_artillery_development_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_investments_in_infantry_and_artillery_development_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_investments_in_infantry_and_artillery_development_defeat
	}
	prerequisite = {
		focus = JAP_rikujo_jieitai
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 4.3
	x = -2
	y = 1
	completion_reward = {
		add_timed_idea = {
			idea = JAP_investments_in_infantry_and_artillery_development_idea
			days = 180
		}
		custom_effect_tooltip = tooltip_white_line
		add_tech_bonus = {
			name = JAP_investments_in_infantry_and_artillery_development
			bonus = 0.5
			uses = 2
			category = infantry_weapons
		}
		add_tech_bonus = {
			name = JAP_investments_in_infantry_and_artillery_development
			bonus = 0.5
			uses = 2
			category = artillery
		}
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 25
		}
		add_debt_with_inflation = yes
	}
}

shared_focus = {
	id = JAP_asias_best_officers
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_asias_best_officers_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_asias_best_officers_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_asias_best_officers_defeat
	}
	prerequisite = {
		focus = JAP_rikujo_jieitai
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 5
	x = -4
	y = 1
	available = {
		has_army_experience > 50
	}
	completion_reward = {
		army_experience = -50
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_jietai_idea_dummy
				add_idea = JAP_asias_best_officers_idea
			}
		}
		JAP_increase_creation_of_a_new_military_doctrine_idea = yes
		custom_effect_tooltip = tooltip_white_line
		every_army_leader = {
			add_max_trait = 1
		}
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_skill_training_attack_skills
		unlock_decision_tooltip = JAP_skill_training_defense_skills
		unlock_decision_tooltip = JAP_skill_training_planning_skills
		unlock_decision_tooltip = JAP_skill_training_logistics_skills
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_army_org_factor_dynamic_var
				value = 0.04
			}
			add_to_variable = {
				var = JAP_jieitai_experience_gain_factor_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_jieitai_planning_speed_dynamic_var
				value = 0.1
			}
			add_to_variable = {
				var = JAP_jieitai_max_planning_factor_dynamic_var
				value = 0.05
			}
		}
	}
}

shared_focus = {
	id = JAP_armored_unmanned_vehicles
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_armored_unmanned_vehicles_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_armored_unmanned_vehicles_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_armored_unmanned_vehicles_defeat
	}
	prerequisite = {
		focus = JAP_rikujo_jieitai
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 4.3
	x = 0
	y = 1
	completion_reward = {
		add_manpower = 15000
		custom_effect_tooltip = tooltip_white_line
		set_technology = {
			JAP_unmanned_vehicles = 1
		}
		custom_effect_tooltip = JAP_armored_unmanned_vehicles_tt
		custom_effect_tooltip = tooltip_white_line
		set_temp_variable = {
			var = debt_var_temp
			value = 15
		}
		add_debt_with_inflation = yes
	}
}

shared_focus = {
	id = JAP_komatsus_light_designs
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_komatsus_light_designs_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_komatsus_light_designs_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_komatsus_light_designs_defeat
	}
	prerequisite = {
		focus = JAP_armored_unmanned_vehicles
	}
	mutually_exclusive = {
		focus = JAP_mitsubishis_steel_monsters
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 4.3
	x = 2
	y = 2
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_jietai_idea_dummy
				add_idea = JAP_komatsus_light_designs_idea
			}
		}
		add_doctrine_cost_reduction = {
			name = JAP_komatsus_light_designs
			cost_reduction = 0.5
			uses = 2
			category = cat_mass_assault
		}
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_expand_komatsus_plant_in_ishikawa
		unlock_decision_tooltip = JAP_expand_japan_steel_works_me_plant_in_muroran
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_mechanized_attack_factor_dynamic_var
				value = 0.07
			}
			add_to_variable = {
				var = JAP_jieitai_mechanized_defence_factor_dynamic_var
				value = 0.07
			}
			add_to_variable = {
				var = JAP_jieitai_motorized_attack_factor_dynamic_var
				value = 0.07
			}
			add_to_variable = {
				var = JAP_jieitai_motorized_defence_factor_dynamic_var
				value = 0.07
			}
			add_to_variable = {
				var = JAP_jieitai_army_speed_factor_dynamic_var
				value = 0.1
			}
		}
	}
}

shared_focus = {
	id = JAP_joint_development_with_larsen_toubro
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_joint_development_with_larsen_toubro_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_joint_development_with_larsen_toubro_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_joint_development_with_larsen_toubro_defeat
	}
	prerequisite = {
		focus = JAP_komatsus_light_designs
	}
	available = {
		is_ally_with = RAJ
	}
	relative_position_id = JAP_komatsus_light_designs
	cost = 4.3
	x = 1
	y = 1
	completion_reward = {
		add_timed_idea = {
			idea = JAP_komatsu_larsen_toubro_cooperation_idea
			days = 100
		}
		add_doctrine_cost_reduction = {
			name = JAP_joint_development_with_larsen_toubro
			cost_reduction = 0.75
			uses = 1
			category = cat_mass_assault
		}
		custom_effect_tooltip = tooltip_white_line
		RAJ = {
			add_timed_idea = {
				idea = JAP_komatsu_larsen_toubro_cooperation_idea
				days = 100
			}
			add_doctrine_cost_reduction = {
				name = JAP_joint_development_with_larsen_toubro
				cost_reduction = 0.75
				uses = 1
				category = cat_mass_assault
			}
		}
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_create_a_joint_komatsu_larsen_toubro_light_tank_plant_in_hazira
	}
}

shared_focus = {
	id = JAP_mitsubishis_steel_monsters
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_mitsubishis_steel_monsters_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_mitsubishis_steel_monsters_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_mitsubishis_steel_monsters_defeat
	}
	prerequisite = {
		focus = JAP_armored_unmanned_vehicles
	}
	mutually_exclusive = {
		focus = JAP_komatsus_light_designs
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 4.3
	x = 0
	y = 2
	completion_reward = {
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_jietai_idea_dummy
				add_idea = JAP_mitsubishis_steel_monsters_idea
			}
		}
		add_doctrine_cost_reduction = {
			name = JAP_mitsubishis_steel_monsters
			cost_reduction = 0.5
			uses = 2
			category = cat_mobile_warfare
		}
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_expand_sagamihara_tank_facility
		unlock_decision_tooltip = JAP_expand_chitose_tank_facility
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_army_armor_attack_factor_dynamic_var
				value = 0.07
			}
			add_to_variable = {
				var = JAP_jieitai_army_armor_defence_factor_dynamic_var
				value = 0.07
			}
			add_to_variable = {
				var = JAP_jieitai_fortification_damage_dynamic_var
				value = 0.1
			}
		}
	}
}

shared_focus = {
	id = JAP_cooperation_with_hyundai_rotem
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_cooperation_with_hyundai_rotem_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_cooperation_with_hyundai_rotem_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_cooperation_with_hyundai_rotem_defeat
	}
	prerequisite = {
		focus = JAP_mitsubishis_steel_monsters
	}
	available = {
		country_exists = KOR
		KOR = {
			has_capitulated = no
		}
	}
	relative_position_id = JAP_mitsubishis_steel_monsters
	cost = 4.3
	x = 1
	y = 1
	completion_reward = {
		add_timed_idea = {
			idea = JAP_mitsubishi_heavy_industries_hyundai_rotem_cooperation_idea
			days = 100
		}
		add_doctrine_cost_reduction = {
			name = JAP_cooperation_with_hyundai_rotem
			cost_reduction = 0.75
			uses = 1
			category = cat_mobile_warfare
		}
		custom_effect_tooltip = tooltip_white_line
		KOR = {
			add_timed_idea = {
				idea = JAP_mitsubishi_heavy_industries_hyundai_rotem_cooperation_idea
				days = 100
			}
			add_doctrine_cost_reduction = {
				name = JAP_cooperation_with_hyundai_rotem
				cost_reduction = 0.75
				uses = 1
				category = cat_mobile_warfare
			}
		}
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_create_a_joint_mitsubishi_heavy_industries_hyundai_rotem_tank_plant_in_busan
	}
}

shared_focus = {
	id = JAP_amphibious_assault_vehicles_development
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_amphibious_assault_vehicles_development_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_amphibious_assault_vehicles_development_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_amphibious_assault_vehicles_development_defeat
	}
	prerequisite = {
		focus = JAP_armored_unmanned_vehicles
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 4.3
	x = -1
	y = 3
	completion_reward = {
		custom_effect_tooltip = JAP_amphibious_assault_vehicles_development_tt
		custom_effect_tooltip = tooltip_white_line
		add_tech_bonus = {
			name = JAP_amphibious_assault_vehicles_development
			bonus = 1
			ahead_reduction = 2
			uses = 2
			category = tp_tech
		}
		set_temp_variable = {
			var = debt_var_temp
			value = 15
		}
		add_debt_with_inflation = yes
		hidden_effect = {
			division_template = {
				name = "Suduza Wodorazi"
				regiments = {
					amphibious_mechanized = { x = 0 y = 0 }
					amphibious_mechanized = { x = 0 y = 1 }
					amphibious_mechanized = { x = 0 y = 2 }
					modern_sp_artillery_brigade = { x = 0 y = 3 }

					amphibious_mechanized = { x = 1 y = 0 }
					amphibious_mechanized = { x = 1 y = 1 }
					amphibious_mechanized = { x = 1 y = 2 }
					modern_sp_artillery_brigade = { x = 1 y = 3 }

					amphibious_mechanized = { x = 2 y = 0 }
					amphibious_mechanized = { x = 2 y = 1 }
				}
				support = {
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Dai-Ichi Marin Shidan 'Kasuga Ayumu'\" division_template = \"Suduza Wodorazi\" start_experience_factor = 0.6 start_equipment_factor = 1.0"
					owner = ROOT
				}
				create_unit = {
					division = "name = \"Dai-Ni Marin Shidan 'Takino Tomo'\" division_template = \"Suduza Wodorazi\" start_experience_factor = 0.6 start_equipment_factor = 1.0"
					owner = ROOT
				}
				create_unit = {
					division = "name = \"Dai-San Marin Shidan 'Chiyo Mihama'\" division_template = \"Suduza Wodorazi\" start_experience_factor = 0.6 start_equipment_factor = 1.0"
					owner = ROOT
				}
				create_unit = {
					division = "name = \"Dai-Yon Marin Shidan 'Mizuhara Koyomi'\" division_template = \"Suduza Wodorazi\" start_experience_factor = 0.6 start_equipment_factor = 1.0"
					owner = ROOT
				}
			}
		}
	}
}

shared_focus = {
	id = JAP_wide_application_of_exoskeletons
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_wide_application_of_exoskeletons_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_wide_application_of_exoskeletons_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_wide_application_of_exoskeletons_defeat
	}
	prerequisite = {
		focus = JAP_investments_in_infantry_and_artillery_development
	}
	prerequisite = {
		focus = JAP_armored_unmanned_vehicles
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 4.3
	x = -3
	y = 2
	completion_reward = {
		if = {
			limit = {
				has_tech = body_armor6
			}
			set_technology = {
				body_armor8 = 1
			}
			custom_effect_tooltip = JAP_wide_application_of_exoskeletons_tt2
			hidden_effect = {
				add_equipment_to_stockpile = {
					type = exoskeleton_equipment_1
					amount = 750
					producer = JAP
				}
			}
		}
		if = {
			limit = {
				NOT = {
					has_tech = body_armor6
				}
			}
			set_technology = {
				body_armor6 = 1
			}
			custom_effect_tooltip = JAP_wide_application_of_exoskeletons_tt
			hidden_effect = {
				add_equipment_to_stockpile = {
					type = exoskeleton_equipment_1
					amount = 350
					producer = JAP
				}
			}
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_jietai_idea_dummy
				add_idea = JAP_wide_application_of_exoskeletons_idea
			}
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_army_infantry_attack_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_jieitai_army_infantry_defence_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_jieitai_breakthrough_factor_dynamic_var
				value = 0.025
			}
		}
		set_temp_variable = {
			var = debt_var_temp
			value = 10
		}
		add_debt_with_inflation = yes
	}
}


shared_focus = {
	id = JAP_conscription_reform
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_conscription_reform_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_conscription_reform_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_conscription_reform_defeat
	}
	prerequisite = {
		focus = JAP_rikujo_jieitai
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 5
	x = 2
	y = 1
	completion_reward = {
		add_ideas = medium_conscription
		custom_effect_tooltip = tooltip_white_line
		if = {
			limit = {
				NOT = {
					has_idea = civil_service_exemptions
				}
			}
			add_ideas = civil_service_exemptions
			custom_effect_tooltip = tooltip_white_line
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_jietai_idea_dummy
				add_idea = JAP_conscription_reform_idea
			}
		}
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_mobilization_speed_dynamic_var
				value = 0.2
			}
			add_to_variable = {
				var = JAP_jieitai_battalion_upkeep_factor_dynamic_var
				value = -0.15
			}
			add_to_variable = {
				var = JAP_jieitai_land_reinforce_rate_dynamic_var
				value = 0.075
			}
			add_to_variable = {
				var = JAP_jieitai_conscription_factor_dynamic_var
				value = 0.05
			}
		}
	}
	ai_will_do = {
		factor = 25
	}
}

shared_focus = {
	id = JAP_a_worthy_successor_to_the_imperial_army
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_a_worthy_successor_to_the_imperial_army_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_a_worthy_successor_to_the_imperial_army_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_a_worthy_successor_to_the_imperial_army_defeat
	}
	prerequisite = {
		focus = JAP_amphibious_assault_vehicles_development
	}
	prerequisite = {
		focus = JAP_investments_in_infantry_and_artillery_development
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 3.6
	x = -2
	y = 4
	completion_reward = {
		country_event = {
			id = jap.104
			hours = 5
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = JAP_jietai_idea_dummy
				add_idea = JAP_a_worthy_successor_to_the_imperial_army_idea
			}
		}
		JAP_increase_creation_of_a_new_military_doctrine_idea = yes
		custom_effect_tooltip = tooltip_white_line
		hidden_effect = {
			add_to_variable = {
				var = JAP_jieitai_army_attack_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_jieitai_army_defence_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_jieitai_army_morale_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_jieitai_army_org_factor_dynamic_var
				value = 0.05
			}
			add_to_variable = {
				var = JAP_jieitai_army_fuel_consumption_factor_dynamic_var
				value = -0.1
			}
		}
		add_popularity = {
			ideology = nationalist
			popularity = 0.05
		}
		set_temp_variable = {
			var = society_development_var_temp
			value = 0.075
		}
		add_society_development = yes
		set_temp_variable = {
			var = military_development_var_temp
			value = 0.1
		}
		add_military_development = yes
	}
	ai_will_do = {
		factor = 20
	}
}

#shared_focus = {
#	id = JAP_rikujo_kaijo_koku_coordination
#	icon = GFX_focus_JAP_airland_coordination
#	prerequisite = {
#		focus = JAP_a_worthy_successor_to_the_imperial_army
#	}
#	relative_position_id = JAP_redefine_the_japanese_army
#	cost = 5
#	x = -2
#	y = 7
#	completion_reward = {
#		army_experience = 50
#		navy_experience = 50
#		air_experience = 50
#		add_doctrine_cost_reduction = {
#			name = JAP_rikujo_kaijo_koku_coordination
#			cost_reduction = 0.75
#			uses = 2
#			category = land_doctrine
#		}
#		add_doctrine_cost_reduction = {
#			name = JAP_rikujo_kaijo_koku_coordination
#			cost_reduction = 0.75
#			uses = 2
#			category = air_doctrine
#		}
#		add_doctrine_cost_reduction = {
#			name = JAP_rikujo_kaijo_koku_coordination
#			cost_reduction = 0.75
#			uses = 2
#			category = naval_doctrine
#		}
#		effect_tooltip = {
#			swap_ideas = {
#				remove_idea = JAP_jietai_idea_dummy
#				add_idea = JAP_rikujo_kaijo_koku_coordination_idea
#			}
#		}
#		hidden_effect = {
#			add_to_variable = {
#				var = JAP_jieitai_max_planning_factor_dynamic_var
#				value = 0.075
#			}
#			add_to_variable = {
#				var = JAP_jieitai_planning_speed_dynamic_var
#				value = 0.1
#			}
#			add_to_variable = {
#				var = JAP_jieitai_recon_factor_dynamic_var
#				value = 0.075
#			}
#			add_to_variable = {
#				var = JAP_jieitai_army_bonus_air_superiority_factor_dynamic_var
#				value = 0.05
#			}
#			add_to_variable = {
#				var = JAP_jieitai_cas_damage_reduction_dynamic_var
#				value = 0.05
#			}
#			add_to_variable = {
#				var = JAP_jieitai_air_mission_efficiency_dynamic_var
#				value = 0.05
#			}
#			add_to_variable = {
#				var = JAP_jieitai_air_nav_efficiency_dynamic_var
#				value = 0.1
#			}
#			add_to_variable = {
#				var = JAP_jieitai_spotting_chance_dynamic_var
#				value = 0.1
#			}
#		}
#		set_temp_variable = {
#			var = military_development_var_temp
#			value = 0.1
#		}
#		add_military_development = yes
#	}
#}

shared_focus = {
	id = JAP_ignite_japanese_patriotism
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
		}
		value = GFX_focus_JAP_ignite_japanese_patriotism_ldp
	}
	icon = {
		trigger = {
			AND = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_cc_won
			}
		}
		value = GFX_focus_JAP_ignite_japanese_patriotism_cc
	}
	icon = {
		trigger = {
			has_global_flag = JAP_japan_lost
		}
		value = GFX_focus_JAP_ignite_japanese_patriotism_defeat
	}
	prerequisite = {
		focus = JAP_a_worthy_successor_to_the_imperial_army
	}
	prerequisite = {
		focus = JAP_asias_best_officers
	}
	relative_position_id = JAP_rikujo_jieitai
	cost = 4.3
	x = -4
	y = 5
	completion_reward = {
		country_event = {
			id = jap.105
			hours = 5
		}
		add_war_support = 0.025
		add_manpower = 35000
		if = {
			limit = {
				has_global_flag = JAP_japan_victory
				has_global_flag = JAP_ldp_won
			}
			effect_tooltip = {
				unlock_national_focus = JAP_ignite_nationalism
			}
		}
		if = {
			limit = {
				has_country_flag = JAP_nationalists_ldp_enabled
			}
			set_temp_variable = {
				var = JAP_ldp_nationalists_var_temp
				value = 0.075
			}
			JAP_add_influence_ldp_nationalists = yes
		}
		if = {
			limit = {
				has_global_flag = JAP_japan_lost
			}
			effect_tooltip = {
				unlock_national_focus = JAP_defeat_destroy_the_radicals
				unlock_national_focus = JAP_defeat_strengthen_JSDF_positions
			}
		}
		custom_effect_tooltip = tooltip_white_line
		unlock_decision_tooltip = JAP_defend_the_home_islands_prop
		unlock_decision_tooltip = JAP_the_sun_rises_again_prop
	}
}
