@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");
/* ====================================================

    ┏───────────────────────┓
    │   Table Of Contents   │
    ┗───────────────────────┛

    1. Visual
    1-1. Reset
    2. Professional
    3. Service
    4. News
    5. Recruit
    6. Loading

==================================================== */
/* ====================================

  0. Container

==================================== */
.hero {
  background-image: url(/wp/wp-content/themes/royal_new_theme/assets/images/pages/mail/hero-ph_1.jpg);
}

@media screen and (max-width: 959px) {
  .hero {
    background-image: url(/wp/wp-content/themes/royal_new_theme/assets/images/pages/mail/hero-ph_1_sp.jpg);
  }
}

/* ====================================

  1. Search

==================================== */
.search-content {
  padding-top: 30px;
  padding-bottom: 40px;
  background-color: #f6f6f6;
}

@media screen and (max-width: 959px) {
  .search-content {
    margin-right: -2.66667vw;
    margin-left: -2.66667vw;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.search-body {
  padding: 20px 30px 30px;
    text-align: left;
}

.search-button {
  width: 330px;
  margin-right: auto;
  margin-left: auto;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 3em;
}

@media screen and (max-width: 959px) {
  .search-button {
    width: 86.66667vw;
    height: 16vw;
    font-size: 15px;
    font-size: 1.5rem;
  }
}

.search-button .icon-search {
  width: 22px;
  height: 22px;
}

@media screen and (max-width: 959px) {
  .search-button .icon-search {
    width: 5.86667vw;
    height: 5.86667vw;
  }
}

@media screen and (max-width: 959px) {
  .search-button.-arrow:after {
    right: 4vw;
    width: 2.4vw;
    height: 2.4vw;
    margin-top: -1.2vw;
  }
}

.search-block-lower {
  margin-top: 30px;
}

@media screen and (max-width: 959px) {
  .search-block-lower {
    margin-top: 4vw;
  }
}

.search-block:last-of-type {
  position: relative;
  margin-bottom: 30px;
}

@media screen and (max-width: 959px) {
  .search-block:last-of-type {
    margin-bottom: 8vw;
  }
}

.search-block:last-of-type:before {
  position: absolute;
  right: 30px;
  bottom: 0;
  left: 30px;
  content: "";
  border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 959px) {
  .search-block:last-of-type:before {
    display: none;
  }
}

.search-block .title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  height: 50px;
  padding-right: 20px;
  padding-left: 20px;
  font-size: 16px;
  font-size: 1.6rem;
  background-color: #e2e2e2;
}

@media screen and (max-width: 959px) {
  .search-block .title {
    position: relative;
    height: auto;
    padding: 2vw 2.66667vw;
    line-height: 1.25;
  }
}

.search-block .title .form-custom-check {
  margin-left: 20px;
  font-size: 12px;
  font-size: 1.2rem;
}

@media screen and (max-width: 959px) {
  .search-block .title .form-custom-check {
    margin-left: 5.33333vw;
  }
}

.search-block .title .form-custom-check label {
  padding-left: 30px;
}

@media screen and (max-width: 959px) {
  .search-block .title .form-custom-check label {
    padding-left: 9.33333vw;
  }
}

.search-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
      flex-wrap: wrap;
  -ms-flex-wrap: wrap;
}

@media screen and (max-width: 959px) {
  .search-list .item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    min-height: 14.4vw;
    padding: 4vw;
  }
}

.search-list.-check .item {
  margin-bottom: 10px;
}

@media screen and (max-width: 959px) {
  .search-list.-check .item {
    margin-bottom: 0;
  }
}

.search-list.-pulldown {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

@media screen and (max-width: 959px) {
  .search-list.-pulldown {
    padding: 5.33333vw 6.66667vw;
  }
}

.search-list.-pulldown .from {
  margin-right: 10px;
  margin-left: 10px;
  line-height: 1;
}

@media screen and (max-width: 959px) {
  .search-list.-pulldown .from {
    margin-right: 2.66667vw;
    margin-left: 2.66667vw;
  }
}

.search-list.-pulldown > .form-custom-check {
  margin-left: 30px;
}

@media screen and (max-width: 959px) {
  .search-list.-pulldown > .form-custom-check {
    margin-top: 4vw;
    margin-left: 0;
  }
}

.search-list.-radio .item {
  margin-right: 35px;
}

@media screen and (max-width: 959px) {
  .search-list.-radio .item {
    width: calc(100% / 2);
    margin-right: 0;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
}

.search-list.-col_3 .item {
  width: calc(100% / 3);
}

@media screen and (max-width: 959px) {
  .search-list.-col_3 .item {
    width: 100%;
    border-top: 1px solid #ddd;
  }
  .search-list.-col_3 .item:first-of-type {
    border-top: none;
  }
}

.search-list.-col_4 .item {
  width: calc(100% / 4);
}

@media screen and (max-width: 959px) {
  .search-list.-col_4 .item {
    width: calc(100% / 2);
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
}

.search-list.-col_5 .item {
  width: calc(100% / 5);
}

@media screen and (max-width: 959px) {
  .search-list.-col_5 .item {
    width: calc(100% / 2);
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
}

.flow {
  margin-bottom: 30px;
}

.flow ol {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: stretch;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  justify-content: center;

  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

@media screen and (max-width: 959px) {
  .flow ol {
    margin: 0 5vw;
  }
}

.flow li {
  width: 166px;
}

@media screen and (max-width: 959px) {
  .flow li {
    width: 33.3%;
  }
}

.flow li span {
  display: block;
}

.flow li .num {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 0;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-size: 2rem;
  border: 8px solid #fff;
  border-radius: 50%;
  background-color: #eee;

  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}

.flow li .num:after {
  position: absolute;
  z-index: -1;
  top: 23px;
  left: -108px;
  content: "";
  display: block;
  width: 100px;
  height: 0;
  border-top: 4px solid #eee;
}

@media screen and (max-width: 959px) {
  .flow li .num {
    width: 50px;
    height: 50px;
    font-size: 16px;
    font-size: 1.6rem;
    border: 5px solid #fff;
  }
  .flow li .num:after {
    top: 18px;
    left: -250%;
    width: 250%;
  }
}

.flow li .txt {
  font-size: 14px;
  font-size: 1.4rem;
  text-align: center;
}

@media screen and (max-width: 959px) {
  .flow li .txt {
    font-size: 12px;
    font-size: 1.2rem;
  }
}

.flow li:first-child .num:after {
  display: none;
}

.flow li.cr .num {
  color: #fff;
  background-color: #d02e2c;
}

.search-body {
  background-color: #f6f6f6;
}

@media screen and (max-width: 959px) {
  .search-body {
    padding: 3vw 4vw;
  }
}

.privacy-wrap {
  height: 240px;
  margin-top: 40px;
  padding: 28px 38px;
  border: 1px solid #ccc;
  overflow-y: auto;
}

@media screen and (max-width: 959px) {
  .privacy-wrap {
    height: 180px;
    margin: 30px 2vw 0;
    margin-top: 30px;
    padding: 3vw 3vw;
  }
}

.privacy .hd01 {
  position: relative;
  margin-bottom: 16px;
  padding-left: 10px;
  font-size: 18px;
  font-size: 1.8rem;
}

.privacy .hd01:before {
  position: absolute;
  top: 50%;
  left: 0;
  content: "";
  display: block;
  width: 0;
  height: 24px;
  margin-top: -12px;
  border-right: 4px solid #d02e2c;
}

@media screen and (max-width: 959px) {
  .privacy .hd01 {
    margin-bottom: 8px;
    font-size: 17px;
    font-size: 1.7rem;
  }
  .privacy .hd01:before {
    height: 20px;
    margin-top: -10px;
  }
}

.privacy .line-hd01 {
  margin: 15px 0 4px;
}

.privacy .line-hd01 span {
  display: inline-block;
}

.privacy .line-hd01 .line {
  padding-bottom: 5px;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  border-bottom: 1px solid #d02e2c;
}

.privacy .line-hd01 .num {
  margin-right: 4px;
  color: #d02e2c;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-size: 2rem;
}

@media screen and (max-width: 959px) {
  .privacy .line-hd01 {
    margin: 10px 0 4px;
  }
  .privacy .line-hd01 .line {
    font-size: 15px;
    font-size: 1.5rem;
  }
}

.privacy p {
  margin: 1em 0;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.57;
}

.privacy ul {
  margin: 1em 0;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.57;
}

.privacy ul li {
  display: inline-block;
  margin-left: 15px;
}

.form-custom-check-wrap {
  margin-top: -10px;
  margin-left: -2em;
}

.form-custom-check-wrap .form-custom-check {
  margin-top: 10px;
  margin-left: 2em;
}

.form-custom-check-wrap .form-custom-check.inline {
  display: inline-block;
}

@media screen and (max-width: 959px) {
  .form-custom-check-wrap {
    margin-top: -10px;
    margin-left: -2em;
  }
  .form-custom-check-wrap .form-custom-check {
    margin-top: 10px;
    margin-left: 2em;
  }
  .form-custom-check-wrap .form-custom-check.inline {
    display: inline-block;
  }
  .form-custom-check-wrap.sp-check-wrap {
    margin: 0 -4vw 0;
  }
  .form-custom-check-wrap.sp-check-wrap .form-custom-check {
    display: block;
    margin: 0;
    padding: 10px 6vw;
  }
  .form-custom-check-wrap.sp-check-wrap .form-custom-check + .form-custom-check {
    border-top: 1px solid #ccc;
  }
  .form-custom-check-wrap.sp-check-wrap .form-custom-check label {
    display: block;
  }
}

.mail-textarea {
  width: 100%;
  height: 200px;
  margin-top: 10px;
  padding: 6px;
  font-size: 14px;
  font-size: 1.4rem;
  border: 1px solid #ccc;
}

@media screen and (max-width: 959px) {
  .mail-textarea {
    margin-top: 0;
  }
}

.input-text,.date_set,.mail-text,select {
  width: 250px;
  font-size: 14px;
  font-size: 1.4rem;
  border: 1px solid #ccc;
    display: inline-block;
    height: 35px;
    box-sizing: border-box;
    background: #fff;
    padding: 0 6px;
}
.date_set img {
    vertical-align: middle;
}

.input_set dd {
    margin-bottom: 10px;
}

.select-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5em;
}

#datepicker1,#datepicker2 {
    width: 210px;
    font-size: 14px;
    line-height: 35px;
}

.req {
  display: inline-block;
  margin-left: 1em;
  padding: 0 8px;
  color: #fff;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 20px;
  background-color: #d02e2c;
}

@media screen and (max-width: 959px) {
  .req {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -10px;
  }
}

.any {
  display: inline-block;
  margin-left: 1em;
  padding: 0 8px;
  color: #fff;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 20px;
  background-color: #777;
}

@media screen and (max-width: 959px) {
  .any {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -10px;
  }
}

.search-body dl + dl {
  margin-top: 18px;
}

.search-body dl dt {
  position: relative;
  margin-bottom: 10px;
  font-weight: 700;
}

@media screen and (max-width: 959px) {
  .search-body dl .any, .search-body dl .req {
    position: relative;
    margin-left: 2em;
  }
  .search-body dl + dl {
    margin-top: 14px;
  }
  .search-body dl dt {
    margin-bottom: 5px;
  }
}

.agree-wrap {
  margin: 25px 0 30px;
  text-align: center;
}

@media screen and (max-width: 959px) {
  .agree-wrap {
    padding: 0 2vw;
  }
}

.btn-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 30px;
  margin-bottom: 115px;
}

.btn-wrap .return-button, .btn-wrap .reset-button {
  width: 150px;
  margin-right: 30px;
  margin-left: auto;
}

.btn-wrap .return-button {
  width: 212px;
}

.btn-wrap .return-button:after {
  right: auto;
  left: 20px;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}

.btn-wrap .submit-button {
  width: 270px;
  margin-left: 0;
}

@media screen and (max-width: 959px) {
  .btn-wrap {
        flex-direction: column;
    margin-top: 20px;
    margin-bottom: 50px;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
  }
  .btn-wrap .return-button, .btn-wrap .reset-button {
    width: 50%;
    margin: 0 auto;

    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .btn-wrap .submit-button {
    width: 80%;
    margin: 0 auto 20px;

    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
}

.formErrorContent {
  color: #d02e2c;
}

.textarea-hide {
  height: 0;
  overflow: hidden;
}

.complete-wrap {
  margin-top: 50px;
  text-align: center;
}

.complete-wrap h2 {
  font-size: 24px;
  font-size: 2.4rem;
}

.complete-wrap p {
  margin: 12px 0 50px;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.5;
}

@media screen and (max-width: 959px) {
  .complete-wrap {
    margin-top: 30px;
  }
  .complete-wrap h2 {
    font-size: 20px;
    font-size: 2rem;
  }
  .complete-wrap p {
    margin: 10px 0 30px;
  }
}

.confirm-desc {
  margin-bottom: 1.5em;
}

.confirm-bold {
  font-weight: 700;
}


.relative {
    position: relative;
}

label.error {
    padding: 0!important;
    position: absolute!important;
    top:2.3em;
    left: 0;
    color: #d02e2c;
    font-weight: bold;
    width: 22em;
}
input[type="checkbox"] + label.error {
    top:1.7em;
}
#agree-error.error {
    top:1.7em;
    width: 100%;
}
.search-body.relative label.error {
    top:3.5em;
    left: 30px;
}
.form-custom-check label.error::before {
    content: none;
    
}