@charset "UTF-8";

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

.d_block {
  
}

.m_block {
  display: none !important;
}
/******************** 메인 슬라이드 시작 ********************/

.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 {
  text-align: center;
  height: 930px;
}

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

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

.slide-box h2 {
  padding: 2rem 0;
  font-weight: 600;
  font-family: "S-CoreDream";
  font-size: 66px;
  line-height: 69px;
  letter-spacing: -5px;
}

.slide-box h2 b {
  font-weight: 800;
  color: rgb(243, 219, 83);
}

.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 {
  padding-bottom: 2rem;
}

.m_tit span {
  font-size: 16px;
  font-weight: 700;
  color: #65997b;
  letter-spacing: 3px;
}

.m_tit h3 {
  font-size: 37px;
  letter-spacing: -2px;
  padding: 1rem 0;
}

.m_tit p {
  font-size: 19px;
  padding-bottom: 1rem;
}
.m_tit b {
  color: #65997b;
}

/* 타이틀 */
.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: -1px;
}

.t35 {
  font-size: 35px;
  font-weight: 700;
  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 {
  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 {
  background-size: cover;
  padding: 100px 0px;
  background: url(../img/sec1_bg.jpg) center no-repeat;
  overflow: hidden;
}

.sec1 b {
  color: #65997b;
}
.sec1 .t20 {
padding: 20px;
background: #f3f3f3;
border-left: 3px solid #000;
margin-bottom: 1.5rem;
}
.sec1 .t25 {
  margin-bottom: 1.4rem;
  color: rgb(231, 51, 51);
}

.sec1 .box {
  font-size: 20px;
  padding-left: 22px;
  font-weight: 700;
  background: url(../img/check.png) no-repeat left center;
}

.sec1 .box b,
.sec1 .t19 b {
  color: #65997b;
  font-size: 1.1em;
}

.t17 {
  padding-bottom: 10px;
}

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

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

/* sec2 시작 */
.sec2 {
  position: relative;
  padding: 100px 0 100px;
  background-size: cover;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.sec2 .t19,
.t40 {
  text-align: center;
}

.sec2 .slick-track {
  padding: 40px 0px;
}
.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
}

.card-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.card-content {
  padding: 30px;
}

.card-title {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 15px;
}

.card-description {
  color: #5a6c7d;
  line-height: 1.6;
  font-size: 16px;
}

/* Slick 스타일 커스터마이징 */
.slick-dots {
  bottom: -50px;
}

.service-card {
  margin: 0 20px;
}

.slick-prev {
  left: -25px;
}

.slick-next {
  right: -25px;
}
.card-image {
  background-size: cover !important;
}

.card-image.repair {
  background: url(../img/sec3_1.png) !important;
}

.card-image.restoration {
  background: url(../img/sec3_2.png) !important;
}

.card-image.inspection {
  background: url(../img/sec3_3.png) !important;
}

.card-image.emergency {
  background: url(../img/sec3_4.png) !important;
}

@media (max-width: 767px) {
  .card-content {
    padding: 20px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-description {
    font-size: 14px;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 36px;
  }

  .slick-prev,
  .slick-next {
    width: 40px;
    height: 40px;
  }

  .slick-prev:before,
  .slick-next:before {
    font-size: 24px;
  }
}

/* slogan */
.slogan {
  background: url(../img/slogan_bg.jpg) center fixed;
  background-size: cover;
  padding: 100px 20px 70px;
  text-align: center;
  color: #fff;
}

.slogan .t35 {
  padding-bottom: 4rem;
  font-weight: 500;
}

.slogan img {
  max-width: 60%;
}

/* sec3 시작 */
.sec3 {
  background: #eaf0ed;
  padding: 90px 0;
}
.sec3 .container {
  padding: 0;
  position: relative;
  /* 부모 요소로 설정하여 자식 요소의 절대 위치를 결정 */
}

.sec3 .m_tit h3 {
  text-align: left;
  line-height: 1.2;
  padding-bottom: 20px;
}

.sec3 svg {
  width: 22px;
}

.gall {
  position: relative;
  left: 0;
  /* 부모 요소 (.container)의 왼쪽 끝에 맞춤 */
}
.slide_bg {
  overflow: hidden;
  display: flex;
}

.slide2 {
  width: 100%;

}

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

.slide2-box {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  background: #fff;
}

.slide2-box .text {
  padding: 55px;
}

.slide2-box .t30 {
  line-height: 1.2;
}

.slide2-box .t17 {
  padding: 1rem 0 2rem;
  opacity: 0.7;
  
}

.slide2-box .desc {
  display: flex;
  grid-gap: 6px;
}

.slide2-box span {
  background: #c2e2d0;
  color: #397452;
  display: inline-block;
  padding: 4px 6px;
  border-radius: 8px;
}

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

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

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

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

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

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

/* sec4 */
.sec4 {
  background: url(../img/sec4_bg.jpg) center;
  background-size: cover;
  padding: 70px 0;
    color: #fff;
}

.sec4 .container {
  padding-top: 240px;
  text-align: center;
}
.sec4 .t25 {
  font-weight: normal;
}
.sec4 svg {
  color: #fff;
  width: 20px;
}
.sec4 .btn {
  display: flex;
  justify-content: center;
  grid-gap: 40px;
  padding-top: 3rem;
}
.sec4 .btn a {
display: flex;
width: 260px;
justify-content: center;
align-items: center;
	font-family: 'S-CoreDream'; 
grid-gap: 6px;
  padding: 11px 22px;
  color: #fff;
  border: 1px solid #ffffffd8;
  border-radius: 11px;
  backdrop-filter: blur(7px);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -1px;
}
.sec4 .btn a:hover {
  border-color: #000;
  color: #000;
}

/*******************************************************************************************************************************
 *** 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) {
  /**메인 슬라이드 시작**/

.d_block {
  display: none !important; 
}

.m_block {
  display: inline-block !important;
}

  .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: 70px 30px 0;
    grid-gap: 0px;
    flex-direction: column;
    text-shadow: 0 0 6px #000;
  }

  .slide-box h2 {
    font-size: 36px;
    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;
  }

  .t35 {
    font-size: 26px;
    font-weight: 700;
  }
  .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;
  }

  /* sec1 */
  .sec1 {
    background-size: cover;
    padding: 60px 0;
  }

  .sec1 .t35 {
    font-size: 30px;
    letter-spacing: -2px;
  }

  /* 섹션2 */
  .sec2 {
    padding: 40px 0;
  }

  .sec2 .m_tit {
    padding-bottom: 0;
    margin-bottom: 0;
  }


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

.sec3 .m_tit{
  padding: 0 15px;
}

.slide2-box {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
}

.slide2-box .img {
  height: 250px;
}

.slide2 .text {
  padding: 25px;
}
  

  /* 섹션4 */
  .sec4 {
    padding: 40px 0;
    background-image: url(../img/sec4_bgm.jpg);
  }

    .sec4 .container {
      padding-top: 200px;
    }

        .sec4 .btn {
          flex-wrap: wrap;
          grid-gap: 20px;
        }

}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width: 480px) {
  .slide-box-1 {
    background-position-x: 58%;
  }
  .text-group h2 {
    text-shadow: 0 0 11px #000000;
    font-size: 34px;
    letter-spacing: -2px;
  }
  .slide-box-1 strong {
    font-size: 12px;
    letter-spacing: 1px;
  }

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

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

  /* sec1 */
  .sec1 {
    background-position: bottom right;
    background-size: 220%;
    padding: 55px 0 100vw;
  }

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

  .sec1 .box {
    font-size: 18px;
  }

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

}
