/* ========================================
  Recruit Page Styles
======================================== */


.breadcrumb__item {
  color: #fff !important;
}

.breadcrumb__separator {
  color: #fff !important;
}

/* ========================================
  Recruit Hero
======================================== */
.recruit-hero {
  position: relative;
  background: linear-gradient(132deg, #E8EBF1 26.43%, #FFF 93.53%);
}

.recruit-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 93rem;
  z-index: 0;
  pointer-events: none;
}

.recruit-hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.recruit-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

/* Ensure content is above background */
.recruit-hero .page-hero,
.recruit-hero .breadcrumb,
.recruit-hero .recruit-intro,
.recruit-hero .job-list-section {
  position: relative;
  z-index: 1;
}

/* ========================================
  Recruit Intro
======================================== */
.recruit-intro {
  padding: 0rem 12rem 11rem;
}

.recruit-intro__inner {
  max-width: 120rem;
  margin: 0 auto;
  display: flex;
  gap: 6rem;
  align-items: flex-start;
}

.recruit-intro__content {
  flex: 1;
  min-width: 510px;
}

.recruit-intro__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.2;
  color: #0055B8;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.recruit-intro__title-line {
  display: inline-block;
  background-color: #fff;
  padding: 0.3rem 1rem;
}

.recruit-intro__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2;
  color: #fff;
  margin-bottom: 1.5rem;
}

.recruit-intro__text:last-child {
  margin-bottom: 0;
}

.recruit-intro__images {
  position: relative;
  width: 50rem;
  height: 35rem;
  flex-shrink: 0;
}

.recruit-intro__img {
  position: absolute;
  object-fit: cover;
}

.recruit-intro__img--01 {
  width: 35rem;
  height: 25rem;
  top: 0;
  left: 0;
  z-index: 1;
}

.recruit-intro__img--02 {
  width: 18rem;
  height: 24rem;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.recruit-intro__img--03 {
  width: 14rem;
  height: 10rem;
  bottom: -15rem;
  right: 22rem;
  z-index: 3;
}

/* ========================================
  Job List Section
======================================== */
.job-list-section {
  padding: 18rem 0 9.6rem 0;
}

.job-list-section__inner {
  max-width: 120rem;
  margin: 0 auto;
}

.job-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 2rem;
  margin-top: 5rem;
}

.job-card {
  position: relative;
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.3s ease;
  min-height: 26rem;
}

.job-card:hover {
  opacity: 0.85;
}

.job-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.job-card__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.job-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-card__content {
  position: relative;
  z-index: 1;
  padding: 3rem 4rem;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 50%;
}

.job-card__number {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  opacity: 0.6;
}

.job-card__number::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: 4.5rem;
  width: 1px;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  transform-origin: top left;
}

.job-card__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
  margin-left: 30px;
}

.job-card__subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.job-card__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.8;
  opacity: 0.9;
}

.job-card__btn {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-card__btn img {
  width: 100%;
  height: 100%;
}

/* ========================================
  Job Detail Section
======================================== */
.job-detail {
  padding: 9.6rem 0;
  background-color: #fff;
  scroll-margin-top: 12rem;
}

.job-detail__inner {
  max-width: 120rem;
  margin: 0 auto;
}

.job-detail__header {
  position: relative;
  margin-bottom: 5rem;
}

.job-detail__number {
  position: relative;
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: #C5CEDF;
  margin-bottom: 0.5rem;
}

.job-detail__number::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: 4.5rem;
  width: 1px;
  height: 5rem;
  background-color: #64748B;
  transform: rotate(45deg);
  transform-origin: top left;
}

.job-detail__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #0055b8;
  margin-left: 50px;
  position: relative;
  top: -10px;
  margin-bottom: -10px;
}

.job-detail__features {
  display: flex;
  gap: 4rem;
  margin-bottom: 6rem;
}

.job-feature {
  flex: 1;
  text-align: center;
}

.job-feature__label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #A7ABB2;
  margin-bottom: 1.5rem;
  max-height: 100%;
}

.job-feature__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.5;
  color: #444;
  margin-bottom: 1.5rem;
}

.job-feature__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  color: #666;
  text-align: left;
}

/* Job Accordion */
.job-accordion-wrap {
  background-color: #EFF7FF;
  border-radius: 12px;
  padding: 5rem;
}

.job-accordion__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #0055b8;
  text-align: center;
  margin-bottom: 3rem;
}

.job-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-accordion-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.job-accordion-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}



.job-accordion-item__number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: #C5CEDF;
  flex-shrink: 0;
}

.job-accordion-item__name {
  flex: 1;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
}

.job-accordion-item__icon {
  position: relative;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background-color: #0055b8;
  flex-shrink: 0;
}

.job-accordion-item__icon::before,
.job-accordion-item__icon::after {
  content: '';
  position: absolute;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.job-accordion-item__icon::before {
  width: 1.2rem;
  height: 2px;
}

.job-accordion-item__icon::after {
  width: 2px;
  height: 1.2rem;
}

.job-accordion-item.is-open .job-accordion-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.job-accordion-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 2.5rem;
}

.job-accordion-item.is-open .job-accordion-item__body {
  padding: 0 2.5rem 3rem;
}

/* Disabled state */
.job-accordion-item--disabled {
  background-color: #f0f0f0;
}

.job-accordion-item__header--disabled {
  cursor: default;
  pointer-events: none;
}

.job-accordion-item__header--disabled:hover {
  background-color: transparent;
}

.job-accordion-item--disabled .job-accordion-item__number {
  color: #bbb;
}

.job-accordion-item--disabled .job-accordion-item__name {
  color: #888;
}

.job-accordion-item__btn-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* Job Table */

.job-detail--alt {
  padding: 1rem 2rem 20rem;
}

.job-detail__table-wrap {
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 5rem;
}

.job-detail--alt .job-detail__table-wrap {
  background-color: #fff;
}

.job-detail__table-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: #0055b8;
  text-align: center;
  margin-bottom: 3rem;
}

.job-table {
  margin-bottom: 4rem;
}

.job-table__row {
  display: flex;
  padding: 2rem 0;
  border-bottom: 1px solid #e8ebf1;
}

.job-table__row:first-child {
  border-top: 1px solid #e8ebf1;
}

.job-table__term {
  width: 15rem;
  flex-shrink: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0055b8;
}

.job-table__desc {
  flex: 1;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.7;
  color: #444;
}

.job-table__desc ul {
  list-style: none;
  margin: 2rem 0;
}

.job-table__desc ul:first-child {
  margin-top: 0;
}

.job-table__desc ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.job-table__desc ul li:last-child {
  margin-bottom: 0;
}

.job-table__desc ul li::before {
  content: '・';
  position: absolute;
  left: 0;
}

.job-detail__btn-wrap {
  text-align: center;
}

/* ========================================
  Responsive Styles (SP)
======================================== */
@media (max-width: 767px) {

  /* Recruit Hero SP */
  .recruit-hero__bg {
    bottom: 92rem;
  }

  .recruit-hero__bg img {
    object-position: bottom left;
  }

  /* Recruit Intro SP */
  .recruit-intro {
    padding: 0rem 2rem 6rem;
  }

  .recruit-intro__content {
    min-width: auto;
  }


  .recruit-intro__inner {
    flex-direction: column;
    gap: 3rem;
  }

  .recruit-intro__title {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .recruit-intro__text {
    font-size: 1.4rem;
  }

  .recruit-intro__text br {
    display: none;
  }

  .recruit-intro__images {
    width: 100%;
    height: 25rem;
  }

  .recruit-intro__img--01 {
    width: 70%;
    height: 18rem;

  }

  .recruit-intro__img--02 {
    width: 50%;
    height: 12rem;

  }

  .recruit-intro__img--03 {
    width: 40%;
    height: 10rem;
    bottom: 6rem;
    right: 5rem;
    display: none;
  }

  /* Job List Section SP */
  .job-list-section {
    padding: 10rem 2rem 5rem 2rem;
  }

  .job-list {
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .job-card__bg {
    inset: 0;
  }

  .job-card {
    min-height: 32rem;
  }

  .job-card__content {
    width: 100%;
    height: 100%;
    padding: 2.5rem 2rem 8.5rem;
  }

  .job-card__number {
    font-size: 1.6rem;
  }

  .job-card__number::after {
    top: 0.7rem;
    left: 3.9rem;
  }

  .job-card__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .job-card__subtitle {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .job-card__text {
    font-size: 1.3rem;
  }

  .job-card__btn {
    right: 2rem;
    top: auto;
    bottom: 2rem;
    transform: none;
    width: 4rem;
    height: 4rem;
  }

  .job-card__btn img {
    width: 100%;
    height: 100%;
  }

  /* Job Detail Section SP */
  .job-detail {
    padding: 5rem 2rem;
    scroll-margin-top: 8rem;
  }

  .job-detail--alt {
    padding: 3rem 2rem 12rem;
  }

  .job-detail__header {
    margin-bottom: 3rem;
  }

  .job-detail__number::after {
    height: 6rem;
  }

  .job-detail__title {
    font-size: 2.2rem;
  }

  .job-detail__features {
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
  }

  .job-feature__title {
    font-size: 1.8rem;
  }

  .job-feature__text {
    font-size: 1.4rem;
  }

  /* Job Accordion SP */
  .job-accordion-wrap {
    padding: 3rem 1.5rem;
    border-radius: 8px;
  }

  .job-accordion__title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .job-accordion-list {
    gap: 1rem;
  }

  .job-accordion-item__header {
    padding: 1.5rem;
    gap: 1rem;
  }

  .job-accordion-item__number {
    font-size: 1.6rem;
  }

  .job-accordion-item__name {
    font-size: 1.4rem;
  }

  .job-accordion-item__icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  .job-accordion-item__icon::before {
    width: 1rem;
  }

  .job-accordion-item__icon::after {
    height: 1rem;
  }

  .job-accordion-item__body {
    padding: 0 1.5rem;
  }

  .job-accordion-item.is-open .job-accordion-item__body {
    padding: 0 1.5rem 2rem;
  }

  .job-detail__table-wrap {
    padding: 3rem 2rem;
    border-radius: 8px;
  }

  .job-detail__table-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .job-table__row {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .job-table__term {
    width: 100%;
    font-size: 1.4rem;
  }

  .job-table__desc {
    font-size: 1.4rem;
  }
}