/* ===========================================
	BBS form css
=========================================== */

/*	layout
============================== */
html, body {
	background-color:#ededed;
	background:#ba490d url(../img/bg_top.jpg) top repeat-x;
}
body {
	font-family:Verdana,Roboto,"Droid Sans","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
	-webkit-text-size-adjust:100%;
	-ms-text-size-adjust: 100%;
	text-align:center;
	color:#4e4e4e;
}
div.wrap {
	text-align:left;
}
@media all and (min-width: 768px)  {
	body {
		min-width:768px;
	}
	div.wrap {
		width:748px;
		padding:25px 0;
		margin:0 auto;
	}
}
@media all and (max-width: 767px)  {
	div.wrap {
		padding:10px;
	}
}


.hissu {
	color:#c00;
}



/*	header / main
============================== */

header {
	margin-bottom:6px;
}
header h1 {
	text-indent:110%;
	white-space:nowrap;
	overflow:hidden;
	background-image:url(../img/form_logo.png);
	background-repeat:no-repeat;
	background-position:center center;
	height:100px;
}
main {
	background-color:#fff;
	-webkit-box-shadow: rgba(0,0,0,0.1) 0px 0px 5px 0px;
	-moz-box-shadow: rgba(0,0,0,0.1) 0px 0px 5px 0px;
	-ms-box-shadow: rgba(0,0,0,0.1) 0px 0px 5px 0px;
	-o-box-shadow: rgba(0,0,0,0.1) 0px 0px 5px 0px;
	box-shadow: rgba(0,0,0,0.1) 0px 0px 5px 0px;
	border-radius:10px;
	margin-bottom:15px;
}
p.p-notice {
	font-size:83%;
	line-height:1.25;
	margin-bottom:1em;
}
@media all and (min-width: 768px)  {
	header h1 {
	}
	main {
		padding:20px;
	}
}
@media all and (max-width: 767px)  {
	header h1 {
	}
	main {
		padding:15px;
	}
}


/*	table
============================== */

main table {
	width:100%;
	margin-bottom:20px;
}
main table, main table th, main table td, main form input, main form textarea {
	box-sizing:border-box;
}
main table th, main table td {
	font-size:87.5%;
	line-height:1.5;
}
main table td span {
	font-size:12px !important;
}
main table th {
	background-color:#f1dbbf;
}
main form input, main form textarea {
	margin:0 0 5px;
	padding:3px;
	border:#d2bc9f 1px solid;
	font-size:100%;
	line-height:1.5;
}
main form textarea {
	line-height:1.5;
	resize:none;
}
main form input[name="title"], main form textarea {
	width:100%;
}
main form input[name="age"] {
	width:7em;
}
@media all and (min-width: 768px)  {
	main table {
		border-top:#d2bc9f 1px solid;
		border-left:#d2bc9f 1px solid;
	}
	main table th, main table td {
		border-right:#d2bc9f 1px solid;
		border-bottom:#d2bc9f 1px solid;
		padding:12px;
	}
	main table th {
		width:30%;
		text-align:right;
		border-bottom:#d2bc9f 1px solid;
	}
	main table tr:nth-child(even) th {
		background-color:#f4e8d8;
	}
	main form input[name="handle"] {
		width:18em;
	}
	main form textarea {
		height:15em;
	}
}
@media all and (max-width: 767px)  {
	main table th, main table td {
		display:block;
		width:100%;
		border-radius:6px;
	}
	main table th {
		display:block;
		width:100%;
		border-radius:6px;
		font-size:83%;
		height:24px;
		line-height:24px;
		padding-left:15px;
		margin-bottom:6px;
	}
	main table td {
		margin-bottom:15px;
	}
	main form input, main form textarea {
		font-size:16px !important;
	}
	main form input[name="handle"] {
		width:12em;
	}
	main form textarea {
		height:9em;
	}
}


/*	button
============================== */

div.btns button {
	color:#fff;
	font-weight:bold;
	-webkit-appearance: none;
	background-color:#903a31;
	background-image:url(../img/form_btn.svg);
	background-repeat:no-repeat;
	border:none;
	font-size:87.5%;
	box-sizing:border-box;
	margin:0;
	cursor:pointer;
	-webkit-box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
	-moz-box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
	-ms-box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
	-o-box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
	box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
}
@media all and (min-width: 768px)  {
	div.btns {
		text-align:center;
	}
	div.btns button {
		height:42px;
		line-height:42px;
	background-position:left top;
		border-radius:21px;
		padding:0 24px 0 42px;
	}
	div.btns button.btn-submit {
		margin-right:30px;
	}
}
@media all and (max-width: 767px)  {
	div.btns button {
		height:32px;
		line-height:32px;
		border-radius:16px;
		padding:0 18px 0 32px;
		background-position:0 -60px;
	}
	div.btns button.btn-submit {
		float:left;
		margin-left:10%;
	}
	div.btns button.btn-reset {
		float:right;
		margin-right:10%;
	}
}


/*	close
============================== */
p.btn-close {
	box-sizing:border-box;
	border:2px solid #fff;
	-webkit-box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
	-moz-box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
	-ms-box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
	-o-box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
	box-shadow: rgba(0,0,0,0.2) 0px 0px 4px 0px;
	margin:0 auto;
}
p.btn-close a {
	display:block;
	background-image:url(../img/form_btn.svg);
	background-repeat:no-repeat;
	background-color:#6b160d;
}
@media all and (min-width: 768px)  {
	p.btn-close {
		width:42px;
		border-radius:21px;
	}
	p.btn-close a {
		background-position:0 -110px;
		width:38px;
		height:38px;
		border-radius:19px;
	}
}
@media all and (max-width: 767px)  {
	p.btn-close {
		width:28px;
		border-radius:14px;
	}
	p.btn-close a {
		background-position:0 -160px;
		width:24px;
		height:24px;
		border-radius:12px;
	}
}


/* $B3NG'(B */
main p.p-confirm {
	text-align:center;
	font-size:83%;
	line-height:1.5;
	margin-bottom:1em;
}
main article.confirm {
	border:1px solid #d2bc9f;
	margin-bottom:15px;
}
main article.confirm h2 {
	background-color:#f4e8d8;
	line-height:1.5;
	font-size:87.5%;
}
main article.confirm p.msg {
	font-size:83%;
	line-height:1.6;
}
main article.confirm footer p {
	font-size:83%;
	line-height:1.25;
}
main article.confirm footer p span.col-from {
	color:#c3957c;
}
main article.confirm footer p b {
	color:#c3957c;
}
@media all and (min-width: 768px)  {
	main article.confirm h2 {
		padding:6px 15px;
	}
	main article.confirm p.msg {
		padding:15px;
	}
	main article.confirm footer p {
		text-align:right;
		padding:0 15px 15px;
	}
}
@media all and (max-width: 767px)  {
	main article.confirm h2 {
		padding:6px 12px;
	}
	main article.confirm p.msg {
		padding:12px;
	}
	main article.confirm footer p {
		padding:0 12px 12px;
	}
}


/* $B40N;!u%7%9%F%`%(%i!<(B */
main.system p {
	font-size:83%;
	line-height:1.5;
	text-align:center;
	margin:64px 0;
}
main.end p {
	font-size:83%;
	line-height:1.5;
}
