/* style-c5.css */
/* ====================== C5  ====================== */
.c5{
  background: #ffffff;
  padding: clamp(72px, 9vw, 120px) 0;
  word-break: keep-all;
}

body.has-qbar .c5{
  padding-bottom: max(100px, 14vh);
}

.c5__inner{
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.c5__pill{
  height: 68px;               
  display: flex;
  justify-content:center;
  align-items:center;
  margin-bottom: 16px;       
}

.c5__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;
}

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


.c5__title{
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  color:#111;
  letter-spacing: -0.06em;
  margin-bottom: 64px;
}

.c5__subtitle{
  font-size: clamp(15px, 1.6vw, 19.5px);
  line-height: 1.5;
  color:#6a7078;
  margin-bottom: clamp(40px, 6vw, 56px);
  letter-spacing: -0.4px;
}

.c5__cards{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.c5__card{
  background:#ffffff;
  border-radius: 0;
  box-shadow: 2px 5px 6px rgba(0, 0, 0, .06);
  /* padding: 0 34px 0 0; */
  display:flex;
  align-items:center;
  gap: 62px;
  text-align:left;
  border: 2px solid #e7e7e7;
  overflow: hidden;
}

.c5__card--reverse{
  flex-direction: row-reverse;
  gap: 112px;
}

.c5__thumb{
  flex: 0 0 330px;
  overflow: hidden;
}


.c5__thumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.c5__content h3{
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -1.1px;
  color:#1c2228;
}

.c5__content p{
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.8px;
  color:#5a6067;
  margin: 10px 0 25px;
}

/* --- 반응형 --- */
@media (max-width: 900px){
  .c5__card,
  .c5__card--reverse{
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .c5__thumb{
    width:100%;
    max-width: 400px;
  }
}

@media(max-width:768px){
  .c5__pill{
    height: 68px;               
    display: flex;
    justify-content:center;
    align-items:center;
    margin-bottom: 16px;       
  }
  
  .c5__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;
  }
  
  .c5__pill-shape span{
    transform: scaleY(5.8);
    font-size: 20px;
    font-weight: 800;
    color: #a1a1a1;
    letter-spacing: -0.1;
  }

  .c5__thumb{
    flex: 0 0 280px;
  }
  body.has-qbar .c5{
    padding-bottom: max(50px, 4vh);
  }
  .c5__inner{
    max-width: 100% !important;
  }
}

@media (max-width: 600px){
  .c5{
    padding: 56px 0 80px;
  }

  .c5__title{
    font-size:  clamp(28px, 4.6vw, 52px);
  }

  .c5__subtitle{
    font-size:   clamp(15px, 1.6vw, 19.5px);
  }

  .c5__card{
    padding: 20px 18px;
    gap: 18px;
  }

  .c5__content h3{
    font-size: 22px;
  }

  .c5__content p{
    font-size: 16px;
  }
}
@media(max-width:480px){
    .c5__pill-shape{
    width: 115px!important;
    height: 260.8px!important;
    border-radius: 50%;
    border: 3px solid #9b9b9b;
    background: #ffffff;
    transform: scaleY(0.17);
    transform-origin: center;
    display:flex;
    justify-content:center;
    align-items:center;
  }
    .c5__pill-shape span{
    transform: scaleY(5.8);
    font-size: 17px !important;
    font-weight: 800;
    color: #a1a1a1;
    letter-spacing: -0.1;
  }
  .c5__list li{
    font-size: clamp(14px, 1.5vw, 20px);
  }
  .c5__thumb{
    flex: 0 0 260px;
  }
  .c5__content p{
    font-size: 15px;
  }
}

@media(max-width:410px){
  .c5__content h3{
    font-size: 20px;
  }
  .c5__content p{
    font-size: 14px;
  }
  .c5__thumb{
    flex: 0 0 210px;
  }
}


@media(max-width:360px){
  .c5__pill-shape{
    width: 105px !important;
    height: 230.8px!important;
  }
  .c5__pill-shape span{
    font-size: 14px!important;
  }
  .c5__title{
    font-size: clamp(24px, 4.6vw, 52px);
  }
  .c5__subtitle{
    font-size: clamp(12px, 1.6vw, 19.5px);
  }
  .c5__content h3{
    font-size: 18px;
  }
  .c5__content p{
    font-size: 12px;
  }
  .c5__thumb{
    flex: 0 0 180px;
  }
}