.mobile-content-page {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 46px 20px 60px;
    color: #102a43;
    background: #fff;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}
.mobile-content-page * { box-sizing: border-box; }
.mobile-content-head { margin: 0 0 26px; }
.mobile-content-head p { margin: 0 0 8px; color: #009e91; font-size: 10px; line-height: 1.3; font-weight: 900; letter-spacing: .15em; }
.mobile-content-head h1 { margin: 0; color: #073568; font-size: clamp(30px, 8vw, 42px); line-height: 1.18; font-weight: 850; letter-spacing: -.055em; }
.mobile-content-head span { display: block; margin-top: 11px; color: #687b8e; font-size: 14px; line-height: 1.65; }
.mobile-content-tabs { display: flex; gap: 8px; margin: 0 0 24px; overflow-x: auto; padding: 0 0 5px; scrollbar-width: thin; }
.mobile-content-tabs a { flex: 0 0 auto; min-height: 44px; padding: 11px 16px; border: 1px solid #d7e3eb; border-radius: 10px; color: #36536a; background: #f7fafc; font-size: 14px; line-height: 1.45; font-weight: 750; text-decoration: none; }
.mobile-content-tabs a.is-active { border-color: #073568; color: #fff; background: #073568; }
.mobile-content-body { min-width: 0; }

.cjmc-content-page {
    width: min(100%, 1200px) !important;
    max-width: 1200px !important;
    min-width: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    color: #29465d;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.75;
    text-align: left;
}
.cjmc-content-page, .cjmc-content-page * { box-sizing: border-box; }
.cjmc-content-page,
.cjmc-content-page > div,
.cjmc-content-page > center,
.cjmc-content-page > center > div,
.cjmc-content-page .con_1_tb,
.cjmc-content-page .con_2_tb {
    text-align: left !important;
}
.cjmc-content-page center,
.cjmc-content-page center > div,
.cjmc-content-page div[style*="width"] { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin-right: 0 !important; margin-left: 0 !important; }
.cjmc-content-page .title_big { margin: 32px 0 20px !important; padding: 0 0 12px !important; border-bottom: 2px solid #073568; color: #073568 !important; font-size: clamp(24px, 6.5vw, 32px) !important; line-height: 1.3 !important; font-weight: 850 !important; letter-spacing: -.04em !important; text-align: left !important; }
.cjmc-content-page .title_big:first-of-type { margin-top: 0 !important; }
.mobile-content-body .is-mobile-duplicate-title { display: none !important; }
.cjmc-content-page .title_big img { display: none !important; }
.cjmc-content-page .title_mid,
.cjmc-content-page .title_mid_left,
.cjmc-content-page .content-section-title { display: block; margin: 26px 0 12px !important; padding: 0 0 0 13px !important; position: relative; color: #073568 !important; font-size: clamp(19px, 5vw, 24px) !important; line-height: 1.45 !important; font-weight: 800 !important; text-align: left !important; }
.cjmc-content-page .title_mid::before,
.cjmc-content-page .title_mid_left::before,
.cjmc-content-page .content-section-title::before { content: ""; position: absolute; top: .34em; bottom: .28em; left: 0; width: 4px; border-radius: 4px; background: #00a99d; }
.cjmc-content-page p { max-width: 100%; margin: 10px 0; line-height: 1.75; }
.cjmc-content-page ul,
.cjmc-content-page ol { max-width: 100%; padding-left: 1.4em; }
.cjmc-content-page img { max-width: 100% !important; height: auto !important; object-fit: contain; }
.cjmc-content-page p > img:only-child { display: block; margin: 0 auto; }
.cjmc-content-page table { width: 100% !important; max-width: 100% !important; border-collapse: collapse; table-layout: auto; }
.cjmc-content-page .content-table-scroll { width: 100%; max-width: 100%; margin: 12px 0 20px; overflow-x: auto; border: 1px solid #dce7ee; border-radius: 14px; background: #fff; box-shadow: 0 7px 18px rgba(20, 55, 79, .05); -webkit-overflow-scrolling: touch; }
.cjmc-content-page .content-table-scroll > table { min-width: 620px; margin: 0 !important; border: 0 !important; }
.cjmc-content-page .content-table-scroll:has(> .public-health-intro-table),
.cjmc-content-page .content-table-scroll:has(> .funeral-intro-table) { margin-top: 0; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.cjmc-content-page .content-table-scroll > .public-health-intro-table,
.cjmc-content-page .content-table-scroll > .funeral-intro-table { min-width: 0 !important; table-layout: fixed; }
.cjmc-content-page .public-health-intro-table td,
.cjmc-content-page .funeral-intro-table td { width: 100% !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
.cjmc-content-page .funeral-intro-table .title_mid,
.cjmc-content-page .funeral-intro-table .con_1_tb { width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; text-align: left !important; }
.cjmc-content-page table th,
.cjmc-content-page table td { height: auto !important; padding: 12px 10px !important; border-color: #dce7ee !important; color: #183b56 !important; font-size: 15px !important; line-height: 1.65 !important; font-weight: 600 !important; word-break: keep-all; }
.cjmc-content-page table th { color: #073568 !important; background: #eef6f8 !important; font-weight: 800 !important; }
.cjmc-content-page a.button,
.cjmc-content-page .button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 42px; margin: 4px 4px 4px 0; padding: 9px 14px !important; border: 1px solid #b9ccd8 !important; border-radius: 9px !important; color: #073568 !important; background: #fff !important; font-size: 14px !important; line-height: 1.4; font-weight: 750; text-decoration: none; }
.cjmc-content-page .content-icon { width: auto !important; max-width: 50px !important; max-height: 50px; }
.mobile-content-body .cjmc-content-page .content-icon,
.mobile-content-body .cjmc-content-page img[src*="/new/img_new/icon1.png"],
.mobile-content-body .cjmc-content-page img[src*="/new//img_new/icon1.png"] {
    display: none !important;
}
.cjmc-content-directions .root_daum_roughmap,
.cjmc-content-directions .root_daum_roughmap .wrap_map,
.cjmc-content-directions .root_daum_roughmap .map,
.cjmc-content-directions .root_daum_roughmap iframe {
    width: 100% !important;
    max-width: 100% !important;
}
.cjmc-content-directions .root_daum_roughmap img {
    max-width: none !important;
    height: auto !important;
    object-fit: fill !important;
}
.cjmc-content-directions .root_daum_roughmap { margin: 16px 0 24px !important; }
.cjmc-content-directions > div > div[style*="padding-left"] { padding-left: 0 !important; }
.cjmc-content-directions .direction-summary-images,
.cjmc-content-directions p:has(> a > img[src*="/new/img/map"]),
.cjmc-content-phone .phone-summary-images,
.cjmc-content-phone p:has(> img[src*="tel_fax"]) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    width: 100% !important;
    margin: 0 auto 24px !important;
    padding: 0 !important;
    text-align: center !important;
}
.cjmc-content-directions .direction-summary-images a { display: block; flex: 0 1 400px; max-width: 100%; }
.cjmc-content-directions .direction-summary-images img { display: block; width: 100% !important; margin: 0 auto; }
.cjmc-content-floor-plan img[usemap] { display: block; width: 100% !important; margin: 0 auto 18px; }
.cjmc-content-phone .phone-summary-images img[src*="tel_fax"] { display: block; width: min(100%, 400px) !important; margin: 0; }
.cjmc-content-funeral img[src*="/new/img/jang.png"] { display: none !important; }

.cjmc-content-patient-rights .con_box_r { padding-left: 0 !important; }
.cjmc-content-patient-rights .content-table-scroll > table { min-width: 0 !important; }
.cjmc-content-patient-rights table td:first-child[width="2%"] { display: none !important; }
.cjmc-content-patient-rights table td { vertical-align: top; }

.cjmc-content-customer-voice > .cjmc-content-page > div > div > p:first-of-type {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0;
}
.cjmc-content-customer-voice > .cjmc-content-page > div > div > p:first-of-type a { display: block; }
.cjmc-content-customer-voice > .cjmc-content-page > div > div > p:first-of-type img {
    display: block;
    width: min(100%, 340px) !important;
    height: auto !important;
}

.cjmc-content-greeting .greeting-layout,
.cjmc-content-greeting .greeting-layout > tbody,
.cjmc-content-greeting .greeting-layout > tbody > tr { display: block; width: 100% !important; }
.cjmc-content-greeting .greeting-layout > tbody > tr > td {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
}
.cjmc-content-greeting .greeting-layout > tbody > tr > td:first-child { margin-bottom: 22px; text-align: center !important; }
.cjmc-content-greeting .greeting-layout > tbody > tr > td:first-child img { width: min(72%, 280px) !important; }
.cjmc-content-greeting .greeting-layout .con_1_tb { padding-left: 0 !important; }

.cjmc-content-history .history-timeline { display: grid; gap: 18px; }
.cjmc-content-history .history-period {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 1px solid #dce7ee;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 55, 79, .06);
}
.cjmc-content-history .history-period td {
    width: auto !important;
    padding: 9px 14px !important;
    border: 0 !important;
    text-align: left !important;
}
.cjmc-content-history .history-period td[style*="width:80px"] { display: none !important; }
.cjmc-content-history .history-period .title_mid_his {
    display: block;
    padding: 17px 14px 12px !important;
    color: #073568 !important;
    font-size: 23px !important;
    line-height: 1.3 !important;
    text-align: left !important;
}
.cjmc-content-history .history-period tr:has(.title_mid_his) { display: table-row !important; }
.cjmc-content-history .history-period tr:has(.title_mid_his) td { display: table-cell !important; }
.cjmc-content-history .history-period img[src*="history_"] {
    display: inline-block;
    width: calc(33.333% - 7px) !important;
    max-width: 150px !important;
    margin: 3px;
}

.cjmc-content-mission .con_box,
.cjmc-content-mission .con_box center,
.cjmc-content-ci center { text-align: center !important; }
.cjmc-content-mission p,
.cjmc-content-ci p { width: 100% !important; padding-left: 0 !important; }
.cjmc-content-mission img,
.cjmc-content-ci img { display: inline-block; margin: 6px auto; }

@media (max-width: 640px) {
    .mobile-content-page { padding-right: 16px; padding-left: 16px; }
    .cjmc-content-page { font-size: 14px; }
    .cjmc-content-page .content-table-scroll > table { min-width: 560px; }
    .cjmc-content-page a.button,
    .cjmc-content-page .button { width: 100%; margin-right: 0; }
    .cjmc-content-directions a:has(> img[src*="/new/img/map"]) { display: block; flex-basis: 100%; margin-bottom: 10px; }
    .cjmc-content-directions a > img[src*="/new/img/map"] { display: block; width: 100% !important; margin: 0; }
    .cjmc-content-history .history-period td { padding-right: 11px !important; padding-left: 11px !important; font-size: 14px !important; }
    .cjmc-content-customer-voice .content-table-scroll > table { min-width: 520px; }
}

@media (max-width: 380px) {
    .mobile-content-page { padding-right: 12px; padding-left: 12px; }
}
