main p.lead a {
  color: #005bac;
  font-size: inherit;
}
main a.btn, main input.btn {
  background-color: #d64287;
}
main .hissu {
  color: #FFF;
  font-size: 0.8em;
  line-height: 1;
  margin-left: 0.5em;
  padding: 0.3em 0.3em 0.2em;
  display: inline-block;
  background-color: #e8528d;
}

#contactFlow {
  margin: 1.5rem 0;
  -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  justify-content: center;
}
#contactFlow li {
  color: #e8528d;
  font-size: 1.4rem;
  line-height: 1.3;
  text-align: center;
  text-indent: -1em;
  width: calc(100% / 3);
  margin: 0;
  padding: 1rem 0;
  background-color: #fae6f0;
  -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
}
#contactFlow li::after {
  content: "";
  width: 20%;
  height: 100%;
  display: block;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  position: absolute;
  right: -1px;
  top: 0;
}
#contactFlow li:nth-of-type(1) {
  color: #FFF;
  background-color: #e8528d;
}
.mw_wp_form_confirm #contactFlow li:nth-of-type(1) {
  color: #e8528d;
  background-color: #fae6f0;
}
.finish #contactFlow li:nth-of-type(1) {
  color: #e8528d;
  background-color: #fae6f0;
}
#contactFlow li:nth-of-type(1)::after {
  background-image: url("../img/contact/ph1-1.svg");
}
.mw_wp_form_confirm #contactFlow li:nth-of-type(1)::after {
  background-image: url("../img/contact/ph2-1.svg");
}
.finish #contactFlow li:nth-of-type(1)::after {
  background-image: url("../img/contact/ph1-2.svg");
}
.mw_wp_form_confirm #contactFlow li:nth-of-type(2) {
  color: #FFF;
  background-color: #e8528d;
}
#contactFlow li:nth-of-type(2)::after {
  background-image: url("../img/contact/ph1-2.svg");
}
.mw_wp_form_confirm #contactFlow li:nth-of-type(2)::after {
  background-image: url("../img/contact/ph1-1.svg");
}
.finish #contactFlow li:nth-of-type(2)::after {
  background-image: url("../img/contact/ph2-1.svg");
}
.finish #contactFlow li:nth-of-type(3) {
  color: #FFF;
  background-color: #e8528d;
}
.finish #contactFlow li:nth-of-type(3)::after {
  background-image: url("../img/contact/ph3-3.svg");
}
#contactFlow li:nth-of-type(3)::after {
  background-image: url("../img/contact/ph1-3.svg");
}
#contactFlow p.caution {
  font-size: 1.2rem;
  width: 100%;
  margin: 1em auto;
}

.formTable {
  width: 100%;
  table-layout: fixed;
}
.formTable.child {
  border: solid 2px #e3e3e3;
}
.formTable.child tr {
  padding: 1.5rem;
  border-color: #e3e3e3;
}
.formTable.child tr:last-child {
  border-bottom: none;
}
.formTable tr {
  width: 100%;
  padding: 1.5rem 0;
  display: block;
  border-bottom: solid 1px #f0c7d2;
}
.formTable tr.space {
  border: none;
}
.formTable tr.renrakuSelect td .caution {
  margin-top: 0.1em;
  display: block;
}
.mw_wp_form_confirm .formTable tr.renrakuSelect td .caution {
  display: none;
}
.formTable tr.rowHeader {
  padding: 0.8rem 1.5rem;
  border-top: solid 1px #f0c7d2;
  background-color: #fae6f0;
}
.formTable tr.rowHeader th {
  width: 100%;
}
.formTable tr#second_address {
  display: none;
  opacity: 0;
  transition: all 0.5s;
}
.mw_wp_form_input .formTable tr#second_address.show, .mw_wp_form_confirm .formTable tr#second_address.show {
  display: block;
  opacity: 1;
}
.formTable th {
  color: #333;
  font-size: 1.6rem;
  font-weight: 400;
  width: 100%;
  display: block;
}
.formTable td {
  font-size: 1.5rem;
  width: 100%;
  padding: 1rem 0;
  display: block;
  background-color: #FFF;
}
.formTable td span.checkbox + .caution {
  margin: 0;
}
.mw_wp_form_confirm .formTable td a {
  display: none;
}
.formTable td input[type=text], .formTable td input[type=email], .formTable td textarea {
  width: 100%;
  margin: 0.2em 0;
  padding: 0.25em 0.5em;
  display: block;
  border-radius: 0;
  border: solid 1px #e3e3e3;
  background-color: #fafafa;
}
.formTable td input[type=text].short, .formTable td input[type=email].short, .formTable td textarea.short {
  width: 30%;
}
.formTable td input[type=text].middle, .formTable td input[type=email].middle, .formTable td textarea.middle {
  width: 50%;
}
.formTable td input[type=text].long, .formTable td input[type=email].long, .formTable td textarea.long {
  width: 100%;
}
.formTable td input[type=text].zip, .formTable td input[type=email].zip, .formTable td textarea.zip {
  width: 5em;
  margin-left: 0.6em;
  display: inline-block;
}
.formTable td input[type=text].age, .formTable td input[type=email].age, .formTable td textarea.age {
  margin-right: 0.6rem;
}
.formTable td input[type=text].inline, .formTable td input[type=email].inline, .formTable td textarea.inline {
  display: inline-block;
}
.formTable td input[type=radio],
.formTable td input[type=checkbox] {
  margin-right: 0.25em;
}
.formTable td label {
  font-size: 1.6rem;
  margin-right: 1em;
  padding: 0.5rem;
}
.formTable td select {
  font-size: 1.6rem;
  padding: 0.25em 0.5em;
  margin: 1rem 0.2em 1rem 0.5em;
}
.formTable td select:first-of-type {
  margin-left: 0;
}
.formTable td select option {
  font-size: inherit;
}
.formTable td a {
  color: #005bac;
  font-size: 1.5rem;
  margin-top: 0.75em;
  display: block;
}
.formTable td .caution {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-top: -1em;
  display: block;
}
.formTable td .inline, .formTable td .pc_inline {
  margin: 0 0.5em 0 0;
  display: inline-block;
}
.formTable td .vertical {
  display: block;
}
.mw_wp_form_confirm .formTable .caution {
  display: none;
}

p.notice {
  font-size: 1.4rem;
  margin-top: 1.5em;
  display: block;
}

#application p.lead {
  font-size: 1.4rem;
  text-align: center;
}
#application .btn.back {
  color: #333;
  text-indent: 0;
  background-color: #e3e3e3;
  background-image: none;
}

div.agreement {
  margin: 4rem 0;
}

#scroll {
  color: #666;
  font-size: 1.4rem;
  height: 100vw;
  padding: 2rem;
  border: solid 1px #e3e3e3;
  overflow-y: scroll !important;
}
#scroll h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2rem;
  font-weight: 400;
}
#scroll h4 {
  font-size: 1.8rem;
  margin: 2em 0 0.5em;
  font-weight: 400;
}

.contact_finish .messageBox p.lead,
.document_finish .messageBox p.lead,
.recruit_finish .messageBox p.lead,
.member_finish .messageBox p.lead {
  font-size: 1.6rem;
}

@media print, screen and (min-width: 768px) {
  #contactFlow {
    max-width: 720px;
    margin: 0 auto 40px;
  }
  #contactFlow li {
    font-size: 16px;
    line-height: 1;
    padding: 18px 0;
  }
  #contactFlow p.caution {
    font-size: 13px;
  }

  .formTable.child tr {
    padding-left: 24px;
    padding-right: 24px;
  }
  .formTable tr {
    padding: 24px 0;
  }
  .formTable th {
    font-size: 18px;
  }
  .formTable th .hissu {
    font-size: 12px;
  }
  .formTable td {
    font-size: 18px;
  }
  .formTable td input[type=text].middle,
  .formTable td input[type=email].middle {
    width: 50%;
  }
  .formTable td input[type=text].age,
  .formTable td input[type=email].age {
    width: 60px;
    margin-left: 1em;
  }
  .formTable td label {
    font-size: 18px;
  }
  .formTable td .caution {
    font-size: 16px;
  }

  p.notice {
    font-size: 16px;
  }

  #application p.lead {
    color: #333;
    font-size: 20px;
    margin: 3em 0;
  }
  #application .btnWrap {
    margin-bottom: 60px;
  }
  #application .btnWrap p.lead {
    font-size: 15px;
    margin-bottom: 1em;
  }

  #scroll {
    height: 300px;
  }

  .contact_finish .messageBox p.lead,
  .document_finish .messageBox p.lead,
  .recruit_finish .messageBox p.lead,
  .member_finish .messageBox p.lead {
    font-size: 20px;
    text-align: center;
  }
}
@media print, screen and (min-width: 1000px) {
  .formTable {
    border-top: solid 1px #f0c7d2;
  }
  .formTable.child {
    border: none;
  }
  .formTable.child tr {
    padding: 0;
  }
  .formTable.child tr:first-child th, .formTable.child tr:first-child td {
    padding-top: 0;
  }
  .formTable.child tr:last-child th, .formTable.child tr:last-child td {
    padding-bottom: 0;
  }
  .formTable.child th, .formTable.child td {
    padding: 20px 0;
  }
  .formTable.child th {
    width: 200px;
    background-color: #FFF;
  }
  .formTable tr {
    padding: 0;
  }
  .formTable tr.rowHeader {
    margin-top: 80px;
    padding: 0;
  }
  .formTable tr.rowHeader th {
    font-weight: 500;
    padding: 15px 40px;
    background-color: transparent;
  }
  .formTable th, .formTable td {
    vertical-align: middle;
    padding: 24px 40px;
    display: table-cell;
  }
  .formTable th {
    width: 280px;
    background-color: #fffafd;
  }
  .formTable td {
    width: auto;
  }

  #scroll {
    height: 400px;
    padding: 40px;
  }
  #scroll h3 {
    font-size: 30px;
  }
}
.recruit-child .mainVisual h1 span {
  display: block;
}
.recruit-child .mainVisual h1 span.small {
  font-size: 0.6em;
}
