/* KB 색상값 선언 */
:root {
    --kb-yellow: #ffd200;
    --kb-yellow-light: #FDB913;
    --kb-accent-color: #ff7200;
    --kb-accent2-color: #ff761d;
    --kb-gray: #766c61;
    --terms-text-color: #756E5F;
}

/* directCtaBtn 앵커 태그 스타일 */
a.directCtaBtn {
    text-decoration: none;
    color: inherit;
}

a.directCtaBtn:hover {
    text-decoration: none;
}

/* 기본 색상 클래스 */
.color-white {
    color: white;
}

.color-accent {
    color: var(--kb-accent-color);
}

.kb-yellow {
    color: var(--kb-yellow);
}

/* 기본 텍스트 스타일 */
.terms-text {
    color: var(--terms-text-color);
    font-weight: 100;
    font-size: clamp(6px, 0.8vw, 15px);
}

/* 공통 섹션 스타일 */
.section {
    width: 100%;
    height: auto;
    position: relative;
}

.section .content-container {
    width: 100%;
    height: 100%;
}

/* 하이라이트 관련 클래스 */
.highlight {
    background-color: #ffcd34;
    padding: 1px 4px;
}

.highlight-black {
    background-color: black;
    padding: 1px 4px;
    color: white;
}

/* 텍스트 관련 클래스 */
.text-pre-line {
    white-space: pre-line;
}

.text-size-15 {
    font-size: clamp(6px, 0.7vw, 15px);
}

.text-num-icon {
    font-size: clamp(2px, 0.7vw, 12px);
    width: 3%;
    display: inline-block;
    position: absolute;
    top: 0;
    margin-left: 1%;
}

/* Section02 스타일 */
#section02 {
    background: #fff4dd;
    padding-bottom: 4%;
}

#section02 .content-title {
    text-align: center;
    font-size: clamp(8px, 2.1vw, 40px);
    font-family: 'KBFGDisplay', serif;
    padding-top: 4%;
    padding-bottom: 2%;
    font-weight: 900;
    color: #24211e;
}

#section02 .content-title .subtitle {
    font-family: 'KBFGDisplay', serif;
    font-size: clamp(4px, 1.3vw, 24px);
    margin-top: 0.8rem;
    font-weight: 400;
}

#section02 .content-title .subtitle .highlight {
    background-color: #ffcd34;
    padding: 1px 4px;
}

#section02 .content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 23%;
}

#section02 .content .content-list {
    font-family: 'KBFGDisplay';
    position: absolute;
    width: 100%;
    height: 100%;
}

#section02 .content .content-list li {
    display: flex;
    width: 100%;
    height: 33%;
    padding: 7% 7% 0 8%;
    justify-content: space-between;
}

#section02 .content .content-list li .text {
    margin-top: 2.3%;
    font-size: clamp(6px, 1.2vw, 22px);
    flex: 1;
    flex-basis: 70%;
}

#section02 .content .content-list li .sub-text {
    font-size: clamp(4px, 1vw, 18px);
    color: #5b5a59;
    font-weight: 400;
}

#section02 .content .content-list li .icon {
    width: 30.2%;
    max-width: 112px;
}

#section02 .content img {
    width: 100%;
}

#section02 .content img:nth-child(2) {
    margin-top: 1%;
}

/* Section03 스타일 */
#section03 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f1f1f1;
    padding-bottom: 4%;
}

#section03 .content-title {
    text-align: center;
    font-size: clamp(10px, 2.3vw, 43px);
    font-family: 'KBFGDisplay', serif;
    font-weight: 900;
    color: #24211e;
    line-height: 1.2em;
    margin: 3.7% 0 2% 0;
}

/* 스와이퍼 관련 스타일 */
#section03 .mySwiper {
    width: 25%;
    position: relative;
    border-radius: 1.5vw;
    max-height: 860px;
    font-family: 'KBFGDisplay';
}

#section03 .mySwiper .swiper-slide {
    text-align: center;
    background: white;
    display: flex;
    justify-content: center;
    border-radius: 1.5vw;
    position: relative;
    flex-direction: column;
    align-self: center;
}

#section03 .mySwiper .swiper-slide .slide-header {
    padding: 2.6% 0;
    background: #F9E49E;
    font-size: clamp(5px, 1.3vw, 24px);
    border-radius: 1.5vw 1.5vw 0 0;
}

#section03 .mySwiper .swiper-slide .slide-header .highlight {
    display: inline-block;
    font-weight: 600;
}

#section03 .mySwiper .swiper-slide .swiper-content {
    width: 100%;
    z-index: 1;
}

#section03 .mySwiper .swiper-slide .swiper-content .sub-text {
    font-size: clamp(2px, 0.8vw, 14px);
    font-weight: 300;
    margin-top: 1%;
    position: relative;
}

#section03 .mySwiper .swiper-slide .swiper-content .sub-text > div {
    margin-left: 3%;
}

#section03 .mySwiper .swiper-slide .swiper-content .sub-text .text-deco {
    display: inline-block;
    border-radius: 50%;
    width: 0.3vw;
    height: 0.3vw;
    background: black;
    margin: auto;
    max-width: 4px;
    max-height: 4px;
    position: absolute;
    left: 0;
    margin-top: 2.1%;
}

/* 슬라이드1 스타일 */
#section03 .mySwiper .swiper-slide.slide1 .swiper-content li {
    display: flex;
    justify-content: space-between;
    text-align: left;
    width: 100%;
    padding: 6% 8%;
}

#section03 .mySwiper .swiper-slide.slide1 .swiper-content li:nth-child(2) {
    border-top: 1px solid #D6D6D6;
    padding-bottom: 16%;
}

#section03 .mySwiper .swiper-slide.slide1 .swiper-content li:nth-child(3) {
    padding-bottom: 14%;
    padding-top: 6%;
}

#section03 .mySwiper .swiper-slide.slide1 .swiper-content li p {
    font-size: clamp(6px, 1.5vw, 28px);
    font-weight: 500;
}

#section03 .mySwiper .swiper-slide.slide1 .swiper-content li .icon-container {
    flex: 1;
    position: relative;
}

#section03 .mySwiper .swiper-slide.slide1 .swiper-content li .icon {
    width: 100%;
    position: absolute;
    object-fit: cover;
}

#section03 .mySwiper .swiper-slide .swiper-content li > div:first-child {
    width: 80%;
}

#section03 .mySwiper .swiper-slide .swiper-content li > div:first-child p {
    position: relative;
}

/* 슬라이드2 스타일 */
#section03 .mySwiper .swiper-slide.slide2 .swiper-content li {
    padding: 4% 7%;
    position: relative;
    width: 100%;
    text-align: left;
}

#section03 .mySwiper .swiper-slide.slide2 .swiper-content li p {
    font-size: clamp(5px, 1.2vw, 22px);
    font-weight: 500;
}

#section03 .mySwiper .swiper-slide.slide2 .swiper-content li:nth-child(1) .icon {
    max-width: 110px;
    width: 23.8%;
    position: absolute;
    display: block;
    right: 10%;
    top: 23%;
}

#section03 .mySwiper .swiper-slide.slide2 .swiper-content li:nth-child(2) {
    border-top: 1px solid #D6D6D6;
    border-bottom: 1px solid #D6D6D6;
}

#section03 .mySwiper .swiper-slide.slide2 .swiper-content li:nth-child(2) .icon {
    max-width: 100px;
    max-height: 165px;
    width: 13%;
    position: absolute;
    display: block;
    right: 10%;
    top: 8%;
}

#section03 .mySwiper .swiper-slide.slide2 .swiper-content li:nth-child(3) .icon {
    max-width: 135px;
    width: 22%;
    position: absolute;
    display: block;
    right: 7%;
    top: 31%;
}

/* 페이지네이션 스타일 */
#section03 .custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5%;
    margin-top: 1%;
    margin-bottom: 1.2%;
}

#section03 .custom-pagination .dot {
    background: #bfbfbf;
    width: 0.5%;
    padding-bottom: 0.5%;
    height: 0;
    border-radius: 50%;
}

#section03 .custom-pagination .dot.active {
    background: #808080;
}

/* Section04 스타일 */
#section04 {
    background: #ffd97d;
}
#section04 .content-container{
    width: 30%;
    margin: 0 auto;
}

#section04 .content-title {
    text-align: center;
    font-size: clamp(9px, 2vw, 38px);
    font-family: 'KBFGDisplay', serif;
    font-weight: 900;
    color: #24211e;
    padding: 8% 0 6% 0;
}

#section04 .content {
    margin: 0 12%;
    background: white;
    border-radius: 1.5vw;
}

#section04 .content-list li {
    padding: 8%;
}

#section04 .content-list li:first-child {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #D6D6D6;
    padding-top: 10%;
    padding-bottom: 10%;
}

#section04 .content-list li .text {
    font-size: clamp(6px, 1.1vw, 20px);
    flex: 1;
    flex-basis: 100%;
}

#section04 .content-list li:nth-child(1) .icon {
    width: 54.5%;
}


#section04 .content-list li:nth-child(2) .icon {
    width: 37.6%;
    margin-left: auto;
}

 /*SectionFloatingCta 스타일 */
#sectionFloatingCta {
    margin-top: -2.7%;
}

#sectionFloatingCta .terms-container {
    background: #43413c;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sectionFloatingCta .terms-container .terms-list {
    padding: 1.6% 0;
    position: relative;
}

#sectionFloatingCta .terms-container .terms-list li {
    color: #D5D5D5;
    font-weight: 100;
    font-size: clamp(4px, 0.8vw, 15px);
    white-space: pre-line;
    position: relative;
}

#sectionFloatingCta .terms-container .terms-list li:before {
    content: "•";
    position: absolute;
    left: -2.8%;
    top: 7%;
    color: #D5D5D5;
    font-size: clamp(2px, 0.7vw, 12px);
}

/* Section05 스타일 */
#section05 {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-top: 2%;
    padding-bottom: 2%;
}

#section05 .terms-container {
    margin: 0 auto;
    z-index: 2;
    color: var(--terms-text-color);
    font-size: clamp(3.6px, 0.8vw, 12.7px);
    padding-left: 0;
    font-weight: 100;
}

#section05 .terms-container .terms-title {
    font-size: clamp(6px, 1vw, 18px);
    margin-bottom: 0.5%;
    color: #2C2C2C;
}


#section05 .terms-container .terms-list {
    position: relative;
    padding-left: 2.5%;
    padding-bottom: 5%;
}
#section05 .terms-container .text-deco {
    display: inline-block;
    border-radius: 50%;
    width: 0.3vw;
    height: 0.3vw;
    background: var(--terms-text-color);
    margin: auto;
    max-width: 7px;
    max-height: 7px;
    position: absolute;
    left: 0;
    margin-top: 1.3%;
}

/* CTA 버튼 스타일 */
#floatingCtaTop {
    width: 100%;
    height: auto;
    margin-top: -13%;
}

.floating-cta-wrap .cta-top {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 0;
    padding-bottom: 11.5%;
    background: #43413c;
    position: relative;
    border-radius: 2vw 2vw 0 0;
}

.floating-cta-wrap .cta-top .btn-wrap {
    width: 24%;
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1%;
}

.floating-cta-wrap .cta-top .btn-wrap .btn {
    font-family: 'KBFGDisplay';
    color: white;
    font-size: clamp(5px, 1.2vw, 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1vw;
}

.floating-cta-wrap .cta-top .btn-wrap .btn.btn-yellow {
    width: 100%;
    height: 34.5%;
    background: var(--kb-yellow);
    color: #43423D;
    font-weight: 500;
    text-align: center;
}

.floating-cta-wrap .cta-top .btn-wrap .btn.btn-gray {
    width: 48%;
    height: 100%;
    background: var(--kb-gray);
}

.floating-cta-wrap .cta-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0;
    padding-bottom: 4.5%;
    background: #191919;
    position: relative;
    cursor: pointer;
}

.floating-cta-wrap .cta-bottom .text-wrap {
    position: absolute;
    font-size:clamp(6px, 1.5vw, 28px);
    letter-spacing: 0;
    font-weight: 600;
    top: 50%;
    transform: translateY(-50%);
}

/* floatingDirectCtaBtn 스타일 */
#floatingDirectCtaBtn {
    display: none;
    padding-bottom: 0;
}
#floatingDirectCtaBtn.visible{
    display: flex;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 9;
    min-width: 430px;
    max-width: 1920px;
}

/* 애니메이션 */
@keyframes buttonColorChange {
    50%, 100% {
        background-color: var(--kb-accent2-color);
    }
}

/* 미디어 쿼리 */
@media (min-width: 450px) {
    .floating-cta-wrap .cta-top {
        border-radius: 2vw 2vw 0 0;
    }

    .floating-cta-wrap .cta-top .btn-wrap .btn {
        border-radius: 1vw
    }
}
