html {
    font-family: "pretendard", sans-serif;
    overflow-x: hidden;

}
* {
  box-sizing: border-box;
}
.f_anti
{
      font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h2,
h3 {
    margin: 0 ;
}
p {
    font-family: 'Chilgok_Cye';
}

.menu {
    position: fixed;
    width: calc(100% - 0px);

    display: flex;
    justify-content: flex-end;
    gap: 23px;
    right: 50px;
    top: 10px;
    z-index: 9999;
}
.menu li {
    list-style: none;
    cursor: pointer;
    color: black;

}
.menu li a {
    color: black;
    text-decoration: none;
    font-family: "fractul-variable", sans-serif;
    font-variation-settings: "wght" 300;
    font-size: 0.8rem;
    font-size:16px !important;
}
#p_menu4
{
    border:1px solid black;
    border-radius:28px;
    padding-left:7px;
    padding-right:7px;
    padding-top:3px;
    padding-bottom:3px;
    background: white;
    color:black;
        transition: all 0.3s;
    
}
#m-menu-4
{
        border: 1px solid black;
    border-radius: 25px;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 1px;
    padding-bottom: 1px;
    background: white;
    color: black;
    margin-top: 10px;
    
}
#p_menu4:hover
{
    background: black;
    color:white;
}
.p-container {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
     overscroll-behavior: contain;
}
.p-container::before {
    content: "";
    position: fixed;
    width: 60vw;
    left: 20vw;
    height: 42vh;
    bottom: 0vh;
    z-index: 991;
    pointer-events: none;

    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 18%,
        rgba(255, 255, 255, 0.99) 30%,
        rgba(255, 255, 255, 0.96) 42%,
        rgba(255, 255, 255, 0.88) 55%,
        rgba(255, 255, 255, 0.70) 68%,
        rgba(255, 255, 255, 0.42) 80%,
        rgba(255, 255, 255, 0.16) 90%,
        rgba(255, 255, 255, 0.03) 96%,
        rgba(255, 255, 255, 0) 100%
    );

     
}

.p-content {
    margin: 0 auto;
    max-width: 72rem;
    width: 70%;
    padding-bottom: 35vh;
}
.p-logo {
    position: fixed;
    left: 30px;
    top: 28px;
       width: 70px;
    height: auto;
    z-index: 999999;
    cursor: pointer;
}
.ff_bu_obj {
    border-radius:30px;
    font-size:25px;
    border:1.5px solid #bbbbbb;
padding-left:12px;
padding-right:12px;
    padding-top:8px;
    padding-bottom:8px;
 color:#bbbbbb;
    font-weight: bold;
    transition: all 0.5s;
        font-synthesis: none;
    -webkit-font-smoothing: antialiased;
        font-family: 'KkomKkom';
        text-decoration: none;
 cursor:pointer !important;
  background:transparent;
}
.ff_bu_obj:hover
{
    background: #bbbbbb;
    color:white;;
}


.cat_bu {
    font-family: "fractul-variable", sans-serif;
    font-variation-settings: "wght" 300;
    background:white;
    border: 1px solid black;
    font-size: 1rem;
    padding: 3px 5px;
    margin-right: 12px;
    transition: all 0.3s;
    z-index: 9999;
    position: relative;
    cursor: pointer;
}


#cbu1,
#cbu1_m {
    border-color: #ffabe3;
    color: #ffabe3;
}
#cbu1.act_bu,
#cbu1:active,
#cbu1:hover,
#cbu1_m.act_bu,
#cbu1_m:active,
#cbu1_m:hover {
    background: #ffabe3;
    color: white;
}
#cbu2,
#cbu2_m {
    border-color: #bca4ff;
    color: #bca4ff;
}

#cbu2.act_bu,
#cbu2:active,
#cbu2:hover,
#cbu2_m.act_bu,
#cbu2_m:active,
#cbu2_m:hover {
    background: #bca4ff;
    color: white;
}
#cbu3,
#cbu3_m {
    border-color: #79e8a6;
    color: #79e8a6;
}
#cbu3.act_bu,
#cbu3:active,
#cbu3:hover,
#cbu3_m.act_bu,
#cbu3_m:active,
#cbu3_m:hover {
    background: #79e8a6;
    color: white;
}
#cbu4,
#cbu4_m {
    border-color: #ffb68d;
    color: #ffb68d;
}
#cbu4.act_bu,
#cbu4:active,
#cbu4:hover,
#cbu4_m.act_bu,
#cbu4_m:active,
#cbu4_m:hover {
    background: #ffb68d;
    color: white;
}
 

.m-container {
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100 - 50px) !important;
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 999;
}
.m-container::before {
    content: "";
    position: fixed;
    width: 100vw;
    height: 100vh;
    left:0;
    bottom:0;
    z-index: 991;
          pointer-events: none; 
    background: linear-gradient(to top, rgba(255,255,255,1) 0%,rgba(255,255,255 , 0.95) 20%,rgba(255,255,255 , 0.3) 40%,rgba(255,255,255 , 0) 50%, rgba(255,255,255,0) 100%);
}
.m-content {
    margin: 0 auto;
    max-width: 72rem;
    width: calc(100% - 3.125rem);
    padding-bottom:20rem !important;
}
.m-header {
    position: fixed;
    width: 100%;
    height: 50px;
    z-index: 1000;
    background: transparent;
    top:0 ;
}
.m-logo {
    position: absolute;
    left: 10px;
    top: 15px;
    height: 25px;
    z-index: 999;
    cursor: pointer;
    display:none;
}
.m-menu {
    position: absolute;
    width: 100%;
height:100vh;
    background: white;
    top: 0px;
    margin: 0;
    left: 0;
 z-index:-1;
    padding: 0;
   
    display:none;
   
    overflow-y: hidden;
    overflow-x: hidden;
        padding-top: 80px;
}
.menu_m_open {
 
 
  z-index:99998;
        height: calc(100vh - 0px);
         
}
.menu_m_open_slow {

         
}
.m-menu li {
    list-style: none;
    height: 32px;
 
    padding-left: 30px;
    display: flex;
    align-items: center;
    position:relative;
}
.m-menu li a {
    color: black;
    text-decoration: none;
    font-family: "fractul-variable", sans-serif;
    font-variation-settings: "wght" 300;
    font-size: 1.5rem;
}
 
.m-menu-li {
  position: relative;
  display: inline-block;
}
  .active #m-menu-0
{
    color:#bbbbbb !important;
} 
  .active #m-menu-1
{
    color:#abdfff !important;
} 
  .active #m-menu-2
{
    color:#ffabe3 !important;
} 
  .active #m-menu-3
{
    color:#fff797 !important;
} 
.menu-underline-m {
  position: absolute;
  left: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s ease;
  pointer-events: none;
  overflow: visible;
}

/* 각 메뉴별 위치/크기 */
#m-menu-li-0 .menu-underline-m {
  width: 6.5rem;
  bottom: -13px;
  left:30px;
}

#m-menu-li-1 .menu-underline-m {
  width: 6.1rem;
  bottom: 1px;
    left:30px;
}

#m-menu-li-2 .menu-underline-m {
  width: 9.1rem;
  bottom: -8px;
    left:30px;
}

#m-menu-li-3 .menu-underline-m {
  width: 13.3rem;
  bottom: -14px;
    left:30px;
}

/* active일 때만 그려짐 */
.m-menu-li.active .menu-underline-m {
  transform: scaleX(1);
}
 
.lang_div {
    position: fixed;
    right: 50px;
    bottom: 50px;
    border: 2px solid black;
    width: 90px;
    height: 40px;
    background-color: white;
    z-index: 9998;
    display:none;
}
.lang_divided {
    position: absolute;
    height: 100%;
    width: 2px;
    left: calc(50% - 1px);
    background: black;
    top: 0;
}
.lang_act {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    left: calc(0%);
    background: black;
    transition: all 0.3s;
    z-index: 998;
}
.lang_act_c
{
    left:50% !important;
}
.kor {
    position: absolute;
    color: black;
    font-size: 20px;
    top: 5px;
    left: 13px;
    z-index: 2;
    color: white;
    z-index: 999;
    mix-blend-mode: difference;
    /* ★중요: 배경과 차이를 계산해 반전시킴 */

    cursor: pointer;
}
.eng {
    position: absolute;
    cursor: pointer;
    font-size: 20px;
    top: 5px;
    right: 10px;
    color: white;
    z-index: 999;
    mix-blend-mode: difference;
    /* ★중요: 배경과 차이를 계산해 반전시킴 */

}

/****** bar hambuger */

.icon {
    position: absolute;
    right: -15px;
    top: 10px;
    width: 60px;
    height: 50px;
    display: inline-block;
    cursor: pointer;
    z-index: 99999;
}

.bar {
    width: 25px;
    height: 1px;
    background-color: black;
    margin: 5px 0;
    position: absolute;

}

.icon .bar.one {
    top: 0;
    left: 0;
}

.icon .bar.two {
    top: 7px;
    left: 0;
}

.icon .bar.three {
    top: 14px;
    left: 0;
}

.icon .bar.one.active_ham {
    animation: one 0.7s forwards;
}

.icon .bar.two.active_ham {
    animation: two 0.7s forwards;
}

.icon .bar.three.active_ham {
    animation: three 0.7s forwards;
}

.icon .bar.one.notActive {
    animation: one-reverse 0.7s forwards;
}

.icon .bar.two.notActive {
    animation: two-reverse 0.7s forwards;
}

.icon .bar.three.notActive {
    animation: three-reverse 0.7s forwards;
}

@keyframes one {
    0% {
        top: 0;
    }

    30% {
        top: -5px;
    }

    60% {
        top: 10px;
    }

    80% {
        transform: rotate(0);
    }

    100% {
        top: 10px;
        transform: rotate(45deg);
    }
}

@keyframes one-reverse {
    0% {
        top: 10px;
        transform: rotate(45deg);
    }

    30% {
        transform: rotate(0);
    }

    60% {
        top: 10px;
    }

    80% {
        top: -5px;
    }

    100% {
        top: 0;
    }
}

@keyframes two {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes two-reverse {
    0% {
        opacity: 0;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes three {
    0% {
        top: 20px;
    }

    30% {
        top: 25px;
    }

    60% {
        top: 10px;
    }

    80% {
        transform: rotate(0);
    }

    100% {
        top: 10px;
        transform: rotate(-45deg);
    }
}

@keyframes three-reverse {
    0% {
        top: 10px;
        transform: rotate(-45deg);
    }

    30% {
        transform: rotate(0);
    }

    60% {
        top: 10px;
    }

    80% {
        top: 25px;
    }

    100% {
        top: 14px;
    }
}

.f_frc {
    font-family: "fractul-variable";
}
.f_kyb {
    font-family: 'Chilgok_kyb';
}
.f_ljs {
    font-family: 'Chilgok_Cye';
}
.f_lws
{
     font-family: 'Chilgok_lws';
}
.f_kom {
    font-family: 'KkomKkom';
}
.f_noh
{
    font-family: "noh-sori", sans-serif;
font-weight: 400;
font-style: normal;
}

.img_db_1::before {
    background: #bca4ff;
}
.img_db_2::before {
    background: #79e8a6;
}
.img_db_3::before {
    background: #ffb68d;
}
.img_d_1::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -5px;
    width: calc(100% + 19px);
    height: calc(100% + 17px);
    -webkit-mask-image: url(../image/icon/ssv1.svg);
    mask-image: url(../image/icon/ssv1.svg);
    -webkit-mask-size: contain;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 0 0;

}
.img_d_2::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -2px;
    width: calc(100% + 6px);
    height: calc(100% + 7px);
    -webkit-mask-image: url(../image/icon/ssv2.svg);
    mask-image: url(../image/icon/ssv2.svg);
    -webkit-mask-size: contain;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;

}
.img_d_3::before {
     content: "";
    position: absolute;
    top: -10px;
    left: -9px;
    width: calc(100% + 28px);
    height: calc(100% + 17px);
    -webkit-mask-image: url(../image/icon/ssv3.svg);
    mask-image: url(../image/icon/ssv3.svg);
    -webkit-mask-size: contain;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 0 0;

}
.img_d_4::before {
content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    width: calc(100% + 13px);
    height: calc(100% + 11px);
    -webkit-mask-image: url(../image/icon/ssv4.svg);
    mask-image: url(../image/icon/ssv4.svg);
    -webkit-mask-size: contain;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;

}
.img_d_5::before {
    content: "";
    position: absolute;
    top: -7px;
    left: -2px;
    width: calc(100% + 6px);
    height: calc(100% + 13px);
    -webkit-mask-image: url(../image/icon/ssv5.svg);
    mask-image: url(../image/icon/ssv5.svg);
    -webkit-mask-size: contain;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}
.page_head {
    font-variation-settings: "wght" 400;
}
.page_sub_head
{
    font-size:1.3rem;
    letter-spacing: 0.15rem;
}

/***** menu svg ***/
.menu-item {
    transition: all 0.3s;
}
.menu-item.item-0.active a,
.menu-item.item-0:hover a {
    color: #bbbbbb;
}
.menu-item.item-1.active a,
.menu-item.item-1:hover a {
    color: #abdfff;
}

.menu-item.item-2.active a,
.menu-item.item-2:hover a {
    color: #ffabe3;
}

.menu-item.item-3.active a,
.menu-item.item-3:hover a {
    color: #fff797;
}
.menu.p-menu .menu-item {
    position: relative;
    display: inline-block;
    list-style: none;
}

.menu.p-menu .menu-underline {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 1px;
    display: block;
    height: auto;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.menu.p-menu .clip-rect {
    transform-box: fill-box;
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
}

/* 현재 페이지(active)는 기본 표시 */
.menu.p-menu .menu-item.active .clip-rect {
    transform: scaleX(1);
}

/* SVG 크기 */
.menu.p-menu .svg-about {
    width: 92px;
}

.menu.p-menu .svg-works {
    width: 114px;
}

.menu.p-menu .svg-contact {
    width: 162px;
}



/*******/


.fade-top{
  width: 100%;
  height: 100%;
  position: fixed;
  display: block;
    bottom: 5px;
 
  /* 아래는 흰색(불투명) → 위로 갈수록 투명 */
  background: linear-gradient(to top, rgba(255,255,255,1) 0%,rgba(255,255,255 , 0.95) 40%, rgba(255,255,255,0.5) 100%);
    box-shadow: 0 -5px 10px rgba(255,255,255,0.1); /* Blur radius, color */
}

/*******/

  .hidden-layer{
    position:fixed; inset:0; z-index:0;
    display:grid; place-items:center; text-align:center; color:#fff;
        background-image: url('../web_c_t.png');
     background-size: contain;
    background-position: center;
    background-repeat: repeat;
  }
  .hidden-layer-f 
{
    background-image: none;

 
    position:fixed; inset:0; z-index:0;
    display:grid; place-items:center; text-align:center; color:#fff;
     
     background-size: contain;
    background-position: center;
    background-repeat: repeat;
 
}

.ff_bu
{
    background: white;
    border-radius:30px;
    font-size:25px;
    border:1.5px solid transparent;
padding-left:12px;
padding-right:12px;
    padding-top:8px;
    padding-bottom:8px;
  cursor:pointer !important;
    font-weight: bold;
    transition: all 0.5s;
}
.ff_c_bu
{

    background: white;
    border-radius:50%;
    font-size:25px;
    border:1.5px solid transparent;
width:50px;
height:50px;    
    font-weight: bold;
    transition: all 0.5s;
    cursor:pointer !important;
}
.ff_bu_m
{
    background: white;
    border-radius:30px;
    font-size:20px;
    border:1.5px solid transparent;
padding-left:10px;
padding-right:10px;
    padding-top:7px;
    padding-bottom:7px;
 
    font-weight: bold;
    transition: all 0.5s;

      z-index:99999;
    pointer-events: all;
}
.ff_bu_obj_m
{
    background: white;
    border-radius:30px;
    font-size:20px;
    border:1.5px solid #bbbbbb;
padding-left:10px;
padding-right:10px;
    padding-top:7px;
    padding-bottom:7px;
 
    font-weight: bold;
    transition: all 0.5s;
text-decoration: none;
color:#bbbbbb;;
      z-index:99999;
    pointer-events: all;
}

.ff_c_bu_m
{

    background: white;
    border-radius:50%;
    font-size:20px;
    border:1.5px solid transparent;
width:40px;
height:40px;    
    font-weight: bold;
    transition: all 0.5s;
    z-index:99999;
    pointer-events: all;
}
.ff_c_bu_active
{
    
}
.ff_bu_active
{

}

#fu_en
{
    font-size:20px;
}
#fu_en_m
{
    font-size:15px;
}
.fu_div
{
    position: relative;
    width:100%;
    top:40px;
      display: flex;
    gap:9px;
}
.fu_div_m
{
    position: relative;
    width:100%;
    top:00px;
    display: flex;
    gap:5px;

    flex-wrap: wrap;
   row-gap: 10px; 
}
.fu_div button
{
    margin-right:0px;
}
.fu_div_m button
{
    flex-shrink: 0;
    white-space: nowrap;
    margin-right:0px;
    
}

.btn-group {

  display: flex;

  gap: 5px;

  flex: 0 0 auto;

}
.btn-group button {

  white-space: nowrap;

  flex: 0 0 auto;

}
.m-container.is-programmatic-scrolling {
  pointer-events: auto !important;
  touch-action: auto !important;
}

.yvideo-container {
  width: 100%;
  aspect-ratio: 16 / 9; /* 16:9 비율 유지 */
}

.yvideo-container iframe {
  width: 100%;
  height: 100%;
}