/* ----------- */
/* BONUS */
/* ----------- */
.bonus {
  background-color: #FFFEF8;
  border: 1px solid #BEBEBE;
  padding: 60px 80px;
  background-image: url(/img/img_bonus_bg.png);
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

/* TOP */
/* ----------- */
.bonus_top {
  width: 100%;
  background-color: #fff;
  border: 5px solid #FD4343;
  padding: 36px 20px 44px;
  text-align: center;
  border-radius: 20px;
}

.bonus_top_sub_title {
  display: inline-block;
  font-size: min(3vw,26px);
  font-weight: bold;
  position: relative;
}

.bonus_top_sub_title::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -31px;
  width: 31px;
  height: 2px;
  border-top: 2px solid #FD4343;
  transform: rotate(58deg);
}

.bonus_top_sub_title::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -23px;
  width: 31px;
  height: 2px;
  border-top: 2px solid #FD4343;
  transform: rotate(-58deg);
}

.bonus_top_title {
  color: #FD4343;
  font-size: min(5vw,47px);
  font-weight: bold;
  margin-top: 20px;
}

.bonus_top_text {
  font-size: min(2vw,20px);
  font-weight: bold;
  margin-top: 20px;
  line-height: 1.6;
}

.bonus_top_link {
  display: inline-block;
  margin-top: 40px;
}

/* introduction */
/* ----------- */
.bonus_introduction {
  width: 100%;
  background-color: #fff;
  border-top: 2px solid #FD4343;
  border-bottom: 2px solid #FD4343;
  padding: 40px 20px;
  text-align: center;
  margin-top: 72px;
}

.bonus_introduction_text {
  font-size: min(1.8vw,18px);
  font-weight: bold;
  line-height: 1.6;
}

.bonus_introduction_text_higlight {
  color: #FD4343;
}

/* step */
/* ----------- */
.bonus_step {
  margin-top: 72px;
  display: flex;
  justify-content: space-between;
}
.bonus_step_box {
  width: 30%;
  background-color: #fff;
  border: 1px solid #7F7F7F;
  border-radius: 10px;
  text-align: center;
  padding: 12px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .16);
  position: relative;
}

.bonus_step_box:not(:last-child)::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -15%;
  content: "";
  display: block;
  height: 18%;
  width: 10%;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background-color: #FD4343;
}

.bonus_step_box_number {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #FD4343;
  padding-bottom: 4px;
}
.bonus_step_box_title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 16px;
}

.bonus_step_box_text {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
}

/* detail */
/* ----------- */
.bonus_detail {
  background-color: #fff;
  border: 1px solid #7F7F7F;
  border-radius: 10px;
  width: 100%;
  padding: 80px 40px 40px;
  margin-top: 92px;
  position: relative;
}

.bonus_detail_title {
  position: absolute;
  top: -23px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  background-color: #FD4343;
  color: #fff;
  font-size: 20px;
  font-size: min(1.9vw,20px);
  font-weight: bold;
  padding: 12px 40px;
}

.bonus_detail_list_title {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #707070;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.bonus_detail_list_title::before {
  content: "■";
}
.bonus_detail_list_text {
  margin-bottom: 40px;
  line-height: 1.6;
}

.bonus_detail_list_text_list {
  padding-left: 20px;
  position: relative;
  padding-bottom: 8px;
}
.bonus_detail_list_text_list::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

.bonus_detail_list_text_annotation {
  position: relative;
  padding-left: 20px;
  display: block;
  padding-bottom: 8px;
}

.bonus_detail_list_text_annotation::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}

/* 募集要項のボタン */
/* ----------- */
/* グラデーションのリンク */
.link_job_search {
  display: block;
  text-align: center;
  justify-content: center;
  color: #fff;
  padding: 16px 0;
  width: 320px;
  background-image: linear-gradient( 90deg, #FD4343, #F09E39);
  position: relative;
  border-radius: 100vh;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .16);
}

.link_job_search::after {
  content: "";
  display: block;
  height: 18.5px;
  width: 18.5px;
  background-image: url(/img/icon_search.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 48px;
}

.link_job_search:hover {
  transition: all .2s;
  opacity: .6;
}

/* ----------- */
/* SP表示 */
/* ----------- */
@media screen and (max-width: 768px) {
  .bonus {
    padding: 32px 12px;
  }
  /* TOP */
/* ----------- */
  .bonus_top {
    padding: 20px 24px;
  }
  .bonus_top_sub_title {
    font-size: 16px;
  }
  .bonus_top_title {
    font-size: 24px;
  }
  .bonus_top_text {
    font-size: 14px;
  }
  .bonus_top_link {
    margin-top: 20px;
    display: block;
  }
  /* introduction */
  /* ----------- */
  .bonus_introduction {
    padding: 20px 12px;
    text-align: left;
  }
  .bonus_introduction_text {
    font-size: 14px;
  }
  /* step */
  /* ----------- */
  .bonus_step {
    display: block;
    margin-top: 40px;
  }
  .bonus_step_box {
    width: 80%;
    margin: 0 auto 60px;
  }
  .bonus_step_box:not(:last-child)::after {
    top: unset;
    right: unset;
    bottom: -40px;
    left: 50%;
    transform: translateY(unset);
    transform: translateX(-50%);
    height: 20px;
    width: 26px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }
  .bonus_step_box_number {
    font-size: 18px;
  }
  .bonus_step_box_title {
    font-size: 22px;
  }
  /* detail */
  /* ----------- */
  .bonus_detail {
    padding: 40px 16px 0;
  }
  .bonus_detail_title {
    font-size: 16px;
    padding: 12px 0;
    display: block;
    width: 80%;
    text-align: center;
  }
  .bonus_detail_list_title {
    font-size: 16px;
  }
  .bonus_detail_list_text {
    font-size: 14px;
  }

  /* SP表示時の改行 */
  .bonus_br {
    display: none;
    width: 100%;
  }

  /* リンク */
  .link_job_search {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .link_job_search::after {
    right: 22px;
  }
}