:root {
    --ani: cubic-bezier(.32, .94, .6, 1)
}

.sub .xgap1 {
    --x-gap: 1rem
}

.sub .xgap2 {
    --x-gap: 2rem
}

.sub .xgap3 {
    --x-gap: 3rem
}

.sub .xgap4 {
    --x-gap: 4rem
}

.sub .xgap5 {
    --x-gap: 5rem
}

.sub .xgap6 {
    --x-gap: 6rem
}

.sub .ygap0 {
    --y-gap: 0rem
}

.sub .ygap1 {
    --y-gap: 1rem
}

.sub .ygap2 {
    --y-gap: 2rem
}

.sub .ygap3 {
    --y-gap: 3rem
}

.sub .ygap4 {
    --y-gap: 4rem
}

.sub .ygap5 {
    --y-gap: 5rem
}

.sub .ygap6 {
    --y-gap: 6rem
}


.sub .Num {
    position: relative;
    padding-left: 3rem;
}

.sub .Num:after {
    content: '';
    font-size: 1.0625rem;
    color: #fff;
    text-align: center;
    line-height: 1.8;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--pointcolor);
    position: absolute;
    left: 0;
    top: -0.125rem;
    margin: auto;
}

.sub .Num1:after {
    content: '1';
}

.sub .Num2:after {
    content: '2';
}

.sub .Num3:after {
    content: '3';
}

.sub .Num4:after {
    content: '4';
}

.sub .Num5:after {
    content: '5';
}

.sub .BgLight {
    background-color: #e9f4fb;
}

/* sub Top */
.subTop {
    height: 45rem;
    position: Relative;
    margin-top: 70px;
    left: 0;
    overflow: hidden;
    z-index: 3;
}

.subTop .subTopImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transform: scale(1.05);
    transition: transform 2s var(--ani);
}

.subTop .subTopImg.on {
    opacity: 1;
    transform: scale(1)
}

.subTop .inner {
    position: relative;
    max-width: 1392px;
    width: 90%;
    top: 12rem;
    margin: auto;
}

.subTop .subMenu li a {
    font-size: max(14px, 1rem);
    border-radius: .25rem;
    background-color: #f9fbfc;
    padding: 1rem;
    width: 100%;
    display: block;
}

.subTop .subMenu li.active a {
    background-color: var(--pointcolor);
    font-weight: 700;
    color: #fff;
}

.subTop .subMenu.SM {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.sub .container {
    max-width: 1392px;
}

.sub .pointDot {
    display: flex;
    align-items: center;
    gap: .3rem;
    justify-content: center;
}

.sub .pointDot .Dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.sub .pointDot .Red {
    background-color: #e72837;
}

.sub .pointDot .Blue {
    background-color: #1d8bcd;
}

.sub .pointDot.Left {
    justify-content: flex-start;
}

.sub .enTit {
    color: var(--subcolor);
    text-align: center;
    margin-top: .3125rem;
    letter-spacing: .15rem;
}

.sub .subTit {
    font-size: 3.4375rem;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
}

.sub .subTit span {
    color: var(--pointcolor);
    font-weight: 800;
}

.sub .enTit.Left,
.sub .subTit.Left {
    text-align: left;
}

.sub .gray {
    color: #3f3d3d;
    text-align: center;
}

.sub .Radius10 {
    border-radius: .625rem;
}

.sub .Radius20 {
    border-radius: 1.25rem;
}

/* define */
.sub .define .ImgBox {
    /* height: 35.125rem; */
    aspect-ratio: 12/5;
    background: no-repeat center / cover;
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
}

.sub .define .Txt {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}


/* purpose */
.sub .purpose .Bg {
    background: no-repeat center / cover url('/img/sub/purposeBg.jpg');
    padding: 8.125rem 0;
}

.sub .purpose .flexList {
    --y-gap: 4rem;
}

.sub .purpose .box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sub .purpose .Img {
    width: 45%;
}

.sub .purpose .Desc {
    padding: 0 2rem;
    width: 55%;
}

@media(max-width:768px) {
    .sub .purpose .flexList {
        --y-gap: 2rem;
    }
}


/* disease */
.sub .disease .box {
    border-radius: 1.25rem;
    padding: 3rem 3.8rem 4rem;
}

.sub .disease .box.Left {
    background-color: #005281;
}

.sub .disease .box.Right {
    background-color: #00283f;
}

.sub .disease ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.sub .disease ul li {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.sub .disease .Title {
    border-radius: 1.1875rem;
    padding: .3rem 1rem;
    max-width: 5.0625rem;
    width: 100%;
    font-weight: 700;
    text-align: center;
    background-color: #00283f;
}

.sub .disease .Title.Sky {
    background-color: #1e8bce;
}

@media(max-width:500px) {
    .sub .disease .box {
        padding: 3rem 3rem 4rem;
    }
}


/* point */
.sub .point {
    background-color: #000;
    position: relative;
    z-index: 0;
}

.sub .point .bg_wrap {
    clip: rect(0, auto, auto, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.sub .point .bg {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('/img/sub/pointBg.jpg');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateZ(0);
    will-change: transform;
}

.sub .point .mark {
    display: inline !important;
    box-shadow: inset 0 2em 0 var(--pointcolor);
    padding: 0 .3rem;
    font-weight: 700;
}



/* care */
.sub .care .box {
    background-color: #e9f4fb;
    border-radius: .625rem;
    padding: 2rem;
    min-height: 7rem;
    display: flex;
    align-items: center;
}



/* typical */
.sub .typical .Inner {
    max-width: 1156px;
    margin: auto;
}

.sub .typical .typicalTb {
    width: 100%;
    border-spacing: 1rem 0;
}

.sub .typical .typicalTb th {
    padding: 1.1rem 1rem;
}

.sub .typical .typicalTb td {
    padding: 2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .3)
}

.sub .typical .typicalTb .Tit {
    font-weight: 700;
    color: #fff;
    background-color: var(--pointcolor);
}

.sub .typical .typicalTb .Tit.navy {
    background-color: #00283f;
}



/* symptoms */
.sub .symptoms .BgBox {
    background: no-repeat center / cover;
    padding: 7.8125rem 0;
    margin-left: auto;
    margin-right: auto;
}

.sub.stomach .symptoms .BgBox {
    background-image: url('/img/sub/Internal/stomach_symptomsBg.jpg');
}

.sub.hepatobiliary .symptoms .BgBox {
    background-image: url('/img/sub/Internal/hepatobiliary_symptomsBg.jpg');
}

.sub.respiratory .symptoms .BgBox {
    background-image: url('/img/sub/Internal/respiratory_symptomsBg.jpg');
}

.sub.kidney .symptoms .BgBox {
    background-image: url('/img/sub/Internal/kidney_symptomsBg.jpg');
}


.sub .symptoms .box {
    background-color: #fff;
    border-radius: .625rem;
    padding: 2.2rem 2rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.sub .symptoms .check {
    width: .9375rem;
}

.sub .symptoms .pointBox {
    padding: 1.6rem 1rem;
    text-align: center;
    background-color: #1e8bce;
    border-radius: .625rem;
    color: #fff;
}

.sub .symptoms .pointBox p {
    position: relative;
    padding-left: 2rem;
    display: inline;
}

.sub .symptoms .pointBox p:after {
    content: '';
    width: 1.3125rem;
    height: 1.1875rem;
    background-image: url('/img/sub/pointCheck.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: .25rem;
    left: 0;
}

@media(max-width:768px) {
    .sub .symptoms .BgBox {
        padding: 5rem 0;
    }
}



/* examination */
.sub .examination .Inner {
    display: flex;
    flex-direction: column;
    gap: 1.7rem;
}

.sub .examination .ImgBox {
    background-color: #005281;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    position: relative;
}

.sub .examination .ImgBox:after {
    content: '';
    width: 2.5rem;
    height: .5rem;
    background-image: url('/img/sub/Dot3.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4.2rem;
    margin: auto;
}

.sub .examination .ImgBox.NonAfter:after {
    display: none;
}

.sub .examination .ImgBox>div {
    flex: 1;
}

.sub .examination .NonArrow .ImgBox:after {
    display: none;
}

.sub .examination .DescBox {
    background-color: #00283f;
    border-radius: 1.25rem;
    padding: 1.25rem 2rem;
}

.sub .examination .DescBox.Img {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sub .examination .DescBox.Img>div {
    flex: 1;
}

@media(max-width:768px) {
    .sub .examination .ImgBox:after {
        transform: rotate(90deg);
        left: 0;
        right: 0;
        top: auto;
        bottom: -2.7rem;
        margin: auto;
    }

    .sub .examination .Inner {
        gap: 2.3rem;
    }
}



/* Checkup */
.sub .Checkup .flexList {
    border-radius: 1.25rem;
    overflow: hidden;
}

.sub .Checkup .Img {
    align-self: stretch;
    background: no-repeat center / cover;
}

.sub .Checkup .Desc {
    background-image: linear-gradient(90deg, #02507e, #1c83c3);
    padding: 2rem;
    min-height: 35.125rem;
}

.sub .Checkup .subTit {
    font-weight: 800;
}

.sub .Checkup .CheckupList {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.sub .Checkup .CheckupList li p {
    position: relative;
    padding-left: 1.5rem;
}

.sub .Checkup .CheckupList li p:after {
    content: '';
    width: .9375rem;
    height: .8125rem;
    background-image: url('/img/sub/check.png');
    background-repeat: no-repeat;
    filter: invert(1) brightness(10);
    background-size: contain;
    position: absolute;
    left: 0;
    top: .375rem;
}

@media(max-width:500px) {
    .sub .Checkup .Img {
        min-height: 35.125rem;
    }

    .sub .Checkup .Desc {
        padding: 3rem 10%;
    }
}


/* target */
.sub .target .box {
    border-bottom: 1px solid var(--pointcolor);
    padding: 1.5rem 0;
}

.sub .target .check {
    position: relative;
    padding-left: 2rem;
    color: var(--pointcolor);
}

.sub .target .check:after {
    content: '';
    width: .9375rem;
    height: .8125rem;
    background-image: url('/img/sub/check.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: .5rem;
}

.sub .target .pointBox {
    padding: 1.6rem 1rem;
    text-align: center;
    background-color: #ebf5fb;
    border-radius: .625rem;
}

.sub .target .pointBox p {
    position: relative;
    padding-left: 2rem;
    display: inline;
}

.sub .target .pointBox p:after {
    content: '';
    width: 1.3125rem;
    height: 1.1875rem;
    background-image: url('/img/sub/pointCheck.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: .25rem;
    left: 0;
    filter: invert(1);
}

.sub .target .PS {
    padding: 1.6rem 1rem;
    text-align: center;
    background-color: #1e8bce;
    border-radius: .625rem;
    color: #fff;
}

.sub .target .PS p {
    position: relative;
    padding-left: 2rem;
    display: inline;
}

.sub .target .PS p:after {
    content: '';
    width: 1.3125rem;
    height: 1.1875rem;
    background-image: url('/img/sub/pointCheck.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: .18rem;
    left: 0;
}

/* cause */
.sub .cause .check {
    position: relative;
    padding-left: 2rem;
    display: inline-block;
}

.sub .cause .check:after {
    content: '';
    width: .9375rem;
    height: .8125rem;
    background-image: url('/img/sub/check.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: .5rem;
}



/* prevention */
.sub .prevention {
    background-color: #e9f4fb;
}

.sub .prevention .Inner {
    max-width: 1156px;
    margin: auto;
}


/* case */
.sub .case .Inner {
    background: no-repeat center / cover url('/img/sub/Endoscopy/caseBg.jpg');
    padding: 8.125rem 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.sub .case .Inner .box {
    border-radius: 1.25rem;
    padding: 2.3rem 2rem;
    background-color: #fff;
    min-height: 11.9375rem;
}

.sub .case .TitBox {
    color: var(--pointcolor);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.sub .case .TitBox img {
    width: .9375rem;
}

.sub .case .flexBox {
    display: flex;
    align-items: center;
    gap: 1.5rem 1rem;
}

.sub .case .caseList p {
    position: relative;
    padding-left: 1.5rem;
}

.sub .case .caseList p:after {
    content: '';
    width: .9375rem;
    height: .8125rem;
    background-image: url('/img/sub/check.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: .4rem;
}

.sub .case .Plus {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--pointcolor);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sub .case .Plus:after {
    content: '+';
    color: #fff;
    font-size: 1.875rem;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    position: absolute;
}

@media(max-width:768px) {
    .sub .case .Plus {
        top: 45%;
    }
}


/* preparatory */
.sub .preparatory .preparatoryList {
    display: flex;
    flex-direction: column;
}

.sub .preparatory .preparatoryList li {
    padding: .7rem 2rem;
}

.sub .preparatory .preparatoryList.borderBT li {
    padding: 2rem 2rem;
    border-bottom: 1px solid var(--pointcolor);
}

.sub .preparatory .Time {
    width: 5.125rem;
}

.sub .preparatory .Inner {
    background-color: #e9f4fb;
    border-radius: 1.25rem;
    padding: 3rem 2rem;
}

.sub .preparatory .check {
    position: relative;
    padding-left: 2rem;
    display: inline-block;
}

.sub .preparatory .check:after {
    content: '';
    width: .9375rem;
    height: .8125rem;
    background-image: url('/img/sub/check.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: .5rem;
}



/* why */
.sub .why .Inner {
    border-radius: 1.25rem;
    background: no-repeat center / cover;
    padding: 4.0625rem 1rem;
    text-align: center;
}

.sub.heart .why .Inner {
    background-image: url('/img/sub/Ultrasound/heart_whyBg.jpg');
}



/* way */
.sub .way .box {
    background-color: #e9f4fb;
    border-radius: 1.25rem;
    padding: 2rem 1rem;
}



/* step */
.sub .step .box {
    background-color: #e9f4fb;
    border-radius: 1.25rem;
    padding: 2rem 1rem;
    position: relative;
}

.sub .step .box:after {
    content: '';
    width: 1.25rem;
    height: .875rem;
    background-image: url('/img/sub/Arrow.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: -2.7rem;
    transform: translateY(-50%);
}

.sub .step .box:last-child:after {
    display: none !important;
}

.sub .step .box img {
    width: 2.875rem;
}

@media(max-width:990px) {
    .sub .step .box:nth-child(2n):after {
        display: none;
    }
}

@media(max-width:500px) {
    .sub .step .box:nth-child(2n):after {
        display: block;
    }

    .sub .step .box:after {
        right: 0;
        left: 0;
        margin: auto;
        transform: rotate(90deg);
        top: auto;
        bottom: -2.5rem;
    }
}



/* special */
.sub .special .TitFlex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sub .special .Round {
    color: #fff;
    padding: .2rem 1rem;
    border-radius: 1rem;
    background-color: var(--pointcolor);
}

.sub .special .Round.navy {
    background-color: #00283f;
}

.sub .special .Inner {
    background: no-repeat center / cover url('/img/sub/koreaBest/specialBg.jpg');
    padding: 7.5rem 0;
}

.sub .special .Img.R img {
    margin-left: auto;
}

@media(max-width:768px) {
    .sub .special .Img {
        order: -1;
    }

    .sub .special .Img.R img {
        margin-left: 0;
    }
}



/* three */
.sub .three .Dot {
    background-color: #fff;
}

.sub .three .box {
    background-image: linear-gradient(0deg, #02507e, #1c83c3);
    border-radius: 1.25rem;
    padding: 5.5rem 1rem;
}

.sub .three .box.navy {
    background-image: linear-gradient(0deg, #002940, #024f7d);
}

.sub .three .box img {
    width: 7.875rem;
}

.sub .three #rollingBox {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    z-index: -1;
}

@media(max-width:500px) {
    .sub .three .flexList {
        max-width: 90%;
        margin: auto;
    }
}



/* doctor */
.sub .doctor .Desc {
    max-width: 39rem;
    width: 90%;
    margin-left: auto;
}

.sub .doctor .Inner {
    background: no-repeat center / cover url('/img/sub/koreaBest/doctorBg.jpg');
    border-radius: 1.25rem;
    padding: 4rem 2rem;
}

.sub .doctor .TimeBox {
    background-color: #fff;
    padding: 4rem 4rem;
    border-radius: 1.25rem;
}

.sub .doctor .TitFlex {
    display: flex;
    align-items: center;
    gap: .5rem;
}

@media(max-width:990px) {
    .sub .doctor .Inner {
        background-position: 20%;
    }

    .sub .doctor .Desc {
        max-width: 29rem;
    }
}

@media(max-width:768px) {
    .sub .doctor .Inner {
        background-image: url('/img/sub/koreaBest/doctorBg_m.jpg');
        background-position: bottom center;
        padding-bottom: 45rem;
    }

    .sub .doctor .Desc {
        margin-right: auto;
        max-width: 40rem;
        width: 100%;
    }
}

@media(max-width:500px) {
    .sub .doctor .Inner {
        padding: 4rem 1rem 30rem;
    }

    .sub .doctor .box.Left {
        padding-left: 1rem;
    }

    .sub .doctor .TimeBox {
        padding: 3rem 1rem;
    }
}


/* map */
.sub .map .mapBox {
    border-radius: 1.25rem;
    overflow: hidden;
}

.sub .map .mapBox .root_daum_roughmap,
.sub .map .mapBox .wrap_map {
    width: 100%;
    height: 31.1875rem;
    border: none;
}

.sub .map .DescBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.sub .map .TitFlex {
    display: flex;
    align-items: flex-start;
    gap: 2rem
}

.sub .map .Tit {
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}

.sub .map .OR {
    color: #ff7d21;
}

.sub .map .BtnInner {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-left: 1.5rem;
}

.sub .map .footerBtn {
    width: 9.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .4rem;
    gap: .5rem;
    border-radius: .5rem;
    color: #fff;
    font-size: .9375rem;
    cursor: pointer;
    background-color: #525050;
    transition: .3s;
}

.sub .map .footerBtn:hover {
    background-color: #333;
    transition: .3s;
}

.sub .map .footerBtn img {
    width: 1.125rem;
}

@media(max-width:990px) {
    .sub .map .DescBox {
        flex-direction: column;
        gap: 2rem;
    }
}


/* equipmentBox */
.sub .equipmentBox .flexList {
    background-color: #f9fbfc;
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 27.5rem;
}

.sub .equipmentBox .Img {
    align-self: stretch;
    background: no-repeat center / cover;
}

.sub .equipmentBox .Desc {
    padding: 4rem;
}

.sub .equipmentBox .enTxt {
    color: var(--subcolor);
    line-height: 1;
}

@media(max-width:768px) {
    .sub .equipmentBox .Img {
        min-height: 27.5rem;
    }
}

/* table */
.price-title {
    text-align: center;
    color: #ffffff;
}

.price-title span {
    color: white;
    font-weight: 400;
}

.price-section {
    font-family: "Noto Sans KR", sans-serif;
    background: rgb(245, 245, 245);
}

.price-wrap {
    padding: 0 20px;
    max-width: 1200px;
    padding-block: 10rem;
    margin: 0 auto;
}

.table-wrap {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dcdcdc;
    background: #fff;
}

.price-table tr:has(td:nth-of-type(4)) td:first-child {
    color: #404041;
    font-weight: 700;
    background: rgb(250, 250, 250);
}

.price-table th,
.price-table td {
    text-align: center;
    border: 1px solid #e1e1e1;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    color: #404041;
}

.price-table th {
    color: #404041;
    background-color: rgb(245, 252, 255);
    font-weight: 700;
    text-align: center;
}

/* .price-table tr:nth-child(even) td {
    background-color: #fafafa;
} */

@media (max-width: 600px) {
    .price-wrap {
        padding-block: 7rem 10rem;
    }

    .price-table th,
    .price-table td {
        font-size: 14px;
        padding: 10px;
    }
}