/***************************************************/
/* form style */
/***************************************************/
.row-table-01 {
  border-collapse: collapse;
  margin-bottom: 40px;
  width: 100%;
}
.row-table-01 th,
.row-table-01 th.col-head {
  border-bottom: 1px solid #ddd;
  font-size: 0.875rem;
  padding: 10px 8px 8px 0;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
.row-table-01 th label,
.row-table-01 th.col-head label {
  display: inline-block;
  width: calc(100% - 60px);
  vertical-align: middle;
}
.row-table-01 td,
.row-table-01 td.col-input {
  border-bottom: 1px solid #ddd;
  padding: 8px 0 0;
}
#contact #RowMessageSex td.col-input {
  padding: 8px 0;
}
.row-table-01 .required {
background: #ff0000;
display: inline-block;
margin: 0 8px;
padding: 2px 5px;
color: #fff;
font-weight: 700;
}
.row-table-01 .normal {
background: #bbb;
display: inline-block;
margin: 0 8px;
padding: 2px 5px;
color: #fff;
font-weight: 700;
}
#contact .section {
  margin: 0 auto;
  max-width: 800px;
  padding: 40px 0;
  width: 94%;
}
#contact .section *,
#contact .section *:before,
#contact .section *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#contact .error-message {
	color: #ff4444;
	font-size: 0.75rem;
	padding: 5px;
}
#contact #FieldMessageName1, #contact #FieldMessageName2 {
  display: inline-block;
}
#contact.contact-confirm #FieldMessageName2 {
	white-space: nowrap;
}
#contact #FieldMessageName1 input[type="text"],
#contact #FieldMessageName2 input[type="text"] {
  width: 90%;
}
#contact #RowMessageZip #FieldMessageZip input[type="text"] {
  max-width: 160px;
}
#contact #FieldMessageAddress1 select,
#contact #FieldMessageRoot select {
  font-size: 14px;
  display: inline-block;
  width: 160px;
  cursor: pointer;
  padding: 8px;
  outline: 0;
  border: 0;
  border-radius: 0;
  background-color: #eee;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-bottom: 8px;
}
#contact #FieldMessageAddress1,
#contact #FieldMessageRoot {
  display: inline-block;
  position: relative;
}
#contact #FieldMessageAddress1:after,
#contact #FieldMessageRoot:after {
  content: "";
  display: block;
  position: absolute;
  top: 12px;
  right: 10px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #555 transparent transparent transparent;
}
#contact #FieldMessageCategory .checkbox {
  display: inline-block;
  margin-right: 1.5em;
}
#contact #FieldMessageCategory input[type="checkbox"].checkbox {
  margin-right: 0;
}
#contact #RowMessageRoot th {
  white-space: normal;
}
input[type="text"], input[type="email"] {
  background: #eee;
  border: none;
  height: 32px;
  max-width: 320px;
  margin: 0 0 8px 0;
  padding: 0 5px;
  width: 100%;
  display: block;
}
input[type="text"]:focus, input[type="email"]:focus {
  outline: none;
  background: #fff;
  border: 1px solid #eee;
}
#FieldMessageUage input[type="text"] {
	max-width: 50px;
}
#FieldMessageUzip1 input[type="text"],
#FieldMessageUzip2 input[type="text"] {
  max-width: 100px;
}
#FieldMessageUzip1 .mail-attention, #FieldMessageUzip2 .mail-attention {
  margin: 0;
}
#FieldMessageUzip1 .mail-before-attachment, #FieldMessageUzip2 .mail-before-attachment {
  display: inline-block;
}
textarea {
  background: #eee;
  border: none;
  font-size: 0.875rem;
  height: 150px;
  padding: 5px;
  width: 94%;
}
textarea:focus {
  outline: none;
  background: #fff;
  border: 1px solid #eee;
}
.auth-captcha {
  font-size: 0.75rem;
  margin-bottom: 40px;
  text-align: center;
}
.auth-captcha img {
  display: inline-block;
  margin-bottom: 10px;
  vertical-align: middle;
}
.submit {
  text-align: center;
}
input[type="reset"] {
  background-color: #ff4444;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  min-width: 200px;
  height: 48px;
  padding: 0 20px;
}
input[type="submit"]{
  background-color: #6ab5ff;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  height: 48px;
  min-width: 200px;
  padding: 0 20px;
}
input[type="button"].pagebutton {
  background-color: #6ab5ff;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-weight: bold;
  height: 48px;
  min-width: 200px;
  padding: 0 20px;
}
@media screen and (max-width: 640px) {
  #contact.section_wrapper {
    padding-left: 3.125vw;
    padding-right: 3.125vw;
  }
  #contact .section {
    padding: 6.25vw 0;
  }
  .row-table-01,
  .row-table-01 tbody,
  .row-table-01 tbody tr,
  .row-table-01 tbody th,
  .row-table-01 tbody td {
    display: block;
  }
  .row-table-01 {
    margin: 0 auto 6.25vw;
    max-width: 500px;
    width: 100%;
  }
  .row-table-01 th,
  .row-table-01 th.col-head {
    width: 100%
  }
  input[type="reset"] {
    font-size: 14px;
    min-width: inherit;
    padding: 0 3.125vw;
  }
  input[type="submit"]{
    font-size: 14px;
    min-width: inherit;
    padding: 0 3.125vw;
  }
  textarea {
    width: 100%;
  }
}


