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


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


/******************************************************************************/
/* wrapper - ページ全体の枠組み */

#wrapper {
	width: auto !important;
}


/******************************************************************************/
/* header - ヘッダの枠組み */

#header {
	background: url(../img/header_bg.png) no-repeat left top;
	background-size: contain;
	width: 100%;
	max-width: 820px;
	height: auto;
	margin: 0px 0px 10px 0px;
	padding: 0px 0px 13.63% 0px;
}

#header a,
#header a:visited,
#header a:hover {
	display: none;
}


/******************************************************************************/
/* maincontent - メインコンテンツの枠組み */

#maincontent {
	width: 100%;
	margin: 0px 0px 20px 0px;
}

#maincontent p,
#maincontent ul {
	margin: 0px 3% 15px 3%;
}


/******************************************************************************/
/* メインコンテンツ - 見出し背景 */

#maincontent h2 {
	background: #006A1B;
	width: auto;
	height: auto;
	line-height: 160%;
	margin: 0px 0px 20px 0px;
	padding: 8px 3% 5px 3%;
}

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

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

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


/******************************************************************************/
/* maincontent .box1 - 囲み枠 */

#maincontent .box1 {
	width: 94%;
	padding: 20px 3% 18px 3%;
	border-top: 1px solid #AAAAAA;
	border-right: 0px none;
	border-bottom: 1px solid #AAAAAA;
	border-left: 0px none;
	border-radius: 0px;
}

#maincontent .box1 p,
#maincontent .box1 ul {
	margin: 0px 3% 0px 3%;
}


/******************************************************************************/
/* maincontent .table_normal - テーブル（汎用） */

#maincontent .table_normal {
	margin: 0px 3% 15px 3%;
}

#maincontent .table_normal td {
	padding-right: 5px;
}


/******************************************************************************/
/* maincontent .table_border - テーブル（枠線あり） */

#maincontent .table_scroll {
	width: 100%;
	margin: 0px auto 15px auto;
	overflow-x: scroll;
}

#maincontent .table_border {
	width: 100%;
	min-width: 640px;
	margin: 0px auto;
}


/******************************************************************************/
/* maincontent .table_form - テーブル（フォーム） */

#maincontent .table_form {
	width: 100%;
}

#maincontent .table_form td {
	padding: 10px 5px;
}

#maincontent .table_form td.h {
	width: 25%;
}

#maincontent .table_form td.d {
	width: auto;
	max-width: 510px;
}

#maincontent .w150 {
	width: 15%;
}

#maincontent .w180 {
	width: 20%;
}

#maincontent .w280 {
	width: 65%;
}

#maincontent .w360 {
	width: 90%;
}


/******************************************************************************/
/* .box_frame - 動画埋め込み枠用 */

#maincontent .box_frame {
	width: 100%;
	height: 0;
	margin: 0px auto 15px auto;
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
}

#maincontent .box_frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#maincontent .box_frame video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/******************************************************************************/
/* jumptop - PAGE TOPボタンの枠組み */

#scrollUp {
    right: 0px;
}


/******************************************************************************/
/* footer - フッタの枠組み */

#footer {
	width: 100%;
	height: auto;
	line-height: 160%;
	padding: 17px 0px 15px 0px;
}


}		/* end of 820px */


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


#maincontent .img-r120 {
	float: none;
	width: 95%;
	margin: 0px auto 15px auto;
	text-align: center;
}

#maincontent .img-r120 img {
	width: 20%;
	max-width: 120px;
	min-width: 80px;
	height: auto;
}

#maincontent .img-r120 br {
	display: none;
}


}		/* end of 540px */


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


/******************************************************************************/
/* .table_form - テーブル（参加申込フォーム） */

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

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

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

#maincontent .table_form td.h,
#maincontent .table_form td.i {
	width: 96%;
	border: 0px none;
}

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


}		/* end of 500px */

