/* gum_disease.css - 잇몸치료 페이지 */

/* ============================================
   Gum Disease Status Infographic Styles
   ============================================ */

.gum-status-infographic {
    max-width: 900px;
    margin: 0 auto;
}

.gum-status-title {
    background-color: #333333;
    border-radius: 12px;
    padding: 25px 40px;
    text-align: center;
    margin-bottom: 30px;
}

.gum-status-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

.gum-status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gum-status-item {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.gum-status-number {
    background-color: #8b7355;
    border-radius: 12px;
    padding: 20px 30px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.gum-status-description {
    background-color: #e0e0e0;
    border-radius: 12px;
    padding: 20px 30px;
    color: #000;
    font-size: 18px;
    line-height: 1.6;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Background with blurred teeth image effect - matching homepage color */
.m-implant-section:nth-child(2) {
    background: #EAEAEA;
    position: relative;
}

.m-implant-section:nth-child(3) {
    background: #EAEAEA;
}

.m-implant-section:nth-child(4) {
    background: #EAEAEA;
}

.m-implant-section:nth-child(5) {
    background: #EAEAEA;
}

.m-implant-section:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.m-implant-section:nth-child(2) .gum-status-infographic {
    position: relative;
    z-index: 1;
}

/* Responsive Design for Gum Status Infographic */
@media screen and (max-width: 1024px) {
    .gum-status-infographic {
        max-width: 100%;
    }

    .gum-status-title h2 {
        font-size: 24px;
    }

    .gum-status-number {
        min-width: 100px;
        padding: 18px 25px;
        font-size: 18px;
    }

    .gum-status-description {
        padding: 18px 25px;
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .gum-status-title {
        padding: 20px 30px;
    }

    .gum-status-title h2 {
        font-size: 22px;
    }

    .gum-status-list {
        gap: 10px;
    }

    .gum-status-item {
        gap: 10px;
    }

    .gum-status-number {
        min-width: 90px;
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 10px;
    }

    .gum-status-description {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
}

@media screen and (max-width: 480px) {
    .gum-status-title {
        padding: 18px 20px;
    }

    .gum-status-title h2 {
        font-size: 18px;
    }

    .gum-status-item {
        flex-direction: column;
        gap: 8px;
    }

    .gum-status-number {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 8px;
    }

    .gum-status-description {
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 8px;
    }
}

/* 자가치아 뼈이식 페이지 스타일 */
.alveolar-intro {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.alveolar-illustration {
    flex: 1;
    max-width: 50%;
}

.alveolar-illustration img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.alveolar-text-content {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

.m-implant-title-box {
    background-color: #808080;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

.m-implant-title-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: none;
}

.m-implant-description-box {
    background-color: #808080;
    color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.m-implant-description-box .description-main {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.m-implant-description-box .description-text {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
}

.process-title-box {
    background-color: #808080;
    color: #fff;
    padding: 25px 40px;
    border-radius: 8px;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.process-title-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* 5단계 프로세스 스타일 */
#m_implant_section_3 .container .wrapper .content {
    padding: 40px 0;
}

#m_implant_section_3 .container .wrapper .content ul.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step {
    flex: 1;
    min-width: calc(20% - 16px);
    max-width: calc(20% - 16px);
    text-align: center;
    padding: 20px;
    background-color: #808080;
    border-radius: 12px;
    position: relative;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step:after {
    position: absolute;
    content: "▶";
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    font-size: 24px;
    color: #808080;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step:last-child:after {
    content: "";
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step .title {
    background: #019982;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
    display: inline-block;
    min-width: 60px;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step .desc-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

#m_implant_section_3 .container .wrapper .content ul.steps li.step .desc {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Autogenous Tooth Bone Grafting */
@media screen and (max-width: 1024px) {
    .alveolar-intro {
        flex-direction: column;
        gap: 30px;
    }

    .alveolar-illustration {
        max-width: 100%;
    }

    .alveolar-text-content {
        max-width: 100%;
    }

    .m-implant-title-box h2 {
        font-size: 28px;
    }

    .m-implant-description-box {
        padding: 20px 25px;
    }

    .m-implant-description-box .description-main {
        font-size: 22px;
    }

    .m-implant-description-box .description-text {
        font-size: 16px;
    }

    .process-title-box {
        padding: 20px 30px;
    }

    .process-title-box h2 {
        font-size: 28px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step {
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 40px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step:nth-child(2n):after {
        content: "";
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .title {
        font-size: 24px;
        padding: 12px 18px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .desc-title {
        font-size: 18px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .desc {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .alveolar-intro {
        gap: 25px;
    }

    .m-implant-title-box {
        padding: 15px 20px;
    }

    .m-implant-title-box h2 {
        font-size: 24px;
    }

    .m-implant-description-box {
        padding: 18px 20px;
    }

    .m-implant-description-box .description-main {
        font-size: 20px;
    }

    .m-implant-description-box .description-text {
        font-size: 15px;
    }

    .process-title-box {
        padding: 18px 25px;
    }

    .process-title-box h2 {
        font-size: 24px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step:after {
        content: "▼";
        right: auto;
        top: auto;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step:last-child:after {
        content: "";
    }
}

@media screen and (max-width: 480px) {
    .m-implant-title-box h2 {
        font-size: 20px;
    }

    .m-implant-description-box .description-main {
        font-size: 18px;
    }

    .m-implant-description-box .description-text {
        font-size: 14px;
    }

    .process-title-box h2 {
        font-size: 20px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step {
        padding: 15px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .title {
        font-size: 20px;
        padding: 10px 15px;
        min-width: 50px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .desc-title {
        font-size: 16px;
    }

    #m_implant_section_3 .container .wrapper .content ul.steps li.step .desc {
        font-size: 14px;
    }
}

/* 섹션 4: 자가치아 뼈이식의 장점 */
.alveolar-advantages {
    padding: 40px 0;
}

.advantages-title-box {
    background-color: #e0e0e0;
    border: 1px solid #333;
    border-bottom: 2px solid #333;
    padding: 25px 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.advantages-title-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.advantages-boxes {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.advantage-box {
    flex: 1;
    background-color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
}

.advantage-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.advantage-desc {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

/* 반응형 디자인 - 섹션 4 */
@media screen and (max-width: 1024px) {
    .advantages-title-box {
        padding: 20px 30px;
    }

    .advantages-title-box h2 {
        font-size: 28px;
    }

    .advantages-boxes {
        gap: 20px;
    }

    .advantage-box {
        padding: 25px 20px;
    }

    .advantage-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .advantage-desc {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .advantages-title-box {
        padding: 18px 25px;
    }

    .advantages-title-box h2 {
        font-size: 24px;
    }

    .advantages-boxes {
        flex-direction: column;
        gap: 20px;
    }

    .advantage-box {
        padding: 22px 20px;
    }

    .advantage-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .advantage-desc {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .advantages-title-box {
        padding: 15px 20px;
    }

    .advantages-title-box h2 {
        font-size: 20px;
    }

    .advantage-box {
        padding: 20px 18px;
    }

    .advantage-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .advantage-desc {
        font-size: 14px;
    }
}

/* 섹션 5: 전문가 손길과 첨단 장비 */
.expert-care,
.advanced-equipment {
    display: flex;
    align-items: center;
    gap: 40px;
}

.advanced-equipment {
    flex-direction: row-reverse;
}

.expert-care-image,
.advanced-equipment-image {
    flex: 1;
    max-width: 50%;
}

.expert-care-image img,
.advanced-equipment-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.expert-care-text,
.advanced-equipment-text {
    flex: 1;
    max-width: 50%;
}

.expert-care-title,
.advanced-equipment-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.expert-care-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path d="M0,5 Q25,0 50,5 T100,5" stroke="%23ff0000" stroke-width="2" fill="none"/></svg>') repeat-x;
    background-size: 50px 10px;
}

.expert-care-content,
.advanced-equipment-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.care-item,
.equipment-item {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.care-subtitle,
.equipment-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.care-description,
.equipment-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* 반응형 디자인 - 섹션 5 */
@media screen and (max-width: 1024px) {
    .expert-care,
    .advanced-equipment {
        gap: 30px;
    }

    .expert-care-title,
    .advanced-equipment-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .care-subtitle,
    .equipment-subtitle {
        font-size: 20px;
    }

    .care-description,
    .equipment-description {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .expert-care,
    .advanced-equipment {
        flex-direction: column;
        gap: 25px;
    }

    .advanced-equipment {
        flex-direction: column;
    }

    .expert-care-image,
    .advanced-equipment-image,
    .expert-care-text,
    .advanced-equipment-text {
        max-width: 100%;
    }

    .expert-care-title,
    .advanced-equipment-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .expert-care-content,
    .advanced-equipment-content {
        gap: 20px;
    }

    .care-item,
    .equipment-item {
        padding: 18px;
    }

    .care-subtitle,
    .equipment-subtitle {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .care-description,
    .equipment-description {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .expert-care-title,
    .advanced-equipment-title {
        font-size: 20px;
    }

    .care-subtitle,
    .equipment-subtitle {
        font-size: 16px;
    }

    .care-description,
    .equipment-description {
        font-size: 13px;
    }
}

/* 어린이치과 페이지 스타일 */
.child-care-banner {
    background-color: #e0e0e0;
    padding: 60px 40px;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 500px;
}

.child-image-left,
.child-image-right {
    flex: 0 0 auto;
    width: 250px;
}

.child-image-left img,
.child-image-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.child-text-boxes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
}

.child-text-box-main {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.child-text-box-desc {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.underline-wave {
    position: relative;
    display: inline-block;
}

.underline-wave::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path d="M0,5 Q25,0 50,5 T100,5" stroke="%23ff0000" stroke-width="2" fill="none"/></svg>') repeat-x;
    background-size: 50px 10px;
}

.child-doctor-name {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 반응형 디자인 - 어린이치과 */
@media screen and (max-width: 1024px) {
    .child-care-banner {
        padding: 50px 30px;
        min-height: 450px;
    }

    .child-image-left,
    .child-image-right {
        width: 200px;
    }

    .child-text-box-main {
        font-size: 24px;
        padding: 18px 25px;
    }

    .child-text-box-desc {
        font-size: 16px;
        padding: 22px 25px;
    }

    .child-doctor-name {
        bottom: 25px;
        right: 30px;
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .child-care-banner {
        flex-direction: column;
        padding: 40px 25px;
        min-height: auto;
        gap: 25px;
    }

    .child-image-left,
    .child-image-right {
        width: 180px;
    }

    .child-text-boxes {
        max-width: 100%;
        order: 3;
    }

    .child-image-left {
        order: 1;
    }

    .child-image-right {
        order: 2;
    }

    .child-text-box-main {
        font-size: 22px;
        padding: 15px 20px;
    }

    .child-text-box-desc {
        font-size: 15px;
        padding: 20px 22px;
    }

    .child-doctor-name {
        position: static;
        text-align: center;
        margin-top: 20px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .child-care-banner {
        padding: 30px 20px;
    }

    .child-image-left,
    .child-image-right {
        width: 150px;
    }

    .child-text-box-main {
        font-size: 20px;
        padding: 12px 18px;
    }

    .child-text-box-desc {
        font-size: 14px;
        padding: 18px 20px;
    }

    .child-doctor-name {
        font-size: 13px;
    }
}

/* 어린이치과 섹션 2-5 스타일 */
.child-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 60px 0;
}

.child-content-wrapper.child-reverse {
    flex-direction: row-reverse;
}

.child-text-box {
    flex: 1;
    background-color: #e0e0e0;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.child-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.4;
}

.child-section-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.child-image-box {
    flex: 1;
    max-width: 500px;
}

.child-image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* 섹션별 배경색 */
.child-kids-care {
    background-color: #ffe5e5;
}

.child-healthy-smile {
    background-color: #e8e8e8;
}

.child-sleep-treatment {
    background-color: #e5f0ff;
}

.child-caring-treatment {
    background-color: #e5f0ff;
}

/* 반응형 디자인 - 섹션 2-5 */
@media screen and (max-width: 1024px) {
    .child-content-wrapper {
        gap: 40px;
        padding: 50px 0;
    }

    .child-text-box {
        padding: 35px 40px;
    }

    .child-section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .child-section-text {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .child-content-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
    }

    .child-content-wrapper.child-reverse {
        flex-direction: column;
    }

    .child-text-box {
        padding: 30px 35px;
    }

    .child-section-title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .child-section-text {
        font-size: 15px;
    }

    .child-image-box {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .child-content-wrapper {
        padding: 30px 0;
        gap: 25px;
    }

    .child-text-box {
        padding: 25px 30px;
    }

    .child-section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .child-section-text {
        font-size: 14px;
    }
}


/* m_implant 스타일 공유 */
/* ============================================
   M Implant Page Styles
   ============================================ */

/* Header Banner */
#m_implant_header .container {
    padding: 0;
    max-width: 100%;
}

#m_implant_header .container .wrapper {
    width: 100%;
}

#m_implant_header .main-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#m_implant_header .main-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#m_implant_header .main-banner .txt {
    position: absolute;
    width: 100%;
    z-index: 10;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333;
}

#m_implant_header .main-banner .txt h3 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #666;
    text-transform: uppercase;
}

#m_implant_header .main-banner .txt h1 {
    font-family: "BMDOHYEON";
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

#m_implant_header .main-banner .txt h1 .highlight {
    color: #00d9b6;
}

/* Tab Navigation */
#m_implant_tabnav {
    background-color: #2a2a2a;
    width: 100%;
    border-top: none;
}

#m_implant_tabnav .container {
    padding: 0;
    max-width: 100%;
}

#m_implant_tabnav .tab-wrapper {
    width: 100%;
}

#m_implant_tabnav .tab-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

#m_implant_tabnav .tab-item {
    flex: 1;
    min-width: 0;
    border: none;
}

#m_implant_tabnav .tab-link {
    display: block;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background-color: transparent;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
}

#m_implant_tabnav .tab-item.active .tab-link {
    background-color: #e0e0e0;
    color: #000;
    border: 1px solid #999;
}

#m_implant_tabnav .tab-item:not(.active) .tab-link {
    color: #666;
}

#m_implant_tabnav .tab-item:not(.active) .tab-link:hover {
    color: #999;
}

/* Main Content Sections */
#m_implant_main {
    padding-top: 0;
}

.m-implant-section {
    padding: 80px 0;
}

.m-implant-section:nth-child(even) {
    background-color: #f7f7f7;
}

/* Section 1: 한 번의 임플란트, 평생의 약속 */
#m_implant_section_1 .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 30px;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto 60px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

#m_implant_section_1 .section-header h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0px 20px;
    width: 100%;
    max-width: 1540px;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    color: #000000;
    margin: 0;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

#m_implant_section_1 .section-header p {
    width: 100%;
    max-width: 1128px;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    color: #292929;
    margin: 0;
    flex: none;
    order: 1;
    flex-grow: 0;
}

#m_implant_section_1 .section-image {
    max-width: 1200px;
    margin: 0 auto;
}

#m_implant_section_1 .section-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* Section 2: 대표원장의 1:1 진료 */
#m_implant_section_2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 190px 50px;
    background: #EAEAEA;
}

#m_implant_section_2 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_2 .container .wrapper {
    padding: 0;
}

#m_implant_section_2 .split-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 90px 60px;
    gap: 10px;
    isolation: isolate;
    width: 100%;
    max-width: 1540px;
    background: url("../../../assets/images/tooth-bg.jpg"), #019982;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#m_implant_section_2 .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 770px;
    z-index: 1;
    background: transparent;
}

#m_implant_section_2 .text-content h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    color: #FFFFFF;
    margin: 0;
}

#m_implant_section_2 .text-content p {
    width: 689px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #FFFFFF;
    margin: 0;
}

#m_implant_section_2 .image-content {
    position: absolute;
    width: 660px;
    height: 593px;
    right: 0;
    top: -13px;
    z-index: 1;
}

#m_implant_section_2 .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scaleX(-1);
}

/* Section 3: 완벽한 결과를 위한 세밀한 고민 */
#m_implant_section_3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 190px;
    background: #EAEAEA;
}

#m_implant_section_3 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_3 .container .wrapper {
    padding: 0;
}

#m_implant_section_3 .split-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 90px 60px;
    gap: 10px;
    isolation: isolate;
    width: 100%;
    max-width: 1540px;
    background: #FFFFFF;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#m_implant_section_3 .image-content {
    position: absolute;
    width: 660px;
    height: 593px;
    left: 0;
    top: -13px;
    z-index: 0;
}

#m_implant_section_3 .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#m_implant_section_3 .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 770px;
    z-index: 1;
    background: transparent;
}

#m_implant_section_3 .text-content h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    color: #393838;
    margin: 0;
}

#m_implant_section_3 .text-content p {
    width: 712px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #393838;
    margin: 0;
}

/* Section 4: 검증된 정품, 신뢰할 수 있는 재료만 */
#m_implant_section_4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 190px;
    background: #EAEAEA;
}

#m_implant_section_4 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_4 .container .wrapper {
    padding: 0;
}

#m_implant_section_4 .split-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 90px 60px;
    gap: 10px;
    isolation: isolate;
    width: 100%;
    max-width: 1540px;
    background: url("../../../assets/images/tooth-bg.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#m_implant_section_4 .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 770px;
    z-index: 1;
    background: transparent;
}

#m_implant_section_4 .text-content h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    color: #FFFFFF;
    margin: 0;
}

#m_implant_section_4 .text-content p {
    width: 685px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #FFFFFF;
    margin: 0;
}

#m_implant_section_4 .image-content {
    position: absolute;
    width: 710px;
    height: 902px;
    right: 1px;
    top: -183px;
    z-index: 1;
}

#m_implant_section_4 .image-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Section 5: 시술이 끝나도, 관리의 시작은 엠치과에서 */
#m_implant_section_5 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 190px 90px;
    background: #EAEAEA;
}

#m_implant_section_5 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_5 .container .wrapper {
    padding: 0;
}

#m_implant_section_5 .split-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 90px 60px;
    gap: 10px;
    isolation: isolate;
    width: 100%;
    max-width: 1540px;
    background: #FFFFFF;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#m_implant_section_5 .image-content {
    position: absolute;
    width: 972px;
    height: 530px;
    left: -277px;
    top: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
}

#m_implant_section_5 .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#m_implant_section_5 .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 770px;
    z-index: 1;
    background: transparent;
}

#m_implant_section_5 .text-content h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    color: #393838;
    margin: 0;
}

#m_implant_section_5 .text-content p {
    width: 657px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #393838;
    margin: 0;
}

/* Section 6: 언제든 확인 가능한, 나만의 진료 관리 시스템 */
#m_implant_section_6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 90px 190px;
    gap: 30px;
    background: #FFFFFF;
}

#m_implant_section_6 .container {
    padding: 0;
    width: 100%;
    max-width: 1540px;
}

#m_implant_section_6 .container .wrapper {
    padding: 0;
}

#m_implant_section_6 .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 30px;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
}

#m_implant_section_6 .section-header h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0 20px;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
    text-align: center;
    color: #000000;
    margin: 0;
}

#m_implant_section_6 .section-header p {
    width: 100%;
    max-width: 1148px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    text-align: center;
    color: #292929;
    margin: 0;
}

#m_implant_section_6 .section-image {
    width: 100%;
    max-width: 1359px;
    margin: 0 auto;
    position: relative;
}

#m_implant_section_6 .section-image img {
    width: 100%;
    height: auto;
    padding-top: 50px;
    display: block;
}

/* Section 7: 당신의 안전을 지키는 깨끗한 약속 */
#m_implant_section_7 {
    background: #d8f2ef;
}

#m_implant_section_7 .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 20px;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto 60px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

#m_implant_section_7 .section-header h2 {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    color: #000000;
    margin: 0;
    padding: 0;
}

#m_implant_section_7 .section-header h3 {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
    text-align: center;
    color: #333333;
    margin: 0;
    padding: 0;
}

#m_implant_section_7 .section-header p {
    width: 100%;
    max-width: 1128px;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    color: #292929;
    margin: 0;
}

#m_implant_section_7 .section-image {
    max-width: 1200px;
    margin: 0 auto;
}

#m_implant_section_7 .section-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
}

/* Section 8: 임플란트만이 아니라, 구강 전체의 균형을 봅니다 */
#m_implant_section_8 {
    background: #f5f3f0;
}

#m_implant_section_8 .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 30px;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto 60px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

#m_implant_section_8 .section-header h2 {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    color: #000000;
    margin: 0;
    padding: 0;
}

#m_implant_section_8 .section-header p {
    width: 100%;
    max-width: 1128px;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    color: #292929;
    margin: 0;
}

#m_implant_section_8 .section-image {
    max-width: 1200px;
    margin: 0 auto;
}

#m_implant_section_8 .section-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
}

/* Section 9: 결과로 증명하는 엠치과의 자신감 */
#m_implant_section_9 {
    background-image: url('../../../assets/images/m_implant /image copy 9.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#m_implant_section_9 .banner-overlay {
    position: relative;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.4); */
    padding: 80px 20px;
}

#m_implant_section_9 .banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

#m_implant_section_9 .banner-content h2 {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

#m_implant_section_9 .banner-content p {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    color: #ffffff;
    margin: 0;
    max-width: 1128px;
}

.m-implant-section .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.m-implant-subsection {
    margin-bottom: 100px;
}

.m-implant-subsection:last-child {
    margin-bottom: 0;
}

.m-implant-content-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
}

.m-implant-content-wrapper.reverse {
    flex-direction: row-reverse;
}

.m-implant-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.m-implant-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.m-implant-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    border-radius: 0 0 8px 8px;
}

.m-implant-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.m-implant-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.m-implant-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.m-implant-text ul li {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.m-implant-text ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00d9b6;
    font-weight: 700;
    font-size: 24px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    #m_implant_header .main-banner .txt h1 {
        font-size: 42px;
    }

    #m_implant_tabnav .tab-link {
        padding: 12px 15px;
        font-size: 14px;
    }

    .m-implant-text {
        padding: 30px 40px;
    }

    .m-implant-text h2 {
        font-size: 28px;
    }

    .m-implant-text p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    #m_implant_header .main-banner .txt h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    #m_implant_header .main-banner .txt h1 {
        font-size: 32px;
    }

    #m_implant_tabnav .tab-list {
        flex-wrap: wrap;
    }

    #m_implant_tabnav .tab-item {
        flex: 1 1 50%;
        min-width: 120px;
    }

    #m_implant_tabnav .tab-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .m-implant-section {
        padding: 60px 0;
    }

    .m-implant-subsection {
        margin-bottom: 60px;
    }

    .m-implant-text {
        padding: 25px 30px;
    }

    .m-implant-text h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .m-implant-text p {
        font-size: 15px;
    }

    .m-implant-text ul li {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    #m_implant_header .main-banner .txt h1 {
        font-size: 24px;
    }

    #m_implant_tabnav .tab-item {
        flex: 1 1 100%;
    }

    #m_implant_tabnav .tab-link {
        padding: 8px 10px;
        font-size: 12px;
    }

    .m-implant-section {
        padding: 40px 0;
    }

    .m-implant-subsection {
        margin-bottom: 40px;
    }

    .m-implant-text h2 {
        font-size: 20px;
    }
}

