@media (max-width: 1240px) {

    /* ==========================
       공통
    ========================== */
    section .inner {
        padding: 0px 20px;
    }

    /* ==========================
       주요 서비스
    ========================== */
    .visit-feature .feature-card {
        min-height: auto;
    }

    .visit-feature .feature-image {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 960px) {

    /* ==========================
       공통
    ========================== */
    .section-title {
        font-size: var(--fs-3xl);
        font-weight: 700;
    }

    .section-subtitle {
        font-size: var(--fs-lg);
    }

    .block-head h1 {
        font-size: var(--fs-2xl);
    }

    .m-br {
        display: block;
    }

    /* ==========================
       메인 이미지
    ========================== */
    .visit-main .dashboard {
        aspect-ratio: 800/512;
        width: 100%;
        height: auto;
    }

    /* ==========================
       말풍선 후기
    ========================== */
    .visit-pain .inner {
        flex-direction: column;
        align-items: center;
    }

    .pain-title-wrap {
        text-align: center;
    }

    /* ==========================
       주요서비스
    ========================== */
    .resource-card {
        padding: 28px;
    }

    .resource-content h2 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .resource-image img {
        width: 620px;
    }

    .resource-icon {
        width: 52px !important;
        top: 28px;
        right: 20px;
    }

    .resource-card:last-child .resource-icon {
        width: 80px !important;
        top: 20px;
    }

    .visit-flow .flow-item {
        padding: 20px;
    }

    .visit-flow .flow-name {
        text-align: center;
    }

    .visit-feature .feature-content {
        gap: 20px;
    }

    .visit-feature .feature-content h2 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    /* ==========================
       운영안정성
    ========================== */
    .stability-banner {
        background-position: 90% 100%;
    }

    .stability-banner h2 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    /* ==========================
       CTA
    ========================== */
    .sub-cta {
        background-image: url(/homepage2/assets/images/m-sub-cta-bg.png);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .sub-cta .cta-btn-wrap {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    /* ==========================
       공통
    ========================== */
    .section-head,
    .block-head {
        margin-bottom: 40px;
    }

    .section-title,
    .block-head h1 {
        font-size: 28px;
    }

    .section-subtitle,
    .block-subtitle {
        font-size: var(--fs-md);
    }

    /* ==========================
       말풍선 후기
    ========================== */
    .chat-box {
        padding: 20px;
    }

    .chat-box:nth-child(2) {
        margin-right: 0;
    }

    /* ==========================
       평가자료
    ========================== */
    .visit-resource .resource-content .pc-br {
        display: none;
    }

    .resource-grid {
        display: flex;
        flex-direction: column;
    }

    .resource-content h2 {
        font-size: var(--fs-xl);
    }

    .resource-link {
        margin-top: 20px;
    }

    .resource-image img {
        width: 560px;
    }

    .resource-icon {
        width: 80px !important;
        top: auto;
        bottom: 28px;
        right: 40px;
    }

    .resource-card:last-child .resource-icon {
        width: 120px !important;
        top: auto;
        bottom: 28px;
        right: 10px;
    }

    /* ==========================
       주요 서비스
    ========================== */
    .visit-flow-list {
        display: flex;
        flex-direction: column;
    }

    .visit-flow .flow-item {
        gap: 20px;
        flex-direction: row;
        justify-content: center;
    }

    .visit-flow .flow-item .visit-text-area {
        align-items: flex-start;
        min-width: 128px;
    }

    .visit-flow .flow-icon {
        margin-bottom: 0;
    }

    .visit-flow-list::before {
        top: 50%;
        left: 50%;

        width: 3px;
        height: 90%;

        background: rgba(38, 173, 223, 1);

        -webkit-mask: repeating-linear-gradient(to bottom,
            #000 0 4px,
            transparent 4px 8px);
    }

    .visit-feature .feature-content {
        padding: 32px;
    }

    .visit-feature .feature-content h2 {
        font-size: var(--fs-xl);
    }

    .visit-flow-list {
        gap: 16px;
    }

    .visit-flow .flow-name {
        font-size: var(--fs-md);
    }

    /* ==========================
       도입효과
    ========================== */
    .impact-list {
        padding: 0 20px 8px;
    }

    .impact-compare {
        gap: 12px;
        margin-bottom: 60px;
    }

    /* ==========================
       운영안정성
    ========================== */
    .stability-banner {
        padding: 28px;
        min-height: 400px;

        background-image: url("/homepage2/assets/images/m-visit-stability-bg.png");
        background-size: 80%;
        background-repeat: no-repeat;
        background-position: 200px 20px;
        background-color: var(--primary-soft-blue100);
    }

    .stability-list {
        display: flex;
        flex-direction: column;
    }


    /* ==========================
       이지케어 채널
    ========================== */
    .easy-community .inner {
        flex-direction: column;
    }

    .community-links,
    .community-card {
        width: 100%;
    }
}

@media (max-width: 640px) {

    /* ==========================
       메인
    ========================== */
    .visit-main .img-wrap {
        width: auto;
        height: auto;
    }

    .visit-main .img-wrap>img {
        width: 80%;
    }

    /* ==========================
       평가자료
    ========================== */
    .visit-resource {
        padding: 100px 0;
    }

    .resource-card-lg {
        min-height: 460px;
    }

    .visit-flow {
        padding: 100px 0px;
    }

    /* ==========================
       주요서비스
    ========================== */

    .visit-feature {
        padding: 0 0 100px;
    }

    .visit-feature .feature-card,
    .visit-feature .feature-card.reverse {
        flex-direction: column;
    }

    .visit-feature .feature-content {
        padding: 28px;
    }

    .visit-feature .feature-image {
        width: 100%;
    }

    /* ==========================
       운영안정성
    ========================== */
    .stability-banner {
        min-height: 360px;
        background-position: 150px 60px;
    }

    /* ==========================
       도입전후
    ========================== */
    .impact-compare {
        display: none;
    }

    .tab-compare-section {
        display: block;
        margin: 0 auto 60px;
    }

    .compare-wrap {
        width: 100%;
        margin: 0 auto;
    }

    .compare-tab {
        display: flex;
    }

    .tab-btn {
        flex: 1;

        border: 0;
        background: var(--bg);
        padding: 16px 0px;

        font-size: var(--fs-lg);
        font-weight: 500;
        color: var(--wf-700);

        cursor: pointer;
    }

    .tab-btn:first-child {
        border-radius: 12px 0 0 0;
    }

    .tab-btn:last-child {
        border-radius: 0 12px 0 0;
    }

    .tab-btn.active {
        background: var(--primary-blue100);
        color: #fff;
        font-weight: 600;
    }

    .compare-content {
        padding: 0px 28px;

        background: #fff;
        border-radius: 0 0 12px 12px;
    }

    .compare-list {
        display: none;

        flex-direction: column;
        gap: 0;

        list-style: none;
    }

    .compare-list.active {
        display: flex;
    }

    .compare-list li {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 20px 0;

        font-size: var(--fs-md);
        line-height: 1.5;
        color: var(--wf-900);
    }

    .compare-list li strong {
        font-weight: 600;
    }

    .compare-list li+li {
        border-top: 1px solid var(--border);
    }

    .impact-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    /* ==========================
       말풍선
    ========================== */
    .visit-pain-desc br {
        display: none;
    }

    /* ==========================
       운영매뉴
    ========================== */
    .resource-card-lg {
        min-height: 400px;
    }

    /* ==========================
       운영안정성
    ========================== */
    .stability-banner {
        min-height: 360px;
        background-size: 100%;
        background-position: 40px 80px;
    }

    .resource-icon {
        display: none;
    }

    /* ==========================
       이지케어 채널
    ========================== */
    .easy-community .block-subtitle br {
        display: none;
    }

    .community-links {
        flex-direction: column;
    }

    .community-card {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        padding: 28px;
    }

    .community-card>div {
        display: flex;
        flex-direction: column;
    }

    .community-icon img {
        margin-bottom: 0px;
    }
}

@media (max-width: 375px) {

    /* ==========================
       공통
    ========================== */
    section .inner {
        padding: 0px 16px;
    }

    /* ==========================
       히어로
    ========================== */
    .visit-title .m-br {
        display: block;
    }

    .visit-main .img-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 488 / 340;
    }

    /* ==========================
       말풍선 영역
    ========================== */
    .chat-box .chat-desc {
        font-size: var(--fs-sm);
    }

    /* ==========================
       운영매뉴얼
    ========================== */
    .visit-resource .block-subtitle .pc-br,
    .resource-card br {
        display: none;
    }

    /* ==========================
       운영안정성
    ========================== */
    .stability-banner {
        padding: 24px;
        min-height: 360px;
        background-size: 100%;
        background-position: 0px 150px;
    }

    .stability-banner h2 {
        font-size: var(--fs-xl);
    }
}