#difference_c {
  background: #f7f6f4;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
#difference_c .tit1 {
  color: #fff;
  text-align: center;
  font-family: Paperlogy;
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 72.8px */
  letter-spacing: -1.4px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  word-break: keep-all;
}

#difference_c .tit2 {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-family: Pretendard;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 33.6px */
  letter-spacing: -0.6px;
  margin: 20px auto 50px;
  position: relative;
  z-index: 2;
  word-break: keep-all;
}
#difference_c .flex-wrap {
  max-width: 1300px;
  margin: 0 auto;
  width: 90%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 2;
  gap: 20px;
}
#difference_c .flex-wrap .item {
  outline: 1px solid var(--brand-main, #d71718);
  outline-offset: -1px;
  box-shadow: 0 24px 32px 0 rgba(0, 0, 0, 0.08);
  width: 33.33%;
  gap: 0;
  background: #fff;
}
#difference_c .flex-wrap .item:nth-child(2) .top-txt {
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}
#difference_c .flex-wrap .item:nth-child(2) .txt-wrap {
  border-right: 1px solid var(--brand-main, #d71718);
  border-left: 1px solid var(--brand-main, #d71718);
}
#difference_c .flex-wrap .item .top-txt {
  padding: 20px;
  background: var(--brand-main, #d71718);
  color: #fff;
  font-family: Paperlogy;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 41.6px */
  letter-spacing: -0.8px;
  text-align: center;
}
#difference_c .flex-wrap .item .txt-wrap {
  background: #fff;
  padding: 30px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
#difference_c .flex-wrap .item .txt-wrap svg {
}
#difference_c .flex-wrap .item .txt-wrap .txt {
  color: #505050;
  text-align: center;
  font-family: Pretendard;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 30.8px */
  letter-spacing: -0.55px;
  word-break: keep-all;
}
#difference_c .wrapper {
  max-width: 1000px;
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  border: 5px solid #2f2f2f;
  background: transparent;
  padding: 15px;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  z-index: 1;
  overflow: hidden;
}
#difference_c .wrapper .video-wrap {
  background: #000000;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  overflow: hidden;
}
#difference_c .wrapper .video-wrap::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(
    0deg,
    rgba(17, 17, 17, 0.65) 0%,
    rgba(17, 17, 17, 0.65) 100%
  );
}
#difference_c .wrapper .video-wrap video,
#difference_c .wrapper .video-wrap img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#difference_c .title-script-wrap {
  width: fit-content;
  overflow: hidden;
  margin: 0 auto;
}
/* 라인별로 잘라서 슬라이드 인 될 수 있게 */
#difference_c .title-script {
  overflow: hidden;
}

/* JS가 만들어주는 라인 래퍼 */
#difference_c .title-script .ts-line {
  display: block;
  overflow: hidden;
}

#difference_c .title-script .ts-text {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, opacity;
  transition-property: opacity, transform;
  transition-timing-function: ease-out;
}

#difference_c .title-script .ts-line > span {
  display: inline-block; /* xPercent 이동을 위해 */
  will-change: transform;
}

@media (max-width: 1280px) {
  #difference_c .flex-wrap .item .top-txt {
    padding: 15px;
    font-size: 27px;
  }
  #difference_c .flex-wrap .item .txt-wrap {
    padding: 20px;
  }
  #difference_c .flex-wrap .item .txt-wrap .txt {
    font-size: 19px;
  }
}

@media (max-width: 1100px) {
  #difference_c .flex-wrap {
    width: 95%;
  }
  #difference_c .flex-wrap .item .top-txt {
    padding: 15px;
    font-size: 25px;
  }
  #difference_c .flex-wrap .item .txt-wrap {
    padding: 15px 0 20px 0;
  }
  #difference_c .flex-wrap .item .txt-wrap .txt {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  #difference_c .flex-wrap {
    width: 98%;
  }
}

@media (max-width: 768px) {
  #difference_c .wrapper {
    max-width: none;
    width: 195%;
    top: 60px;
    transform: translateX(-50%);
  }
  #difference_c .flex-wrap {
    gap: 15px;

    flex-direction: column;
    background: transparent;
    gap: 30px;
    border: none;
    width: 90%;
  }
  #difference_c .flex-wrap .item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #5F432C;
  }
  #difference_c .flex-wrap .item:nth-child(2) .top-txt {
    border: none;
  }
  #difference_c .flex-wrap .item:nth-child(2) .txt-wrap {
    border: none;
  }
  #difference_c .flex-wrap .item .txt-wrap .txt {
    font-size: 20px;
  }
  #difference_c .flex-wrap .item .txt-wrap {
    padding: 20px;
  }
  #difference_c .tit1 {
    font-size: 45px;
  }
  #difference_c .tit2 {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  #difference_c .wrapper {
    width: 1250px;
    top: 60px;
    transform: translateX(-50%);
  }
  #difference_c .tit2 {
    font-size: 17px;
    margin: 6px auto 40px;
  }
  #difference_c .flex-wrap .item .top-txt {
    padding: 20px;
    font-size: 22px;
  }
  #difference_c .flex-wrap .item .txt-wrap .txt {
    font-size: 18px;
  }
  #difference_c .flex-wrap .item .txt-wrap svg {
    width: 60px;
    height: 60px;
  }
  #difference_c .flex-wrap {
    gap: 10px;
  }
}
@media (max-width: 400px) {
  #difference_c .tit1 {
    font-size: 32px;
  }
  #difference_c .tit2 {
    font-size: 15px;
  }
}
