
.section-title .prmpg2-img-p{
    font-size: 1.4rem;
    margin-top: 1%;
    font-weight: 300;
}

.section-title .prmpg3-img-p{
    font-size: 1.4rem;
    margin-top: 1%;
    font-weight: 300;
}


.hcprm-section-wrapper .section-title{
    margin-bottom: 15%;
}


.btn-problematic {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 300;
    padding: 15px 30px;
    background-color: #222;
    color: #fff;
    font-weight: 700;
    position: relative; 
    overflow: hidden;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
}

.btn-problematic span{
    color: #fff;
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}


.btn-problematic:hover span{
    transform: translateX(5px);
}

.hcprm-section-wrapper{
    width: 30%; 
    position: absolute;
    top:54%; left: 73%;
    transform: translate(-50%, -50%);
}

.hcprm-section-wrapper div:nth-child(2){
    width: 40%;
}


/* page 01 */

.hcprm-page1{
    background-color: #fff;
    background-image: url('../img/hcprm/hcprm_page1_img01_p.webp'); 
    background-size: cover; background-position: center; background-repeat: no-repeat;
    position: relative;
}

.hcprm-page1 .hcprm-main-title{
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;

}

.hcprm-page1 .hcprm-main-title h1{
    font-size: 2.8rem;
    margin-bottom: 2%;
    position: relative;
    font-weight: 900;
}

.hcprm-page1 .hcprm-main-title h1::after{
    content: '┐';

    position: absolute;
    top: -45px;
}

/* page 02 */

.hcprm-page2{
    background-color: #fff;
    position: relative;
}

.hcprm-page2 .prmpg2-img-pc{
    background-image: url('../img/hcprm/hcprm_page2_img02_m.webp');
    width: 50%;
    min-height: 100%; background-repeat: no-repeat;
    background-position: center; background-size:cover;
}

.hcprm-page2 .prmpg2-img{
    display: none;
}

/* page 03 */

.hcprm-page3{
    background-color: rgb(248, 252, 255);
    position: relative;
}

.hcprm-page3 .hcprm-section-wrapper{
    flex-direction: row-reverse;
}

.hcprm-page3 .prmpg3-img-pc{
    background-image: url('../img/hcprm/hcprm_page3_img01_m.webp');
    width: 50%;
    min-height: 100%; background-repeat: no-repeat;
    background-position: center; background-size:cover;
}

.hcprm-page3 .prmpg3-img{
    display: none;
}

/* page 04 */

.hcprm-page4 {
    background-color: #fbfbfb;
    position: relative;
    overflow: hidden; /* 슬라이드 영역 밖의 내용을 숨김 */
}

.hcprm-page4 .section-title{
    width: 85%;
    margin:0 auto;
    padding-top:6%;
}

.hcprm-page4 .section-title p:nth-child(3){
    color:#333;
}

/* 슬라이더 컨테이너 */
.slider-container {
    max-width: 85%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    
}

/* 슬라이드 트랙 */
.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

/* 개별 슬라이드 */
.slide {
    flex-shrink: 0;
    width: 100%;
    display: flex; /* 내부 요소(.hcprm-slide-img, .hcprm-slide-text)를 가로로 나열합니다. */
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #888;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    max-width: 100%; /* 슬라이드 자체의 최대 너비 */
    margin: 0 auto; /* 중앙 정렬 */
    padding:4% 0;
    margin-top: 2%;
}

.hcprm-slide-flex{
    display: flex;
    align-items: center;
    margin: 0 auto;
    width: 90%;
}

.hcprm-slide-img {
    flex-shrink: 0;
    width: 28%;
    border: 1px solid #aaa;
    padding:1%;
}

.hcprm-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hcprm-slide-text {
    padding-left: 6%;
    display: flex;
    flex-direction: column;
}

.hcprm-slide-text h2 {
    font-size: 2rem;
    font-weight: 700;
}

.hcprm-slide-text div:nth-child(2){
    padding: 1% 0
}

.hcprm-slide-text div:nth-child(2) ul{
    display: flex;
    padding: 0 0 1%;
}

.hcprm-slide-text div:nth-child(2) ul li:nth-child(1){
    width: 20%;
    font-size: 1.4rem;
    font-weight: 500;
    color: #5f5f5f;
}

.hcprm-slide-text div:nth-child(2) ul li:nth-child(2){
    width: 80%;
    color: #888;
}

.hcprm-slide-text div:nth-child(3) p{
    color:#888
}

.slide-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-group {
    display: flex;
    align-items: flex-start;
}

.detail-label {
    width: 150px;
    font-weight: 700;
    color: #666;
    flex-shrink: 0;
}

.detail-content, .detail-list {
    flex-grow: 1;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-list li {
    margin-bottom: 5px;
}

.slide-reference {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
    line-height: 1.4;
}

/* 슬라이더 버튼 */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 3rem;
    color: #ddd;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.slider-button:hover {
    color: #aaa;
}

.prev-button {
    left: 3%;
}

.next-button {
    right: 3%;
}

/* 페이지 인디케이터 (dot) */
.page-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator-dot.active {
    background-color: #333;
}































/* -------------------- 태블릿 반응형 (max-width: 1024px) -------------------- */
@media screen and (max-width: 1024px) {
    .section-title p:nth-child(3) {
        font-size: 1rem;
    }

    .hcprm-section-wrapper .section-title {
        margin-bottom: 8%;
    }

    .btn-problematic {
        font-size: 0.9rem;
        padding: 12px 20px;
        width: 100%;
    }

    /* page 01 */
    .hcprm-page1{
        background-image: none;
        background-color: #f4f4f4;
        min-height: 950px;
    }

    .hcprm-page1 .prmpg1-img{
        background-image: url('../img/hcprm/hcprm_page1_img01_m.webp');
        width: 100%;
        min-height: 300px; background-repeat: no-repeat;
        background-position: center; background-size:cover;
        margin: 9% 0; border-radius: 5px;

    }

    .hcprm-page1 .hcprm-main-title{
        width: 82%;
        top: 53%;
    }

    .hcprm-page1 .hcprm-main-title h1 {
        font-size: 2rem;
        line-height: 35px;
        color: #222;
        text-align: left;
    }

    .hcprm-page1 .hcprm-main-title p {
        font-size: 0.9rem;
        color: #333;
        text-align: left;
    }

    .hcprm-page2{
        background-image: none;
    }

    .hcprm-page2 .prmpg2-img-pc{
        display: none;
    }

    .hcprm-page2 .prmpg2-img{
        background-image: url('../img/hcprm/hcprm_page2_img02_m.webp');
        width: 100%;
        min-height: 300px; background-repeat: no-repeat;
        background-position: center; background-size:cover;
        margin: 9% 0; border-radius: 5px;
        display: block;
    }

    .hcprm-page2 .hcprm-section-wrapper .section-title p{
        color: #222;
    }

    .hcprm-page2 .section-title p:nth-child(3) {
        color: #666;
    }

    .hcprm-page2 .prmpg2-img-p{
        font-size: 0.9rem;
        font-weight: 300;
        color: #666;
    }

    .hcprm-page3{
        background-image: none;
        background:  rgb(248, 252, 255);
    }

    .hcprm-page3 .hcprm-section-wrapper .section-title p{
        color: #222;
    }

    .hcprm-page3 .prmpg3-img-pc{
        display: none;
    }

    .hcprm-page3 .prmpg3-img{
        background-image: url('../img/hcprm/hcprm_page3_img01_m.webp');
        width: 100%;
        min-height: 300px; background-repeat: no-repeat;
        background-position: center; background-size:cover;
        margin: 9% 0; border-radius: 5px;
        display: block;
    }

    .hcprm-page3 .prmpg3-img-p{
        font-size: 0.9rem;
        font-weight: 300;
        color: #666;
    }

    /* page 04 */
    .hcprm-page4 .section-title {
        padding-top: 20%;
        width: 82%;
    }

    .hcprm-page4 .slide{
        margin-top: 11%;
    }

    .slider-container{
        width: 82%;
    }
    
    .hcprm-section-wrapper{
        width: 82%;
        top:50%;
        left: 50%;
    }

    .hcprm-slide-flex {
        width: 95%;
       justify-content: center;
       flex-direction: column;
       justify-content: flex-start;
    }

    .hcprm-slide-img {
        width: 90%; /* 태블릿에서 이미지 크기 조정 */
        height: 30%;
        margin-top: 9%;
        border-radius: 5px;
    }

    
    .hcprm-slide-text {
        padding-left: 0;
        width: 90%;    
    }

    .hcprm-slide-text h2 {
        font-size: 1.3rem;
        text-align: center;
        border-bottom: 1px solid #222;
        padding: 9% 0 4%;
    }

    .hcprm-slide-text div:nth-child(2) ul {
        flex-direction: column; /* 태블릿에서 목록 세로로 정렬 */
    }

    .hcprm-slide-text div:nth-child(2) ul li:nth-child(1) {
        width: auto;
        font-size: 1.1rem;
        margin:6% 0 0.4%;
    }

    .hcprm-slide-text div:nth-child(2) ul li:nth-child(2) {
        width: auto;
        font-size: 0.8rem;
        font-weight: 200;
    }

    .hcprm-slide-text div:nth-child(3) p{
        font-size: 0.6rem; margin-top: 6%;
        color: #aaa; font-weight: 200;
    }
    
    .slider-button {
        font-size: 2rem;
    }

    .page-indicators {
        bottom: 4%;
    }

    .indicator-dot{
        width: 6px; height: 6px;
    }
}




































/* -------------------- 대형 모니터 반응형 -------------------- */
@media screen and (min-width: 1921px) {

.hcprm-page1 .hcprm-main-title h1{
    font-size: 3.4rem;
}

.section-title p:nth-child(3){
    font-size: 1.45rem;
}

.section-title p{
    font-size: 2.5rem;
}

.btn-problematic {
    font-size: 1.3rem;
}

.section-title p{
    font-size: 2.5rem;
}

.hcprm-slide-text h2{
    font-size: 2.3rem;
}

.hcprm-slide-text div:nth-child(2) ul li:nth-child(1){
    font-size: 1.6rem;
    width: 16%;
}

.hcprm-slide-text div:nth-child(2) ul{
    padding: 0 0 1.5%;
}

.hcprm-slide-text div:nth-child(2){
    padding: 2% 0;
}

.hcprm-slide-flex{
    width: 85%;
}


}