
.front-page h1 { font-size:clamp(32px, 4vw, 46px); } 
.front-th { overflow: hidden; } 
.front-th img { transform: scale(1.03); transition: all 0.3s; display: flex; align-items: center; justify-content: center; } 
.front-th:hover img { transform: scale(1); } 
.minwidth100 { overflow: hidden; } 
.minwidth100 > img { min-width: 100% !important; object-fit: cover; } 
.frontcolGp { padding: 10px 0px 25px !important; } 
.frontcolGp .wp-block-post-title { font-size: clamp(15px, 1.1vw ,18px); } 
.frontcolGp2box { display: flex; flex-direction: column; justify-content: center; } 



/* 프론트(홈) 메인 슬라이드 · 갤러리 — 커스터마이저 연동 */
.mainbigslider, .mainbigslider ul { height: 100vh !important; overflow: hidden; display: block; } 
.mainbigslider { animation: goyo-hero-bg-fade 2s ease-out both; } 
.mainbigslider.metaslider .flexslider { margin: 0 !important; } 
body.admin-bar .mainbigslider.metaslider .flexslider { height: calc(100vh - 32px) !important; } 
.mainbigslider ul.slides li { width: 100% !important; max-height: 100vh !important; display: flex !important; align-items: center; justify-content: center; } 
.mainbigslider li > img { object-fit: cover; min-height: 100vh !important; min-width: 100% !important; display: block; } 

/* 히어로 첫 로드: 배경 페이드 → 잠시 후 슬로건·보조문구·버튼이 아래→위+페이드(느긋한 시차, 길게) */
@keyframes goyo-hero-bg-fade { 
 from { opacity: 0; } 
 to { opacity: 1; } 
 }@keyframes goyo-hero-txt-in { 
 from { opacity: 0; transform: translate3d(0, 1.25rem, 0); } 
 to { opacity: 1; transform: translate3d(0, 0, 0); } 
 }/* 홈: Unicorn Studio WebGL ( Kinetic Studio 와 동일 embed ) */
.mainsection { padding: 0 !important; margin: 0 !important; height: max-content; display: flex; flex-direction: column; justify-content: center; } 
.front-page .mainBox { padding: clamp(30px, 10vw, 100px) 3vw; margin-top: 0; } 

.mainhero { position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: 100vh; margin: 0; padding: 0; background-color: var(--wp--preset--color--base, #f7f7f5); color: #f2f2f0; overflow: hidden; } 
/* JS 가 .mainhero 에 --goyo-hero-bg-tx/ty/rx/ry 주입(배경 3D), 없으면 0. PHP --goyo-hero-bg-image */
.mainhero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; display: block; margin: 0; padding: 0; pointer-events: none; background-image: var(--goyo-hero-bg-image, none); background-size: cover; background-position: center; background-repeat: no-repeat; transform: perspective(1200px) translate3d(var(--goyo-hero-bg-tx, 0px), var(--goyo-hero-bg-ty, 0px), 0) rotateX(var(--goyo-hero-bg-rx, 0deg)) rotateY(var(--goyo-hero-bg-ry, 0deg)) scale(1.1); transform-origin: 50% 50%; will-change: transform, opacity; animation: goyo-hero-bg-fade 1.65s ease-out 0s both; } 
/* 히어로: 배경(1) → WebGL(2) → 비네(3) → 글자(10). 이전 .mainhero__layers 한 덩이+숏코드 형제끼리 Gutenberg/ z-index가 꼬여 배경·캔버스·틸트가 가려짐 */
.mainhero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; width: 100%; height: 100%; min-height: 100%; margin: 0; padding: 0; pointer-events: none; overflow: hidden; } 
/* 그림은 .mainhero::before (동일 URL PHP 주입) — 아래 는 마크업용, 이중·0px 문제 방지로 배경 끔 */
.mainhero__bg .font-back.mainhero-font-back { background-image: none !important; } 
.mainhero__bg .wp-block-shortcode { position: static !important; width: 100%; height: 100%; min-height: 100%; margin: 0; padding: 0; } 
/* goyo_unicorn_over_black=screen 일 때 body.goyo-unicorn-over-black--screen: WebGL이 #000 clear해도 뒤 히어로 사진이 비침 */
body.goyo-unicorn-over-black--screen .mainhero-unicorn { mix-blend-mode: screen; } 
.mainhero-unicorn { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; display: block; width: 100%; height: 100%; margin: 0; padding: 0; background: transparent; pointer-events: none; overflow: hidden; } 
.mainhero-unicorn { opacity: 0; transition: opacity 0.25s ease; } 
.mainhero-unicorn.is-ready { opacity: 1; } 
.font-back.mainhero-font-back { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; margin: 0; padding: 0; pointer-events: none; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; transform: scale(1.04); } 
.mainhero-unicorn canvas { display: block; position: relative; width: 100% !important; height: 100% !important; background: transparent; } 
.mainhero-vignette { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3; pointer-events: none; } 
.mainhero-vignette .goyo-customize-partial { pointer-events: auto; width: 100%; max-width: 75rem; margin: 2.5vh auto 0 auto; box-sizing: border-box; } 
.mainhero-content p:has(.mainhero-btn) { margin: 0; padding: 0; } 
.mainhero-inner--parallax { will-change: transform; transform: translate3d(0,0,0); -webkit-backface-visibility: hidden; backface-visibility: hidden; } 
.mainhero-inner { position: relative; z-index: 10 !important; display: block; width: 100%; max-width:75rem; margin: 0 auto; padding: clamp(3rem, 5vh, 4rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 5vh, 4rem); } 
.mainhero-content { text-align: center; transform-origin: 50% 0%; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; } 
.mainhero-btn:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.55); outline-offset: 2px; } 

.mainhero .metaslider .caption-wrap { position: absolute; bottom:clamp(50px, 12vw, 150px); left: 50%; transform: translate(-50%, 0); background: transparent !important; color: white; opacity: 1; margin: 0 auto; display: block; width: 1360px; line-height: 1.4em; } 
.mainhero .metaslider .caption { padding: clamp(20px,2vw,40px); animation: goyo-hero-txt-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; word-wrap: break-word; background-color: rgba(0, 0, 0, 0.3); width: max-content; display: flex; flex-direction: column; gap: clamp(10px, 1.1vw, 24px); } 
.mainhero-title { margin: 0; font-size: var(--goyo-slogan-font-size, clamp(1.7rem, 3vw, 3rem)); text-shadow: 0 0 10px rgba(0, 0, 0, 0.15); font-family: var(--goyo-slogan-font-family, inherit); font-weight: var(--goyo-slogan-font-weight, 500); line-height: 1.15; letter-spacing: -0.01em; color: var(--goyo-slogan-color, #ffffff); opacity: var(--goyo-slogan-opacity, 1); animation: goyo-hero-txt-in 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; } 
.mainhero-lead { margin: 0; font-size: var(--goyo-subtext-font-size, clamp(1rem, 1.6vw, 1.1rem)); text-shadow: 0 0 10px rgba(0, 0, 0, 0.15); font-family: var(--goyo-subtext-font-family, inherit); font-weight: 400; line-height: 1.65; color: var(--goyo-subtext-color, rgba(242, 242, 240, 0.75)); opacity: var(--goyo-subtext-opacity, 1); animation: goyo-hero-txt-in 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both; } 
.mainhero-btn { display: inline-flex; align-items: center; justify-content: center; margin: 5px 0; padding: 1rem 2rem; min-width: 170px; font-size: clamp(0.88rem, 1vw, 0.95rem); font-weight: 500; line-height: 1.2; letter-spacing: 0.01em; text-decoration: none; color: #f2f2f0; border-radius: 6rem; background: rgba(0, 0, 0, 0.3); animation: goyo-hero-txt-in 1.3s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both; } 
.mainhero-btn:hover { filter: brightness(1.05); } 
.mainhero .flex-control-paging li a { background: rgba(255, 255, 255, 0.5); } 
.mainhero .flex-control-paging li a.flex-active { background: #fff; } 




/* ── 히어로 정렬: 센터(center) — bottom-left 잔존 스타일 명시 리셋 ── */
body.goyo-hero-layout--center .mainhero-vignette { align-items: center; justify-content: center; } 
body.goyo-hero-layout--center .mainhero-vignette .goyo-customize-partial { margin: 2.5vh auto 0 auto !important; max-width: 75rem !important; } 
body.goyo-hero-layout--center .mainhero-inner { margin: 0 auto; padding: clamp(3rem, 5vh, 4rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 5vh, 4rem); } 
body.goyo-hero-layout--center .mainhero-content { align-items: center; justify-content: center; text-align: center; } 
body.goyo-hero-layout--center .mainhero .metaslider .caption-wrap { left: 50% !important; bottom: inherit !important; top: 50% !important; transform: translate(-50%, -50%) !important; width: 100% !important; text-align: center; margin: 0; } 
body.goyo-hero-layout--center .mainhero .metaslider .caption { text-align: center; width: max-content; margin: 0 auto; } 
body.goyo-hero-layout--center .mainhero .metaslider .caption .mainhero-title,
body.goyo-hero-layout--center .mainhero .metaslider .caption .mainhero-lead { text-align: center; } 
/* ── 히어로 정렬: 왼쪽 아래(bottom-left) ────────────────────────────── */
body.goyo-hero-layout--bottom-left .mainhero-vignette { align-items: flex-end; justify-content: flex-start; } 
body.goyo-hero-layout--bottom-left .mainhero-vignette .goyo-customize-partial { margin: 0 auto 5vh auto !important; max-width: 1440px !important; } 
body.goyo-hero-layout--bottom-left .mainhero-inner { margin: 0; padding: clamp(2rem, 4vh, 3rem) clamp(1.5rem, 5vw, 3.5rem) clamp(2.5rem, 6vh, 4.5rem); } 
body.goyo-hero-layout--bottom-left .mainhero-content { align-items: flex-start; justify-content: flex-end; text-align: left; } 
/* caption-wrap(MetaSlider) 정렬 — bottom-left 시 좌측 고정 */
body.goyo-hero-layout--bottom-left .mainhero .metaslider .caption-wrap { transform: translate(-50%, 0); } 


/* .wp-site-blocks / main 의 transform 없음 보장(패럴럭스 perspective 기준점 보호) */
body.front-page .wp-site-blocks,
body.goyo-home-overlay .wp-site-blocks { transform: none !important; filter: none !important; perspective: none !important; } 
body.front-page main.wp-block-group,
body.goyo-home-overlay main.wp-block-group { transform: none !important; filter: none !important; perspective: none !important; overflow: visible !important; position: relative; z-index: 0; } 

/* 본문: 정상 흐름 */
body.front-page .conWrap,
body.goyo-home-overlay .conWrap { width: 100%; padding:0; margin: 0 auto; background: var(--wp--preset--color--base, #f7f7f5); position: relative; z-index: 1; mix-blend-mode: normal; } 
body.front-page .conWrap .container,
body.goyo-home-overlay .conWrap .container { position: relative; z-index: 1; width: 100%; margin: 0 auto; max-width: 100%; } 
body.front-page .goyo-front-page-content.has-global-padding,
body.goyo-home-overlay .goyo-front-page-content.has-global-padding { margin: 0 !important; padding: 0 !important; } 
body.front-page .goyo-front-page-content .wp-block-post-content,
body.goyo-home-overlay .goyo-front-page-content .wp-block-post-content { margin: 0 !important; padding: 0 !important; } 

body.front-page,
body.goyo-home-overlay { background-color: var(--wp--preset--color--base, #f7f7f5); } 

body.front-page main ~ *,
body.goyo-home-overlay main ~ * { position: relative; z-index: 2; background-color: var(--wp--preset--color--base, #f7f7f5); } 

body.is-customize-preview .goyo-customize-partial-placeholder { margin: 0; padding: 1rem 1.25rem; font-size: 0.9rem; line-height: 1.45; color: rgba(219, 219, 219, 0.88); background: rgba(255, 255, 255, 0.05); border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 4px; } 
body.is-customize-preview .goyo-customize-partial { position: relative; } 






@media (max-width: 1400px){
    .mainhero .metaslider .caption-wrap { width: 100%; margin-left: 5vw; margin-right: 5vw; } 
 }
 
 @media (max-width: 1024px) {
   
 } 

 @media (max-width: 820px) {
    .mainhero, .mainbigslider, .mainbigslider ul, .mainbigslider ul li, body.admin-bar .mainbigslider.metaslider .flexslider, 
    .mainbigslider li > img { min-height: 450px !important; height: 450px !important; } 
    body.goyo-hero-layout--center .mainhero .metaslider .caption-wrap { top: calc(50% + 20px) !important; } 
    .mainhero .metaslider .caption-wrap { bottom: clamp(30px, 5vh, 60px); } 
    .mainhero-btn { padding: 0.6rem 1.3rem; min-width: 120px; } 
    .front-page .metaslider.ms-theme-clarity .flexslider { margin-bottom: 0 !important; margin-top: -30px !important; } 
    .front-page h1.fronth1 { padding-top: 0px !important; margin-bottom: -20px !important; } 
    .frontcolGp { padding: 10px 0 !important; } 
    body.goyo-hero-layout--bottom-left .mainhero-vignette .goyo-customize-partial { margin: 0 auto -10px auto !important; } 
    .mainhero-content { transform-origin: 50% 50%; } 
    .front-page .mainBox { padding: 40px 3vw; margin-top: 0; } 
    .mainBox > h2 { padding-bottom:0 !important } 
 }

 @media (max-width: 520px){
    .youTubeBox, .front-contactWrap { max-width: inherit !important; } 
    .mainhero-inner { padding:clamp(3rem, 5vh, 6.5rem) 15px; } 
 }

 @media (prefers-reduced-motion: reduce){
    .mainhero { background: radial-gradient(ellipse 100% 80% at 50% 40%, #12152a 0%, #020206 50%, #010104 100%); } 
    .mainhero-unicorn { display: none; } 
    .mainhero::before { transform: scale(1.04); will-change: auto; animation: none; opacity: 1; } 
    .mainhero-title,
    .mainhero-lead,
    .mainhero-btn { animation: none; opacity: 1; transform: none; }


 }