@charset "UTF-8";

/* Reability Career Page Styles - Copied from reability.jp */

/* Base styles */
body:has(.p-career-plan) {
  background-image: url(../images/careers/careers-bg-sp.png);
  background-repeat: repeat;
  background-position: center;
  background-size: contain;
}

/* Inner container */
.c-inner-career-plan {
  max-width: 916px;
  margin-inline: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* Text styles */
.c-text {
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 2.5;
}

/* Heading clip style */
.c-heading-clip {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.c-heading-clip.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #0350ff, #fe45be, #fcc745);
  z-index: -1;
}

.c-heading-clip .inn {
  position: relative;
  z-index: 1;
}

.c-heading-clip-line {
  width: 100%;
  height: 1px;
  background: #9f9f9f;
  position: relative;
  z-index: 0;
}

/* Square decoration */
.c-square {
  position: relative;
}

.c-square::after {
  content: "";
  position: absolute;
  display: block;
}

/* Page Header */
.p-page-header {
  background: url(../img/bg-dot.png), linear-gradient(225deg, #2d3139 32%, #284150 50.76%, #234f65 56.91%, #22698a 66.61%, #1e7eaa 71.24%, #249ed6 80.12%, #29b6f6 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 475px;
  padding-top: 95px;
  position: relative;
}

.p-page-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-right: 20px;
  padding-left: 20px;
}

.p-page-header__heading-wrapper {
  margin-top: 22px;
  margin-left: 20px;
  position: relative;
  z-index: 1;
}

.p-page-header__heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-page-header__image-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
}

.p-page-header__figure {
  clip-path: polygon(46.4% 0, 100% 0, 100% 100%, 0% 100%);
  overflow-x: clip;
}

.p-page-header__image {
  width: 526px;
  height: 247px;
  object-fit: cover;
}

/* Heading Level 1 */
.c-heading-lv1__en {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 4rem;
  line-height: 1.2;
  display: block;
}

.c-heading-lv1__jp {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2;
  display: block;
}

/* Career Plan Heading - same style as BERRY page */
.p-career-plan__heading.c-heading-lv2 {
  font-weight: 700;
  font-size: 2.5625rem;
  line-height: 3.44;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-career-plan__heading.c-heading-lv2 {
    font-size: 5.25rem;
    line-height: 1.0576923077;
  }
}

/* Training Heading - same style as BERRY page */
.p-training__heading.c-heading-lv2 {
  font-weight: 700;
  font-size: 2.5625rem;
  line-height: 3.44;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-training__heading.c-heading-lv2 {
    font-size: 5.25rem;
    line-height: 1.0576923077;
  }
}

/* Career Plan Section */
.p-career-plan {
  padding-top: 0;
  padding-bottom: 92px;
  position: relative;
}

.p-career-plan .c-inner :nth-child(6) {
  padding-top: 70px;
}

.p-career-plan__heading.c-heading-clip {
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.44;
  clip-path: polygon(9% 0%, 100% 0%, 91% 100%, 0% 100%);
  padding: 0 30px 4px;
  color: #fff;
}

.p-career-plan .c-heading-clip-line {
  margin-top: -21px;
}

.p-career-plan__title {
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.5;
  color: #2d3139;
  padding-top: 48px;
}

.p-career-plan__text {
  font-size: 1.4rem;
  line-height: 2.5;
  color: #2d3139;
  padding-top: 6px;
}

.p-career-plan__figure {
  margin-top: 44px;
  overflow-x: scroll;
  overflow-y: clip;
  width: 100%;
  height: 389px;
  position: relative;
  z-index: 2;
}

.p-career-plan__figure::-webkit-scrollbar {
  background: #fff;
  width: 6px;
  height: 6px;
  border-radius: 20px;
}

.p-career-plan__figure::-webkit-scrollbar-thumb {
  background-color: #9f9f9f;
  border-radius: 20px;
}

.p-career-plan__image {
  margin-left: -3px;
  height: 100%;
  width: auto;
  max-width: none;
}

/* Flow Cards */
.p-flow {
  margin-top: 53px;
}

.p-flow__list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.p-flow__box {
  margin-top: 40px;
  margin-inline: auto;
  width: 100%;
  max-width: 468px;
}

.p-flow__term {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.2;
  text-align: center;
  background: linear-gradient(100deg, #0350ff, #fe45be, #fcc745);
  padding: 24px 4px;
  width: 100%;
  color: #fff;
}

.p-flow__list-item {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.p-flow__data {
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #2d3139;
  background: #f0f0f0;
  padding: 7px;
  width: 59.7014925373%;
  border-radius: 24px;
  text-align: center;
  position: relative;
}

.p-flow__data:not(:last-of-type)::after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 20px 0 20px;
  border-color: #2d3139 transparent transparent transparent;
  bottom: -20px;
  left: 50%;
  translate: -50% 0;
}

/* Training Section */
.p-training {
  padding-top: 0px;
  padding-bottom: 164px;
  position: relative;
}

.p-training__heading.c-heading-clip {
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.44;
  clip-path: polygon(9% 0%, 100% 0%, 91% 100%, 0% 100%);
  padding: 0 67px 4px;
  color: #fff;
}

.p-training .c-heading-clip-line {
  margin-top: -21px;
}

.p-training__title {
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.5;
  color: #2d3139;
  padding-top: 57px;
}

.p-training__text-wrapper .p-training__title {
  padding-top: 97px;
  line-height: 1.5;
}

.p-training__text-wrapper .p-training__title:not(:first-child) {
  padding-top: 92px;
}

.p-training__text {
  font-size: 1.4rem;
  line-height: 2.5;
  color: #2d3139;
  padding-top: 17px;
}

/* Training Table */
.p-table__wrapper {
  padding-bottom: 20px;
  margin-top: 48px;
  width: 100%;
  translate: 0;
}

.p-table__wrapper::-webkit-scrollbar {
  background: #fff;
  width: 6px;
  height: 6px;
  border-radius: 20px;
}

.p-table__wrapper::-webkit-scrollbar-thumb {
  background-color: #9f9f9f;
  border-radius: 20px;
}

.p-table__row:not(:first-child) .p-table__head {
  border-top: 0.5px solid #fff;
}

.p-table__row:not(:first-child) .p-table__td-left {
  border-top: 0.5px solid #fff;
}

.p-table__row:not(:first-child) .p-table__td-right {
  border-top: 0.5px solid #2d3139;
}

.p-table__row:first-child .p-table__head,
.p-table__row:first-child .p-table__td-left,
.p-table__row:first-child .p-table__td-right {
  border-top: 1px solid #2d3139;
}

.p-table__row:last-child .p-table__head,
.p-table__row:last-child .p-table__td-left,
.p-table__row:last-child .p-table__td-right {
  border-bottom: 1px solid #2d3139;
}

/* Training Table Styles for ELISTA */
.p-training .p-table__head {
  background: #08b7ff;
  width: 80px;
  text-align: center;
  vertical-align: middle;
  color: #fff;
}
/* 
.p-training .p-table__head-number {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.5;
  display: block;
  margin-top: 0;
}

.p-training .p-table__td-left {
  background: #2d3139;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.5;
  width: 180px;
  vertical-align: middle;
  text-align: center;
  color: #fff;
  padding: 20px 16px;
}

.p-training .p-table__td-right {
  background: #fff;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #333;
  vertical-align: middle;
  padding: 20px 20px 20px 40px;
}

.p-training .p-table__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-training .p-table__list-item {
  position: relative;
  padding-left: 20px;
} */

/* .p-training .p-table__list-item:not(:first-child) {
  padding-top: 6px;
}

.p-training .p-table__list-item::before {
  content: "";
  display: block;
  width: 8px;
  aspect-ratio: 1;
  background: #29b6f6;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
}

.p-training .p-table__list-item:not(:first-child)::before {
  top: calc(50% + 3px);
} */

.p-table__image-wrapper {
  margin-top: 22px;
}

.p-table__image {
  max-width: 100%;
  height: auto;
}

/* Contact Area */
.p-contact-area {
  width: 100%;
  height: 299px;
  background: linear-gradient(245deg, #2d3139 32%, #284251 39%, #2b7396 49%, #29b6f6 100%);
  position: relative;
  background-position: 100% 50%;
  background-size: 200% auto;
  transition: background-position 0.3s ease-out;
}

.p-contact-area:hover {
  background-position: 0% 50%;
}

.p-contact-area__link {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}

.p-contact-area__link:hover {
  color: #fff;
}

.p-contact-area__heading {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1.2;
}

/* Responsive - Desktop */
@media screen and (min-width: 768px) {
  .c-inner-career-plan {
    max-width: 1200px;
  }

  .p-page-header {
    height: 600px;
  }

  .p-page-header__image {
    width: 700px;
    height: 329px;
  }

  .c-heading-lv1__en {
    font-size: 6.4rem;
  }

  .c-heading-lv1__jp {
    font-size: 2rem;
  }

  .p-career-plan__heading.c-heading-clip {
    font-size: 4.5rem;
    padding: 1px 54px 2px;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  }

  .p-career-plan .c-heading-clip-line {
    margin-top: -30px;
  }

  .p-career-plan__title {
    font-size: 3.2rem;
    padding-top: 85px;
  }

  .p-career-plan__text {
    font-size: 1.7rem;
    line-height: 2.3;
  }

  .p-career-plan__figure {
    height: auto;
    overflow: visible;
  }

  .p-career-plan__image {
    width: 100%;
    height: auto;
  }

  .p-flow__list {
    flex-direction: row;
    gap: 20px;
  }

  .p-flow__box {
    flex: 1;
    margin-top: 0;
  }

  .p-training__heading.c-heading-clip {
    font-size: 4.5rem;
    padding: 1px 122px 2px;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  }

  .p-training .c-heading-clip-line {
    margin-top: -30px;
  }

  .p-training__title {
    font-size: 3.2rem;
    padding-top: 85px;
  }

  .p-training__text {
    font-size: 1.7rem;
    line-height: 2.3;
  }

  .p-training__text-wrapper .p-training__title {
    padding-top: 80px;
  }

  .p-training__text-wrapper .p-training__title:not(:first-child) {
    padding-top: 60px;
  }

/* .p-training .p-table__wrapper {
    padding-bottom: 20px;
    margin-top: 48px;
    width: 100%;
    translate: 0;
  } */

  /* .p-training .p-table__head {
    width: 120px;
  } */

  /* .p-training .p-table__head-number {
    font-size: 3.2rem;
    line-height: 1.5;
  } */

  /* .p-training .p-table__td-left {
    font-size: 2.5rem;
    width: 488px;
  }

  .p-training .p-table__td-right {
    font-size: 1.6rem;
  } */
}
