/* 약국페이지 */
.sub_pharmarcy .sec01 .title_wrap {
    position: sticky;
    top: 6rem;
    background: #ffff;
    z-index: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 9rem;
    opacity: 0
}
.sub_pharmarcy .sec01 .title_wrap::after {
    content: '';
    position: absolute;
    top: 93%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
}
.sub_pharmarcy .sec01 .img_wrap{
    position: relative;
    padding-bottom: 5rem;
}
/* .sub_pharmarcy .sec01 .img_wrap::after{
    content: '';
    position: absolute;
    bottom:0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 1) 100%);
} */
.sub_pharmarcy .sec01 .img_wrap img + img {
    margin-top: 3rem;
}

.sub_pharmarcy .sec02{
    margin-top: 28rem;
}
.sub_pharmarcy .sec02 .content_wrap{
    display: flex;
    gap:4rem;
    width: 116rem;
    margin: 0 auto;
}
.sub_pharmarcy .sec02 .img_wrap{
    width: 68rem;
    height: 68rem;

}
.sub_pharmarcy .sec02 .img_wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sub_pharmarcy .sec02 .txt_wrap{
    width: calc(100% - 68rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.sub_pharmarcy .sec02 .sm_txt{
    text-align: center;
    font-family: "Montserrat";
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4rem;
    color: #777777;
}
.sub_pharmarcy .sec02 ul{
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    align-items: center;
}
.sub_pharmarcy .sec02 li{
    text-align: center;
    height: 6.4rem;
    color: #999;
    font-size: 3.2rem;
    font-weight: 500;
    cursor: default;
    width: fit-content;
}
.sub_pharmarcy .sec02 li:hover, .sub_pharmarcy .sec02 li.active{
    color: #104D39;
    font-weight: 600;
}
.sub_pharmarcy .sec02 li:hover::after,
.sub_pharmarcy .sec02 li.active:after{
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    bottom: 2.3rem;
    left: 50%;
    z-index: -1;
    background-color: #F9D143;
    transform: translateX(-50%);
}
.sub_pharmarcy .sec02 .pc_only img{
    display: none;
}
.sub_pharmarcy .sec02 .pc_only img:first-child{
    display: block;
}

.sub_pharmarcy .sec03 .inner{
    display: flex;
}
.sub_pharmarcy .sec03 .inner:nth-child(1) .left_wrap {
    background: url('../img/subpage/sub01_sec03_img01.png');
    background-attachment: fixed;
}
.sub_pharmarcy .sec03 .inner:nth-child(2) .left_wrap {
    background: url('../img/subpage/sub01_sec03_img03.png');
    background-attachment: fixed;
}
.sub_pharmarcy .sec03 .left_wrap{
    width: 61.5%;
}
.sub_pharmarcy .sec03 .txt_wrap{
    position: sticky;
    top: 0;
    padding: 33rem 0 5rem 26rem;
    color: #fff;
}
.sub_pharmarcy .sec03 .txt_wrap h4{
    font-family: "Score";
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
}
.sub_pharmarcy .sec03 .txt_wrap p{
    font-size: 1.8rem;
    margin-bottom: 8rem;
}
.sub_pharmarcy .sec03 .txt_wrap button{
    color: #fff;
    font-size: 1.8rem;
    font-weight: 400;
    border: 1px solid #fff;
    height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.6rem;
}
.sub_pharmarcy .sec03 .txt_wrap button::before{
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 100%;
    background: #fff;
    transition: 0.2s;
    left: 0;
    top: 0;
}
.sub_pharmarcy .sec03 .txt_wrap button:hover{
    color: #000
}
.sub_pharmarcy .sec03 .txt_wrap button:hover::before{
    width: 100%;
}
.sub_pharmarcy .sec03 .txt_wrap button:hover img{
    filter: brightness(0);
}
.sub_pharmarcy .sec03 .right_wrap{

}

.sub_pharmarcy .sec04{
    overflow: hidden;
    padding-bottom: 3rem;
}
.sub_pharmarcy .sec04 .txt_wrap{}
.sub_pharmarcy .sec04 .txt_wrap h5{
    position: relative;
    font-family: "Montserrat";
    font-size: 2rem;
    letter-spacing: -1%;
    color: #104D39;
    display: inline-block;
    margin-bottom: 1.6rem;
    font-weight: 700;
}
.sub_pharmarcy .sec04 .txt_wrap h5::after{
    content: '';
    width: 0.8rem;
    height: 0.8rem;
    position: absolute;
    top:0;
    right: -1rem;
    border-radius: 100%;
    background-color: #F9D143;
}
.sub_pharmarcy .sec04 .txt_wrap p{
    font-size: 2rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 4rem;
}
.sub_pharmarcy .sec04 .txt_wrap p small{
    color: #777;
    font-size: 1.8rem;
}
.sub_pharmarcy .sec04 .img_wrap img{
    display: block;
    width: 56rem;
    height: 32rem;
}
.sub_pharmarcy .sec04 .cont_wrap{
    max-width: 166rem;
    margin: 0;
    margin-left: auto;
}
.sub_pharmarcy .sec04 .swiper{
    overflow: hidden;
    padding-bottom: 3.2rem;
}
.sub_pharmarcy .swiper-container-horizontal> .swiper-pagination-progressbar {
    top: auto;
    bottom: 0;
    max-width: 144rem
}
.sub_pharmarcy .swiper-pagination-progressbar{
    border-color: #D9D9D9;
}
.sub_pharmarcy .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{
    background-color: #000;
}


.sub_pharmarcy .sec05 {
    background-color: #FFFBF0;
    margin: 0;
    padding-top: 14rem;
}
.sub_pharmarcy .sec05 .title img{
    display: block;
    width: 4rem;
    height: 4rem;
    margin:0 auto 2.4rem;
}
.sub_pharmarcy .sec05 .txt_wrap{
    width: 44rem;
}
.sub_pharmarcy .sec05 .txt_wrap h3{
    font-weight: 600;
    font-size: 3.2rem;
    margin-bottom: 2.4rem;
    color: #333;
}
.sub_pharmarcy .sec05 .txt_wrap p{
    font-size: 1.8rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 6rem;
}
.sub_pharmarcy .sec05 .txt_wrap p span{
    color: #104D39;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.sub_pharmarcy .sec05 .txt_wrap p span::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    bottom: 2px;
    left: 50%;
    z-index: -1;
    background-color: #F9D143;
    transform: translateX(-50%);
}
.sub_pharmarcy .sec05 .txt_wrap .sec05_btn{
    color: #333;
    width: 20.5rem;
    height: 5.6rem;
    font-weight: 600;
    font-size: 1.6rem;
    transition: 0.2s;
}
.sub_pharmarcy .sec05 .txt_wrap .sec05_btn a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub_pharmarcy .sec05 .txt_wrap .sec05_btn.more_btn{
    background: #fff;
    border: 1px solid #D9D9D9;
    margin-top: 1.6rem;
}
.sub_pharmarcy .sec05 .txt_wrap .sec05_btn.more_btn:hover{
    color: #fff;
    background: #333;
    border: 1px solid #333;
}
.sub_pharmarcy .sec05 .txt_wrap .sec05_btn.inquiry_btn{
    background: #E3DBC880;
    border: 1px solid #E3DBC880;
    margin-top: 1.6rem;
}
.sub_pharmarcy .sec05 .txt_wrap .sec05_btn.inquiry_btn:hover{
    color: #fff;
    background: #9f8c6180;
    border: 1px solid #9f8c6180;
}
.sub_pharmarcy .sec05 .img_wrap{}
.sub_pharmarcy .sec05 .img_wrap img{
    width: 35.4167vw;
}
.sub_pharmarcy .sec05 .cont_wrap{
    align-items: center;
    justify-content: center;
    gap: 4rem;
}


@media (max-width: 880px){
    .sub_pharmarcy .sec01 .title_wrap {
        margin-bottom: 3rem;
        top: 5.5rem;
    }
    .sub_pharmarcy .sec01 .title_wrap .title {
        font-size: 1.8rem;
    }
    .sub_pharmarcy .sec01 img.mo_only{
        width: 100%;
    }
    .sub_pharmarcy .sec01 .img_wrap img + img {
        margin-top: 1rem
    }

    .sub_pharmarcy .sec02{
        margin-top: 12rem;
    }
    .sub_pharmarcy .sec02 .mo_only ul{
        flex-direction: row;
        width: auto;
        overflow-x: scroll;
        gap: 2.4rem;
    }
    .sub_pharmarcy .sec02 .mo_only li{
        font-size: 1.6rem;
        word-break: keep-all;
        white-space: nowrap;
        height: 4.8rem;
        line-height: 4.8rem;
    }
    .sub_pharmarcy .sec02 .mo_only li:first-child{
        margin-left: 2rem;
    }
    .sub_pharmarcy .sec02 .mo_only li:last-child{
        margin-right: 2rem;
    }
    .sub_pharmarcy .sec02 .mo_only .img_wrap{
        height: 32rem;
        margin-top: 2.4rem;
    }
    .sub_pharmarcy .sec02 .mo_only li:hover::after, .sub_pharmarcy .sec02 .mo_only li.active::after{
        bottom: 1.7rem;
    }
    .sub_pharmarcy .sec02 .mo_only img{
        display: none;
    }
    .sub_pharmarcy .sec02 .mo_only img:first-child{
        display: block;
    }

    .sub_pharmarcy .sec03 {
        overflow: hidden;
    }
    .sub_pharmarcy .sec03 .mo_only {overflow: hidden;}
    .sub_pharmarcy .sec03 .mo_only img{
        width: 100%;
        transform: scale(1.1);
        transition: 1s;
    }
    .sub_pharmarcy .sec03 .mo_only.actOn img{
        transform: scale(1);
    }
    .sub_pharmarcy .sec03 .mo_only .txt_wrap{
        padding: 0;
        padding-left: 2rem;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .sub_pharmarcy .sec03 .mo_only .txt_wrap h4{
        font-size: 2.4rem;
        margin-bottom: 1.6rem;
    }
    .sub_pharmarcy .sec03 .mo_only .txt_wrap p{
        font-size: 1.4rem;
        margin-bottom: 4rem;
    }
    .sub_pharmarcy .sec03 .mo_only .txt_wrap button{
        font-size: 1.4rem;
        height: 4rem;
    }
    .sub_pharmarcy .sec03 .mo_only .txt_wrap button img{
        width: 2.4rem;
        height: 2.4rem;
    }

    .sub_pharmarcy .sec04 .title_wrap{
        margin-bottom: 6rem;
    }
    .sub_pharmarcy .sec04 .txt_wrap h5{
        font-size: 1.4rem;
        margin-bottom: 1.6rem;
    }
    .sub_pharmarcy .sec04 .txt_wrap h5::after{
        width: 0.4rem;
        height: 0.4rem;
        right: -0.5rem;
    }
    .sub_pharmarcy .sec04 .txt_wrap p{
        font-size: 1.6rem;
        margin-bottom: 0;
        line-height: 1.4;
        min-height: 9.5rem;
    }
    .sub_pharmarcy .sec04 .txt_wrap p small{
        display: block;
        font-size: 1.6rem;
    }
    .sub_pharmarcy .sec04 .img_wrap img{
        height: 16rem;
    }
    .sub_pharmarcy .sec04 .cont_wrap{
        max-width: 94.5%;
    }
    .sub_pharmarcy .sec04 .txt_wrap{
        /* height:9rem; */
    }
    .sub_pharmarcy .sec04 .swiper{
        padding-bottom: 2rem
    }
    .sub_pharmarcy .sec04 .swiper-slide{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .sub_pharmarcy .swiper-container-horizontal> .swiper-pagination-progressbar{
        max-width: 89%;
    }

    .sub_pharmarcy .sec05{
        padding-top: 6rem;
    }
    .sub_pharmarcy .sec05 .title img{
        width: 2.4rem;
        height: 2.4rem;
        margin: 0 auto 1.6rem;
    }
    .sub_pharmarcy .sec05 .cont_wrap {
        flex-direction: column-reverse;
    }
    .sub_pharmarcy .sec05 .img_wrap img{
        width: 90%;
        margin: 0 auto;
        display: block;
    }
    .sub_pharmarcy .sec05 .txt_wrap{
        width: auto;
        text-align: center;
    }
    .sub_pharmarcy .sec05 .txt_wrap h3{
        font-size: 2rem;
        margin-bottom: 1.6rem;
    }
    .sub_pharmarcy .sec05 .txt_wrap p{
        font-size: 1.4rem;
        margin-bottom: 4rem;
    }
    .sub_pharmarcy .sec05 .txt_wrap .sec05_btn{
        font-size: 1.4rem;
        width: 32rem;
        height: 4.6rem;
    }
    .sub_pharmarcy .sec05 .txt_wrap .sec05_btn.inquiry_btn{
        margin-bottom: 6rem;
    }
}
