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

/******************************************************************************/
/* スマホ版スタイルシート - last update: 25.07.05 */


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

#wrapper {
	width: 100%;
}


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

#header {
	width: 100%;
	max-width: 820px;
	height: auto;
	padding: 0px 0px 12.4% 0px;
	background-size: contain;
}

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


/******************************************************************************/
/* maincontent - メインコンテンツ枠 */

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

#maincontent h2 {
	width: 97%;
	background: #0096dd;
	height: auto;
	line-height: 160%;
	padding: 8px 0px 5px 3%;
	margin: 0px 0px 15px 0px;
}

#maincontent h5 {
	margin: 0px 30px 15px 30px;
}

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


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

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


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

#maincontent .table_form {
	width: 95%;
	margin: 0px auto 15px auto;
}

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

#maincontent .table_form td.d {
	width: 78%;
}

#maincontent .w150 {
	width: 15%;
}

#maincontent .w180 {
	width: 20%;
}

#maincontent .w280 {
	width: 65%;
}

#maincontent .w360 {
	width: 90%;
}


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

#maincontent .box1 {
	width: 85%;
	margin: 0px auto 15px auto;
}

#maincontent .box1 {
	padding: 20px 5%;
}

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


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

#maincontent .box_frame {
	width: 100%;
	margin: 0px auto 15px auto;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	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%;
	background: #0096dd;
	height: auto;
	line-height: 160%;
	padding: 8px 0px 5px 0px;
}


}




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

.ml2e {
	margin-left: 0em;
}

}		/* 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.p70,
#maincontent .table_form td.h {
	width: 96%;
	border: 0px none;
}

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


}		/* end of 500px */

