@charset "utf-8";

/*=============================================
= ##INDEX =
=============================================*/

#header .menu-toggle img{display:none;}/*햄버거메뉴*/

/* ---------------------------------------------------- *//* 1. Global & Reset Styles *//* ---------------------------------------------------- */* {margin: 0;padding: 0;box-sizing: border-box;}body {font-family: 'Noto Sans KR', sans-serif;color: #333;line-height: 1.6;overflow-x: hidden;}ul {list-style: none;}a {text-decoration: none;color: inherit;}.container {width: 100%;max-width: 1200px;margin: 0 auto;padding: 0 20px;}.main-color { color: #4CAF50; }.bg-main-color { background-color: #4CAF50; } /* ---------------------------------------------------- *//* 2. Header & Navigation *//* ---------------------------------------------------- */#header {width: 100%;border-bottom: 1px solid #eee;position: relative;z-index: 100;background-color: #fff; /* 서브메뉴 노출 시 배경을 덮기 위함 */}.header-content {display: flex;justify-content: space-between;align-items: center;height: 80px;}.logo a {font-size: 24px;font-weight: 700;color: #4CAF50;}.main-menu {display: flex;flex-grow: 1; /* 메뉴가 공간을 차지하도록 */justify-content: center; /* 메뉴를 중앙으로 이동 */}.main-menu > li {position: relative;}.main-menu > li > a {display: block;padding: 0 20px;line-height: 80px;font-weight: 500;transition: color 0.3s;}.main-menu > li:hover > a {color: #4CAF50;}
/* Right Banner Buttons */
.header-banner {display: flex;gap: 10px;}
.header-banner img {height: 50px;cursor: pointer;} /* Mobile Menu Button */
.menu-toggle {display: none;font-size: 24px;cursor: pointer;color: #4CAF50;}
/* ---------------------------------------------------- *//* 3. Full Width Submenu Area *//* ---------------------------------------------------- */
.submenu-wrapper {
  position: absolute;z-index: 99;top: 81px; /* Header 높이 + border 1px */left: 0;width: 100%;background-color: #37A442;
border-right: 1px solid #eee;box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);overflow: hidden;display:none ; /* jQuery로 제어 */
}

.submenu-wrapper:hover {display: block; /* 마우스가 떠나면 숨겨지도록 */}
.submenu {display: flex;padding: 0;max-width: 1200px; /* 컨테이너 너비 유지 */margin: 0 auto;}
.submenu > ul {display: flex;width: 100%;height:300px;justify-content: space-between; /* 전체 너비를 채우도록 */}
.submenu > ul > li {flex-basis: 25%; /* 4개 메뉴가 동일 너비 */padding-top:20px;padding-right: 20px;border-right:1px solid #fff;height:100%;}
.submenu02 h3 {font-size: 1.4em;color: #ffffff;margin-bottom: 15px;font-weight: 900;padding-bottom: 5px;text-align: center;}
.submenu02 ul li {padding: 8px 0;font-size: 0.95em;transition: color 0.2s;cursor: pointer;color:#ffffff;text-align: center;line-height: 0.8;}
.submenu02 ul li a:hover {color: #FFF608;font-weight: 700;}
.submenu02 a{color:#fff;}
/* ---------------------------------------------------- *//* 4. Main Banner Section (수정됨) *//* ---------------------------------------------------- */#main-banner {width: 100%;/* 배경색은 이미지 기반으로 설정하거나 제거 (여기서는 제거) */background-color: #E3FFFC; /* 배경색을 연한 민트색 계열로 임시 지정 */padding: 80px 0;overflow: hidden;height:500px;}.banner-content {display: flex;align-items: center;justify-content: space-between;gap: 0; /* 이미지들이 붙도록 gap 제거 */max-height: 500px; /* 배너의 최대 높이를 지정하여 overflow가 작동하도록 설정 */}.banner-text {/* flex: 1; */text-align: left;padding-right: 20px;padding-bottom:150px;}.banner-text img {/* 이미지 크기는 필요에 따라 조절하거나 100%로 설정 */max-width: 100%;height: auto;}
.banner-image {flex: 1;text-align: right;/* 오른쪽 이미지 박스에 overflow: hidden 적용 *//* overflow: hidden;  */height: 100%; /* 부모 높이 상속 */border-radius: 0 10px 10px 0; /* 오른쪽에만 둥근 모서리 적용 */margin-top:-100px;}.banner-image img {/* 이미지가 박스보다 커지도록 넉넉하게 설정 */width: 120%; height: 120%; object-fit: cover; /* 이미지가 잘리지 않고 채워지도록 설정 */display: block;/* 이미지 위치를 약간 조정하여 오버플로우되도록 설정 */transform: translate(0%, -10%); }

/* ---------------------------------------------------- */
/* 9. Responsive Design (Media Queries) - 모바일 수정 */
/* ---------------------------------------------------- */
@media (max-width: 992px) { /* ... (기존 미디어 쿼리 내용 유지) ... */  /* Main Banner - 모바일에서 세로로 배열 */ 
  .banner-content {flex-direction: column;text-align: center;max-height: none; /* 모바일에서는 높이 제한 해제 */ } 
  .banner-image {margin-top: 30px;width: 100%;height: auto;overflow: visible; /* 모바일에서는 오버플로우 해제 */ } 
  .banner-image img {width: 100%;height: auto;transform: translate(0, 0);  } /* ... (나머지 미디어 쿼리 내용 유지) ... */
} /* ---------------------------------------------------- *//* 5. Mall Section (기존 유지) *//* ---------------------------------------------------- */
#mall-section {padding: 80px 0;height:700px;}
#mall-section h2 {text-align: left;font-size: 1.5em;margin-bottom: 50px;}
.mall-cards {display: flex;gap: 30px;padding-top:30px;}
.mall-card {flex: 1;text-align: center;padding: 40px 20px;border: 1px solid #eee;border-radius: 10px;background-color: #fff;transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease;cursor: pointer;overflow: hidden;height: 350px;display: flex;flex-direction: column;justify-content: center;align-items: center;}
.mall-card:hover {background-color: #4CAF50;color: #fff;height: 440px;transform: translateY(-50px);box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);}
.mall-card .icon-top {font-size: 3em;margin-bottom: 15px;color: #4CAF50;transition: opacity 0.4s, transform 0.4s;transform: translateY(150px);}
.mall-card .icon-bottom {font-size: 1.5em;margin-top: 10px;opacity: 0;transform: translateY(20px);transition: opacity 0.4s, transform 0.4s;}
.mall-card:hover .icon-top {opacity: 0;transform: translateY(-20px);color: #fff;}
.mall-card:hover .icon-bottom {opacity: 1;transform: translateY(-120px);color: #fff;}
.mall-card img{width:70%;}.mall-card h3 {font-size: 1.2em;font-weight: 500;} /* ---------------------------------------------------- *//* 6. Video & Community Section (기존 유지) *//* ---------------------------------------------------- */
#community-section {width: 100%;padding: 80px 0;background-image: url('http://www.kwtissue.com/theme/new2025/img/company/index_video_bg.jpg');background-size: cover;background-position: center;color: #fff;position: relative;}
#community-section::before {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;background-color: rgba(0, 0, 0, 0.6);}
.community-container {position: relative;z-index: 10;display: flex;gap: 40px;}
/* Video Box */

.video-box {flex: 1;}.video-box h2, 
.community-box h2 {font-size: 2em;margin-bottom: 30px;}
/* #community-section 관련 CSS는 기존과 동일하게 유지 */
.video-frame {position: relative;width: 100%;padding-bottom: 56.25%; /* 16:9 Aspect Ratio */border-radius: 10px;overflow: hidden;box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);}
.video-frame iframe {position: absolute;top: 0;left: 0;width: 100%; /* 부모에 꽉 차게 설정 */height: 100%; /* 부모에 꽉 차게 설정 */border: none;}
/* Community Tabs */
.community-box {flex: 1;}
.tabs {display: flex;margin-bottom: 20px;}
.tab-btn {padding: 10px 20px;font-size: 16px;cursor: pointer;border-radius: 30px;border:1px solid rgba(255, 255, 255, 0.3);transition: background-color 0.3s;/* background-color: rgba(255, 255, 255, 0.1); */
margin-right: 10px;}
.tab-btn.active {background-color: #4CAF50;font-weight: 700;} 
.tab-content ul {padding: 0;}
.tab-content li {padding: 15px 0;border-bottom: 1px solid rgba(255, 255, 255, 0.2);opacity: 0.8;transition: opacity 0.3s;}
.tab-content li:last-child {border-bottom: none;}
.tab-content li h4 {font-size: 1.1em;margin-bottom: 5px;font-weight: 700;}
.tab-content li div {font-size: 0.9em;display: block;}
.tab-content li.active div {display: block;}
/* ---------------------------------------------------- *//* 7. Contact Section (기존 유지) *//* ---------------------------------------------------- */
#contact-section {background-color: #4CAF50;color: #fff;text-align: center;padding: 40px 0;}
#contact-section .container {display: flex;justify-content: space-between;}
#contact-section h3 {font-size: 1.5em;margin-bottom: 10px;}
#contact-section p {font-size: 2em;font-weight: 700;}

/* -------------------------------------------------- *//* 8. Footer (이미지 기반 레이아웃) *//* ---------------------------------------------------- */
#footer {padding: 40px 0;background-color: #f8f8f8;}
#footer .container {display: flex;justify-content: space-between;flex-wrap: nowrap;}
.footer-logo{}.footer-logo img {width: 150px; /* 로고 크기 조정 */height: auto;}
.footer-info {display: flex;align-items: flex-start;gap: 10px;flex-direction: column;width:80%;min-width:630px;}
.footer-info .footer-top-menu {padding-bottom: 15px;}
.footer-info .footer-top-menu ul {display: flex;gap: 50px;font-size: 0.9em;color: #555;}
.footer-info .footer-top-menu ul li:not(:last-child)::after {/* content: '|';margin-left: 20px;color: #ccc; */}
.footer-details {font-size: 0.8em;color: #777;line-height: 1;}
.footer-details span {margin-right: 15px;display: inline-block;}
.footer-details .detail-line {display: block;margin-bottom: 5px;}
.footer-copyright {margin-top: 15px;font-size: 0.75em;color: #999;} /* ---------------------------------------------------- *//* 9. Responsive Design (Media Queries) *//* ---------------------------------------------------- */

@media (max-width: 992px) {/* Header */
  .main-menu {display: none;    flex-direction: column;    position: absolute;    top: 80px;    left: 0;    width: 100%;    background-color: #fff;    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);    border-top: 1px solid #eee;}
  .main-menu.active {    display: flex;}
  .main-menu > li > a {    line-height: 50px;    padding: 0 20px;    border-bottom: 1px solid #eee;}/* 모바일에서 풀 서브메뉴 숨김 */
  .submenu-wrapper {    display: none !important; }
  .menu-toggle {    display: block; padding:10px 0 0 5px;}
  #header .logo img{height:40px;}
  .header-banner img {height: 40px;}
  .header-banner .down_btn{    display: none;}/* Main Banner */
  .banner-content {    flex-direction: column;    text-align: center;}
  .banner-image {    margin-top: 30px;}/* Mall Section */
  .mall-cards {    flex-direction: column;}/* Community Section */
  .community-container {    flex-direction: column;}
}




/* ---------------------------------------------------- */
/* 10. Subpage Styles (서브페이지 전용) */
/* ---------------------------------------------------- */

#ctt{}
#ctt_con{}


#subpage-header { background-color: #E6F5E7; /* 연한 민트색 배경 (메인 배너와 유사) */ padding: 0 0 0; text-align: center;}
#subpage-header h2 { font-size: 2.5em; font-weight: 700; color: #333; margin-bottom: 30px;}

/* Sub Navigation (탭 스타일) */
.sub-nav-wrapper { background-color: #4CAF50; /* 녹색 배경 */ width: 100%; overflow-x: auto; /* 모바일에서 스크롤 가능하도록 */ white-space: nowrap; /* 항목들이 줄바꿈되지 않도록 */
}
.sub-nav { display: flex; max-width: 1200px; margin: 0 auto; padding: 0 20px; justify-content: center; /* PC에서는 중앙 정렬 */
}
.sub-nav a { display: inline-block; padding: 15px 30px; font-size: 1em; color: #fff; transition: background-color 0.3s, color 0.3s; flex-shrink: 0; /* 모바일에서 찌그러지지 않도록 */
}
.sub-nav a:hover,
.sub-nav a.active { background-color: #388E3C; /* 진한 녹색 */
}

/* 서브페이지 상단 타이틀 */
.sub-page-title {font-size: 2em;padding: 70px 20px 0;max-width: 1100px;margin: 0 auto;}


/* Sub Content Area */
#subpage-content { padding: 60px 0 100px;}
.sub-content h3 { font-size: 1.8em; font-weight: 700; margin-bottom: 20px; text-align: center;}
.sub-content p { font-size: 1em; color: #555; margin-bottom: 20px;}
.sub-content img { max-width: 100%; height: auto; display: block; margin: 30px auto; border-radius: 5px;}
.highlight-box { padding: 20px; border: 1px solid #ddd; border-radius: 8px; background-color: #f9f9f9; margin-bottom: 30px; line-height: 1.5;}

/* 서브 상세 정보 (하단 이미지 기반) */
.sub-info-area { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee;}
.sub-info-box { flex-basis: 48%; padding: 15px;}
.sub-info-box h4 { font-size: 1.2em; color: #4CAF50; margin-bottom: 10px; font-weight: 600;}
.sub-info-box p { font-size: 0.9em; color: #777;}

/* 후원안내 */
/* ---------------------------------------------------- */
/* 12. Sponsor Page Styles (ctt_sponsor) */
/* ---------------------------------------------------- */

#ctt {padding: 20px 0;width: 100%;max-width: 1100px !important;margin: 0 auto;}
.ctt_sponsor {}

.ctt_sponsor.sub-page-title { font-size: 2em; font-weight: 700; margin-bottom: 30px; text-align: left; color: #333;}

.ctt_sponsor .sponsor-intro-text p, .tax-info-text { font-size: 1em; color: #555; line-height: 1.8; margin-bottom: 20px; text-align: left;}
.ctt_sponsor .tax-info-text { text-align: center; padding-top: 20px;}

.ctt_sponsor .sponsor-image-wrap { width: 100%; margin: 30px 0; overflow: hidden; border-radius: 5px;}
.ctt_sponsor .sponsor-image-wrap img { width: 100%; height: auto; display: block;}

.ctt_sponsor .section-divider { border: none; border-top: 1px dashed #ddd; /* 이미지와 유사한 점선 */ margin: 40px 0;}

/* 후원 상세 영역 (2단 구조) */
.ctt_sponsor .sponsor-detail-area { display: flex; gap: 40px; margin-top: 20px; padding-top: 20px;}

.ctt_sponsor .detail-box { flex: 1;}

.ctt_sponsor .detail-title { font-size: 1.5em; font-weight: 700; margin-bottom: 25px;}

.ctt_sponsor .content-group { font-size: 0.95em; line-height: 2; margin-bottom: 10px;}
.ctt_sponsor .content-group .label { font-weight: 700; color: #333; margin-right: 10px;}
.ctt_sponsor .content-group .value { color: #555; margin-right: 15px;}
.ctt_sponsor .content-group .bank-info { color: #888;}

.ctt_sponsor .item-description { margin-bottom: 15px !important;}
.ctt_sponsor .contact-info .label { vertical-align: top;}
.ctt_sponsor .contact-info .value { display: inline-block; margin-right: 20px;}
.ctt_sponsor ul{display: flex;justify-content: space-between;}
.ctt_sponsor ul li{}


/* ---------------------------------------------------- */
/* Media Queries (모바일 반응형) */
/* ---------------------------------------------------- */
@media (max-width: 768px) { 


#header .menu-toggle img{display:block;height:15px;}/*햄버거메뉴*/

/* 회사홈페이지 인덱스 */
#main-banner{height:auto;padding:40px 0;}
#main-banner .banner-text img{width:100%;}
#main-banner .banner-text {padding:0 50px;}

#mall-section {height:auto;}
#mall-section .mall-card{padding:0;}
#mall-section h2 {margin-bottom:0;}
.mall-cards  {height:1000px;}
.mall-card img {width:80%;}

#contact-section h3 {font-size: 1em; line-height: 2;}
#contact-section p {font-size: 1.5em;}

/* 풋터 */
#footer .container {flex-direction: column;}
#footer {padding: 40px 0;background-color: #f8f8f8;}
#footer .container {display: flex;justify-content: space-between;
    flex-wrap: nowrap;}
  .footer-logo{}.footer-logo img {width: 150px; /* 로고 크기 조정 */height: auto;}
.footer-info {width:100%;min-width:unset;padding: 30px 0 0 0;}


.sub-page-title {font-size: 1.8em;text-align: center; /* 모바일에서 제목 중앙 정렬 */ }
.sponsor-intro-text p, .tax-info-text {font-size: 0.95em;text-align: justify; /* 본문 텍스트는 정렬 유지 */ }
 /* 2단 구조를 1단으로 변경 */ .sponsor-detail-area {flex-direction: column;gap: 30px; }
 .detail-title {font-size: 1.3em;border-bottom: 2px solid #4CAF50;padding-bottom: 5px; }
 .detail-box {padding-bottom: 20px;border-bottom: 1px solid #eee; } .detail-box:last-child {border-bottom: none; }
 .content-group {font-size: 0.9em;line-height: 1.6; } .content-group .label {display: inline-block;min-width: 60px; /* 라벨 너비 확보 */margin-bottom: 5px; } .content-group .bank-info {display: block; /* 모바일에서 계좌 정보를 한 줄로 분리 */margin-left: 60px; }  .contact-info .value {display: block;margin-right: 0; }
}



/* Subpage Media Queries */
@media (max-width: 992px) { #subpage-header {padding: 0; } #subpage-header h2 {font-size: 2em; } /* 서브 내비게이션은 overflow: auto로 스크롤만 적용 */ .sub-nav {justify-content: flex-start; /* 모바일에서는 왼쪽 정렬 */padding: 0 10px; } .sub-nav a {padding: 10px 15px; }  #subpage-content {padding: 40px 0 60px; } .sub-info-area {flex-direction: column; } .sub-info-box {flex-basis: 100%;margin-bottom: 20px;border-bottom: 1px solid #eee; }
}