h2 {
	margin: 0 auto 20px;
	text-align: center;
	font-size: 1.6em;
}
h2 br {
	display: none;
}
button {
	position: relative;
	background: #efefef;
	background: linear-gradient(#fff, #efefef);
	min-width: 160px;
	border: 1px solid #aaa;
	margin: 20px;
	padding: 10px 10px 10px;
	white-space: nowrap;
	font-size: 0.95em;
	color: #333;
	font-weight: bold;
	cursor: pointer;
}
button:hover {
	background: #fff;
	background: linear-gradient(#efefef, #fff);
	color: #06f;
}
.pagetop {
	display: none;
	position: fixed;
	bottom: 0;
	right: 0;
	font-size: 11px;
	line-height: 1;
}
.pagetop a {
	display: block;
	background: rgba(0,0,0,.5);
	color: #fff;
	width: 50px;
	height: 50px;
	padding-top: 22px;
	text-align: center;
	text-decoration: none;
	position: relative;
}
.pagetop a::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 12px auto 0;
	width: 10px;
	height: 10px;
	border: 3px solid;
	border-color: #fff #fff transparent transparent;
	transform: rotate(-45deg);
}
.pagetop a:hover {
	background: rgba(0,0,0,.8);
	text-decoration: none;
}

/* 誓約書 ------------------------*/
.vow .topinfo {
	border: 1px solid #f00;
	max-width: 650px;
	width: 95%;
	margin: 20px auto 10px;
	padding: 6px;
	text-align: center;
	font-size: 1em;
	color: #f00;
	font-weight: bold;
}
.vow .topinfo br {
	display: none;
}
.vow .atte-ttl {
	text-align: center;
}
.vow .corona,
.vow .privacy,
.vow .etc {
	max-width: 650px;
	width: 95%;
	margin: 10px auto;
	padding: 6px;
	font-size: 0.95em;
	line-height: 1.4;
}
.vow .attention {
	border: 1px solid #666;
	max-width: 650px;
	width: 95%;
	margin: 10px auto;
	padding: 10px;
	font-size: 0.95em;
	line-height: 1.4;
}
.vow .corona *+ul,
.vow .privacy *+p,
.vow .privacy *+ul,
.vow .etc *+ul {
	margin-top: 5px;
}
.vow .corona li+li,
.vow .privacy li+li,
.vow .etc li+li {
	margin-top: 10px;
}
.vow .corona .corona-ttl,
.vow .privacy .privacy-ttl,
.vow .etc .etc-ttl {
	font-weight: bold;
}

.vow .box {
	border: 3px solid #ccc;
	max-width: 650px;
	width: 95%;
	margin: 10px auto 20px;
	padding: 4px;
}
.vow .box h3 {
	background: #800000;
	margin-bottom: 2px;
	padding: 5px;
	text-align: center;
	font-size: 1.2em;
	color: #fff;
	font-weight: bold;
	letter-spacing: 1em;
	text-indent: 1em;
}
.vow .box .com {
	background: #ff9f71;
	margin: 0 0 2px;
	padding: 4px;
	text-align: center;
}
.vow .box .name {
	margin: 10px auto;
	text-align: center;
	font-size: 1.6em;
	font-weight: bold;
	text-decoration: underline;
}
.vow .box .note {
	width: 94%;
	margin: 20px auto;
	font-size: 0.95em;
}
.vow .box .note li+li {
	margin-top: 10px;
}
.vow button::before {
	position: absolute;
	top: -9px;
	right: -9px;
	bottom: -9px;
	left: -9px;
	content: "";
	border-width: 3px;
	border-style: solid;
	border-color: #ccc #aaa #aaa #ccc;
}
.vow .agree {
	text-align: center;
}
.vow .select button {
	width: calc(100% - 40px);	/* ボタンタグ両サイドマージン分を差し引く */
}
.vow .select button br {
	display: none;
}
.vow .num-select {
	display: flex;
	flex-wrap: wrap;
}
.vow .num-select button {
	width: calc(50% - 40px);	/* ボタンタグ両サイドマージン分を差し引く */
}

/* 申込フォーム ------------------------*/
.apply .entry-num {
	display: flex;
	align-items: center;
	border-left: 6px solid red;
	height: 34px;
	margin: 0 auto 20px;
	padding-left: 10px;
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1;
}
.apply .topcom {
	max-width: 950px;
	width: 95%;
	margin: 0 auto 30px;
	font-size: 0.9em;
}
.apply .topcom *+ul {
	margin-top: 10px;
}
.apply .topcom ul li+li {
	margin-top: 5px;
}
.apply table {
	max-width: 950px;
	width: 95%;
	margin: auto;
}
.apply table th,
.apply table td {
	padding: 6px;
	text-align: left;
}
.apply table thead th {
	background: #9de4ff;
	font-weight: bold;
}
.apply table tbody th {
	position: relative;
	background: #e1f7ff;
	width: 180px;
	padding-left: 35px;
	white-space: nowrap;
}
.apply table tbody th::before {
	position: absolute;
	left: 0;
	content: "";
}
.apply table.num1 tbody th::before {
	content: "（１）";
}
.apply table.num2 tbody th::before {
	content: "（２）";
}
.apply table.num3 tbody th::before {
	content: "（３）";
}
.apply table.num4 tbody th::before {
	content: "（４）";
}
.apply table tbody td {
	width: calc(100% - 180px);
}

.apply table .small {
	margin-left: 6px;
	display: inline-block;
	font-size: 0.9em;
}
#mailformpro input[type="text"],
#mailformpro input[type="tel"],
#mailformpro input[type="url"],
#mailformpro input[type="email"],
#mailformpro input[type="date"],
#mailformpro input[type="number"],
#mailformpro select,
#mailformpro textarea {
	boder: 1px solid #bbb;
	border-radius: 0;
	box-shadow: none;
	padding: 5px;
	outline: none;
}
#mailformpro textarea {
	max-width: 98%;
	width: 98%;
}
#mailformpro label {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}
#mailformpro input[type="email"] {
	width: 280px;
}
div.mfp_err {
	background: none;
	padding-left: 5px;
}
.mfp_buttons {
	width: 100%;
	margin: 0 auto;
}
.mfp_buttons button {
	width: 160px;
	background: #efefef;
	background: -webkit-linear-gradient(#fff, #efefef);
	background: linear-gradient(#fff, #efefef);
	border: 1px solid #aaa;
	padding: 10px 10px 10px;
	white-space: nowrap;
	font-size: 0.95em;
	color: #333;
	border-radius: 0;
}
.mfp_buttons button:hover {
	background: #fff;
	background: -webkit-linear-gradient(#efefef, #fff);
	background: linear-gradient(#efefef, #fff);
	color: #06f;
	box-shadow: none;
}
.poricy {
	max-width: 950px;
	width: 95%;
	margin: 15px auto;
	border: 1px solid #acacac;
	padding: 10px;
	font-size: 0.9em;
}
.poricy .ttl {
	font-weight: bold;
}

/* サンクスページ ------------------------*/
.thanks {
	border: 1px solid #ccc;
	max-width: 650px;
	width: 95%;
	margin: 10px auto 20px;
	padding: 10px;
}

/* tablet
----------------------------------------------------*/
@media screen and (max-width:800px) {
	h2 {
		font-size: 1.4em;
	}
	h2 br {
		display: block;
	}
	/* 誓約書 ---------------*/
	.vow .topinfo {
		font-size: 0.95em;
	}
	.vow .topinfo br {
		display: block;
	}
	.vow .box h3 {
		font-size: 1.1em;
	}
	.vow .box .com {
		font-size: 0.95em;
	}
	.vow .box .name {
		font-size: 1.3em;
	}
	.vow .box .note {
		font-size: 0.9em;
	}
	.vow button {
		min-width: 130px;
	}

	/* 申込フォーム ------------------------*/
	.mfp_buttons button {
		width: 140px;
	}

}
@media screen and (max-width:650px) {
	/* 申込フォーム ------------------------*/
	.apply table {
		border: 0;
	}
	.apply table thead th {
		border: 0;
	}
	.apply table tbody tr {
		display: block;
	}
	.apply table tbody tr+tr {
		margin-top: 15px;
	}
	.apply table tbody th,
	.apply table tbody td {
		display: block;
		border: 0;
		width: 100%;
	}
	.apply table tbody th br {
		display: none;
	}
	.apply table tbody td p {
		display: block !important;
		margin-top: 2px;
	}
	.apply table tbody td p+br {
		display: none;
	}


}

/* smartphone
----------------------------------------------------*/
@media screen and (max-width:500px) {
	h2 {
		font-size: 1.25em;
	}
	/* 誓約書 ---------------*/
	.vow .topinfo {
		font-size: 0.9em;
	}
	.vow .box h3 {
		font-size: 1em;
	}
	.vow .box .com {
		font-size: 0.9em;
	}
	.vow .box .name {
		font-size: 1.15em;
	}
	.vow button {
		min-width: 110px;
	}
	.vow .select button br {
		display: block;
	}

	/* 申込フォーム ------------------------*/
	.mfp_buttons button {
		min-width: 90px;
	}

}

