#form .inner {
  background: rgba(255, 255, 255, 0.8);
}
#form .formHeader {
  width: 100%;
  border-bottom: 1px solid #1a1a1a;
  display: table;
}
#form h4 {
  font-weight: bold;
  display: table-cell;
  vertical-align: middle;
}
#form h4 .marker {
  background: url(../images/common/marker_b.png);
  background-repeat: no-repeat;
  background-size: contain;
}
#form .formHeader .flow {
  display: table-cell;
  vertical-align: middle;
}
#form dd {
  position: relative;
}
#form input, #form textarea {
  background: #f2f2f2;
  border: none;
  box-sizing: border-box;
}
#form input {
  height: 30px;
}
#form select {
  height: 30px;
  background: #f2f2f2;
  border: 1px solid #e6e6e6;
  border-radius: 0;
}
#form textarea {
  resize: vertical;
}
#form .formError .formErrorContent {
  border: none;
  box-shadow: none;
  border-radius: 0;
}
#form .formError + input, #form  .formError + textarea, #form .formError2 + input, #form  .formError2 + textarea {
  border: 1px solid #ff0000;
}
#form input[type="submit"] {
  height: 40px;
  border-radius: 0;
  -webkit-appearance: none;
  background-color: #e9c000;
  background-image: url(../images/common/arrow.png);
  background-repeat: no-repeat;
  color: #fff;
  font-weight: bold;
}
#form .bbutton input[type="submit"] {
  background-color: #ccc;
  background-image: url(../images/common/arrow_b.png);
  background-repeat: no-repeat;
}
@media screen and (min-width: 641px){
  #form {
    margin-top: -130px;
    padding: 200px 0 90px;
  }
  #form .inner {
    width: 840px;
  }
  #form .formHeader {
    padding: 16px 20px;
  }
  #form h4 {
    font-size: 20px;
  }
  #form .formHeader .flow {
    width: 212px;
    height: 34px;
    text-indent: -9999px;
  }
  #form .input .flow {
    background: url(../images/common/form_1.jpg);
    background-repeat: no-repeat;
  }
  #form .confirm .flow {
    background: url(../images/common/form_2.jpg);
    background-repeat: no-repeat;
  }
  #form .done .flow {
    background: url(../images/common/form_3.jpg);
    background-repeat: no-repeat;
  }
  #form .formWrapper {
    width: 736px;
    margin: 0 auto;
    padding: 40px 0 70px;
  }
  #form dl {
    display: table;
    margin-bottom: 12px;
  }
  #form .textarea {
    display: block;
  }
  #form .textarea:after {
    content: "";
    display: block;
    clear: both;
  }
  #form dt {
    width: 181px;
    height: 30px;
    line-height: 30px;
    background: #cccccc;
    display: table-cell;
    padding: 0 10px;
    font-weight: bold;
    position: relative;
    vertical-align: middle;
  }
  #form .textarea dt, #form .textarea dd {
    display: block;
    float: left;
  }
  #form dt span {
    font-size: 10px;
  }
  #form .ymd {
    padding-right: 0;
  }
  #form .req:after {
    content: "※";
    font-size: 10px;
    position: absolute;
    right: 6px;
  }
  #form dd {
    display: table-cell;
    line-height: 30px;
    padding-left: 4px;
  }
  #form .confirm dd {
    padding-left: 10px;
  }
  #form input, #form textarea {
    width: 550px;
    padding: 4px 10px;
    font-size: 14px;
  }
  #form .yyyy {
    width: 138px;
  }
  #form .mm, #form .dd {
    width: 55px;
  }
  #form select {
    width: 206px;
    font-size: 14px;
  }
  #form textarea {
    height: 180px;
  }
  #form input[type="submit"] {
    font-size: 18px;
    cursor: pointer;
    transition: all 1.0s ease;
    margin-left: 185px;
    background-position: 520px center;
  }
  #form .bbutton input[type="submit"] {
    width: 180px;
    background-position: 10px center;
    margin-left: 0;
  }
  #form .dbutton input[type="submit"] {
    margin-left: 5px;
  }
  #form .confirm form {
    float: left;
  }
  #form .buttonWrapper {
    overflow: hidden;
    margin-top: 25px;
  }
  #form .formError {
    width: 220px;
    top: 0 !important;
    left: 334px !important;
    margin-top: 0 !important;
  }
  #form .formError .formErrorContent {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  #form .formError .formErrorArrow {
    display: none;
  }
  .ui-widget-content {
    background: #eeeeee !important;
  }
  #form .formError2 {
    color: #ff0000;
    font-size: 11px;
    display: block;
  }
}
@media screen and (max-width:640px){
  #form {
    padding: 20px 0;
  }
  #form .inner {
    width: 88%;
    padding: 4%;
  }
  #form h4 {
    font-size: 16px;
  }
  #form .formHeader {
    padding-bottom: 5px;
  }
  #form .formHeader .flow {
    background-color: #e9c000;
    color: #fff;
    text-align: center;
    padding: 0 4px;
  }
  #form .formWrapper {
    padding: 20px 0;
  }
  #form dl {
    margin-bottom: 10px;
  }
  #form input, #form textarea {
    width: 100%;
    padding: 4px 6px;
  }
  #form .formError {
    left: 0 !important;
    top: -23px !important;
    width: 100%;
    text-align: right;
  }
  #form .formError .formErrorContent {
    background: none;
    color: #ee0101;
  }
  #form select {
    width: 100%;
  }
  #form textarea {
    height: 100px;
  }
  #form .buttonWrapper {
    margin-top: 25px;
  }
  #form input[type="submit"] {
    font-size: 14px;
    background-position: 95% center;
  }
  #form .bbutton input[type="submit"] {
    background-position: 5% center;
    margin-bottom: 10px;
  }
  #form .confirm dt {
    border-bottom: 1px solid #f2f2f2;
  }
}
