@charset "utf-8";

.p-service {
  margin-top: 8px;
}

.p-service__list {
  padding-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;

  @media (width < 1120px) {
    gap: 40px 20px;
  }

  @media (width < 768px) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.p-service-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;

  @media (width < 1120px) {
    gap: 12px;
  }

  @media (width < 768px) {
    max-width: 400px;
  }
}

.p-service-item__img {
  width: 100%;
  aspect-ratio: 354/280;
  border-radius: 10px;
  object-fit: cover;
}

.p-service-item__num {
  width: fit-content;
  background: var(--color-base);
  border-radius: 3px;
  padding: 7px;
  font-family: var(--font-heading-en);
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
}

.p-service-item__text {
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.03em;

  @media (width < 1120px) {
    font-size: 18px;
  }
}

.p-personality {
  padding-top: 95px;
}

.p-personality__flex {
  padding-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px 20px;

  @media (width < 768px) {
    flex-direction: column-reverse;
  }
}

.p-personality__img {
  width: 39%;
  aspect-ratio: 450/568;
  border-radius: 10px;
  object-fit: cover;

  @media (width < 1120px) {
    width: 34%;
  }

  @media (width < 768px) {
    width: 100%;
    max-width: 450px;
  }
}

.p-personality__body {
  width: 55%;

  @media (width < 1120px) {
    flex: 1 1 auto;
  }

  @media (width < 768px) {
    width: 100%;
  }
}

.p-personality__main-text {
  color: var(--color-green);
  font-size: 30px;
  line-height: calc(48 / 30);
  letter-spacing: 0.03em;

  @media (width < 768px) {
    font-size: 26px;
  }
}

.p-personality__desc {
  margin: 38px 0 26px;
}

.p-personality__list {
  display: flex;
  flex-direction: column;
}

.p-personality-item {
  display: inline-flex;
  align-items: center;
  padding: 18px 0;
  gap: 10px;

  @media (width < 768px) {
    padding: 10px 0;
  }

  &::before {
    content: '';
    flex-shrink: 0;
    width: 32px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--color-base) url('https://tkk4649.jp/system_panel/uploads/images/check-icon.svg') no-repeat center center / 50%;

    @media (width < 1120px) {
      width: 28px;
    }
  }
}

.p-personality-item__text {
  font-size: 16px;

  @media (width < 1120px) {
    font-size: 14px;
  }
}

.p-recruit {
  padding-top: 114px;
}

.p-recruit__table {
  margin-top: 60px;
  background: var(--color-white);
  border-radius: 10px;
  padding: 55px clamp(20px, calc(80vw / 13.66), 80px);

  @media (width < 768px) {
    padding: 10px 20px;
  }
}

.p-recruit__table-row {
  display: flex;
  padding: 19px 0;
  gap: 12px;
}

.p-recruit__table-row:not(:first-of-type) {
  border-top: 1px solid hsla(0, 0%, 60%, 0.3);
}

.p-recruit__thead {
  flex-shrink: 0;
  min-width: 170px;

  @media (width < 768px) {
    min-width: 80px;
  }
}

.p-recruit__tbody {
  div {
    display: inline-block;
  }
}

.p-flow {
  padding: 108px 0;
}

.p-flow__steps {
  padding-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;

  @media (width < 1120px) {
    gap: 24px;
  }

  @media (width < 768px) {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }
}

.p-flow-step {
  width: 100%;
  max-width: 219px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-bottom: 12px;
}

.p-flow-step:not(:first-of-type)::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -32px;
  width: 16px;
  height: 14px;
  background: url('https://tkk4649.jp/system_panel/uploads/images/step-arrow.svg') no-repeat center center / contain;

  @media (width < 1120px) {
    left: -20px;
  }

  @media (width < 768px) {
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    top: -26px;
  }
}

.p-flow-step__head {
  font-family: var(--font-noto-sans);
  text-transform: uppercase;
  line-height: normal;
}

.p-flow-step__num {
  margin-top: -6px;
  font-family: var(--font-noto-sans);
  font-size: 32px;
  line-height: normal;
}

.p-flow-step__text {
  margin-top: 12px;
  font-size: 18px;
  line-height: normal;
  text-align: center;
}

.p-flow__desc {
  margin: 32px auto 0;
  max-width: 1026px;
}
