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


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


/******************************************************************************/
/* ホームページ全体 */

* {
	font-size: 14px;
}


/******************************************************************************/
/* 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 15px 0px;
	padding: 0px 0px 10.87% 0px;
}

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


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

#maincontent h2 {
	width: auto;
	height: auto;
	margin: 0px 2% 15px 2%;
	padding: 5px 0px 0px 20px;
}

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

#maincontent h4 {
	margin: 0px 4% 5px 4%;
}

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


/******************************************************************************/
/* maincontent - メインコンテンツ - 区切り線 */

#maincontent .hr {
	width: 96%;
}


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

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

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


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

#maincontent .table_form {
	width: 96%;
}

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

#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%;
}


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

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


}		/* end of 820px */




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


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

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

#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 {
	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 #CDAA87;
}


}		/* end of 500px */

