html, body {
    overflow-x: hidden;
    background-color: #FBFBFB;
    cursor: default;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.partition-1 {
    position: relative;
    width: 100%;
    height: 1117px;
    overflow: hidden; /* 영역 넘치는 비디오 잘라냄 */
    padding-bottom: 50px;
}

#bgVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* 오버레이 그라데이션 */
.partition-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(189, 227, 255, 0) 0%, #BDE3FF 100%);
    pointer-events: none; /* 클릭 등 이벤트를 막지 않음 */
    z-index: 5; /* title-container보다 아래에 배치하려면 낮게, 위에 배치하려면 높게 */
}

.partition-1 .title-container {
    position: relative; /* 또는 absolute, 필요시 위치 조정 */
    z-index: 10;        /* 비디오보다 위 */
    width: 100%;            /* 화면 대비 비율 */
    max-width: 800px;      /* 최대 너비 */
    margin: 0 auto;        /* 중앙 정렬 */
    height: auto;          /* 내용에 맞춰 유동적 */

    padding-top: 140px;
    padding-right: 10px;
    padding-left: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;     /* 좌우 중앙 정렬 */

    gap: 20px;
}

.head-copy {
    width: 100%;       /* 부모 기준 */
    /*max-width: 780px;*/
    max-width: 100%;
    height: auto;      /* 내용에 맞춰 자동 */
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.head-copy .head-line {
    width: 100%;
    text-align: center;    /* 텍스트 중앙 정렬 */
    margin-bottom: 20px;
}
.head-copy .sub-copy {
    /*display: inline-block;*/
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

.head-line .sub-copy + .main-copy {
    margin-top: 10px;  /* sub-copy 바로 다음의 main-copy에만 적용 */
}

.main-copy {
    display: flex;
    flex-direction: column; /* ✅ span들을 위아래로 배치 */
    align-items: center;    /* ✅ 가운데 정렬 유지 */
    white-space: normal;    /* ✅ 줄바꿈 허용 */
    gap: 5px;
}

.main-copy-txt {
    height: 50px;
    align-self: stretch;
    text-align: center;

    /* partition-headcopy */
    font-weight: 700;
}

.inline {
    display: inline;
}

.limit-width .line1,
.limit-width .line2 {
    display: inline;           /* inline으로 한 줄에 붙이기 */
    text-align: center;        /* 가운데 정렬 */
    margin: 0;
}

.navy {
    color: var(--main-navy);
}

.black {
    color: var(--main-black);
}

.blue {
    color: var(--main-blue);
}

.white {
    color: var(--main-white);
}

.cyan {
    color: var(--Pastel-cyan);
}

#text-roller-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    border-radius: 100px;

    /* 배경 색 적용 */
    background: rgba(255, 255, 255, 0.45);

    /* 높이 지정 */
    height: 103px;

    /* 텍스트 색상 */
    /*color: rgb(92, 115, 161);*/

    /* mask와 함께 배경에 적용하려면 position 필요 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-roller-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;

    /* mask 적용 (글자 점점 안보이게) */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;

    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;

    /* 흐림 정도 조절 */
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
}

/* prev/next 글자 */
.text-roller-prev,
.text-roller-next {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    /*color: rgb(92,115,161);*/
    color: rgba(92, 115, 161, 0.2); /* 흐린 파랑색 */
    pointer-events: none;
}

/* 중앙 텍스트 */
.text-roller-current {
    font-weight: 700;
    color: rgb(92, 115, 161); /* 선명한 파랑색 */
    font-size: 2rem;
    line-height: 1.15;
    transition: transform 0.8s ease-in-out;
}

/* 애니메이션 적용 */
.text-roller-inner.animate-move {
    animation: moveY 0.8s ease-in-out;
}

.text-roller-current.animate-scale {
    animation: scaleCurrent 0.8s ease-in-out;
}

/* prev/current/next 동시에 위아래 흔들림 */
@keyframes moveY {
    0%   { transform: translateY(0); }
    25%  { transform: translateY(5px); }  /* 아래 */
    50%  { transform: translateY(-5px); } /* 위 */
    100% { transform: translateY(0); }     /* 원위치 */
}

/* 중앙 텍스트만 확대 */
@keyframes scaleCurrent {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}




.arrow_img {
    width: 100%;          /* 화면 크기에 따라 가변 */
    max-width: 700px;     /* 최대 너비 700px */
    height: 70px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    display: flex;             /* Flex 컨테이너 */
    justify-content: center;   /* 가로 중앙 정렬 */
    align-items: center;       /* 세로 중앙 정렬 */
}

.arrow_img > img {
    width: 10px;
    height: 70px;
    /*box-shadow: 0px 0px 1.5px 0px rgba(0, 0, 0, 0.15);*/
}

.frame24 {
    width: 100%;            /* 화면 크기에 따라 유동적으로 */
    max-width: 700px;      /* 최대 너비 */
    height: auto;          /* 높이는 내용에 맞게 자동 */
    min-height: 533px;     /* 최소 높이는 기존 값 유지 */
    opacity: 1;
    border-radius: 20px;
    background: var(--main-white);
    backdrop-filter: blur(100px);
    margin: 0 auto;        /* 가운데 정렬 */
    /*padding: 20px;         !* 필요시 여백 *!*/
    /*box-sizing: border-box; !* padding 포함 *!*/
}

.frame37 {
    opacity: 1;
    padding-bottom: 80px;
    border-radius: 2px;
}

.contexts-1 {
    max-width: 700px;
    height: 148px;
    opacity: 1;
    padding-top: 40px;
    padding-right: 20px;
    padding-left: 20px;

    display: flex;           /* flex 컨테이너로 만들기 */
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center;     /* 수직 중앙 정렬 */
    flex-direction: column;  /* 세로 방향 배치 */

    margin-bottom: 50px;
}

.frame-text {
    height: 108px;
    max-width: 560px;
    gap: 2px;

    width: 100%;            /* 필요하면 너비 100% */

}

.top-text {
    max-width: 560px;
    width: 100%;
    height: 54px;
    gap: 2px;
    font-family: "Wanted Sans", sans-serif;
    font-weight: 400;
    line-height: 120%;
    text-align: left;
}

.top-text div {
    margin-top: 2px; /* 원하는 줄 간격 */
}

.top-text .highlight {
    font-weight: 700;
    color: var(--main-blue);
}

.contexts-2 {
    max-width: 600px;
    height: 255px;
    padding-right: 20px;
    padding-left: 20px;
    margin: 0 auto;        /* 가운데 정렬 */

    display: flex;          /* ✅ flex를 줘야 gap이 적용됨 */
    flex-direction: column; /* ✅ 세로 정렬 */
    gap: 20px;
}

.bar-per-txt-group {
    display: flex;
    flex-direction: column; /* 텍스트 위, 진행 바 아래 */
    gap: 10px; /* 텍스트와 바 간 간격 */
    width: 100%;
}

.txt-per-group {
    display: flex;
    justify-content: space-between; /* 좌측: 텍스트, 우측: 퍼센트 */
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.txt-frame {
    color:  var(--Transparent-d-blue-90);
    /* 좌측 텍스트 스타일 */
}

.per-frame {
    color:  var(--Transparent-d-blue-90);
    /* 우측 퍼센트 텍스트 스타일 */
}

.progress-bar-wrapper {
    width: 100%;               /* 부모 폭에 맞게 유동적 */
    max-width: 560px;          /* 최대 폭 제한 */
    height: 6px;
    border-radius: 10px;
    background: rgba(230, 232, 234, 1);
    overflow: hidden;
}

.progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
}

.progress-fill {
    width: 0%; /* 초기값 0% */
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #2667C1 4.79%, #3275FD 71.44%, #C1CAFF 100%);
    transition: width 2s ease-out;
}

.corner-image {
    display: flex;
    width: 224px;
    height: 217px;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 50px;
    top: -40.297px;

    /*animation: dropIn 0.8s ease-out forwards;*/
    /*opacity: 1;*/

    /* 변화 */
    opacity: 1;
    transform: translateY(-23px); /* 초기 위치를 위로 20px */
    animation: fadeSlideDown 0.8s ease-out forwards;
}

.corner-image img {
    width: 100%;
    height: 100%;
}

/* 내려오는 애니메이션 정의 */
/*@keyframes dropIn {*/
/*    from {*/
/*        top: -80.297px; !* 현재 위치보다 20px 위 *!*/
/*        opacity: 1;*/
/*    }*/
/*    to {*/
/*        top: -40.297px; !* 최종 위치 *!*/
/*        opacity: 1;*/
/*    }*/
/*}*/

/* 항상 transform 기준으로 애니메이션 */
@keyframes fadeSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


















.partition-2{
    position: relative;
    width: 100%;
    /*height: 1161px;*/
    /*gap: 50px;*/
    padding-top: 50px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #BDE3FF -0.03%, #F2FBFF 68.55%);
}

.partition-2 .title-container {
    position: relative; /* 또는 absolute, 필요시 위치 조정 */
    z-index: 10;        /* 비디오보다 위 */
    width: 100%;            /* 화면 대비 비율 */
    max-width: 800px;      /* 최대 너비 */
    margin: 0 auto;        /* 중앙 정렬 */
    height: auto;          /* 내용에 맞춰 유동적 */

    display: flex;
    flex-direction: column;
    align-items: center;     /* 좌우 중앙 정렬 */

    gap: 10px;
}

.partition-2-table {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;     /* 좌우 중앙 정렬 */
    gap : 2px;
    justify-content: center;
    align-self: stretch;
}

.partition-2-tab {
    display: flex;
    justify-content: space-between; /* 탭을 균등하게 배치 */
    /*width: 1085px; !* 5개의 탭이 고정된 크기를 가지도록 설정 *!*/
    /*border-bottom: 2px solid rgba(48, 45, 48, 0.1);  !* 회색선 (색상은 원하는 대로 조정 가능) *!*/
    position: relative; /* 위치를 상대적으로 설정 */
    z-index: 1; /* 배경선보다 위로 오도록 설정 */

    max-width: 900px;
    width: 100%;
    border-radius: 20px;
    background: var(--main-white);

    /* border부분 tab line 잘리게 */
    overflow: hidden;
}

.partition-2-tab .tab .contents-tab-on .word {
    display: inline-block;   /* 단어 단위로 묶어서 줄바꿈 */
    white-space: nowrap;     /* 단어 안에서 줄바꿈 금지 */
}

.partition-2 .tab {
    outline: 2px solid transparent;
    outline-offset: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    margin: 0;
    /*padding: 16px;*/
    color: var(--Transparent-black-60);
    transition: all 0.1s linear;
    width: 217px;
    /*height: 80px;*/
    /*box-sizing: border-box;*/
    cursor: pointer;
}

.partition-2 .tab p {
    font-family: "Wanted Sans", sans-serif;
    font-weight: 400;
    letter-spacing: -0.05em;                  /* -5% 정도면 -0.05em으로 변경 */
    text-align: center;
    vertical-align: middle;                   /* inline/inline-block 요소에서만 적용 */

}

.partition-2 .tab-line {
    position: absolute;
    bottom: -1px; /* border-radius 테두리 밖으로 라인 내려주기 */
    left: 0;
    width: 0;
    height: 3px;
    background-color: #3946e8;
    transition: width 0.6s ease-in-out;
    z-index: 5;
}

.partition-2 .tab.active .tab-line {
    width: 100%;
}

.partition-2 .tab:hover {
    /*background-color: rgba(0, 0, 0, 0.1);*/
    color: rgba(147, 195, 255, 0.6);
}

/* 탭이 활성화될 때 각 탭에 다른 배경색을 적용 */
.partition-2 .tab.active {
    background: radial-gradient(
            49.14% 96.61% at 51.11% 100%,
            #DCEEFF 0%,
            rgba(220, 238, 255, 0) 100%
    ) !important;
    border-radius: 6px !important;
    color: var(--main-blue) !important;
}

.partition-2 .tab.active p{
    font-weight: 700;
}

/* 기본적으로 모든 콘텐츠 숨기기 */
.partition-2 .tab-content .content {
    display: none;
}

.partition-2 .tab-content .content .text-container{
    /*width: 900px;*/
    padding-top: 48px;
    padding-bottom: 40px;
    gap: 29px;
    border-radius: 20px;
    background: var(--main-white);

    display: flex;
    flex-direction: column;
    align-items: center;  /* 가로 중앙 정렬 */
    justify-content: center; /* 세로 중앙 정렬 */
    text-align: center; /* 텍스트 중앙 정렬 */
    opacity: 1; /* 투명도 영향을 받지 않도록 설정 */
}

.partition-2 .tab-content .content .text-container p{
    margin: 0;
    color: var(--sub-d-blue);
}


/* 활성화된 콘텐츠만 표시 */
.partition-2 .tab-content .active-content {
    display: block;
}

.premium-slide-group-1{
    display: flex;
    width: 900px;
    max-width: 900px;
    padding: 0 40px;
    justify-content: center;
    /*align-items: flex-start;*/
    align-items: center;     /* 세로 중앙 */

    align-content: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.premium-slide-left-group{
    display: flex;
    width: 266px;
    height: 347px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.circle-arr-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    /* align-self: stretch 제거 */
    height: 100%; /* 또는 부모 높이에 맞춤 */

}

/* 기본: 가로 화살표 보여주기, 세로 화살표 숨기기 */
.arrow-horizontal { display: block; }
.arrow-vertical { display: none; }

.circle-graph-1 {
    width: 150px;
    height: 150px;
    max-width: 600px;
    max-height: 600px;
    gap: 5px;
    opacity: 1;
    border-radius: 100px;
    border-bottom-width: 1px;
    padding: 20px;
    background: var(--Pastel-blue);

    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    aspect-ratio: 1/1;
}

.circle-graph-1 span {
    text-align: center;
    font-family: "Wanted Sans", sans-serif;
    font-weight: 700;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.36px;
    color: var(--Transparent-navy-90);
}

.circle-graph-2 {
    width: 150px;
    height: 150px;
    max-width: 600px;
    max-height: 600px;
    gap: 5px;
    opacity: 1;
    border-radius: 100px;
    border-bottom-width: 1px;
    padding: 20px;
    background: var(--main-blue);

    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    aspect-ratio: 1/1;
}

.circle-graph-2 span {
    text-align: center;
    font-family: "Wanted Sans", sans-serif;
    font-weight: 700;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.36px;
    color: var(--main-white);
}

.premium-slide-right-group{
    display: flex;
    width: 524px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.table-group{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.table-header {
    display: flex;
    height: 50px;
    padding: 20px 10px 20px 20px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    background: linear-gradient(270deg, rgba(240, 240, 240, 0.00) 0%, #F0F0F0 17.31%, #F0F0F0 82.21%, rgba(240, 240, 240, 0.00) 100%);
}

.table-content{
    display: flex;
    max-width: 600px;
    width: 100%;
    padding: 20px;
    /*align-items: flex-start;*/
    /*align-content: flex-start;*/
    gap: 5px;
    /*align-self: stretch;*/
    align-items: stretch; /* main-txt는 상단 고정 */
    flex-wrap: wrap;
    border-bottom: 1px solid var(--Transparent-black-10, rgba(19, 20, 22, 0.10));
}

.main-txt {
    min-width: 100px;
    color: var(--main-black);
    font-weight: 700;
    text-align: left;
    align-self: flex-start; /* 항상 위쪽 */

}

.sub-txt {
    flex: 1 0 0;
    color: var(--main-black);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 수직 가운데 */
}

.bottom-contents {
    display: flex;
    max-width: 600px;
    padding: 0 20px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    /* ← 화면 가운데 정렬 핵심 */
    margin: 50px auto 0;
}

.large-txt{
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 2px;
    align-self: stretch;
    flex-wrap: wrap;
    color: var(--main-blue);
}

.small-txt {
    text-align: center;
    color: var(--main-navy);
}























.partition-3 {
    position: relative;

    display: flex;
    height: 900px;
    padding: 89px 0 50px 0;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    align-self: stretch;
    background: url("/resources/static/images/premium/partition-3-background(533+).png") lightgray 50% / cover no-repeat;
}

.partition-3-contents {
    display: flex;
    justify-content: center; /* 가운데 정렬 */
    align-items: flex-start;
    width: 100%;
}

.contents-group {
    display: flex;
    flex-direction: row; /* 가로로 나열 */
    justify-content: space-between; /* 3개 아이템 균등 배치 */
    align-items: center;
    gap: 20px; /* 아이템 사이 간격 */
    width: 600px; /* 전체 그룹 넓이 지정 */
    max-width: 100%; /* 화면에 맞춤 */
}

.text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1 1 0; /* 균등 너비 차지 */
    min-width: 100px;  /* 최소 너비 확보 */

}


.text-group-top {
    color: var(--Transparent-black-60);
    text-align: center;
    display: block;          /* 부모 블록 */
    max-width: 300px;        /* 큰 화면에서 한 줄 유지 */
    white-space: normal;     /* 줄바꿈 허용 */
}

.text-group-top .word {
    display: inline-block;   /* 단어 단위로 묶어서 줄바꿈 */
    white-space: nowrap;     /* 단어 안에서 줄바꿈 금지 */
}

.text-group-bottom {
    color: var(--main-black);
    text-align: center;
    font-family: "Wanted Sans", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 26.4px */
}

.arr-img {
    position: absolute;
    top: -60px;          /* partition-3과 partition-4 사이에 걸치게 올림 (값은 필요에 따라 조절) */
    left: 50%;           /* 가운데 정렬 */
    /*transform: translateX(-50%); !* 가운데 정렬 보정 *!*/
    width: 120px;
    height: 120px;
    pointer-events: none; /* 클릭 방지 (UI 방해 X) */
    z-index: 10; /* 겹침 방지 (필요하면 추가) */

    transform: translateX(-50%) rotate(90deg); /* 초기값 */
    transform-origin: center center; /* 이미지 중앙 기준 회전 */
    transition: transform 0.1s linear; /* 부드럽게 */
}

.arr-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}




























.partition-4 {
    display: flex;
    padding: 50px 0;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    align-self: stretch;
    margin: 0 auto;        /* 중앙 정렬 */
    min-height: 640px;
}

.title-container-left {
    display: flex;
    max-width: 800px;
    width: 100%;
    padding: 0 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    margin: 0 auto;
}

.head-line-txt {
    display: flex;
    max-width: 450px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.head-button {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 1000px;
    background: var(--main-navy);
    height: 44px;
    cursor: pointer;
}

.head-button p {
    color: var(--main-white, #FFF);
    /* nav-button */
    font-family: "Wanted Sans", sans-serif;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0;
}

.head-button:hover {
    background: var(--Transparent-black-60);
}

.partition-4-contents-group {
    display: flex;
    max-width: 800px;
    align-items: flex-start;
    align-self: stretch;
    margin: 0 auto;
}

.partition-4-panel {
    display: flex;
    flex: 1 0 0;
    align-self: stretch;

    flex-direction: row; /* 가로 배치 */
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 346px;
}

.partition-4-text {
    display: flex;
    padding-top: 10px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.partition-4-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*gap: 25px;*/
    align-self: stretch;
    padding: 10px 20px 0 20px;

    flex: 1; /* 동일 너비 */
    text-align: center; /* 내부 텍스트 가운데 */

    /*justify-content: space-between;*/
    /*min-height: 318px;*/
}

.partition-4-title {
    align-self: stretch;
    color: var(--sub-d-blue);
    text-align: center;
}

.partition-4-contents {
    /*max-width: 200px;*/
    align-self: stretch;
    color: var(--sub-d-gray);

    width: 100%; /* 꽉 차게 */
    text-align: left; /* 왼쪽 정렬 */
    max-width: none; /* 기존 width 제한 해제 */
}

.partition-4-img-group {
    position: relative;

    width: 166px;
    height: 130px;
    aspect-ratio: 65/83;
    background: radial-gradient(40.4% 49.87% at 50% 50%, #8ADAFF 0%, rgba(175, 230, 255, 0.00) 100%);
    margin: 0 auto;
}

.partition-4-img-group img {
    /*display: block;*/
    /*max-width: 120%;*/
    /*height: auto;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 174px;
    height: 166px;
}

.partition-4-img-wrap {
    position: relative;
    /*width: 174px;*/
    /*height: 166px;*/
    margin: 0 auto;
    margin-top: auto;
}

/* 이미지 */
.partition-4-img-wrap img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
}

/* 그라데이션 배경 */
.partition-4-bg {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 166px;
    height: 130px;
    aspect-ratio: 65 / 83;

    background: radial-gradient(
            40.4% 49.87% at 50% 50%,
            #8ADAFF 0%,
            rgba(175, 230, 255, 0) 100%
    );
}




















.partition-5 {
    position: relative; /* ✅ 절대 위치 기준 생성 */

    display: flex;
    padding-top: 140px;
    flex-direction: column;
    align-items: center;
    /*gap: 20px;*/
    align-self: stretch;
    background: #EFF6FF;
}

.slide-wrapper {
    width: 100%;
    overflow: hidden;
    /*position: relative;*/

    position: absolute;   /* ✅ 이제 top 기준으로 고정됨 */
    top: 31.703px;        /* ✅ 원하는 위치 */
    left: 50%;            /* 화면 중앙 기준 */
    transform: translateX(-50%); /* 진짜 중앙 정렬 */
}

.slide-track {
    display: flex;
    width: max-content;
    animation: slide-move 40s linear infinite;
    opacity: 0.5;
    mix-blend-mode: multiply;
    background: #EFF6FF;
}

.slide-img {
    width: 171.2px;
    height: 50.4px;
    margin-right: 30px; /* 간격 */
    object-fit: contain;
    opacity: 0.5;
    mix-blend-mode: multiply;
}

/* 오른→왼 무한 이동 */
@keyframes slide-move {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* 전체의 절반만 이동 (복제 때문) */
    }
}

.partition-5-table {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;     /* 좌우 중앙 정렬 */
    gap : 2px;
    justify-content: center;
    align-self: stretch;
}

.partition-5 .tab2 {
    flex: 1;                   /* 균등하게 분배 */
    width: auto;               /* 고정 width 제거 */

    outline: 2px solid transparent;
    outline-offset: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    margin: 0;
    /*padding: 16px;*/
    color: var(--Transparent-black-60);
    transition: all 0.1s linear;
    /*width: 217px;*/
    /*height: 80px;*/
    /*box-sizing: border-box;*/
    cursor: pointer;
}

.partition-5 .tab2 p {
    font-family: "Wanted Sans", sans-serif;
    font-weight: 400;
    letter-spacing: -0.05em;                  /* -5% 정도면 -0.05em으로 변경 */
    text-align: center;
    vertical-align: middle;                   /* inline/inline-block 요소에서만 적용 */
    display: block;          /* 부모 블록 */
    max-width: 210px;        /* 큰 화면에서 한 줄 유지 */
    white-space: normal;     /* 줄바꿈 허용 */
}

.partition-5-tab {
    display: flex;
    justify-content: space-between; /* 탭을 균등하게 배치 */
    position: relative; /* 위치를 상대적으로 설정 */
    z-index: 1; /* 배경선보다 위로 오도록 설정 */

    max-width: 900px;
    width: 100%;
    border-radius: 20px;
    background: var(--main-white);

    /* border부분 tab line 잘리게 */
    overflow: hidden;
}

.partition-5-tab .tab2 .contents-tab-on .word {
    display: inline-block;   /* 단어 단위로 묶어서 줄바꿈 */
    white-space: nowrap;     /* 단어 안에서 줄바꿈 금지 */
}

.partition-5 .tab-line2 {
    position: absolute;
    bottom: -1px; /* border-radius 테두리 밖으로 라인 내려주기 */
    left: 0;
    width: 0;
    height: 3px;
    background-color: #3946e8;
    transition: width 0.6s ease-in-out;
    z-index: 5;
}

.partition-5 .tab2.active .tab-line2 {
    width: 100%;
}

.partition-5 .tab2:hover {
    /*background-color: rgba(0, 0, 0, 0.1);*/
    color: rgba(147, 195, 255, 0.6);
}

/* 탭이 활성화될 때 각 탭에 다른 배경색을 적용 */
.partition-5 .tab2.active {
    background: radial-gradient(
            49.14% 96.61% at 51.11% 100%,
            #DCEEFF 0%,
            rgba(220, 238, 255, 0) 100%
    ) !important;
    border-radius: 6px !important;
    color: var(--main-blue) !important;
}

.partition-5 .tab2.active p{
    font-weight: 700;
}

.partition-5 .tab-content {
    width: 100%;
    display: flex;
    justify-content: center; /* 가로 중앙 */
    align-items: center;     /* 세로 중앙 */
}

/* 기본적으로 모든 콘텐츠 숨기기 */
.partition-5 .tab-content .content2 {
    display: none;
    width: 100%;             /* 부모 폭 채우기 */
    max-width: 900px;
}

.partition-5 .tab-content .content2 .text-container{
    /*width: 900px;*/
    gap: 29px;
    border-radius: 20px;
    background: var(--main-white);

    display: flex;
    flex-direction: column;
    align-items: center;  /* 가로 중앙 정렬 */
    justify-content: center; /* 세로 중앙 정렬 */
    text-align: center; /* 텍스트 중앙 정렬 */
    opacity: 1; /* 투명도 영향을 받지 않도록 설정 */
}

.partition-5 .tab-content .content2 .text-container p{
    font-family: "Wanted Sans", sans-serif;
    font-weight: 400;
    line-height: 120%;
    text-align: center;
    color: var(--sub-d-blue);
}


/* 활성화된 콘텐츠만 표시 */
.partition-5 .tab-content .active-content {
    display: block;
}

.background-image {
    display: flex;
    height: 400px;
    max-width: 900px;
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 29px;
    align-self: stretch;
    border-radius: 20px 20px 0 0;
}

.back-img1 {
    background: url("/resources/static/images/premium/partition-5-01(692+).png") center/cover no-repeat;
}

.back-img2 {
    background: url("/resources/static/images/premium/partition-5-02(692+).png") center/cover no-repeat;
}

.back-img3 {
    background: url("/resources/static/images/premium/partition-5-03(692+).png") center/cover no-repeat;
}

.img-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    align-self: stretch;
}

.text-group-title {
    color: var(--main-black, #131416);
    font-size: 30px;
    line-height: 110%; /* 33px */
    letter-spacing: -1.5px;
    text-align: left;
}

.text-group-content {
    width: 320px;
    color: var(--sub-d-gray);
    text-align: justify;
}


















.partition-6 {
    display: flex;
    padding: 50px 0 80px 0;
    flex-direction: column;
    align-items: center;
    /*gap: 20px;*/
    align-self: stretch;
    background: var(--sub-d-blue);
}

.panel-group-arr {
    position: relative; /* 버튼 absolute 기준 */

    display: flex;
    /*max-width: 1200px;*/
    max-width: 1080px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    width: 100%;            /* 부모 폭 채우기 */
    margin: 50px auto 0;    /* 수평 가운데 정렬 */
}

.panel-group {
    display: flex;
    /*max-width: 1200px;*/
    max-width: 1080px;
    /*padding: 0 20px;*/
    align-items: center;
    gap: 20px;
    align-self: stretch;
    /*justify-content: center; !* ✅ 항상 가운데 *!*/
    overflow: hidden; /* ✅ 넘친 패널 안 보이게 */
    width: 100%;           /* 부모 폭 채우기 */
    justify-content: flex-start;
}

.panel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease; /* ✅ 슬라이드 애니메이션 */
}

.panel {
    flex-shrink: 0; /* ✅ 패널 크기 유지 */

    display: flex;
    width: 250px;
    height: 392px;
    padding: 20px 20px 150px 20px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border-radius: 20px;
    background: linear-gradient(180deg, #F6F6F6 0%, #FFF 100%);
    backdrop-filter: blur(150px);
}

.panel-title {
    align-self: stretch;
    color: var(--main-navy, #0E3B63);
}

.panel-content {
    max-width: 200px;
    align-self: stretch;
    color: var(--Transparent-black-60, rgba(19, 20, 22, 0.60));

    /* partition-banner-contents */
    font-family: "Wanted Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.36px;
}

.panel-img {
    width: 122px;
    height: 142px;
    aspect-ratio: 61/71;
    position: absolute;
    right: 10px;
    bottom: 13px;
}

.arrow-btn-group {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
    position: absolute;
    right: 20px;
    bottom: -19.703px;
    z-index: 3;
}

.arrow-btn {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid var(--Transparent-black-10);
    background: var(--main-white);
    box-shadow: 0 0 4px 0 rgba(19, 20, 22, 0.10);
}

.arrow-btn:hover {
    border: 1px solid var(--Transparent-cyan-30);
    background: var(--Pastel-blue);
    box-shadow: 0 0 4px 0 rgba(19, 20, 22, 0.10);
    cursor: pointer;
}

.arrow-btn:hover svg path {
    stroke: #115AC6; /* 원하는 hover 색상 */
}






.partition-7 {
    display: flex;
    padding-top: 50px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.partition-7-img-div {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.partition-7-img {
    width: 100%;
    height: 100%;
    max-width: 800px;
    max-height: 472.432px;
    aspect-ratio: 800.00/472.43;
}













.partition-8 {
    display: flex;
    padding: 50px 0;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    align-self: stretch;
    backdrop-filter: blur(50px);
}

.partition-8 .head-line-txt {
    gap: 15px;
}

.partition-8-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    max-width: 500px;  /* 버튼 최대 너비와 맞추기 */
    width: 100%;
    margin: 50px auto 0;
}

.partition-8-btn{
    display: flex;
    max-width: 500px;
    padding: 30px;
    align-items: center;
    gap: 40px;
    align-self: stretch;
    border-radius: 12px;
    justify-content: space-between; /* 텍스트 왼쪽, 아이콘 오른쪽 */


    /* 버튼 내부 내용이 위로 올라오도록 */
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;

}

.button-text {
    display: flex;
    padding-right: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex: 1 0 0;
}

.white_btn_txt1 {
    color: var(--Transparent-blue-60);
}

.partition-8-btn svg {
    z-index: 5;
}

.img-btn {
    position: relative;
    background: url("/resources/static/images/premium/partition-8-cta.png") center/cover no-repeat;
    overflow: hidden; /* ::after가 넘치지 않도록 */
}

.white-btn {
    background: var(--main-white);
}

.black-btn {
    background: var(--main-black);
    height: 113px;
}

.img-btn::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0); /* 초기에는 투명 */
    z-index: 0;
}

.img-btn:hover::after {
    background: rgba(255, 255, 255, 0.25); /* hover 시 흰색 25% 덮기 */
}

/* 버튼 안 텍스트는 위로 올리기 */
.img-btn span {
    position: relative;
    z-index: 1;
}


/* ::after 초기 상태 */
.partition-8-btn.white-btn::after {
    content: "";
    position: absolute;
    width: 378px;
    height: 378px;
    border-radius: 50%;
    right: -213px; /* 버튼 끝 기준 x 위치 */
    top: -122px;   /* 버튼 끝 기준 y 위치 */
    transform: scale(0);
    opacity: 0;
    background: radial-gradient(49.14% 96.61% at 51.11% 100%, #C0EFFF 45%, rgba(220, 238, 255, 0) 100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 0;
}

.partition-8-btn.black-btn::after {
    content: "";
    position: absolute;
    width: 378px;
    height: 378px;
    border-radius: 50%;
    right: -213px; /* 버튼 끝 기준 x 위치 */
    top: -122px;   /* 버튼 끝 기준 y 위치 */
    transform: scale(0);
    opacity: 0;
    background: radial-gradient(49.14% 96.61% at 51.11% 100%, #0062C4 45%, rgba(0, 67, 134, 0) 100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 0;
}

/* hover 시 버블 효과 */
.partition-8-btn:hover::after {
    opacity: 1;
    transform: scale(1);
    animation: bubbleEffect 0.4s ease-in-out 1;
}

@keyframes bubbleEffect {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}














.floating-buttons {
    position: fixed;          /* 화면 기준 고정 */
    /*bottom: 0;*/
    display: flex;
    flex-direction: row; /* 버튼 나란히 */
    z-index: 10;

    justify-content: center;
    align-items: center;

    max-width: 100%;         /* 버튼 그룹 최대 너비 */
    width: 100%;
    padding: 5px 10px 15px 10px;
    align-content: center;
    flex-wrap: wrap;
    height: 84px;
    border-radius: 10px;
    /*position: absolute;*/
    bottom: -0.286px;
}

.floating-buttons .button-group {
    display: flex;
    max-width: 900px;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    flex-direction: row; /* 버튼 나란히 */
    height: 100%;

    border-radius: 10px;
    border: 2px solid var(--main-white, #FFF);
    background: var(--Transparent-navy-90, rgba(14, 59, 99, 0.90));
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
}

.floating-button1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 1 0 0;
    align-self: stretch;
    padding: 20px;
    cursor: pointer;
    border-right: 1px dashed rgba(255, 255, 255, 0.70);
    background: linear-gradient(90deg, rgba(0, 69, 170, 0.00) 0%, #0045AA 98.68%);
}

.floating-button2 {
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 1 0 0;
    align-self: stretch;
    background: linear-gradient(90deg, #0045AA 0%, rgba(0, 69, 170, 0.00) 100%);
    cursor: pointer;
}

.floating-btn-txt {
    color: #FFF;
    text-align: center;
}

.floating-btn-txt .word {
    display: inline-block;   /* 단어 단위로 묶어서 줄바꿈 */
    white-space: nowrap;     /* 단어 안에서 줄바꿈 금지 */
}


/* ========== 1280px 이하: PC → 넓은 노트북 ========== */
@media (max-width: 1280px) {
    .head-copy {
        width: 700px;
        max-width: 700px;
    }
    #text-roller-wrapper {
        max-width: 650px;
    }
}

/* ========== 900px 미만: 태블릿 가로/작은 노트북 ========== */
@media (max-width: 899px) {
    .head-copy {
        /*width: 600px;*/
        width: 100%;
        /*max-width: 90%;*/
        max-width: 100%;
    }
    #text-roller-wrapper {
        max-width: 550px;
    }

    /*  partition-2 반응형  */
    .premium-slide-group-1 {
        flex-direction: column; /* 세로 배치 */
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        align-items: center;
        gap: 40px;
    }

    .premium-slide-left-group,
    .premium-slide-right-group {
        width: 100%;        /* 꽉 차게 */
        /*max-width: 450px;   !* 너무 넓어지지 않게 *!*/
    }

    .circle-arr-group {
        flex-direction: column; /* 원 위-아래 + 화살표 */
        gap: 10px;
    }

    .circle-graph-1,
    .circle-graph-2 {
        width: 140px;
        height: 140px;
    }

    .table-group {
        width: 100%;
        display: flex;
        /*max-width: 600px;*/
        flex-direction: column;
        align-items: flex-start;
        align-self: stretch;
    }
    .table-content{
        display: flex;
        max-width: 899px;
        width: 100%;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        align-self: stretch;
    }
    .tab-content{
        width: 100%;
    }

    .title-container-left {
        align-items: center; /* ✅ 왼쪽 정렬 → 가운데 정렬 */
    }

    .head-line-txt span {
        text-align: center;
        width: 100%;
        display: block;
    }

    .partition-2 .tab-content .content .text-container p{
        margin: 0;
    }
    .premium-slide-left-group {
        display: flex;
        flex-direction: row; /* 원 2개를 가로 배치 */
        justify-content: center;
        align-items: flex-start;
        gap: 20px;
        max-height: 170px;
        height: 100%;
    }
    .circle-arr-group {
        display: flex;
        flex-direction: column; /* 원 위 → 화살표 아래 */
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .circle-graph-1,
    .circle-graph-2 {
        display: flex;
        max-width: 120px;
        max-height: 120px;
        padding: 39px 7.5px 31px 7.5px;
        justify-content: center;
        align-items: center;
        aspect-ratio: 1/1;
    }
    .arrow-horizontal { display: none; }
    .arrow-vertical { display: block; }

    .partition-4-panel {
        height: 350px;
    }
}

/* ========== 692px 미만: 태블릿 세로 ========== */
@media (max-width: 691px) {
    .head-copy {
        width: 100%;
        /*max-width: 500px;*/
        max-width: 100%;
    }
    #text-roller-wrapper {
        max-width: 450px;
    }
    .partition-2-tab {
        border-radius: 0;
    }
    .partition-2 .tab-content .content .text-container{
        border-radius: 0;
    }

    .partition-5-tab {
        border-radius: 0;
    }
    .partition-5 .tab-content .content .text-container{
        border-radius: 0;
    }

    .background-image {
        border-radius: 0;
        display: flex;
        max-width: 900px;
        padding: 30px 30px 200px 30px;
        flex-direction: column;
        align-items: center;
        gap: 29px;
        align-self: stretch;
        height: 530px;
    }
    .back-img1 {
        background: url("/resources/static/images/premium/partition-5-01(0-691).png") center/cover no-repeat;
    }
    .back-img2 {
        background: url("/resources/static/images/premium/partition-5-02(0-691).png") center/cover no-repeat;
    }
    .back-img3 {
        background: url("/resources/static/images/premium/partition-5-03(0-691).png") center/cover no-repeat;
    }

    .text-group-title {
        width: 100%;
        text-align: center;
    }
    .text-group-content {
        max-width: 400px;
        width:  100%;
    }


    .contents-group {
        gap: 15px;
    }
    .text-group-top {
        max-width: 90px;
    }
    .partition-2 .tab .contents-tab-on .word{
        min-width: 120px;
    }


    .text-roller-prev,
    .text-roller-next {
        font-size: 1rem;
    }

    /* 중앙 텍스트 */
    .text-roller-current {
        font-size: 1.5rem;
        line-height: 1.8;
    }

    .img-text-group {
        align-items: center;
    }

    .limit-width .line1,
    .limit-width .line2 {
        display: block;
        margin: 0;
        text-align: center; /* 필요시 */
    }

    .limit-width {
        max-width: 330px;       /* 줄 바꿈 강제 */
    }

    .tab2 .contents-tab-on .word {
        min-width: 120px;
    }


    .partition-4-panel {
        flex-direction: column; /* 그룹 전체 세로 스택 */
        gap: 30px;
        height: auto;
    }
    .partition-4-text-group {
        flex-direction: row; /* 내부: 텍스트 왼쪽, 이미지 오른쪽 */
        align-items: flex-start;
        gap: 15px;
        min-height: 138px;
    }
    .partition-4-text {
        flex: 1; /* 텍스트가 남은 공간 차지 */
        text-align: left;
    }
    .partition-4-title {
        text-align: left;
    }
    .partition-4-bg {
        width: 128px;
        height: 100px;
        flex-shrink: 0;
    }
    .partition-4-img-wrap img {
        width: 134px;   /* 원하는 너비 */
        height: 128px;   /* 비율 유지 */
    }
}

/* ========== 533px 이하: 작은 스마트폰 ========== */
@media (max-width: 533px) {
    .head-copy {
        width: 100%;
        /*max-width: 400px;*/
        max-width: 100%;
    }
    #text-roller-wrapper {
        /*max-width: 380px;*/
        width: 100%;
        height: auto; /* 내용에 따라 높이 조정 */
        padding: 8px 15px;
    }
    .corner-image {
        width: 120px;   /* 모바일에서 축소 */
        height: 116px;
        top: -18px;     /* 위치도 비율 맞춰 약간 조정 */
        right: -15px;
        margin-right: 30px;
    }


    .partition-2 .tab {
        width: auto;            /* 고정 폭 제거 */
        flex: 1;                /* 균등 분배 */
        padding: 10px 0;        /* 높이 보정 */
        min-width: 80px;        /* 너무 좁아지지 않도록 */
    }


    .partition-3 {
        height: 700px;
        background: url("/resources/static/images/premium/partition-3-background(0-532).png") center/cover no-repeat;
    }
    .panel-group {
        padding: 0 20px;
    }


    .floating-btn-txt {
        max-width: 100px;
    }
    .floating-buttons {
        max-height: 78px;
        height: 100%;
    }



    .partition-4-panel {
        flex-direction: column; /* 그룹 전체 세로 스택 */
        gap: 20px;
    }
    .partition-4-text-group {
        flex-direction: row; /* 내부: 텍스트 왼쪽, 이미지 오른쪽 */
        align-items: flex-start;
        gap: 15px;
        min-height: 158px;
        padding: 15px 20px;
    }
    .partition-4-text {
        flex: 1; /* 텍스트가 남은 공간 차지 */
        text-align: left;
    }
    .partition-4-title {
        text-align: left;
        /*margin-bottom: 10px;*/
    }
    .partition-4-img-group {
        width: 128px;
        height: 100px;
        flex-shrink: 0;
    }

    .partition-4-img-group img {
        width: 134px;   /* 원하는 너비 */
        height: 128px;   /* 비율 유지 */
    }



    .text-roller-prev,
    .text-roller-next {
        font-size: 0.8rem;
    }

    /* 중앙 텍스트 */
    .text-roller-current {
        font-size: 1.2rem;
        line-height: 1.5;
    }
}

/* ========== 320px 이하: 최소 화면 대응 ========== */
@media (max-width: 320px) {
    .head-copy {
        width: 100%;
        /*max-width: 300px;*/
        max-width: 100%;
    }
    #text-roller-wrapper {
        /*max-width: 280px;*/
        width: 100%;
        padding: 6px 10px;
    }
}