#main form .box:first-child {
  margin-bottom: 3em;
}
#main .mw_wp_form_confirm .none {
  display: none;
}
#main .hissu {
  background: #c00;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  margin-left: 1em;
  padding: 0.1em 1em;
}

/* ステップ表示 */
#main .form-step {
  display: flex;
  list-style: none;
  margin: 0 auto 3em;
  position: relative;
  width: 70%;
}
#main .form-step:before {
  background-color: #ccc;
  content: "";
  height: 2px;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 25px;
  width: 70%;
}
#main .form-step li {
  counter-increment: li;
  width: calc(100% / 3);
  text-align: center;
}
#main .form-step li:before {
  background: #ccc;
  border-radius: 50%;
  color: #fff;
  content: counter(li);
  display: block;
  font-size: 20px;
  height: 2.5em;
  margin: 0 auto 5px;
  padding-top: 0.45em;
  position: relative;
  width: 2.5em;
  text-align: center;
}
#main .form-step li:first-child:before,
#main .mw_wp_form_confirm li:nth-child(2):before {
  background: #c00;
}
#main .mw_wp_form_confirm li:first-child:before {
  background: #ccc;
}

/* イントロ */
#main .mw_wp_form_confirm h1:after {
  content: "（確認）";
}
#main .yokonarabi li {
  display: inline-block;
  margin-right: 0.5em;
}
#main .yokonarabi li:before {
  content: "・";
  margin-right: 0.2em;
}
#main .yokonarabi .ssl-icon:before {
  content: "\f023";
  color: #26c300;
  font-family: "Font Awesome 5 Free";
  font-size: 1.6em;
}
@media (min-width:730px){
  #main .att-box li {
    display: inline-block;
  }
  #main .att-box li:before {
    content: "・";
  }
} /* Eo min730 */

/* フォーム */
#main input {
  margin:2px 0;
}
#main input[type="text"],
#main input[type="email"],
#main textarea {
  background: #FFFFFF;
  -moz-box-shadow:none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid #ccc;
  font-size: 1em;
  max-width: 90%;
}
#main input[type="text"],
#main input[type="email"] {
  margin:2px 0;
  height: auto;
  line-height: 1.4em;
}
#main input[name="age"],
#main input[name="zip"],
#main input[name="tel"],
#main input[name="income"],
#main input[name="budget"] {
  display: inline-block;
  max-width: 150px;
}
#main textarea {
  width: 100%;
}
#main span.horizontal-item {
  display: inline-block;
  margin: 0 10px 0 0;
}
#main input[type="file"] {
  font-size: 1em;
  margin-bottom: 10px;
}
#main .submit {
  text-align: center;
}
#main .submit input {
  background-color: #ababab;
  border-radius: 6px;
  font-size: 1.2em;
}
#main .submit input[name=submitConfirm],
#main .submit input[name=submit] {
  background-color: #663333;
}
#main .submit input:hover {
  opacity: 0.8;
}
#main input[type="submit"] {
  max-width: 300px;
  padding: 1em;
  width: 100%;
}
#main .mw_wp_form .error {
  border: 3px solid #f5ff00;
  margin: 10px 0 0;
  padding: 5px 10px;
}

@media (max-width: 1039px){
  #main input[type="text"],
  #main input[type="email"] {
    width: 80%;
  }
} /* Eo max1039 */

@media (max-width: 729px){
  #main input[type="text"],
  #main input[type="email"] {
    max-width: 100%;
    width: 100%;
  }
  #main input[name="zip"] {
    max-width: 150px;
  }
} /* Eo max729 */


/* 表修正  */
table {
  border: none;
  margin-bottom: 15px;
  padding: 0;
  table-layout: fixed;
  width: 100%;
}
table th,
table td {
  border: none;
  box-sizing: border-box;
  display: block;
  line-height:1.6em;
  padding: 5px 10px;
  width: 100%;
}
table th {
  text-align: left;
  vertical-align:middle;
}
table td {
  line-height:1.6em;
  text-align:left;
  vertical-align:middle;
}
table td:last-child {
  padding-bottom: 15px;
}
table td p:last-child {
  margin:0;
}
table td ul {
  list-style-position: outside;
}
table tr td textarea {
  font-size:12px;
}
table a {
  font-weight:normal;
}

@media (min-width: 730px){
  table th,
  table td,
  table th:first-child,
  table td:first-child,
  table td:last-child {
    border: 0;
    border-bottom: 1px solid #ccc;
    display: table-cell;
    padding:20px 15px;
  }
  table th {
    width:24%;
  }
  #main table th br {
    display: none;
  }
} /* Eo min730 */

/* 注意 */
#main .att-heading {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}
#main .fa-lock:before {
  color: #2a9e00;
  font-size: 1.8rem;
  margin-right: 5px;
}
@media (min-width:730px){
  #main h1 {
    padding-left: 0;
    text-align: center;
  }
  #main h1:before,
  #main h1:after {
    background: none;
    display: inline;
    content: none;
    position: static;
  }
  #main h2 {
    font-size: 1.8em;
  }
  #main form > div > p {
    text-align: center;
  }
} /* Eo min730 */