@charset "UTF-8";

/* ************************************
お問い合わせ
*************************************** */
.red {
  color: #cc0000;
}
#form {
  margin: 3em auto 4em;
}
#form .content {
  max-width: 760px;
}
table {
  width: 100%;
  margin: 0 auto 2em;
}
td {
  padding: 1em;
  border: solid 1px #ccc;
}
.td_form1 {
  width: 24%;
  background-color: #f7f9f9;
}
table + div {
  text-align: center;
}
input[type=text] {
  width: 20em;
}
input[type=button] {
  padding: .8em 2.5em .7em;
  background: -moz-linear-gradient(top, #eee, #ccc);
  background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ccc));
  background: -ms-linear-gradient(top, #eee, #ccc);
  background: linear-gradient(to bottom, #eee, #ccc);
  filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffeeeeee,EndColorStr=#ffcccccc);
  border: none;
  color: #082745;
}
input[type=button]:hover {
  background: #ccc;
}
input[type=submit] {
  padding: .8em 2.5em .7em;
  background: -moz-linear-gradient(top, #f6ca07, #ea7e03);
  background: -webkit-gradient(linear, left top, left bottom, from(#f6ca07), to(#ea7e03));
  background: -ms-linear-gradient(top, #f6ca07, #ea7e03);
  background: linear-gradient(to bottom, #f6ca07, #ea7e03);
  filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#fff6ca07,EndColorStr=#ffea7e03);
  border: none;
  color: #082745;
}
input[type=submit]:hover {
  background: #ea7e03;
}
#postcode1, #postcode2 {
  width: 5em;
}
#form .mb {
  margin-bottom: .5em;
}
textarea {
  width: 30em;
  height: 10em;
}
#completion #form {
  min-height: 440px;
}

#footer .btm {
  padding-bottom: 1.5em;
  border-top: solid 1px #ccc;
  background-color: inherit;
}
#footer .content:after {
  content: "";
  display: block;
  clear: both;
}

@media screen and (max-width: 640px) {
  #form .content {
    width: 100%;
  }
  #form .content p {
    width: 92%;
    margin: 0 auto 1em;
  }
  input[type=text] {
    width: 98%;
    margin: auto;
  }
  textarea {
    width: 98%;
    height: 10em;
    margin: auto;
  }
  input[type=submit] {
    padding-left: .5em;
    padding-right: .5em;
    width: 92%;
    font-size: 100%;
    white-space: normal;
  }
  table, tbody, tr, th, td {
    display: block;
    border: none;
  }
  .td_form1 {
    width: auto;
  }
  #completion #form {
    min-height: 200px;
  }
  #footer .btm .lft {
    display: none;
  }
}
