/* style-c6.css */

/* ====================== C6 ====================== */
.c6{
  position:relative;
  padding: clamp(90px, 10vw, 150px) 0 160px;
  overflow:hidden;
  word-break: keep-all;
}

/* 배경 */
.c6__bg{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgb(255 255 255 / 0%), rgb(255 255 255 / 0%)), url(../img/c6/c6_bg.png) center / cover no-repeat;
  opacity:1;
  z-index:0;
}

/* content */
.c6__inner{
  position:relative;
  z-index:2;
  max-width: 1030px;
  margin:0 auto;
  text-align:center;
  padding:0 24px;
}

/* pill */
.c6__pill{
  height: 68px;               
  display: flex;
  justify-content:center;
  align-items:center;
  margin-bottom: 16px;       
}

.c6__pill-shape{
  width: 170px;             
  height: 349.8px;             
  border-radius: 50%;
  border: 3px solid #9b9b9b;
  background: #ffffff;
  transform: scaleY(0.17);   
  transform-origin: center;
  display:flex;
  justify-content:center;
  align-items:center;
}

.c6__pill-shape span{
  transform: scaleY(5.8);     
  font-size: 26px;
  font-weight: 800;
  color: #a1a1a1;
  letter-spacing: -0.1;
}


/* title */
.c6__title{
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 500;
  margin-bottom: 24px;
  line-height:1.3;
  letter-spacing: -1.2px;
  word-spacing: -1.1px;
}
.c6__title strong{
  color: #000000;
  font-weight: 700;
}

/* subtitle */
.c6__subtitle{
  font-size: clamp(15px, 1.6vw, 19.5px);
  color:#4f5661;
  line-height: 1.4;
  margin-bottom: 78px;
  letter-spacing: -0.4px;
}
/* 카드 전체 래퍼 */
.c6__cards{
  position: relative;
  max-width: 930px;          /* 가운데로 모아주기 */
  margin: 90px auto 0;
  padding-bottom: 940px;     /* 마지막 카드까지 공간 확보 (밑 섹션 안 겹치게) */
}
.c6__card{
  position:absolute;
  width: 480px;
}

/* 왼쪽/오른쪽 위치 */
.c6__card--left{
  left:0;
}
.c6__card--right{
  right:0;
}

/* 카드별 세로 위치 + 겹치는 순서(아래 → 위) */
.c6__card:nth-child(1){  /* 왼쪽 첫번째 카드 - 당뇨, 고혈압 */
  top:0;
  z-index:1;              /* 제일 아래 */
}
.c6__card:nth-child(2){  /* 오른쪽 첫번째 카드 - 통증이 적어요 */
  top: 220px;
  z-index:2;
}
.c6__card:nth-child(3){  /* 왼쪽 두번째 카드 - 수술 후 회복이 빨라요 */
  top: 420px;
  z-index:3;
}
.c6__card:nth-child(4){  /* 오른쪽 두번째 카드 - 오래가고 튼튼해요 */
  top: 640px;
  z-index:4;              /* 제일 위 */
}

.bottom1{ top:240px; }
.bottom2{ top:280px; }

/* 파란 점 */
.c6__dot{
  position:absolute;
  top: -5px;
  width:16px;
  height:16px;
  border-radius:50%;
  background: #2086c8;
}

/* 왼쪽 카드의 점 : 오른쪽 모서리 쪽 */
.c6__card--left .c6__dot{
  left: -5px;            /* 필요하면 거리 조절 */
}

/* 오른쪽 카드의 점 : 왼쪽 모서리 쪽 */
.c6__card--right .c6__dot{
  right: -5px;
}

/* 박스 모양 */
.c6__box{
  background:#ffffff;
  border: 1.5px solid #2086c8;
  border-radius: 0;
  padding: 10px 26px;
  box-shadow: 1px 5px 11px rgb(0 0 0 / 14%);
  letter-spacing: -0.5px;
  line-height: -1.1px;
}

.c6__box h3{
  color: #2086c8;
  font-size: 32px;
  font-weight:700;
  margin-bottom:10px;
  word-spacing: -2.1px;
}

.c6__box p{
  font-size: 20px;
  color:#333;
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 900px){
  .c6__cards{
    max-width: 100%;
    padding-bottom: 0;
  }
  .c6__card{
    position: static;
    width: 100%;
    margin-bottom: 20px;
  }
  .c6__dot{
    /*left: 32px;*/                    /* 모바일에선 왼쪽 위에 점 */
    transform: none;
  }
}
@media(max-width:768px){
  .c6{
    padding: clamp(90px, 10vw, 150px) 0;
  }
  .c6__pill{
    height: 68px;               
    display: flex;
    justify-content:center;
    align-items:center;
    margin-bottom: 16px;       
  }
  
  .c6__pill-shape{
    width: 135px;
    height: 289.8px;
    border-radius: 50%;
    border: 3px solid #9b9b9b;
    background: #ffffff;
    transform: scaleY(0.17);
    transform-origin: center;
    display:flex;
    justify-content:center;
    align-items:center;
  }
  
  .c6__pill-shape span{
    transform: scaleY(5.8);
    font-size: 20px;
    font-weight: 800;
    color: #a1a1a1;
    letter-spacing: -0.1;
  }
  .c6__subtitle{
    margin-bottom:0px;
  }
  .c6__cards{
    margin: 50px auto 0;
  }
  .c6__box h3{
    color: #2086c8;
    font-size: 28px;
    font-weight:700;
    margin-bottom:10px;
    word-spacing: -2.1px;
  }
  
  .c6__box p{
    font-size: 16px;
    color:#333;
    font-weight: 500;
    line-height: 1.6;
  }
  .c6__inner{
    max-width: 100% !important;
  }
  
}

@media(max-width:410px){
    .c6__box h3{
    color: #2086c8;
    font-size: 24px;
    font-weight:700;
    margin-bottom:10px;
    word-spacing: -2.1px;
  }
  
  .c6__box p{
    font-size: 14px;
    color:#333;
    font-weight: 500;
    line-height: 1.6;
  }
}


@media(max-width:360px){
  .c6__pill-shape{
    width: 105px !important;
    height: 230.8px!important;
  }
  .c6__pill-shape span{
    font-size: 14px!important;
  }
  .c6__title{
    font-size: clamp(24px, 5vw, 52px);
  }
  .c6__subtitle{
    font-size: clamp(12px, 1.6vw, 19.5px);
  }
  .c6__box h3{
    font-size: 20px;
  }
  .c6__box p{
    font-size: 12px;
  }
  .c6{
    padding: clamp(40px, 10vw, 150px) 0;
  }
}


/* ✅ 모바일에서 C6 파란 점이 밖으로 안 튀어나가게 */
@media (max-width: 900px){
  .c6__card--left .c6__dot{
    left: 12px;    /* 카드 안쪽으로 이동 */
    OPACITY: 0;
  }
  .c6__card--right .c6__dot{
    right: 12px;   /* 카드 안쪽으로 이동 */
    OPACITY: 0;
  }
}

