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;
  }
}
.contact #intro .col2 {
  border: solid 1px #e3e3e3;
}
.contact #intro .col2 .textBox {
  padding: 1rem 1.5rem;
  background-color: #fafafa;
  border-bottom: solid 1px #e3e3e3;
}
.contact #intro .col2 .textBox h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 400;
}
.contact #intro .col2 .textBox p.caution {
  font-size: 1.3rem;
  line-height: 1.4;
  margin: 0;
}
.contact #intro .col2 .numBox {
  padding: 1rem 1.5rem;
  position: relative;
}
.contact #intro .col2 .numBox::after {
  content: "";
  width: 9rem;
  height: 8rem;
  display: block;
  background-image: url("../img/contact/btn-staff.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  position: absolute;
  right: 0;
  bottom: 0;
}
.contact #intro .col2 .numBox a {
  color: #d64287;
  font-size: 1.6rem;
  font-weight: 500;
}
.contact #intro .col2 .numBox a .num {
  font-size: 1.8em;
  margin-left: 0.05em;
  position: relative;
  top: 0.04em;
  z-index: 2;
}
.contact #application ul.tabs {
  -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: space-between;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.contact #application ul.tabs .tab {
  color: #e8528d;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  width: 49%;
  margin: 0;
  padding: 1em 0.5em;
  display: block;
  background-color: #fae6f0;
  border: solid 3px #fae6f0;
  border-bottom: none;
  transition: opacity 0.3s;
}
.contact #application ul.tabs .tab[aria-selected="true"] {
  color: #FFF;
  font-weight: 500;
  background-color: #e8528d;
  border-color: #e8528d;
  cursor: default;
  pointer-events: none;
}
.contact #application ul.tabs .tab[aria-selected="true"] span {
  display: none;
}
.contact #application ul.tabs .tab:hover {
  cursor: pointer;
  opacity: 0.7;
}
.contact #application ul.tabs .tab a {
  font-size: inherit;
  width: 100%;
  height: 100%;
  display: block;
}
.contact #application .panels {
  border: solid 3px #e8528d;
}
.contact #application .panel {
  padding: 2rem 1.5rem;
}
.contact #application .panel[aria-hidden="true"] {
  display: none;
}
.contact #application .panel#documentForm {
  padding-top: 60px;
  background-image: url("../img/contact/panf_bg.jpg");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
}
.contact #application .announce {
  margin-bottom: 4rem;
}
.contact #application .announce h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 400;
  text-shadow: 2px 2px 4px #FFF;
}
.contact #application .announce .img {
  width: 80%;
  margin: 0 auto;
}
@media print, screen and (min-width: 768px) {
  .contact #intro .col2 {
    -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: space-between;
    justify-content: space-between;
  }
  .contact #intro .col2 > div {
    width: 50%;
  }
  .contact #intro .col2 .textBox {
    border-bottom: none;
    border-right: solid 1px #e3e3e3;
  }
  .contact #intro .col2 .textBox h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .contact #intro .col2 .numBox {
    -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;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }
  .contact #intro .col2 .numBox::after {
    width: 140px;
    height: 120px;
    right: -20px;
  }
  .contact #intro .col2 .numBox a {
    font-size: 18px;
  }
  .contact #application ul.tabs .tab {
    font-size: 18px;
    width: 49.6%;
  }
  .contact #application .panel {
    padding: 30px;
  }
  .contact #application .panel#documentForm {
    background-size: 70% auto;
  }
  .contact #application .announce {
    padding-bottom: 10vw;
    position: relative;
  }
  .contact #application .announce h3 {
    font-size: 32px;
  }
  .contact #application .announce p {
    font-size: 15px;
  }
  .contact #application .announce .img {
    width: 40%;
    position: absolute;
    right: 30px;
    top: 100px;
  }
}
@media print, screen and (min-width: 1000px) {
  .contact #intro .col2 .textBox {
    padding: 20px 30px;
  }
  .contact #intro .col2 .textBox h3 {
    font-size: 28px;
  }
  .contact #intro .col2 .textBox p.caution {
    font-size: 15px;
  }
  .contact #intro .col2 .numBox {
    padding: 20px 30px;
  }
  .contact #intro .col2 .numBox::after {
    width: 180px;
    height: 160px;
  }
  .contact #intro .col2 .numBox a {
    font-size: 24px;
  }
  .contact #application ul.tabs .tab {
    font-size: 22px;
  }
  .contact #application .panel {
    padding: 50px;
  }
  .contact #application .announce {
    padding-bottom: 50px;
  }
  .contact #application .announce .img {
    width: 370px;
    top: -10px;
  }
}
