@charset "UTF-8";

@media all and (min-width: 0) and (max-width: 767px) {
	#main {
		margin: 0;
		width: auto;
	}
	#agreementarea .chk {
	    margin: 0 14px;
	}
}

span.wpcf7-form-control-wrap {
    display:inline;
}

.wpcf7-not-valid-tip {
    display: inline;
    position: static;
}

.wpcf7c-btn-confirm {
    border: 0px;
    width: 316px;
    height: 41px;
    background: url("http://biz-s.jp/present/images/button_confirm.png") left top no-repeat;
}

.wpcf7-submit {
	border: 0px;
    width: 316px;
    height: 41px;
    background: url(http://biz-s.jp/present/images/button_entry.png) left top no-repeat;
    text-indent: -9999px;
}

.wpcf7c-btn-back {
	border: 0px;
    width: 316px;
    height: 41px;
    background: url(http://biz-s.jp/present/images/button_back.png) left top no-repeat;
    text-indent: -9999px;
}

.customSelectbirth {
	background: url("../img/form/form_arrow_02.png") 95% 50% no-repeat #f5f2e7;
	padding: 0px 15px;
	/*
	-webkit-appearance: menulist-button;
	*/
	-webkit-appearance: none;
    width: 210px;
    height: 39px;
    font-size: 14px;
}

.customSelectpref {
	background: url("../img/form/form_arrow_02.png") 95% 50% no-repeat #f5f2e7;
	padding: 0px 15px;
	/*
	-webkit-appearance: menulist-button;
	*/
	-webkit-appearance: none;
    width: 210px;
    height: 39px;
    font-size: 14px;
}

table.formtable{
  color: #000000;
  font-size: 14px;
}

.formtable tr {
  border-top: 1px dotted #dbdbdb;
}
.formtable tr:first-child {
  border-top: 0;
}

.formtable th{
  padding: 20px 70px 20px 40px;
  width: 380px;
  text-align: left;
}
.formtable th.must{
  background: url("../img/form/required.png") no-repeat right 10px top 20px;;
}
.formtable td{
	padding: 20px 10px;
}
.formtable td input[type="text"] {
  background: #f5f2e7;
  border: none;
  line-height: 1;
  padding: 5px 5px;
  margin-left: 5px;
  width: 400px;
}
.formtable td select {
  width: 400px;
}
#name_last, #name_first, #kana_last, #kana_first {
  width: 200px;
}
#birthday_1 {
  width: 210px;
}
#address_1 {
  width: 280px;
}

#birthday_2, #birthday_3, #postal_1, #postal_2, #tel_1, #tel_2, #tel_3, .birthdaytext {
  width: 60px;
}
.caption{
  margin-top: 5px;
  margin-left: 5px;
  color: #999999;
  font-size: 0.9em;
}
.error{
  color: #db4439;
  font-size: 0.9em;
  font-weight: bold;
}

#agreementarea, #buttonarea {
  text-align: center;
  margin: 0 auto;
  color: #000000;
  font-size: 14px;
  margin-bottom: 10px;
}

#inputform table td input[type="radio"],
#inputform table td input[type="checkbox"],
#agreementarea input[type="checkbox"] {
  filter: alpha(opacity=0); -moz-opacity:0; opacity:0;
  position: absolute;
}
#inputform table td .rdo label,
#inputform table td .chk label,
#agreementarea .chk {
  background: url(../img/form/form_chkbox.png) no-repeat scroll left top #fff;
  display: inline-block;
  line-height: 20px;
  padding-left: 30px;
  padding-right: 20px;
  padding-top: 7px;
  margin-bottom: 10px;
  white-space: nowrap;
}
#inputform table td .rdo_on,
#inputform table td .chk_on,
#agreementarea .chk_on {
  background-position: left -53px !important;
}

#kiyaku {
  color: #000000;
  margin-bottom: 23px;
  padding-top: 20px;
}
#kiyaku h3 {
  font-size: 16px;
}
#kiyaku h3 span {
  font-size: 12px;
  margin-left: 10px;
}
#kiyaku .kiyaku-wrap {
  background-color: #f5f2e7;
  font-size: 12px;
  height: 373px;
  line-height: 1.7;
  overflow-y: auto;
  padding: 13px;
}
#buttonarea button {
  background: none;
  border: 0 none;
  height: 41px;
  margin: 10px auto;
  width: 316px;
}
#buttonarea button:hover {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}

.wpcf7-textarea {
  width: 80%;
  background: #f5f2e7;
  border: none;
  line-height: 1;
  padding: 5px 5px;
  margin-left: 5px;
  resize: none;
}

.free_text_area input {
  width: 100% !important;
}

.textarea_style {
  width: 100%;
  height: 90px;
  padding: 5px;
  margin-left: 5px;
  background-color: #f5f2e7;
  resize: none;
}

/******************/
/*** スマホ表示 ***/
/******************/
@media (max-width: 640px){
  .caption{
    line-height: 1.5;
  }
  .formtable th{
    padding: 20px 70px 5px 20px;
    width: 100%;
    display: block;
    border-top: none;
  }
  .formtable td{
    line-height: 3;
    padding: 20px 10px;
    width: 100%;
    display: block;
    border-top: none;
  }
  .title_img{
    width: 100%;
  }
  .formtable td input[type="text"] {
    width: 80%;
  }
  .formtable td select {
    width: 80%;
  }
  #kiyaku, #buttonarea {
    width: 90%;
    margin: 10px auto;
  }
  #buttonarea button {
    width: 100%;
    height: auto;
  }
  #buttonarea button img {
    width: 100%;
  }
}
