@charset "utf-8";

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  display: none;
}

/* 채널톡 배너 */
.cht_banner {
  margin: 5rem auto;
}

.banner_link {
  display: block;
  width: 100%;
  padding-top: 20.06%;
  background: url('../img/installment/channeltalk_banner_pc.png') no-repeat center/contain;
  transition: 0.3s ease;
}



/* ✅ 반응형 (모바일 전용 이미지 교체) */
@media (min-width: 971px) {

  /* hover 시 교체 */
  .banner_link:hover {
    background-image: url('../img/installment/channeltalk_banner_pc_hover.png');
  }
}

@media (max-width: 500px) {
  .banner_link {
    background-image: url('../img/installment/channeltalk_banner_mob.png');
    padding-top: 45.22%;
  }
}

/* 채널톡 배너 end */

#sec-1 .wrap {
  display: flex;
  justify-content: space-between;
  gap: 10rem;
}

#sec-1 .left {
  width: 50%;
  min-width: 600px;
}

#sec-1 .left .body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  line-height: 1.4;
  letter-spacing: -1px;
  margin-bottom: 3rem;
}

#sec-1 .left .body .top {
  font-size: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#sec-1 .left .body .top p {
  font-weight: 700;
}

#sec-1 .left .body .top span {
  display: block;
  color: #666;
}

#sec-1 .left .body .bot {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.5;
}

#sec-1 .left .ceo {
  text-align: right;
  font-size: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

#sec-1 .left .ceo .line {
  flex-grow: 1;
  height: 1px;
  background: #ccc;
}

#sec-1 .left .ceo span {
  font-weight: 700;
}

#sec-1 .right {
  width: 45%;
  margin-top: 2.5rem;
  border-radius: 35px;
  overflow: hidden;
}

#sec-1 .right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* sec-2 */
#sec-2 {
  margin-top: 10rem;
}

#sec-2 .sec_title {
  position: relative;
}

#sec-2 .kv_mark {
  position: absolute;
  bottom: 0;
  right: -50px;
  filter: brightness(0.5);
  max-width: 30%;
}

#sec-2 .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

#sec-2 .content .biz_intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5rem;
  /* background: var(--box-bg); */
  border-radius: var(--bdrs);
  border: 1px solid var(--po-color);
  width: 30%;
  box-sizing: border-box;
  padding: 25px;
  flex-grow: 1;
  min-height: 275px;
}

#sec-2 .content .biz_intro.empty {
  background: #ECF6FF;
  border: none;
}

#sec-2 .content .biz_intro .top span {
  font-size: 2rem;
  font-weight: 600;
  color: var(--po-color);
}

#sec-2 .content .biz_intro .top p {
  margin-top: 5px;
  font-size: 2.4rem;
  font-weight: 700;
}

#sec-2 .content .biz_intro .bot {
  /* font-weight: 300; */
  line-height: 1.4;
  width: 95%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #555;
}

#sec-2 .content .biz_intro .bot span {
  display: block;
}


/* sec 3 */
#sec-3 {
  margin-top: 13rem;
  margin-bottom: 5rem;
}

#sec-3 .sec_title h2 {
  line-height: 1.4;
}

.installment_section {
  text-align: center;
  margin: 5rem 0;
}

.installment_wrap {
  display: flex;
  justify-content: center;
}

.installment_card {
  box-sizing: border-box;
}

.installment_card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.installment_card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.installment_card p {
  color: #666;
  font-size: 1.7rem;
  line-height: 1.4;
}

.btn_talk {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #007aff;
  color: #fff;
  border-radius: 0.4rem;
}


/* sec-4 */
.swiper-wrapper {
  height: auto !important;
}

#sec-4 {
  position: relative;
  padding: 10rem 0;
  background: url(../img/installment/dark_background.jpg);
}

#sec-4::after {
  position: absolute;
  content: '';
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

#sec-4>* {
  position: relative;
  z-index: 2;
}

#sec-4 .sec_title {
  text-align: center;
  /* border-bottom: none; */
}

#sec-4 .sec_title span {
  color: #fff;
}

#sec-4 .sec_title h2 {
  color: #fff;
}

.timeline_wrap {
  display: flex;
  height: 100%;
}

.timeline_item {
  background: #fafafa;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.timeline_item .img {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
}

.timeline_item .img img {
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.timeline_item .text {
  padding: 2rem 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.timeline_item .text h3 {
  font-weight: 700;
  line-height: 1.4;
  width: 35%;
  text-align: center;
}

.timeline_item .text .line {
  width: 1px;
  height: 50px;
  background: #ddd;
}

.timeline_item .text .p {
  width: 65%;
}

/* sec 5 review */
#sec-5 .sec_title {
  text-align: center;
}

#sec-review {
  background: #f9f9f9;
  padding-top: 8rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.review_wrap {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  /* 초기 투명도 */
  transform: translateY(50px);
  /* 아래쪽에서 시작 */
}

.review_summary {
  margin-bottom: 3rem;
}

.review_summary .stars {
  font-size: 3rem;
  color: #ffb400;
  margin-bottom: 1rem;
}

.review_summary p {
  font-family: 'paperlogy-M';
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.review_summary p strong {
  margin-left: 3px;
}

.review_notice {
  font-size: 1.4rem;
  color: #888;
}

.review_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

.review_item {
  font-family: 'paperlogy-M';
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.review_item .user_img{
  width: 20%;
  box-sizing: border-box;
}
.review_item .line{
  width: 1px;
  height: 100%;
  background: #eee;
}
.review_item .text_wrap{
  flex: 1;
}

.review_item .user {
  font-family: 'paperlogy-SB';
  font-size: 1.6rem;
  color: #222;
  margin-bottom: 1rem;
}

.review_item .text {
  font-size: 1.6rem;
  color: #333;
  line-height: 1.6;
}


/* sec 6 faq */
#sec-6 .sec_title {
  text-align: center;
}

#sec-faq {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.faq_wrap {
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.faq_item {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}

.faq_question,
.faq_answer {
  font-family: 'paperlogy-M';
  font-weight: normal;
}

.faq_question .label,
.faq_answer .label {
  flex: 0 0 24px;
  /* Q./A. 폭 고정 */
  color: #222;
}

.faq_question .text,
.faq_answer .text {
  height: 100%;
  display: flex;
  align-items: center;
  flex: 1;
  line-height: 1.6;
}

.faq_question {
  width: 100%;
  text-align: left;
  padding: 1.8rem 2rem;
  font-size: 1.8rem;
  font-family: 'paperlogy-SB';
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}


.faq_item:hover {
  border: 1px solid var(--po-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq_item:hover .faq_question::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--po-color);
}

.faq_item.active {
  border: 1px solid var(--po-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq_question::after {
  content: '+';
  position: absolute;
  width: 22px;
  height: 22px;
  text-align: center;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #888;
  transition: transform 0.3s ease;
}

.faq_item.active .faq_question {
  border-bottom: 1px solid #e0e0e0;
}

.faq_item.active .faq_question::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--po-color);
}

.faq_answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.4s ease, opacity 0.3s ease;
  background: #fff;
  padding: 0rem 2rem;
}

.faq_item.active .faq_answer {
  opacity: 1;
}

.faq_answer p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #555;
}

.faq_question,
.faq_answer .faq_inner {
  display: flex;
  align-items: center;
  gap: 5px;
}

.faq_answer .faq_inner {
  padding: 1.5rem 0;
}

.kv_work_btn {
  position: relative;
  /* background: #151931 url(../img/chat_background.svg) center/cover no-repeat; */
  background: #151931;
  overflow: hidden;
  padding: 6rem;
  background-size: 100%;
  transition: .3s ease-in-out;

  flex-direction: column;
  align-items: start;
  gap: 3rem;
}

.kv_work_btn .line {
  position: absolute;
  height: 2px !important;
  background: #fff;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
}

.kv_work_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 140%;
  background-size: 35%;
  background-repeat: no-repeat;
  background-position: 95% 50%;
  transform: rotate(5deg);
  overflow: auto;
  transition: .4s cubic-bezier(0.78, 0, 0, 1);
}
.kv_work_btn:hover::before{
  transform: rotate(0deg);
}

.kv_work_btn.voucher::before {
  background-image: url(../img/installment/depart-voucher.png);
}

.kv_work_btn.giftcard::before {
  background-image: url(../img/installment/culture-card.png);
}

.kv_work_btn.credit-card::before {
  background-image: url(../img/installment/credit-card-2.png);
}

.kv_work_btn.mobile-payment::before{
  background-image: url(../img/installment/mobile-payment-2.png);
}



/* .kv_work_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
} */

.kv_work_btn>* {
  position: relative;
  z-index: 1;
}

.kv_work_btn .left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kv_work_btn .right {
  border: 1px solid #fff;
  box-sizing: border-box;
  padding: 10px 15px;
  padding-left: 20px;
  border-radius: 100px;
  font-size: 2rem;
  transition: .3s ease-in-out;
}

.kv_work_btn:hover .right {
  background: #fff;
  color: #222;
  font-weight: 600;
}



@media screen and (max-width:1510px) {
  #sec-2 .content .biz_intro .bot span {
    display: inline;
  }

  #sec-2 .content .biz_intro .bot {
    word-break: keep-all;
  }
}

/* max 1510 */

@media screen and (max-width:970px) {
  #sec-1 .wrap {
    flex-direction: column;
    gap: 4rem;
  }

  #sec-1 .left {
    width: 100%;
    min-width: auto;
    order: 1;
  }

  #sec-1 .right {
    margin-top: 0;
    width: 100%;
  }

  #sec-2 .content .biz_intro {
    width: 40%;
  }

  #sec-2 .content .biz_intro .bot span {
    display: block;
  }

  #sec-2 .content .biz_intro.empty {
    display: none;
  }

  .kv_work_btn {
    padding: 4rem;
  }

  .kv_work_btn .right {
    position: static;
    right: auto;
  }

  .kv_work_btn .right p span {
    display: inline;
  }

  .kv_work_btn ruby>rt {
    display: none;
  }
}

@media screen and (max-width:820px) {
  #sec-2 .content .biz_intro {
    width: 100%;
    gap: 3rem;
  }
}

/* ✅ 모바일: 스와이퍼 활성화 */
@media (max-width: 768px) {
  .installment_wrap {
    display: block;
    /* flex 해제 */
  }

  .installment_card {
    max-width: 90%;
    margin: 0 auto;
  }

  .review_list {
    grid-template-columns: 1fr;
  }

  .faq_wrap {
    grid-template-columns: 1fr;
  }
}


/* @media screen and (max-width:600px) {
    #sec-1 .left .body .top span{
        display: inline;
    }
} */

@media screen and (max-width:500px) {
  #sec-2 .content .biz_intro .bot span {
    display: inline;
  }

  #sec-1 .right {
    height: 200px;
  }

  .timeline_item .text {
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
  }

  .timeline_item .text .line {
    display: none;
  }

  .timeline_item .text h3 {
    text-align: left;
    width: 100%;
  }

  .kv_work_btn {
    background-size: 500%;
  }
}

@media screen and (max-width:440px) {
  .kv_work_btn {
    padding: 4rem 3rem;
  }

  .kv_work_btn .right {
    width: 100%;
    justify-content: center;
    position: relative;
    right: auto;
    background: #fff;
    color: #222;
  }

  .kv_work_btn .right p span {
    display: inline;
  }

  .kv_work_btn ruby>rt {
    display: none;
  }

  .kv_work_btn::before {
    background-size: 25%;
    background-position: 88% 7%;
  }

  .kv_work_btn.kv_work_btn.mobile-payment::before{
    background-image: url(../img/installment/mobile-payment-3.png);
    background-size: 18%;
  }
  .kv_work_btn.credit-card::before{
    background-position: 88% 12%;
  }
}