/******************************************************************************/
/* スマートフォン用スタイルシート - last update: 24.09.24 */


/******************************************************************************/
/* 500px 以下の場合 */

@media screen and (max-width: 500px) {


/******************************************************************************/
/* ヘッダー（コンテンツページ） */

#header.small a img {
	width: 120px;
}


/******************************************************************************/
/* トップページ区画 */

.section {
	display: inline;
	min-height: 100vh;
	align-items: normal;
	justify-content: normal;
	text-align: left;
}

.content {
	position: relative;
	width: 100%;
	height: auto;
	padding: 140px 0px 0px 0px;
}


/******************************************************************************/
/* トップページ セクション1 */

#section1 .content {
	top: auto;
	right: auto;
	left: auto;
	width: 96%;
	height: auto;
	margin: 0px 2% 0px 2%;
	padding: 140px 0px 80px 0px;
	border-bottom: 1px dotted #FFFFFF;
}

#section1 h2 {
	margin: 0px 0px 20px 0px;
}

#section1 p {
	margin: 0px 2% 80px 2%;
}


/******************************************************************************/
/* トップページ セクション2 */

#section2 .content {
	top: auto;
	left: auto;
	width: 96%;
	height: auto;
	margin: 0px 2% 0px 2%;
	padding: 60px 0px 80px 0px;
	border-bottom: 1px dotted #FFFFFF;
}

#section2 h3 {
	margin: 0px 0px 20px 0px;
}

#section2 p {
	margin: 0px 2% 15px 2%;
}

#section2 div.nextbutton {
	margin-top: 80px;
}


/******************************************************************************/
/* トップページ セクション3 */

#section3 .content {
	top: auto;
	right: auto;
	left: auto;
	width: 96%;
	height: auto;
	margin: 0px 2% 0px 2%;
	padding: 60px 0px 80px 0px;
	border-bottom: 1px dotted #FFFFFF;
}

#section3 h3 {
	margin: 0px 0px 20px 0px;
}

#section3 p {
	margin: 0px 2% 15px 2%;
}

#section3 div.nextbutton {
	margin-top: 80px;
}


/******************************************************************************/
/* トップページ セクション4 */

#section4 .content {
	top: auto;
	left: auto;
	width: 96%;
	height: auto;
	margin: 0px 2% 0px 2%;
	padding: 60px 0px 80px 0px;
	border-bottom: 1px dotted #FFFFFF;
}

#section4 h3 {
	margin: 0px 0px 20px 0px;
	text-align: left;
}

#section4 ul {
	width: 100%;
	height: auto;
	margin: 0px 0px 0px 0px;
	overflow-y: visible;
}

#section4 li {
	margin: 0px 0px 0px 0px;
	padding: 0.75em 0px 0.5em 0px;
	text-indent: 0px;
}

#section4 li span.ymd {
	display: block;
}

#section4 div.whatsnew {
	width: 94%;
	margin: 0px auto 20px auto;
	padding: 3% 3% 3% 3%;
	border-radius: 10px;
}

#section4 div.nextbutton {
	margin-top: 60px;
}


/******************************************************************************/
/* トップページ セクション5 */

#section5 .content {
	top: auto;
	right: auto;
	left: auto;
	width: 96%;
	height: auto;
	margin: 0px 2% 0px 2%;
	padding: 80px 0px 80px 0px;
}

#section5 .panel {
	padding: 0px 0px 0px 0px;
}

#section5 ul li a {
	width: 100%;
	border-radius: 0px;
}

#section5 div.nextbutton {
	margin: 80px 0px 0px 0px;
}


/******************************************************************************/
/* コンテンツページ */

#maincontent h2 {
	margin: 0px 2% 0.5em 2%;
}

#maincontent h3 {
	margin: 0px 3% 1em 3%;
}

#maincontent h4 {
	margin: 0px 3% 0.5em 3%;
}

#maincontent h5 {
	margin: 0px 4% 0px 4%;
}

#maincontent p,
#maincontent ul {
	margin: 0px 4% 1em 4%;
}

#maincontent .ml2e {
	margin-left: 0;
}


/******************************************************************************/
/* テーブル（枠線あり） */

#maincontent .table_border {
	width: 100%;
	margin: 0px 0% 1em 0%;
	border-top: 1px solid #AAAAAA;
}

#maincontent .table_border td {
	display: inline-block;
	padding: 10px 2%;
}

#maincontent .table_border td.h2 {
	width: 96%;
	border: 0px none;
}

#maincontent .table_border td.h3 {
	width: 96%;
	border: 0px none;
}

#maincontent .table_border td.h {
	width: 96%;
	border: 0px none;
	text-align: left;
}

#maincontent .table_border td.d {
	width: 96%;
	border-top: 0px none;
	border-right: 0px none;
	border-bottom: 1px solid #AAAAAA;
	border-left: 0px none;
}


/******************************************************************************/
/* 画像表示（3枚） */

#maincontent p.img-mod3 img {
	max-width: 100%;
	margin: 10px 0px 10px 0px;
}


/******************************************************************************/
/* 区切り線 */

#maincontent .hr {
	margin: 0px 4% 2em 4%;
	padding: 0.5em 0px 0px 0px;
}


/******************************************************************************/
/* 業務内容ページ */

#maincontent h4.works,
#maincontent h4.works3 {
	display: flex;
	float: none;
	width: auto;
	max-width: 60px;
	height: auto;
	margin: 0px 4% 0.5em 4%;
	padding: 0.5em 2em;
}


/******************************************************************************/
/* お知らせページ */

.news li {
	padding: 0px 0px 0.5em 0px;
	text-indent: 0px;
}

.news li span.ymd {
	display: block;
}


/******************************************************************************/
/* 汎用ボタン */

.nextbutton a {
	padding: 8px 12px 4px 12px;
}


/******************************************************************************/
/* スクロールボタン */

#scroll-button {
	display: none;
}


/******************************************************************************/
/* PAGE TOP ボタン */

#scrollUp {
	width: 60px;
	height: 60px;
	bottom: 6%;
	right: 1%;
}


/******************************************************************************/
/* フッター */

footer {
	position: relative;
	bottom: auto;
	left: auto;
	width: 96%;
	padding: 20px 2%;
}

footer.toppage {
	position: relative;
	bottom: auto;
	left: auto;
}


/******************************************************************************/
/* 500px 以下の場合ここまで */


}

