form{
	/* text-align:center; */
}

.custom_form{
	width:90%;
	margin-left:5%;
	border-collapse:collapse;
}
.custom_form tr{
	/* border-bottom: 1px solid #ccc; */
	height: 70px;
}

.custom_form th{
	text-align:center;
	color:#666;
	/* font-size:90%; */
}
.custom_form th span{
    color:#f6a;
    font-weight:normal;
}
.custom_form td{
    text-align:left;
    padding: 5px;
}
.custom_form input[type="text"],.custom_form textarea{
   width:100%;
   height: 39px;
   border: 2.3px solid #d8d8d8;
   border-radius: 6px;
   padding: 0 4px;
}
.custom_form textarea{
    height:100px;
}
input[type="submit"]{
	font-size:130%;
	padding:3px 12px;
	margin-top:20px;
}

@media(max-width:500px){
	.custom_form th,.custom_form td{
		display:block;
		width:100%;
	}
}
.custom_form_box {
	width: 280px;
	height: 280px;
	padding:5px;
	overflow: hidden;
	float: left;
	margin: 10px 25px 30px;
	background-color: #f7f7f7;
	box-sizing:border-box;
}
.osusume_bg{
	background-color: #ffe7f1;
	border:1px solid #ffb8d6;
}
media(max-width:680px){
	.custom_form th{
		width:auto;	
	}
}

.custom_form_title {
	text-align: center;
	font-size: 90%;
	margin: 0;
}

.custom_form_img {
	text-align: center;
	margin: 0;
}
.custom_form_setsumei {
	text-align: left;
	margin: 5px 5px 5px 10px;
	font-size: 82%;
	line-height: 140%;
}
.custom_form_setsumei span{
	color:#f6a;
	font-weight:bold;
}
.mada{
	background:#fda;
	padding:12px 20px;
	border-radius:10px;
	text-align:center;
}
.buttonsbox{
	text-align:center;
}
.buttonsbox input{
	padding:8px 16px;
	margin:20px 0 30px
}
.alert{
	font-size:90%;
	color:#f6a;
	margin:3px 0;
}

@media only screen and (max-width: 680px) {
	.custom_form td, .custom_form th{
		display:block;
	}
	.custom_form th{
	    padding-top:20px
	}
	.custom_form_box{
		float: none;
		width:90%;
		margin: 20px auto;
		height:auto;
	}
}
