@charset "utf-8";

/* ======================================
   recruit page custom
====================================== */
#Page-recruit {
  background:
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 24%, #f7faf8 100%);
}

#Page-recruit section {
  padding-top: 80px;
  padding-bottom: 80px;
}

#recruit-career {
    padding-bottom: 120px;
}

.RecruitBox {
  margin: 70px auto 40px;
  text-align: center;
}

.RecruitBox .title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.08em;
  /* color: #1f2b33; */
  margin-bottom: 24px;
}

.RecruitBox .text {
  /* max-width: 920px; */
  /* margin: 0 auto; */
  line-height: 2.1;
  color: #4b5963;
  font-size: 16px;
}

/* 上部ボタン */
.recruitbtn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 70px;
}

.recruitbtn a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #228cc1;
  background: #fff;
  border: 1px solid rgba(34, 140, 193, 0.22);
  box-shadow: 0 12px 28px rgba(31, 43, 51, 0.08);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}

.recruitbtn .recruit-career__btn  {
    color: #6ec35f;
    border: 1px solid rgba(110, 195, 95, 0.22);

}

.recruitbtn a:hover {
  transform: translateY(-4px);
  color: #fff;
  background: linear-gradient(135deg,  0%, #6ec35f 100%);
  box-shadow: 0 18px 36px rgba(34, 140, 193, 0.22);
}

/* 共通カード */
#recruit-new > div,
#recruit-career > div,
#recruit-benefits > div {
  /* background: transparent; */
  /* border-radius: 24px; */
  /* padding: 36px 36px 42px; */
  /* box-shadow: 0 18px 48px rgba(31, 43, 51, 0.08); */
  /* border: 1px solid rgba(34, 140, 193, 0.08); */
}

/* 見出し */
h2.recruitmidashi {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  padding: 14px 22px 14px 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, #228cc1 0%, #6ec35f 100%);
  color: #fff;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(34, 140, 193, 0.18);
}

h2.recruitmidashi::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.26);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.82);
}

/* 導入文 */
.recruitsyosai > .text {
  line-height: 2;
  color: #4b5963;
  margin-bottom: 18px;
}

.recruitsyosai > .text:first-of-type {
  font-size: 18px;
  font-weight: 700;
  color: #1f2b33;
  padding: 0 0 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e5edf2;
}

/* テーブル */
.recruitsyosai .table_design03 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 26px;
  overflow: hidden;
  /* border-radius: 18px; */
  border: 1px solid #dfe9ef;
  background: #fff;
}

.recruitsyosai .table_design03 tr:not(:last-child) th,
.recruitsyosai .table_design03 tr:not(:last-child) td {
  border-bottom: 1px solid #e7eef3;
}

.recruitsyosai .table_design03 th,
.recruitsyosai .table_design03 td {
  padding: 18px 20px;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.9;
}

.recruitsyosai .table_design03 th {
  width: 28%;
  background: linear-gradient(180deg, #f3f9fc 0%, #eef6fb 100%);
  color: #228cc1;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
  /* display: grid; */
  /* justify-content: center; */
  /* grid-template-columns: 1fr; */
  /* align-items: center; */
  /* width: 100%; */
  /* height: 100%; */
}

#recruit-new .table_design03 th, #recruit-new  .table_design03 td ,
#recruit-career .table_design03 th, #recruit-career  .table_design03 td {
    border-bottom: none;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
}

.recruitsyosai .table_design03 td {
  background: #fff;
  color: #44525c;
}

/* 尾崎建設で働くとこんないいことが！ */
.recruit-benefits-lead {
  margin: 0 0 28px;
  color: #4b5963;
  line-height: 2;
}

.recruit-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.recruit-benefit-card {
  position: relative;
  padding: 28px 22px 24px;
  /* border-radius: 20px; */
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid #e1edf3;
  box-shadow: 0 12px 30px rgba(31, 43, 51, 0.06);
}

.recruit-benefit-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    margin-bottom: 10px;
}

.recruit-benefit-card h3::before {
  content: attr(data-num);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 10px;
  margin-top: 5px;
  background: linear-gradient(135deg, #228cc1 0%, #6ec35f 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 18px rgba(34, 140, 193, 0.18);
}

.recruit-benefit-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  color: #1f2b33;
}

.recruit-benefit-card p {
  margin: 0;
  color: #52616c;
  line-height: 1.8;
  font-size: 16px;
}

.recruit-new__title {
    background: #228cc1;
}

.recruit-career__title {
    background: #6ec35f;
}

.recruit-career__subtitle {
    color: #6ec35f;
}


/* CAREER テーブル */
.recruitsyosai .table_design03.recruit-career__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 26px;
  overflow: hidden;
  /* border-radius: 18px; */
  border: 1px solid #dfefdf;
  background: #fff;
}

.recruitsyosai .table_design03.recruit-career__table tr:not(:last-child) th,
.recruitsyosai .table_design03.recruit-career__table tr:not(:last-child) td {
  border-bottom: 1px solid #e7eef3;
}

.recruitsyosai .table_design03.recruit-career__table th,
.recruitsyosai .table_design03.recruit-career__table td {
  padding: 18px 20px;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.9;
}

.recruitsyosai .table_design03.recruit-career__table th {
  width: 28%;
  background: linear-gradient(180deg, #f4fcf3 0%, #eefbef 100%);
  color: #6ec35f;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}




/* レスポンシブ */
@media screen and (max-width: 991.98px) {
  .recruit-benefits-grid {
    grid-template-columns: 1fr;
  }

  .recruitsyosai .table_design03 th {
    width: 34%;
  }
}

@media screen and (max-width: 767.98px) {
  #Page-recruit section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .RecruitBox {
    margin: 44px auto 28px;
  }

  .RecruitBox .title {
    font-size: 26px;
    line-height: 1.7;
    letter-spacing: 0.04em;
  }

  .RecruitBox .text {
    text-align: left;
    line-height: 1.95;
  }

  .recruitbtn {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 46px;
  }

  .recruitbtn a {
    min-height: 58px;
    font-size: 16px;
  }

  #recruit-new > div,
  #recruit-career > div,
  #recruit-benefits > div {
    padding: 24px 18px 28px;
    border-radius: 18px;
  }

  h2.recruitmidashi {
    display: block;
    padding: 13px 18px 13px 48px;
    font-size: 22px;
    margin-bottom: 22px;
  }

  h2.recruitmidashi::before {
    left: 16px;
    width: 18px;
    height: 18px;
    box-shadow: inset 0 0 0 4px rgba(255,255,255,0.82);
  }

  .recruitsyosai > .text:first-of-type {
    font-size: 16px;
  }

  .recruitsyosai .table_design03,
  .recruitsyosai .table_design03 tbody,
  .recruitsyosai .table_design03 tr,
  .recruitsyosai .table_design03 th,
  .recruitsyosai .table_design03 td {
    display: block;
    width: 100%;
  }

  .recruitsyosai .table_design03 tr {
    border-bottom: 1px solid #e7eef3;
  }

  .recruitsyosai .table_design03 tr:last-child {
    border-bottom: none;
  }

  .recruitsyosai .table_design03 th {
    border-bottom: none !important;
    padding: 14px 16px 8px;
    background: #eef7fb;
    white-space: normal;
  }

  .recruitsyosai .table_design03 td {
    /* padding: 0 16px 16px; */
  }

  .recruit-benefit-card {
    padding: 22px 18px 20px;
  }

  .recruit-benefit-card h3 {
    font-size: 19px;
  }

  .recruitsyosai .table_design03.recruit-career__table th {
    width:100%;
  }
}