/* =========================================================
   0) Utilities / Reset
========================================================= */
.pc_only {
  display: block !important;
}
.mo_only {
  display: none !important;
}
body {
  overflow-x: hidden;
}

/* =========================================================
   1) Root variables
========================================================= */
:root {
  --wrap: min(92vw, 1300px);
  --inner: 1200px; /* infoBar 내부 최대폭 */
  --text: #111;
  --muted: #7b7f87;
  --sep: #e5e7eb;
  --pill-bg: #f6f7f9;
  --pill-on: #ff7fab;
  --radius: 999px;
  --header-h: 72px; /* 헤더 기본 높이 */
  --sticky-gap: 8px; /* 스티키 탭과 헤더 간격 */
  --z-tabs: 50;
}

/* =========================================================
   2) Global Sticky Slot (탭 도킹)
========================================================= */
.globalStickySlot {
  position: sticky;
  top: calc(var(--header-h) + var(--sticky-gap));
  z-index: var(--z-tabs);
}

/* =========================================================
   3) Tabs
========================================================= */
.tabSection {
  font-family: Pretendard, system-ui, "Noto Sans KR", sans-serif;
  color: var(--text);
  overflow: visible;
}
.tabsWrap {
  overflow-x: auto;
  overflow-y: hidden;
}

.tabs {
  display: flex;                  /* grid 대신 flex로 변경 */
  justify-content: center;        /* 가로 중앙 정렬 */
  align-items: center;            /* 세로 중앙 정렬 */
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  width: fit-content;             /* 내용 크기에 맞춤 */
  margin: 0 auto clamp(26px, 4vw, 42px); /* 가운데 정렬 유지 */
  transition: box-shadow 0.2s, background 0.2s;
}

.tab {
  white-space: nowrap;
  border: 0;
  background: var(--pill-bg);
  padding: 10px 30px;
  border-radius: var(--radius);
  font-size: 18px;
  color: #444;
  cursor: pointer;
  transition: transform 0.12s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.tab:hover {
  transform: translateY(-1px);
}
.tab.is-active {
  background: linear-gradient(180deg, #ff8fb5, var(--pill-on));
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 127, 171, 0.28);
}
.globalStickySlot .tabs {
  background: none;
  backdrop-filter: saturate(160%) blur(6px);
  -webkit-backdrop-filter: saturate(160%) blur(6px);
  box-shadow: 0 6px 24px rgba(17, 24, 28, 0.08);
  margin-bottom: clamp(16px, 2.4vw, 24px);
}

/* 레이아웃 점프 방지 */
.tabsSpacer {
  height: 0;
}
.tabsDock.is-docked .tabsSpacer {
  height: var(--tabs-h, 56px);
}

/* =========================================================
   4) Panels (탭 컨텐츠 공통)
========================================================= */
.panels {
  width: 1400px;
  margin: 0 auto;
  text-align: center;
  overflow: visible;
}
.panel {
  animation: fade 0.24s ease;
}
.panel[hidden] {
  display: none;
}
.panel__title {
  font-size: clamp(26px, 3.6vw, 48px);
  padding-top: 150px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.panel__desc {
  margin: 0 auto;
  color: #555;
  font-size: clamp(14px, 16px, 16px);
  line-height: 1.9;
  padding: 20px 0 150px;
}
@keyframes fade {
  from {
    opacity: 0.001;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   5) InfoBar (풀블리드 + 내부 1200px/격자)
========================================================= */
.infoBar {
  background: #f7f7f7;
  border-top: 1px solid #f0f1f4;
  border-bottom: 1px solid #f0f1f4;
  padding: clamp(18px, 3vw, 28px) 0;

  /* 풀블리드 */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}
/* 내부 그리드 */
.infoGrid {
  width: min(92vw, var(--inner));
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px) clamp(10px, 2vw, 16px);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-radius: 14px;
}
.infoGrid.infoGrid_skin {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.infoGrid > li:last-child:after {
  display: none;
}
.infoGrid > li {
  position: relative;
  padding: clamp(14px, 2.6vw, 22px) clamp(10px, 2vw, 14px);
  display: grid;
  place-items: center;
  row-gap: 25px;
  text-align: center;
}
.infoGrid > li::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--sep);
}
.infoGrid .ico {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f2f5;
  font-size: 26px;
  line-height: 1;
  user-select: none;
}
.infoGrid .k {
  font-style: normal;
  font-size: 16px;
  color: #aaa;
  margin-top: 20px;
}
.infoGrid .v {
  font-weight: 500;
  font-size: clamp(14px, 1.8vw, 22px);
  color: #131313;
  display: block;
  margin-top: 5px;
}

/* =========================================================
   6) Hero Section (section01)
========================================================= */
.section01 {
  padding: clamp(24px, 4vw, 48px) 0;
  color: var(--text);
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Noto Sans KR", sans-serif;
  background: #fff;
}
.section01__inner {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
.section01__media {
  margin: 0;
}
.section01__media.section01__media_01 {
  margin: 0;
}
.section01__media img {
  width: 100%;
  height: clamp(220px, 45vw, 460px);
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.section01__text {
  margin-left: 0;
}
.eyebrow {
  font-size: 20px;
  color: #ff5aa5;
  letter-spacing: 0.02em;
  margin: 2px 0 10px;
  font-weight: 700;
}
.section01__title {
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 400;
}
.section01__title strong {
  font-weight: 600;
}
.section01__desc {
  color: #8a8f98;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.7;
  margin: 0 0 20px;
}
.section01__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wrap {
  padding: 0 15px;
}

/* =========================================================
   7) Surgery Steps (탭 패널 안에서만)
========================================================= */
.tabSection .panels .panel .surgerySteps {
  /* 풀블리드(뷰포트 기준) */
  padding: 150px 0;
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  right: auto;
  margin-right: 0;
  font-weight: 500;
  color: #111;
  font-family: Pretendard, -apple-system, "Noto Sans KR", sans-serif;
  box-sizing: border-box;
}
.tabSection .panels .panel .surgerySteps.surgerySteps01 {
  padding: 150px 0 0 0;
}
.tabSection .panels .panel .surgerySteps .steps__head {
  width: min(92vw, 980px);
  margin: 0 auto 60px;
  text-align: center;
}
.tabSection .panels .panel .surgerySteps .steps__title {
  font-size: clamp(22px, 3.65vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #131313;
}
.tabSection .panels .panel .surgerySteps .steps__desc {
  color: #555;
  font-size: clamp(14px, 16px, 16px);
  line-height: 1.8;
  margin: 0;
  font-weight: 400;
}
.tabSection .panels .panel .surgerySteps .steps__grid {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  box-sizing: border-box;
  width: min(92vw, 1400px);
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.tabSection .panels .panel .surgerySteps .steps__grid2 {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  box-sizing: border-box;
  width: min(92vw, 1400px);
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.tabSection .panels .panel .surgerySteps .steps__grid3 {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  box-sizing: border-box;
  width: min(92vw, 1400px);
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.tabSection .panels .panel .surgerySteps .steps__grid.nose01_step {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tabSection .panels .panel .surgerySteps .steps__grid.nose02_step {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tabSection .panels .panel .surgerySteps .stepCard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tabSection .panels .panel .surgerySteps .stepCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.tabSection .panels .panel .surgerySteps .stepCard__media {
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
  display: block;
}
.tabSection .panels .panel .surgerySteps .stepCard__media.stepCard__media_nose {
  aspect-ratio: 6/3;
}
.tabSection
  .panels
  .panel
  .surgerySteps
  .stepCard__media.stepCard__media_face01 {
  aspect-ratio: 6/3;
}
.tabSection .panels .panel .surgerySteps .stepCard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tabSection .panels .panel .surgerySteps .stepCard__bar {
  background: #151515;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px;
  font-size: 16px;
  justify-content: center;
}
.tabSection .panels .panel .surgerySteps .nose02_step .stepCard__bar {
  justify-content: end;
}
.tabSection .panels .panel .surgerySteps .nose02_step .txt {
  display: block;
  background: #151515;
  color: #fff;
  padding: 0 18px 14px 18px;
  padding-bottom: 14px;
}
.tabSection .panels .panel .surgerySteps .stepCard__bar .point {
  color: #ff5aa5;
  font-weight: 500;
}
.tabSection .panels .panel .surgerySteps .stepCard__bar .point::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 10px 0 12px;
}
.tabSection .panels .panel .surgerySteps .stepCard .txt {
  display: block;
  background: #151515;
  color: #fff;
  padding: 0 18px 14px 18px;
}
/* =========================================================
   8) Candidates (배경 이미지 + 우측 리스트) – 탭 패널 전용
========================================================= */
.tabSection .panels .panel .candidatesBG {
  --bg: #e0cbb3;
  --photo: url("../img/content0101.png"); /* 필요 시 교체 */

  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    var(--photo), var(--bg);
  background-size: cover, cover, auto;
  background-position: left center, left center, center;
  background-repeat: no-repeat;

  padding: clamp(48px, 6vw, 130px) 0;
  color: #1a140e;
  font-family: Pretendard, system-ui, "Noto Sans KR", sans-serif;
  box-sizing: border-box;
}

.tabSection .panels .panel .candidatesBG02 {
  background: url("../img/content0202.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG03 {
  background: url("../img/content0303.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG04 {
  background: url("../img/content0404.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG05 {
  background: url("../img/content0505.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG06 {
  background: url("../img/content0606.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG07 {
  background: url("../img/content0707.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG08 {
  background: url("../img/content0808.png") no-repeat center/cover;
}

.tabSection .panels .panel .candidatesBG_nose01 {
  background: url("../img/nose_content0101.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_nose02 {
  background: url("../img/nose_content0202.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_nose03 {
  background: url("../img/nose_content0303.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_nose04 {
  background: url("../img/nose_content0404.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_nose05 {
  background: url("../img/nose_content0505.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_nose06 {
  background: url("../img/nose_content0606.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_nose07 {
  background: url("../img/nose_content0707.png") no-repeat center/cover;
}

.tabSection .panels .panel .candidatesBG_face01 {
  background: url("../img/face_content0101.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_face02 {
  background: url("../img/face_content0202.png") no-repeat center/cover;
}

.tabSection .panels .panel .candidatesBG_chest01 {
  background: url("../img/chest_content0101.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_chest02 {
  background: url("../img/chest_content0202.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_chest03 {
  background: url("../img/chest_content0303.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_chest04 {
  background: url("../img/chest_content0404.png") no-repeat center/cover;
}

.tabSection .panels .panel .candidatesBG_body01 {
  background: url("../img/body_content0101.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_body02 {
  background: url("../img/body_content0202.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_body03 {
  background: url("../img/body_content0303.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_body_middle01 {
  background: url("../img/body_middle.png") no-repeat center/cover;
  height: 955px;
}
.tabSection .panels .panel .candidatesBG_skin_middle01 {
  background: url("../img/skin_middle.png") no-repeat center/cover;
  height: 1020px;
}

.tabSection .panels .panel .candidatesBG_skin01 {
  background: url("../img/skin_content0101.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_skin02 {
  background: url("../img/skin_content0202.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_skin03 {
  background: url("../img/skin_content0303.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_skin04 {
  background: url("../img/skin_content0404.png") no-repeat center/cover;
}
.tabSection .panels .panel .candidatesBG_skin05 {
  background: url("../img/skin_content0505.png") no-repeat center/cover;
}

.tabSection .panels .panel .candidatesBG .candi-inner {
  width: min(92vw, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
}
.tabSection .panels .panel .candidatesBG .candi-content {
  grid-column: 2/3;
  margin-left: clamp(16px, 4vw, 48px);
  background: transparent;
  text-align: left;
}
.tabSection .panels .panel .candidatesBG .candi-title {
  margin: 0 0 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1c1510;
  font-size: 36px;
}
.tabSection .panels .panel .candidatesBG .candi-title b {
  font-weight: 700;
}
.tabSection .panels .panel .candidatesBG .candi-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.tabSection .panels .panel .candidatesBG .candi-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  line-height: 1.7;
  color: #2a2114;
  font-size: 20px;
}
.tabSection .panels .panel .candidatesBG .candi-list li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.tabSection .panels .panel .candidatesBG .candi-list li::before {
  content: "";
  background: url("../img/check.png") center no-repeat;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}
.tabSection
  .panels
  .panel
  .candidatesBG.candidatesBG_skin03
  .candi-list
  li::before {
  background: url("../img/check_white.png") center no-repeat;
}
/* =========================================================
   9) Media Queries (하단 집약)
========================================================= */
.tabs::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff8fb5, var(--pill-on));
  border-radius: 999px;
}
.body_content_box {
  display: flex;
  gap: 60px;
  text-align: left;
  align-items: center;
  padding: 150px 0;
}
.body_content_box .txt_box {
  width: 40%;
}
.body_content_box .txt_box h3 {
  padding-bottom: 40px;
  font-weight: 600;
  font-size: 48px;
  color: #131313;
}
.body_content_box .txt_box p {
  padding-bottom: 40px;
  line-height: 1.8;
  font-weight: 400;
  font-size: 18px;
  color: #555;
}
.body_content_box .txt_box .flex_box {
  display: flex;
  gap: 20px;
}
.body_content_box .txt_box .flex_box span {
  color: #ff78a2;
  font-size: 18px;
  font-weight: 500;
}
/* >= 1025px 데스크톱 */
@media (min-width: 1025px) {
  .tabs {
    justify-content: center;
    grid-auto-flow: row;
    grid-template-columns: repeat(8, max-content);
    overflow: visible;
  }
  .section01__inner {
    grid-template-columns: 1fr 1.1fr;
  }
  .section01__text {
    margin-left: 240px;
  }
  .section01__media {
    order: 1;
  }
  .section01__media img {
    height: clamp(420px, 42vw, 690px);
  }
  .wrap {
    padding: 0;
  }
}

/* <= 1024px (태블릿) */
@media (max-width: 1024px) {
  /* 탭 */
  .globalStickySlot {
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-1 * ((100vw - 100%) / 2));
  }
  .tabsWrap {
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* 스크롤바 숨김 */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tabsWrap::-webkit-scrollbar {
    display: none;
  }
  .tabs {
    width: max-content;
    max-width: none;
    margin: 0 0 clamp(26px, 4vw, 42px) 0;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .globalStickySlot .tabs {
    background: rgba(255, 255, 255, 0.92);
  }
  /* 디바이스 전환 */
  .pc_only {
    display: none !important;
  }
  .mo_only {
    display: block !important;
  }

  /* 수술방법 격자 3열 */
  .tabSection .panels .panel .surgerySteps .steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .tabSection .panels .panel .surgerySteps .steps__grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .tabSection .panels .panel .surgerySteps .steps__grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .tabSection
    .panels
    .panel
    .surgerySteps
    .steps__grid.steps__grid.nose02_step {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
  /* Candidates 한 열 */
  .tabSection .panels .panel .candidatesBG01 {
    background: url("../img/content0101_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG02 {
    background: url("../img/content0202_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG03 {
    background: url("../img/content0303_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG04 {
    background: url("../img/content0404_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG05 {
    background: url("../img/content0505_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG06 {
    background: url("../img/content0606_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG07 {
    background: url("../img/content0707_m.jpg") center no-repeat;
  }
   .tabSection .panels .panel .candidatesBG08 {
    background: url("../img/content0808_m.jpg") center no-repeat;
  }

  .tabSection .panels .panel .candidatesBG_nose01 {
    background: url("../img/nose_content0101_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_nose02 {
    background: url("../img/nose_content0202_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_nose03 {
    background: url("../img/nose_content0303_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_nose04 {
    background: url("../img/nose_content0404_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_nose05 {
    background: url("../img/nose_content0505_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_nose06 {
    background: url("../img/nose_content0606_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_nose07 {
    background: url("../img/nose_content0707_m.jpg") center no-repeat;
  }

  .tabSection .panels .panel .candidatesBG_face01 {
    background: url("../img/face_content0101_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_face02 {
    background: url("../img/face_content0202_m.jpg") center no-repeat;
  }

  .tabSection .panels .panel .candidatesBG_chest01 {
    background: url("../img/chest_content0101_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_chest02 {
    background: url("../img/chest_content0202_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_chest03 {
    background: url("../img/chest_content0303_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_chest04 {
    background: url("../img/chest_content0404_m.jpg") center no-repeat;
  }

  .tabSection .panels .panel .candidatesBG_body01 {
    background: url("../img/body_content0101_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_body02 {
    background: url("../img/body_content0202_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_body03 {
    background: url("../img/body_content0303_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_body_middle01 {
    background: none;
    height: auto;
    padding: 0;
  }
  .tabSection .panels .panel .candidatesBG_skin_middle01 {
    background: none;
    height: auto;
    padding: 0;
  }

  .tabSection .panels .panel .candidatesBG_skin01 {
    background: url("../img/skin_content0101_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_skin02 {
    background: url("../img/skin_content0202_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_skin03 {
    background: url("../img/skin_content0303_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_skin04 {
    background: url("../img/skin_content0404_m.jpg") center no-repeat;
  }
  .tabSection .panels .panel .candidatesBG_skin05 {
    background: url("../img/skin_content0505_m.jpg") center no-repeat;
  }

  .tabSection .panels .panel .candidatesBG .candi-inner {
    grid-template-columns: 1fr;
  }
  .tabSection .panels .panel .candidatesBG .candi-content {
    grid-column: 1 / -1;
    max-width: 720px;
    margin: 0 auto;
  }
  .tabSection .panels .panel .candidatesBG {
    background-position: center top;
  }

  /* infoGrid 3열 */
  .infoGrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .infoGrid > li:nth-child(3n)::after {
    display: none;
  }
  .infoGrid > li:nth-child(n + 4) {
    border-top: 1px solid var(--sep);
  }
  .eyebrow {
    font-size: 18px;
  }
  .tab {
    font-size: 16px;
  }
  .panel__title {
    padding-top: 60px;
  }
  .panels {
    width: 100%;
  }
  .panel__desc {
    padding: 20px 0 60px;
  }
  .tabSection .panels .panel .surgerySteps {
    padding: 60px 0;
  }
  .tabSection .panels .panel .surgerySteps.surgerySteps01 {
    padding: 60px 0 0 0;
  }
  .tabSection .panels .panel .surgerySteps .stepCard__bar {
    font-size: 2.5vw;
  }
  .tabSection .panels .panel .candidatesBG .candi-title {
    font-size: 22px;
  }
  .tabSection .panels .panel .candidatesBG .candi-list li {
    font-size: 16px;
  }

  .stepCard__bar {
	height: 64px;
  }

  .body_content_box {
    display: flex;
    gap: 50px;
    text-align: left;
    align-items: center;
    padding: 60px 0;
    flex-direction: column;
  }
  .body_content_box div {
    width: 100%;
  }
  .body_content_box img {
    width: 100%;
  }
  .body_content_box .txt_box {
    width: 100%;
  }
  .body_content_box .txt_box h3 {
    padding-bottom: 20px;
    font-weight: 600;
    font-size: 24px;
    color: #131313;
  }
  .body_content_box .txt_box p {
    padding-bottom: 20px;
    line-height: 1.5;
    font-weight: 400;
    font-size: 16px;
    color: #555;
  }
  .body_content_box .txt_box .flex_box {
    display: flex;
    gap: 20px;
  }
  .body_content_box .txt_box .flex_box span {
    color: #ff78a2;
    font-size: 16px;
  }
}

/* <= 768px (모바일) */
@media (max-width: 768px) {
  /* 수술방법 격자 2열 */
  .tabSection .panels .panel .surgerySteps .steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .infoGrid > li::after {
	display: none;
  }
}


/* <= 640px (더 작은 모바일) */
@media (max-width: 640px) {
  .infoGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .infoGrid.infoGrid_skin {
    grid-template-columns: repeat(2, 1fr);
  }
  .infoGrid > li:nth-child(2n)::after {
    display: none;
  }
  .infoGrid > li:nth-child(n + 3) {
    border-top: 1px solid var(--sep);
  }
}

/* faq */

.faq-wrap{max-width:1400px;margin:0 auto; padding-top: 150px;}
  .faq-title{margin:0 0 60px;font-weight:600;font-size:clamp(22px,2.5vw,48px);letter-spacing:-.02em;color:#131313;}
  .faq{display:block}
  .faq-item{border-bottom:1px solid #e9e9e9;}

  /* 질문(닫힘=제목만 보이는 흰 박스) */
  .faq-q{
    width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
    background:#fff; border:0; text-align:left; cursor:pointer;
    color:#131313; line-height:1.45; font-size:clamp(15px,1.6vw,18px);
    padding:0 16px; height:72px; border-radius:6px;
    transition: box-shadow .2s ease, border-radius .2s ease, background .2s ease;
  }
  .faq-q:focus-visible{outline:2px solid #131313; outline-offset:2px;}
  .faq-q__text{flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size: 20px; color: #131313;}

  /* + / − 아이콘 */
  .faq-q__pm{position:relative; width:18px; height:18px; flex:0 0 18px}
  .faq-q__pm::before, .faq-q__pm::after{
    content:""; position:absolute; left:0; top:50%; background:#131313;
    transform:translateY(-50%); transition:transform .2s ease, opacity .2s ease;
  }
  .faq-q__pm::before{ width:100%; height:2px; }                                   /* 가로선 */
  .faq-q__pm::after{ width:2px; height:100%; left:50%; transform:translate(-50%,-50%);} /* 세로선 → + */


  /* 답변(처음엔 숨김 → 열리면 72px) : 질문과 '틈 없이' 맞닿음 */
  .faq-a{
    margin:0; background:#f7f7f7; color:#666;
    border-radius:6px 6px 6px 6px; padding:0 16px;
    height:0; overflow:hidden; display:flex; align-items:center;
    font-size:18px;
    transition:height .28s ease; color: #555;
  }
  .faq-item.is-open .faq-a{ height:72px; text-align: left;}

  /* 반응형: 작은 화면에서 텍스트가 겹치지 않도록 장치 */
   @media (max-width:1024px){
    .faq-wrap{padding: 60px 0 0;}
    .faq-item.is-open .faq-a{height: 100px;}
    .faq-title{margin: 0 0 20px;}
   }
  @media (max-width:640px){
    .faq-q__text{white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;}
    .faq-a, .faq-q__text{font-size: 16px;}
  }