@charset "UTF-8";
@import url(../css/reset.css);

html {
  font-size: 10px;
}

body {
  font-family: 'Noto Sans', sans-serif;
  color: #333;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.2;
  background-color: #fff;
}

/* 공통 wrapper */
.all-wrap {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

[class $= "inner"] {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

button {
  cursor: pointer;
}
#main {
  padding-top: 10rem;
}
/* 메인 배너 */
.slide-banner {
  position: relative;
  width: 100%;
  height: 80vh;
  /* overflow: hidden; */
  background: url('../img/gubun4-banner.png') center center / cover no-repeat;
}

.slide-banner .inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-text {
  position: absolute;
  left: 0%;
  top: 75%;
  /* transform: translate(-50,-50%); */
  /* margin-top: 60%; */
  text-align: left;
  color: #fff;
  width: 100%;
}

.hero-text p {
  font-size: clamp(1.8rem, 1.5vw, 2rem);
  margin-bottom: 1rem;
}

.hero-text h2 {
  font-size: clamp(3.5rem, 2vw, 4rem);
  font-weight: 600;
}

.notice {
  text-align: left;
  padding: 30rem 0;
}
.notice h3 {
  font-size: clamp(3.5rem, 1.56vw, 4.5rem);
  color: #092251;
  font-weight: 600;
  margin-bottom: 3rem;
}
.notice p {
  font-size: clamp(1.9rem, 0.94vw, 2.9rem);
  margin-bottom: 5rem;
}
.notice .btn-wrap {}
.notice .btn-wrap a {
  margin-right: 2rem;
}
.notice :any-link {
  display: inline-block;
  background: none;
  color: #424242;
  padding: 1.2rem 3rem;
  border: 1px solid #424242;
  border-radius: 3rem;
  font-size: clamp(1.5rem, 0.78vw, 2.5rem);
  cursor: pointer;
  transition: all 0.3s ease;
}
.notice a:hover {
  background: #424242;
  color: #fff;
}
.notice2 {
  padding: 29rem 0;
}


/* intro */
.intro {
  width: 100%;
  height: 41vh;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* overflow: hidden; */
  font-size: clamp(2.5rem, 1.17vw, 3.5rem);
  color: #fff;
}
.intro1 {
  background: url('../img/gubun4-intro1.png') center center / cover no-repeat;
}
.intro1 img {
  margin-bottom: 6rem;
}
.intro2 {
  background: url('../img/gubun4-intro2.png') center center / cover no-repeat;
}







/* .imgwrap-slide  */
.imgwrap-slide {
  padding: 15rem 0 0 0;
  width: 100%;
  overflow: hidden;
}



.imgwrap-slide .slide-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.imgwrap-slide .slide-track {
  display: flex;
  transition: transform 0.6s ease;
  /* width: 300%; ← ❌ 생략 가능 */
}

.imgwrap-slide .slide {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column; /* 텍스트 위, 이미지 아래 */
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.imgwrap-slide .txt {
  text-align: center;
  font-size: clamp(2.5rem, 2vw, 3rem);
  font-weight: 600;
  margin-bottom: 6rem; /* 내부 간격 여유 */
}


.imgwrap-slide .bar  {
  display: block;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-align: center;
}

.imgwrap-slide .img-wrap {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.imgwrap-slide .img-wrap img {
  width: 30%;
  max-width: 624px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
/* dot */
.imgwrap-slide .btn-wrap {
  text-align: center;
  margin-top: 2rem;
}
.imgwrap-slide .btn-wrap .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.imgwrap-slide .btn-wrap .dot.active {
  background-color: #333;
}

.tel {
  padding: 25rem 0 30rem 0;
  text-align: center;
  font-size: clamp(1.2rem, 2vw, 2.2rem);
  font-weight: 200;
}

.tel .txt-box h3 {
  font-size: clamp(2.1rem, 2vw, 2.6rem);
  background: #9E9E9E;
  color: #fff;
  padding: 2rem 0;
}
.tel strong {
  font-weight: 600;
}
.tel .txt-box .det {
  display: flex;
}
.tel .txt-box .det p {
  display: block;
  width: 50%;
  border: 1px solid #D4D4D4;
  border-top: 0px;
  box-sizing: border-box;
  padding: 1.5rem 0;
}
.tel .txt-box .det p:first-of-type {
  border-right: 0;
  text-align: center;
  padding-left: 20%;
  box-sizing: border-box;
}
.tel .txt-box .det p:last-of-type {
  border-left: 0;
  text-align: left;
  
}




.intro :any-link {
  display: inline-block;
  background: none;
  color: #424242;
  padding: 1.2rem 3rem;
  border: 1px solid #424242;
  border-radius: 3rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  cursor: pointer;
  transition: all 0.3s ease;
}

.intro a:hover {
  background: #424242;
  color: #fff;
}


.mobile-br {
  display: none;
}


/* 태블릿 반응형 */
@media only screen and (max-width: 1280px) {
  [class $= "inner"] {
    padding: 0 3rem;
  }
  #main {
    padding: 0;
  }
  .slide-banner {
    background: url('../img/gubun4-banner_m.png') center center / cover no-repeat;
    height: 85vh;
  }
  .hero-text {
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    top: 83%;
  }
  .hero-text h2 {
    font-size: clamp(2rem, 1.5vw, 3rem);
    font-weight: 600;
    margin-bottom: 2rem;
  }
  .hero-text p {
    font-size: clamp(1.6rem, 2vw, 2.6rem);
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  

  .notice {
    text-align: center;
    padding: 8rem 0;
  }
  .notice h3 {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    margin-bottom: 2rem;
  }
  .notice p {
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    margin-bottom: 4rem;
  }
  

  /* intro */
  .intro {
    height: 22vh;
  }
  .intro1 {
    background: url('../img/gubun4-intro1_m.png') center center / cover no-repeat;
    font-size: clamp(1rem, 2vw, 1.6rem);
  }
  .intro1 img {
    content: url('../img/gubun4-intro1-1_m.svg');
    width: 80%;
    margin-bottom: 3rem;
  }
  .intro2 {
    background: url('../img/gubun4-intro2_m.png') center center / cover no-repeat;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
  }




  .imgwrap-slide {
    padding-top: 8rem;
  }
  .imgwrap-slide .slide {
    width: 100vw;
    flex-wrap: wrap;
    justify-content: center;
  }
  .imgwrap-slide .bar {
    display: none;
  }
  .imgwrap-slide .txt {
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  }
  .imgwrap-slide .slide img {
    width: 80%;  /* 태블릿: 2개씩 */
  }

  .tel {
    padding: 13rem 3rem;
  }
  .tel .txt-box h3 {
    font-size: clamp(1.4rem, 2vw, 2.4rem);
    padding: 1rem 0;
  }
  .tel .txt-box .det p {
    padding: 0.8rem 0;
  }
  .tel .txt-box .det p:first-of-type {
    text-align: left;
  }
  .tel .txt-box .det p:last-of-type {
    text-align: center;
  }

  .intro .btn-wrap,
  .notice .btn-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .intro .btn-wrap a,
  .notice .btn-wrap a {
    width: 40%;
    text-align: center;
    padding: 0.6rem 1.5rem;
    margin: 0;
  }
  .intro h3,
  .notice h3 {
    line-height: 1.2;
  }

  



  .mobile-br {
    display: block;
  }
  .pc-txt {
    display: none;
  }
}

/* 모바일 반응형 */
@media only screen and (max-width: 768px) {
  html {
    font-size: 9px;
  }

  [class $= "inner"] {
    padding: 0 2rem;
  }
  

  

}

/* 작은 모바일 반응형 */
@media only screen and (max-width: 480px) {
  html {
    font-size: 7px;
  }

  [class $= "inner"] {
    padding: 0 1.5rem;
  }



}