:root {
  --main-color: #6ec85d; /*メイン色*/
  --main-color-80: #bcde80; /*メイン色*/
  --sub-color: #faac3c; /*サブ色*/
  --bg-color: #fcf8ee; /*サイドメニュー・レイアウト類の背景色*/
  --border-color: #dfdfdf; /*境界線色*/
}
.contact button,.contact input[type='button'] {
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 5px;
  width: 50%;
  margin: 0 auto;
  display: block;
  background: #fff;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s ease-in-out;
}
.contact input[type='button'] {
  margin-top: 20px;
}
.contact button:hover,.contact input[type='button']:hover{
  color: #fff;
  background: var(--main-color);
}
.contact th{
  /*margin: 30px 0 0;*/
  font-size: 16px;
  font-family: "FOT-筑紫A丸ゴシック Std B";
  color: var(--main-color);
}
.contact table.contact_form td{
  padding-bottom: 24px;
}
.contact td input,.contact td textarea{
  font-family: inherit;
  font-size: 16px;
}
.contact td small{
  font-size: 14px !important;
  display: block;
  margin-top: 5px;
}
#form-wrap table{
  width: 100%;
}
#form-wrap table.contact_form th,#form-wrap table.contact_form td{
  float: left;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding-bottom: 15px;
}
.contact td p.error{
  color: rgb(197, 44, 44);
}
.contact table.confirm_table{
  margin-bottom: 40px;
  margin-top: -20px;
}
.contact table.confirm_table th{
  vertical-align: middle;
  color: #fff;
  background: var(--main-color-80);
  text-align: left;
  padding: 20px;
  border-bottom: 1px solid #fff;
  box-sizing: border-box;
  width: 10em;
}
.contact table.confirm_table td{
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 20px 20px;
  vertical-align: middle;
}
.contact .confirm_txt{
  text-align: center;
}
.contact .confirm_txt strong{
  color: var(--main-color);
}
.contact#thanks p{
  font-size: 24px;
  padding-top: 60px;
}
.contact#thanks + a{ opacity: 0; position: relative; z-index: -1;}

.contact .select-radio{
  display: flex;
}
.contact .select-radio li{
  margin-right: 2em;
}
.contact .select-radio li label{
  color: #333;
  font-weight: 400 !important;
  font-family: "FOT-筑紫A丸ゴシック Std R", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

@media screen and (max-width:640px) {
  .contact .confirm_txt{
    text-align: left;
  }
  .contact#thanks p{
    font-size: 18px;
    padding-top: 20px;
  }
  .contact table.confirm_table th,.contact table.confirm_table td{
    float: left;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 10px;
  }
}