%form: tokutei_koubo_form_09.tex ; user: tokutei_koubo_09_budget.tex
%========== S-1-6 特定領域研究　継続領域　公募研究(新規) =========
%===== p. 9 設備備品費、消耗品費の明細 =============
\section{設備備品費、消耗品費の明細}
%framemode_AB:
\setlength{\textheight}{31cm}%
\clearpage% This should come after setting new \textheight, or otherwise the old value will be used for this page.

%f: ===== Parameters for LaTeX =========================
\setlength{\topmargin}{-39mm}
\setlength{\oddsidemargin}{-2.5cm}
\setlength{\evensidemargin}{-2.5cm}
	%f: Above three margins are set so that the origin of the coordinate is the top-left corner.
	
\setlength{\parindent}{0zw}
%f:===============================================

%--empty watermarks
\watermark{}
\thiswatermark{}
\rightwatermark{}
\leftwatermark{}

%-----------------------

\KLCheckPageNo{9}{研究経費の妥当性・必要性}{2}
\setlength{\KLLeftEdge}{\KLUnivLeftEdge}

\begin{minipage}{\KLMiniPageWidth}
	\setcounter{page}{9}
%frame: f10_budget_Tk
\subsection{設備備品費の明細}
    \begingroup
	    \setlength{\tabcolsep}{1mm}
	    \begin{small}
		\WHBLJ{1.9cm}{4.6cm}{17.2cm}{10.0cm}{
		     	\renewcommand{\KLCostCategory}{KLequipments}
			\KLResetGrandSum
			\begin{tabular}{p{7.5mm}p{42mm}p{11mm}p{20mm}p{20mm}p{41.5mm}p{15.5mm}}
		         		\phantom{年} & \phantom{品名・仕様} & \phantom{1} & \phantom{単価} &
				\phantom{金額} & \phantom{研究機関} & \phantom{購入時期}\\
				% Above two lines are used to allocate the width for the cost.  DO NOT REMOVE IT.
				%begin 設備備品費単価付き明細　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\設備備品費単価付き明細
				%end 
			\end{tabular}
		}
	\end{small}
    \endgroup

%  消耗品費等の明細 =============================================
    \newlength{\KLHi}			\setlength{\KLHi}{5.1cm}
    \newlength{\KLHii}		\setlength{\KLHii}{5.3cm}
    \newlength{\KLsumH}		\setlength{\KLsumH}{1.4cm}
        
    \newlength{\KLYi}			\setlength{\KLYi}{15.9cm}
    \newlength{\KLYiSum}		\setlength{\KLYiSum}{20.4cm}
    \newlength{\KLYii}			\setlength{\KLYii}{21.0cm}
    \newlength{\KLYiiSum}		\setlength{\KLYiiSum}{25.6cm}

            
    \newcommand{\KLBudgetItems}[3]{
    	    \WHBLJ{\KLX}{#1}{\KLW}{#2}{
		\begin{tabular}{p{\KLCella}p{\KLCellb}}
	         		\phantom{品名} & \phantom{1}\\ % DO NOT REMOVE
				#3
		\end{tabular}
	    }
    }
    
    \newcommand{\KLBudgetSum}[1]{
    	    \WHBLJ{\KLX}{#1}{\KLW}{\KLsumH}{
		\begin{tabular}{p{\KLCella}p{\KLCellb}}
	         		\phantom{品名} & \phantom{1}\\ % DO NOT REMOVE
	    		& \KLSum\\
		\end{tabular}
	    }
    }
    
   \begingroup
	\setlength{\tabcolsep}{1mm}
	\begin{small}
     
\subsection{消耗品費}
     % 消耗品費 =================================================
	    \setlength{\KLX}{2.6cm}
	    \setlength{\KLW}{4.0cm}
	    \setlength{\KLCella}{22mm}
	    \setlength{\KLCellb}{11mm}
	     
	    \renewcommand{\KLCostCategory}{KLexpendables}
	    \KLResetGrandSum

	    \KLBudgetItems{\KLYi}{\KLHi}{
			%begin 消耗品費の明細（１年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				\消耗品費１年目
			%end 消耗品費の明細（１年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
	    }
	    \KLBudgetSum{\KLYiSum}
	    
	    \KLBudgetItems{\KLYii}{\KLHii}{
			%begin 消耗品費の明細（２年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				\消耗品費２年目
			%end 消耗品費の明細（２年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
	    }
	    \KLBudgetSum{\KLYiiSum}
	    

\subsection{旅費}
     % 旅費 =================================================
	    \setlength{\KLX}{6.33cm}
	    \setlength{\KLCella}{22mm}
	    \setlength{\KLCellb}{11.0mm}

	    \renewcommand{\KLCostCategory}{KLtravel}
	    \KLResetGrandSum

	    \KLBudgetItems{\KLYi}{\KLHi}{
			%begin 国内旅費の明細（１年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				\旅費１年目
			%end 旅費の明細（１年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
	    }
	    \KLBudgetSum{\KLYiSum}
	    
	    \KLBudgetItems{\KLYii}{\KLHii}{
			%begin 旅費の明細（２年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				\旅費２年目
			%end 旅費の明細（２年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
	    }
	    \KLBudgetSum{\KLYiiSum}

\subsection{謝金等}
     % 謝金等 =================================================
	    \setlength{\KLX}{10.1cm}
	    \setlength{\KLW}{4.7cm}
	    \setlength{\KLCella}{29mm}
	    \setlength{\KLCellb}{11.5mm}
	    
	    \renewcommand{\KLCostCategory}{KLgratitude}
	    \KLResetGrandSum

	    \KLBudgetItems{\KLYi}{\KLHi}{
			%begin 謝金等の明細（１年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				\謝金等１年目
			%end 謝金等の明細（１年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
	    }
	    \KLBudgetSum{\KLYiSum}
	    
	    \KLBudgetItems{\KLYii}{\KLHii}{
			%begin 謝金等の明細（２年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				\謝金等２年目
			%end 謝金等の明細（２年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
	    }
	    \KLBudgetSum{\KLYiiSum}

\subsection{その他}
     % その他 =================================================
	    \setlength{\KLX}{14.55cm}
	    \setlength{\KLW}{4.7cm}
	    \setlength{\KLCella}{29mm}
	    \setlength{\KLCellb}{11.5mm}
	    
	    \renewcommand{\KLCostCategory}{KLmisc}
	    \KLResetGrandSum

	    \KLBudgetItems{\KLYi}{\KLHi}{
			%begin その他の明細（１年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				\その他１年目
			%end その他の明細（１年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
	    }
	    \KLBudgetSum{\KLYiSum}
	    
	    \KLBudgetItems{\KLYii}{\KLHii}{
			%begin その他の明細（２年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				\その他２年目
			%end その他の明細（２年目）＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
	    }
	    \KLBudgetSum{\KLYiiSum}

	\end{small}
    \endgroup


     % ----- 下の情報 ------------
    \setlength{\KLBottomInfoY}{26.9cm}
    \setlength{\KLBottomKindX}{4.8cm}
    \setlength{\KLBottomKindW}{30mm}
    \setlength{\KLBottomKikanX}{10.2cm}
    \setlength{\KLBottomKikanW}{34mm}
    \setlength{\KLBottomNameX}{16cm}
    \setlength{\KLBottomNameW}{30mm}
    \KLBottomInfo
     
     %----- 様式 -------------------
     \vspace{\KLGraphicsVspace}
     \hspace{\KLGraphicsHspace}
     
     %---------------------------------
    	\includegraphics{../tokutei_koubo_forms_\KLFormFormat/tokutei_koubo-page9.\KLFormFormat}
\end{minipage}
