\documentclass[xelatex,a4paper,11pt,ja=standard]{bxjsarticle}

\usepackage{preamble}
\usepackage{detailed-title}

\reportauthor{高専太郎}
\reporttitle{テストレポート}
\reportdate{AAAA年}{BB月}{CC日}
\turnindate{AAAA年}{BB月}{DD日}
\schoolname{abc工業高等専門学校}
\department{hogefuga科}
\subject{foobazz}
\professor{高専先生}
\studentid{0000}
\seatingnum{0}

\begin{document}
    \detailedtitle

    \section{Test}

    Hello world program implemented in C is listed in listing \ref{lst1}.

    \begin{lstlisting}[language=C,caption={Code Listing},label={lst1}]
#include <stdio.h>

int main(int argc, char** argv) {
    printf("Hello World!");

    return 0;
}
    \end{lstlisting}
\end{document}

