body {
  background-color: #FBFCFE;
}

/* p-bg
---------------------------------------------------------------------------- */
.p-bg {
  position: relative;
}

.p-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(./../../../images/recruit/work/bg_bg_pc.png);
}

@media screen and (max-width: 767px) {
  .p-bg::after {
    content: none;
  }
}
/* p-sec01
---------------------------------------------------------------------------- */
.p-sec01 {
  padding-block: 6rem 10rem;
}

.p-sec01-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0 8rem;
}

.p-sec01-wrapper-img {
  width: 52rem;
  aspect-ratio: 520/348;
  border-radius: 3rem;
  overflow: hidden;
}

.p-sec01-wrapper-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-sec01-wrap {
  flex: 1;
  margin-top: -1rem;
}

.p-sec01-wrap-txt {
  font-size: 1.8rem;
  line-height: 2;
  letter-spacing: 0.03em;
  font-weight: 400;
  margin-top: 3.5rem;
}

.p-sec01-wrap-button {
  width: fit-content;
  margin-left: auto;
  margin-top: 5.5rem;
}

.p-sec01-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 2rem;
  margin-top: 5rem;
}

.p-sec01-item {
  position: relative;
}

.p-sec01-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #fff;
}

.p-sec01-item-link {
  width: 100%;
  height: 9rem;
  border: 1px solid #07479F;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3.2rem;
  position: relative;
}

.p-sec01-item-link::before,
.p-sec01-item-link::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
}

.p-sec01-item-link::before {
  inset: 0;
  z-index: -1;
  background-position: center left;
  background-size: cover;
}

.p-sec01-item-link.link--01::before {
  background-image: url(./../../../images/recruit/work/bg_sec01-01.png);
}

.p-sec01-item-link.link--02::before {
  background-image: url(./../../../images/recruit/work/bg_sec01-02.png);
}

.p-sec01-item-link.link--03::before {
  background-image: url(./../../../images/recruit/work/bg_sec01-03.png);
}

.p-sec01-item-link.link--04::before {
  background-image: url(./../../../images/recruit/work/bg_sec01-04.png);
}

.p-sec01-item-link:after {
  bottom: 1rem;
  right: 1rem;
  width: 3.9rem;
  aspect-ratio: 1/1;
  background-position: center;
  background-size: contain;
  background-image: url(./../../../images/recruit/work/icn_target_blank_bg.png);
}

.p-sec01-item-link-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.p-sec01-item-link-box-img {
  width: 11rem;
  aspect-ratio: 110/31;
}

.p-sec01-item-link-box-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-sec01-item-link-box-txt {
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.096em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  min-width: 10.2rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 0.1rem 0.2rem;
  padding-inline: 0.8rem;
  border-radius: 999px;
}

.p-sec01-item-link-box-txt.txt--01 {
  background-color: #073190;
}

.p-sec01-item-link-box-txt.txt--02 {
  background-color: #F3AE3B;
}

.p-sec01-item-link-box-txt.txt--03 {
  background-color: #70C0CC;
}

.p-sec01-item-link-box-txt.txt--04 {
  background-color: #3392D1;
}

@media screen and (max-width: 767px) {
  .p-sec01 {
    padding-block: 8.8vw 8vw;
  }
  .p-sec01-wrapper {
    flex-direction: column;
    gap: 6.6666666667vw;
  }
  .p-sec01-wrapper-img {
    width: 100%;
    border-radius: 5.3333333333vw;
  }
  .p-sec01-wrap {
    padding-top: initial;
    margin-top: 0;
  }
  .p-sec01-wrap-txt {
    font-size: 4vw;
    line-height: 1.8;
    margin-top: 4vw;
  }
  .p-sec01-wrap-button {
    margin-left: initial;
    margin-right: auto;
    margin-top: 8.2666666667vw;
  }
  .p-sec01-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.6666666667vw;
    margin-top: 13.3333333333vw;
  }
  .p-sec01-item-link {
    height: 14.9333333333vw;
    padding-left: 5.8666666667vw;
  }
  .p-sec01-item-link:after {
    bottom: 1.6vw;
    right: 1.6vw;
    width: 6.6666666667vw;
  }
  .p-sec01-item-link-box {
    gap: 1.0666666667vw;
  }
  .p-sec01-item-link-box-img {
    width: 18.4vw;
    aspect-ratio: 69/19;
  }
  .p-sec01-item-link-box-txt {
    font-size: 1.8666666667vw;
    min-width: 16.8vw;
    min-height: 4.2666666667vw;
    padding-block: 0.5333333333vw;
    padding-inline: 1.3333333333vw;
  }
}
/* p-sec02
---------------------------------------------------------------------------- */
.p-sec02 {
  padding-block: 3rem 25.5rem;
}

.p-sec02-wrapper {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 0 8rem;
}

.p-sec02-wrapper-img {
  width: 52rem;
  aspect-ratio: 520/348;
  border-radius: 3rem;
  overflow: hidden;
}

.p-sec02-wrapper-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-sec02-wrap {
  flex: 1;
  margin-top: -1rem;
}

.p-sec02-wrap-txt {
  font-size: 1.8rem;
  line-height: 2;
  letter-spacing: 0.03em;
  font-weight: 400;
  margin-top: 3.5rem;
}

.p-sec02-wrap-button {
  width: fit-content;
  margin-right: auto;
  margin-top: 5.5rem;
}

.p-sec02-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3.6rem;
  margin-top: 5rem;
}

.p-sec02-item {
  width: 100%;
}

.p-sec02-item-link {
  display: grid;
  grid-template-columns: 13rem 1fr;
  grid-template-rows: 5rem auto 4.4rem;
  align-items: center;
  grid-template-areas: ". ." "img ttl" ". .";
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.p-sec02-item-link::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.3s ease 0s;
}

.p-sec02-item-link.link--01::after {
  background-image: url(./../../../images/recruit/work/bg_sec02-01.png);
}

.p-sec02-item-link.link--02::after {
  background-image: url(./../../../images/recruit/work/bg_sec02-02.png);
}

.p-sec02-item-link.link--03::after {
  background-image: url(./../../../images/recruit/work/bg_sec02-03.png);
}

.p-sec02-item-link.link--04::after {
  background-image: url(./../../../images/recruit/work/bg_sec02-04.png);
}

.p-sec02-item-link.link--05::after {
  background-image: url(./../../../images/recruit/work/bg_sec02-05.png);
}

.p-sec02-item-link:hover::after {
  transform: scale(1.05);
}

.p-sec02-item-img {
  grid-area: img;
  margin-inline: auto;
  width: 6.2rem;
  aspect-ratio: 1/1;
}

.p-sec02-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-sec02-item-ttl {
  grid-area: ttl;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.p-sec02-item-ttl::before,
.p-sec02-item-ttl::after {
  content: "";
  position: absolute;
  top: 50%;
}

.p-sec02-item-ttl::before {
  right: 4.6rem;
  z-index: 1;
  width: 1rem;
  aspect-ratio: 1/1;
  border-top: 0.3rem solid #0162B4;
  border-right: 0.3rem solid #0162B4;
  transform: translateY(-50%) rotate(45deg);
}

.p-sec02-item-ttl::after {
  right: 3rem;
  transform: translateY(-50%);
  width: 4.2rem;
  aspect-ratio: 1/1;
  background-color: #fff;
  border-radius: 50%;
}

.p-sec02-item-ttl-en {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #fff;
}

.p-sec02-item-ttl-jp {
  font-size: 1.7rem;
  line-height: 1.5294117647;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .p-sec02 {
    padding-block: 8vw 39.2vw;
  }
  .p-sec02-wrapper {
    flex-direction: column;
    gap: 9.0666666667vw;
  }
  .p-sec02-wrapper-img {
    width: 100%;
    border-radius: 5.3333333333vw;
  }
  .p-sec02-wrap {
    padding-top: initial;
  }
  .p-sec02-wrap-txt {
    font-size: 4vw;
    line-height: 1.8;
    margin-top: 3.7333333333vw;
  }
  .p-sec02-wrap-button {
    margin-top: 8vw;
  }
  .p-sec02-items {
    grid-template-columns: 1fr;
    gap: 4vw;
    margin-top: 13.3333333333vw;
  }
  .p-sec02-item-link {
    grid-template-columns: 21.3333333333vw 1fr;
    grid-template-rows: 5.6vw auto 5.6vw;
    border-radius: 2.6666666667vw;
  }
  .p-sec02-item-img {
    width: 10.6666666667vw;
  }
  .p-sec02-item-ttl {
    gap: 2.6666666667vw;
  }
  .p-sec02-item-ttl::before {
    right: 8vw;
    width: 2.1333333333vw;
    border-width: 0.5333333333vw;
  }
  .p-sec02-item-ttl::after {
    right: 5.3333333333vw;
    width: 6.9333333333vw;
  }
  .p-sec02-item-ttl-en {
    font-size: 8vw;
  }
  .p-sec02-item-ttl-jp {
    font-size: 3.7333333333vw;
    line-height: 1.0714285714;
  }
}
