@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333333;
  padding-top: 70px;
  cursor: default;
}

a{text-decoration: none; color: inherit; margin:0;}
li{list-style: none;}
ul{padding: inherit}
html {scroll-behavior: smooth;}

/* 스크롤 애니메이션 */
.scroll-animation {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.scroll-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 메뉴 스크롤 이동시 상단여백 _ 고정 nav에 안가려지게 */
#content01, #consult {scroll-margin-top: 80px;}
#content02, #content03, #content04, #content05 {scroll-margin-top: 120px;}

.column-2 #content01,#content02,#content03, #content04 , #content05{
  margin-bottom: 150px;
}


/* 폰트스타일 */
.ft22{font-size: 22px; font-weight: 400; margin:0;}
.ft21{font-size: 21px; font-weight: 600; margin:0;}
.ft20{font-size: 20px; font-weight: 600; margin:0;}
.ft18_r{font-size: 18px; font-weight: 400; margin:0; line-height: 1.8em;}
.ft17_m{font-size: 17px; font-weight: 500; margin:0;}
.ft17_r{font-size: 17px; font-weight: 400; margin:0; line-height: 1.6em;}
.ft16_m{font-size: 16px; font-weight: 500; margin:0;}
.ft15_r{font-size: 15px; font-weight: 400; margin:0;}
.m_t5{margin-top: 5px;}
.m_t15{margin-top: 15px;}

/*컬러*/
:root {
  --main-color:  #BA2B31;
  --bg-color: #F6F6F6;
  --bg-color2: #505050;
}
.gray2{color: #808080;}



/* 그리드 기본 */
.grid-container {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1220px) 1fr;
  min-height: 100%;
}


/* 네비게이션_고정*/
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  opacity: 1;
  padding: 0 20px;
}

.nav-container {
  padding: 0;
  max-width: 1200px;
  min-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  box-sizing: border-box;
}


/* 로고영역 : flex, 왼쪽 정렬*/
.nav-logo img {
  display: block;
  height: 32px;
  width: auto;
}

/* 메뉴 영역 : flex, 오른쪽 정렬 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0 20px;
}

/* 메뉴 텍스트 스타일 */
.nav-menu li {
  font-size: 16px;
  font-weight: 400;
}


/* 상담신청 버튼 스타일 */
.nav-btn {
  background-color: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  padding: 7px 19px 8px 19px;
  cursor: pointer;
  /* 배경 그라데이션 전환을 위한 트랜지션 */
  transition: background 0.4s cubic-bezier(0.4,0,0.2,1);
  background-image: linear-gradient(90deg, #BA2B31 0%, #BA2B31 100%);
  background-size: 200% 100%;
  background-position: left;
}

/* 호버 시 그라데이션 효과 */
.nav-btn:hover {
  background-image: linear-gradient(90deg, #d8333b 0%, #ff9b6c 100%);
  background-position: right;
  color: #fff;
}

/*메인배너*/
.banner{
  width: 100vw;
  min-width: 100vw;
  height: 450px;
  background-color: #fff2f1;
  transition: background-color 0.4s cubic-bezier(0.4,0,0.2,1);
}

.banner > .center {
  max-width: 1200px;
  margin: 0 auto;
}

/*배너 텍스트 스타일*/
.banner-desc{
  font-size: 22px;
  font-weight: 400;
  margin: 0px;
}
.banner-title{
  font-size: 35px;
  font-weight: 600;
  margin-top: 5px;
}


/*메인배너 버튼스타일*/
.banner-btn{
  color: #fff;
  width: 130px;
  text-align: center;
  padding: 12px 8px ;
  border-radius: 50px;
  margin-top: 40px;
}
.btn01{ background-color: var(--main-color);}
.btn02{background-color: #4F7947;}
.btn03{background-color:  #cf3232;}
.btn04{background-color: #FE7E23;}



/* 배너 슬라이드 영역: 슬라이드 구조 */
.banner_slides {
  position: relative;
  width: 100%;
  height: 450px;
}

/* 각 배너 슬라이드: 기본적으로 숨김, 활성화된 것만 보임 */
.banner_slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 1200px;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0 auto;
}
.banner_slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.banner_text_layer {
  position: absolute;
  left: 10px;
  top: 53%;
  transform: translateY(-50%);
  z-index: 2;
}

.banner_slide img {
  display: block;
  width: auto;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}


/* 콘텐츠 */
.tit1{
  font-size: 34px;
  font-weight: 600;
  color: #333333;
  line-height: 1.3em;
}

.tit{
  font-size: 31px;
  font-weight: 500;
  color: #333333;
}

.intro {
  max-width: 1200px;
  padding: 45px 15px 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* 소개영역 : flex, 왼쪽 정렬 */
.intro_text {
  display: flex;
  flex-direction: column;
  gap: 50px;
  line-height: 28px;
  width: 440px;
  padding: 30px 10px;
}

/* 혜택영역 : flex, 오른쪽 정렬 */
.benefit_zone {
  display: flex;
  gap: 15px;
  margin-top: 5px;
  padding: 45px 5px;
}

.benefit {
  display: flex;
  flex-direction: column;
  width: 180px;
  gap: 5px;
  text-align: center;
  height: 160px;
  padding: 40px 5px;
}

.benefit li {
  opacity: 1;
  transition: transform 0.2s, opacity 0.2s;
}

.benefit li:nth-child(3) {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.2s, height 0.2s;
  margin-top: 5px;
}

/* 혜택 자동 hover */
.benefit.auto-hover,
.benefit:hover {
  background: #f9f9f9;
  border-radius: 18px;
  transition: background 0.2s, border-radius 0.2s;
}
.benefit.auto-hover li,
.benefit:hover li {
  transform: translateY(-7px);
}
.benefit.auto-hover li:nth-child(3),
.benefit:hover li:nth-child(3) {
  opacity: 1;
  height: auto;
  line-height: 1.5em;
}

/* 카테고리 6 */
.by-use {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 0 20px;
  gap: 20px;
}

.usebox {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.usebox img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* 회사정보 */
.info_tit{
  font-size: 30px;
  font-weight: 600;
  line-height: 2em;
  text-align: center;
  margin-bottom: 80px;
}


/* 진행절차 */
.process{
  text-align: center;
}

#content03{
  background-color: #f8f8f8 ;
  padding: 100px 0 130px;
}

.process_container{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
}


/* 제휴사례 */
.example {
  text-align: center;
}

/* 제휴사례 소메뉴 영역 */
.example-tabs {
  display: flex;
  justify-content: center;
  gap: 150px;
  border-bottom: 1px solid #eee;
  padding: 45px 20px 0;
  margin: 0 20px;
}

.tab{width: 120px;}

.example-tabs .tab {
  font-size: 18px;
  font-weight: 400;
  color: #333333;
  padding: 12px 0 14px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.example-tabs .tab.active {
  font-weight: 500;
  color: #333333;
}
.example-tabs .tab.active::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background-color: var(--main-color);
  transform: scaleX(0);
  transform-origin: center;
  animation: lineExpand 0.2s ease-out forwards;
}

/* 제휴사례 소메뉴 액티브바 효과 */
@keyframes lineExpand {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* 제휴사례 상세설명 박스 */
.example-descs {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 0 5% ;
  /* background-color: var(--bg-color); */
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  margin: 40px 20px;
}
.example-descs .desc { display: none; }
.example-descs .desc.active { display: block; }

/* 카드 목록 영역 */
.cards {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.cards.active {
  display: grid;
}

.card {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.card_name{
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 3% 1%;
}

.card img {
  width: 100%;
  height: 300px ;
  aspect-ratio: 1/1;
  object-fit: cover;
}


/* 제휴기업(로고) 영역 */
.Corp {
  text-align: center;
}

.Corp-logo {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px;
}

.Corp-logo li{
  border: 1px solid #e9e9e9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.Corp-logo li img{
  height: 90%;
  object-fit: contain;
  display: block;
}


/* 상담신청 영역 */
.consult{
  background-color: var(--main-color);
  width: 100%;
  text-align: center;
  padding: 40px 0;
}

.consult > .center {
  max-width: 1200px;
  margin: 0 auto;
}

.consult-card {
  width: 450px;
  margin: 30px auto;
  padding: 50px 60px 50px;
  background: #fff;
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.consult-title {
  font-weight: 400;
  margin-bottom: 40px;
  font-size: 25px;
}

.consult-subtitle {
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 17px;
  text-align: left;
}

.consult-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consult-inputs input {
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 13px 0;
  font-size: 16px;
  outline: none;
  color:#333 ;
}

.consult-section {
  margin-top: 40px;
  width: 100%;
  min-height: 120px;
  border: none;
}

.consult-section textarea{
  width: 92%;
  min-height: 130px;
  font-size: 16px;
  border: none;
  resize: none;
  margin-top: 10px;
  color: #333;
  padding: 4%;
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.6em;
  background-color: var(--bg-color);
}

textarea:focus {
  outline: none;
}

.consult-agree {
  margin-top: 5px;
  font-size: 15px;
  color: #333;
  text-align: left;
}

.consult-agree input[type="checkbox"] {
  margin-right: 5px;
}

input[type="checkbox"] {
  accent-color: var(--main-color);
}

.consult-submit {
  width: 100%;
  background: #f6f6f6;
  color: #333;
  border: none;
  border-radius: 30px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  margin-top: 30px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Noto Sans KR', sans-serif;
}

.consult-submit:hover {
  background: #ececec;
}

/* 상담신청_제휴문의 */
.CC_info{
  color: #fff;
  width: 570px;
  margin: auto;
  text-align: left;
  padding: 5px 0 ;
}

.CC_tit{
  border-bottom: 1px solid #fff;
  font-size: 18px;
  padding: 15px 0;
}



/* 푸터 영역 */
footer{
  background-color: var(--bg-color2);
  padding: 50px 20px;
}
.footer_info{
  margin-top: 0px;
  color: #acacac;
  font-size: 14px;
  line-height: 1.8em;
}

footer > .center {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content:space-between;
  align-items: center;
}

/* 사이즈 조절 */
@media (max-width: 1100px) {
  .intro {justify-content: center;text-align: center;}
  .intro_text {min-width: auto; width: 100%;}
  .benefit_zone {justify-content: center;}
  .cards {grid-template-columns: repeat(2, 1fr);}
  .card { width: 100%; min-width: 140px; }
  .Corp-logo {grid-template-columns: repeat(2, 1fr);}
}







