@charset "UTF-8";

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

/******************** 메인 슬라이드 시작 ********************/

.main {
  position: relative;
}

.slide-box .m_block {
  display: none;
}

.slick-slider {
  position: relative;
}

.slick-dots li button {
  font-size: 0;
  border-radius: 50%;
  background-color: #666;
  opacity: 0.5;
  width: 16px;
  height: 16px;
}

.slide-box {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  text-align: center;
  width: 100%;
  height: 900px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.slide-box-1 {
  background: url(../img/main.jpg);
  background-position: center;
  background-size: cover;
}

.text-group {
  display: flex;
  width: 1000px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  grid-gap: 70px;
  height: 100%;
}

.slide-box h2 {
  padding: 2rem 0;
  font-size: 54px;
  line-height: 65px;
  font-weight: 200;
  letter-spacing: -2px;
  text-shadow: 0 0 10px #ffffff, 0 0 14px #ffffff, 0 0 18px #eee2d4;
}

.slide-box h2 b {
  font-weight: 800;
  color: #0d72ba;
}

.slide-box em {
  color: #038029;
  font-weight: 800;
}

.slide-box h3 {
  font-size: 40px;
  line-height: 50px;
  font-weight: 400;
  letter-spacing: -4px;
  color: #00f7ff;
}

.slide-box h3 b {
  font-weight: 800;
}

.slide-box p {
  font-size: 23px;
  font-weight: bold;
  padding-bottom: 4rem;
  color: #313131;
  text-shadow: 0 0 10px #ffffff, 0 0 14px #ffffff, 0 0 18px #eee2d4;
}

/* .slide.align-center .slide-box {
  display: flex;
  align-items: center;
  justify-content: center; 
} */

/******************** 슬라이드2 끝// ********************/

/* m_tit */
.m_tit {
  text-align: center;
  padding-bottom: 2rem;
}

.m_tit span {
  font-size: 16px;
  font-weight: 900;
  color: #074daf;
}

.m_tit h3 {
  font-size: 37px;
  letter-spacing: -2px;
}

.m_tit p {
  font-size: 19px;
  color: #00a246;
}
.m_tit b {
  color: #00a246;
}

/* 타이틀 */
.t50 {
  font-size: 47px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: -2px;
}

.t40 {
  font-size: 40px;
  padding-top: 1rem;
  line-height: 1.3;
  letter-spacing: -1px;
}

.t30 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
}

.t25 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  font-family: "Pretendard";
}

.t20 {
  font-size: 20px;
  font-weight: 400;
  font-family: "Pretendard";
  letter-spacing: -1px;
}

.t19 {
  font-size: 19px;
  font-family: "Pretendard";
  letter-spacing: -1px;
}

.t17 {
  font-size: 17px;
  opacity: 0.7;
}

/* bar */
.main {
  position: relative;
}
.bar {
  background: #0dc568;
  padding: 1.4rem 0;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.bar .container {
  width: 1200px;
  display: grid;
  grid-template-columns: 1fr 440px;
  grid-gap: 30px;
  border-radius: 30px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
}

.bar .container div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  grid-gap: 15px;
  padding: 3rem;
}

.bar .green {
  background: #1d7c9f;
  justify-content: center !important;
}

.bar h3 {
  font-size: 24px;
}

.bar .t15 {
  opacity: 0.77;
}

/* sec1 */
.sec1 {
  padding: 120px 0 40px;
  background: url(../img/line_bg.jpg) center;
}

.sec1 .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-gap: 50px;
  padding-bottom: 3rem;
}

.sec1 b {
  color: #3fb545;
  font-weight: 800;
}

.sec1 .t40 {
  padding-bottom: 2rem;
}

.sec1 .t20 {
  color: #555;
  padding-bottom: 2rem;
  max-width: 40ch;
}

.sec1 .t19 {
  background: url(../img/check.png) no-repeat left center;
  padding-left: 24px;
  margin: 8px 0;
}

.more {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  font-size: 17px;
  border-radius: 30px;
  color: #fff;
  background: #127bc2;
}

.more .flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  grid-gap: 10px;
}

.more:hover {
  background-image: linear-gradient(90deg, #227a54, #7cbdd1);
}

.sec1 ul li:nth-child(1) .img {
  background: url(../img/sec1_1.jpg);
  background-size: cover;
}

.sec1 ul li:nth-child(2) .img {
  background: url(../img/sec1_2.jpg);
  background-size: cover;
}

.sec1 ul li:nth-child(3) .img {
  background: url(../img/sec1_3.jpg);
  background-size: cover;
}

.sec1 ul li:nth-child(4) .img {
  background: url(../img/sec1_4.jpg);
  background-size: cover;
}

.sec1 ul li .text:hover {
  background: #eee;
}

.sec1 ul li .text:hover a img {
  filter: brightness(120%) hue-rotate(30deg);
}

/* 슬라이드3 */
.slide3 .slick-list {
  overflow: hidden; /* ✅ 넘치는 부분 숨기기 */
}

.slide3 .slick-slide {
  margin: 0 20px;
}

.slide3-box {
  height: 290px;
}

/* sec2 */
.sec2 {
  padding: 140px 0 100px;
  background: url(../img/sec2_bg.jpg) center top no-repeat;
  background-size: 100%;
}

.sec2 img {
  width: 16px;
  filter: invert(37%) sepia(16%) saturate(1681%) hue-rotate(75deg)
    brightness(96%) contrast(88%);
}

.sec2 .box {
  display: flex;
  justify-content: center;
  grid-gap: 40px;
}
.sec2 span {
  display: block;
  width: 100px;
  background: #307737;
  height: 1px;
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 3rem;
}
.sec2 a {
  width: 200px;
  height: 60px;
  background: #fff;
  border-radius: 50px;
  font-size: 19px;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 40px;
  color: #307737;
}
.sec2 a:hover {
  background: #307737;
  color: #fff;
}

.sec2 ul li:nth-child(1) .img {
  background: url(../img/sec2_1.png) center no-repeat;
}

.sec2 ul li:nth-child(2) .img {
  background: url(../img/sec2_2.png) center no-repeat;
}

.sec2 ul li:nth-child(3) .img {
  background: url(../img/sec2_3.png) center no-repeat;
}

.sec2 ul li:nth-child(4) .img {
  background: url(../img/sec2_4.png) center no-repeat;
}

.sec2 ul li:hover {
  background: #ffffffc5;
}

.sec2 ul li:hover .img {
  background-size: 120% !important;
}

/* sec3 */
.sec3 {
  padding: 100px 0 20px;
  overflow: hidden;
}
.sec3 .container {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding: 0px;
  box-sizing: border-box;
  align-items: flex-start;
}
.swiper {
  width: 100%;
  height: 320px; /* 명시적 높이 설정 */
  box-sizing: border-box;
}
.sec3 .left {
  background: url(../img/sec3_1_bg.png) no-repeat center;
  height: 310px;
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 20px;
}
.sec3 .container {
}
.sec3 .right {
  flex: 1;
  background: #fff;
  padding: 0px;
  box-sizing: border-box;
  min-width: 0; /* flex 아이템의 최소 너비 제한 해제 */
}

.sec3 .text {
  padding: 0 1rem;
}
.sec3 .text h3 {
  font-size: 20px;
  letter-spacing: -1px;
  padding: 1.4rem 0 1rem;
}

.sec3 .text p {
  font-size: 16px;
  opacity: 0.8;
  letter-spacing: -1px;
  padding-bottom: 1.4rem;
}

.sec3 .swiper-slide {
  padding: 0 5px;
}

/* sec4 */
.sec4 {
  padding: 100px 0;
}

.sec4 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sec4 .content_box {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 480px;
}

.sec4 .left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 35%;
}

.sec4 .text_box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.sec4 .text_box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.sec4 .text_box:hover::before {
  left: 100%;
}

.sec4 .text_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #4caf50;
}

.sec4 .text_box.active {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(76, 175, 80, 0.3);
}

.sec4 .text_box.active .number {
}

.number {
  border-radius: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  font-size: 24px;
  font-weight: bold;
  font-family: "NIXGONM-Vb";
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.subject h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.sec4 .text_box.active .subject h3 {
  color: white;
}

.subject p {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.sec4 .text_box.active .subject p {
  color: rgba(255, 255, 255, 0.9);
}

.sec4 .right {
  flex: 0 0 65%;
  height: 445px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-container.active {
  opacity: 1;
}

.image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* 각 이미지별 배경 */
.image-1 {
  background-image: url("../img/sec4_1.jpg");
}

.image-2 {
  background-image: url("../img/sec4_2.jpg");
}

.image-3 {
  background-image: url("../img/sec4_3.jpg");
}

/* 진행 바 */
.progress-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: white;
  transform: scale(1.2);
}

/* sec5 */
.sec5 {
  padding: 10px 0 50px;
}

.sec5 .box {
  padding: 90px 20px;
  background: url(../img/sec5_bg.jpg) center;
  text-align: center;
  width: 90%;
  margin: auto;
  border-radius: 80px;
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1024px) {
  /**메인 슬라이드 시작**/

  .slide-box {
    height: 700px;
  }

  .slide-box h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .slide-box p {
    font-size: 16px;
  }

  .slide-box span {
    font-size: 16px;
  }

  /**메인 슬라이드 끝**/

  /* .sec2 */
  .sec2 {
  }

  .sec2 .container {
    grid-template-columns: 1fr;
    width: 100%;
    grid-gap: 0px;
  }

  .sec2 .img {
    height: 340px;
  }
}

/*******************************************************************************************************************************
 *** 모바일 max-width 767
*******************************************************************************************************************************/
@media (max-width: 767px) {
  /**메인 슬라이드 시작**/

  .slide-box .m_block {
    display: block;
  }

  .slide-box .d_block {
    display: none;
  }

  .slide-box {
    height: 530px;
  }

  .slide-box-1 {
    background-size: cover;
  }

  .slick-dots li button {
    width: 10px;
    height: 10px;
  }

  .slick-arrow {
    display: none;
  }

  .text-group {
    align-items: flex-start;
    padding: 120px 30px 0;
    grid-gap: 0px;
    flex-direction: column;
  }

  .slide-box h2 {
    font-size: 32px;
    letter-spacing: normal;
    line-height: 38px;
  }
  .slide-box h3 {
    font-size: 26px;
    letter-spacing: normal;
    line-height: 30px;
  }

  /* m_tit */
  .m_tit {
    flex-wrap: wrap;
    grid-gap: 20px;
  }

  .m_tit h3 {
    font-size: 29px;
  }

  .m_tit p {
    font-size: 15px;
  }

  /* 타이틀 */
  .t50 {
    font-size: 35px;
    font-weight: 500;
    padding-top: 0.7rem;
  }

  .t40 {
    font-size: 28px;
    font-weight: 700;
    padding-top: 1rem;
    line-height: 1.3;
    letter-spacing: -2px;
  }

  .t30 {
    font-size: 22px;
    font-weight: 700;
  }

  .t25 {
    font-size: 20px;
  }

  .t20 {
    font-size: 17px;
  }

  .t19 {
    font-size: 16px;
  }

  .t17 {
    font-size: 15px;
    opacity: 0.7;
  }

  /*   .bar */
  .bar {
    position: relative;
    left: 0;
    transform: translate(0%, 0%);
  }
  .bar .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    padding: 1rem;
    background: #fff;
    border-radius: 44px;
    box-shadow: none;
  }

  .bar h3 {
    font-size: 19px;
  }

  .bar img {
    width: 80px;
  }

  /* sec1 */
  .sec1 {
    border-top: 1px solid #ddd;
  }

  .sec1 .container {
    grid-template-columns: 1fr;
    grid-gap: 0px;
  }

  .board_box .title a {
    font-size: 17px;
  }

  /* sec2 */
  .sec2 {
    padding: 80px 0px 30px;
    background-size: cover;
    font-size: 16px;
  }

  .sec2 ul li p {
    padding: 2rem 0 1rem;
    font-size: 16px;
  }

  .sec2 ul li .text {
    padding-bottom: 2rem;
  }

  .sec2 b {
    font-size: 22px;
  }

  .sec2 ul {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: 0rem;
    grid-gap: 15px;
  }
  .sec2 ul li {
    background: #fff;
  }

  /* 섹션4 */
  .sec4 {
    padding: 60px 10px 0;
  }

  .sec4 .content_box {
    flex-direction: column;
    gap: 30px;
  }

  .sec4 .left {
    flex: none;
    width: 100%;
  }

  .sec4 .right {
    flex: none;
    width: 100%;
    height: 300px;
  }

  .sec4 .text_box {
    padding: 20px !important;
  }

  .sec4 .text_box h3 {
    font-size: 18px;
  }

  /* sec5 */
  .sec5 .box {
    border-radius: 20px;
    padding: 7rem 2rem;
    background-size: cover;
  }
}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width: 480px) {
  .slide-box {
    height: 100vh;
  }

  .slide-box-1 {
    background-position-x: 15%;
    background-size: cover;
    background-image: url(../img/mainm.jpg);
  }

  .text-group {
    justify-content: flex-start;
    padding: 140px 20px;
  }
  .text-group h2 {
    text-shadow: 0 0 11px #fff;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -2px;
  }

  .more {
    padding: 1rem 2.2rem;
    font-size: 14px;
    margin-top: 1rem;
  }

  /* bar */
  .bar {
    display: none;
  }
  /* 공통 */
  .t50 {
    font-size: 30px;
  }

  /* sec1 */
  .sec1 {
    padding: 50px 0 20px;
  }

  .sec1 .img {
    padding-bottom: 2rem;
  }

  /* sec2 */
  .sec2 {
    padding: 30px 0;
    background-image: url(../img/sec2_bgm.jpg);
    background-size: 100%;
    background-position: right bottom;
  }
  .sec2 .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-items: center;
    grid-gap: 10px;
    padding-bottom: 170px;
  }
  /* sec3 */
  .sec3 {
    padding: 50px 0;
    border-bottom: 1px solid #ddd;
  }
  .sec3 .container {
    grid-template-columns: 1fr;
  }

  .sec3 .left {
    display: none;
  }

  .sec3 .swiper-slide {
    text-align: center;
  }

  /* 슬라이드 */

  /* sec4 */
  .sec4 {
    background-size: cover;
    padding: 50px 0 20px;
  }

  /* sec5 */
  .sec5 {
    padding: 40px 0;
  }
}
