/* Three independent franchise scenarios with replaceable image/video slots. */
#franchise{--muted:#606875}
#franchise .case-heading{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:48px}
#franchise .case-heading h1{font-size:clamp(30px,3vw,44px)}
.franchise-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.franchise-index>a{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:28px 32px;border:1px solid var(--stroke);border-radius:12px;transition:background 180ms ease,border-color 180ms ease}
.franchise-index>a:hover{background:var(--surface);border-color:var(--primary)}
.franchise-index-number{font-size:13px;font-weight:600;color:var(--muted);margin-bottom:20px;font-variant-numeric:tabular-nums}
.franchise-index>a>strong{font-family:Paperlogy,Pretendard,sans-serif;font-size:22px;font-weight:600;line-height:1.5}
.franchise-index p{color:var(--muted);font-size:16px;line-height:1.75;margin-top:10px}
.franchise-index-link{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;margin-top:24px}
.franchise-scene{display:grid;gap:32px;padding:72px 0;border-top:1px solid var(--stroke);scroll-margin-top:0}
.franchise-scene:first-of-type{margin-top:56px}
.franchise-scene:last-of-type{border-bottom:1px solid var(--stroke)}
.franchise-scene-heading{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:end}
.franchise-scene-copy{min-width:0}
.franchise-scene .scene-label{display:flex;align-items:center;gap:14px;margin-bottom:20px;font-size:14px}
.franchise-scene .scene-label>span:first-child{font-variant-numeric:tabular-nums}
.franchise-scene .scene-label>span+span{border-left:1px solid var(--stroke);padding-left:14px;color:var(--muted)}
.franchise-scene h2{font-size:clamp(26px,2.5vw,34px);line-height:1.5;letter-spacing:-.035em}
.franchise-description{font-size:17px;color:var(--muted);line-height:1.8}
.franchise-media{min-width:0;margin:0}
.franchise-media-stage{display:grid;place-items:center;width:100%;aspect-ratio:16/9;background:var(--surface);border:1px dashed var(--stroke);border-radius:16px;overflow:hidden}
.franchise-media-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;color:var(--muted)}
.franchise-media-icon{width:48px;height:48px;margin-bottom:8px}
.franchise-media-placeholder strong{font-size:20px;line-height:1.5;font-weight:600;color:var(--primary)}
.franchise-media-placeholder>span{font-size:14px;line-height:1.6}
.franchise-media figcaption{font-size:13px;color:var(--muted);line-height:1.7;margin-top:12px}
.franchise-media-stage>img,.franchise-media-stage>video{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.franchise-steps{display:grid;gap:24px;margin:0}
.franchise-steps-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.franchise-steps-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.franchise-steps>li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px}
.franchise-steps>li>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--surface);font-size:12px;font-weight:600}
.franchise-steps strong{font-size:16px;line-height:1.7;font-weight:600}
.franchise-steps p{font-size:14px;color:var(--muted);line-height:1.75;margin-top:4px}
@media(width<=960px){
 #franchise .case-heading{gap:28px}
 .franchise-index{gap:14px}.franchise-index>a{padding:24px}.franchise-index>a>strong{font-size:20px}.franchise-index p{font-size:14px}
 .franchise-scene{padding:56px 0}.franchise-scene-heading{gap:32px}
 .franchise-steps-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(width<=720px){
 #franchise .case-heading{grid-template-columns:1fr;gap:16px}
 #franchise .case-heading h1{font-size:28px}
 .franchise-index{grid-template-columns:1fr;gap:10px}
 .franchise-index>a{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:12px;padding:20px 24px}
 .franchise-index-number{margin:3px 0 0;grid-row:1/4}
 .franchise-index>a>strong{font-size:19px}.franchise-index p{margin-top:6px}.franchise-index p br{display:none}
 .franchise-index-link{grid-column:2;margin-top:12px}
 .franchise-scene{gap:24px;padding:40px 0}
 .franchise-scene:first-of-type{margin-top:32px}
 .franchise-scene-heading{grid-template-columns:1fr;gap:16px}
 .franchise-scene .scene-label{font-size:12px;margin-bottom:16px}
 .franchise-scene h2{font-size:26px}.franchise-description{font-size:16px}
 .franchise-media-stage{border-radius:12px}
 .franchise-media-placeholder{padding:16px;gap:6px}
 .franchise-media-icon{width:32px;height:32px;margin-bottom:4px}
 .franchise-media-placeholder strong{font-size:16px}.franchise-media-placeholder>span{font-size:12px}
 .franchise-media figcaption{font-size:12px;margin-top:10px}
 .franchise-steps{grid-template-columns:1fr;gap:20px}
}
@media(width<360px){
 #franchise .case-heading h1{font-size:25px}
 .franchise-index>a{padding:20px}.franchise-scene h2{font-size:24px}
 .franchise-media-placeholder{padding:12px}
}
@media(prefers-reduced-motion:reduce){.franchise-index>a{transition:none}}
