@charset "utf-8";

/*------------------------------------------------------------------
	contact.css
------------------------------------------------------------------*/
@media screen and (min-width: 641px){

#qa_blk{
	background: url(../common/img/conts_bg.png);
	padding-top: 30px;
	padding-bottom: 30px;
	text-align:center;
}

#qa_blk section{width: 1000px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 0px;
	padding-bottom: 0px;}

}

@media screen and (max-width: 640px){


#qa_blk{
	background: url(../common/img/conts_bg.png);
	padding-top: 30px;
	padding-bottom: 20px;
	text-align:center;
}


#qa_blk section{width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-top: 0px;
	padding-bottom: 0px;}

}

.redtxt{ color:#C00;}
/* フォーム名前要素
----------------------------------------------------------- */
#mailformpro{width:100%;
}
@media screen and (min-width: 641px) {
.formttl {
	float: left;
	width: 30%;
	padding: 15px 0 5px 10px;
	border-bottom: 1px dotted #CCC;
	height: 40px;
	text-align: center;
	line-height:30px;
}
.formttl2 {
	float: left;
	width: 30%;
	padding: 10px 0 30px 10px;
	border-bottom: 1px dotted #CCC;
	height: 120px;
	text-align: center;
	line-height:23px;
}
.formttl3 {
	float: left;
    width: 30%;
    padding: 28px 0 12px 10px;
    border-bottom: 1px dotted #CCC;
    height: 90px;
    text-align: center;
    line-height: 23px;
}	

}


@media screen and (max-width: 640px) {
	
.formttl,.formttl2,.formttl3 {
    float: none;
    width: 100%;
    overflow: hidden;
    margin: 0px auto;
	text-align:center;
	height: auto;
	line-height:23px;
	padding:5px 0;
	 border-bottom: 1px dotted #CCC;
  }

}
/* end */ 

/* フォーム入力要素
----------------------------------------------------------- */
@media screen and (min-width: 641px) {
.formmain {
	float: right;
	width: 65%;
	padding: 15px 0 5px 10px;
	border-bottom: 1px dotted #CCC;
	text-align: left;
	height: 40px;
}
.formmain2 {
  float: right;
  width: 65%;
  padding: 15px 0 25px 10px;
  border-bottom: 1px dotted #CCC;
   height:120px;
   text-align:left;
}
.formmain3 {
    float: right;
    width: 65%;
    padding: 15px 0 45px 10px;
    border-bottom: 1px dotted #CCC;
    height: 70px;
    text-align: left;
    line-height: 25px;
}	

	
}

/* end */ 

.kakuninbox div {
    margin: 20px auto 0;
}

@media screen and (max-width: 640px) {
.formmain,.formmain2 {
	float: none;
	width: 100%;
	overflow: hidden;
	margin: 0px auto;
	text-align: center;
	height: auto;
	margin-bottom: 20px;
	 border-bottom: 1px dotted #CCC;
	 padding: 5px 0 5px 0px;
  }
.formmain3 {
 float: none;
    width: 100%;
    overflow: hidden;
    margin: 0px auto;
    height: auto;
    margin-bottom: 20px;
    border-bottom: 1px dotted #CCC;
    padding: 5px 0 5px 20px;
    text-align: left;
    box-sizing: border-box;
	line-height: 1.5;
}		
  form#mailformpro .formmain input,form#mailformpro .formmain textarea,
  form#mailformpro .formmain2 input,form#mailformpro .formmain2 textarea {
	padding: 5px;
	font-size: 16px;
	vertical-align: middle;
	width:80%;
	margin-bottom: 3px;  
	
}
	.formmain input.input_sex{
	padding: 5px;
	font-size: 16px;
	vertical-align: middle;
	width:5%!important;
	
}	
form#mailformpro select {
	vertical-align: middle;
	font-size: 16px;
}
.input_sex{
		    padding: 5px;
    font-size: 16px;
    vertical-align: middle;
    width: 6%;
	}	
	
	
}
/* end */ 
