@charset "UTF-8";

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

.main_wrap {
  background: #444;
}

/******************** 메인 슬라이드 시작 ********************/
.slick-slider {
  position: relative;
}

.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* height: 45px; */
  width: 50px;
  font-size: 0;
}

.slick-prev {
  background: url(images/prev.png);
  left: 0;
  z-index: 2;
}

.slick-next {
  background: url(images/next.png);
  right: 0;
}

.slick-dots {
  position: absolute;
  top: 50%;
  right: 5%;
  z-index: 5;
  text-align: center;
  transform: translateY(-50%);
}

.slick-dots li {
  display: block;
  font-size: 0;
  margin: 15px 0;
}

.slick-dots .slick-active button {
  background-color: #222;
}

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


.slide-box {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  height: 950px;
  position: relative;
}

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

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

.text-group {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  width: 100%;
  height: 100%;
  color: #fff;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.text-group div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-box h2 {
  font-size: 55px;
  line-height: 63px;
  font-weight: 500;
  letter-spacing: -1px;
}

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

.slide-box p {
  display: inline-block;
  font-size: 20px;
  color: #e8da61;
  padding: 2rem 0;
}

.slide-box .text {
  color: #fff;
  opacity: 0.7;
  max-width: 50ch;
}

.slide-box span {
  display: inline-block;
  padding: 6px 10px;
  background: #444;
  color: #fff;
  font-size: 20px;
  margin-top: 20px;
}

.slide-box .more {
  display: inline-block;
  margin-top: 3rem;
  border-radius: 25px;
  background: #42a4c3;
  color: #fff;
  padding: 15px 35px;
  position: relative;
  overflow: hidden;
}

.slide-box .more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 0;
  transition: 0.5s;
  opacity: 0.3;
}

.slide-box .more:hover::before {
  left: 0;
}

.main .m_block {
  display: none;
}

/* .slide.align-center .slide-box {
  display: flex;
  align-items: center;
  justify-content: center; 
} */
/******************** 메인 슬라이드 끝// ********************/



/**m_tit 시작**/
.m_tit {
  margin-bottom: 50px;
  color: #333;
  text-align: center;
}

.m_tit h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -1px;
}

.m_tit b {
  color: #4289c3;
  font-weight: normal;
}

.m_tit p {
  font-size: 17px;
  color: #7a7a7a;
  font-weight: normal;
  padding-bottom: 1rem;
}

.m_tit h3 {
  font-size: 32px;
  font-weight: 800;
  padding-top: 15px;
  line-height: 100%;
}

.m_tit i {
  color: #7cca4e;
  font-size: 15px;
  font-weight: 700;
  display: block;
  font-style: normal;
}

.line {
  display: inline-block;
  width: 70px;
  height: 3px;
  margin: auto;
  background: #4289c3;
}

/**m_tit 끝//**/


/* 공통텍스트 */

.t40 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -1px;
}

.t35 {
  font-size: 35px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -2px;
}

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

.t25 {
  font-size: 25px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -1px;
}

.t b {
  color: #488a61;
}

.t20 {
  font-size: 20px;
  line-height: 1.6;
}

.t19 {
  font-size: 19px;
  line-height: 1.6;
}

.t17 {
  font-size: 17px;
  line-height: 1.6;
}

.t15 {
  font-size: 15px;
  line-height: 1.65;
}

.t_b {
  display: inline-block;
  border: 1px solid;
  padding: 15px 45px;
  margin-top: 3rem;
}

.t_b:hover {
  color: #47adad;
}

a.more {
  background: #b89690;
  color: #fff;
  padding: 18px 50px;
  font-size: 16px;
}



/* sec1 시작 */
.sec1 {
  position: relative;
  padding: 100px 0;
}

.sec1 ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}

.sec1 ul li {
  background: #555;
  padding: 3rem 2rem;
  color: #fff;
}

.sec1 ul li .t30 {
  padding-top: 1.5rem;
}

.sec1 ul li p {
  padding: 1.5rem 0 2rem;
}

.sec1 ul li:hover {
  background: #cfaf2d;
  color: #222;
}

.sec1 ul li:hover img {
  filter: brightness(40%);
}


/******************** 슬라이드2 시작 ********************/

.slide_bg {
  overflow: hidden;
  display: flex;
}

.slide2 {
  width: 100%;

}

.slide2 .slick-slide {
  margin: 0 10px;
  width: 100%;
}

.slide2-box {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  height: 300px;
}


.slide2 .slide-item:hover {
  opacity: 1;
}

.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-box-1 {
  background: url(../img/g1.jpg);
  background-size: cover;
  background-position: center center;
}

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

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

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

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

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



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






/* sec2 시작 */
.sec2 {
  position: relative;
  width: 100%;
  padding: 100px 0 100px;
  background: url(../img/sec2_bg.jpg) top center;
}

.sec2 ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
}

.sec2 ul li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}
.sec2 .banner {
  display: flex;
}
.sec2 .more {
  background: #000;
  border-radius: 30px;
  padding: 15px 50px;
  margin-right: 10px;
}

.sec2 .more2 {
  background: #fff !important;
  color: #000;
}

.main_d_block {
  display: block;
}

.main_m_block {
  display: none;
}


/* sec3 시작*/

.sec3 {
  padding: 100px 0;
  background: #fdf9f2;
}

.sec3 .m_tit h2 b {
  font-weight: 800;
}


/* sec3 끝 */


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

.sec4 .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #fff;
}

.sec4 .container .t19 {
  opacity: 0.8;
  padding-top: 1rem;
}

.sec4 .tel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}



/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width:1024px) {

  /**메인 슬라이드 시작**/
  .slide-box h2 {
    font-size: 36px;
    line-height: 44px;
  }

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

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

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

  /**메인슬라이 없을때 시작**/
  .main_vis,
  .main_vis2,
  .main_vis_txt {
    height: 420px;
  }

  .main_vis_txt h2 {
    font-size: 45px;
    line-height: 46px;
  }

  .main_vis_txt h3 {
    font-size: 20px;
  }

  .main_vis_txt p {
    font-size: 17px;
  }

  .main_vis_txt p span {
    display: block;
  }

  .vis_btn span {
    width: 160px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    margin-top: 30px;
  }

  /**메인슬라이 없을때 끝//**/

  /**m_tit 시작**/
  .m_tit {
    margin-bottom: 30px;
  }

  .m_tit h2 {
    font-size: 34px;
    line-height: 44px;
  }

  .m_tit p {
    font-size: 18px;
    padding-top: 10px;
  }

  /**m_tit 끝//**/


  /* sec1 */





}

/*******************************************************************************************************************************
 *** 모바일 max-width 767
*******************************************************************************************************************************/
@media (max-width:767px) {
  .slide-box span {
    display: none;
  }

  /**메인 슬라이드 시작**/
  .slick-dots li button {
    width: 10px;
    height: 10px;
  }

  .slick-arrow {
    display: none;
  }

  .slide-box {
    height: 450px;
  }

  .text-group {
    height: 450px;
    grid-gap: 0;
    grid-template-columns: 0.4fr 1fr;
  }

  .slide-box h2 {
    font-size: 47px;
  }

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


  /* 타이틀 */
  .title {
    padding: 0.6rem;
    padding-bottom: 2rem;
    text-align: left;
  }

  /**m_tit 시작**/
  .m_tit {
    margin-bottom: 30px;
  }

  .m_tit h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .m_tit h3 {
    font-size: 22px;
    line-height: 32px;
  }

  .m_tit p {
    font-size: 17px;
    padding-top: 5px;
  }

  /**m_tit 끝//**/
  /* 공통텍스트 */

  .t40 {
    font-size: 36px;
    line-height: 1.2;
  }

  .t35 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -2px;
  }

  .t30 {
    font-size: 26px;
    line-height: 1.23;
    font-weight: 700;
    letter-spacing: -1px;
  }

  .t25 {
    font-size: 21px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -1px;
  }

  .t b {
    color: #488a61;
  }

  .t19 {
    font-size: 17px;
    line-height: 1.6;
  }

  .t17 {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .t15 {
    font-size: 13.5px;
    line-height: 1.65;
  }




  /* 섹션1시작 */
  .sec1 {
    padding: 70px 0;
  }

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


  /* sec2 */
  .sec2 {
    padding: 60px 30px;
    text-align: center;
    background: #e8cf61;
  }

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

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

  .sec3 .container {
    grid-template-columns: 1fr;
    grid-gap: 50px;
  }

  /* sec4 */


}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width:480px) {

  /* 메인 */

  .slide-box .text-group {
    width: 100%;
  }

  .slide-box h2 {
    font-size: 30px;
    padding-bottom: 0rem;
    line-height: 1.1;
  }

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

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

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

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

  .m_tit {
    margin-bottom: 20px;
  }

  .m_tit h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 33px;
  }

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


  /* 섹션1시작 */
  .sec1 {
    padding: 4rem 0;
  }

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

  .sec1 h2 {
    font-size: 40px;
  }


  /* sec2 */

  .sec2 {
    padding: 3rem 1rem;
  }

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


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


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

  .sec4 .container {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }

  .sec4 .container .tel {
    justify-content: flex-start;
  }

  .sec4 .container .tel img {
    width: 70%;
  }  

  .sec4 .t40 {
    font-size: 32px;
  }


}

/*******************************************************************************************************************************
 *** 모바일 max-width 340
*******************************************************************************************************************************/
@media (max-width:340px) {

  .main_vis,
  .main_vis_txt {
    height: 200px;
  }

  .main_vis_txt span img {
    height: 55px;
  }

  .m_tit h2 {
    font-size: 20px;
    line-height: 30px;
  }

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

  .m_tit.m_tit_color p {
    font-size: 14px;
  }





}

/*******************************************************************************************************************************
 *** 모바일 max-width 300
*******************************************************************************************************************************/
/* @media (max-width:300px){
  .bnr_link_item .item.item1 {
    height: 140px;
    background-size: 80px;
  }
  .bnr_link_item .item.item2 {
    height: 140px;
    background-size: 80px;
  }
  .bnr_link_item .item.item3 {
    height: 140px;
    background-size: 80px;
  }
  .bnr_link_item .item.item4 {
    height: 140px;
    background-size: 80px;
  }
  .item h2 {
    font-size: 14px;
  }
  .item p {
    display: none;
  }
} */