.nav-pc > ul > li:nth-child(5) > a::before {
  width: 100%;
}

.nav-sp__ul > li:nth-child(5) > a {
  background: #fce7e7;
}

.section-submain {
  margin-top: 92px;
}

.main-box {
  background: url("../../img/recruit/index/main-2022.jpg") no-repeat center center;
  height: 500px;
  background-size: cover;
  position: relative;
}
.main-box .section-submain__txt {
  height: 400px;
}
.main-box .section-submain__txt h1 {
  color: #fff;
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}
.main-box .section-submain__txt h1 .f-style {
  font-family: serif;
  font-weight: 700;
  color: #cf121b;
}
.main-box .section-submain__txt p {
  color: #cf121b;
  font-family: "Kaushan Script", cursive;
  font-size: 28px;
}

.main-txt {
  margin: 40px 0;
  position: relative;
}
.main-txt .box-left img {
  z-index: 100;
}
.main-txt .box-right {
  position: absolute;
  top: 15%;
  right: 10%;
}
.main-txt .box-right .coment-box {
  border: 1px solid #cf121b;
  background: #fff;
  max-width: 500px;
  padding: 20px;
  box-shadow: 20px 20px #cf121b;
}
.main-txt .box-right .coment-box h3 {
  font-size: 23px;
}
.main-txt .box-right .coment-box p {
  margin-top: 10px;
}
.main-txt .pc-only {
  display: block;
}
@media screen and (max-width: 768px) {
  .main-txt .pc-only {
    display: none;
  }
}

.main-txt::before {
  content: "";
  position: absolute;
  top: 16%;
  right: 18%;
  width: 50%;
  height: 80%;
  background: #ebebeb;
  border-radius: 33% 67% 24% 76%/58% 42% 58% 42%;
  z-index: -10;
}
@media screen and (max-width: 768px) {
  .main-txt::before {
    top: 50%;
    right: 0;
    width: 50%;
    height: 50%;
  }
}

.sp-only {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
}

.coment-box {
  border: 1px solid #cf121b;
  background: #fff;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 20px 20px #cf121b;
}
.coment-box h3 {
  font-size: 23px;
}
.coment-box p {
  margin-top: 10px;
}

.section-service {
  margin: 80px 0;
}
@media screen and (max-width: 480px) {
  .section-service {
    margin: 40px 0;
  }
}
.section-service__title {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #cf121b;
  font-size: 1.5rem;
}
.section-service__title span {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #cf121b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  color: #fff;
}
.section-service__box {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
.section-service__img {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .section-service__img {
    width: 100%;
  }
}
.section-service__img img {
  margin: 0 auto;
}
.section-service .pc-only {
  display: block;
}
@media screen and (max-width: 768px) {
  .section-service .pc-only {
    display: none;
  }
}
.section-service .sp-only {
  display: none;
}
@media screen and (max-width: 768px) {
  .section-service .sp-only {
    display: block;
  }
}
.section-service__txt {
  width: 50%;
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .section-service__txt {
    width: 100%;
    padding: 20px 0 0;
  }
}
.section-service__txt h4 {
  font-size: 1.5rem;
  color: #cf121b;
}
.section-service__txt h4 + p {
  margin: 10px 0;
  font-weight: bold;
  font-size: 1.125rem;
  color: #3fa8cf;
}
.section-service__h3 {
  margin-top: 80px;
  font-family: "Open Sans", sans-serif;
  font-size: 2.25rem;
  color: #cf121b;
  line-height: 1.2;
  text-align: center;
}
@media screen and (max-width: 480px) {
  .section-service__h3 {
    font-size: 1.875rem;
  }
}
.section-service__h3-txt {
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .section-service__h3-txt {
    font-size: 1.125rem;
  }
}
.section-service__row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.section-service .row2 {
  justify-content: center;
}
.section-service__col {
  display: flex;
  flex-direction: column;
  width: 32%;
  border: 5px solid #cf121b;
  border-radius: 10px;
  margin-top: 40px;
  padding: 40px;
}
@media screen and (max-width: 768px) {
  .section-service__col {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .section-service__col {
    border: 3px solid #cf121b;
    padding: 20px;
  }
}
.section-service__col h4 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #cf121b;
}
.section-service__col h4 + p {
  flex-grow: 1;
}
.section-service__col .pdf {
  margin-top: 20px;
}
.section-service__col .pdf:hover {
  opacity: 0.5;
}
.section-service__col .link-text ::after {
  content: ">";
}
.section-service__col .link-text a:hover {
  text-decoration: underline;
}
.section-service .col2 {
  width: 100%;
}
.section-service .col2 .p-flex {
  display: flex;
  justify-content: space-between;
  flex-flow: wrap;
}
.section-service .col2 .p-flex p {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .section-service .col2 .p-flex p {
    width: 100%;
  }
}
.section-service__point {
  background: #fce7e7;
  border-radius: 10px;
  margin-top: 20px;
  padding: 20px;
  font-weight: bold;
  color: #cf121b;
}

.link-section {
  margin: 0 auto 200px;
}
.link-section .link-box {
  display: flex;
  justify-content: space-around;
  padding: 0 30px;
}
@media screen and (max-width: 768px) {
  .link-section .link-box {
    padding: 0 10px;
  }
}
@media screen and (max-width: 480px) {
  .link-section .link-box {
    flex-wrap: wrap;
  }
}
.link-section .link-box .link-col {
  box-shadow: 30px 50px #cf121b;
  margin: 0 30px;
}
@media screen and (max-width: 768px) {
  .link-section .link-box .link-col {
    box-shadow: 20px 40px #cf121b;
  }
}
.link-section .link-box .link-col .link-img {
  position: relative;
}
.link-section .link-box .link-col .link-img .img-waku {
  overflow: hidden;
}
.link-section .link-box .link-col .link-img h4 {
  color: #cf121b;
  font-size: 32px;
  position: absolute;
  top: 50%;
  left: 10%;
}
@media screen and (max-width: 768px) {
  .link-section .link-box .link-col .link-img h4 {
    font-size: 20px;
  }
}
.link-section .link-box .link-col .link-img .h4-txt {
  color: #fff;
  font-size: 28px;
  position: absolute;
  top: 60%;
  left: 10%;
}
@media screen and (max-width: 768px) {
  .link-section .link-box .link-col .link-img .h4-txt {
    font-size: 18px;
  }
}
.link-section .link-box .link-col .link-img .push {
  position: absolute;
  bottom: -40px;
  right: -20px;
}
.link-section .link-box .link-col .link-img .push p {
  font-size: 22px;
  color: #fff;
}
.link-section .link-box .link-col .link-img .push:hover {
  text-decoration: underline;
  color: #fff;
}
.link-section .link-box .link-col .link-img .ImgBox-Img {
  transition-duration: 0.3s;
}
.link-section .link-box .link-col .link-img .ImgBox-Img:hover {
  transform: scale(1.2);
  transition-duration: 0.3s;
  opacity: 0.6;
}
@media screen and (max-width: 480px) {
  .link-section .link-box .first-top {
    margin-bottom: 70px;
  }
}

.section-recruit {
  margin-top: 40px;
  padding-top: 300px;
}
.section-recruit__link {
  display: none;
}
