/* for table */
#form-tbl {
	margin-left: 1.5em;
}
#form {
	border-collapse: collapse;
	margin: 1em 0;
}
#form th, #form td {
	border: 1px solid #666;
	padding: 8px;
}
#form th {
	white-space: nowrap;
	background: #e8e8e8;
	vertical-align: middle;
}
#form td {
	background: #fff;
}
p.btn input {
	width: 110px;
	height: 50px;
}


.cp_iptxt {
    position: relative;
    width: 80%;
    margin-top: 10px;
    margin-right: 3%;
    margin-left: 3%;
    margin-bottom: 10px;
}
.cp_iptxt input[type='text'] , input[type='email'] , input[type='number'] , input[type='tel'] {
	font: 15px/24px sans-serif;
	box-sizing: border-box;
	width: 100%;
	padding: 0.3em;
	transition: 0.3s;
	letter-spacing: 1px;
	color: #000000;
	border: 1px solid #ABA8B8;
	border-radius: 4px;
}
.ef input[type='text']:focus , input[type='email']:focus , input[type='number']:focus , input[type='tel']:focus {
	border: 1px solid #da3c41;
	outline: none;
	box-shadow: 0 0 5px 1px rgba(218,60,65, .5);
}



.top {
	font-size: 100%;
	text-align: left;
	border-left: solid 4px #ef002d;
	border-bottom: 1px solid gray;
	padding: 4px 6px;
	margin: 1.5em 0;
	width: 500px;
}


/* for message */
p.msg {
	color: #dd0000;
	margin: 2em;
}
span.msg {
	color: #dd0000;
}

/* for back-button */
form.back {
	margin-top: 2em;
}

/* スマホ用 */
@media only screen and (max-width: 480px) {
	
	/* 投稿フォーム */
	#form-tbl { margin: 0 auto; text-align: center; }
	#form { width: 96%; margin: 10px auto; }
    #form th, #form td {
    	text-align: left;
		width: 100%;
        display: block;
        padding: 6px 3px;
        border-top: none;
    }
    #form tr:first-child th	{ border-top: 1px solid #666; }
    p.btn input { width: 10em; }
	
	/* 小見出し */
	h2 { margin: 1em 3px; width: 90%; }
	/* サンクス */
	p.msg { margin: 1em auto; }

.cp_iptxt {
    position: relative;
    width: 80%;
    margin-top: 10px;
    margin-right: 3%;
    margin-left: 3%;
    margin-bottom: 10px;
}
.cp_iptxt input[type='text'] , input[type='email'] , input[type='number'] , input[type='tel'] {
	font: 15px/24px sans-serif;
	box-sizing: border-box;
	width: 100%;
	padding: 0.3em;
	transition: 0.3s;
	letter-spacing: 1px;
	color: #000000;
	border: 1px solid #ABA8B8;
	border-radius: 4px;
}
.ef input[type='text']:focus , input[type='email']:focus , input[type='number']:focus , input[type='tel']:focus {
	border: 1px solid #da3c41;
	outline: none;
	box-shadow: 0 0 5px 1px rgba(218,60,65, .5);
}
}
