/* 기본 리셋 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* NAV BAR */
.navbar {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-container {
  margin: 0 auto;
  height: 64px;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 메뉴 */
.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
}

/* First SECTION */
.first {
  display: flex;
  align-items: center;
  min-height: 50vh;
  position: relative;
  background-color: #FAFAFA;
}

.first-content {
  text-align: center;
  position: absolute; /* 절대 위치로 정중앙 고정 */
  left: 50%;
  top: 65%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.first-content2 {
  position: absolute;
  left: 70%; /* first-content 오른쪽에 배치 */
  top: 60%;
  transform: translateY(-50%);
  z-index: 1;
}

.first-content2 img {
  width: 80%;
}

.first-content .btn {
  margin-top: 10%;
  display: flex;
  justify-content: center;
  /* 가운데 정렬 */
}

.first-title1 {
  color: #ff5b22;
  font-size: 2rem;
}

.first-title2 {
  font-size: 4rem;
}

.first-content span {
  color: #ff5b22;
}

.floating-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-box {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 80px;
  background-color: #ff5b22;
  border-radius: 0.7rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  /* ⭐ 양쪽 끝 */
  z-index: 9999;
  padding-left: 1rem;
  padding-right: 1rem;
}

.floating-box img {
  height: auto;
  width: 70%;
  position: static;
}

.floating-text {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 0;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 0;
}

/* Second SECTION */
.second {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #FAFAFA;
}

.second-content img {
  max-width: 100%;
  height: auto;
}

.floating-box button {
  float: right;
  right: 3%;
  position: relative;
  right: 20px;
}

button {
  border: none;
  outline: none;
  background: none;
}

/* Third SECTION */
.third {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #eff9fb;
}

.third-content {
  display: flex;
  padding-top: 80px;
  padding-bottom: 20px;
  align-items: center;
}

.third-content b {
  font-size: 1.5rem;
}

/* Fourth SECTION */
.fourth {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #eff9fb;
  padding-bottom: 80px;
}

.fourth-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  display: flex;
  justify-content: center;
}

.fourth-content img {
  width: 30%;
  max-width: 100%;
  height: auto;
}

/* fifth SECTION */
.fifth {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fifth-content {
  padding: 7% 20px;
}

.fifth-content img {
  max-width: 100%;
  height: auto;
}

.fifth-content b,
.fifth-content span {
  font-size: 1.5rem;
}

.sixth {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sixth-content {
  width: 80%;
  position: relative;
  height: auto;
  padding-bottom: 7%;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== 슬라이드 뷰포트 ===== */
.viewport {
  width: 100%;
  position: relative;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sixth-slider-viewport {
  width: 100%;
  overflow: hidden; /* 🔥 옆 슬라이드 안 보이게 */
}

/* ===== 슬라이드 트랙 ===== */
.track {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateX(0px);
  will-change: transform;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100%;
}
/* ===== 카드 ===== */
.sixth-card {
  position: relative;
  width: 100%;
  height: 640px;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 auto;
  background-color: #FAFAFA;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
  padding-top: 50px;
}

.sixth-slideCard {
  flex: 0 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
  padding-top: 140px;
}

.sixth-card-text {
  color: #5d5d5d;
  text-align: center;
}

.sixth-card-text b {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.sixth-card-text span {
  font-size: 1rem;
  line-height: 1.4;
}

.sixth-slideCard img {
  width: 80%;
  height: auto;
}

/* ===== 버튼 (PNG 전체 이미지) ===== */
.arrowButton {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  border: 0;
  padding: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  z-index: 10;
}

.arrowButton.left {
  left: 10px;
  background-image: url("../images/3_slidePreviousbutton.png");
}

.arrowButton.right {
  right: 10px;
  background-image: url("../images/3_slideNextbutton.png");
}

.seventh {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fafafa;
}

.seventh-content {
  padding: 7%;
}

.seventh-content img {
  max-width: 100%;
  height: auto;
}

.seventh-content b,
.seventh-content span {
  font-size: 1.5rem;
}

.seventh-container {
  padding: 3rem;
  background-color: #ffffff;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0.7rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin-top: 50px;
}

.seventh-container p,
.seventh-container b {
  font-size: 0.9rem;
}

.seventh-container img {
  margin-top: 1rem;
}

.seventh-container2 {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  margin-top: 3rem;
}

.seventh-container2 img {
  max-width: 100%;
  height: auto;
}

.seventh-section-image-container {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.seventh-section-image-container img {
  display: block;
}

.eighth {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
}

.eighth-content {
  padding: 7%;
}

.eighth-content img {
  max-width: 100%;
  height: auto;
}

.eighth-content b,
.eighth-content span {
  font-size: 1.5rem;
}

.sub_title {
  margin-top:2rem;
}

.eighth-content .sub_title p,
.eighth-content .sub_title b {
  font-size: 0.9rem;
}

.eighth-content img {
  margin-top: 2rem;
}

.nineth {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nineth-content {
  width: 100%;
  position: relative;
}
/* ===== 회색 라운드 배경 ===== */
.stage {
  width: 100%;
  margin: 0 auto;
  position: relative;
  background: #f6f7fb;
  padding: 48px 64px;
  overflow: hidden;
}

/* ===== 슬라이드 뷰포트 ===== */
.viewport2 {
  position: relative;
  height: 360px;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== 슬라이드 트랙 ===== */
.track2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateX(0px);
  display: flex;
  will-change: transform;
}
/* ===== 카드 ===== */
.nineth-card {
  position: relative;
  width: 428px;
  height: 378px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex: 0 0 auto;

  transform: scale(0.88);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nineth-card img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  width: 78%;
  height: 78%;
  object-fit: contain;
  z-index: 1;
}

.nineth-card-title {
  position: absolute;
  bottom: 20px; /* 아래쪽에 텍스트 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2; /* ⭐ 이미지 위 */
  color: #111;
  font-size: 1.25rem;
  font-weight: 600;
}

/* 활성 카드 */
.nineth-card.active {
  background: #fef8f5;
  transform: scale(1);
  opacity: 1;
  z-index: 3;
}

.nineth-card.active .nineth-card-title {
  color: #f35b1f;
}

/* 좌우 카드 겹침 */
.nineth-card.prev {
  z-index: 2;
}
.nineth-card.next {
  z-index: 2;
}

/* ===== 버튼 (PNG 전체 이미지) ===== */
.arrowButton2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  border: 0;
  padding: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  z-index: 10;
}

.arrowButton2.left {
  left: calc(50% - clamp(140px, 35vw, 250px));
  background-image: url("../images/3_slidePreviousbutton.png");
}

.arrowButton2.right {
  right: calc(50% - clamp(140px, 35vw, 250px));
  background-image: url("../images/3_slideNextbutton.png");
}

.tenth {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
}

.tenth-content {
  padding: 7% 20px;
}

.tenth-container {
  margin: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

.tenth-container img {
  max-width: 80%;
  height: auto;
  display: block;
}

.tenth-title {
  margin: 3rem;
  display: flex;
  align-items: center;
}

.tenth-container p,
.tenth-container b {
  font-size: 2rem;
}

.tenth-container span {
  font-size: 0.9rem;
}

.eleventh {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fafafa;
}

.eleventh-content {
  padding: 5%;
  gap: 1.5rem;
  align-items: center;
}

.eleventh-container {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.eleventh-container img {
  width: 22%;
  /* 4개 기준 */
  max-width: 100%;
  height: auto;
}

.eleventh p,
.eleventh b {
  font-size: 1.5rem;
}

.eleventh span {
  font-size: 0.9rem;
}

.twelfth {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
}

.twelfth-content {
  padding: 7% 20px;
}

.twelfth-container img {
  max-width: 80%;
  height: auto;
}

.twelfth-container {
  margin: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.twelfth-title {
  margin: 3rem;
  display: flex;
  align-items: center;
}

.twelfth-container p,
.twelfth-container b {
  font-size: 2rem;
}

.twelfth-container span {
  font-size: 1rem;
}

.thirteenth {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
}

.thirteenth-content {
  width: 60%;
  background-color: #fafafa;
}

.thirteenth-container img {
  max-width: 80%;
  height: auto;
}

.thirteenth-container {
  margin: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thirteenth-title {
  margin: 3rem;
  display: flex;
  align-items: center;
}

.thirteenth-container p,
.thirteenth-container b {
  font-size: 2rem;
}

.thirteenth-container span {
  font-size: 1rem;
}

.fourteenth {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
}

.fourteenth-content {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fourteenth-container {
  margin: 3rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.fourteenth-container img {
  width: 100%;
}

.fifteenth {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
}

.fifteenth-container {
  margin: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fifteenth-container img {
  height: auto;
}

.fifteenth-title {
  margin: 3rem;
  display: flex;
  align-items: center;
  text-align: left;
}

.fifteenth-container p,
.fifteenth-container b {
  font-size: 2rem;
  text-align: left;
}

.fifteenth-container span {
  font-size: 1rem;
  display: block;
  text-align: left;
}

.sixteenth {
  display: flex;
  justify-content: center;
  background-color: #fafafa;
}

.sixteenth-content {
  width: 60%;
  padding: 7% 20px;
}

.sixteenth-content img {
  margin: 0 auto;
  display: block;
}

.sixteenth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20%;
  padding: 3rem;
  background-color: #ffffff;
  position: relative;
  border-radius: 0.7rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sixteenth-title {
  margin: 3rem;
  display: flex;
  align-items: center;
}

.sixteenth-container p,
.sixteenth-container b {
  font-size: 1.5rem;
}

.sixteenth-container span {
  font-size: 0.9rem;
}

.sixteenth-container img {
  width: 80%;
}

.seventeenth {
  background-color: #fafafa;
}

.seventeenth-content {
  width: 60%;
  padding-bottom: 7%;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  margin: 0 auto;
  justify-content: center;
  gap: 50px;
}

.seventeenth-left,
.seventeenth-right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem;
  background-color: #ffffff;
  position: relative;
  border-radius: 0.7rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  gap: 30px;
}

.seventeenth-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.seventeenth-img img {
  width: 100%;
  object-fit: contain;
  display: block;
}

.seventeenth p,
.seventeenth b {
  font-size: 1.5rem;
  text-align: center;
}

.seventeenth span {
  font-size: 0.9rem;
  display: block;
  text-align: center;
}

.footer {
  width: 100%;
  background-color: #ffffff;
}

.footer-inner {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;

  padding: 3rem 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left p {
  margin: 0.3rem 0;
  font-size: 0.8rem;
}

.footer-right {
  display: flex;
  gap: 1.5rem;
}

.footer-left span {
  font-size: 0.8rem;
  color:gray;
}

.policy {
  margin:2.5rem 0 2.2rem 0;
}
.policy a {
  color:black;
  margin-right:20px;
}

.policy a:last-child {
  margin-right:0;
}

/* 📱 모바일 반응형 */
@media (max-width: 768px) {

  .logo img{
    width:90%;
  }

  .nav-menu img {
    width:90%;
    max-width: 100%;
    height: auto;
  }

  .nav-menu.active {
    display: flex;
  }

  .first-content {
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .first-content .btn img {
    max-width: 100%;
    /* 화면 좁을 때 더 줄임 */
  }

  .first-content2{
    left:75%;
  }

  .first-title1 {
    font-size: 0.8rem;
  }

  .first-title2 {
    font-size: 1.2rem;
  }

  .fourth-content {
    flex-direction: column;
  }

  .fourth-content img {
    width: 90%;
    max-width: 320px;
    /* 선택 */
    margin-bottom: 1rem;
  }

  .fifth-content b,
  .fifth-content span {
    font-size: 1rem;
  }

  .fifth-content {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  
  .sixth-card{
    height:500px;
  }

  .sixth-card-text{
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .sixth-card-text b {
    font-size: 0.7rem;
  }

  .sixth-card-text span {
    font-size: 0.7rem;
  }

  .seventh-container{
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .seventh-container2 {
    flex-direction: column;
  }

  .seventh-containter2 img {
    width: 90%;
    max-width: 320px;
    /* 선택 */
    margin-bottom: 1.5rem;
  }

  .seventh-container2 p {
    margin-top: 1.5rem;
  }

  .seventh-content b,
  .seventh-content span {
    font-size: 1rem;
  }

  .seventh-content {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .seventh-container p,
  .seventh-container b {
    font-size: 0.6rem;
  }

  .eighth-content b,
  .eighth-content span {
    font-size: 1rem;
  }

  .eighth-content{
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .eighth-content .sub_title p,
  .eighth-content .sub_title b {
    font-size: 0.6rem;
  }

  .eighth-content img {
    max-width: 320px;
}

  .nineth-card-title {
    font-size: 0.7rem;
  }

  .tenth-container {
    gap: 0px;
  }

  .tenth-container,
  .tenth-content {
    flex-direction: column;
    text-align: center;
  }

  .tenth-container > div {
    width: 100%;
  }

  .tenth-content img {
    max-width: 320px;
    margin-bottom: 1.5rem;
  }

  .tenth-container p,
  .tenth-container b {
    font-size: 1rem;
  }

  .tenth-container span {
    font-size: 0.6rem;
  }

  .eleventh-container {
    flex-direction: column;
  }

  .eleventh-container img {
    width: 100%;
    max-width: 320px;
    margin-bottom: 1.5rem;
  }

  .eleventh p,
  .eleventh b {
    font-size: 1rem;
  }

  .eleventh span {
    font-size: 0.6rem;
  }

  .twelfth-container {
    flex-direction: column;
    text-align: center;
  }

  .twelfth-container > div {
    width: 100%;
  }

  .twelfth-container p,
  .twelfth-container b {
    font-size: 1rem;
  }

  .twelfth-container span {
    font-size: 0.6rem;
  }
  
  .twelfth-container img {
    max-width: 320px;
  }

  .thirteenth-container {
    flex-direction: column;
    text-align: center;
  }

  .thirteenth-container > div {
    width: 100%;
  }

  .thirteenth-container p,
  .thirteenth-container b {
    font-size: 1rem;
  }

  .thirteenth-container span {
    font-size: 0.6rem;
  }
 
  .thirteenth-content {
    width: 100%;
  }
  .fourteenth-container {
    flex-direction: column;
  }

  .fourteenth-content {
    width: 100%;
  }

  .fourteenth-container img {
    max-width: 320px;
  }

  .fifteenth-container p,
  .fifteenth-container b {
    font-size: 1rem;
  }

  .fifteenth-container span {
    font-size: 0.6rem;
  }

  .fifteenth-container {
    word-break: keep-all;
    flex-direction: column;
    gap: 40px;
  }

  .fifteenth-container img {
    width: 90%;
    max-width: 320px;
    /* 선택 */
    margin-bottom: 1.5rem;
  }

  .sixteenth-container,
  .sixteenth-content {
    flex-direction: column;
    width: 100%;
  }

  .seventeenth-left,
  .seventeenth-right {
    width: 100%;
  }

  .sixteenth-container img{
    width: 80%;
    max-width: 320px;
    margin-bottom: 1.5rem;
  }

  .sixteenth-content img {
    width: 100%;
    max-width: 320px;
    margin-bottom: 1.5rem;
  }

  .sixteenth-container p,
  .sixteenth-container b {
    font-size: 1rem;
  }

  .sixteenth-container span {
    font-size: 0.6rem;
  }

  .seventeenth-content {
    flex-direction: column;
    width: 100%;
  }

  .seventeenth-leftImg img,
  .seventeenth-rightImg img {
    width: 100%;
    max-width: 320px;
    /* 선택 */
    margin-bottom: 1.5rem;
  }

  .seventeenth-content p,
  .seventeenth-content b {
    font-size: 1rem;
  }

  .seventeenth-content span {
    font-size: 0.6rem;
  }

  .sixth-slideCard img {
    width: 40%;
    max-width: 800px;
    height: auto;
  }

  .nineth-card {
    width: 320px;
    height: 220px;
  }

  .floating-box{
    height:50px;
  }

}

@media (max-width: 425px){
  .floating-box img {
    height: auto;
    width: 100%;
    position: static;
  }

  .floating-btn {
    width: 40%;
    float: right;
  }

  .third-content {
    flex-direction: column;
    align-items: center; /* 가운데 정렬 */
  }

  .third-content b {
    margin-top: 8px;
  }
  
}

@media (max-width: 425px){
  .floating-btn {
    width: 45%;
    float: right;
  }
}
