/* CSS Document */
/* margin{上右下左}*/

body{
	position:relative;
	margin: 0;
	height: 0;	/* 横向き時に勝手に文字拡大されるのを防ぐ*/
	font-size:14px;
	font-family:"ＭＳ ゴシック", "MS Gothic", "Osaka－等幅", Osaka-mono, monospace;
	-webkit-text-size-adjust: 100%;
	line-height: 1.3em;
}
h1{
	font-size: 18px;
	letter-spacing: -2px;
	text-align:left;
}
section.contents{
	padding: 10px;
}
div.top_comment{
	margin: 5px 0;
	padding-left: 10px;
	letter-spacing: -1px;
	border-top: double 3px #575757;
	border-bottom: double 3px #575757;
}


input,textarea,select{
	font-size:16px;	/* iOS系で勝手に拡大を防止 */
	width: 80%;
	border: dotted 1px #434242;
}


/* フォーカス時の枠線 */
input:focus, select:focus, textarea:focus {
	background-color: #FFE;
	outline: 3px solid #F96;
}

/* 必須項目 */
span.type{
	padding:3px 14px;
	font-weight:600;
	margin-right:5px;
	border-radius: 5px;        /* CSS3草案 */  
  -webkit-border-radius: 5px;    /* Safari,Google Chrome用 */  
  -moz-border-radius: 5px;   /* Firefox用 */  
}
span.label{
	display:inline-block;
	padding: 5px 20px 0px 0px;
	margin: 0px 0;
	font-weight: 600;
}
span.label:first-letter{
	padding:3px 14px;
	line-height: 2.3em;
}
span.color_a{background-color: #F490AB;}
span.color_b{background-color: #5FA3FF;}
span.color_c{background-color: #B4F5C6;}
span.color_d{background-color: #B4F5C6;}
span.color_e{background-color: #B4F5C6;}
span.color_f{background-color: #B4F5C6;}

/* フォームテーブル*/
#info_form .table {
	display: table;
	width: 760px;
	margin-top: 20px;
	border-spacing: 0px;
	border: 1px solid gray;
	box-sizing:border-box;
	table-layout: fixed;		/* これが無いと横にはみ出る */
}
#info_form .tr {
	display: table-row;
}
#info_form .td {
	display: table-cell;		/* table-cellにはwidth %指定不可 */
	border: 1px solid #BBB;
	padding: 2px;
}

#info_form .tr .td:first-child {
	background-color:#F0F0F0;
	padding-left: 15px;
	width:220px;
	vertical-align: top;
}
#info_form .tr .td:nth-of-type(2) {
	padding-left: 15px;
	vertical-align: middle;
}
#info_form .left {
	text-align:left;
}
#info_form .right {
	text-align: right;
}


input.next_button{
	cursor:pointer;
	width:145px;
	height:50px;
	font-size:100%;
	font-weight:600;
	border-radius: 10px;        /* CSS3草案 */  
  -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
  -moz-border-radius: 10px;   /* Firefox用 */  
}

input.back_button{
	cursor:pointer;
	width:145px;
	height:50px;
	font-weight:400;
	font-size: 90%;
	letter-spacing: -1px;
	border-radius: 10px;        /* CSS3草案 */  
  -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
  -moz-border-radius: 10px;   /* Firefox用 */  
}


a{ text-decoration:none; }

@media (max-width:640px){
	
/* フォーム下地 */
div.contact{
	width: 95%;
}
div.contact form{
	margin: 0 50px;
}

/* 完了時案内枠 */
div.contact_end{
	padding: 50px 20px;
}


/* フォームテーブル */
#info_form .table {
	width: 100%;
}
#info_form .tr {
  display: block;
}
#info_form .td {
  display: block;
	padding: 0;
}
#info_form .td input{
	max-width: 95%;
}
#info_form .tr .td:first-child {
	width: inherit;
}
#info_form .tr .td:nth-of-type(2) {
	padding: 5px 0px 5px 15px;
}

#info_form .right {
	text-align: left;
}

	
}
@media (max-width:320px){
	
/* フォーム下地 */
div.contact{
	width: 100%;
}
div.contact form{
	margin: 0 5px;
}

/* 入力ボックスの大きさ */
textarea {
	width: 100%;
}

/* フォームテーブル */
#info_form .tr .td:nth-of-type(2) {
	padding: 5px;
}

/* 完了時案内枠 */
div.contact_end{
	padding: 20px 5px;
	margin: 20px auto;
}

	
}