/* 共通スタイルは外に書く */
.main__image {
  width: 100%;
  height: 100%;
}
.main__titleBox {
  padding: 6%;
}
.main__title {
  position: relative;
  padding-bottom: 30px;
  font-family: "IMFellGreatPrimer-Regular";
}
.main__title::after {
  position: absolute;
  bottom: 0;
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ccc;
}
.message__box {
  background-image: url(../../image/Rectangle.png);
  background-position: center;
  background-size: cover;
  text-align: center;
  padding: 10px 0;
}
.recruit__inner {
  padding: 7%;
}
.contentsTitle {
  text-align: center;
  color: #00315c;
}
.recruit__descriptionBox {
  margin-top: 30px;
}
.jobType__inner {
  margin-top: 30px;
}
.jobType__textBox {
  margin-top: 30px;
  padding: 0 5%;
  text-align: center;
  font-size: max(1.5vw,12px);
}
.jobType__text:not(:first-child) {
  margin-top: 30px;
}
.text-hidden {
  display: none;
}
@media screen and (min-width: 796px) { /* pc用スタイル */
  .p-header__nav {
    filter: invert(1);
  }
  .main__imageBox {
    height: 350px;
  }
  .main__titleRuby {
    font-size: min(1.5vw, 20px);
  }
  .main__title {
    font-size: min(4vw, 50px);
  }
  .message__inner {
    padding: 0 12%;
  }
  .message__box {
    font-size: min(1.5vw,20px);
  }
  .contentsTitle {
    font-size: 24px;
  }
  .recruit__description {
    display: flex;
    padding: 2% 7%;
    border-bottom: 1px solid #ccc;
  }
  .recruit__title {
    margin-right: 7%;
    width:100px;
  }
}

@media screen and (max-width: 795px) { /* sp用スタイル */
  .main__imageBox {
    height: 200px;
  }
  .main__titleRuby {
    font-size: max(1.5vw, 10px);
  }
  .main__title {
    font-size: max(2vw, 30px);
  }
  .message__inner {
    padding: 0 10%;
  }
  .message__box {
    font-size: max(1.5vw,11px)
  }
  .recruit__description {
    padding: 2% 5%;
    border-bottom: 1px solid #ccc;
  }
  .recruit__title {
    font-weight: bold;
  }
  .jobType__inner {
    padding-bottom: 30px;
  }
}

@media screen and (max-width: 475px) {
  .text-hidden {
    display: block;
  }
}