.slick-track{
        height:100%;
    }

/* 숫자 증가 중에도 '평균 탕감률'과 %의 위치를 고정합니다. */
.reduction_rate_value {
    display: inline-block;
    width: 4ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

@font-face {
    font-family: 'MyHandwriting';
    src: url('/fonts/A내손글씨B.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 원본 서류와 코드로 분리한 손글씨를 한 화면에 겹칩니다. */
.sec03_img_wrap {
    container-type: inline-size;
}

.case_visual {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 618 / 273;
    overflow: hidden;
    border-radius: 8px;
}

.case_visual04 {
    aspect-ratio: 618 / 290;
}

.sec03_img_wrap .case_visual .case_source_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.sec03_img_wrap .case_visual01 .case_source_img {
    object-fit: cover;
    object-position: center 56%;
}

.case_red_note,
.case_blue_note {
    position: absolute;
    z-index: 30;
    font-family: 'MyHandwriting', cursive;
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
    font-weight: 500;
    -webkit-text-stroke: 1.9cqw #fff;
    paint-order: stroke fill;
}

.case_red_note {
    display: flex;
    align-items: center;
    color: #d91b1b;
    /* 이미지 폭 618px일 때 약 31px */
    font-size: 5.02cqw;
}

.case_red_note .red_note_text {
    position: relative;
    z-index: 1;
    clip-path: inset(0 100% 0 0);
}

.red_star {
    flex: 0 0 auto;
    width: 9.39cqw;
    height: 8.58cqw;
    position: relative;
    z-index: 1;
    margin-right: 0.16cqw;
    overflow: visible;
}

.red_star image {
    filter: brightness(.9);
}

.red_star .star_mask_path {
    fill: none;
    stroke: #fff;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.red_star_final {
    opacity: 0;
}

.red_star_drawing {
    display: block;
}

.case_blue_note {
    color: #0b52bd;
    /* 이미지 폭 618px일 때 약 30px */
    font-size: 4.85cqw;
    opacity: 0;
    transform: translateY(18px);
}

.case_visual:not(.case_visual01) .case_blue_note {
    padding: 0.49cqw 1.29cqw 0.81cqw;
}

.case_visual01 .case_red_note { left: 56%; top: 31%; }
.case_visual01 .red_star {
    width: 8.09cqw;
    height: 7.44cqw;
}
.case_visual01 .case_blue_note {
    inset: 0;
    width: 100%;
    height: 100%;
}
.case_visual01 .case_blue_note span {
    position: absolute;
    top: 75%;
    display: block;
    padding: 0.49cqw 1.29cqw 0.81cqw;
}
.case_visual01 .blue_principal {
    left: 37%;
}
.case_visual01 .blue_adjusted {
    left: 62%;
}
.case_visual02 .case_red_note { left: 40%; top: 6%; }
.case_visual02 .case_blue_note { left: 46%; top: 61%; }
.case_visual03 .case_red_note { left: 29%; top: 31%; }
.case_visual03 .case_blue_note { left: 20%; top: 90%; }
.case_visual04 .case_red_note { left: 5%; top: 40%; }
.case_visual04 .case_blue_note { left: 43%; top: 89%; }

.sec03_card.is-visible .red_star .star_stroke_1 { animation: redStarSketch .10s linear 1.77s forwards; }
.sec03_card.is-visible .red_star .star_stroke_2 { animation: redStarSketch .10s linear 1.86s forwards; }
.sec03_card.is-visible .red_star .star_stroke_3 { animation: redStarSketch .10s linear 1.95s forwards; }
.sec03_card.is-visible .red_star .star_stroke_4 { animation: redStarSketch .10s linear 2.04s forwards; }
.sec03_card.is-visible .red_star .star_stroke_5 { animation: redStarSketch .10s linear 2.13s forwards; }

.sec03_card.is-visible .red_star_final {
    animation: redStarFinal .08s ease 2.22s forwards;
}

.sec03_card.is-visible .case_red_note .red_note_text {
    animation: redNoteTyping 1.15s steps(var(--typing-steps), end) 2.35s forwards;
}

.sec03_card.is-visible .case_blue_note {
    animation: blueNoteUp .65s ease 3.60s forwards;
}

@keyframes redStarSketch {
    to { stroke-dashoffset: 0; }
}

@keyframes redStarFinal {
    to { opacity: 1; }
}

@keyframes redNoteTyping {
    to { clip-path: inset(0 0 0 0); }
}

@keyframes blueNoteUp {
    to { opacity: 1; transform: translateY(0); }
}

/* index_test.php 전용: 원본 PNG는 유지하고 마스크만 손으로 그리듯 열어 줍니다. */
.common_circle .circle_sketch {
    display: block;
    max-width: 100%;
    height: auto;
    overflow: visible;
    vertical-align: middle;
}

/* 노란 동그라미는 모든 서류·문구 레이어보다 위에 표시 */
.common_circle {
    z-index: 20;
}

/* 원본 위치에서 우측으로 충분히 이동 */
.circle02 { right: 1%; }
/* .circle04 { right: -14%; top: 59%; } */

.common_circle .circle_mask_path {
    fill: none;
    stroke: #fff;
    stroke-width: 20;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.sec03_card.is-visible .common_circle .circle_mask_path {
    animation: commonCircleSketch .9s cubic-bezier(.42, 0, .25, 1) .8s forwards;
}

@keyframes commonCircleSketch {
    to { stroke-dashoffset: 0; }
}

@media screen and (max-width: 500px) {
    .circle02 {
        width: 57.6%;
        left: -1%;
        right: auto;
    }
    .circle02 .circle_sketch {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .common_circle .circle_mask_path {
        stroke-dashoffset: 0;
    }
    .sec03_card.is-visible .common_circle .circle_mask_path {
        animation: none;
    }
    .red_star .star_mask_path { stroke-dashoffset: 0; }
    .red_star_final { opacity: 1; }
    .case_red_note .red_note_text,
    .case_blue_note { opacity: 1; transform: none; }
    .case_red_note .red_note_text { clip-path: none; }
    .sec03_card.is-visible .red_star .star_mask_path,
    .sec03_card.is-visible .red_star_final,
    .sec03_card.is-visible .case_red_note .red_note_text,
    .sec03_card.is-visible .case_blue_note { animation: none; }
}

.sec06_jumin_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sec06_jumin_wrap input {
    flex: 1;
    min-width: 0;
}
.eligibility_typing {
    min-height: 1.4em;
}
.eligibility_typing.is-typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: .9em;
    margin-left: 3px;
    background: currentColor;
    vertical-align: -.08em;
    animation: eligibilityCaret .65s steps(1) infinite;
}
@keyframes eligibilityCaret {
    50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .eligibility_typing.is-typing::after { animation: none; }
}
