@charset "utf-8";

.sub-page {
    background: #F0EDE5;
}


.top-title {
    text-align: center;
    border-bottom: 1px solid #DED9D2;
    padding-block: 20vh 3rem;
}

.top-title h2 {
    padding-inline: 1rem;
    font-size: clamp(1.5rem, 2.917vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.75px;
    color: #000;
}

.top-title p {
    color: #000;
    font-weight: 400;
    font-size: 1.25rem;
    padding-block: 1rem;
}

.flex-wrap {
    display: flex;
}

.sub-top .mw1420 {
    margin-block: 4rem 3.875rem;
}

.sub-top .flex-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}

.sub-top .flex-wrap>div {
    flex: 1;
}

.sub-top .sub-title p {
    margin-top: 1.5rem;
    max-width: 90%;
    line-height: 1.6;
    word-break: keep-all;
    color: #222;
}

.sub-title>h3 {
    overflow: hidden;
    font-size: clamp(1.625rem, 2.708vw, 3.25rem);
    letter-spacing: -0.25px;
    font-weight: 800;
    color: #2D2D2D;
    font-family: "Figtree", sans-serif;
}

.sub-title>h4 {
    font-size: clamp(1.375rem, 2.083vw, 2.5rem);
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
}

.sub-title>h5 {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    overflow: hidden;
}

.sub-title p {
    font-size: 1.125rem;
    line-height: 1.3;
    overflow: hidden;
}

.sub-title .thumb-bread {
    display: none;
    margin-block: 2rem;
    /* display: flex; */
    gap: 0.5rem;
    align-items: center;
}

.sub-title .thumb-bread a {
    text-decoration: underline;
    font-size: 1.125rem;
    overflow: hidden;
}

.sub-title .thumb-bread span {
    display: none;
}

.sub-title .thumb-bread a:nth-of-type(1) {
    display: none;
}

.sub-title .tab-list {
    display: flex;
    gap: 0.4rem;
    margin-block: 1.5rem 2rem;
}

.sub-title .tab-list li {
    cursor: pointer;
    padding: 0.45rem 1.25rem;
    border-radius: 5rem;
    color: #2D2D2D;
    border: 1px solid #2D2D2D;
    font-weight: 600;
}

.sub-title .tab-list li.active {
    cursor: pointer;
    padding: 0.45rem 1.25rem;
    background: #2D2D2D;
    color: #fff;
    border-radius: 5rem;
}

.sub-title .tab-cont p {
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    height: 0;
    overflow: hidden;
    margin: 0;
}

.sub-title .tab-cont p.active {
    opacity: 1;
    height: auto;
    visibility: visible;
    min-height: 120px;
}

/* s1 */
.s1-1 {
    position: relative;
    border-bottom: 1px solid #DED9D2;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10rem;
}

.s1-1::before {
    position: absolute;
    color: white;
    font-family: 'Cormorant Garamond';
    z-index: -1;
    content: 'Miraero Dermatology Clinic';
    text-transform: uppercase;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: max(2.5rem, 8.2vw);
    font-weight: 600;
    top: 50%;
    transform: translateY(-40%);
}

.s1-2 {
    margin-block: 10rem;
}

.s1-2 .desc {
    text-align: center;
    font-size: 1.125rem;
}

.s1-2 .desc h4 {
    display: inline-block;
    font-size: clamp(1.125rem, 1.458vw, 1.75rem);
    padding-inline: 5%;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #2D2D2D;
}

.s1-2 .desc p {
    margin-top: 2rem;
    line-height: 2;
    color: #101010;
}

.s1-2 .desc strong {
    font-size: 1.25rem;
}

.s1-2 .desc img {
    display: inline-block;
    margin-left: 0.75rem;
    padding-bottom: 1rem;
    vertical-align: middle;
}

.s1-3 {
    padding-block: 10rem;
    background: #f9f8f5;
    display: flex;
    border-radius: 60px 60px 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.s1-3 .name {
    display: flex;
    margin-block: 4.5rem 5rem;
}

.s1-3 .name h5 {
    display: inline-block;
    font-size: 2rem;
    margin-inline: 0.5rem;
}

.s1-3 .name span {
    font-size: 1.25rem;
    font-weight: 500;
}

.s1-3 .career {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 2rem;
}

.s1-3 .career li {
    font-size: 1.25rem;
    color: #2D2D2D;
}

.s2-1>.mw1420>.flex-wrap {
    margin-block: 4rem 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

.s2-1 .map-links {
    display: flex;
    gap: 1.5rem;
}

.s2-1 .map-links a {
    height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    color: #2D2D2D;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.s2-1 .parking {
    text-align: right;
}

.s2-2 {
    padding-block: 3.5rem 10rem;
    border-bottom: 1px solid #DED9D2;
}

.s2-2 .desc {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #2D2D2D;
    padding-block: 2rem;
}

.s2-2 h4 {
    font-size: clamp(1.25rem, 1.875vw, 2.25rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.25px;
}

.s2-2 .add {
    display: flex;
    gap: 4rem;
}

.s2-2 .add li {
    display: flex;
    font-size: 1.125rem;
    margin-top: 0.5rem;
    letter-spacing: -0.25px;
}

.s2-2 .boxes {
    display: flex;
    border-radius: 10px;
    margin-top: 3rem;
    gap: 3.5rem;
}

.s2-2 .box {
    box-shadow: 10px 10px 10px 0 rgba(234, 227, 218, 0.92), -10px -10px 15px 0 rgba(250, 251, 251, 0.65);
    flex: 1;
    border-radius: 10px;
    min-width: 300px;
    background: #F3F0EC;
}

.s2-2 .box h5 {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #DED9D2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* .s2-2 .box h5 span {
    color: #967B51;
    margin-bottom: 2px;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.28px;
} */

.s2-2 .box p {
    padding: 2rem;
}

.s2-2 .box p:nth-child(3) {
    color: #e33939;
    margin-bottom: 2px;
    font-family: "Pretendard";
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.s2-2 .box3 {
    background: #666159;
    box-shadow: none;
    color: white;
}

.s2-3 {
    margin-top: 5rem;
    height: 700px;
    background: url(../img/sub/int.jpg) no-repeat center / cover;
    background-attachment: fixed;
}

.detail {
    display: flex;
    justify-content: center;
    border-block: 1px solid #DED9D2;
}

.detail li {
    overflow: hidden;
    flex: 1;
    max-width: 355px;
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 2.5rem;
    gap: 1.375rem;
    border-inline: 1px solid #DED9D2;
}

.detail li img {
    object-fit: scale-down;
}

.detail li span {
    font-weight: 700;
    font-size: 1.125rem;
}

.detail li p {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.3;
}

.eq-swiper .swiper-button-next,
.eq-swiper .swiper-button-prev {
    color: #ff742f !important;
}

.eq {
    margin-block: 11rem 4rem;
}

.eq1 {
    background: url(../img/sub/sub6-1-bg.jpg) no-repeat top / 100% 280px;
}

.eq2 {
    background: url(../img/sub/sub6-2-bg.jpg) no-repeat top / 100% 280px;
}

.eq3 {
    background: url(../img/sub/sub6-3-bg.jpg) no-repeat top / 100% 280px;
}

.eq4 {
    background: url(../img/sub/sub6-4-bg.jpg) no-repeat top / 100% 280px;
}

.eq5 {
    background: url(../img/sub/sub6-5-bg.jpg) no-repeat top / 100% 280px;
}

.eq6 {
    background: url(../img/sub/sub6-6-bg.jpg) no-repeat top / 100% 280px;
}

.eq7 {
    background: url(../img/sub/sub6-7-bg.jpg) no-repeat top / 100% 280px;
}

.eq .swiper-slide {
    display: flex;
    padding: 5%;
    justify-content: space-between;
}

.eq .sub-title {}

.eq .sub-title>h3 {
    color: #FFF;
    font-family: "Figtree", sans-serif;
    font-size: clamp(1.625rem, 2.5vw, 3rem);
    font-style: normal;
    font-weight: 800;
}

.eq .sub-title h4 {
    color: white;
    margin-block: 0.75rem 7rem;
    font-size: clamp(1rem, 1.667vw, 2rem);
}

.eq .sub-title p {
    padding-top: 0.5rem;
    line-height: 1.53;
    letter-spacing: -0.1px;
    max-width: 588px;
}

.eq .tag {
    margin-top: 3.5rem;
    display: flex;
    gap: 0.5rem;
}

.eq .tag li {
    display: inline-flex;
    font-size: 17px;
    padding: 3px 14px;
    justify-content: center;
    align-items: center;
    border-radius: 500px;
    border: 1px solid #666159;
}

article {}

article .mw1420 {
    background: #f9f8f5;
}

article .sub-title>h3 {
    display: block;
    width: 100%;
    padding: 1.5rem 8%;
    border-bottom: 1px solid #E4E4E4;
}

article .flex-wrap {
    justify-content: space-between;
    padding-inline: 8%;
    padding-bottom: 3.15rem;
}

article .case {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-block: 5rem;
}

article .case li {
    max-width: 435px;
}

article .case span {
    font-size: 14px;
    font-weight: 700;
    display: block;
}

article .case h5 {
    color: #333;
    font-weight: 600;
    font-size: 1.5rem;
    padding-block: 0.5rem 0.75rem;
}

article .case p {
    font-size: 1.125rem;
    color: #595959;
    letter-spacing: -0.25px;
}

.process {
    margin-top: 7rem;
    padding-bottom: 3.15rem;
}

.process-swiper {
    margin-inline: 3%;
    overflow: hidden;
    padding-block: 5rem 6rem;
}

.process .swiper-pagination {
    display: none !important;
    width: auto;
    bottom: 3.75rem;
    display: flex;
    gap: 1.5rem;
}

.process .swiper-pagination-bullet {
    background: #666159;
    min-width: 14px;
    min-height: 14px;
}

.process .swiper-slide {
    position: relative;
}

.process .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.process .swiper-slide .desc {
    position: absolute;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    inset: 0;
    padding: 12%;
}

.process .swiper-slide .desc span {
    font-weight: 600;
    font-size: 1.75rem;
}

.process .swiper-slide .desc h5 {
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.2;
}

.process .swiper-slide .desc p {
    font-weight: 400;
    font-size: 1.125rem;
    max-width: 94%;
}

.faq {
    margin-top: 10rem;
    padding-block: 10rem;
    background: url(../img/sub/faq-bg.jpg) no-repeat center/ cover;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.faq .sub-title h3 {
    color: white;
    padding-bottom: 3rem;
}

.faq-box {
    display: grid;
    grid-template-rows: 1fr 0;
    overflow: hidden;
    margin-block: 2.2rem;
    transition: 0.4s;
}

.faq-box.active {
    grid-template-rows: 1fr 110px;
    transition: 0.4s;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #EDEAE5;
    text-align: center;
    padding-right: 5%;
    cursor: pointer;
}

.question>h5 {
    display: block;
    width: max(8%, 4rem);
    height: 100%;
    background: #9A958C;
    color: white;
    font-size: 1.25rem;
    padding-block: 2.75rem;
    font-weight: 500;
}

.question p {
    font-weight: 600;
    font-size: 1.25rem;
    color: black;
}

.question>span::after {
    content: '+';
    color: black;
    font-size: 2rem;
}

.faq-box .answer {
    color: black;
    background: #FFFFFF;
    text-align: center;
    font-weight: 500;
    font-size: 1.25rem;
    align-content: center;
    overflow: hidden;
    opacity: 0;
    transition: 0.3s;
}

.faq-box.active .answer {
    opacity: 1;
}

.faq-box.active .question>span::after {
    content: '-';
}

.inter {
    background: #888178;
    color: #FFFFFF;
    padding-block: 5rem;
}

.inter .flex-wrap {
    align-items: center;
    justify-content: space-between;
}

.inter .desc h4 {
    font-size: clamp(1.25rem, 1.875vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 3.25rem;
}

.inter .desc p {
    font-size: 1.375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.special {
    padding-block: 5rem;
}

.special .sub-title {
    text-align: center;
    padding-block: 5rem 2.75rem;
    border-bottom: 1px solid #DED9D2;
}

.special .sub-title>h3 {
    margin-bottom: 1rem;
}

.special ul {
    padding: 4.5rem 10rem;
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
}

.special ul li {
    border-radius: 10px;
    background: #F3F0EC;
    box-shadow: 10px 10px 10px 0 rgba(234, 227, 218, 0.92), -10px -10px 15px 0 rgba(250, 251, 251, 0.65);
    padding: 2.5rem;
}

.special ul li span {
    display: inline-block;
    color: white;
    background: #666159;
    padding: 0.315rem 1rem;
    border-radius: 50rem;
    letter-spacing: -0.2px;
}

.special ul li h5 {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.special ul li p {
    margin-top: 0.75rem;
    line-height: 1.6;
    font-size: 1.125rem;
    letter-spacing: -0.25px;
    font-weight: 400;
}

.slogan {
    min-height: 80vh;
    background: url(../img/sub/slogan.jpg) no-repeat center / cover;
    color: white;
    position: relative;
}

.slogan .mw1420 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    left: 15%;
}

.slogan .desc {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 10%;
    height: 100%;
}

.slogan h3 {
    font-size: clamp(1.75rem, 2.5vw, 3rem);
    font-weight: 700;
    font-family: 'Noto serif KR';
}

.slogan p {
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 0.325rem;
}

/* price */

.price-top {
    width: 100%;
    height: 400px;
    background: url(../img/price-top.png) no-repeat center / cover;
    align-content: center;
    margin: 0;
}

.price-title {
    text-align: center;
    color: #ffffff;
}

.price-title span {
    color: white;
    font-weight: 400;
}

.price-section {
    font-family: "Noto Sans KR", sans-serif;
}

.price-wrap {
    padding: 0 20px;
    max-width: 1120px;
    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(3)) td:first-child {
    color: #404041;
    font-weight: 700;
}

.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: #666159;
    color: #fff;
    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;
    }
}