@charset "UTF-8";
/* ===================================================================
CSS information

 file name  : mailform.css
s style info : メールフォーム
=================================================================== */
/* -----------------------------------------------------------
  レイアウト
----------------------------------------------------------- */
table {
  margin-bottom: 20px;
}
table tbody tr th span {
  display: inline-block;
  float: right;
  background: red;
  line-height: 1;
  padding: 5px;
  font-size: .9em;
  font-weight: normal;
}

.chk_privacy {
  text-align: center;
  margin-bottom: 15px;
}

.box_btn {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.box_flow {
  margin-bottom: 30px;
  text-align: center;
}
.box_flow li {
  display: inline-block;
  font-size: 2em;
  font-weight: bold;
  color: #ccc;
}
.box_flow li:before {
  content: "\f105";
  font-family: 'FontAwesome';
  margin: 0 10px;
  color: #ccc;
}
.box_flow li:first-child:before {
  display: none;
}
.box_flow li.active {
  color: green;
}

/* -----------------------------------------------------------
  フォーム装飾
----------------------------------------------------------- */
label.error {
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  position: static;
  color: red;
  margin-top: 10px;
}
label.rad {
  cursor: pointer;
  margin-right: 20px;
  padding-left: 25px;
  display: inline-block;
  position: relative;
  line-height: 1;
}
label.rad:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
}
label.chk {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
  margin-left: 10px;
  margin-right: 10px;
  padding-left: 18px;
  display: inline-block;
  position: relative;
  line-height: 1;
}
label.chk:before {
  position: absolute;
  content: "";
  top: 50%;
  left: -10px;
  width: 18px;
  height: 18px;
  margin-top: -10px;
  background: #fff;
  border: 1px solid #ccc;
}

input[type="radio"]:checked + label:after {
  position: absolute;
  content: "";
  top: 50%;
  left: 6px;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-radius: 50%;
  background: red;
}

input[type="checkbox"]:checked + label:after {
  position: absolute;
  content: "\f00c";
  font-family: 'FontAwesome';
  color: red;
  top: 50%;
  left: -12px;
  margin-top: -14px;
  font-size: 1.6em;
}

input[type="radio"],
input[type="checkbox"] {
  visibility: hidden;
  width: 0;
  height: 0;
}

input[type="text"] {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
}
@media only screen and (min-width: 738px) {
  input[type="text"].middle {
    width: 60%;
  }
  input[type="text"].short {
    width: 40%;
  }
}

.select-group {
  position: relative;
}
.select-group:after {
  position: absolute;
  content: "\f0d7";
  font-family: 'FontAwesome';
  color: #333;
  font-size: 1.4em;
  top: 50%;
  right: 5px;
  margin-top: -.5em;
  line-height: 1;
}

select {
  width: 100%;
  padding: 5px 1.5em 5px 5px;
  cursor: pointer;
  position: relative;
  background: #fff;
}
@media only screen and (min-width: 738px) {
  select {
    width: auto;
  }
}

textarea {
  width: 100%;
  padding: 5px;
}

/* -----------------------------------------------------------
  ボタン装飾
----------------------------------------------------------- */
input[type="submit"] {
  cursor: pointer;
  padding: 10px 0;
}
input[type="submit"].disabled {
  cursor: auto;
}

.btn_submit,
.btn_send,
.btn_back {
  width: 100%;
  font-size: 1.2em;
  padding: 0;
  color: #fff;
  font-weight: bold;
  position: relative;
  top: 0;
  left: 0;
  -moz-transition-duration: 0.1s;
  -o-transition-duration: 0.1s;
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
}
.btn_submit:hover,
.btn_send:hover,
.btn_back:hover {
  opacity: .8;
}

.btn_submit,
.btn_send {
  line-height: 40px;
  margin-bottom: 10px;
}
.btn_submit.disabled,
.btn_send.disabled {
  border: 1px solid #ccc;
  border-bottom: 4px solid #ccc;
  background-color: #ccc;
}
.btn_submit.disabled:hover,
.btn_send.disabled:hover {
  opacity: 1;
}

.btn_submit {
  border: 1px solid #324f22;
  border-bottom: 4px solid #324f22;
  background-color: #507938;
}

.btn_send {
  border: 1px solid #E82C0C;
  border-bottom: 4px solid #E82C0C;
  background-color: #E8680C;
}

.btn_back {
  line-height: 30px;
  font-size: 1.2em;
  border: none;
  background-color: #707070;
  cursor: pointer;
}
