.sub {overflow: h;}

@media(max-width:990px) {
    .font-18 {font-size: 1.500rem;}
    .font-28 {font-size: 2.500rem;}
    .font-38 {font-size: 3.000rem;}
}

@media(max-width:500px) {
    .font-28 {font-size: 2.250rem;}
}

@media(max-width:768px) {
    .title.mb-80 {margin-bottom: 3.00rem !important;}
}

/* 서브타이틀 */
.subtitle {height: 100vh; overflow: hidden;}
.subtitle .wrap {height: 100%; background-position: center; background-size: cover;}

@media(max-width:768px) {
    .subtitle {height: 600px;}
}

/* 페이지네이션 */
.sub .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {background:var(--pointcolor)}

/* 오렘클리닉 */
/* 맨처음섹션 */
.about .flexList {--x-gap: 3rem;}

@media(max-width:990px) {
    .about .flexList {--y-gap: 6.25rem;}
    .about .box.img_box {order: 2;}
}

/* 의료진섹션 */
.sub .doctor::after {display: none;}

@media(max-width:990px) {
    .sub .doctor .box.imgbox {order: -1;}
    .sub .doctor .box.doc_img {order: -1;}
    .sub .doctor .flexList.mt-150 {margin-top: 5rem;}
    .sub .doctor .flexList.doc_info2 p.mt-50 {margin-top: 0;}

    .sub .doctor .txt.pl-30 {padding-left: 0;}
}

/* 포인트섹션 */
.sub-point .bg_wrap {clip: rect(0, auto, auto, 0); position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.sub-point .bg_wrap .bg {position: fixed; display: block; top: 0; left: 0; width: 100%; height: 100vh; background: url("/img/sub/TheOREM/orem_bg.jpg") no-repeat; background-position: center !important; background-size: cover !important; transform: translateZ(0); will-change: transform;}

@media(max-width:768px) {
    .sub-point .bg_wrap .bg {background: url("/img/sub/TheOREM/orem_bgm.jpg") no-repeat;}
}

/* 키워드 */
.keyword .box img {filter: grayscale(1); transition: 0.45s;}
.keyword .box img:hover {filter: none;}

@media(max-width:768px) {
    .keyword .flexList {--y-gap: 3rem;} 
}

/* 지도 */
.location .line {width: 100%; height: 1px; background: var(--pointcolor);}
.location .timebox .location {width: 33.333%; position: relative;}
.location .timebox .location:after {position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 80%; background: var(--pointcolor); width: 1px; content: "";}
.location .timebox .hours {width: 66.666%;}
.location .timebox .hours .flexList {max-width: 50rem; width: 100%; --y-gap: 0rem;}
.location .timebox .hours h3 {width: 6rem; padding-right: 2rem;}

.location .root_daum_roughmap {width: 100%;}
.location .map_btn a {max-width: 13rem; width: 100%; border-radius: 100px;}

@media(max-width:990px) {
    .location .timebox.flex {flex-direction: column;}
    .location .timebox .location {width: 100%; text-align: left !important; display: block;}
    .location .timebox .location:after {display: none;}
    .location .timebox .hours {width: 100%; margin-top: 2rem; }
    .location .timebox .hours p {text-align: left;}
    .location .timebox .hours .flexList {max-width: 100%;}

    .location .map_btn a {max-width: 14rem;}
    .location .map_btn a img {transform: scale(0.8) translateX(-5px);}
}

@media(max-width:768px) {
    .location .map_btn .flexList {flex-wrap: nowrap !important;}
    .location .map_btn a {max-width: 100%;}
}

/* 장비페이지 */
.equip {overflow: hidden;}
.equip .tabs li {width: calc(100% / 4); transition: 0.45s; }
.equip .tabs li span {cursor: pointer; position: relative; padding: 0 2rem;}
.equip .tabs li span:after {position: absolute; left: 50%; transform: translateX(-50%); bottom: -5px; width: 0; height: 2px; background: var(--pointcolor); content: ""; transition: 0.45s;}
.equip .tabs li span:hover,
.equip .tabs li.current span {color: var(--pointcolor);}
.equip .tabs li.current span:after {width: 100%;}
.equip .flexList {--y-gap: 4.5rem;}
.equip .tab-content {display: none;}
.equip .tab-content.current {display: flex;}

@media(max-width:500px) {
    .equip .tabs {flex-wrap: wrap; row-gap: 1.5rem;}
    .equip .tabs li {width: 50%;}
}

/* 시그니처 */
/* 맨처음섹션 */
.intro .flexList {--x-gap: 3rem;}

@media(max-width:990px) {
    .intro .flexList {--y-gap: 6.25rem;}
    .intro .flexList .box:first-child {order: 2;} 
}

/* 중간포인트 섹션 */
.who .flexList {--x-gap:0rem; --y-gap:0rem;}
.who .box.img_box .txt {position: absolute; bottom: 5%; left: 50%; transform: translateX(-50%); z-index: 1; font-weight: 600; letter-spacing: 2px;} 
.who .box:last-child {background: #faf9f5;}
.who .box.img_box img {height: 100%;}
.who .box ul li {margin: 1rem 0;}

/* 장비섹션 */
.sub-equip .swiper-slide .flex {align-items: stretch; height: 19rem;}
.sub-equip .swiper-slide .img_box img {height: 100%; width: 100%;}
.sub-equip .txt_box {background: #faf9f5;}

@media(max-width:990px) {
    .sub-equip .swiper-slide .flex {height: 23rem;}
}

@media(max-width:768px) {
    .sub-equip .section-left {width: 90%; margin: 0 auto 6.25rem; padding-left: 0;}
    .sub-equip .swiper-slide .img_box.width30 {width: 30%;}
    .sub-equip .swiper-slide .txt_box.width70 {width: 70%;}
}

@media(max-width:500px) {
    .sub-equip .equipSwiper {background: #faf9f5;}
    .sub-equip .swiper-slide .flex {flex-direction: column; height: auto;}
    .sub-equip .swiper-slide .txt_box {height: auto;}
    .sub-equip .swiper-slide .img_box.width30 {width: 100%;}
    .sub-equip .swiper-slide .txt_box.width70 {width: 100%;}
}

/* 종류 _type */
.type .txt_box {background: #faf9f5; height: 19rem;}

@media(max-width:768px) {
    .type .section-left {width: 90%; margin: 0 auto 6.25rem; padding-left: 0;}
}

@media(max-width:768px) {
    .type .typeSwiper {background: #faf9f5;}
    .type .txt_box {height: auto;}
}

/* @media(max-width:380px) {
    .type .txt_box {height: 20rem;} 
}

@media(max-width:320px) {
    .type .txt_box {height: 24rem;} 
} */

/* 치료과정 */
.process .flexList {--x-gap: 0rem; --y-gap: 4rem;}
.process .box {position: relative;}
.process .box:after {position: absolute; left: 0; top: 12px; width: 100%; height: 1px; background: #e0d9d5; content: ""; z-index: -1;}
.process .box .dot {position: relative; width: 27px; height: 27px; background: var(--BodyColor); border-radius: 50%; left: 50%; top: 0; transform: translateX(-50%);}
.process .box .dot:after {position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 11px; height: 11px; background: var(--pointcolor); border-radius: 50%; z-index: 1; content: "";}
.process .box .dot::before {position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1); content: ""; width: 19px; height: 19px; background: #e0d9d5; border-radius: 50%; animation: dot 1.5s cubic-bezier(1, 2, 0.66, 3) infinite}

@keyframes dot {
    0% {transform: translate(-50%, -50%) scale(0.7); opacity: 0.5;}
    50% {opacity: 1;}
    100% {transform: translate(-50%, -50%) scale(1); opacity: 0;}
}

@media(max-width:360px) {
    .process .flexList {--count: 1;}
}

/* 주의사항 */
.caution .box-wrap {position: relative;}
.caution ul li {padding: 0.5rem 0;}

@media(max-width:1550px) {
}

@media(max-width:990px) {
    .caution .box.width45 {width: 40%;}
    .caution .box.width55 {width: 60%;}
}

@media(max-width:768px) {
    .caution .box-wrap {flex-direction: column;}
    .caution .box {width: 100% !important;}
}

/* 종류 */
.kind .box .list h3 {position: relative; }
.kind .box .list h3:after {position: absolute; left: 6rem; top: -80%; color: #e0d9d5; font-size: 3rem; font-weight: 800; z-index: -1;}

.kind.pimple .box .list.list01 h3:after {content: "Blackhead";}
.kind.pimple .box .list.list02 h3:after {content: "Whitehead";}
.kind.pimple .box .list.list03 h3:after {content: "Purulent acne";}

.kind.tinea .box .list.list01 h3:after {content: "Interdigital type";}
.kind.tinea .box .list.list02 h3:after {content: "Vesicular type";}
.kind.tinea .box .list.list03 h3:after {content: "Hyperkeratosis type";}

.kind.tattoo .box .list.list01 h3:after {content: "Traumatic tattoo";}
.kind.tattoo .box .list.list02 h3:after {content: "Decorative tattoo";}

@media(max-width:990px) {
    .kind .flexList {--y-gap: 6.25rem;}
}

/* 원인 */
.cause .flex-between {row-gap: 4rem;}

@media(max-width:990px) {
    .cause .flex-between {flex-wrap: wrap; justify-content: center !important;}
    .cause .box {width: calc(100% / 3);}
}

@media(max-width:500px) {
    .cause .flex-between {column-gap: 2rem; justify-content: space-between !important;}
    .cause .box {width: calc(calc(100% - 2rem) / 2);}
}

/* 하단공통 */
.common_b .line {width: 100%; height: 1px; background: #e0d9d5;}

@media(max-width:990px) {
    .common_b .flexList {--y-gap: 6.25rem;}
}

@media(max-width:600px) {
    .common_b .box p br {display: none !important;}
}

@media(max-width:500px) {
    .common_b .box p br {display: block !important;}
}

@media(max-width:360px) {
    .common_b .box p br {display: none !important;}
}

/* 서브페이지 버튼 */
.sub_btn {background: var(--pointcolor); padding: 1rem 2rem; border-radius: 100px; width: fit-content; margin: 2.5rem auto 0; overflow: hidden; position: relative; display: inline-block;}
.sub_btn:after {position: absolute; left: 0; top: 0; width: 0%; height: 100%; background: #595959; content: ""; transition: 0.45s;}

@media (hover: hover) and (pointer: fine) {
.sub_btn:hover:after {width: 100%;}
}

/* 롤링txt */
.rolling-wrap {white-space: nowrap; opacity: 0.5;}
.rolling-wrap .rolling-text {display: inline-block; line-height: 1.3; text-transform: uppercase;}

/* homeme */
.homeme .container {background: #faf9f5;}
.homeme .line {width: 100%; height: 1px; background: var(--pointcolor); margin-bottom: 5px;}
.homeme .flexList {--x-gap: 4.5rem; --y-gap: 5rem}


@media(max-width:768px) {
    .homeme .flexList {--x-gap: 3.5rem; justify-content: flex-start !important;}
}

@media(max-width:500px) {
    .homeme .flexList {--x-gap: 2.5rem; --y-gap: 4.5rem}
}

/* 티아라컨시어지 */
.membership.tiara {background: #bab3ae; position: relative;}
.membership.tiara .bg {position: absolute; left: 0; top: 0;}

.membership.tiara .cont-box {background: var(--BodyColor); border-radius: 40px;}
.membership.tiara .cont-box .wrap {width: 70%; margin: auto;}
.membership.tiara .cont-box.box01 .wrap h3 {width: fit-content; padding: 0.25rem 0.5rem;}
.membership.tiara .cont-box ul li span:first-child {position: relative; padding-left: 1rem;}
.membership.tiara .cont-box ul li span:first-child:after {position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 60%; width: 1px; background: #595959; content: "";}

.membership.tiara .cont-box h4 span.red {color: #940d1d;}
.membership.tiara .cont-box h4 span.black {color: #141414;}
.membership.tiara .cont-box h4 span.pt {color: #8a8a8a;}

.membership.tiara .grid-box {display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;}

.membership.tiara .grid-box li.row3 {grid-row: 1 / span 3;}
.membership.tiara .grid-box li.row2 {grid-row: 1 / span 2;}

.membership.tiara .grid-box li img {height: 100%;}

@media(min-width:991px) {
    .membership.tiara .box-wrap .box.balck h4 {position: relative; left: calc(50% + 1rem);}

}

@media(max-width:1550px) {
    .membership.tiara .cont-box .wrap {width: 80%;}
}

@media(max-width:1240px) {
    .membership.tiara .cont-box .wrap {width: 85%;}
}

@media(max-width:990px) {
    .membership.tiara .box-wrap ul.flex {flex-direction: column;}
    .membership.tiara .box-wrap ul.flex li.width50 {width: 100%;}
    .membership.tiara .box-wrap ul.flex li:last-child {margin-top: 0.625rem;}

    .membership.tiara .box-wrap .box.img_box img {margin: 1rem 0 0;}
    .membership.tiara .box-wrap .box.box.balck .img_box {order: 3;}

    .membership.tiara .grid-box  {display: flex; flex-direction: column;}
    .membership.tiara .grid-box li.row3 {order: -1;}
}

@media(max-width:768px) {
    .membership.tiara .box-wrap ul li.flex img {transform: scale(0.8);} 
}

@media(max-width:500px) {
    .membership.tiara .cont-box .wrap {width: 90%;}
}

/* 다이어트센터 */
.program ul li {padding-top: 0.3rem;}
.program ul {position: relative;}
.program ul:after {position: absolute; left: 4rem; top: 50%; transform: translateY(-50%); height: 95%; width: 1px; background: var(--pointcolor); content: "";}

@media(max-width:990px) {
    .program ul:after {left: 4.5rem;}
}

.program.special .programSwiper {height: 35rem;}
.program.special .programSwiper .swiper-wrapper {width: 100%; height: 100%;}
.program.special .swiper-slide {width: 100%; height: 100%; background-position: center !important; background-size: cover !important;}
.program.special .swiper-slide.slide01 {background: url("/img/sub/specialClinic/diet_special01.jpg") no-repeat;}
.program.special .swiper-slide.slide02 {background: url("/img/sub/specialClinic/diet_special02.jpg") no-repeat;}
.program.special .swiper-slide.slide03 {background: url("/img/sub/specialClinic/diet_special03.jpg") no-repeat;}
.program.special .swiper-slide.slide04 {background: url("/img/sub/specialClinic/diet_special04.jpg") no-repeat;}
.program.special .swiper-slide.slide05 {background: url("/img/sub/specialClinic/diet_special05.jpg") no-repeat;}

.program.special .swiper-slide .txt {max-width: var(--layoutwidth); margin:auto; position: relative; top: 7.5rem;}

/* .program.special .page-wrap {position: relative; right: 0; top: 7.5rem; width: 100%; height: 100%;} */
.program.special .swiper-pagination {position: absolute; right: 20%; top: 50%; transform: translateY(-50%); height: auto; max-width: 25rem; width: 100%; left: auto; bottom: auto;}
.swiper-pagination-bullet {width: 100%; height: auto; background: transparent; text-transform: uppercase; text-align: left; padding: 0.7rem 0; opacity: 1; border-bottom: 1px solid #fff; border-radius: 0; margin-bottom: 0.5rem !important; position: relative;}
.swiper-pagination-bullet:after {position: absolute; left: -1.5rem; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: #fff; border-radius: 50%; content: ""; opacity: 0;}
.swiper-pagination-bullet-active {background: transparent;}
.swiper-pagination-bullet-active:after {opacity: 1;}

@media(max-width: 1550px) {
    .program.special .swiper-slide .txt {width: 90%;}
}

@media(max-width:1240px) {
    .program.special .swiper-pagination {right: 10%;}
}

@media(max-width:990px) {
    .program.special .programSwiper {height: 55rem;}
    .program.special .swiper-pagination {max-width: 30rem; right: auto; left: 5%; top: auto; transform: translateY(0); bottom: 7.5rem;}
}

@media(max-width:360px) {
    .program.special .swiper-pagination {max-width: 100%; width: 90%;}
}

/* 특징 */
.character .box.txt {background: #e3e0d8; padding: 5rem 10rem; position: relative; transform: translateX(-10%); z-index: -1;}

@media(max-width:1240px) {
    .character .box.txt {padding: 5rem 8rem;}
}

@media(max-width:990px) {
    .character .box-wrap.flex {flex-direction: column;}
    .character .box.img_box {width: calc(100% - 5rem) !important; margin-right: 5rem;}
    .character .box.txt {padding: 15rem 8rem 5rem; transform: translateX(0); width: calc(100% - 5rem) !important; margin-left: 5rem; position: relative; transform: translateY(-10rem);}
}

@media(max-width:768px) {
    .character .box.txt img {transform: scale(0.8);}
}

@media(max-width:500px) {
    .character .box.txt {padding: 5rem 10%;}
}

/* 굿바디필 포인트섹션 */
.body {background: url("/img/sub/specialClinic/body_bg.jpg") no-repeat; background-position: center; background-size: cover;}

.body#diet {background: url("/img/sub/specialClinic/diet_bg.jpg") no-repeat; background-position: center; background-size: cover;}

@media(max-width:990px) {
    .body .flexList {--y-gap: 6.25rem;}
    .body .box.img_box {order: 2;}
}

.body_point .container {background: #faf9f5;}
.body_point .cir {background: #fff; width: 14rem; height: 14rem; border-radius: 50%; margin: auto;}

@media(max-width:990px) {
    .body_point .cir {width: 16rem; height: 16rem;}
}