/* Job Description */
/* ============================================ */
.content--job{
  margin-bottom: 120px;
}
.table{
  width: 100%;
  display: block;
  font-size: 14px;
  line-height: 2;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 64px;
  @media (max-width: 768px){
    margin-bottom: 32px;
  }
  .table__title{
    width: 30%;
    font-weight: bold;
    padding: 24px;
    border-bottom: 1px solid var(--main-color);
    @media (max-width: 450px){
      width: 100%;
      display: block;
      padding: 0;
      margin-bottom: 12px;
      border-bottom: none;
    }
  }
  .table__text{
    position: relative;
    width: 70%;
    padding: 24px;
    border-bottom: 1px solid #DBDBDB;
    @media (max-width: 450px){
      width: 100%;
      display: block;
      padding: 0 0 24px;
      border-bottom: 1px solid #DBDBDB;
      margin-bottom: 24px;
      &::before{
        content: "";
        position: absolute;
        bottom: -1px;
        width: 80px;
        height: 1px;
        background: var(--main-color);
      }
    }
  }
}


/* Flow */
/* ============================================ */
.content--flow{
  margin-bottom: 120px;
}
.step{
  display: flex;
  gap: 64px;
  padding-top: 32px;
  margin-bottom: 64px;
  @media (max-width: 900px){
    flex-wrap: wrap;
    gap: 40px 32px;
  }
  @media (max-width: 450px){
    gap: 88px;
    margin-bottom: 32px;
  }
}
.step__item{
  width: calc(100% / 4);
  position: relative;
  background: #fff;
  padding: 0 20px 20px 20px;
  border-radius: 10px;
  &:not(:last-child)::after{
    content: "";
    position: absolute;
    top: 50%;
    right: -45px;
    transform: translateY(-50%);
    background: url(/img/fm/la01/recruit/icon-triangle.svg) no-repeat center / contain;
    width: 24px;
    height: 32px;
    z-index: 1;
  }
  @media (max-width: 900px){
    width: calc(100% / 2 - 16px);
    &:not(:last-child)::after{
      right: -30px;
    }
    &:nth-child(2)::after{
      display: none;
    }
  }
  @media (max-width: 450px){
    width: 100%;
    padding: 0 32px 40px 32px;
    &:not(:last-child)::after{
      top: auto;
      right: auto;
      bottom: -40px;
      left: 50%;
      transform: translateX(-50%) rotate(90deg);
    }
    &:nth-child(2)::after{
      display: block;
    }
  }
  .step__figure{
    text-align: center;
    margin-bottom: 24px;
  }
  .step__figure--num{
    margin-top: -32px;
  }
  .step__figure--icon{
    img{
      width: 80px;
    }
  }
  .step__title{
    position: relative;
    text-align: center;
    font-size: 20px;
    color: var(--main-color);
    padding-bottom: 12px;
    margin-bottom: 12px;
    &::after{
      content: "";
      position: absolute;
      bottom: 0;
      width: 24px;
      height: 2px;
      background: var(--main-color);
      left: calc(50% - 12px);
    }
  }
  .step__text{
    font-size: 14px;
    line-height: 2;
  }
}


/* FAQ */
/* ============================================ */
.content--faq{
  margin-bottom: 120px;
}
.qa{
  margin-bottom: 64px;
  @media (max-width: 450px){
    margin-bottom: 32px;
  }
  .qa__item{
    font-size: clamp(14px,2.3vw,18px);
    margin-bottom: 24px;
    @media (max-width: 450px){
      margin-bottom: 16px;
    }
  }
  .qa__box{
    overflow: hidden;
    border-radius: 10px;
  }
  .qa__icon{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    font-family: var(--secondary-font);
    font-size: 32px;
    border-radius: 50%;
    @media (max-width: 450px){
      min-width: 30px;
      height: 30px;
      font-size: 16px;
    }
  }
  .qa__head{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 64px 24px 24px;
    color: #333333;
    background: #F5F5F5 url(/img/fm/la01/com/icon-open.svg) no-repeat right 32px center / 30px;
    transition: .3s;
    @media (max-width: 450px){
      gap: 16px;
      padding: 16px 48px 16px 16px;
      background: #F5F5F5 url(/img/fm/la01/com/icon-open.svg) no-repeat right 16px center / 25px;
    }
    .qa__icon--q{
      color: var(--main-color);
      border: 1px solid var(--main-color);
    }
  }
  .qa__head.open{
    color: #fff;
    background: var(--main-color) url(/img/fm/la01/com/icon-remove.svg) no-repeat right 32px center / 30px;
    @media (max-width: 450px){
      background: var(--main-color) url(/img/fm/la01/com/icon-remove.svg) no-repeat right 16px center / 25px;
    }
    .qa__icon--q{
      color: #fff;
      border: 1px solid #fff;
    }
  }
  .qa__text{
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: #F5F5F5;
    @media (max-width: 450px){
      gap: 16px;
      padding: 16px;
    }
  }
  .qa__icon--a{
    color: var(--main-color);
    border: 1px solid var(--main-color);
  }
}

.content--job,
.content--flow,
.content--faq{
  .btn{
    justify-content: center;
    a{
      min-width: 270px;
      text-align: center;
      font-size: clamp(12px,3.1vw,24px);
      @media (max-width: 768px){
        min-width: 170px;
      }
      @media (max-width: 450px){
        min-width: 150px;
      }
    }
  }
}
