/* 대표님 확정 미미 홈 v5 스타일. 글꼴은 공통.css의 로컬 파일 사용. */

/* 메인 스크롤 안내선 */
.hero-scroll{position:absolute;z-index:5;bottom:0;left:50%;width:1px;height:60px;background:linear-gradient(#fff 50%,var(--navy) 50%);pointer-events:none}
.main-cards{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:11px;padding:30px 6px 0;background:#fff}
.main-card-slot{min-width:0}
.main-card{display:block;position:relative;isolation:isolate;width:100%;aspect-ratio:3/4;overflow:hidden;color:#fff;background:var(--navy)}
.main-card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.main-card::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,transparent 20%,rgba(0,0,0,.7) 100%);pointer-events:none}
.main-card-copy{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:14px 12px;color:#fff}
.main-card-copy .main-card-title{width:auto;height:22px;max-width:100%;object-fit:contain;object-position:left center;margin-bottom:12px}
.main-card-copy h2{font-family:Pretendard,sans-serif;font-size:18px;font-weight:800;line-height:1.4;color:#fff}
.main-card-copy p{margin-top:6px;font-size:12px;line-height:1.6;color:#fff}
.main-card:hover .main-card-photo,.main-card:focus-visible .main-card-photo{transform:scale(1.05)}
.main-card:focus-visible{outline:3px solid var(--terracotta);outline-offset:-3px}
/* 기본은 표시. JS 초기화 성공 후에만 등장 대기, 위치 엇갈림은 바깥 슬롯에 적용. */
.cards-ready .main-card{opacity:0;transform:translateY(40px);transition:opacity .8s ease-out var(--card-delay),transform .8s ease-out var(--card-delay)}
.cards-ready .main-card-slot:nth-child(even) .main-card{transform:translateY(-40px)}
.cards-ready .main-card-slot .main-card.is-revealed{opacity:1;transform:none}
.cards-ready .main-card.reveal-instant{transition:none}
@media(min-width:600px){
 .main-cards{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:45px;padding-bottom:120px}
 .main-card-slot:nth-child(1){position:relative;top:80px}.main-card-slot:nth-child(2){position:relative;top:0}.main-card-slot:nth-child(3){position:relative;top:120px}
 .main-card-copy{padding:28px 24px}.main-card-copy .main-card-title{height:30px}
 .main-card-copy h2{font-size:24px}.main-card-copy p{font-size:15px}
}
@media(min-width:1100px){
 .main-cards{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:45px;padding-bottom:120px}
 .main-card-slot:nth-child(1){position:relative;top:80px}
 .main-card-slot:nth-child(2){top:0}.main-card-slot:nth-child(3){position:relative;top:120px}
}
@media(prefers-reduced-motion:reduce){
 .cards-ready .main-card{opacity:1!important;transform:none!important;transition:none!important}
 .main-card:hover .main-card-photo,.main-card:focus-visible .main-card-photo{transform:none}
}

:root{--navy:#202C3C;--navy-2:#25344A;--cream:#F7F2EC;--terracotta:#C8704A;--terracotta-dark:#B35F3B;--ink:var(--navy);--edu:#5387C3;--shop:#E3B92A;--research:#88BD39}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:16px/1.7 Pretendard,sans-serif;word-break:keep-all;overflow-wrap:anywhere}h1,h2,h3,p,figure{margin:0}h1,h2{font-family:온결제목,sans-serif;font-weight:400;line-height:1.2}h2{font-size:34px}h3{line-height:1.35}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}img{display:block;max-width:100%;height:auto}button,a{-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}:focus-visible{outline:3px solid var(--terracotta);outline-offset:5px}[hidden]{display:none!important}.wrap{width:calc(100% - 40px);max-width:1200px;margin:auto}.skip{position:fixed;top:-100px;z-index:20;padding:12px;background:#fff}.skip:focus{top:8px;z-index:200}.utility{border-bottom:1px solid #e5eaf0}.utility .wrap{display:flex;justify-content:flex-end;gap:14px;font-size:11px;padding-block:9px}.head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;min-height:82px;gap:18px;padding-block:14px}.brand{display:inline-flex;align-items:baseline;gap:9px;white-space:nowrap;font-size:30px;font-weight:800;line-height:1.2;letter-spacing:-1px}.brand small{font-size:13px;font-weight:700;letter-spacing:1px}.menu{border:1px solid #dce4ec;border-radius:8px;background:#fff;padding:8px 12px}.nav{display:none;width:100%;flex-direction:column;font-weight:650}.nav.open{display:flex}.nav a{padding:12px 0}.store{border-bottom:2px solid var(--terracotta)}.section{padding:64px 0}.section-title{text-align:center;margin-bottom:32px}.section-title:after{content:'';display:block;width:36px;height:3px;background:var(--terracotta);margin:18px auto 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.work{background:var(--cream);position:relative;overflow:hidden}.work:before{content:'';position:absolute;width:200px;height:200px;border:35px solid #5387c312;border-radius:50%;right:-120px;top:-100px;pointer-events:none}.services{display:grid;grid-template-columns:1fr;gap:0}.service{padding:28px 8px;border-bottom:1px solid #dce5ee}.service svg{width:38px;height:38px;fill:none;stroke:var(--edu);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;margin-bottom:18px}.service:nth-child(2) svg{stroke:var(--research)}.service:nth-child(4) svg{stroke:var(--shop)}.service h3{font-size:23px;margin-bottom:10px}.service p{font-size:15px}.service:hover h3{text-decoration:underline;text-underline-offset:6px}.contact-grid{display:grid;gap:24px;padding-block:48px}.contact-item{padding-bottom:22px;border-bottom:1px solid #dce4ec;min-width:0}.contact-item h3{font-size:17px;margin-bottom:12px}.contact-item strong{font-size:21px}.contact-item p{font-size:14px}.footer{border-top:1px solid #e2e7ec;padding:42px 0 25px}.footer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.footer-grid>div:last-child{grid-column:1/-1}.footer h3{font-size:17px;margin-bottom:18px}.footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:7px;font-size:14px}.footer p{font-size:14px}.footer-bottom{border-top:1px solid #e2e7ec;margin-top:35px;padding-top:20px;display:flex;flex-direction:column;gap:14px;font-size:12px}.footer a:hover{text-decoration:underline}
@media(min-width:700px){.wrap{width:calc(100% - 64px)}.section{padding:88px 0}.services{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.service{padding:30px 20px}.contact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.utility .wrap{font-size:13px;gap:26px}.footer-grid{grid-template-columns:1fr 1fr 1.3fr}.footer-grid>div:last-child{grid-column:auto}.footer-bottom{flex-direction:row;justify-content:space-between}}
@media(min-width:1100px){.menu{display:none}.head{min-height:100px;flex-wrap:nowrap}.brand{font-size:36px}.brand small{font-size:14px}.nav{display:flex;flex-direction:row;width:auto;gap:27px;font-size:15px}.section{padding:100px 0}h2{font-size:44px}.services{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.service{padding:40px 28px;border-bottom:0;border-right:1px solid #dce5ee}.service:last-child{border:0}.contact-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;padding-block:64px}.contact-item{border-bottom:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* 온라인문의: 사진 이동과 등장 효과를 서로 다른 요소에 적용 */
.online-band{position:relative;isolation:isolate;overflow:hidden;width:100%;height:300px;display:grid;place-items:center;background:var(--navy);color:#fff;text-align:center}
.online-band-photo{position:absolute;z-index:-2;left:0;top:calc(-1 * var(--parallax-room,180px));width:100%;max-width:none;height:calc(100% + 2 * var(--parallax-room,180px));object-fit:cover;object-position:50% 50%;pointer-events:none}
.online-band::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(0,0,0,.55);pointer-events:none}
.online-band-copy{width:100%;padding:24px 20px;color:#fff}
.online-band-copy p{font-size:clamp(18px,2.3vw,30px);line-height:1.6;color:#fff}
.online-band-copy p+p{margin-top:8px;font-size:clamp(16px,1.8vw,23px)}
.online-band-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:164px;padding:10px 26px;margin-top:24px;border:1px solid #fff;border-radius:8px;color:#fff;font-weight:700}
.online-band-button:hover,.online-band-button:focus-visible{background:var(--terracotta);border-color:var(--terracotta);color:#fff}
.online-band-button:focus-visible{outline:3px solid #fff;outline-offset:5px}
@media(min-width:760px){.online-band{height:360px}}
@media(prefers-reduced-motion:reduce){.online-band-photo{transform:none!important}}

/* 섹션 제목: 210 도시락체 이미지 (2026-10-29) */
.section-title .title-img{display:block;height:27px;width:auto;margin:0 auto}@media(min-width:768px){.section-title .title-img{height:32px}}@media(min-width:1024px){.section-title .title-img{height:35px}}





/* 한 화면 넘김(PC): JS 초기화 + 화면 조건을 모두 만족할 때만 적용합니다. */
.home-panel-nav{display:none}
@media(min-width:1100px) and (min-height:700px){
 html.home-panel-mode{scroll-behavior:auto;scroll-padding-top:var(--home-header);overflow-x:clip}
 .home-panel-mode .site-header{position:fixed;inset:0 0 auto;z-index:100;background:#fff}
 .home-panel-mode #main{position:relative;padding-top:var(--home-header)}
 .home-panel-mode [data-home-panel]{position:sticky;top:var(--panel-top,var(--home-header));min-height:var(--home-height);margin:0;background-color:#fff;box-shadow:0 -8px 24px #202c3c0d;isolation:isolate}
 .home-panel-mode .hero{height:var(--home-height);background-color:var(--navy)}
 .home-panel-mode .work{background-color:var(--cream);display:flex;align-items:center}
 .home-panel-mode .section{padding-block:28px}
 .home-panel-mode .section-title{margin-bottom:22px}
 .home-panel-mode .online-band{height:var(--contact-band-height,360px);min-height:360px}
 .home-panel-mode .contact-grid{padding-block:24px;gap:20px}
 .home-panel-mode .contact-item{padding-bottom:0}
 .home-panel-mode .contact-item strong{font-size:18px}
 .home-panel-mode .footer{padding-block:24px}
 .home-panel-mode .footer h3{margin-bottom:10px}
 .home-panel-mode .footer-bottom{margin-top:18px;padding-top:14px}
 /* 시각 간격 12px: 일반 점의 중심 간격 18px, 현재 점 인접 간격 19px.
    클릭 상자는 24px 유지. 음수 여백으로 인접 클릭 상자는 5~6px 겹친다. */
 .home-panel-mode .home-panel-nav{position:fixed;z-index:110;right:20px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:0;padding:0;background:none;border:0}
 .home-panel-nav a{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;margin-block:-3px;border-radius:50%}
 .home-panel-nav a[aria-current="true"]{margin-block:-2px}
 .home-panel-nav a::before{content:'';width:6px;height:6px;border:0;border-radius:50%;background:rgba(160,170,180,.5)}
 .home-panel-nav a[aria-current="true"]::before{width:8px;height:8px;background:var(--terracotta)}
 .home-panel-nav a:focus-visible{outline-offset:0}
}

/* 홈 다듬기 7가지: PC 양쪽 높이 공유, 작은 화면은 기존 흐름 유지. */
@media(min-width:1100px){
 .work{min-height:calc(100vh - var(--home-header,140px));display:flex;align-items:center}
 .service svg{width:56px;height:56px}
 .service h3{font-size:28px}
 .service p{font-size:17px}
 .online-band{height:var(--contact-band-height,360px);min-height:360px}
}

/* 패널 꽉 채우기 — PC 한 화면 모드에만 적용 (2026-10-29).
   제목/본문은 유지하고 minmax(0,1fr) 사진 트랙이 남은 높이를 사용합니다. */
@media(min-width:1100px) and (min-height:700px){
 .home-panel-mode [data-home-panel]{height:var(--home-height);min-height:0}
 .home-panel-mode .section{padding-block:6vh 5vh}
 .home-panel-mode .hero{height:var(--home-height)}
 .home-panel-mode .hero-scroll{bottom:0}
 .home-panel-mode .main-cards{
  --card-height:min(calc(var(--home-height) - 11vh - 120px),calc((100vw - 64px - 22px) * 4 / 9));
  grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;
  padding:6vh 32px 5vh;align-content:start;align-items:start;
 }
 .home-panel-mode .main-card{height:var(--card-height);width:100%;max-width:100%;aspect-ratio:auto;margin-inline:0}
 .home-panel-mode .main-card-slot:nth-child(1){top:80px}
 .home-panel-mode .main-card-slot:nth-child(2){top:0}
 .home-panel-mode .main-card-slot:nth-child(3){top:120px}
 .home-panel-mode .work{display:block}
 .home-panel-mode .work>.wrap{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr)}
 .home-panel-mode .services{min-height:0;align-items:stretch}
 .home-panel-mode .service{display:flex;flex-direction:column;justify-content:center}
 .home-panel-mode .service svg{flex-shrink:0}
 .home-panel-mode #home-contact{display:flex;flex-direction:column}
 .home-panel-mode #home-contact>.online-band{flex:1;min-height:0;height:auto}
 .home-panel-mode #home-contact>.contact-grid{flex:none;margin-block:0}
 .home-panel-mode #home-contact>.footer{flex:none}
}

/* 회사정보: 실제 사진 + 남색 60%, 직접 그린 선형 아이콘 */
.company-info{position:relative;isolation:isolate;display:grid;place-items:center;min-height:100svh;padding:64px 24px;background:var(--navy);color:#fff}
.company-info-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.company-info::before{content:'';position:absolute;inset:0;z-index:-1;background:rgba(32,44,60,.6)}
.company-info-inner{width:100%;max-width:920px;min-width:0;text-align:center}
.company-info-heading{margin-bottom:36px}
.company-info-heading h2{color:#fff;font-size:clamp(36px,4.4vw,64px);line-height:1.2}
.company-info-heading p{color:#fff;font-size:clamp(15px,1.6vw,20px);line-height:1.6;margin-top:16px}
.company-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #ffffff4d;border-left:1px solid #ffffff4d}
.company-info-link{min-width:0;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px 8px;border-right:1px solid #ffffff4d;border-bottom:1px solid #ffffff4d;font-size:16px;line-height:1.5;color:#fff;transition:background-color .3s}
.company-info-link svg{width:30px;height:30px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
.company-info-link small{font-size:12px;line-height:1.5;margin-top:-8px}
.company-info-link:hover,.company-info-link:focus-visible{background:rgb(255 255 255 / 12%)}
.company-info-link:hover svg,.company-info-link:focus-visible svg{transform:translateY(-4px)}
.company-info-link:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.info-ready:not(.info-visible) .company-info-heading,.info-ready:not(.info-visible) .company-info-link{opacity:0;transform:translateY(24px)}
.info-ready.info-visible .company-info-heading{animation:company-info-in .65s both}
.info-ready.info-visible .company-info-link{animation:company-info-in .65s var(--info-delay) both}
@keyframes company-info-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media(max-width:599px){
 .company-info{padding:48px 20px}
 .company-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .company-info-link{min-height:125px}
 .main-card-slot{top:auto}
}
@media(min-width:600px) and (max-width:1099px){
 .main-card-copy{padding:16px 12px}.main-card-copy h2{font-size:18px}.main-card-copy p{font-size:13px}
 .main-card-copy .main-card-title{height:24px}
}
@media(min-width:1100px) and (min-height:700px){
 .home-panel-mode .company-info{background-color:var(--navy);min-height:var(--home-height);padding:28px 64px}
}
@media(prefers-reduced-motion:reduce){
 .company-info .company-info-heading,.company-info .company-info-link{opacity:1!important;transform:none!important;animation:none!important}
 .company-info-link:hover svg,.company-info-link:focus-visible svg{transform:none}
}

/* PROCESS: 기본은 전부 표시, 관찰 성공 시에만 첫 등장 효과를 적용. */
.process{position:relative;isolation:isolate;display:grid;place-items:center;min-height:calc(100svh - 140px);padding:64px 0;background:linear-gradient(to bottom,#232F42 0%,#25344A 100%);color:#fff}
.process-inner{width:100%;min-width:0}
.process-heading{text-align:center;padding-inline:24px;margin-bottom:64px}
.process-heading h2{margin:0 0 22px;line-height:1}
.process-heading img{height:35px;width:auto;max-width:100%;object-fit:contain;margin:auto}
.process-heading p{color:#fff;font-size:clamp(15px,1.2vw,20px);line-height:1.7;margin:0;overflow-wrap:anywhere}
.process-timeline{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:80%;margin:0 auto;padding:0;list-style:none}
.process-timeline::before{content:'';position:absolute;top:6px;left:0;right:0;height:1px;background:var(--terracotta);transform-origin:left}
.process-step{position:relative;min-width:0;text-align:center;--step-delay:.4s}
.process-dot{position:relative;display:block;width:12px;height:12px;margin:0 auto 30px;border-radius:50%;background:var(--terracotta)}
.process-icon{display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#fff;margin:0 auto 20px;transition:scale .3s,box-shadow .3s}
.process-icon svg{width:48px;height:48px;fill:none;stroke:var(--navy);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.process-step-body{display:block;color:inherit;text-decoration:none;border-radius:12px}
.process-step-body:focus-visible .process-icon{scale:1.06}
@media(hover:hover) and (pointer:fine){.process-step-body:hover .process-icon{scale:1.06}}
.process-step-body h3,.process-step-body:hover h3,.process-step-body:focus-visible h3{text-decoration:none}
.process-step-body:focus-visible{outline:2px solid #fff;outline-offset:6px}
.process-icon svg{stroke:var(--edu);stroke-width:1.4}
.process-step:nth-child(2) .process-icon svg{stroke:var(--research)}
.process-step:nth-child(3) .process-icon svg{stroke:var(--shop)}
.process-number{display:block;font:32px/1.2 온결제목,Jua,sans-serif;margin-bottom:14px;color:#fff}
.process-copy h3{font:800 clamp(17px,1.4vw,24px)/1.5 Pretendard,sans-serif;color:#fff;margin:0 6px 12px;overflow-wrap:anywhere}
.process-copy p{font-size:clamp(13px,1vw,17px);line-height:1.7;color:#ffffffb3;margin:0 6px;overflow-wrap:anywhere}
.process-ready:not(.process-visible) .process-heading .process-intro-part{opacity:0;transform:translateY(14px)}
.process-ready:not(.process-visible) .process-timeline::before{transform:scaleX(0)}
.process-ready:not(.process-visible) .process-dot{opacity:0}
.process-ready:not(.process-visible) :is(.process-icon,.process-number,.process-copy h3,.process-copy p){opacity:0;transform:translateY(28px)}
.process-ready.process-visible .process-heading .process-intro-part{animation:process-intro-rise .6s var(--intro-delay,0s) cubic-bezier(.22,1,.36,1) both}
.process-ready.process-visible .process-timeline::before{animation:process-line 1.6s .96s linear both}
.process-ready.process-visible .process-dot{animation:process-dot-in .1s var(--step-delay) both}
.process-ready.process-visible :is(.process-icon,.process-number,.process-copy h3,.process-copy p){animation:process-rise .8s calc(var(--step-delay) + var(--part-delay,0s)) cubic-bezier(.22,1,.36,1) both}
.process-number{--part-delay:.15s}.process-copy h3{--part-delay:.3s}.process-copy p{--part-delay:.45s}
.process-icon{position:relative}
.process-icon::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 20px #ffffff30;pointer-events:none;opacity:0}
.process-ready.process-visible .process-icon::after{animation:process-glow 3s calc(var(--step-delay) + .8s) ease-in-out infinite both}
@keyframes process-glow{0%,100%{opacity:.35}50%{opacity:.75}}
.process-visible .process-step:last-child .process-dot::after{content:'';position:absolute;inset:-8px;border:1px solid var(--terracotta);border-radius:50%;animation:process-breathe 3s 2.36s ease-in-out infinite both}
@keyframes process-rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes process-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes process-dot-in{from{opacity:0}to{opacity:1}}
@keyframes process-breathe{0%,100%{opacity:.25;transform:scale(.8);box-shadow:0 0 8px #ffffff20}50%{opacity:.7;transform:scale(1.2);box-shadow:0 0 20px #ffffff40}}
@media(min-width:600px) and (max-width:1099px){
 .process-timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 20px;width:calc(100% - 64px)}
 .process-timeline::before{display:none}
 .process-step::before{transform-origin:left;content:'';position:absolute;left:0;right:0;top:6px;height:1px;background:var(--terracotta)}
 .process-ready:not(.process-visible) .process-step::before{transform:scaleX(0)}
 .process-ready.process-visible .process-step::before{animation:process-line .6s var(--step-delay) linear both}
 .process-heading{margin-bottom:40px}
}
@media(max-width:599px){
 .process{padding:48px 0}.process-heading{margin-bottom:36px}.process-heading img{height:30px}
 .process-timeline{display:block;width:calc(100% - 40px)}
 .process-timeline::before{left:6px;right:auto;top:0;bottom:0;height:auto;width:1px;transform-origin:top}
 .process-step{text-align:left;padding:0 0 32px 30px}.process-step:last-child{padding-bottom:0}
 .process-dot{position:absolute;left:0;top:36px;margin:0}
 .process-step-body{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:start}
 .process-icon{width:64px;height:64px;margin:10px 0 0}.process-icon svg{width:40px;height:40px}
 .process-number{margin-bottom:6px}.process-copy h3{margin:0 0 8px;font-size:17px}.process-copy p{margin:0;font-size:14px}.process-copy br{display:none}
 .process-ready:not(.process-visible) .process-timeline::before{transform:scaleY(0)}
 .process-ready.process-visible .process-timeline::before{animation-name:process-line-vertical}
}
@keyframes process-line-vertical{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@media(min-width:1100px) and (min-height:700px){
 .home-panel-mode .process{padding:24px 0;background-color:var(--navy)}
 .home-panel-mode .process-heading{margin-bottom:clamp(28px,6vh,64px)}
}
@media(prefers-reduced-motion:reduce){
 .process *, .process *::before,.process *::after{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}
 .process-step:last-child .process-dot::after{display:none}
}
/* 꽉 찬 화면: 홈에만 적용 */
body.home-v5{--home-header:122px;overflow-x:clip}
body.home-v5 #main{padding-top:0}
body.home-v5 [data-home-panel]{scroll-margin-top:0}
body.home-v5 .hero{height:100vh;height:100svh}
body.home-v5 .hero-scroll{bottom:0}
body.home-v5 .section,body.home-v5 .company-info,body.home-v5 .process{padding-top:calc(var(--home-header) + 24px)}
body.home-v5 .process,body.home-v5 .company-info{min-height:100vh;min-height:100svh}
body.home-v5 .main-cards{padding-top:calc(var(--home-header) + 12px)}
body.home-v5 .online-band-copy{padding-top:calc(var(--home-header) + 16px)}
@media(min-width:1100px){
 body.home-v5{--home-header:141px}
 body.home-v5 [data-home-panel]{height:100vh;min-height:0}
 body.home-v5 .section{padding-bottom:24px}
 body.home-v5 .main-cards{--card-height:min(78vh,calc(100vh - var(--home-header) - 48px));padding:calc(var(--home-header) + 12px) 32px 12px;align-items:start;align-content:start;gap:11px}
 body.home-v5 .main-card{height:var(--card-height);aspect-ratio:auto;max-width:100%;margin:0}
 body.home-v5 .main-card-slot:nth-child(1){top:12px}
 body.home-v5 .main-card-slot:nth-child(2){top:0}
 body.home-v5 .main-card-slot:nth-child(3){top:24px}
 body.home-v5 .work{display:block}
 body.home-v5 .work>.wrap{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr)}
 body.home-v5 .services{min-height:0;align-items:stretch}
 body.home-v5 .service{display:flex;flex-direction:column;justify-content:center}
 body.home-v5 .service svg{flex-shrink:0}
 body.home-v5 #home-contact{display:flex;flex-direction:column;height:auto;min-height:100vh}
 body.home-v5 #home-contact>.online-band{flex:none;height:var(--contact-band-height,360px);min-height:calc(var(--home-header) + 200px)}
 body.home-v5 #home-contact>.contact-grid{flex:none;margin-block:0;padding-block:24px}
 body.home-v5 #home-contact>.footer{flex:none;padding-block:24px}
}
@media(max-width:1099px){
 body.home-v5 .nav.open{max-height:calc(100svh - var(--home-header));overflow-y:auto}
}
@media(max-width:599px){
 body.home-v5 .company-info-link{min-height:96px;gap:6px;padding:10px 4px;font-size:14px}
 body.home-v5 .company-info-heading{margin-bottom:20px}
}
@media(min-width:1100px) and (max-height:699px){
 /* 낮은 창/확대 환경은 콘텐츠가 잘리지 않도록 일반 스크롤 허용 */
 body.home-v5 [data-home-panel]:not(.hero){height:auto;min-height:100vh}
}
@media(max-width:1099px){
 body.home-v5 [data-home-panel]:not(.hero){min-height:100vh;min-height:100svh}
}

/* WHAT WE DO 통합: 헤더 아래 가용 높이 안에서 내용 묶음을 세로 중앙 정렬. */
body.home-v5 .process{padding-block:calc(var(--home-header) + 24px) 24px;align-content:center}
@media(min-width:1100px){
 body.home-v5 .process-heading{margin-bottom:clamp(28px,5vh,54px)}
 body.home-v5 .process-copy p{max-width:24ch;margin-inline:auto;padding-inline:6px}
}

/* 메인 2분할 — 기존 10개 패널·겹침 헤더 체계 유지 */
body.home-v5 .split-hero{position:relative;isolation:isolate;height:100vh;overflow:hidden;background:var(--navy);touch-action:pan-y pinch-zoom}
.split-side{position:absolute;inset:0;clip-path:polygon(0 0,53% 0,47% 100%,0 100%);animation:split-left-in 1.2s cubic-bezier(.22,.61,.36,1) both}
.split-store{clip-path:polygon(53% 0,100% 0,100% 100%,47% 100%);animation-name:split-right-in}
.split-media{position:absolute;inset:0 47% 0 0;overflow:hidden}
.split-store .split-media{inset:0 0 0 47%}
.split-media img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;transition:transform .6s ease;user-select:none}
.split-media::after{content:'';position:absolute;inset:0;background:rgba(32,44,60,.45);transition:background .6s ease}
.split-copy{position:absolute;inset:0 54% 0 2%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--home-header,141px) 12px 60px;text-align:center;color:#fff}
.split-store .split-copy{inset:0 2% 0 54%}
.split-copy h1,.split-copy h2{font-family:온결제목,Jua,sans-serif;font-size:clamp(36px,3.4vw,60px);font-weight:400;line-height:1.25;color:#fff}
.split-copy p{margin-top:24px;font-size:17px;line-height:1.7;color:rgba(255,255,255,.9)}
.split-copy p>span{display:block}
.split-button{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:6px;max-width:100%;height:48px;margin-top:28px;padding:0 24px;border:1px solid #fff;border-radius:999px;color:#fff;transition:color .6s,background .6s}
.split-button:hover,.split-button:focus-visible{background:#fff;color:var(--navy)}
.split-button:focus-visible{outline:2px solid #fff;outline-offset:5px}
.split-copy>*,.split-copy p>span{animation:split-copy-in .6s both}
.split-copy h1,.split-copy h2{animation-delay:1.2s}
.split-copy p{animation:none}
.split-copy p>span:nth-child(1){animation-delay:1.32s}
.split-copy p>span:nth-child(2){animation-delay:1.44s}
.split-copy p>span:nth-child(3){animation-delay:1.56s}
.split-copy .split-button{animation-delay:1.68s}
.split-divider{position:absolute;inset:0;z-index:3;pointer-events:none;background:rgba(255,255,255,.4);clip-path:polygon(calc(53% - .5px) 0,calc(53% + .5px) 0,calc(47% + .5px) 100%,calc(47% - .5px) 100%);animation:split-line-in .2s 1.2s both}
@media(hover:hover){.split-side:hover .split-media img{transform:scale(1.05)}.split-side:hover .split-media::after{background:rgba(32,44,60,.37)}}
.split-side:focus-within{animation:none}
.split-side:focus-within .split-copy *{animation:none}
@keyframes split-left-in{from{transform:translateX(-100%)}to{transform:none}}
@keyframes split-right-in{from{transform:translateX(100%)}to{transform:none}}
@keyframes split-copy-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes split-line-in{from{opacity:0}to{opacity:1}}
@media(max-width:1099px){
 body.home-v5 .split-hero{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr)}
 .split-side,.split-store{position:relative;inset:auto;clip-path:none;min-height:60vh;min-height:60svh;display:grid}
 .split-media,.split-store .split-media{inset:0}
 .split-copy,.split-store .split-copy{position:relative;inset:auto;min-width:0;padding:48px 20px 60px}
 .split-education .split-copy{padding-top:calc(var(--home-header,122px) + 32px)}
 .split-divider{display:none}
}
@media(prefers-reduced-motion:reduce){
 .split-hero *,.split-hero *::after{animation:none!important;transition:none!important;transform:none!important;opacity:1!important}
}
@media(min-width:1100px) and (min-height:700px){
 html.home-panel-mode body.home-v5 .split-hero{position:sticky;top:var(--panel-top,0px)}
}
body.home-v5 #home-contact,
body.home-v5 .contact-grid,body.home-v5 .footer{background-color:var(--cream)}
/* 흰 글씨/테라코타 3:1 이상: AA 큰 글자 기준(굵은 18.67px 이상). */
.online-band-button{font-size:19px;font-weight:700}


/* v14: 두 상태가 공유하는 단일 사진 무대. 일반 스크롤에서는 긴 한 장으로 연결. */
.home-shared-scene{position:relative;isolation:isolate;min-width:0;max-width:100%;background:#202C3C}
.home-shared-stage{position:relative;isolation:isolate;min-width:0}
/* v19: 사진만 교차 전환하고 덮개·좌표·크기는 고정합니다. */
.home-shared-background,.home-section-background{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.home-shared-background{display:none}
.home-shared-background img,.home-section-background img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.home-shared-background::after,.home-section-background::after{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,rgba(32,44,60,.9) 0%,rgba(32,44,60,.82) 18%,rgba(32,44,60,.82) 82%,rgba(32,44,60,.9) 100%)}
.home-panel-mode .home-shared-background{display:block}
.home-panel-mode .home-section-background{display:none}
/* 아래 사진은 불투명하게 유지하여 교차 중 배경이 어두워지는 현상을 방지합니다. */
.home-shared-background .home-photo-company{opacity:0;transition:opacity var(--home-photo-duration,800ms) ease}
.home-shared-scene.is-company .home-photo-company{opacity:1}
html:not(.home-panel-mode) body.home-v5 .home-shared-stage>[data-home-panel]{position:relative;isolation:isolate}
/* v16: 공통 사진 위의 글 가독성 보강. 흰 원과 테라코타 점은 유지. */
#home-process :is(.process-heading,.process-copy){text-shadow:0 1px 8px rgba(0,0,0,.35)}
#home-process .process-heading img{filter:drop-shadow(0 1px 8px rgba(0,0,0,.35))}
#home-process :is(.process-heading p,.process-copy p){color:rgba(255,255,255,.9)}
body.home-v5 .home-shared-stage> :is(.process,.company-info){background:none;box-shadow:none;isolation:auto}
.home-shared-stage .company-info::before{display:none}
html:not(.home-panel-mode) body.home-v5 .home-shared-stage>[data-home-panel]{height:auto;min-height:100svh}
.home-panel-mode .home-shared-scene{position:sticky;top:calc(-1 * var(--home-height));height:calc(2 * var(--home-height))}
.home-panel-mode .home-shared-stage{position:sticky;top:0;height:var(--home-height)}
html.home-panel-mode body.home-v5 .home-shared-stage>[data-home-panel]{position:absolute;inset:0;top:0;height:var(--home-height);min-height:0;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(30px);transition:opacity .6s ease,transform .6s ease,visibility 0s .6s}
html.home-panel-mode body.home-v5 .home-shared-stage>#home-process{transform:translateY(-30px)}
html.home-panel-mode body.home-v5 .home-shared-scene:not(.is-company) #home-process,
html.home-panel-mode body.home-v5 .home-shared-scene.is-company #home-company{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:.12s,.12s,0s}
/* 무대의 내용 전환만 사용하고 회사정보 내부의 중복 상승은 끕니다. hover는 유지. */
.home-panel-mode .home-shared-stage .company-info-heading,
.home-panel-mode .home-shared-stage .company-info-link{opacity:1;transform:none;animation:none}
@media(prefers-reduced-motion:reduce){
 .home-shared-stage,.home-shared-stage *{scroll-behavior:auto}
 .home-shared-stage>[data-home-panel]{transform:none!important;transition-property:opacity,visibility!important}
}

/* v26: 0↔1은 WHAT WE DO 사진·덮개·본문 무대 전체를 함께 흐림 전환합니다. */
@media(min-width:1100px) and (min-height:700px){
 html.home-panel-mode.home-intro-blur body.home-v5 #home-intro{z-index:50;will-change:filter,opacity,transform;pointer-events:none}
 html.home-panel-mode.home-intro-blur body.home-v5 .home-shared-stage{will-change:filter,opacity;pointer-events:none}
}
@media(prefers-reduced-motion:reduce){
 html.home-panel-mode.home-intro-blur body.home-v5 #home-intro,
 html.home-panel-mode.home-intro-blur body.home-v5 .home-shared-stage{will-change:opacity}
}




/* v24: 최초 1회 소개 영상. 정지 상태는 마지막 장면 포스터를 사용합니다. */
body.home-v5 #home-intro{position:relative;height:100vh;height:100svh;min-height:0;padding:0;background:#202C3C;overflow:clip;isolation:isolate;box-shadow:none}
/* v29: 고해상도 영상과 포스터를 투명 헤더 뒤까지 화면 전체에 채웁니다. */
.home-intro-media{position:absolute;inset:0;overflow:hidden;background:#202C3C}
.home-intro-media video,.home-intro-poster{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;background:#202C3C;border:0;box-shadow:none;border-radius:0}
.home-intro-poster{visibility:hidden}
.home-intro.is-poster video{visibility:hidden}
.home-intro.is-poster .home-intro-poster{visibility:visible}
.home-intro-skip{position:absolute;right:clamp(20px,4vw,64px);bottom:calc(24px + env(safe-area-inset-bottom));z-index:1;min-height:44px;padding:8px 18px;border:1px solid #ffffff80;border-radius:999px;background:#202c3c66;color:#fff;font-size:14px}
.home-intro-skip:focus-visible{outline:2px solid #fff;outline-offset:4px}
/* v30: 모바일·세로 화면도 영상과 포스터를 중앙 기준 cover로 채웁니다. */
html.home-panel-mode body.home-v5 #home-intro{position:sticky;top:0;height:var(--home-height)}
@media(prefers-reduced-motion:reduce){
 html.home-intro-blur body.home-v5 #home-intro{will-change:opacity}
}

/* v27: 자동재생이 차단되면 첫 프레임 위에 수동 재생 버튼을 표시합니다. */
.home-intro-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;width:52px;height:52px;display:grid;place-items:center;padding:0 0 0 3px;border:1px solid #fff;border-radius:50%;background:#202c3c66;color:#fff;font-size:20px}
.home-intro-play:focus-visible{outline:2px solid #fff;outline-offset:5px}


/* v30: 회사정보 링크 표만 확대. 제목·설명·선·hover는 기존 규칙 유지. */
body.home-v5 #home-company{padding-inline:4vw}
#home-company .company-info-inner{max-width:1110px;width:100%;margin-inline:auto}
#home-company .company-info-grid{width:100%;max-width:92vw;margin-inline:auto}
#home-company .company-info-link{min-height:clamp(150px,calc((100svh - var(--home-header) - 220px) / 2),225px);gap:18px;padding:clamp(10px,calc((100svh - 600px) / 10),24px) 12px;font-size:24px}
#home-company .company-info-link svg{width:45px;height:45px}
#home-company .company-info-link small{font-size:18px;margin-top:-12px}
@media(max-width:767px){
 #home-company .company-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #home-company .company-info-link{min-height:104px;gap:7.2px;padding:8px 4px;font-size:16.8px}
 #home-company .company-info-link svg{width:36px;height:36px}
 #home-company .company-info-link small{font-size:14.4px;margin-top:-9.6px}
}

/* v33: 대표님 문구 블록. 기존 배경·패널·크로스페이드 제어 유지. */
#home-process .process-heading{margin-bottom:clamp(24px,4vh,40px);padding-inline:20px}
#home-process .process-label{display:flex;align-items:center;justify-content:center;gap:16px;margin:0 0 16px;color:rgba(255,255,255,.8);font-size:18px;font-weight:800;line-height:1.5}
#home-process .process-label::before,#home-process .process-label::after{content:'';width:48px;height:1px;flex:0 0 48px;background:#C8704A}
#home-process #process-title{margin:0 0 18px;font-family:온결제목,Jua,sans-serif;font-weight:700;font-size:clamp(34px,3.4vw,58px);line-height:1.25;color:#fff;word-break:keep-all;overflow-wrap:anywhere}
#home-process .process-title-line,#home-process .process-description>span{display:block}
#home-process .process-title-line:first-child{--intro-delay:.12s}
#home-process .process-title-line:last-child{--intro-delay:.24s}
#home-process .process-description{--intro-delay:.36s;margin:0;color:rgba(255,255,255,.85);font-size:clamp(17px,1.2vw,19px);line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
@keyframes process-intro-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(min-width:600px) and (max-width:1099px){
 #home-process .process-timeline{gap:24px 20px}
 #home-process .process-dot{margin-bottom:12px}
 #home-process .process-icon{width:60px;height:60px;margin-bottom:8px}
 #home-process .process-icon svg{width:36px;height:36px}
 #home-process .process-number{font-size:26px;margin-bottom:4px}
 #home-process .process-copy h3{margin-bottom:4px}
}
@media(max-width:599px){
 body.home-v5 #home-process{padding-block:calc(var(--home-header) + 16px) 20px}
 #home-process .process-heading{padding-inline:16px;margin-bottom:24px}
 #home-process #process-title{font-size:28px;margin-bottom:14px}
 #home-process .process-label{gap:12px;margin-bottom:12px}
 #home-process .process-step{padding-bottom:16px;padding-left:24px}
 #home-process .process-step:last-child{padding-bottom:0}
 #home-process .process-step-body{grid-template-columns:48px minmax(0,1fr);gap:12px}
 #home-process .process-icon{width:48px;height:48px;margin-top:6px}
 #home-process .process-icon svg{width:32px;height:32px}
 #home-process .process-number{font-size:22px;margin-bottom:2px}
 #home-process .process-copy h3{margin-bottom:2px}
}

/* #321: 준비된 210 밀레니얼 PNG 제목. 높이 환산 너비와 auto로 축소 시 비율 유지. */
#company-info-title,#home-process #process-title,.split-copy h2,.online-band-copy p:first-child{text-shadow:none}
body.home-v5 img.millennial-title{display:inline-block;max-width:100%;height:auto;vertical-align:middle;filter:drop-shadow(0 2px 8px rgba(0,0,0,.35))}
#company-info-title .millennial-title{width:calc(clamp(44px,4.4vw,72px) * 3.9142857143)}
#home-process .millennial-process-title{display:block;--intro-delay:.12s}
#process-title .millennial-title{width:clamp(300px,36vw,640px)}
.split-copy h2{max-width:100%;min-width:0}
.split-education .millennial-title{width:calc(clamp(36px,3.4vw,60px) * 8.4896551724)}
.split-store .millennial-title{width:calc(clamp(36px,3.4vw,60px) * 7.4551724138)}


/* #330 / 홈 v35: 마지막 문의 화면의 원래 텍스트와 사진·하단 비율 복원. */
body.home-v5 #home-contact{background:var(--cream)}
body.home-v5 #home-contact .online-band-copy{padding:24px 20px}
body.home-v5 #home-contact .online-band-copy p:first-child{font-family:Pretendard,sans-serif;font-size:clamp(22px,1.9vw,32px);font-weight:400;line-height:1.6;color:#fff}
body.home-v5 #home-contact .online-band-copy p+p{margin-top:8px;font-size:20px;font-weight:400;line-height:1.6;color:#fff}
body.home-v5 #home-contact .online-band-button{margin-top:24px;font-size:17px;font-weight:400}
body.home-v5 #home-contact>.footer{padding:18px 0 12px}
body.home-v5 #home-contact .footer h3{margin-bottom:8px;font-size:15px}
body.home-v5 #home-contact .footer nav{gap:2px;font-size:13px;line-height:1.5}
body.home-v5 #home-contact .footer p{font-size:13px;line-height:1.5}
body.home-v5 #home-contact .footer-grid{gap:20px}
body.home-v5 #home-contact .footer-bottom{margin-top:12px;padding-top:10px;gap:8px;font-size:11px;line-height:1.5}
@media(min-width:1100px){
 body.home-v5 #home-contact{display:flex;flex-direction:column;height:auto;min-height:100svh}
 /* 기존 JS가 실제 문의 줄과 푸터 높이를 빼므로 텍스트 확대 때도 잘리지 않습니다. */
 body.home-v5 #home-contact>.online-band{flex:none;height:var(--contact-band-height,65svh);min-height:360px}
 body.home-v5 #home-contact>.contact-grid{flex:none;min-height:84px;margin-block:0;padding-block:12px;gap:24px;align-items:center}
 body.home-v5 #home-contact .contact-item{padding:0;border-bottom:0}
 body.home-v5 #home-contact .contact-item h3{font-size:14px;margin-bottom:2px}
 body.home-v5 #home-contact .contact-item strong{font-size:18px;line-height:1.5}
 body.home-v5 #home-contact .contact-item p{font-size:12px;line-height:1.5}
 body.home-v5 #home-contact>.footer{flex:none;min-height:calc(35svh - 84px)}
}
@media(max-width:699px){
 body.home-v5 #home-contact>.footer{padding:28px 0 20px}
 body.home-v5 #home-contact .online-band-copy p+p{font-size:18px}
}

/* 홈 v38: FAMILY STORY — 왼쪽 2×2 카드, 오른쪽 수업 소개. */
body.home-v5 #home-gallery{height:auto;min-height:100svh;padding:calc(var(--home-header,141px) + 20px) 32px 28px;background:#F6F8FA;color:#202C3C;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.gallery-title{margin:0;flex:none;line-height:1;max-width:100%}
.gallery-title img{display:block;width:auto;height:clamp(34px,3.2vw,46px);max-width:100%;object-fit:contain;margin:auto}
.gallery-title::after{content:'';display:block;width:36px;height:3px;margin:12px auto 0;background:#5387C3}
.gallery-description{margin:0;text-align:center;font-size:16px;line-height:1.6}
.family-story-layout{display:grid;grid-template-columns:minmax(0,45fr) minmax(0,55fr);align-items:center;gap:32px;width:min(100%,1200px);margin-top:12px}
.gallery-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.gallery-card{min-width:0;border:1px solid #DCE3E8;border-radius:8px;background:#fff;overflow:hidden}
.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:44px;padding:0 8px;background:#F3F6F9;border-bottom:1px solid #DCE3E8}
.gallery-card-shop .gallery-heading{background:#FFF3C4}
.gallery-heading h3{margin:0;font:800 clamp(12px,1.05vw,15px)/1.4 Pretendard,sans-serif;color:#202C3C}
.gallery-heading a{display:inline-flex;align-items:center;flex:none;min-height:44px;font-size:11px;font-weight:700}
.gallery-heading a:hover{text-decoration:underline;text-underline-offset:4px}
.gallery-heading a:focus-visible{outline-offset:-3px}
.gallery-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}
.gallery-photo{position:relative;min-width:0;aspect-ratio:1;margin:0;border-radius:5px;overflow:hidden;isolation:isolate}
.gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.gallery-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:6px;background:rgb(32 44 60 / 65%);color:#fff;text-align:center;font-size:12px;font-weight:700;opacity:0;transition:opacity .35s ease;pointer-events:none}
.gallery-photo:hover img,.gallery-photo:focus-visible img{transform:scale(1.06)}
.gallery-photo:hover .gallery-overlay,.gallery-photo:focus-visible .gallery-overlay{opacity:1}
.gallery-photo:focus-visible{outline:3px solid #5387C3;outline-offset:-3px}
.gallery-ready .gallery-card{opacity:0;transform:translateY(24px);transition:opacity .6s ease var(--gallery-delay),transform .6s ease var(--gallery-delay)}
.gallery-ready.gallery-visible .gallery-card{opacity:1;transform:none}
.family-story-feature{min-width:0}
.family-story-media{width:100%;aspect-ratio:16/10;overflow:hidden;border-radius:24px 24px 88px 24px;background:#E3F4F7}
.family-story-media img{display:block;width:100%;height:100%;object-fit:cover}
.family-story-feature h3{margin:20px 0 8px;font-size:clamp(20px,2vw,28px);font-weight:800;line-height:1.4}
.family-story-feature p{margin:0;font-size:16px;line-height:1.6}
.family-story-more{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:18px;padding:9px 24px;border:1px solid #202C3C;border-radius:12px;background:#fff;color:#202C3C;font-weight:700}
.family-story-more:hover{background:#E3F4F7}
.family-story-more:focus-visible{outline:3px solid #5387C3;outline-offset:4px}
@media(min-width:1100px) and (min-height:700px){
 body.home-v5 #home-gallery{height:var(--home-height,100vh);min-height:0}
 /* 세로가 짧은 PC에서도 사진과 소개가 한 화면에 들어가도록 전체 너비를 함께 축소합니다. */
 .family-story-layout{width:min(100%,1200px,calc((100svh - var(--home-header,141px) - 240px) * 2))}
}
@media(max-width:1099px){
 body.home-v5 #home-gallery{padding-inline:24px;padding-bottom:40px}
 .family-story-layout{grid-template-columns:minmax(0,1fr);width:min(100%,680px);gap:28px}
 .gallery-heading h3{font-size:16px}
 .gallery-heading a{font-size:12px}
}
@media(max-width:599px){
 body.home-v5 #home-gallery{padding-inline:16px}
 .gallery-title img{height:auto;width:min(100%,300px)}
 .gallery-description{font-size:14px}
 .gallery-cards{gap:8px}
 .gallery-heading{flex-wrap:wrap;align-content:center;gap:0;padding:6px 7px}
 .gallery-heading h3{font-size:13px;flex:1 0 100%}
 .gallery-heading a{margin-left:auto;min-height:32px}
 .gallery-photos{gap:4px;padding:5px}
 .family-story-media{border-radius:18px 18px 56px 18px}
 .family-story-feature p{font-size:14px}
}
@media(hover:none){.gallery-overlay{inset:auto 0 0;opacity:1;padding:4px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.gallery-card,.gallery-photo img,.gallery-overlay{transition:none!important;transform:none!important}.gallery-ready .gallery-card{opacity:1}}
.home-shared-background .home-photo-company,#home-company .home-section-background img{object-position:50% 50%}
.home-shared-background .home-photo-process,#home-process .home-section-background img{object-position:50% 50%}
/* 문의 띠: 배경 사진 비율(1747x900) 그대로 최대한 보이게 */
body.home-v5 #home-contact>.online-band{flex:none!important;height:max(360px,min(100vh,calc(100vw * 900 / 1747)))!important;min-height:0!important}
body.home-v5 #home-contact .online-band-photo{top:0;height:100%;transform:none!important;object-fit:cover;object-position:50% 50%}
body.home-v5 #home-contact>.footer{min-height:0!important}
body.home-v5 #home-contact .online-band::before{background:linear-gradient(to bottom,rgba(32,44,60,.9) 0%,rgba(32,44,60,.82) 18%,rgba(32,44,60,.82) 82%,rgba(32,44,60,.9) 100%)}
/* 하는 일: 사진(덮개 있음) 1초 → 1~1.5초 글이 아래쪽에 천천히 등장 → 2.6초 위로 올라감 → 4단계 등장 (PC) */
@media(min-width:901px) and (prefers-reduced-motion:no-preference){
 #home-process.process-ready.process-visible .process-heading{animation:ong-heading-lift 1s 2.6s cubic-bezier(.65,0,.35,1) both}
 #home-process.process-ready.process-visible .process-heading .process-intro-part{animation-duration:1s;animation-timing-function:ease-out;animation-delay:calc(var(--intro-delay,0s) * 1.5 + .82s)}
 #home-process.process-ready.process-visible .process-timeline::before{animation-delay:3.6s}
 #home-process.process-ready.process-visible .process-dot{animation-delay:calc(var(--step-delay) + 2.4s)}
 #home-process.process-ready.process-visible :is(.process-icon,.process-number,.process-copy h3,.process-copy p){animation-delay:calc(var(--step-delay) + var(--part-delay,0s) + 2.4s)}
 #home-process.process-ready.process-visible .process-icon::after{animation-delay:calc(var(--step-delay) + 3.2s)}
 #home-process.process-visible .process-step:last-child .process-dot::after{animation-delay:4.76s}
}
@keyframes ong-heading-lift{from{transform:translateY(27vh)}to{transform:none}}
/* 교육지원·스토어: 마우스 올린 쪽은 확대, 반대쪽은 다른 화면과 같은 어두운 덮개 */
@media(hover:hover){.split-hero:has(.split-side:hover) .split-side:not(:hover) .split-media::after{background:rgba(32,44,60,.82)}}
/* FAMILY STORY: 큰 화면에서 사진 카드·영상 영역을 화면 크기에 맞춰 확대 */
@media(min-width:1100px) and (min-height:700px){.family-story-layout{width:min(100%,1840px,calc((100svh - var(--home-header,141px) - 230px) * 2))}
 .gallery-heading h3{font-size:clamp(15px,1.05vw,20px)} .gallery-heading a{font-size:clamp(11px,.75vw,14px)} .gallery-overlay{font-size:clamp(12px,.8vw,16px)}
 .family-story-feature h3{font-size:clamp(24px,1.8vw,36px)} .family-story-feature p{font-size:clamp(16px,1vw,19px)}}
/* FAMILY STORY: 소개 영상 (소리 없이 자동 반복, 버튼으로 소리 켜기) */
.family-story-media{position:relative}
.family-story-video{display:block;width:100%;height:100%;object-fit:cover;background:#202C3C}
.family-story-sound{position:absolute;left:16px;bottom:16px;min-height:40px;padding:8px 14px;border:0;border-radius:999px;background:rgba(32,44,60,.72);color:#fff;font:700 14px/1 Pretendard,sans-serif;cursor:pointer}
.family-story-sound:hover,.family-story-sound:focus-visible{background:var(--terracotta,#C8704A)}
.family-story-sound:focus-visible{outline:3px solid #5387C3;outline-offset:3px}
.family-story-media:has(.family-story-video){aspect-ratio:16/9}
.family-story-video{object-fit:contain}
.family-story-media:has(.family-story-video){border-radius:16px}
