@charset "UTF-8";

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

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

.main {
  position: relative;
}

.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;
  height: 900px;
}

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

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

.slide-box strong {
  font-size: 19px;
  color: #1a518e;
}

.slide-box h2 {
  padding: 2rem 0;
  font-size: 66px;
  line-height: 69px;
  font-weight: 200;
  letter-spacing: -2px;
}

.slide-box h2 b {
  color: #1a518e;
  font-weight: 800;
}

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

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

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

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

/* .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: #074daf;
}
.m_tit b {
  color: #074daf;
}

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

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

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

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

.t21 {
  font-size: 21px;
  font-weight: 700;
  color: #1a518e;
  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 {
  font-family: "NIXGONM-Vb";
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #00000086;
  color: #fff;
}

.bar .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
  padding: 2rem 3rem;
}

.bar h3 {
  padding-top: 1px;
  font-size: 20px;
}

.bar .banner {
  display: flex;
  justify-content: center;
  grid-gap: 8px;
  align-items: center;
}

/* sec1 시작*/
.sec1 {
  padding: 90px 0px;
  overflow: hidden;
}

.sec1 .t30 {
  padding: 1rem 0;
  font-family: "S-CoreDream";
}
.sec1 .t20 {
  padding: 5px;
  border-bottom: 1px solid #ddd;
  font-family: "S-CoreDream";
}

.sec1 .t19 {
  color: #555;
  padding: 1rem 0 3rem;
}

.sec1 .t19 b {
  color: #944b26;
}

.sec1 .img {
  background: url(../img/sec2_1.jpg) center;
  background-size: cover;
}

.sec1 .img2 {
  background: url(../img/sec2_2.jpg) center;
  background-size: cover;
}

.sec1 .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 70px;
  padding-top: 2rem;
}

/* slogan */
.slogan {
  background: url(../img/slogan_bg.jpg) center;
  background-size: cover;
  padding: 120px 0;
  text-align: center;
}
/* sec2 시작 */
.sec2 {
  padding: 100px 0 100px;
  background: url(../img/sec3_bg.jpg) no-repeat;
  background-position-y: 21vw;
  color: #fff;
}

.sec2 .container .text {
  max-width: 620px;
}

.sec2 .m_tit {
  color: #222;
}

.sec2 .t30 {
  padding-bottom: 4rem;
}

.sec2 .t20 {
  padding-bottom: 3rem;
}

.sec2 ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #ffffff7c;
}

.sec2 ul li p {
  border-bottom: 1px solid #ffffff7c;
  padding: 10px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

/* sec3 시작 */
.sec3 {
  padding: 80px 0 50px;
  overflow: hidden;
}

.slide_bg {
  padding: 0px 0;
}

.slide2 .slick-list {
  margin: 0 -20px;
}

.slide2 .slick-slide {
  margin: 0 120px;
  width: 850px !important; /* 슬라이드 가로 크기 고정 */
}

.slide2-box {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  padding-bottom: 4rem;
  margin: 20px 0;
}

.slide2 .slide-item {
  filter: grayscale(100%) contrast(42%) brightness(130%);
  transition: 0.8s;
}

/* 텍스트박스 */
.slide2 .text {
  background: #fff;
  padding: 2rem;
  width: 90%;
  margin: 0 auto;
  margin-top: 1rem;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
}

.slick-active.slick-center {
  filter: grayscale(0%);
}

.slick-center .text {
  margin-top: 0;
  opacity: 1;
  transition: 0.9s;
  transform: translateY(0px);
  box-shadow: 0 5px 19px #a7a7a74b;
}

.slide2-box h3 {
  font-size: 28px;
  font-weight: 700;
  background: url(../img/arrow_g.png) no-repeat left center;
  background-size: 20px;
  padding-left: 29px;
  margin-bottom: 1rem;
}

.slide2-box p {
  font-size: 18px;
  opacity: 0.8;
}

.slide2 .slick-prev {
  background: url(images/btn_prev.png);
  height: 36px;
  width: 36px;
  left: 20px;
}

.slide2 .slick-next {
  background: url(images/btn_next.png);
  height: 36px;
  width: 36px;
  right: 20px;
}

.slide2 .slick-dots {
  bottom: 10px;
}

.slide2 .slick-dots .slick-active button {
  background: rgb(216, 65, 98);
  display: none;
}

.slide2 .slick-dots li + li {
  margin-left: 10px;
}

.slide2 .slick-dots li button {
  font-size: 0;
  border-radius: 50%;
  background-color: green;
  width: 10px;
  height: 10px;
  display: none;
}

.slide2-box-1 {
  background: url(../img/new_1.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-2 {
  background: url(../img/new_2.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-3 {
  background: url(../img/new_3.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-4 {
  background: url(../img/new_4.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-5 {
  background: url(../img/new_5.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-6 {
  background: url(../img/new_6.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

/* slide3 */

.slide3-box {
  height: 370px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.slide3-box p {
  width: 100%;
  background: #0000008e;
  padding: 10px;
  text-align: center;
  color: #fff;
}
.slide3 .slide-item {
  margin: 0 10px;
}

.slide3-box-1 {
  background: url(../img/g1.jpg);
  background-size: 100%;
  background-size: cover;
  background-position: center;
}

.slide3-box-2 {
  background: url(../img/g1.jpg);
  background-size: cover;
  background-position: center;
}

.slide3-box-3 {
  background: url(../img/g1.jpg);
  background-size: cover;
  background-position: center;
}

.slide3-box-4 {
  background: url(../img/g1.jpg);
  background-size: cover;
  background-position: center;
}

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

.sec4 .container {
  max-width: 1000px;
  padding: 3rem;
  text-align: center;
  background: url(/img/sec4_bg.jpg) center;
}

.sec4 .m_tit {
  color: #fff;
}

/*******************************************************************************************************************************
 *** 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 {
    height: 530px;
  }

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

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

  .slick-arrow {
    display: none;
  }

  .text-group {
    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;
  }

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

  /* 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: 30px;
    font-weight: 700;
    padding-top: 1rem;
    line-height: 1.3;
  }

  .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 .container {
    padding: 10px;
    padding-bottom: 7px;
    grid-gap: 15px;
  }
  .bar img {
    width: 12px;
  }

  .bar h3 {
    font-size: 13px;
    padding-bottom: 6px;
  }

  /* sec1 */
  .sec1 {
    background-size: cover;
    padding: 30px 0 0;
  }
  .sec1 .container {
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }
  .sec1 .img,
  .sec1 .img2 {
    height: 300px;
  }

  .sec1 .img2 {
    grid-row: 1/1;
  }

  .sec1 .box2 .img {
    grid-row: 1;
    grid-column: auto;
  }
  .sec1 .box2 .text {
    grid-row: 2;
  }

  /* 섹션2 */
  .sec2 {
    padding: 60px 0 0;
    background-position-y: 270px;
  }

  .sec2 .t30 br {
    display: none;
  }

  .sec2 ul {
    grid-template-columns: 1fr;
  }

  .sec2 ul li p {
    font-size: 18px;
  }

  .sec2 .container {
    padding: 3rem 1rem;
  }

  /* sec3 */
  .sec3 {
    padding: 60px 0;
  }

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

  .sec4 .m_tit {
    padding: 0 10px;
    padding-bottom: 2rem;
  }

  .sec4 .container .m_tit {
    justify-content: center;
  }

  .sec4 .container .banner {
    align-items: center;
  }
}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width: 480px) {
  .slide-box {
    height: 100vh;
  }
  .slide-box-1 {
    background-position-x: 58%;
    background-image: url(../img/mainm.jpg);
  }

  .slide-box .text-group {
   justify-content: flex-start;
   padding-top: 155px;
  }
  .text-group h2 {
    font-size: 31px;
    letter-spacing: -2px;
  }
  .slide-box-1 strong {
    font-size: 14px;
    letter-spacing: 1px;
  }

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

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

  /* sec1 */

  /* sec3 */
  .sec3 {
    padding: 50px 0;
  }

  /* 슬라이드 */

  .slide2 .slick-slide {
    margin: 0 10px;
    width: 100vw !important; /* 슬라이드 가로 크기 고정 */
  }

  .slide2-box {
    background-size: 115% !important;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    padding-bottom: 0rem;
    margin: 00px 0 20px;
  }
  .slide2 .text {
    transform: translateY(0px);
  }
  .slide2-box h3 {
    font-size: 20px;
  }
  .slide2-box p {
    font-size: 16px;
  }
}
