#step .inner {
  text-align: center;
}
#step .inner .text {
  color: #006ea5;
  margin-bottom: 50px;
}
#step .inner ol {
  font-size: 0;
}
#step .inner ol li {
  height: 65px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  font-size: 15px;
}
#step .inner ol li.step1 {
  background: #006ea5;
}
#step .inner ol li.step1 p {
  color: #fff;
}
#step .inner ol li.step1 span {
  display: block;
  color: #fff;
}
#step .inner ol li.step2 {
  background: #eaeaea url(/assets/images/form/img-step.png) no-repeat 0 center;
}
#step .inner ol li .wrap {
  padding: 15px 66px;
}
#step .inner ol li .wrap p {
  margin-bottom: 5px;
}
#step.complete .inner ol li.step1 {
  background: #eaeaea;
}
#step.complete .inner ol li.step1 p {
  color: #000;
}
#step.complete .inner ol li.step1 span {
  display: block;
  color: #000;
}
#step.complete .inner ol li.step2 {
  background: #006ea5;
}
#step.complete .inner ol li.step2 p {
  color: #fff;
}
#step.complete .inner ol li.step2 span {
  display: block;
  color: #fff;
}

table {
  width: 100%;
  background: #fff;
  border: 1px solid #eaeaea;
}
table thead {
  text-align: center;
  border-bottom: 3px solid #00507e;
}
table thead th {
  padding: 15px;
  font-size: 19px;
  color: #00507e;
  border-right: 1px solid #eaeaea;
  vertical-align: middle;
}
table thead th:first-child {
  width: 490px;
}
table thead th:nth-child(2) {
  width: 320px;
}
table thead th:nth-child(3) {
  width: 100px;
}
table thead th:last-child {
  width: 100px;
}
table tbody {
  text-align: left;
}
table tbody tr {
  border-bottom: 1px solid #eaeaea;
}
table tbody tr th {
  position: relative;
  width: 490px;
  padding: 15px;
  border-right: 1px solid #eaeaea;
  vertical-align: middle;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
table tbody tr th span {
  position: absolute;
  top: 50%;
  right: -5%;
  margin-left: -5%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  font-size: 15px;
}
table tbody tr th span a {
  background: #eaeaea;
  color: #00507e;
  padding: 5px 10px;
}
table tbody tr th span a img {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  width: 18px;
  margin-left: 10px;
}
table tbody tr td {
  padding: 15px;
  border-right: 1px solid #eaeaea;
  vertical-align: middle;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
table tbody tr td:first-child {
  width: 320px;
}
table tbody tr td:nth-child(2) {
  width: 100px;
}
table tbody tr td:last-child {
  width: 100px;
  padding: 13px 25px;
}

select {
  width: 100%;
  padding: 10px;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 1px solid #b2b2b2;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background: url(/assets/images/form/img-select-arrow.png) no-repeat 90% center;
  background-size: 12px;
  padding: 2px 15px 2px 40px;
}
select::-ms-expand {
  display: none;
}

#input-form {
  position: relative;
  display: block;
  width: 780px;
  margin: 0 auto;
}

#contact form {
  display: block;
  width: 780px;
  margin: 0 auto;
}

fieldset {
  position: relative;
  margin-bottom: 35px;
}
fieldset legend {
  float: left;
  width: 200px;
  margin-right: 30px;
  font-size: 18px;
}
fieldset label {
  position: relative;
  display: block;
  width: 550px;
  margin: 0;
}
fieldset label:first-child, fieldset label:nth-child(2), fieldset label:nth-child(3) {
  margin-bottom: 10px;
}
fieldset input[type="radio"] {
  position: static;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid #b2b2b2;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background: #fff;
  -moz-appearance: none;
  -webkit-appearance: none;
}
fieldset input[type="radio"].error {
  border: 2px solid #e54b48;
}
fieldset input[type="radio"]::-ms-expand {
  display: none;
}
fieldset input[type="radio"].checked::before {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 4px;
  padding: 10px;
  background: url(/assets/images/form/img-checked.png) no-repeat 0 0;
  background-size: 20px;
  z-index: 999;
}
fieldset input[type="radio"]:focus {
  outline: none;
}

label {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  width: 200px;
  margin-right: 30px;
}
label .label {
  font-size: 18px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="submit"],
textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 550px;
  border: 2px solid #b2b2b2;
  padding: 5px 10px;
}
input[type="text"].error,
input[type="tel"].error,
input[type="email"].error {
  position: static;
  border: 2px solid #e54b48;
}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
  outline: none;
}

textarea {
  width: 545px;
  min-height: 150px;
  border: 2px solid #b2b2b2;
  padding: 5px 10px;
  margin-bottom: 35px;
}

#textarea-label {
  display: inline-block;
  vertical-align: top;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
}

.wrap {
  float: left;
}

.required {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  font-size: 12px;
  background: #e54b48;
  padding: 5px;
  color: #fff;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  margin-left: 10px;
}

.input-wrap {
  position: relative;
  margin-bottom: 35px;
  font-size: 0;
}

span.error {
  position: absolute;
  left: 230px;
  bottom: -20px;
  font-size: 12px;
  color: #e54b48;
}

.btn {
  text-align: center;
}
.btn input[type="submit"] {
  border: none;
  padding: 15px 45px;
  font-size: 18px;
  color: #fff;
  background: #006ea5;
  -moz-box-shadow: 0 5px 0 #000;
  -webkit-box-shadow: 0 5px 0 #000;
  box-shadow: 0 5px 0 #000;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}
.btn input[type="submit"]:hover {
  background: #e54b48;
}
.btn input[type="submit"]:active {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -moz-transition: none;
  -o-transition: none;
  -webkit-transition: none;
  transition: none;
  -moz-transform: translateY(5px);
  -ms-transform: translateY(5px);
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
}
.btn input[type="submit"]:focus {
  outline: none;
}

.popup {
  position: relative;
}
.popup .wrap {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.7);
}
.popup .wrap p {
  color: #fff;
  line-height: 1.6;
}
.popup .wrap p.name {
  font-size: 18px;
}

#complete {
  text-align: center;
}

#back .inner .btn-wrap {
  width: 250px;
  margin: 0 auto;
}
#back .inner .btn-wrap .btn {
  margin: 0;
}
#back .inner .btn-wrap .btn a {
  display: block;
  padding: 15px 0 15px 16px;
  background: #00507e url(/assets/images/common/img-link-arrow.png) no-repeat 48px center;
  background-size: 8px;
}
#back .inner .btn-wrap .btn a:hover {
  background: #a9894a url(/assets/images/common/img-link-arrow-hover.png) no-repeat 48px center;
  background-size: 8px;
}
#back .inner .btn-wrap .btn a span {
  color: #e2c086;
}
#back .inner .btn-wrap .btn a:hover span {
  color: #00507e;
}

#total {
  position: fixed;
  bottom: -1px;
  right: 12%;
  display: none;
  background: #000;
  padding: 20px 50px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 999;
}
#total.stop {
  position: absolute;
  bottom: 235px;
}
#total p {
  color: #fff;
  padding: 0 15px 15px;
  border-bottom: 1px solid #ccc;
}
#total p span {
  color: #fff;
  font-size: 26px;
}

@media (max-width: 768px) {
  #step .inner ol li {
    height: 51px;
  }
  #step .inner ol li .wrap {
    padding: 8px 10vw;
  }
  #step .inner ol li .wrap p {
    font-size: 14px;
  }
  #step .inner ol li .wrap span {
    font-size: 12px;
  }

  table thead th {
    padding: 2%;
    font-size: 28px;
    font-size: 3.64583vw;
  }
  table thead th:first-child {
    width: 40%;
  }
  table thead th:nth-child(2) {
    width: 28%;
  }
  table thead th:nth-child(3) {
    width: 18%;
  }
  table thead th:last-child {
    width: 15%;
  }
  table tbody {
    text-align: left;
    font-size: 24px;
    font-size: 3.125vw;
  }
  table tbody tr th {
    width: auto;
    padding: 2%;
  }
  table tbody tr th span {
    position: static;
    display: block;
    margin: 4% auto 0;
    text-align: center;
    -moz-transform: none;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    margin: 0 auto;
  }
  table tbody tr th span a {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    padding: 3% 5%;
    font-size: 24px;
    font-size: 3.125vw;
  }
  table tbody tr th span a img {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    width: 12px;
    margin-left: 5px;
  }
  table tbody tr td {
    padding: 2%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  table tbody tr td:first-child {
    width: 320px;
  }
  table tbody tr td:nth-child(2) {
    width: 100px;
  }
  table tbody tr td:last-child {
    width: 100px;
    padding: 2%;
  }

  select {
    background-size: 8px;
    padding: 2% 5%;
  }

  form {
    max-width: 100%;
    width: auto;
    margin: 0 auto;
  }
  #contact form {
    width: 100%;
  }
  form fieldset {
    margin-bottom: 10%;
  }
  form fieldset legend {
    float: none;
    width: 100%;
    margin: 0 0 2%;
    font-size: 32px;
    font-size: 4.16667vw;
  }
  form fieldset label {
    width: 100%;
  }
  form label {
    width: 100%;
    margin: 0 0 2% !important;
  }
  form label:last-child {
    margin-bottom: 0 !important;
  }
  form input[type="text"],
  form input[type="tel"],
  form input[type="email"] {
    width: 100%;
  }
  form textarea {
    width: 100%;
    margin-bottom: 5%;
  }
  form .wrap {
    float: none;
  }
  form .input-wrap {
    margin-bottom: 10%;
  }
  form span.error {
    left: 0;
  }

  .popup {
    width: 90%;
    margin: 0 auto;
  }
  .popup .wrap {
    padding: 2% 5%;
  }
  .popup .wrap p.name {
    font-size: 36px;
    font-size: 4.6875vw;
  }

  #back .inner .btn-wrap {
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    margin: 0 auto;
  }
  #back .inner .btn-wrap .btn {
    float: none;
    max-width: 100%;
    width: auto;
    margin: 0 auto;
  }
  #back .inner .btn-wrap .btn:first-child {
    margin: 0 0 3%;
  }
  #back .inner .btn-wrap .btn a {
    padding: 5% 5% 5% 12%;
    background: #00507e url(/assets/images/common/img-link-arrow.png) no-repeat 30% center;
    background-size: 8px;
    font-size: 28px;
    font-size: 3.64583vw;
  }
  #back .inner .btn-wrap .btn a:hover {
    background: #a9894a url(/assets/images/common/img-link-arrow-hover.png) no-repeat 30% center;
    background-size: 8px;
  }

  #total {
    bottom: 80%;
    right: 0;
    padding: 8% 20%;
  }
  #total.stop {
    position: fixed;
    bottom: 80%;
  }
  #total p {
    position: absolute;
    padding: 0 5% 5%;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  #total p span {
    font-size: 48px;
    font-size: 6.25vw;
  }
}