.contact_inner {
  margin-left: auto;
  margin-right: auto;
}

.contact h3{
  text-align: center;
  color: #de6b5e;
}

.thanks-m {
  text-align: center;
  font-weight: 400;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.thanks-text {
  line-height: 2.0;
  margin-bottom: 30px;
}

ul.form_tr li:first-child {
  border-top: 1px solid #ddd;
}

ul.form_tr li {
  display: flex;
}

ul.form_tr li:last-child {
  margin: 0;
}

.form_th {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 240px;
  line-height: 1.6;
  padding: 25px;
  background: #f9f9f9;
}

.form_td {
  padding: 25px;
  flex: 1;
}

.form_th.hissu:after, .form_th.nini:after {
  display: flex;
  font-size: 1.1rem;
  border-radius: 3px;
  width: 40px;
  height: 20px;
  font-weight: 400;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  background: #fff;
}

.form_th.hissu:after {
  content: '必須';
  color: #e5412b;
  border: solid 1px #e5412b;
}

.form_th.nini:after {
  content: '任意';
  color: #0897FF;
  border: solid 1px #0897FF;
}

.form-control {
  color: #000;
  border: 1px solid #c8c8e2;
  height: auto;
  padding: 8px 20px;
  -moz-border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  -o-border-radius: 0.2em;
  -ms-border-radius: 0.2em;
  border-radius: 0.2em;
}

@media(min-width:768px) {
  #contact {
    margin-top: -100px;
    padding-top: 100px;
  }

  ul.form_tr li {
    border-bottom: 1px solid #ddd;
  }

  .item__txt--m .form-control {
    width: 60% !important;
  }
}

@media(min-width:1024px) {
  .contact_inner {
    padding: 0px 40px;
  }

  .thanks-m {
    font-size: 1.7rem;
  }

  .thanks-text {
    text-align: center;
  }
}

@media(min-width:1366px) {
  .contact_inner {
    width: 1080px;
    padding: 0px 80px;
  }

  .thanks-m {
    font-size: 2.0rem;
  }
}

@media only screen and (max-width: 736px) {
  .contact .white_bg{
    background: #fff;
  }

  .contact h3{
    font-size: 2.0rem;
  }

  ul.form_tr li {
    display: block;
  }

  ul.form_tr li:first-child {
    border-top: 1px solid #b7c0bd;
  }

  .form_th {
    display: block;
    width: 100%;
    padding: 15px 0px 0;
    background: #fff;
  }

  .form_td {
    padding: 15px;
    border-bottom: 1px solid #b7c0bd;;
    padding: 15px 0;
  }

  ul.form_tr li:last-child .form_td {
    border-bottom: 0px solid #b7c0bd;;
  }

  .form_th.hissu:after, .form_th.nini:after {
    position: absolute;
    top: 10px;
    right: 0px;
  }
}

@media only screen and (max-width: 414px) {
  #contact {
    margin-top: -50px;
    padding-top: 50px;
  }
}

/* ------------------------------------------------------------------
レイアウト
------------------------------------------------------------------ */
.form__parts__row {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
}

.form__parts__row:last-child {
  margin: 0;
}

.form__parts__row__in {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
}

.form__parts__row__in:last-child {
  margin: 0;
}

.form__parts__label {
  width: 120px;
}

.form__parts__label__in {
  width: 120px;
}

.form__parts__label__ss {
  width: 40px;
}

.form__parts__label__xxs {
  width: 17px;
}

.form__parts__col {
  flex: 1;
}

.form__notice {
  margin: 10px 0 0;
  font-size: 1.4rem;
  line-height: 1.6;
}

.form__notice:first-child {
  margin: 0 0 10px;
}

@media only screen and (max-width:767.98px) {
  .form__parts__row {
    display: block;
    margin: 0 0 15px;
  }

  .form__parts__row__in {
    margin: 0 0 15px;
  }

  .form__parts__label {
    display: block;
    width: inherit;
    margin: 0 0 10px
  }

  .form__parts__label .s {
    font-size: 1.0rem;
  }

  .form__notice {
    font-size: 3.2vw;
  }
}

/* ------------------------------------------------------------------
padding margin
------------------------------------------------------------------ */
.p_left {
  padding-left: .5em;
}

@media only screen and (max-width:767.98px) {}

/* ------------------------------------------------------------------
text
------------------------------------------------------------------ */
.p__contact__top {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

@media only screen and (max-width:767.98px) {
  .p__contact__top {
    font-size: 1.2rem;
  }
}

/* ------------------------------------------------------------------
チェック
------------------------------------------------------------------ */
.check_btn label {
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
  padding: 15px 20px;
  background: #eee;
  border-radius: .2em;
  cursor: pointer;
}

/* ------------------------------------------------------------------
agreebox
------------------------------------------------------------------ */
.form__agreebox {}

.form__agreebox p {
  font-size: 1.3rem;
  line-height: 1.8;
}

.form__agreebox a {
  text-decoration: underline;
}

.form__agreebox .agree__i {
  margin: 20px 0 0;
}

.form__agreebox .agree__i label {
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
  padding: 10px 20px;
  background: #f5f5f5;
  border-radius: .2em;
  cursor: pointer;
}

@media only screen and (max-width:767.98px) {
  .form__agreebox p {
    font-size: 3.2vw;
    line-height: 1.6;
  }

  .form__agreebox .agree__i {
    margin: 10px 0 0;
  }

  .form__agreebox .agree__i label {
    display: block;
    text-align: center;
    padding: 15px;
    background: #fff;
  }
}

/* ------------------------------------------------------------------
セレクト
------------------------------------------------------------------ */
.form__body .select__wrap {
  position: relative;
}

.form__body .select__wrap:before {
  z-index: 1;
  content: "";
  position: absolute;
  right: 15px;
  top: 45%;
  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  transform: translate(0, -50%);
  border: 4px solid transparent;
  border-top: 8px solid #222;
  margin: 5px 0 0;
  pointer-events: none;
}

.form__body .select__wrap select {
  outline: none;
  text-overflow: '';
  vertical-align: middle;
  font-size: inherit;
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 12px;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 3px;
  width: 100%;
}

/* ------------------------------------------------------------------
確認画面ページ--非表示
------------------------------------------------------------------ */
.confirm__page {}

.confirm__page .form__body .select__wrap:before {
  display: none;
}

.confirm__page .form__notice {
  display: none;
}

.confirm__page .form__agreebox p {
  display: none;
}

/* ------------------------------------------------------------------
ボタン
------------------------------------------------------------------ */
.form__btn .btn {
  margin-top: 0;
  margin-bottom: 0px;
  width: 150px;
  line-height: 44px;
  font-size: 1.4rem;
}

@media(min-width:768px) {
  .form__btn .btn {
    margin-top: 30px;
  }
}

@media only screen and (max-width: 428px) {
  .form__btn .btn {
    font-size: 1.3rem;
  }
}

/* ------------------------------------------------------------------
error
------------------------------------------------------------------ */
.form__body .error {
  position: relative;
  display: flex;
  align-items: center;
  margin: 10px 0 0 0;
  font-size: 1.2rem;
  font-weight: 400;
  color: #ea4949;
  background: #ffeeee;
  padding: 5px 15px 5px 30px;
  border-radius: 3px;
}

.form__body .error:before {
  display: block;
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  left: 10px;
  top: 50%;
  margin-top: -6px;
  background-image: url(../img/exclamation.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}

@media only screen and (max-width:767.98px) {
  .form__body .error {
    font-size: 3.2vw;
    padding: 5px 10px;
  }
}

/* ------------------------------------------------------------------
ステップバー
------------------------------------------------------------------ */
.progressbar {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-radius: 30px;
  overflow: hidden;
}

.progressbar .item {
  position: relative;
  width: 33.333333%;
  text-align: center;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  line-height: 2.4em;
  background: #ccc;
  color: #fff;
  letter-spacing: .1em;
  font-size: 1.2rem;
  line-height: 1;
}

.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 100%;
  content: '';
  border: 22px solid transparent;
  border-left: 20px solid #ccc;
  margin: auto;
}

.progressbar .item:not(:last-child)::before {
  margin-left: 3px;
  border-left-color: #FFF;
}

.step__bar {
  display: block;
  line-height: 1;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 4px;
  font-size: 1.3rem;
  letter-spacing: .1em;
}

.step__bar strong {
  padding-left: .2em;
  font-size: 1.6rem;
}

@media screen and (max-width: 767px) {
  .progressbar .item {
    font-size: 1.0rem;
    line-height: 1;
    padding: 10px 0;
    font-weight: 400;
  }

  .progressbar .item:not(:last-child)::before,
  .progressbar .item:not(:last-child)::after {
    border-width: 25px;
    border-left-width: 12px;
  }

  .progressbar .item:not(:last-child)::before {
    margin-left: 1px;
  }
}

/* active */
.progressbar .item.active {
  z-index: 1;
  background: #fc8314;
  color: #FFF;
}

.progressbar .item.active:not(:last-child)::after {
  border-left-color: #fc8314;
}

.progressbar .item.active:not(:last-child)::before {
  border-left: none;
}
/* ------------------------------------------------------------------
reCAPTCHA 非表示
------------------------------------------------------------------ */
.grecaptcha-badge {
  visibility: hidden;
}
