/* 문신패키지 */
.intro_image,
.intro_text {
    border:1px solid var(--main-cream2);
    min-height: 500px;
    max-height: 88vh;
    overflow: hidden;
}

.con_desc_title {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.con_desc_tit {
    font-size: 40px;
    font-weight: 700;
}
.con_desc_subtit {
    font-size: 24px;
    color: var(--main-green);
    font-weight: 600;
    margin-top: 10px;
    margin-left: 10px;
}
.detail_package_intro {
    font-size: 18px;
    padding-top: 15px;
    color: var(--main-baige2);
}
.detail_package_intro span{
    font-weight: 600;
    color: var(--main-green);
}
.package_ul li {
    border-right: 1px dashed var(--main-green);
    display: grid;
    grid-template-columns: repeat(3, 2fr);
}
.package_ul li:last-child {
    border: none;
}
.package_ul li p:last-child {
    height: 50px;
}
.container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.detail_package_desc {
    font-size: 18px;
    color: var(--main-baige2);
    padding-bottom: 30px;
}
.ext {
    font-size: 13px;
}

.container_size ul {
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
}
.detail_subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}
.container_size ul li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    margin-bottom: 30px;
}
.container_size ul li:last-child {
    margin-bottom: 0;
}
.container_size ul li p:nth-child(1) {
    color: var(--main-baige);
}
.container_size ul li:nth-child(1) {
    color: var(--main-baige);
}
.container_size .price p:nth-child(1) {
    position: relative;       /* ::after 위치 기준 */
}

.container_size .price p:nth-child(1)::after {
    content: "";
    position: absolute;
    right: 0;                 /* 항상 텍스트 끝 기준 */
    top: 70%;                 /* 세로 중앙 */
    transform: translateY(-50%);
    width: 100px;              /* 이미지 크기 */
    height: 30px;
    background: url(../public/image/tattoo/discount.png) no-repeat center/contain;
}  
.container_size .price p:nth-child(2) {
    color: var(--main-baige2);
    font-size: 18px;
    font-weight: 800;
}

.detail_recommend {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
}
.detail_recommend p {
    vertical-align: middle;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 600;
}

.detail_con_desc_last .container,
.detail_con_desc_last .container02 {
    padding-bottom: 120px;
}


/* with_section */
.with_section {
    padding: 0 260px 120px 260px;
    margin: 120px 0;
}
.with_section .container {width: 100%;}
.with_section .detail_title {
    width: 100%;
    padding-bottom: 50px;
    color: var(--main-black);
}
.with_section .detail_title p:nth-child(1) {
    padding-bottom: 30px;
}
.with_section .container {
    background-color: var(--main-cream);
    overflow: hidden;
    padding: 90px 60px;
}
.with_section .container .detail_cont {
    font-size: 20px;
    width: 60%;
}
.with_img {
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 40%;
}
.with_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media screen and (max-width: 1600px) {
    /* 시술 상세내용 */
    .detail_wrap {
        display: flex;
        flex-direction: row;
        gap: 0;
    }
    .treatment_detail {
        display: flex;
        flex-direction: column;
        padding-left: 30px;
    }
    .detail_con_tit p:first-child {
        font-size: 26px;
    }
    .detail_title p:nth-child(2) {
        font-size: 32px;
    }
    .detail_con_tit {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
        padding: 20px 40px;
    }
    .detail_subtitle {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px !important;
    }
    .container {
        width: 100%;
        position: relative;
        padding: 20px 40px !important;
    }
    .detail_regular_price {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        padding-bottom: 40px;
        gap: 10px;
    }
    .detail_con_desc {
        border: 1px solid var(--main-cream2);
        border-top: 0;
        display: flex;
        flex-direction: column;
    }
    .package_ul {
        padding: 60px 0;
    }
    .package_ul li {
        border-right: 1px dashed var(--main-green);
        display: grid;
        grid-template-columns: repeat(3, 2fr);
    }
    .container_size {
        width: 100%;
    }
    .container02 {
        border-left: 0 !important;
        border-top: 1px dashed var(--main-cream2);
        padding: 30px 40px;
        display: flex;
        justify-content: flex-start;
        gap: 80px;
    }
    .cont02_mo_tit {
        width: 5%;
    }
    .cont02_mo_cont {
        width: 45%;
    }
    .detail_recommend div {
        margin-right: 30px;
    }
    .quastion {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 40px 10px 40px !important;
    }
    .faq_item.active .answer_box {
        opacity: 1;
        padding: 30px 30px 120px 30px !important;
        transform: translateY(0);
    }
    .faq_item.active .answer_box_long {
        opacity: 1;
        padding: 30px 30px 250px 30px !important;
        transform: translateY(0);
    }
    .detail_con_desc ul .faq_item .answer_box p {
        text-align: center;
        white-space: wrap;
    }
    /* 시술 상세내용 end */
    .container_size ul li {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0;
        margin-bottom: 30px;
        width: 100% !important;
    }
    .con_desc_tit {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .detail_package_desc {
        font-size: 18px;
        color: var(--main-baige2);
        padding-bottom: 30px;
        padding-top: 30px;
    }
    .con_desc_subtit {
        font-size: 20px;
        margin-top: 0;
        margin-left: 0
    }
    .package_ul li p:last-child {
        font-size: 18px;
    }
    .ext {
        font-size: 15px;
    }
    
    .with_section {
        padding: 0 30px 120px 30px;
        margin: 120px 0;
    }
    .with_section .container {
        background-color: var(--main-cream);
        overflow: hidden;
        padding: 60px 40px !important;
    }
    .with_section .detail_title p:nth-child(1) {
        padding-bottom: 20px;
    }
    .with_section .detail_title {
        padding-bottom: 20px;
    }
    .with_section .container .detail_cont {
        font-size: 16px;
        width: 70%;
        margin-right: 20px;
    }
    .with_img {
        width: 30%;
        position: absolute;
        bottom: -10px;
        right: -20px;
        width: 220px;
    }
}
@media screen and (max-width: 1400px) {
    .detail_recommend {
        display: flex;
        flex-direction: column !important;
        justify-content: initial;
    }
}
@media screen and (max-width: 1100px) {
    .container02 {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        gap: 30px;
    }
}
@media screen and (max-width: 800px) {
    .detail_regular_price {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .con_desc_tit {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}