html {
	font-size: 62.5%;
}

body {
	font-size: 1.4rem;
	letter-spacing:1.6px;
	background-color: #f9f9f9;	
}

* {
	font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,osaka,'ＭＳ Ｐゴシック',sans-serif;
	box-sizing: border-box;
}

/* Header
----------------------------------------------- */
#head-body {
	width: 860px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding-top: 20px;
}
#head-body h1 {
	font: bold 4rem "游明朝","YuMincho","ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","HGS明朝E","ＭＳ Ｐ明朝",serif;
	color: #059;
	letter-spacing: 2px;
}
#head-body h2 {
	font: 2.2rem "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,osaka,'ＭＳ Ｐゴシック',sans-serif;
}
#head-body p {
	font-size: 1.6rem;
	line-height: 2;
	margin-top: 25px;
}

@media screen and (max-width: 768px) {
	body {
		padding: 0 10px;	
	}
#head-body {
	width: 100%;
	padding: 0;
}
#head-body h1 {
	font: bold 3rem "游明朝","YuMincho","ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","HGS明朝E","ＭＳ Ｐ明朝",serif;
}
#head-body h2 {
	font: 1.7rem "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,osaka,'ＭＳ Ｐゴシック',sans-serif;
}
#head-body p {
	font-size: 1.4rem;
	line-height: 1.7;
	text-align:left;
	margin-top: 25px;
}
#head-body p br {
	display:none;
}

}

/* Main Body
----------------------------------------------- */
.main-body {
	width: 860px;
	margin: 20px auto;
}

table {
	width: 100%;
	border:none;
	border-collapse: collapse;
}
th {
	font-size: 1.5rem;
	text-align:right;
	vertical-align:top;
	width:220px;
	padding: 20px 40px 20px 0;
	border:none;
	border-bottom:1px solid #ccc;	
}
td {
	padding: 20px 0;
	border:none;
	border-bottom:1px solid #ccc;	
}

.required:after{
	content: "必須";
	color: #FFFFFF;
	font-size: 1.2rem;
	background-color: #FF0000;
	border-radius: 2px;
	padding: 1px 10px;
	display: inline-block;
	text-align: center;
	margin-left: 10px;
}
.any:after{
	content: "任意";
	color: #FFFFFF;
	font-size: 1.2rem;
	background-color: #999;
	border-radius: 2px;
	padding: 1px 10px;
	display: inline-block;
	text-align: center;
	margin-left: 10px;

}

.main-body input[type="text"],
.main-body textarea{
	font-size: 1.5rem;
	width: 400px;
	border: 1px solid #C8C8C8;
	padding: 4px;
}
.main-body textarea{
	width: 600px;	
}

input[type="submit"].form-btn-submit,
input[type="submit"].form-btn-back {
	font-size: 1.8rem;
	color:#fff;
	width: 240px;
	padding: 15px;
	margin: 10px;
	background: #0066CC;
	border:none;
	box-shadow:0 5px 0 0 #0047B5;
	cursor:pointer;
}
input[type="submit"].form-btn-back {
	background:#65625a;
	box-shadow:0 5px 0 0 #4A4843;
}

input[type="submit"] {
	outline:none;	
}
input[type="submit"]:hover {
	background: #0074E9;
}
input[type="submit"].form-btn-back:hover {
	background:#787878;
}

.btn-cont {
	margin-top: 40px;
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
}
.error em {
	color: #CC0000;	
}

@media screen and (max-width: 768px) {
.main-body {
	width: 100%;
}
table {
	border-top:1px solid #ccc;
}
th, td {
	text-align:left;
	width: 100%;
	border:1px solid #ccc;
	padding: 15px 10px;
	display:block;	
}
th {
	border-top:none;	
	border-bottom:none;	
}
td {
	background:#fff;	
}
.main-body input[type="text"],
.main-body textarea{
	width: 100%;
}
.btn-cont {
	flex-direction:column-reverse;
}
	
	
}

/* footer
----------------------------------------------- */
#foot-body {
	text-align:center;
	width: 860px;
	margin: 50px auto;
	padding: 10px 10px 20px;
	border:3px double #D7D7D7;
	background:#fff;
}

#foot-body p {
	color: #333333;
}

@media screen and (max-width: 768px) {
	
#foot-body {
	width: 100%;
}
#foot-body p {
	text-align:left;	
}
}


/* complete
----------------------------------------------- */
.complete-cont {
	margin-top: 40px;
}
.complete-cont p {
	font-size: 1.6rem;
	line-height: 2;
	text-align:center;
	margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
.complete-cont p {
	line-height: 1.7;
	text-align:left;
}
}







