@import url("https://cdn.jsdelivr.net/gh/yourusername/your-repo@main/fonts/fonts.css");

.container {
  margin: 0 120px;
}

.logo_wrap {
  display: flex;
  align-items: center;
}

.logo_icon {
  width: 26px;
}

.logo_txt {
  font-weight: bold;
  font-size: 26px;
  background: linear-gradient(to right, #1b85eb, #152d6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  margin-left: 10px;
}

h1 {
  font-size: 28px;
  margin-top: 20px;
  margin-bottom: 20px;

  font-family: "THEmpgtB", sans-serif;
}

/* ---------- 배너 영역--------------- */

.banner {
  position: relative;
  overflow: hidden;
  width: 100%;

  aspect-ratio: 11 / 4;
}

@media (max-width: 500px) {
  .banner {
    margin-top: 30px;
  }
}

/* 슬라이드 컨테이너 */
.banner .banner_first,
.banner .banner_next {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease-in-out;
}

.banner .banner_first {
  transform: translateX(0);
  z-index: 2;
}

.banner .banner_next {
  transform: translateX(100%);
  z-index: 1;
}

.banner_first img,
.banner_next img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- sec_1--------------- */

.sec_1 {
  background-image: url(../../images/sec_1/sec_1bg_d.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sec_1_inner {
  margin: 0 20px;
  max-width: 1520px;
  padding-top: 11.25rem;
  min-height: 30vh;
}

.sec_1_inner h1 {
  margin-bottom: 10px;
}

.sec_1_inner p {
  font-size: 22px;
  color: gray;
  margin-bottom: 80px;
}

.sec_1_inner .box {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.sec_1_inner .box .box_img {
  border-radius: 12px;
  text-align: center;
  width: 286px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.box > .box_img:nth-child(2),
.box > .box_img:nth-child(4) {
  margin-top: 40px;
}

.sec_1_inner .box .box_img img {
  width: 256px;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);

  border-radius: 12px;
}

.sec_1_inner ul li:hover {
  transform: translateY(-20px);
}

/*sec_1 li image에 스크롤시 나타나는 효과추가*/
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

  60% {
    opacity: 1;
    transform: scale(1.04) translateY(-40px);
  }

  80% {
    transform: scale(0.98) translateY(2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.box_img {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: none;
}

.box_img.visible {
  animation: bounceIn 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

/* ---------- sec_2--------------- */

.sec_2 {
  background-image: url(../../images/sec_2/sec_2_bg_d.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding-bottom: 180px;
}

.sec_2_inner {
  max-width: 1520px;
  margin: 0 auto;
  padding-top: 11.25rem;
  min-height: 30vh;
}

.sec_2_box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  padding: 80px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 1420px;
  margin: 40px 0;
}

.sec_2_illust {
  width: 31.25rem;
  max-width: 100%;
  height: auto;
}

.sec_2_inner h1 {
  margin-bottom: 70px;
  line-height: 1.5;
}

.sec_2_inner .consult-list {
  list-style: none;
}

.consult-item {
  margin-bottom: 40px;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 15px;
}

.number {
  font-size: 28px;
  font-weight: bold;
  background: linear-gradient(to right, #1b85eb, #152d6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desc {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.6;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #005bac;
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* ---------- sec_3--------------- */
.sec_3 {
  background-image: url(../../images/main/sec_3_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sec_3_inner {
  max-width: 1520px;
  margin: 0 auto;
  min-height: 110vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.middle p {
  font-size: 22px;
  color: gray;
}

.sec_3_inner .eu {
  list-style: none;
  padding: 0;
  width: 100%;
}

.sec_3_inner .eu .eu_li {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.1em;

  color: #fff;
}

.sec_3_inner .eu .eu_li span {
  display: block;
  font-size: 26px;
  font-weight: 400;
  margin-top: 8px;
  color: #acacac;
  line-height: 1.4;
}

.dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  margin-bottom: 1.9rem;
}

.dots span {
  font-size: 28px;
  line-height: 0.7;
  color: #fff;
}

/* 애니메이션용 기본 상태 */
.sec_3_inner .eu_li,
.sec_3_inner .dots {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.8s ease, transform 1s ease;
}

/* 작동할때 붙일 클래스 */
.sec_3_inner .eu_li.visible,
.sec_3_inner .dots.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- sec_4--------------- */

.sec_4 {
  margin-bottom: 140px;
}

.sec_4_inner {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 40vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.sec_4_inner .sec_4_ct {
  width: 1400px;
}

.sec_4_inner h1 {
  margin-bottom: 60px;
}

.sec_4_ct_m {
  display: none;
}

/* PC 이미지 초기 상태: 오른쪽에서 가려짐 */
.sec_4_inner .sec_4_ct {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s ease, opacity 1.5s ease;
}

/* PC 이미지 visible 상태 */
.sec_4_inner .sec_4_ct.visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

/* 모바일 이미지: 위에서 아래로 페이드인 */
.sec_4_inner .sec_4_ct_m {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  /* 하단이 100% 가려진 상태 */
  transition: clip-path 2.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sec_4_inner .sec_4_ct_m.visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  /* 전부 보임 */
}

/* ---------- sec_5--------------- */
.sec_5 {
  background-image: url(../../images/main/sec_5_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding-bottom: 60px;
}

.sec_5_inner {
  max-width: 1520px;
  padding-top: 60px;
  min-height: 15vh;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  margin: 0 40px;
}

.sec_5_inner h1 {
  color: #fff;
  font-weight: 600;
}

.sec_5_inner p {
  font-size: 1.5rem;
  color: #fff;
}

.sec_5_button {
  background: linear-gradient(to right, #1b85eb, #152d6b);

  width: 180px;
  height: 50px;
  border-radius: 10px;

  margin-top: 52px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.sec_5_button .talk {
  color: #fff;
  font-size: 20px;
}

/* ---------- sec_6--------------- */
.sec_6 {
  background-color: #fff;
}

.logo-slider {
  overflow: hidden;
  width: 100%;
  /* background: #fff; */
  padding: 20px 0;
}

.logo-track {
  display: flex;
  width: calc(250px * 5);
  animation: scroll 20s linear infinite;
}

.logo-track img {
  width: 250px;
  height: auto;
  margin: 0 10px;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
