/* 
---------------------------------------------------------------------------- */
.p-stats-inner {
  display: flex;
}

.p-stats-chart {
  width: 53rem;
}

.p-stats-chart img {
  width: 100%;
  height: auto;
  display: block;
}

.p-stats-content {
  width: calc(100% - 53rem);
  height: 100%;
  padding: 5rem;
  background-color: #FFFAC6;
}

.p-stats-title {
  font-size: 2.4rem;
  line-height: 1.5833333333;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 2rem;
}

@media screen and (max-width: 767px) {
  .p-stats-inner {
    flex-direction: column;
  }
  .p-stats-chart {
    width: 100%;
  }
  .p-stats-content {
    width: 100%;
    padding: 8vw 5.3333333333vw;
  }
  .p-stats-title {
    font-size: 5.3333333333vw;
    margin-bottom: 4vw;
  }
}
/* 
---------------------------------------------------------------------------- */
.p-job-tabs {
  display: flex;
  justify-content: space-between;
  gap: 0.1rem;
}

.p-job-tabs li {
  flex: 1;
}
.p-job-tabs li button {
  color: inherit;
  font: inherit;
  font-size: 2rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 1.3rem 0;
  cursor: pointer;
  background-color: #DCDCDC;
  transition: all 0.3s;
}
.p-job-tabs li button.is-active {
  color: #fff;
  background-color: #f5a623;
}

.p-job-category {
  padding: 6rem 5rem;
  border: 0.2rem solid #EDBB2B;
}
.p-job-category .js-body {
  counter-reset: num;
}

.p-job-category-title {
  font-size: 2rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 2rem 3rem;
  background-color: #FFFAC6;
  cursor: pointer;
  position: relative;
}
.p-job-category-title:not(:last-child) {
  margin-bottom: 1rem;
}
.p-job-category-title::before, .p-job-category-title::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  height: auto;
}
.p-job-category-title::before {
  left: 0;
  width: 0.6rem;
  aspect-ratio: 6/40;
  background-color: #EDBB2B;
}
.p-job-category-title::after {
  right: 3rem;
  width: 2.3rem;
  aspect-ratio: 1/1;
  background: url(../../../images/common/icn_open-btn.svg) no-repeat center/contain;
  transition: all 0.3s;
}
.p-job-category-title.is-active::after {
  background: url(../../../images/common/icn_close-btn.svg) no-repeat center/contain;
}

.js-body {
  display: none;
}

.p-job-card {
  padding: 2rem 0 3rem;
}

.p-job-header {
  display: grid;
  grid-template-columns: 6.4rem auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.5rem 4rem;
  margin: 0 3rem;
}

.p-job-img {
  grid-row: 1/3;
}

.p-job-id {
  grid-row: 1/2;
  grid-column: 2/3;
  color: #EDBB2B;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 700;
  height: 1em;
  font-family: "Montserrat";
  position: relative;
}
.p-job-id::before {
  position: absolute;
  content: counter(num, decimal-leading-zero);
  top: 0;
  left: 0;
  counter-increment: num;
}

.p-job-info {
  grid-column: 2/3;
  display: flex;
  align-items: first baseline;
  gap: 1.5rem;
}

.p-job-name {
  margin-bottom: 0.4rem;
  font-size: 2.4rem;
  line-height: 1.5833333333;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.p-job-meta {
  white-space: nowrap;
}

.p-job-btn {
  grid-row: 1/3;
  justify-self: end;
  width: 18.8rem;
}
.p-job-btn .m-btn01 {
  padding-block: 0.6rem;
}

.p-job-block-wrap {
  display: grid;
  grid-template-columns: 32rem 1fr;
  padding: 3rem 4rem;
  gap: 6rem;
  margin-top: 3rem;
  background-color: #F5F5F5;
}

.p-job-block:nth-child(1) {
  position: relative;
}
.p-job-block:nth-child(1)::before {
  position: absolute;
  content: "";
  top: 0;
  right: -3rem;
  width: 1px;
  height: 100%;
  border-right: 0.2rem dashed #D5D5D5;
}

.p-job-label {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.04em;
  font-weight: 700;
  width: fit-content;
  padding: 0 0.8rem;
  margin-bottom: 0.8rem;
  background-color: #EDBB2B;
}

.p-job-list-item {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  font-weight: 400;
  display: flex;
  padding-left: 2.8rem;
  margin-bottom: 1rem;
  position: relative;
}
.p-job-list-item dt {
  font-weight: 700;
  white-space: nowrap;
}
.p-job-list-item::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  transform: translateY(50%);
  width: 1.7rem;
  height: auto;
  aspect-ratio: 17/14;
  background: url(../../../images/common/icn_check.svg) no-repeat center/contain;
}

.p-job-text {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  font-weight: 400;
}

@media screen and (max-width: 767px) {
  .p-job-tabs {
    gap: 0.5333333333vw;
    overflow-y: scroll;
  }
  .p-job-tabs li {
    flex: none;
    min-width: 26.6666666667vw;
  }
  .p-job-tabs li button {
    white-space: nowrap;
    font-size: 4.8vw;
    padding: 2.6666666667vw;
  }
  .p-job-category {
    padding: 5.3333333333vw;
    padding-bottom: 2.6666666667vw;
    border: 0.5333333333vw solid #EDBB2B;
  }
  .p-job-category-title {
    font-size: 4.2666666667vw;
    padding: 4vw 5.3333333333vw;
  }
  .p-job-category-title:not(:last-child) {
    margin-bottom: 2.6666666667vw;
  }
  .p-job-category-title::before {
    width: 1.6vw;
  }
  .p-job-category-title::after {
    right: 3.7333333333vw;
    width: 4.8vw;
  }
  .p-job-card {
    padding: 5.3333333333vw 0 1.3333333333vw;
  }
  .p-job-card:last-child {
    padding-bottom: 8vw;
  }
  .p-job-header {
    grid-template-columns: 17.0666666667vw 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0 5.3333333333vw;
    margin: 0;
  }
  .p-job-id {
    font-size: 4.5333333333vw;
  }
  .p-job-info {
    flex-direction: column;
    gap: 1.3333333333vw;
  }
  .p-job-name {
    font-size: 4.8vw;
    margin-bottom: 0;
  }
  .p-job-btn {
    grid-row: 3/4;
    grid-column: 1/3;
    justify-self: center;
    width: 50.1333333333vw;
    margin-top: 5.3333333333vw;
  }
  .p-job-btn .m-btn01 {
    padding-block: 1.6vw;
  }
  .p-job-block-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8vw;
    padding: 5.3333333333vw;
    margin-top: 5.3333333333vw;
  }
  .p-job-block:nth-child(1)::before {
    top: auto;
    right: auto;
    bottom: -2.6666666667vw;
    left: 0;
    width: 100%;
    height: 1px;
    border: none;
    border-bottom: 0.5333333333vw dashed #D5D5D5;
  }
  .p-job-label {
    font-size: 4.2666666667vw;
    padding: 0 2.1333333333vw;
    margin-bottom: 2.1333333333vw;
  }
  .p-job-list-item {
    font-size: 4.2666666667vw;
    flex-direction: column;
    padding-left: 6.6666666667vw;
    margin-bottom: 2.6666666667vw;
  }
  .p-job-list-item::before {
    width: 4.5333333333vw;
  }
  .p-job-text {
    font-size: 4.2666666667vw;
  }
}
/* 
---------------------------------------------------------------------------- */
.p-stats-visual-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12rem;
  margin: 5rem 0 6rem 2rem;
}

.p-stats-chart-block:nth-child(1) {
  width: 35.8rem;
}
.p-stats-chart-block:nth-child(2) {
  width: 38.8rem;
}

.p-stats-chart-image {
  display: block;
  width: fit-content;
  height: 100%;
}

.p-stats-chart-image img {
  display: block;
  max-height: 100%;
  object-fit: contain;
}

.p-stats-bnr {
  display: block;
  max-width: 81.7rem;
  margin: auto;
}

@media screen and (max-width: 767px) {
  .p-stats-visual-inner {
    flex-direction: column;
    gap: 8vw;
    margin: 0 0 8vw;
  }
  .p-stats-chart-block:nth-child(1) {
    width: 78.6666666667vw;
  }
  .p-stats-chart-block:nth-child(2) {
    width: 84vw;
  }
  .p-stats-bnr {
    max-width: 100%;
  }
}
