.clearfix::after {
  display: table;
  clear: both;
  content: '';
}

.pre {
  white-space: pre;
}

.pre-wrap {
  white-space: pre-wrap;
}

br.sp {
  display: inline;
}

br.pc {
  display: none;
}

.p-contact {
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  padding: 20px;
  background-color: #f2f3f8;
}

.p-contact__inner {
  padding: 60px 20px;
  margin: auto;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0px 10px 80px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 10px 80px rgba(0, 0, 0, 0.1);
}

.p-contact__step {
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.p-contact__step__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.p-contact__step__item > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-size: 3rem;
  font-weight: 700;
  color: #1a50ad;
  letter-spacing: 0.08em;
  background-color: #ffffff;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}

.p-contact__step__item > div span {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.p-contact__step__item:not(:first-child)::before {
  width: 20px;
  height: 1px;
  margin: -20px 14px 0;
  content: '';
  background-color: #cecece;
}

.p-contact__step__item:not(.is-active) > div {
  color: #cecece;
}

.p-contact-complete {
  margin-top: 60px;
}

.p-contact-complete__title {
  font-size: 28.8px;
  font-size: 1.8rem;
  line-height: 1.7;
  text-align: center;
}

.p-contact-complete__text {
  margin-top: 30px;
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0.06em;
}

.p-contact-complete__btnWrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  margin: 60px auto 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}

.p-contact-complete__btn {
  margin-right: auto;
  margin-left: auto;
}

.p-contact-complete__btn:not(:first-child) {
  margin-top: 30px;
}

@media only screen and (min-width: 1024px) {
  br.sp {
    display: none;
  }
  br.pc {
    display: inline;
  }
  .p-contact {
    padding: 80px 90px;
  }
  .p-contact__inner {
    max-width: 1260px;
    padding: 80px 40px;
  }
  .p-contact__step__item > div {
    font-size: 4rem;
    letter-spacing: 0.06em;
  }
  .p-contact__step__item > div span {
    font-size: 1.4rem;
  }
  .p-contact__step__item:not(:first-child)::before {
    width: 40px;
    margin: -20px 20px 0;
  }
  .p-contact-complete__title {
    font-size: 2rem;
    letter-spacing: 0.06em;
  }
  .p-contact-complete__text {
    font-size: 1.4rem;
  }
  .p-contact-complete__btnWrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .p-contact-complete__btn {
    margin: 0 20px;
  }
  .p-contact-complete__btn:not(:first-child) {
    margin-top: 0;
  }
}
