/*** --------------- 固定ページ見出し共通 --------------- ***/
.h2-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 40px;
}

.h2-box .en-font-60 {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  text-transform: capitalize;
  line-height: normal;
  font-size: 375%;
  display: inline-block;
}

.h2-box .h2-title {
  font-size: 125%;
  font-weight: 700;
  display: inline-block;
}

/*** --------------- section --------------- ***/
section {
  padding: 80px 0 140px;
}

/*** --------------- title img --------------- ***/
.recruit-page::before {
  background: url(../img/common/title-bg-recruit.jpg) center center / cover no-repeat;
}

/*** --------------- message --------------- ***/
.rm-wrap {
  padding: 0 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.rm-wrap .text-box,
.rm-wrap .img-box {
  width: calc(50% - 20px);
}

.rm-wrap .img-box {
  padding: 50px;
  position: relative;
  aspect-ratio: 1/1;
}

.rm-wrap .img-box::before,
.rm-wrap .img-box::after {
  content: "";
  position: absolute;
  display: inline-block;
  z-index: -2;
  width: calc(100% - 50px);
  height: calc(100% - 50px);
  aspect-ratio: 1/1;
}

.rm-wrap .img-box::before {
  background-color: #f9cda5;
  bottom: 0px;
  right: 0px;
}

.rm-wrap .img-box::after {
  background-color: #acc6e2;
  top: 0px;
  left: 0px;
}

.rm-wrap .text-box .in-text-box p {
  margin-top: 24px;
}

@media screen and (max-width: 1399px) {
  .rm-wrap {
    padding: 0;
  }
}

@media screen and (max-width: 991px) {
  .rm-wrap .img-box {
    padding: 20px;
  }

  .rm-wrap .img-box::before,
  .rm-wrap .img-box::after {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }
}

@media screen and (max-width: 768px) {

  .rm-wrap .text-box,
  .rm-wrap .img-box {
    width: 100%;
  }
}

/*** --------------- job-list --------------- ***/
.j-list-sec {
  background-color: #efefef;
}

.j-list-sec .h2-box {
  text-align: center;
}

.job-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 104px;
}

.job-link {
  padding: 20px;
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.job-link .img-box {
  width: calc(38% - 12px);
  aspect-ratio: 20/13;
  overflow: hidden;
}

.job-link .img-box img {
  transition: 0.3s;
}

.job-link:hover {
  opacity: 0.7;
}

.job-link:hover .img-box img {
  transform: scale(1.08);
}

.job-link .text-box {
  width: calc(62% - 12px);
}

.job-link .text-box .sub {
  margin-bottom: 12px;
}

.job-link .text-box .sub p {
  font-size: 112.5%;
  display: inline-block;
  font-weight: 700;
  color: #fff;
  background-color: #444;
  padding: 20px 40px;
}

.job-link .text-box h3 {
  font-size: 125%;
  margin-bottom: 16px;
}

.job-link .text-box .btn-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.job-link .text-box .line-button {
  padding: 16px 60px 16px 20px;
  display: inline-block;
  position: relative;
  margin-left: auto;
  margin-right: 0;
}

.job-link .text-box .line-button::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 10px;
  background: url(../img/common/arrow-right-b.png) center center / contain no-repeat;
  top: calc(50% - 5px);
  right: 20px;
  transition: 0.3s;
}

.job-link:hover .text-box .line-button::before {
  transform: rotate(360deg);
}

.job-link .text-box .line-button::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #444;
  bottom: 0;
  left: 0;
}

@media screen and (max-width: 1199px) {
  .job-list-wrap {
    padding: 0;
  }
}

@media screen and (max-width: 768px) {

  .job-link .img-box,
  .job-link .text-box {
    width: 100%;
  }

  .job-link .text-box .sub {
    text-align: center;
  }

  .job-link .text-box .sub p {
    padding: 10px 40px;
    text-align: center;
  }
}

.recruit-in {
  padding: 40px 0 140px;
}

.recruit-in .recruit-title {
  font-size: 200%;
  font-weight: 700;
  padding: 12px 32px;
  background-color: #444;
  color: #fff;
}

.recruit-in .job-dlist-wrap {
  margin-top: 24px;
  padding: 0 50px;
}

.recruit-in .job-dlist {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.recruit-in .job-dlist dt {
  width: 210px;
  padding: 20px 20px;
  color: #fff;
  background-color: #444;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.recruit-in .job-dlist dd {
  width: calc(100% - 210px);
  padding: 20px 40px;
  margin-bottom: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.recruit-in .job-dlist dt::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #fff;
  left: 0;
  top: -1px;
}

.recruit-in .job-dlist dt:first-child::before {
  background-color: #444;
}



.recruit-in .job-dlist dd::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #444;
  left: 0;
  top: -1px;
}

.recruit-in .job-dlist dd:last-child:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #444;
  left: 0;
  bottom: 1px;
}


@media screen and (max-width: 991px) {
  .recruit-in .job-dlist-wrap {
    padding: 0;
  }
}

@media screen and (max-width: 576px) {

  .recruit-in .job-dlist dt,
  .recruit-in .job-dlist dd {
    width: 100%;
  }

  .recruit-in .job-dlist dt {
    padding: 10px 20px;
  }
}

.recruit-contact {
  padding: 0 50px 140px;

}

.recruit-contact.bg-gray {
  background: #efefef;
}

@media screen and (max-width: 768px){
  .recruit-contact{
    padding: 0 20px 120px;
  }
}

@media screen and (max-width: 576px){
    .recruit-contact{
    padding: 0 15px 120px;
  }
}