/* 컨테이너 및 폰트 */
.fran-container { width: 100%; max-width: 1200px; margin: 0 auto; text-align: left; }

/* 상단 탭 메뉴 */
.fran-tabs { display: flex; border-bottom: 2px solid #2b5f8c; margin-bottom: 25px; padding: 0; list-style: none; }
.fran-tabs li { margin-right: 4px; }
.fran-tabs li a { display: block; padding: 12px 24px; font-size: 15px; font-weight: bold; color: #555; text-decoration: none; background: #f4f5f7; border: 1px solid #ddd; border-bottom: none; border-radius: 6px 6px 0 0; }
.fran-tabs li.active a { background: #2b5f8c; color: #fff; border-color: #2b5f8c; }

/* 안내 박스 */
.fran-notice-box { background: #f8fafd; border: 1px solid #dbe5f1; border-radius: 8px; padding: 20px 24px; margin-bottom: 25px; }
.fran-notice-box .tit { font-size: 18px; font-weight: bold; color: #1e3a5f; margin-bottom: 8px; }
.fran-notice-box .desc { font-size: 13.5px; color: #555; line-height: 1.6; margin: 0; }

/* 검색 필터 바 */
.fran-search-bar { background: #f1f4f8; border: 1px solid #ccd8e6; border-radius: 8px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.fran-search-bar .search-title { font-size: 15px; font-weight: bold; color: #2c3e50; display: flex; align-items: center; gap: 6px; }
.fran-search-form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fran-search-form select { height: 36px; padding: 0 10px; border: 1px solid #c2cdd8; border-radius: 4px; font-size: 13.5px; color: #333; background: #fff; outline: none; }
.fran-search-form select:focus { border-color: #2b5f8c; }
.btn-fran-search { height: 36px; padding: 0 18px; background: #2b5f8c; color: #fff; font-size: 14px; font-weight: bold; border: none; border-radius: 4px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; transition: background 0.2s; }
.btn-fran-search:hover { background: #1f4669; }

/* 검색 요약 문구 */
.fran-search-summary { font-size: 15px; font-weight: bold; color: #333; padding: 10px 0; margin-bottom: 10px; border-bottom: 1px solid #eee; }
.fran-search-summary .val-addr { color: #d32f2f; }
.fran-search-summary .val-yongdo { color: #1976d2; }

/* 목록 테이블 */
.fran-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.fran-table th { background: #f8f9fa; color: #333; font-size: 14px; font-weight: bold; padding: 13px 10px; border-top: 2px solid #333; border-bottom: 1px solid #bbb; text-align: center; }
.fran-table td { padding: 14px 10px; border-bottom: 1px solid #e5e5e5; font-size: 16px; vertical-align: top; }
.fran-table tr:hover td { background: #fafcfe; }

/* 물건수 뱃지 */
.cnt-badge-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cnt-badge-wrap a {font-size:16px}
.cnt-badge-jin { display: inline-block; padding: 3px 8px; font-size: 13px; font-weight: bold; color: #1976d2; background: #e3f2fd; border-radius: 4px; text-decoration: none; }
.cnt-badge-jin:hover { text-decoration: underline; background: #bbdefb; }
.cnt-badge-tot { font-size: 14px; color: #777; font-weight: bold; }

/* 가맹점명 및 상세 */
.fran-name { font-size: 16px; font-weight: bold; color: #0044cc; text-decoration: underline; cursor: pointer; }
.fran-dealing { font-size: 14px; color: #555; margin-top: 5px; line-height: 1.4; }
.fran-tel { font-size: 14px; font-weight: bold; color: #222; }

/* 더보기 버튼 */
.btn-more-wrap { text-align: center; margin: 25px 0; }
.btn-more-list { padding: 12px 40px; font-size: 15px; font-weight: bold; color: #333; background: #fff; border: 1px solid #ccc; border-radius: 30px; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: all 0.2s; }
.btn-more-list:hover { background: #f5f5f5; border-color: #999; }

/* 배너 영역 */
.fran-banners { display: flex; flex-direction: column; align-items: center; gap: 15px; margin: 30px 0; }

/* 하단 면책 공고 */
.fran-disclaimer { background: #fafafa; border: 1px solid #ddd; border-radius: 6px; padding: 16px 20px; font-size: 12.5px; color: #666; line-height: 1.65; margin: 25px 0; }
.fran-disclaimer strong { color: #d32f2f; }

#franchiseLayer,
.lb#franchiseLayer {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(3px) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    transform: none !important;
}


#franchiseLayer > * {
    margin: auto !important;
    max-width: 650px !important;
    width: 92% !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    z-index: 1000000 !important;
}


#franchiseLayer > * {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    max-width: 680px;
    width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
    animation: franModalFadeIn 0.25s ease-out;
}


@keyframes franModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


@media print {
    #franchiseLayer { display: none !important; }
}



<!-- 팝업 내부 전용 모던 스타일 -->
<style type="text/css">
.fran-pop-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", dotum, sans-serif;
    color: #334155;
}


.fran-pop-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.fran-pop-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}


.fran-pop-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}
.fran-pop-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fran-pop-avatar .material-symbols-outlined {
    font-size: 34px;
}
.fran-pop-title-wrap {
    flex: 1;
    padding-right: 25px;
}
.fran-pop-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}
.fran-pop-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.3;
}
.fran-pop-master {
    font-size: 13.5px;
    color: #64748b;
}
.fran-pop-master strong {
    color: #334155;
}


.fran-pop-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}
.fran-pop-info-item {
    display: flex;
    align-items: flex-start;
    font-size: 13.5px;
    line-height: 1.5;
}
.fran-pop-label {
    width: 90px;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.fran-pop-label .material-symbols-outlined {
    font-size: 16px;
    color: #94a3b8;
}
.fran-pop-val {
    flex: 1;
    color: #1e293b;
    word-break: break-all;
}
.fran-pop-val.tel-val {
    font-size: 16px;
    font-weight: 800;
    color: #2b5f8c;
}


.fran-pop-field-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 22px;
}
.fran-pop-field-tit {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.fran-pop-field-desc {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
    margin: 0;
}


.fran-pop-actions {
    display: flex;
    gap: 10px;
}
.btn-fran-call {
    flex: 1;
    height: 42px;
    background: #2b5f8c;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}
.btn-fran-call:hover {
    background: #1e476b;
}
.btn-fran-goods {
    flex: 1;
    height: 42px;
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-fran-goods:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}


@media (max-width: 500px) {
    .fran-pop-card { padding: 22px 18px; }
    .fran-pop-header { gap: 12px; }
    .fran-pop-avatar { width: 50px; height: 50px; }
    .fran-pop-avatar .material-symbols-outlined { font-size: 26px; }
    .fran-pop-name { font-size: 17px; }
    .fran-pop-label { width: 80px; }
    .fran-pop-actions { flex-direction: column; }
}


.consult-process-wrap {
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 35px 25px;
    margin: 35px 0 25px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.consult-process-wrap .section-header {
    text-align: center;
    margin-bottom: 30px;
}
.consult-process-wrap .section-header .sub-tit {
    font-size: 13px;
    font-weight: 700;
    color: #2b5f8c;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.consult-process-wrap .section-header .main-tit {
    font-size: 22px;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
}
.consult-process-wrap .section-header .desc {
    font-size: 14px;
    color: #64748b;
    margin-top: 8px;
}


.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
@media (max-width: 850px) {
    .step-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .step-grid { grid-template-columns: 1fr; }
}

.step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px 18px;
    position: relative;
    transition: all 0.25s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(43, 95, 140, 0.1);
    border-color: #93c5fd;
    background: #fff;
}
.step-card .step-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: #2b5f8c;
    background: #e0f2fe;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.step-card .step-icon {
    font-size: 30px;
    color: #2b5f8c;
    margin-bottom: 10px;
    display: block;
}
.step-card .step-tit {
    font-size: 16px;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 8px;
}
.step-card .step-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}


.consult-cta-box {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.consult-cta-box .cta-text {
    font-size: 15px;
    font-weight: bold;
    color: #334155;
}
.consult-cta-box .cta-text span {
    color: #2b5f8c;
}
.consult-cta-box .btn-cta-price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2b5f8c;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}
.consult-cta-box .btn-cta-price:hover {
    background: #1e476b;
}


.guide-section { margin-bottom: 45px; }
.guide-title { font-size: 21px; font-weight: bold; color: #1e3a5f; margin: 0 0 15px 0; display: flex; align-items: center; gap: 8px; border-bottom: 2px solid #2b5f8c; padding-bottom: 10px; }
.guide-title .material-symbols-outlined { color: #2b5f8c; font-size: 26px; }

.intro-lead-box { background: #fdfdfd; border: 1px solid #e2e8f0; border-radius: 10px; padding: 25px 30px; line-height: 1.8; font-size: 15px; color: #334155; margin-bottom: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.intro-lead-box strong { color: #0f172a; }
.intro-highlight { background: #e0f2fe; color: #0369a1; padding: 2px 8px; border-radius: 4px; font-weight: bold; }

.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 25px 0; }
@media (max-width: 768px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-card { border-radius: 8px; padding: 20px 24px; border: 1px solid #ddd; }
.vs-card.court { background: #f8fafc; border-color: #cbd5e1; }
.vs-card.taein { background: #f0f7ff; border-color: #93c5fd; }
.vs-card .card-tit { font-size: 16px; font-weight: bold; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.vs-card.court .card-tit { color: #475569; }
.vs-card.taein .card-tit { color: #1d4ed8; }
.vs-card ul { margin: 0; padding-left: 18px; line-height: 1.8; font-size: 14px; color: #475569; }

.scope-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.scope-table th { background: #f1f5f9; color: #1e293b; font-weight: bold; font-size: 14px; padding: 12px; border: 1px solid #cbd5e1; text-align: center; }
.scope-table td { padding: 12px 16px; border: 1px solid #e2e8f0; font-size: 13.5px; line-height: 1.6; color: #334155; }
.scope-table td.cate { font-weight: bold; text-align: center; background: #f8fafc; color: #2b5f8c; white-space: nowrap; width: 120px; }

.info-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 15px; }
@media (max-width: 768px) { .info-grid-2col { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 22px; box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.info-card .card-header { font-size: 16px; font-weight: bold; color: #1e293b; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.info-card ol { margin: 0; padding-left: 20px; line-height: 1.8; font-size: 13.5px; color: #475569; }
.info-card ol li { margin-bottom: 8px; }

.tips-list { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px 25px; margin: 15px 0; }
.tips-item { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.6; font-size: 14px; color: #334155; }
.tips-num { font-weight: 800; color: #2b5f8c; background: #e0f2fe; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; margin-top: 2px; }

.img-step-frame { text-align: center; padding: 15px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; margin: 15px 0 25px 0; }
.img-step-frame img { max-width: 100%; height: auto; border: 1px solid #cbd5e1; border-radius: 4px; }

.price-law-box { background: #ffffff; border: 2px solid #2b5f8c; border-radius: 10px; padding: 30px; margin-top: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.price-law-header { text-align: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 18px; margin-bottom: 20px; }
.price-law-header .law-badge { display: inline-block; background: #2b5f8c; color: #fff; font-size: 12px; font-weight: bold; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px; }
.price-law-header h3 { font-size: 20px; font-weight: bold; color: #0f172a; margin: 0; }
.price-law-content { line-height: 1.7; font-size: 14px; color: #334155; }
.law-item { margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px dashed #e2e8f0; }
.law-item:last-child { border-bottom: none; margin-bottom: 0; }
.law-item-tit { font-size: 16px; font-weight: bold; color: #1e3a5f; margin-bottom: 8px; }

.call-center-banner { background: #2b5f8c; color: #fff; border-radius: 10px; padding: 25px 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin: 30px 0; }
.call-center-banner .txt-left h4 { font-size: 18px; margin: 0 0 5px 0; font-weight: bold; }
.call-center-banner .txt-left p { margin: 0; font-size: 13.5px; opacity: 0.9; }
.call-center-banner .tel-num { font-size: 26px; font-weight: 800; letter-spacing: 1px; color: #ffeb3b; }

.check-intro-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #2b5f8c;
    border-radius: 8px;
    padding: 20px 20px;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 14.5px;
    color: #334155;
}
.check-intro-card p { margin: 0 0 10px 0;
    font-size: 14px; }
.check-intro-card p strong { font-size: 14px; }
.check-intro-card p:last-child { margin: 0; }

.check-toolbar {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.progress-area { display: flex; align-items: center; gap: 12px; }
.progress-text { font-size: 15px; font-weight: bold; color: #1e293b; }
.progress-text span { color: #2b5f8c; }
.progress-bar-bg { width: 180px; height: 10px; background: #e2e8f0; border-radius: 10px; overflow: hidden; }
.progress-bar-fill { width: 0%; height: 100%; background: #2b5f8c; transition: width 0.3s ease; }

.toolbar-buttons { display: flex; gap: 8px; }
.btn-tool {
    height: 36px;
    padding: 0 14px;
    font-size: 13.5px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    transition: all 0.2s;
}
.btn-tool:hover { background: #f1f5f9; }
.btn-tool.primary {
    background: #2b5f8c;
    color: #fff;
    border-color: #2b5f8c;
}
.btn-tool.primary:hover { background: #1e476b; }

.theme-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.theme-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.theme-tit-wrap { display: flex; align-items: center; gap: 10px; }
.theme-badge {
    background: #2b5f8c;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}
.theme-tit { font-size: 18px; font-weight: bold; color: #1e293b; margin: 0; }

.check-item-list { list-style: none; padding: 0; margin: 0; }
.check-item {
    display: flex;
    align-items: flex-start;
    padding: 3px 12px;
    border-radius: 6px;
    transition: background 0.15s;
    cursor: pointer;
    margin-bottom: 4px;
}
.check-item:hover { background: #f8fafc; }
.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    margin-right: 12px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #2b5f8c;
}
.check-item label {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
    flex: 1;
}
.check-item.checked { background: #f0fdf4; }
.check-item.checked label { color: #15803d; font-weight: 500; }

.pdf-download-card {
    background: #f8fafc;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    margin-top: 30px;
}
.pdf-download-card h4 { font-size: 17px; margin: 0 0 8px 0; color: #1e293b; }
.pdf-download-card p { font-size: 13.5px; color: #64748b; margin: 0 0 16px 0; }

.print_header_wrap { display: none; }

@media print {
    .print_header_wrap {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 0px !important;
        margin-bottom: 12px !important;
        padding-top:0px !important;
        padding-bottom: 6px !important;
        border-bottom: 1px solid #eee !important;
    }
    .print_header_inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        width: 100% !important;
    }
    .print_header_inner .logo_title img {
        display: block !important;
        width: 120px !important;
        height: auto !important;
    }
    .print_header_inner .day_title {
        font-size: 10pt !important;
        color: #333 !important;
        font-weight: bold !important;
        white-space: nowrap !important;
    }
}

@media print {
    body { background: #fff !important; }
    .fran-tabs, .check-toolbar, .pdf-download-card, #topMenu, .table_contents_wrap > tbody > tr > td > table:first-child, .gotop_detail_wrap,.header-center, .header-right, #gnb-nav, #footer-section
	,.button, #main-header, h1 > img{ display: none !important; }
    .fran-container { width: 100% !important; max-width: 100% !important; }
    .theme-section { page-break-inside: avoid; border: 1px solid #aaa !important; margin-bottom: 15px !important; box-shadow: none !important; }
    .theme-badge { background: #000 !important; color: #fff !important; -webkit-print-color-adjust: exact; }
    .check-item { padding: 3px 0 !important; }
    .check-item label { font-size: 10pt !important; color: #000 !important; }

}