@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;
}
/* 메인 배너 */
section {
  min-height: 80vh;
}

.slide-banner {
  position: relative;
  width: 100%;
  height: 80vh;
  /* overflow: hidden; */
  background: url('../img/gubun2-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;
}

/* intro */
.intro {
  padding: 20rem 0;
}
.intro .intro-doc {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30rem;
}
.intro .intro-doc:last-of-type {
  margin:0;
}
.intro .txt-box h3 {
  font-size: clamp(2.3rem, 2vw, 2.8rem);
  margin-bottom: 10rem;
}
.intro .txt-box h3 strong {
  font-size: clamp(3.5rem, 2vw, 4rem);
  font-weight: 600;
}
.intro .txt-box h4 {
  font-size: clamp(2rem, 2vw, 2.4rem);
  margin-bottom: 3rem;
  font-weight: 500;
  color: #16356D;
}
.intro .txt-box p {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  margin-bottom: 7rem;
}
.intro .txt-box p:last-of-type {
  margin: 0;
}
.intro .img-wrap {
  margin-bottom: 8rem;
}
.intro .img-wrap img {
  display: block;
}
.intro .btn-wrap {
  text-align: right;
}
.intro .btn-wrap a {
  margin-left: 2rem;
}

.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;
}


/* 반응형: 1280px 이하 */
@media only screen and (max-width: 1280px) {
  [class $= "inner"] {
    padding: 0 2rem;
  }
  #main {
    padding: 0;
  }
  .slide-banner {
    background: url('../img/gubun2-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;
  }

  
  .intro {
    padding: 10rem 2rem;
  }

  .intro .intro-doc {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro .txt-box {
    margin-top: 5rem;
  }

  .intro .btn-wrap {
    text-align: center;
  }
  .intro .btn-wrap a {
    display: block;
  }
  .intro .img-wrap {
    order: 1;
    margin-bottom: 3rem;
  }

  .intro .img-wrap img {
    /* max-width: 300px; */
    height: auto;
  }
  .intro .btn-wrap a {
    margin-left: 0;
  }
  .mobile-br {
    display: block;
  }
  
}

/* 반응형: 480px 이하 (모바일 최적화) */
@media only screen and (max-width: 520px) {
  [class $= "inner"] {
    padding: 0 2rem;
  }
  
  .hero-text h2 {
    font-size: clamp(1.8rem, 2vw, 2.8rem);
    font-weight: 600;
  }
  .hero-text p {
    font-size: clamp(1.4rem, 2vw, 2.4rem);
    /* margin-bottom: 2rem; */
  }
  .intro {
    padding: 5rem 1.5rem;
  }

  .intro .intro-doc {
    margin-bottom: 8rem;
  }
  
  .intro .txt-box h3 {
    font-size: clamp(2rem, 2vw, 3rem);
    margin-bottom: 3rem;
  }
  .intro .txt-box h3 strong {
    font-size: clamp(2.2rem, 2.2vw, 3.2rem);
  }
  .intro .txt-box h4 {
    font-size: clamp(1.8rem, 2vw, 2.8rem);
    font-weight: bold;
  }
  .intro .txt-box p {
    font-size: clamp(1.4rem, 2vw, 2.4rem);
}
  .intro .img-wrap img {
    max-width: 100%;
    height: auto;
  }

  .intro .btn-wrap {
    margin-top: 5rem;
  }
  .intro .btn-wrap a:first-child {
    margin-bottom: 1rem;
  }
  
  .intro :any-link {
    padding: 0.5rem 5rem;
  }
 

  
}
