@charset "utf-8";

/* MV ====================================== */
.career-path-hero {
  height: 135px;
}
.career-path-hero__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: none;
  padding-left: 15px;
}
.career-path-hero__title {
  margin: 0;
  color: #212529;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

@media (min-width: 1080px) {
  .career-path-hero {
    height: 400px;
  }
  .career-path-hero__inner {
    padding-left: 150px;
  }
  .career-path-hero__title {
    font-size: 70px;
    letter-spacing: 0.1em;
  }
}

/* Lead ====================================== */
.career-path-lead {
  padding: 60px 0 40px;
  background: #fff;
}
.career-path-lead__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.career-path-lead__text {
  order: 1;
  text-align: left;
}
.career-path-lead__image {
  order: 2;
  text-align: center;
}
.career-path-lead__image img {
  width: 100%;
  max-width: 573px;
  height: auto;
  border-radius: 8px;
}
.career-path-lead__catch {
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.05em;
  margin: 0 0 24px;
  color: #212529;
  text-align: center;
}
.career-path-lead__body {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
  color: #212529;
  text-align: left;
}

@media (min-width: 1080px) {
  .career-path-lead {
    padding: 100px 0 80px;
  }
  .career-path-lead__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .career-path-lead__text {
    order: 1;
    flex: 1 1 auto;
  }
  .career-path-lead__image {
    order: 2;
    flex: 0 0 auto;
    width: 573px;
    max-width: 50%;
  }
  .career-path-lead__catch {
    font-size: 34px;
    line-height: 1.47;
    margin-bottom: 30px;
    text-align: left;
  }
  .career-path-lead__body {
    font-size: 20px;
    line-height: 2;
  }
}

/* Main 職種ごとのキャリアパス ============== */
.career-path-main {
  padding: 40px 0 80px;
  background: #f5f5f5;
}
.career-path-main__head {
  text-align: center;
  margin-bottom: 40px;
}
.career-path-main__title {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin: 0;
  color: #212529;
}
.career-path-main__title-en {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #212529;
  margin-top: 12px;
}

@media (min-width: 1080px) {
  .career-path-main {
    padding: 80px 0 120px;
  }
  .career-path-main__head {
    margin-bottom: 80px;
  }
  .career-path-main__title {
    font-size: 45px;
    line-height: 1.2;
  }
  .career-path-main__title-en {
    font-size: 16px;
    margin-top: 16px;
  }
}

/* Career block ============================ */
.career-block {
  background: #fff;
  border-radius: 20px;
  padding: 50px 20px 30px;
  margin: 120px 0 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}
.career-block:last-child {
  margin-bottom: 0;
}
.career-block__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.career-block__profile {
  margin-top: -130px;
  margin-bottom: 10px;
  text-align: center;
}
.career-block__icon {
  width: 150px;
  height: auto;
  max-width: 100%;
}

@media (min-width: 1080px) {
  .career-block {
    padding: 60px 50px;
    margin: 0 0 60px;
  }
  .career-block__inner {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }
  .career-block__profile {
    flex: 0 0 314px;
    position: sticky;
    top: 100px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .career-block__icon {
    width: 314px;
  }
  .career-block__timeline {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* Timeline ================================ */
.career-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  position: relative;
}
.career-timeline__item {
  position: relative;
  margin-bottom: 30px;
}
.career-timeline__item:last-child {
  margin-bottom: 0;
}
.career-timeline__year {
  width: 80px;
  height: 50px;
  border-radius: 0;
  background: #d9d9d9;
  color: #212529;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.career-timeline__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.career-timeline__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}
.career-timeline__sub {
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}
.career-timeline__list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 2;
}
.career-timeline__list li {
  margin-bottom: 0;
}

@media (min-width: 1080px) {
  .career-timeline {
    margin-bottom: 50px;
  }
  .career-timeline__item {
    position: relative;
    padding-left: 150px;
    margin-bottom: 50px;
  }
  .career-timeline__item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 43px;
    left: 52.5px;
    width: 3px;
    height: calc(100% + 50px);
    background: #d9d9d9;
  }
  .career-timeline__year {
    position: absolute;
    top: 0;
    left: 0;
    width: 108px;
    height: 86px;
    font-size: 25px;
    border-radius: 0;
    margin-bottom: 0;
    z-index: 1;
  }
  .career-timeline__body {
    min-height: 86px;
    justify-content: center;
  }
  .career-timeline__title {
    font-size: 26px;
  }
  .career-timeline__sub {
    font-size: 20px;
  }
  .career-timeline__list {
    font-size: 16px;
    line-height: 2;
  }
}

/* CTA 募集要項を見る ====================== */
.career-block__cta {
  text-align: center;
}
.career-block__cta-link {
  display: inline-block;
  background: #f6e628;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 18px 60px 18px 24px;
  position: relative;
  min-width: 280px;
  text-align: center;
}
.career-block__cta-link:hover,
.career-block__cta-link:focus {
  color: #000;
  text-decoration: none;
  opacity: 0.85;
}
.career-block__cta-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid #000;
  border-right: 0;
}

@media (min-width: 1080px) {
  .career-block__cta-link {
    font-size: 24px;
    padding: 22px 80px 22px 32px;
    min-width: 425px;
  }
  .career-block__cta-link::after {
    right: 40px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #000;
  }
}
