#recruit {
  background: var(--color-bg);
}
#recruit::before {
  position: absolute;
  left: 50%;
  top: 0;
  content: "";
  display: block;
  max-width: 160rem;
  width: 100%;
  height: 86.2rem;
  background: url(../img/recruit/top-shapes.png) right top/72rem auto no-repeat;
  transform: translateX(-50%);
  opacity: 0.95;
  z-index: 2;
}
#recruit .kv {
  padding: 14rem 0 26rem;
}
#recruit .kv .contents {
  margin-top: 20rem;
}
#recruit .kv .contents .txt {
  max-width: 50rem;
  margin-top: 4.6rem;
}
#recruit .kv .breadcrumbs {
  width: auto;
  left: auto;
  right: 7.7rem;
  bottom: auto;
  top: 6rem;
  transform: rotate(-90deg);
  transform-origin: right;
}

#recruit article {
  position: relative;
  z-index: 1;
  margin-top: -37.5rem;
  padding-top: 42.2rem;
  padding-bottom: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 40rem, var(--color-bg) 40rem, var(--color-bg) 100%);
}
#recruit article::before {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 42.9rem;
  background: url(../img/recruit/article_bg.png) center top/100% auto no-repeat;
}
#recruit article .lead {
  position: relative;
  max-width: 160rem;
  margin: 0 auto;
}
#recruit article .lead::before {
  position: absolute;
  content: "";
  top: -21.4rem;
  left: -7rem;
  display: block;
  width: 39.2rem;
  height: 81.6rem;
  background: url(../img/recruit/l-shape.png) center/contain no-repeat;
  opacity: 0.95;
}
#recruit article .lead::after {
  position: absolute;
  content: "";
  top: 0;
  right: -1rem;
  display: block;
  width: 21.6rem;
  height: 29rem;
  background: url(../img/recruit/r-shape.png) center/contain no-repeat;
  opacity: 0.95;
}
#recruit article .lead .lead_txt {
  max-width: 55rem;
  margin: 0 auto;
}
#recruit article .links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 14rem;
}
#recruit article .links li {
  width: 36rem;
}
#recruit article .links li a {
  position: relative;
  display: block;
  padding: 2.5rem 4rem;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  font-size: max(1.8rem, 10px);
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--color-white);
}
#recruit article .links li a::before {
  position: absolute;
  right: 2rem;
  content: "";
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 100%;
  background: var(--color-white);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.2;
  transition: .3s;
}
#recruit article .links li a::after {
  position: absolute;
  right: 3.1rem;
  top: 50%;
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-right: 0.2rem solid var(--color-white);
  border-bottom: 0.2rem solid var(--color-white);
  transform: translateY(-50%) rotate(45deg);
  transition: .3s;
}
#recruit article .links li a.purple {
  background: rgb(var(--color-purple) / 1);
  border: 1px solid rgb(var(--color-purple) / 1);
}
#recruit article .links li a.pink {
  background: rgb(var(--color-pink) / 1);
  border: 1px solid rgb(var(--color-pink) / 1);
}
#recruit article .links li a.orange {
  background: rgb(var(--color-orange) / 1);
  border: 1px solid rgb(var(--color-orange) / 1);
}
#recruit article .detail {
  position: relative;
  max-width: 156rem;
  margin: 9rem auto 0;
  padding: 8rem 0 9rem;
  background: var(--color-white);
  border-radius: 1rem;
}
#recruit article .detail .contents .in {
  max-width: 140rem;
}
#recruit .recruit_ttl {
  margin-bottom: 5rem;
}
#recruit .recruit_ttl .sub_ttl {
  margin-bottom: 3.4rem;
  padding: 0.8rem 2.8rem;
  border-left: 0.4rem solid rgb(var(--color-purple) / 1);
  font-size: 2rem;
  font-size: max(2rem, 10px);
  font-weight: var(--medium);
  letter-spacing: -0.01em;
  line-height: 1;
  color: rgb(var(--color-purple) / 1);
}
#recruit .contents.pink .recruit_ttl .sub_ttl {
  color: rgb(var(--color-pink) / 1);
  border-color: rgb(var(--color-pink) / 1);
}
#recruit .contents.orange .recruit_ttl .sub_ttl {
  color: rgb(var(--color-orange) / 1);
  border-color: rgb(var(--color-orange) / 1);
}
#recruit .recruit_ttl .ttl_h2 {
  font-size: 4rem;
  font-size: max(4rem, 10px);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
#recruit .contents + .contents {
  padding-top: 10rem;
}
#recruit .contents .flex {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10rem;
}
#recruit .contents .flex_img {
  position: sticky;
  top: 11rem;
  max-width: 50rem;
}
#recruit .contents .flex_img .img {
  position: relative;
  height: 56rem;
  border-radius: 1rem;
  overflow: hidden;
}
#recruit .contents .flex_img .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#recruit .contents .flex_img .img::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 29.7rem;
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(0,0,0,0.6) 100%);
}
#recruit .contents .flex_img .img .txt_wrap {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 5rem;
  z-index: 2;
}
#recruit .contents .flex_img .img .txt_wrap .lead_txt {
  font-size: 2.4rem;
  font-size: max(2.4rem, 10px);
  font-weight: var(--medium);
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: var(--color-white);
}
#recruit .contents .flex_img .img .txt_wrap .lead_txt span {
  background: rgb(var(--color-purple) / 1);
  padding: 0 0.7rem;
}
#recruit .contents.pink .flex_img .img .txt_wrap .lead_txt span {
  background: rgb(var(--color-pink) / 1);
}
#recruit .contents.orange .flex_img .img .txt_wrap .lead_txt span {
  background: rgb(var(--color-orange) / 1);
}
#recruit .contents .flex_img .img .txt_wrap .txt {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-size: max(1.5rem, 10px);
  letter-spacing: 0.04em;
  color: var(--color-white);
}
#recruit .contents .flex_img .button {
  width: 22rem;
  margin: 9rem auto 0;
}
#recruit .contents .flex_txt {
  width: calc(100% - 10rem - 50rem);
  margin-top: 21.5rem;
}
#recruit .contents .flex_txt table {
  width: 100%;
}
#recruit .contents .flex_txt table th,
#recruit .contents .flex_txt table td {
  padding: 3rem 1rem;
  border-top: 1px solid #c7d3d9;
  font-size: 1.6rem;
  font-size: max(1.6rem, 10px);
  letter-spacing: 0.04em;
  line-height: 1.75;
}
#recruit .contents .flex_txt table tr:last-of-type th,
#recruit .contents .flex_txt table tr:last-of-type td {
  border-bottom: 1px solid #c7d3d9;
}
#recruit .contents .flex_txt table th {
  width: 18rem;
  min-width: 18rem;
  font-weight: var(--medium);
}
#recruit .contents .flex_txt table td {
  font-weight: var(--regular);
  padding-left: 0;
}
#recruit .contents .flex_txt .button {
  display: none;
}
@media screen and (min-width: 1600px) {
  #recruit .kv {
    padding: 14rem 0 calc(260 / 1600 * 100vw);
  }
  #recruit article {
    margin-top: calc(-375 / 1600 * 100vw);
    padding-top: calc(422 / 1600 * 100vw);
    background: linear-gradient(180deg, transparent 0%, transparent calc(400 / 1600 * 100vw), var(--color-bg) calc(400 / 1600 * 100vw), var(--color-bg) 100%);
  }
  #recruit article::before {
    height: calc(429 / 1600 * 100vw);
  }
}
@media screen and (min-width: 768px) {
  #recruit article .links li a:hover {
    background: var(--color-white);
  } 
  #recruit article .links li a.purple:hover {
    color: rgb(var(--color-purple) / 1);
  }
  #recruit article .links li a.purple:hover::before {
    background: rgb(var(--color-purple) / 1);
  }
  #recruit article .links li a.purple:hover::after {
    border-color: rgb(var(--color-purple) / 1);
  }
  #recruit article .links li a.pink:hover {
    color: rgb(var(--color-pink) / 1);
  }
  #recruit article .links li a.pink:hover::before {
    background: rgb(var(--color-pink) / 1);
  }
  #recruit article .links li a.pink:hover::after {
    border-color: rgb(var(--color-pink) / 1);
  }
  #recruit article .links li a.orange:hover {
    color: rgb(var(--color-orange) / 1);
  }
  #recruit article .links li a.orange:hover::before {
    background: rgb(var(--color-orange) / 1);
  }
  #recruit article .links li a.orange:hover::after {
    border-color: rgb(var(--color-orange) / 1);
  }
}

@media screen and (max-width: 767.9px) {
  #recruit .kv {
    padding: 9rem 0 11.2rem;
  }
  #recruit::before {
    top: 48rem;
    left: auto;
    right: 0;
    width: 30rem;
    height: 29.8rem;
    background-size: 100% auto;
    transform: unset;
  }
  #recruit .kv .contents {
    margin-top: 9.3rem;
  }
  #recruit .kv .contents .txt {
    margin-top: 3.5rem;
    max-width: 24rem;
    line-height: 2.4;
  }
  #recruit .kv .in {
    z-index: 2;
  }
  #recruit .kv .breadcrumbs {
    right: 2rem;
    top: 5.5rem;
  }


  #recruit article {
    padding-top: 23rem;
    margin-top: -9rem;
    background: linear-gradient(180deg, transparent 0%, transparent 9rem, var(--color-bg) 9rem, var(--color-bg) 100%);
  }
  #recruit article::before {
    height: 10.6rem;
  }
  #recruit article .lead::before {
    top: 16rem;
    left: -4rem;
    left: 0;
    width: 12rem;
    height: 43.6rem;
    background-image: url(../img/recruit/l-shape_sp.png);
  }
  #recruit article .lead::after {
    top: 8.9rem;
    right: 0;
    width: 5.5rem;
    height: 12rem;
    background-position: left;
    background-size: auto 100%;
  }
  #recruit article .lead .lead_txt {
    max-width: 30rem;
  }
  #recruit article .links {
    margin: 10.5rem 3.5rem 0;
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  #recruit article .links li a {
    width: 100%;
    padding: 2rem 3rem;
    font-size: 1.5rem;
  }
  #recruit article .detail {
    padding: 4rem 0 8.7rem;
    margin: 7rem 1.5rem 0;
  }
  #recruit article .detail .contents .in {
    margin: 0 2rem
  }
  #recruit .contents + .contents {
    padding-top: 13.7rem;
  }
  #recruit .contents .flex {
    display: block;
  }
  #recruit .contents .flex_img {
    width: 100%;
    position: static;
  }
  #recruit .recruit_ttl {
    margin-bottom: 3.6rem;
  }
  #recruit .recruit_ttl .sub_ttl {
    margin-bottom: 2rem;
    padding: 0.7rem 2rem;
    font-size: 1.6rem;
  }
  #recruit .recruit_ttl .ttl_h2 {
    font-size: 2.4rem;
  }
  #recruit .contents .flex_img .img {
    width: 100%;
    height: 35.8rem;
  }
  #recruit .contents .flex_img .img .txt_wrap {
    padding: 3rem 2rem;
  }
  #recruit .contents .flex_img .img .txt_wrap .lead_txt {
    font-size: 2rem;
  }
  #recruit .contents .flex_img .img .txt_wrap .txt {
    font-size: 1.4rem;
  }
  #recruit .contents .flex_img .img::after {
    height: 17.6rem;
  }
  #recruit .contents .flex_img .button {
    display: none;
  }
  #recruit .contents .flex_txt {
    margin-top: 4rem;
    width: 100%;
  }
  #recruit .contents .flex_txt table th, 
  #recruit .contents .flex_txt table td {
    padding: 2rem 0;
    font-size: 1.4rem;
    vertical-align: top;
  }
  #recruit .contents .flex_txt table th {
    width: 8rem;
    min-width: 8rem;
  }
  #recruit .contents .flex_txt .button {
    display: block;
    width: 20rem;
    margin: 8.3rem auto 0;
    transform: translateX(-2.8rem);
  }
}