section.service-bg {
  background: url(/image/site/service_top_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  height: 755px;
  text-align: center;
}
.dropdown-list {
  display: none;
}
section.service-bg img {
  /* position: absolute; */
}
section > .inner {
  text-align: left;
}
section > .inner > h2 {
  font-size: 78px;
  font-weight: 800;
  padding-top: 170px;
  margin-bottom: 50px;
  color: #fff;
}
.mobile-ul {
  display: none;
}
ul.category {
  display: flex;
  gap: 50px;
  margin-bottom: 100px;
}
ul.category > li > a {
  font-size: 20px;
  font-weight: 700;
  color: #b8b8b8;
  margin-bottom: 100px;
}
ul.category > li > a.act {
  color: #fff;
  border-bottom: 4px solid #fff;
  padding-bottom: 7px;
}
.service-text {
  margin-top: 320px;
}
.service-text h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}
.service-text p {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
}
.service-content {
  margin-top: 180px;
}
.service-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 45px;
}
.service-content .list-area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-content-list {
  box-sizing: border-box;
}
.service-content-list > li {
  margin-bottom: 20px;
}
.service-content-list > li > .title {
  padding: 26px 25px 26px 25px;
  font-size: 26px;
  font-weight: 700;
  border: 1px solid #c3c3c3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.5s ease;
}
.service-content-list > li.act > .title {
  color: #fff;
  background: linear-gradient(90deg, #0091d0 0%, #1a75bc 100%);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border: 1px solid #1a75bc;
}
.service-content-list > li > .title i {
  color: #c7c7c7;
  transition: all 0.5s ease;
}
.service-content-list > li.act > .title i {
  color: #fff;
  transform: rotate(180deg);
}
.service-content-list > li > .content {
  width: 100%;
  border: 1px solid #c3c3c3;
  border-top: 0;
  border-radius: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  display: none;
  transition: all 0.5s ease;
}
.service-content-list > li.act > .content {
  display: block;
}
.service-content-list > li > .content .list {
  font-size: 18px;
  position: relative;
  width: 100%;
  height: 75px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.service-content-list > li > .content .list:after {
  content: "";
  display: block;
  height: 1px;
  background-color: #d6d6d6;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
}
.service-content-list > li > .content .list:last-child:after {
  height: 0;
}
.service-member {
  margin-top: 180px;
  margin-bottom: 280px;
}
.service-member h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 45px;
}
.service-member ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}
.service-member ul > li {
  cursor: pointer;
}
.service-member ul > li > img {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
  width:80%;
}
.service-member ul > li > img:hover {
  filter: grayscale(0%);
}
.service-member ul > li p {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease; /* 서서히 나타나는 효과 */
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.popup-inner {
  position: relative;
  /* width: 100%; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 1200px;
  width: 100%;
  height: 845px;
  display: flex;
}
.popup-content img {
  width: 450px;
}
.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}
.close-btn {
  position: absolute;
  font-size: 40px;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  right: 0;
  top: -60px;
}
.info {
  position: relative;
  width: 100%;
  padding: 70px 50px;
  overflow-y: scroll;
}
.info > .title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 25px;
}
.info > .title h2 {
  font-size: 40px;
  font-weight: 700;
}
.info > .title p {
  font-size: 26px;
  font-weight: 700;
  color: #afacac;
}
.info > .profile {
  margin-bottom: 27px;
}
.info > .profile ul > li {
  display: flex;
  gap: 15px;
}
.info > .profile ul > li p.col {
  width: 60px;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: #afacac;
}
.info > .profile ul > li p.content {
  font-size: 20px;
  font-weight: 500;
  color: #000;
}
.info > .history {
  border-top: 2px solid #000;
}
.info > .history ul > li {
  padding: 22px 0;
  border-bottom: 1px solid #e4e4e4;
  display: flex;
  gap: 40px;
}
.info > .history ul > li p.col {
  width: 70px;
  font-size: 20px;
  font-weight: 700;
  color: #000;
}
.info > .history ul > li p.content {
  width: 360px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #000;
}

.image-wrapper {
  width: 1440px;
  margin: 0 auto;
}
.image-wrapper img {
  width: 100%;
}
@media screen and (max-width: 1024px) {
  section > .inner > h2 {
    font-size: 44px;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 110px;
  }
  section.service-bg {
    height: 500px;
  }
  .image-wrapper {
    margin: 0 auto;
    width: calc(100% - 40px);
    height: 250px;
    padding: 0 20px;
    position: relative;
  }
  .image-wrapper img {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) !important;
    height: 100%;
    border-radius: 20px;
  }
  .service-text {
    margin-top: 150px;
  }
  .service-text h2 {
    font-size: 26px;
  }
  .service-text p {
    font-size: 18px;
  }
  .service-content {
    margin-top: 100px;
  }
  .service-content h2 {
    font-size: 26px;
    margin-bottom: 25px;
  }
  .service-content .list-area {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }
  .service-content-list > li > .title {
    font-size: 20px;
    padding: 20px 25px 20px 25px;
  }
  .service-content-list > li > .content .list {
    font-size: 16px;
    padding: 0 25px;
  }
  .service-content-list > li > .content .list:after {
    left: 25px;
    right: 25px;
  }
  .service-member {
    margin-top: 100px;
  }
  .service-member h2 {
    font-size: 26px;
  }
  .service-member ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
  .service-member ul > li p {
    font-size: 20px;
  }
  ul.category {
    display: none;
  }
  .mobile-ul {
    display: block;
    width: 100%;
    margin-bottom: 140px;
  }

  /* 드롭다운 컨테이너 */
  .dropdown {
    position: relative;
    width: 200px;
    background: #d9d9d933;
  }

  /* 선택된 항목 표시 */
  .dropdown-selected {
    padding: 24px;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* 드롭다운 리스트 */
  .dropdown-list {
    position: absolute;
    bottom: -100px;
    left: 20px;
    right: 20px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    list-style: none;
    margin: 5px 0 0;
    padding: 0 20px;
    display: none; /* 기본적으로 숨김 */
    z-index: 10;
    max-height: 100%;
    overflow-y: auto; /* 리스트가 많으면 스크롤 */
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    padding: 14px 18px;
  }

  /* 드롭다운 활성화 */
  .dropdown-list.show {
    display: block; /* 리스트 표시 */
  }

  /* 드롭다운 항목 */
  .dropdown-list li {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .popup-inner {
    width: 100%;
    padding: 0 20px;
  }
  .popup-content {
    max-width: 100%;
    width: 100%;
    flex-direction: column;
    overflow-y: auto; /* 리스트가 많으면 스크롤 */
    max-height: 600px;
  }
  .popup-content img {
    width: 100%;
  }
  .info {
    padding: 20px;
    overflow-y: visible;
  }
  .info > .title h2 {
    font-size: 20px;
  }
  .info > .title p {
    font-size: 16px;
  }
  .info > .profile ul > li p.col {
    font-size: 16px;
  }
  .info > .profile ul > li p.content {
    font-size: 16px;
  }
  .info > .history ul > li p.col {
    font-size: 16px;
    width: 60px;
  }
  .info > .history ul > li p.content {
    font-size: 16px;
    width: 200px;
  }
  .close-btn {
    top: 10px;
    right: 40px;
    color: #000;
  }
  .service-content-list > li {
    margin-bottom: 10px;
  }
}
