.main .h2 {
  font-weight: 600;
  font-size: 2.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.main .h2__desc {
  font-weight: 400;
  font-size: 1.25rem;
  opacity: 0.8;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
}

.main .h2__bar {
  width: 50px;
  height: 1px;
  background: #ffffff;
  margin: 0 auto;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}



@media screen and (max-width: 768px) {
  .main .h2 {
    font-size: 2rem;
  }

  .main .h2__desc {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 390px) {
  .main .h2 {
    font-size: 1.6rem;
  }

  .main .h2__desc {
    font-size: 1rem;
  }
}

/* --------------------------------
      Section: section__visual
--------------------------------- */

/* 배너 이미지 공용 스타일 */
.mid-banner {
  display: block;
  /* a태그도 블록으로 */
  width: 100%;
  /* 부모 너비에 맞춰 풀폭 */
}

.mid-banner img {
  display: block;
  /* 하단 여백 제거 */
  width: 100%;
  /* 반응형 핵심 */
  height: auto;
  /* 비율 유지 */
}

/* --------------------------------
      Section: section__visual
--------------------------------- */

.main__visual {
  width: 100%;
  height: 100vh;
}

.main__visual_slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ✅ 배경 이미지에만 적용되도록 자식 선택자 사용 */
.main__visual_slide>img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
  animation: slowSlideZoom 4s linear infinite alternate;
}

@keyframes slowSlideZoom {
  from {
    transform: translateX(0) scale(1);
  }

  to {
    transform: translateX(-20px) scale(1.05);
  }
}

/* ===== 중앙 PNG가 “샥” 올라오게 ===== */
.main__visual_slide_img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 20%);
  /* 아래에서 시작 */
  opacity: 0;
  z-index: 2;
  /* 배경 위로 */
  pointer-events: none;
  /* 클릭 방해 X */
  text-align: center;
}

/* 활성 슬라이드에서만 애니메이션 재생 */
.swiper-slide-active .main__visual_slide_img {
  animation: slideUp 0.9s ease both 0.2s;
}

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

/* 샥 올라오는 키프레임 */
@keyframes slideUp {
  from {
    transform: translate(-50%, 20%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

/* ====== 기존 텍스트 블록 (건드리지 않음) ====== */
.main__visual_slide_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;

  color: #fff;
  z-index: 2;

  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.main__visual_slide_text .line-wrap {
  text-align: center;
}

.main__visual_slide_text .sub {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.main__visual_slide_text h2 {
  font-size: clamp(1.8rem, 3vw, 4rem);
  line-height: 1.4;
  font-weight: 600;
}

.main__visual_slide_text h2 span {
  color: var(--color_primary);
}

.main__visual .swiper-button-prev,
.main__visual .swiper-button-next {
  top: 60%;
  width: 40px;
  height: 40px;
  color: #fff;
}

.main__visual .swiper-button-prev {
  left: 10%;
}

.main__visual .swiper-button-next {
  right: 10%;
}

.main__visual .swiper-button-prev::after,
.main__visual .swiper-button-next::after {
  font-size: 26px;
}

.main__visual .main__visual_pagination_wrap {
  position: absolute;
  bottom: 20%;
  left: clamp(10%, 16vw, 300px);
  z-index: 10;
  display: flex;
  align-items: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.main__visual .progress-current {
  min-width: 32px;
  text-align: right;
}

.main__visual .progress-total {
  min-width: 32px;
  text-align: left;
}

.main__visual .progress-bar-container {
  width: 200px;
  height: 2px;
  margin: 0 12px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.main__visual .progress-bar-fill {
  height: 100%;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
}

.main__visual_slide_text .sub,
.main__visual_slide_text h2 {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.3s ease;
}

.main__visual_slide_text.animate .sub {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

.main__visual_slide_text.animate h2 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

/* ===== 반응형 ===== */
@media screen and (max-width: 1024px) {
  .main__visual_slide_img img {
    max-width: 86%;
  }
}

@media screen and (max-width: 768px) {
  .main__visual_slide_text {
    padding-left: 20px;
    padding-top: 60px;
    margin-bottom: 40px;
    /* pagination과 겹치지 않게 */
  }

  .main__visual_slide_text .sub {
    font-size: 1.1rem;
  }

  .main__visual_slide_text h2 {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
  }

  .main__visual .swiper-button-prev,
  .main__visual .swiper-button-next {
    width: 30px;
    height: 30px;
    top: 70%;
  }

  .main__visual .swiper-button-prev {
    left: 5%;
  }

  .main__visual .swiper-button-next {
    right: 5%;
  }

  .main__visual .main__visual_pagination_wrap {
    bottom: 12%;
    left: 20px;
    font-size: 12px;
  }

  .main__visual .progress-bar-container {
    width: 150px;
  }

  .main__visual_slide_img img {
    max-width: 92%;
  }

  /* 중앙 PNG 확대 여유 */
}

@media screen and (max-width: 390px) {
  .main__visual_slide_text {
    padding-left: 10px;
    padding-top: 40px;
    margin-bottom: 30px;
  }

  .main__visual_slide_text .sub {
    font-size: 1rem;
  }

  .main__visual_slide_text h2 {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .main__visual .swiper-button-prev,
  .main__visual .swiper-button-next {
    width: 24px;
    height: 24px;
    top: 75%;
  }

  .main__visual .swiper-button-prev {
    left: 4%;
  }

  .main__visual .swiper-button-next {
    right: 4%;
  }

  .main__visual .main__visual_pagination_wrap {
    bottom: 8%;
    left: 10px;
    font-size: 11px;
  }

  .main__visual .progress-bar-container {
    width: 120px;
  }
}










/* ===== main__visual_text (기존 유지) ===== */
.main__visual_text {
  text-align: center;
  margin-bottom: 100px;
}

.main__visual_bar {
  background: #333333;
  width: 1px;
  height: 40px;
  margin: 30px auto;
}

.main__visual_text_1 {
  color: #333333;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.main__visual_text_2 {
  color: #1a1a1a;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
  .main__visual_text {
    margin-bottom: 60px;
  }

  .main__visual_bar {
    height: 30px;
    margin: 30px auto;
  }

  .main__visual_text_1 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .main__visual_text_2 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 390px) {
  .main__visual_text {
    margin-bottom: 40px;
  }

  .main__visual_bar {
    height: 20px;
    margin: 20px auto;
  }

  .main__visual_text_1 {
    font-size: 0.875rem;
    margin-bottom: 0.8rem;
  }

  .main__visual_text_2 {
    font-size: 1.25rem;
    padding: 0 0.5rem;
  }
}



.section__visual {
  position: relative;
}

.main__visual,
.main__visual .swiper-slide,
.main__visual_slide {
  position: relative;
}

.main__visual_slide {
  overflow: hidden;
}

.main__visual_slide>img {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.main__visual_slide_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

.main__visual_slide_text .line-wrap {
  display: block;
  overflow: hidden;
  line-height: 0.82;
  margin-bottom: 18px;
}

.main__visual_slide_text .line {
  display: block;
  font-family: "Against", sans-serif;
  font-weight: 400;
  font-size: 75px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.88);
  transform: translateY(115%);
  opacity: 0;
  will-change: transform, opacity;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.04);
  color: rgba(255, 255, 255, 0.88);
}

.main__visual_slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.main__visual_slide_text {
  z-index: 2;
}

/* active 되었을 때 한 줄씩 등장 */
.swiper-slide-active .main__visual_slide_text .line {
  animation: visualTextUp 0.72s cubic-bezier(.22, 1, .36, 1) forwards;
}

.swiper-slide-active .main__visual_slide_text .line:nth-child(1) {
  animation-delay: 0.08s;
}

/* line-wrap 안의 .line 순서 지정 */
.swiper-slide-active .main__visual_slide_text .line-wrap:nth-child(1) .line {
  animation-delay: 0.10s;
}

.swiper-slide-active .main__visual_slide_text .line-wrap:nth-child(2) .line {
  animation-delay: 0.45s;
}

.swiper-slide-active .main__visual_slide_text .line-wrap:nth-child(3) .line {
  animation-delay: 0.80s;
}

.swiper-slide-active .main__visual_slide_text .line-wrap:nth-child(4) .line {
  animation-delay: 1.15s;
}

@keyframes visualTextUp {
  0% {
    transform: translateY(115%);
    opacity: 0;
  }

  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

/* 비활성 슬라이드는 다시 숨김 상태 */
.swiper-slide:not(.swiper-slide-active) .main__visual_slide_text .line {
  transform: translateY(115%);
  opacity: 0;
  animation: none;
}

/* 태블릿 */
@media (max-width: 1024px) {
  .main__visual_slide_text {
    left: 6%;
  }

  .main__visual_slide_text .line {
    font-size: clamp(48px, 10vw, 110px);
    line-height: 0.9;
  }
}

/* 모바일 */
@media (max-width: 768px) {
  .main__visual_slide>img {
    height: 100svh;
  }

  .main__visual_slide_text {
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    width: 88%;
  }

  .main__visual_slide_text .line-wrap {
    line-height: 0.84;
  }

  .main__visual_slide_text .line {
    font-size: clamp(46px, 16vw, 88px);
    line-height: 0.9;
    letter-spacing: -0.045em;
  }
}

/* 작은 모바일 */
@media (max-width: 480px) {
  .main__visual_slide_text {
    left: 5%;
    width: 90%;
  }

  .main__visual_slide_text .line {
    font-size: clamp(40px, 16.5vw, 72px);
  }
}























/*********************2번째섹션***************************************************/

/* ====== Base ====== */
/* ✅ 화면 좌우 여백(시안처럼) */
.real_qna-rrr-sec {
  padding-left: 142px;
  padding-right: 80px;
  box-sizing: border-box;
}

.real_qna-rrr-inner {
  max-width: 1500px;
  /* 1200 -> 1600 */
  margin: 0;
  /* 가운데정렬(auto) 제거 */
  padding: 90px 0;
  /* 좌우 패딩은 바깥에서 관리 */
  display: grid;
  grid-template-columns: 45% 55%;
  /* 45/60은 합 105%라 깨짐, 45/55로 */
  gap: 70px;
  align-items: center;
}

/* ====== Image ====== */
.real_qna-rrr-media {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

.real_qna-rrr-media img {
  width: 90%;
  height: auto;
  /* 비율 유지 */
  display: block;
}

/* ====== Text ====== */
.real_qna-rrr-content {
  width: 100%;
}

.real_qna-rrr-title {
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.real_qna-rrr-k {
  font-family: "Against", sans-serif;
  font-weight: 500;
  font-size: 40px;
  letter-spacing: 0.2px;
  color: #111;
  min-width: 110px;
}

.real_qna-rrr-dots {
  font-weight: 700;
  font-size: 20px;
  color: #111;
  transform: translateY(-1px);
}

.real_qna-rrr-desc {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Pretendard, sans-serif;
  font-weight: 500;
  font-size: 27px;
  color: #111;
  letter-spacing: -0.2px;
}

.real_qna-rrr-line {
  margin: 26px 0 22px;
  width: 100%;
  height: 1px;
  background: #000000;
}

.real_qna-rrr-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #000000;
  letter-spacing: -0.2px;
  word-break: keep-all;
  font-weight: 400;
}

/* ====== Scroll Fade Up ====== */
.real_qna-fadeup {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

.real_qna-fadeup.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Responsive ====== */
/* 1024 이하: 좌우 여백 줄이고 그리드 안정화 */
@media (max-width: 1024px) {
  .real_qna-rrr-sec {
    padding-left: 40px;
    padding-right: 40px;
  }

  .real_qna-rrr-inner {
    gap: 40px;
    padding: 70px 0;
    /* 18px/16px 주지 말고, 바깥패딩으로만 */
    grid-template-columns: 44% 56%;
  }

  .real_qna-rrr-k {
    font-size: 30px;
    /* 26은 너무 줄어듦 */
    min-width: 96px;
  }

  .real_qna-rrr-desc {
    font-size: 18px;
  }

  .real_qna-rrr-body {
    font-size: 14px;
  }
}

/* 820 이하: 1열 + 이미지 폭 제한해서 "좀 작게" 보이게 */
@media (max-width: 820px) {
  .real_qna-rrr-sec {
    padding-left: 16px;
    padding-right: 16px;
  }

  .real_qna-rrr-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 60px 0;
  }

  /* ✅ 이미지가 너무 커 보이지 않게: 폭 제한 + 가운데 */
  .real_qna-rrr-media {
    max-width: 520px;
    margin: 0 auto;
  }

  /* ✅ 제목 줄깨짐/밀림 방지 */
  .real_qna-rrr-title {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .real_qna-rrr-k {
    min-width: auto;
    /* 중요 */
    font-size: 26px;
  }

  .real_qna-rrr-desc {
    font-size: 16px;
  }

  .real_qna-rrr-body {
    font-size: 14px;
  }

  .real_qna-rrr-line {
    margin: 18px 0 16px;
  }
}

/* 420 이하: 이미지 더 작게 + 텍스트 더 안정적으로 */
@media (max-width: 420px) {
  .real_qna-rrr-media {
    max-width: 360px;
  }

  .real_qna-rrr-k {
    font-size: 22px;
  }

  .real_qna-rrr-desc {
    font-size: 14px;
  }

  .real_qna-rrr-body {
    font-size: 13px;
    line-height: 1.75;
  }
}




/***************************3번째**********************************************/

/* ===== STYLE GUIDE SECTION ===== */
.real_qna-style-sec {
  width: 100%;
  border-bottom: 1px solid;
  padding: 110px 20px;
}

.real_qna-style-inner {
  max-width: 1600px;
  margin: 0 auto;
}

.real_qna-style-head {
  text-align: center;
  margin-bottom: 70px;
}

.real_qna-style-head h2 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111;
}

.real_qna-style-head p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  opacity: .85;
}

/* Grid */
.real_qna-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
}

/* Card */
.real_qna-style-item {
  display: block;
  text-decoration: none;
  color: #111;
  cursor: pointer;
  transform: translateZ(0);
}

/* Image box */
.real_qna-style-img {
  overflow: hidden;
  background: #fff;
}

.real_qna-style-img img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform .6s ease;
  will-change: transform;
}

/* hover: slight zoom */
.real_qna-style-item:hover .real_qna-style-img img {
  transform: scale(1.05);
}

@font-face {
  font-family: "Against";
  src: url("/fonts/against-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Against";
  src: url("/fonts/against-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Title / Sub / Body / Foot */
.real_qna-style-item h3 {
  margin: 18px 0 12px;
  font-family: "Against", sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #111;
}

.real_qna-style-sub {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.real_qna-style-body {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: #333;
  letter-spacing: -0.2px;
  word-break: keep-all;
}

.real_qna-style-foot {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

/* ===== Scroll FadeUp ===== */
.real_qna-fadeup {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
  will-change: opacity, transform;
}

.real_qna-fadeup.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .real_qna-style-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .real_qna-style-sec {
    padding: 90px 18px;
  }
}

@media (max-width: 820px) {
  .real_qna-style-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .real_qna-style-head {
    margin-bottom: 45px;
  }

  .real_qna-style-head h2 {
    font-size: 26px;
  }

  .real_qna-style-head p {
    font-size: 14px;
  }

  .real_qna-style-item h3 {
    font-size: 20px;
  }
}

/* 접근성: 모션 줄이기 */
@media (prefers-reduced-motion: reduce) {
  .real_qna-fadeup {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .real_qna-style-img img {
    transition: none;
  }
}