@charset "UTF-8";

#contents {
	max-width: 720px;
	text-align:center;
}
#contents table {
	widows: 100%;
	border-collapse:collapse;
	margin:0 auto  30px;
}
#contents table th,
#contents table td {
	font-size:1.6rem;
	line-height: 1.3em;
}
#contents table th {
	box-sizing:border-box;
	width: 15em;
	padding:1em 2em 1em 1em;
	text-align: left;
	position:relative;
	vertical-align:middle;
}
#contents table th .must {
	float:none;
	display: inline-block;
	position: absolute;
	top:50%;
	transform:translateY(-50%);
	right:0;
}
#contents table td {
	box-sizing:border-box;
	padding:1em;
	vertical-align:middle;
}
#contents table td input,
#contents table td textarea {
	width:100% !important;
	max-width:100%;
	font-size:16px;
	padding:0.5em;
	box-sizing: border-box;
}

#main p.thanks {
	text-align: center;
}
#main p.msg {
	text-align: center;
}
#main p.msg span {
	display: inline-block;
	margin:0 0.3em;
	color:#990000;
}
#main p.msg span .svg-inline--fa {
	color:#990000;
	margin-right: 0.2em;
}

div.mfp_buttons button,
div.mfp_buttons button:hover {
	background:#990000;
	color:#ffffff;
	text-shadow:none;
	border:none;
	border-radius:0;
	font-family:'Noto Serif JP', "Times New Roman", Times, "serif","MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	font-size:1.6rem!important;
	line-height:1em;
	padding:0.5em 1em;
}

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

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

#contents table th,
#contents table td {
	font-size:1.4rem;
}

}

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

#contents table th,
#contents table td {
	display:block;
	width:100%;
	padding:1em 0 0;
}
#contents table th .must {
	top:75%;
}
#main p.msg {
	text-align:left;
	display:inline-block;
}
	
}