* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: "Pretendard",sans-serif
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px; /* 헤더 높이 고정 */
    display: flex;
    justify-content: space-between;
    align-items: center; 
    background-color: transparent;
    transition: all .4s ease;
    z-index: 1000;
}

.main-header.scrolled {
    background-color: #fff;
    height: 120px; 
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}


.main-header.scrolled .ci-text {
    color: #454545;
}


.main-header.scrolled .menu-1 span {
    color: #000!important
}

.main-header .logo-area {
    width: auto; 
    min-width: 282px;
    margin-left: 50px;
    display: flex;
    align-items: center; 
    height: 120px; 
}

.main-header .logo-area a {
    display: flex;
    align-items: center; 
}

.main-header .CI {
    height: 60px;
    width: auto;
    aspect-ratio: 1.25;
    object-fit: contain;
    display: block;
}

.main-header .small-ci {
    width: 164px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
}

.main-header .ci-text {width: 60px;
    height: 24px; 
    line-height: 24px; 
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0;
    white-space: nowrap;
    margin: 0; 
}



.main-header .CI-txt {width: 162px;
    height: 20px; 
    display: block; 
    object-fit: contain; 
    margin: 0;
}

.logo-co,.main-header.scrolled .logo-wh {
    display: none!important
}

.main-header.scrolled .logo-co {
    display: block!important
}

.main-header .nav {
    display: inline-flex;
    height: 48px;
    width: 245px;
    position: relative;
    margin-right: 50px;
    align-items: center;
    justify-content: flex-end;
    gap: 60px
}

.main-header .menu-1,.rolling-inner span {
    line-height: 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 500
}

.main-header .menu-1 {
    position: relative;
    width: fit-content;
    font-family: "Inter-Medium",Helvetica;
    display: flex;
    align-items: center;
    letter-spacing: 0;
    white-space: nowrap;
    transition: color .3s ease;
    perspective: 1000px;
    display: inline-block;
}

.rolling-menu {
    height: 24px;
    overflow: hidden;
    cursor: pointer;
    display: inline-block
}

.rolling-inner {
    display: flex;
    flex-direction: column;
    transition: transform .4s cubic-bezier(.25,.46,.45,.94)
}

.rolling-inner span {
    display: block;
    height: 24px;
    cursor: pointer;
}

.rolling-menu:hover .rolling-inner {
    transform: translateY(-24px)
}

.rolling-inner span:last-child {
    color: #d4e0a2
}

.main-header.scrolled .rolling-menu:hover .rolling-inner span {
    color: #a28757!important
}

.menu-bttn {
    background-color: #d4e0a2;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.text-wrapper-3 {
    color: #000;
    font-weight: 700;
    font-size: 15px;
    transition: color .3s ease
}

.menu-bttn:hover {
    background-color: #a28757
}

.menu-bttn:hover .text-wrapper-3 {
    color: #fff
}

main {
    min-height: auto;
    color: #333;
}

.sub-page main {
    padding-top: 120px;
    background-color: #fff;
}


.sub-page .main-header {
    background-color: #fff !important;
    height: 120px; 
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

.sub-page .main-header .ci-text a,
.sub-page .main-header .menu-1 span {
    color: #000 !important;
}

.sub-page .main-header .logo-wh {
    display: none !important;
}
.sub-page .main-header .logo-co {
    display: block !important;
}

.sub-page .main-header .menu-1:hover span {
    color: #a28757 !important; 
}


/* 로고 컨테이너 공통 */
.tw-logo-wrap {
    position: relative;
    width: 60px; 
    height: 60px;
    display: inline-flex;
    align-items: flex-end;
    vertical-align: middle;
}

.tw-logo-wrap .CI {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* W(땅): 고정 */
.ground {
    /* 위에서 55%를 가려서 W만 완벽하게 남김 
       T가 움직이는 축(55%)과 딱 맞닿게 설정
    */
    clip-path: inset(55% 0 0 0); 
    z-index: 1;
}

/* T(새싹): 늘어남 */
.sprout {
    /* inset(상단 우측 하단 좌측) 
       하단 45%를 가려서 T의 사이드 도트들이 W와 겹치지 않게 조절 
    */
    clip-path: inset(0 0 45% 0); 
    
    /* 중요: transform-origin도 clip-path로 끊은 지점(하단에서 45% 지점)과 일치시킴 
       이미지 전체 높이 기준 위에서 55% 지점이 축이 됨 (100% - 45% = 55%)
    */
    transform-origin: center 55%; 
    
    z-index: 2;
    animation: sprout-grow-fixed 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 마우스 오버 시: 존나 빨리 쑥쑥쑥쑥!! */
.logo-area:hover .sprout {
    /* 시간을 0.4초로 줄여서 엄청 빠르게 반복 */
    animation: sprout-grow-fixed 0.4s ease-in-out infinite;
    /* 약간 더 높게 자라게 하고 싶다면 애니메이션을 새로 파도 되지만, 
       속도만 줄여도 충분히 박진감 넘칩니다 ㅋㅋㅋ */
}

/* [중요] 스크롤 상태에 따른 로고 전환 */
.main-header.scrolled .logo-wh {
    display: none !important;
}

.main-header.scrolled .logo-co {
    display: inline-flex !important;
}

/* 애니메이션 정의 (뿌리 고정 버전) */
@keyframes sprout-grow-fixed {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.35); } /* T만 쭉 늘어남 */
}



/* footer 시작 */

.main-footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0;
    width: 100%
}

.footer-container,.footer-left {
    display: flex;
    justify-content: space-between
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px
}

.footer-left {
    flex-direction: column
}

.footer-logo {
    width: fit-content;
    height: fit-content;
}

.footer-logo h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px
}

.footer-logo span {
    font-size: 14px;
    color: #aaa
}

.footer-ci-txt {
    width: 162px;
    height: 20px
}

.copyright {
    font-size: 13px;
    color: #666;
    margin-top: 40px
}

.footer-right {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 10px
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    opacity: .7;
    transition: opacity .3s
}

.social-icons a:hover {
    opacity: 1
}

.info-grid {
    display: flex;
    gap: 40px;
    font-size: 14px
}

.info-item .label {
    font-weight: 700;
    margin-right: 15px
}

.info-item .value {
    color: #ccc
}

.contact-info {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8
}

.footer-icon {
    width: 16px;
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 2px
}

.contact-info p {
    margin-bottom: 10px
}

.contact-row {
    display: flex;
    gap: 30px;
    margin-top: 5px
}

.contact-info p,.contact-row span {
    display: flex;
    align-items: center
}