@charset "utf-8";

.withPeople {
  width: 100%;
  margin: 14.37rem auto 0;
  text-align: center;
}
.withPeople h2 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
}
.withPeople > p {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 4rem;
}

/* tabMenu */
.peopleTabMenu {
  position: relative;
  padding: 10rem 0 15rem;
}
.peopleTabMenu .tabMenu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.87rem;
  margin-bottom: 4.37rem;
}
.peopleTabMenu .tabMenu li {
  display: block;
  font-size: 1.31rem;
  font-weight: 500;
  color: var(--gray);
}
.peopleTabMenu .tabMenu li > a:hover {
  color: var(--black);
}
.peopleTabMenu .tabMenu li.active {
  color: var(--black);
}
.peopleTabMenu .tabMenu li.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
}
.peopleTabMenu .tabList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.87rem;
  overflow: hidden;
  transition: all 0.5s ease;
}
.tabList li > a > figure {
  width: 21.75rem;
  height: 25rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.tabList li > a > figure img {
  width: 100%;
  transition: all 0.3s ease;
}
.tabList li > a > figure img:hover {
  width: 100%;
  transform: scale(1.05);
}
.tabList li > a > strong {
  display: block;
  font-size: 1.68rem;
  font-weight: 600;
  margin-bottom: 0.93rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.tabList li:hover > a > strong {
  text-decoration: underline;
}
.tabList li > a > p {
  color: var(--deep-gray);
  margin-bottom: 3.75rem;
}

/* video */
.videoArea {
  position: relative;
  width: 100%;
  height: 59.62rem;
}
.videoArea::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--black30);
}
.videoArea > p {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 53.12rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  text-align: center;
  z-index: 50;
  margin: 0 auto;
}

/* ==========노트북 반응형============= */
@media screen and (max-width: 1023px) {
  .withPeople {
    margin: 11.87rem auto 0;
  }
  .withPeople h2 {
    font-size: 3.5rem;
    margin-bottom: 0.93rem;
  }
  .withPeople > p {
    font-size: 1.06rem;
  }
  .swiper-slide > img {
    width: 58.93rem;
    height: 47.5rem;
    object-fit: cover;
  }

  /* tabMenu */
  .peopleTabMenu {
    padding: 7.5rem 0;
}

  .peopleTabMenu .tabMenu li {
    font-size: 1.25rem;
  }

  .peopleTabMenu .tabList {
    grid-template-columns: repeat(3, 1fr);
  }
  .tabList li > a > figure {
    width: 18.43rem;
    height: 21.18rem;
  }
  .tabList li > a > figure img:hover {
    transform: scale(1);
  }
  .tabList li > a > strong {
    font-size: 1.5rem;
    margin-bottom: 0.93rem;
  }
  .tabList li:hover > a > strong {
    text-decoration: none;
  }
  .tabList li > a > p {
    margin-bottom: 1.87rem;
  }

  /* video */
  .videoArea {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  .videoArea video {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
  }
  .videoArea video source {
    height: 100%;
    object-fit: cover;
  }
  .videoArea::after {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--black30);
  }
  .videoArea > p {
    transform: translateY(-50%);
    left: 0;
    right: 0;
    width: 46.87rem;
    font-size: 1.75rem;
    margin: 0 auto;
  }
}

/* ==========태블릿 반응형============= */
@media screen and (max-width: 860px) {
  .withPeople {
    margin: 11.87rem auto 0;
  }
  .withPeople h2 {
    font-size: 3.93rem;
  }
  .withPeople > p {
    font-size: 1.25rem;
  }
  .swiper-slide > img {
    width: 49.56rem;
    height: 53.25rem;
  }

  /* tabMenu */
  .peopleTabMenu {
    padding: 7rem 0;
}

  .peopleTabMenu .tabMenu li {
    font-size: 1.43rem;
  }

  .peopleTabMenu .tabList {
    grid-template-columns: repeat(2, 1fr);
  }
  .tabList li > a > figure {
    width: 23.93rem;
    height: 27.56rem;
  }
  .tabList li > a > strong {
    font-size: 1.68rem;
  }

  /* video */
  .videoArea::after {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--black30);
  }
  .videoArea > p {
    font-size: 2rem;
  }
}

/* ==========모바일 반응형============= */
@media screen and (max-width: 540px) {
  .withPeople {
    margin: 11.87rem auto 0;
  }
  .withPeople h2 {
    font-size: 4rem;
  }
  .withPeople > p {
    width: 25rem;
    font-size: 1.43rem;
    line-height: 1.5;
    margin: 0 auto 3rem;
    word-break: keep-all;
  }
  .swiper-slide > img {
    width: 30.31rem;
  }

  /* tabMenu */
  .peopleTabMenu {
    padding: 6.93rem 0;
  }
  .peopleTabMenu .tabMenu {
    gap: 1.56rem;
    margin-bottom: 3.12rem;
}
  .peopleTabMenu .tabMenu li {
    font-size: 1.56rem;
  }
  .peopleTabMenu .tabList {
    grid-template-columns: repeat(1, 1fr);
  }
  .tabList li > a > figure {
    width: 30.31rem;
    height: 34.87rem;
  }
  .tabList li > a > strong {
    font-size: 2.12rem;
  }
  .tabList li > a > p {
    font-size: 1.31rem;
    font-weight: 500;
    margin-bottom: 3.12rem;
  }
  /* video */
  .videoArea > p {
    top: 40%;
    transform: translateY(-40%);
    width: 25rem;
    font-size: 2.43rem;
    word-break: keep-all;
  }
}
