.healthcare_detail {
    width: 100%;
    margin: 101px auto 0;
    line-height: 1.4;
}

/* .healthcare_detail button{
    border: none;
} */

/* //////////////////////////////////////상단 박스 */
.healthcare_detail .detail_topwrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 0;
    margin: 0 auto;
    background: var(--color-bg-brandlight);
}

/* 텍스트 공통 */
.healthcare_detail .detail_topwrap>div {
    text-align: center;
}

/* 메인 텍스트 */
.healthcare_detail .detail_topwrap .detail_top_maintext {
    font-size: var(--font-size-42);
    font-weight: var(--font-weight-sb);
}

/* 메인 텍스트 강조 */
.healthcare_detail .detail_topwrap .detail_top_maintext .brand_dark {
    font-weight: var(--font-weight-b);
    color: var(--color-text-branddark);
}

/* 서브 텍스트 */
.healthcare_detail .detail_topwrap .detail_top_subtext {
    font-size: var(--font-size-22);
    font-weight: var(--font-weight-m);
    color: var(--color-text-tertiary);
}

/* 서브 텍스트 강조 */
.healthcare_detail .detail_topwrap .detail_top_subtext>p .weight_m {
    font-weight: var(--font-weight-sb);
    color: var(--color-text-primary);
}

/* br */
.healthcare_detail .detail_topwrap .detail_top_subtext>p br {
    display: none;
}



/* //////////////////////////////////////컨텐츠 박스 */
.healthcare_detail .detail_contentwrap {
    margin: 80px auto 0;
    width: 100%;
    max-width: 1024px;
}

/* 컨텐츠 박스 */
.healthcare_detail .detail_contentwrap .detail_contents {
    display: flex;
    justify-content: space-between;
    padding: 100px 0;
    overflow: hidden;
}

/* 건강검진 컨텐츠 박스 */
.healthcare_detail .detail_contentwrap .detail_contents.checkup_contents {
    flex-direction: row-reverse;
}

/* 텍스트 박스 */
.healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap {
    padding: 120px 40px 0 40px;
}

/* 텍스트 칩 */
.healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textchip {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-sb);
    color: var(--color-text-branddark);
}

/* 텍스트 메인 */
.healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textmain {
    padding: 12px 0 20px 0;
    font-size: var(--font-size-48);
    font-weight: var(--font-weight-sb);
}

/* 텍스트 메인 강조*/
.healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textmain .colorbrand {
    color: var(--color-text-brand);
}

/* 텍스트 서브 */
.healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textsub {
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-m);
    color: var(--color-text-tertiary);
}

/* 이미지 박스 */
.healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox {
    position: relative;
}

/* 이미지 목업 */
.healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_mockup {
    width: 360px;
}

/* 이미지 */
.healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_front {
    width: 332px;
    position: absolute;
    bottom: 0;
}

/* 이미지 의료기록*/
.healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_front.medical_records {
    right: 132px;
}

/* 이미지 건강검진*/
.healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_front.checkup {
    left: 132px;
}

/* 임상시험 자동 매칭 바로 가기 버튼 */
.healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .btn_matchinggo {
    margin: 48px 0 0 0;
    padding: 0 24px;
    height: 48px;
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-sb);
    color: var(--color-text-inverse);
    background: var(--color-bg-brand);
    border-radius: var(--border-radius-8);
}


/* //////////////////////////////////////하단 버튼 박스 */
.healthcare_detail .detail_btnwrap {
    /* position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%); */
}

/* 헬스케어 이용하기 버튼 */
.healthcare_detail .detail_btnwrap .btn_healthgo{
    display: block;
    padding: 20px 0;
    margin: 0 auto 100px;
    width: 300px;
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-sb);
    color: var(--color-text-inverse);
    background: var(--primitive-color-secondary);
    border-radius: var(--border-radius-full);
    border: none;
    cursor: pointer;
}
/* 스크롤 */
.scroll_on {
    opacity: 0;
    transition: all ease 1s;
}
.scroll_on2 {
    opacity: 0;
    transition: all ease 0.8s;
}
.scroll_on.active,
.scroll_on2.active {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.scroll_on.type_bottom {
    transform: translate(0, 100px);
}
.scroll_on2.type_bottom {
    transform: translate(0, 150px);
}


/*_______________________________________________태블릿 기준으로*/
@media screen and (max-width: 1024px) {
    /* //////////////////////////////////////상단 박스 */
    .healthcare_detail .detail_topwrap {
        padding: 40px 0;
    }

    /* 메인 텍스트 */
    .healthcare_detail .detail_topwrap .detail_top_maintext {
        font-size: var(--font-size-36);
    }

    /* 서브 텍스트 */
    .healthcare_detail .detail_topwrap .detail_top_subtext {
        font-size: var(--font-size-18);
    }

    /* //////////////////////////////////////컨텐츠 박스 */
    .healthcare_detail .detail_contentwrap {
        margin: 40px auto 0;
        max-width: 800px;
    }

    .healthcare_detail .detail_contentwrap .detail_contents {
        padding: 80px 0;
    }

    /* 텍스트 박스 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap {
        padding: 80px 40px 0 40px;
    }

    /* 텍스트 칩 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textchip {
        font-size: var(--font-size-20);
    }
    
    /* 텍스트 메인 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textmain {
        padding: 8px 0 16px 0;
        font-size: var(--font-size-42);
    }
    
    /* 텍스트 서브 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textsub {
        font-size: var(--font-size-18);
    }

    /* 이미지 목업 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_mockup {
        width: 280px;
    }
    
    /* 이미지 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_front {
        width: 260px;
    }

    /* 이미지 의료기록*/
    .healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_front.medical_records {
        right: 112px;
    }
    
    /* 이미지 건강검진*/
    .healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_front.checkup {
        left: 112px;
    }

    /* 매칭 공고 버튼 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .btn_matchinggo {
        margin: 28px 0 0 0;
    }

    /* //////////////////////////////////////하단 버튼 박스 */
    .healthcare_detail .detail_btnwrap {
        bottom: 88px;
    }
    
    /* 헬스케어 이용하기 버튼 */
    .healthcare_detail .detail_btnwrap .btn_healthgo{
        padding: 16px 0;
        font-size: var(--font-size-20);
    }
}


/*_______________________________________________모바일 기준으로*/
@media screen and (max-width: 767px) {
    .healthcare_detail {
        margin: 61px auto 0;
        line-height: 1.3;
    }
    
    /* //////////////////////////////////////상단 박스 */
    .healthcare_detail .detail_topwrap {
        padding: 36px 20px;
        gap: 16px;
        letter-spacing: -0.5px;
    }

    /* 메인 텍스트 */
    .healthcare_detail .detail_topwrap .detail_top_maintext {
        font-size: var(--font-size-24);
    }
    
        /* 서브 텍스트 */
        .healthcare_detail .detail_topwrap .detail_top_subtext {
            font-size: var(--font-size-16);
        }
        
        /* br */
        .healthcare_detail .detail_topwrap .detail_top_subtext>p br {
            display: block;
        }
    
    


    /* //////////////////////////////////////컨텐츠 박스 */
    .healthcare_detail .detail_contentwrap {
        margin: 0 auto;
        width: 100%;
        max-width: 1024px;
    }
    
    /* 컨텐츠 박스 */
    .healthcare_detail .detail_contentwrap .detail_contents {
        flex-direction: column;
        gap: 32px;
        padding: 80px 20px 40px 20px;
    }

    /* 건강검진 컨텐츠 박스 */
    .healthcare_detail .detail_contentwrap .detail_contents.checkup_contents {
        flex-direction: column;
    }
    
    /* 텍스트 박스 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap {
        padding: 0;
        text-align: center;
    }
    
    /* 텍스트 칩 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textchip {
        font-size: var(--font-size-16);
    }
    
    /* 텍스트 메인 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textmain {
        padding: 8px 0 16px 0;
        font-size: var(--font-size-28);
    }
    
    /* 텍스트 서브 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .textsub {
        font-size: var(--font-size-14);
    }

    .healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox {
        height: 440px;
    }

    /* 이미지 목업 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_mockup {
        /* margin: 0 auto; */
        width: 240px;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-70%);
    }
    
    /* 이미지 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_front {
        width: 240px;
        position: absolute;
        transform: translateX(-30%);
        bottom: 0;
        top: 200px;
    }

    /* 매칭 목업 가운데로 */
    .healthcare_detail .detail_contentwrap .matching_contents .contents_imgwrap .imgbox .img_mockup,
    .healthcare_detail .detail_contentwrap .matching_contents .contents_imgwrap .imgbox .img_front {
        transform: translateX(-50%);
    }
    /* 이미지 의료기록*/
    .healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_front.medical_records {
        left: 50%;
        right: 0;
    }
    
    /* 이미지 건강검진*/
    .healthcare_detail .detail_contentwrap .detail_contents .contents_imgwrap .imgbox .img_front.checkup {
        left: 50%;
        right: 0;
    }
    
    /* 임상시험 자동 매칭 바로 가기 버튼 */
    .healthcare_detail .detail_contentwrap .detail_contents .contents_textwrap .btn_matchinggo {
        margin: 28px auto 0;
        height: 40px;
        font-size: var(--font-size-16);
    }
    
    /* //////////////////////////////////////하단 버튼 박스 */
    .healthcare_detail .detail_btnwrap {
        width: 100%;
        bottom: 76px;
    }
    
    /* 헬스케어 이용하기 버튼 */
    .healthcare_detail .detail_btnwrap .btn_healthgo{
        padding: 16px 0;
        width: calc(100% - 40px);
        max-width: 65%;
        font-size: var(--font-size-18);
    }
}