/* ---------------------------------
  お問い合わせフォーム （ステップパー）
---------------------------------- */
ol.stepBar {
  margin-left: 0px;
}
.stepBar {
  position: relative;
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  text-align: center;
  width: 100%;
  overflow: hidden;
  *zoom: 1;
}
.stepBar .step {
  letter-spacing: 3px;
  position: relative;
  float: left;
  display: inline-block;
  line-height: 60px;
  padding: 0px 20px 0 0;
  background-color: #eee;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.stepBar .step:before, .stepBar .step:after {
  position: absolute;
  left: -15px;
  display: block;
  content: '';
  background-color: #eee;
  border-left: 4px solid #FFF;
  width: 30px;
  height: 30px;
}
.stepBar .step:after {
  top: 0;
  -moz-transform: skew(30deg);
  -ms-transform: skew(30deg);
  -webkit-transform: skew(30deg);
  transform: skew(30deg);
}
.stepBar .step:before {
  bottom: 0;
  -moz-transform: skew(-30deg);
  -ms-transform: skew(-30deg);
  -webkit-transform: skew(-30deg);
  transform: skew(-30deg);
}
.stepBar .step:first-child {
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.stepBar .step:first-child:before, .stepBar .step:first-child:after {
  content: none;
}
.stepBar .step:last-child {
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.stepBar .step.current {
  color: #FFF;
  background-color: #b81c25;
  font-size: 20px;
  font-weight: bold;
}
.stepBar .step.current:before, .stepBar .step.current:after {
  background-color: #b81c25;
}
.stepBar.step2 .step {
  width: 50%;
}
.stepBar.step3 .step {
  width: 33.333%;
}
.stepBar.step4 .step {
  width: 25%;
}
.stepBar.step5 .step {
  width: 20%;
}



/* ---------------------------------
  お問い合わせフォーム
---------------------------------- */
#form {
  padding: 60px 0 80px 0;
}

@media screen and (max-width: 767px) {
  #form {
  padding: 30px 0 60px 0;
  }
}
#form2 {
  padding: 150px 0 80px 0;
  border-bottom: 5px solid #EF7F01;
}

@media screen and (max-width: 767px) {
  #form2 {
  padding: 120px 0 0 0;
  }
}


table.form input {
  height: 40px;
  padding-left: 6px;
  vertical-align: middle;
}
table.form {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  line-height: 1.5;
  border-top: 3px solid #333;
  border-bottom: 4px solid #333;
  border-left: 4px solid #333;
  border-right: 4px solid #333;
  background: #fff;
  margin-top: 50px;
}
table.form th {
  width: 220px;
  padding: 10px;
  border-top: 1px solid #cccccc;
  font-weight: bold;
  text-align: left;
  vertical-align: middle;
  background: #f7f7eb;
  color: #000;
}
table.t-contact th {
  width: 160px;
}
table.form td {
  border-top: 1px solid #cccccc;
  padding: 10px !important;
  color: #000;
  vertical-align: middle;
}
.label-important, .badge-important {
  background-color: #666;
  margin-left: 10px;
}
.label {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
   border-radius: 3px;
}
.label, .badge {
  display: inline-block;
  padding: 4px 5px 3px 5px;
  font-size: 13px;
  font-weight: bold;
  line-height: 14px;
  color: #fff;
  white-space: nowrap;
  vertical-align: baseline;
  background-color: #b81c25;
}
.ninni {
  background-color: #666;
}
.hissu {
  color: #e00e0f;
  font-weight: normal;
  font-size: 14px;
  margin-left: 4px;
  position: relative;
  top: -7px;
}
.mw_wp_form .error:before {
  content: "\f00d";
  font-family: FontAwesome;
  margin-right: 4px;
}
.mw_wp_form .error {
  width: auto;
  height: 40px;
  padding: 12px 10px 12px 14px !important;
  display: inline-block !important;
  vertical-align: middle;
  padding: 3px 4px 3px 10px;
  font-size: 11.844px;
  font-weight: bold;
  line-height: 14px;
  color: #fff !important;
  background: #b81c25 !important;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 3px;
  margin-top: 0px;
  margin-bottom: 0px !important;
  margin-left: 8px;
  -webkit-animation:blink 1.5s ease-in-out infinite alternate;
  -moz-animation:blink 1.5s ease-in-out infinite alternate;
  animation:blink 1.5s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}}
@-moz-keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}}
@keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}}

input[type="text"], input[type="tel"], input[type="url"], input[type="email"], input[type="number"], input[type="date"], input[type="range"], input[type="password"], select, textarea {
    color: #000;
}

.woocommerce-message:before, .alert-success:before, .success:before, .woocommerce-error:before, .alert-error:before, .error:before, .woocommerce-info:before, .alert-info:before, .info:before, .woocommerce-warning:before, .alert-warning:before, .warning:before {
    left: 14px;
    margin-top: -14px;
}

textarea.naiyou {
    width: 100%;
    height: 130px;
    border: 1px solid #ccc;
    padding: 6px;
}

div.center {
  text-align: center;
}
.form-button {
  display: inline-block;
  width: 250px;
  margin-top: 30px;
  margin-bottom: : 30px;
  background: #b81c25 !important;
  color: #fff !important;
  padding: 16px 24px 14px 28px!important;
  border: 0px !important;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
  transition: 0.3s;
}

@media screen and (max-width: 767px) {
  .form-button {
    display: block;
    margin: 0 auto;
  }

  .form-button:last-child {
    margin-bottom: 35px;
  }
}
.form-button:hover {
  background: #ef7f01 !important;
  letter-spacing: 8px;
}




.form select {
  border-radius: 0 !important;
  height: 40px;
  background: #fff;
  border: 1px solid #ccc;
  margin-bottom: 0px;
}
.course_menu {
  color: #004838;
  font-weight: bold;
}
.tyui {
  font-size: 11px;
  color: #e00e0f;
}
.mw_wp_form .vertical-item {
  height: 26px;
}
.form_kakunin {
  display: none;
}
.form_check {
    margin-bottom: 30px;
    font-size: 20px;
    text-align: center;
    letter-spacing: 4px;
    color: #0d4c41;
    font-weight: bold;
}
.form_error {
    margin-bottom: 30px;
    font-size: 20px;
    text-align: center;
    letter-spacing: 4px;
    color: #e00e0f;
    font-weight: bold;
}
.mwform-radio-field-text {
  margin-right: 20px;
  position: relative;
  top: 2px;
}
.hbd-1 {
    width: 90px;
}
.hbd-2 {
    width: 50px;
}
.kiyaku {
  overflow: scroll;
  height: 280px;
  border: 1px solid #ccc;
  overflow-x: hidden;
  padding: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #646464;
  margin-bottom: 30px !important;
}
.kiyaku p{
  color: #646464;
}
th.separ {
  padding: 8px !important;
  background: #333 !important;
  color: #fff !important;
  text-align: center !important;
  font-size: 20px;
  letter-spacing: 4px;
  border-top: 0px !important;
}
.separ:before, .separ:after {
  position: relative;
  top: -4px;
  font-size: 12px;
  content: "\f078";
  font-family: FontAwesome;
  margin-left: 6px;
  margin-right: 6px;
}
.yosan {
  margin-right: 50px;
}
.form-txt {
  display: block;
  padding: 4px;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 50px;
  line-height: 1.8rem;
}
.f-bg {
  background: #f7f7eb;
  font-weight: bold;
  padding-top: 6px;
  padding-bottom: 4px;
}
.r-txt {
  display: inline-flex;
  margin-left: 10px;
  color: #b81c25;
  font-size: 12px;
  vertical-align: middle;
  padding-top: 2px;
  font-weight: bold;
}
.form-check {
  display: block;
  color: #28a828;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-top: 50px;
}
.form-check:before {
  content: "\f05a";
  font-family: FontAwesome;
  margin-right: 10px;
}
.form-error {
  display: block;
  color: #b81c25;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-top: 50px;
}
.form-error:before {
  content: "\f057";
  font-family: FontAwesome;
  margin-right: 10px;
}
.title-thanks {
  display: block;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: #28a828;
  letter-spacing: 3px;
  margin-top: 90px;
  margin-bottom: 60px;
}
.title-thanks:before {
  content: "\f058";
  font-family: FontAwesome;
  margin-right: 10px;
}
.nittei {
  margin-right: 20px;
}



/* ---------------------------------
  フォーム （スマホ）
---------------------------------- */

@media (max-width: 980px) {
    .waku {
        width: auto; }
    table.form tr {
        display: block;
        width: auto;}
    table.form th {
        display: block;
        width: auto;
        text-align: left;}
    table.form td {
        display: block;
        width: 100% - 20px;}   
    input[type="text"], input[type="tel"], input[type="url"], input[type="email"], input[type="date"], input[type="range"], input[type="password"], select, textarea {
        width: 100%;
        vertical-align: middle;}
    .mw_wp_form .vertical-item {
        display: inline-block !important;}
    .yosan {
        display: block;
        margin-right: 0px;
        margin-bottom: 20px;}
    .yosan select, .yosan2 select{
        width: 100px; }
    .jikan {
        width: 60px; }
    .r-txt {
        margin-left: 0px; }
    .mw_wp_form .error {
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 0px; }
    input.nittei {
        margin-bottom: 10px; }
}