/* preclass-header */
/* preclass-header */
/* preclass-header */

.preclass-page {
  font-family: "pretendard", sans-serif;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.preclass-header {
  background-color: black;
  color: white;
  padding: 100px 0;
  line-height: 1.6;
  font-family: "pretendard", sans-serif;
}

.preclass-header u {
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.preclass-header__header {
  text-align: center;
  margin-bottom: 100px;
}

.preclass-header__content {
  margin-bottom: 40px;
}

.preclass-header__title {
  font-size: var(--font-3xl);
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: -1.5px;
}

.preclass-header__subtitle {
  font-size: 18px;
  font-weight: 320;
  color: #ddd;
  margin-bottom: 5px;
  letter-spacing: -2px;
}

.preclass-header__section-title {
  font-size: var(--font-3xl);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -1.5px;
}

.preclass-header__main-text {
  font-size: var(--font-2xl);
  font-weight: 300;
  letter-spacing: -1.5px;
  margin-bottom: 30px;
}

.preclass-header__main-text p {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.preclass-header__main-text p:nth-child(2) {
  margin-bottom: 20px;
}

.preclass-header__description {
  font-size: var(--font-lg);
  line-height: 1.6;
  color: #ccc;
}

.preclass-header__description p {
  margin-bottom: 10px;
}

.preclass-header__description p:nth-child(3) {
  margin-bottom: 20px;
}

.preclass-header__description p:last-child {
  font-size: 12px;
  margin: 0;
}

.preclass-header strong {
  font-weight: 600;
}

/* preclass-intro */
/* preclass-intro */
/* preclass-intro */

.preclass-intro {
  background: #274637;
  color: white;
  font-family: "YunGothic";
  padding: 100px 40px 150px 40px;
}

.preclass-intro u {
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

/* .preclass-intro .container {
  max-width: 900px !important;
  min-width: 900px !important;
} */

.preclass-intro__header {
  text-align: center;
  margin-bottom: 80px;
}

.preclass-intro__title {
  font-size: var(--font-3xl);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -1.5px;
}

.preclass-intro__subtitle {
  text-align: left;
  font-size: var(--font-2xl);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -1.5px;
}

.preclass-intro__layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.preclass-intro__layout > div:nth-child(2),
.preclass-intro__layout > div:nth-child(3) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
}

.preclass-chart {
  flex: 1;
  max-width: 400px;
}

.preclass-chart__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.preclass-chart__icon {
  color: white;
  font-size: 12px;
}

.preclass-chart__title {
  font-size: var(--font-base);
  font-weight: 500;
}

.preclass-chart__container {
  background: transparent;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  border: none;
  margin-bottom: 20px;
}

.preclass-chart__bars {
  display: flex;
  justify-content: space-between;
  align-items: end;
  height: 140px;
  gap: 8px;
  margin-bottom: 15px;
  position: relative;
}

.preclass-chart__bars::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: white;
}

.preclass-chart__bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  font-size: var(--font-base);
}

.preclass-chart__bar-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #274637;
  font-size: 12px;
  font-weight: 400;
  z-index: 1;
}

.preclass-chart__bar {
  background: white;
  width: 100%;
  max-width: 35px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preclass-chart__bar:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.preclass-chart__bar--1 {
  height: 84px;
}
.preclass-chart__bar--2 {
  height: 86px;
}
.preclass-chart__bar--3 {
  height: 85px;
}
.preclass-chart__bar--4 {
  height: 87px;
}
.preclass-chart__bar--5 {
  height: 70px;
}

.preclass-chart__bar-label {
  position: absolute;
  bottom: -25px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.preclass-intro__description {
  font-size: var(--font-base);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 350;
  line-height: 1.5;
  letter-spacing: -1px;
}

.preclass-intro__description2 {
  font-size: var(--font-base);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 350;
  line-height: 1.5;
  letter-spacing: -1px;
}

.preclass-intro__description p {
  margin-bottom: 10px;
}

.preclass-intro__description2 p {
  margin-bottom: 0px;
}

.preclass-intro__spacer {
  height: 40px;
  width: 100%;
  display: block;
}

.preclass-intro__spacer-small {
  height: 10px;
  width: 100%;
  display: block;
}

.preclass-intro__pencil-icon {
  width: 35px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px !important;
  margin-bottom: 10px;
}

.preclass-intro__pencil-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preclass-intro__divider {
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  width: 100%;
  margin-bottom: -50px;
}

.preclass-intro__icon {
  background: transparent;
  border-radius: 0;
  align-items: center;
  justify-content: center;
  margin: auto;
  border: none;
}

.preclass-intro__icon:hover {
  transform: scale(1.05);
}

.preclass-intro__icon-image {
  width: 75px;
  height: auto;
  filter: brightness(0) invert(1);
}

.preclass-abilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  font-size: var(--font-base);
  gap: 20px;
  margin-bottom: 60px;
  margin-top: 40px;
}

.preclass-ability {
  border-radius: 8px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
  margin-top: 25px;
}

.preclass-ability--reading {
  background: #bedacc;
  color: #2c4a32;
}
.preclass-ability--literacy {
  background: #55836d;
  color: white;
}
.preclass-ability--logic {
  background: #55836d;
  color: white;
}
.preclass-ability--reasoning {
  background: #bedacc;
  color: #2c4a32;
}

.preclass-ability:hover {
  transform: translateY(-3px);
}

.preclass-ability__header {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 25px;
  padding: 10px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.preclass-ability--reading .preclass-ability__header {
  border: 1px solid #274637;
}
.preclass-ability--literacy .preclass-ability__header {
  border: 1px solid #274637;
}
.preclass-ability--logic .preclass-ability__header {
  border: 1px solid #274637;
}
.preclass-ability--reasoning .preclass-ability__header {
  border: 1px solid #274637;
}

.preclass-ability__header .preclass-ability__title-kr,
.preclass-ability__header .preclass-ability__title-en {
  color: #274637;
  font-size: 15px;
  font-weight: 400;
}

.preclass-ability__header::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 25px;
  width: 0;
  height: 0;
  border-top: 8px solid white;
  border-right: 8px solid transparent;
  border-left: 0;
  border-bottom: 0;
}

.preclass-ability__header::before {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 24px;
  width: 0;
  height: 0;
  border-top: 9px solid #274637;
  border-right: 9px solid transparent;
  border-left: 1px solid #274637;
  border-bottom: 0;
  z-index: -1;
}

.preclass-ability--reading .preclass-ability__content,
.preclass-ability--reasoning .preclass-ability__content {
  color: #2c4a32;
  margin-top: 20px;
}

.preclass-ability__icon {
  width: auto;
  height: 10px;
  display: inline-flex;
  align-items: center;
}

.preclass-ability__title {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.preclass-ability__title-kr {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.preclass-ability__title-en {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 400;
}

.preclass-ability__content {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 20px;
}

.preclass-qa {
  margin-bottom: 50px;
}

.preclass-qa__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;
}

.preclass-qa__icon {
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  margin-bottom: 0px;
}

.preclass-qa__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.preclass-qa__title {
  width: 100%;
  font-size: var(--font-xl);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 20px 0;
  color: white;
}

.preclass-qa__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-white);
  margin-top: 18px;
}

.preclass-qa__content {
  font-size: var(--font-lg);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-left: 0;
}

.preclass-features__header {
  margin-top: 100px;
  margin-bottom: 50px;
}

.preclass-features__subtitle {
  font-size: var(--font-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.preclass-features__title {
  font-size: var(--font-3xl);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.preclass-features__grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 60px;
}

.preclass-feature {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 40px 30px 40px 50px;
  color: #333;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 50px;
}

.preclass-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.preclass-feature__icon {
  width: 40px;
  height: 40px;
  background: #4a6741;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 12px;
  margin-right: 12px;
}

.preclass-feature__icon img {
  width: 100px;
  height: 100px;
}

.preclass-feature__content {
  flex: 1;
  max-width: 600px;
}

.preclass-feature__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #274637;
  letter-spacing: -1.5px;
}

.preclass-feature__description {
  font-size: var(--font-base);
  font-weight: 400;
  line-height: 1.5;
  color: #274637;
  margin: 0;
  letter-spacing: -1.5px;
}

.preclass-feature__description br {
  display: none;
}

.preclass-testimonials__header {
  text-align: center;
  margin-bottom: 50px;
  margin-top: 80px;
}

.preclass-testimonials__title {
  font-size: var(--font-3xl);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 15px;
  text-align: left;
  letter-spacing: -1.5px;
}

.preclass-testimonials__subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-align: left;
  font-size: var(--font-xl);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -1.5px;
}

/* 캐러셀 스타일 */
.preclass-carousel {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  perspective: 1000px;
  margin: 0 auto 30px auto;
  margin-left: calc((900px - 1200px) / 2);
  margin-right: calc((900px - 1200px) / 2);
}

.preclass-carousel__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preclass-review {
  position: absolute;
  width: 75%;
  max-width: 800px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 95%;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
}

.preclass-review::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  pointer-events: none;
}

/* 카드 위치 클래스 */
.preclass-review--active,
.preclass-review.active {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 10;
  filter: blur(0px);
}

.preclass-review--next,
.preclass-review.next {
  transform: translateX(60%) scale(0.85) rotateY(-20deg);
  opacity: 0.7;
  z-index: 5;
  filter: blur(0.5px);
}

.preclass-review--prev,
.preclass-review.prev {
  transform: translateX(-60%) scale(0.85) rotateY(20deg);
  opacity: 0.7;
  z-index: 5;
  filter: blur(0.5px);
}

.preclass-review--far-next,
.preclass-review.far-next {
  transform: translateX(90%) scale(0.7) rotateY(-30deg);
  opacity: 0.4;
  z-index: 1;
  filter: blur(1px);
}

.preclass-review--far-prev,
.preclass-review.far-prev {
  transform: translateX(-90%) scale(0.7) rotateY(30deg);
  opacity: 0.4;
  z-index: 1;
  filter: blur(1px);
}

.preclass-review__header {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.preclass-review__badge {
  display: inline-block;
  background: #274637;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid #aaa;
}

.preclass-review__school {
  font-size: 0.95rem;
  opacity: 0.8;
  font-weight: 400;
  margin-left: 10px;
}

.preclass-review__content {
  flex: 1;
  line-height: 1.8;
  font-size: 1.05rem;
  font-weight: 400;
  position: relative;
  z-index: 1;
  margin-top: 10px;
  padding-right: 10px;
  letter-spacing: -1px;
}

.preclass-review__highlight {
  background: #fff;
  color: #274637;
  padding: 2px 6px;
  font-weight: 500;
}

.preclass-carousel__indicators {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.preclass-carousel__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.preclass-carousel__indicator--active,
.preclass-carousel__indicator.active {
  background: white;
  transform: scale(1.2);
}

.preclass-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 20;
}

.preclass-carousel__nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.preclass-carousel__nav--prev {
  left: 20px;
}

.preclass-carousel__nav--next {
  right: 20px;
}

/* preclass-graphic */
/* preclass-graphic */
/* preclass-graphic */

.preclass-graphic {
  background-color: #000;
  color: white;
  font-family: "YunGothic";
  padding: 150px 40px 100px 40px;
  line-height: 1.6;
}

.preclass-graphic .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.preclass-graphic__top-title {
  font-size: var(--font-3xl);
  font-weight: 320;
  line-height: 1.5;
  letter-spacing: -1.5px;
}

.preclass-graphic__container {
  margin: 80px 0;
  position: relative;
}

.preclass-graphic__bottom-title {
  font-size: var(--font-xl);
  font-weight: 320;
  line-height: 1.5;
  letter-spacing: -1.5px;
}

.preclass-graphic__image {
  width: 100%;
  max-width: 900px;
}

/* preclass-manager */
/* preclass-manager */
/* preclass-manager */

.instructor {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-yellow); /* 골드/베이지 색상 */
  padding: 100px 0;
  color: var(--color-white);
  font-family: none;
}

.instructor__container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 20px;
}

.instructor__title {
  font-size: var(--font-3xl);
  font-weight: 700;
  margin-bottom: 60px;
  align-self: flex-start;
}

.instructor__card {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.8); /* 어두운 반투명 배경 */
  border-radius: 12px;
  padding: 60px;
  gap: 60px;
}

.instructor__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.instructor__badge {
  display: inline-block;
  padding: 8px 20px;
  background-color: transparent;
  border: 2px solid var(--color-white);
  border-radius: 20px;
  font-size: var(--font-base);
  margin-bottom: 20px;
}

.instructor__name {
  font-size: var(--font-2xl);
  font-weight: 700;
  margin-bottom: 12px;
}

.instructor__subtitle {
  font-size: var(--font-base);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.instructor__divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin-bottom: 30px;
}

.instructor__description {
  font-size: var(--font-lg);
  line-height: 1.8;
  color: var(--color-white);
}

.instructor__image {
  width: 350px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0; /* 이미지 크기 고정 */
}

/* preclass-detail */
/* preclass-detail */
/* preclass-detail */

.preclass-detail {
  background: #dcd5d0;
  color: black;
  font-family: "YunGothic";
  padding: 100px 40px 150px 40px;
}

.preclass-detail__title {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: -1.5px;
}

.preclass-detail u {
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.preclass-detail__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: black;
  margin-top: 15px;
  margin-bottom: 30px;
}

.preclass-detail__text-space {
  display: flex;
  margin-bottom: 40px;
}

.preclass-detail__text-title {
  width: 300px;
  min-width: 300px;
  font-size: var(--font-2xl);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -1.5px;
  flex-shrink: 0;
}

.preclass-detail__text-box {
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
}

.preclass-detail__text-badge {
  color: #dcd5d0;
  font-size: var(--font-lg);
  line-height: 1.5;
  letter-spacing: -1.5px;

  width: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 7px 0;
}

.preclass-detail__text {
  font-size: var(--font-lg);
  line-height: 1.5;
  letter-spacing: -1.5px;
  margin: 10px 0;
}

.preclass-detail__big-title {
  font-size: var(--font-xl);
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: -1.5px;
  background-color: var(--color-black);
  color: white;
  padding: 14px 28px;
  margin: 40px 0 20px 0;
  border-radius: 8px;
}

.preclass-detail__flow {
  width: 100%;
  margin-top: 40px;
}
.preclass-detail__flow--mobile {
  display: none;
}

/* preclass-summary */
/* preclass-summary */
/* preclass-summary */

/* preclass-faq */
/* preclass-faq */
/* preclass-faq */

.preclass-faq {
  background: #e8e8e8;
  color: black;
  font-family: "YunGothic";
  padding: 100px 40px 150px 40px;
}

/* Prep Operation Section */
.prep-operation {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #e8e8e8;
  padding: 100px 0;
  font-family: "pretendard", sans-serif;
  color: var(--color-primary-green);
}

.prep-operation__container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  align-items: flex-start;
}

.prep-operation__title {
  font-size: var(--font-3xl);
  font-weight: 700;

  margin-bottom: 60px;
  line-height: 1.4;
}

/* 탭 네비게이션 */
.prep-operation__tabs {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
}

.prep-operation__tab {
  flex: 1;
  padding: 16px 24px;
  background-color: #bababa;
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: var(--font-lg);
  font-weight: 600;
}

.prep-operation__tab--active {
  background-color: var(--color-primary-green);
  color: var(--color-white);
}
/* 콘텐츠 - 모든 콘텐츠가 동시에 표시되도록 */
.prep-operation__content {
  display: block;
  width: 100%;
  margin-bottom: 60px;
}

.prep-operation__content-title {
  font-size: var(--font-2xl);
  font-weight: 700;

  margin-bottom: 16px;
}

.prep-operation__content-subtitle {
  font-size: var(--font-sm);
  color: #4f4f4f;
  margin-bottom: 24px;
  line-height: 1.6;
}

.prep-operation__content-description {
  font-size: var(--font-base);
  color: var(--color-black);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* 배지 */
.prep-operation__badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.prep-operation__badge {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: var(--font-base);
  font-weight: 600;
  border: 1px solid var(--color-primary-green);
}

.prep-operation__badge--primary {
  background-color: #bedacc;
  font-weight: bold;
}

.prep-operation__badge--secondary {
  background-color: #8fb8b8;
}

.prep-operation__text {
  font-size: var(--font-base);
}

/* 플로우 그룹 */

.prep-operation__flow {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
  margin-top: 40px;
}
.prep-operation__flow-group {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
  margin-top: 40px;
}

.prep-operation__flow-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prep-operation__flow-box {
  width: 100%;
  padding: 8px 20px;
  border-radius: 8px;
  text-align: center;
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--color-white);
}

.prep-operation__flow-box--primary {
  background-color: #55836d;
}

.prep-operation__flow-box--secondary {
  background-color: #bedacc;
  border: 1px solid var(--color-primary-green);
  color: var(--color-primary-green);
}

.prep-operation__flow-arrow {
  font-size: var(--font-2xl);
  color: var(--color-black);
}

.prep-operation__flow-result {
  font-size: var(--font-lg);
  text-align: center;
  line-height: 1.6;
  font-weight: 600;
}

/* 가격 */

.prep-operation__price-unit {
  font-size: 32px;
}

.prep-operation__price-note {
  font-size: var(--font-lg);
  font-weight: 400;
  margin-left: 8px;
}

/* 수강신청 */
.prep-operation__registration-title {
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: 16px;
}

.prep-operation__registration-description {
  font-size: var(--font-base);
  color: #666666;
  margin-bottom: 40px;
  line-height: 1.8;
}

.prep-operation__contact-box {
  width: 100%;
  border: 2px solid #d8d8d8;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 20px;
  background-color: var(--color-white);
}

.prep-operation__contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.prep-operation__contact-content {
  flex: 1;
}

.prep-operation__contact-text {
  font-size: var(--font-base);
  color: var(--color-black);
  margin-bottom: 8px;
  line-height: 1.6;
}

.prep-operation__contact-text strong {
  color: var(--color-primary-blue);
}

.prep-operation__contact-link {
  display: block;
  color: #338ba8;
  text-decoration: none;
  font-size: var(--font-base);
}

.prep-operation__contact-link:hover {
  text-decoration: underline;
}

.prep-operation__qr {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
}

.prep-operation__divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-primary-green);
  margin: 80px 0 60px 0;
}

/* Preclass FAQ Section */
.preclass-faq {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding: 100px 0;
  color: var(--color-white);
}

.preclass-faq__title {
  font-size: var(--font-3xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 80px;
  text-align: left;
  width: 100%;
}

/* FAQ 리스트 */
.preclass-faq__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* FAQ 항목 */
.preclass-faq__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 100px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255);
}

.preclass-faq__item:first-child {
  padding-top: 0;
}

.preclass-faq__item:last-child {
  border-bottom: none;
}

/* 질문 */
.preclass-faq__question {
  min-width: 400px;
  flex-shrink: 0;
}

.preclass-faq__question h3 {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.5;
  margin: 0;
}

/* 답변 */
.preclass-faq__answer {
  flex: 1;
}
.preclass-faq__text {
  color: rgba(255, 255, 255, 0.7);
}

.preclass-faq__answer p {
  font-size: var(--font-base);
  color: var(--color-white);
  line-height: 1.8;
  margin: 0;
}

.preclass-faq__answer strong {
  font-weight: 700;
  color: var(--color-white);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .content-container {
    padding: 0 16px;
  }

  .content-container li {
    margin-bottom: 0.5rem;
  }
  /* 헤더 패딩 조정 */
  .preclass-header {
    padding: 60px 0;
  }

  .preclass-header__title {
    font-size: var(--font-2xl);
  }

  .preclass-header__section-title {
    font-size: var(--font-2xl);
  }

  .preclass-header__main-text {
    font-size: var(--font-xl);
  }

  .preclass-header__description {
    font-size: var(--font-base);
  }

  /* Intro 섹션 */
  .preclass-intro {
    padding: 60px 0 100px 0;
  }

  .preclass-intro__title {
    font-size: var(--font-2xl);
  }

  .preclass-intro__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 모바일에서 순서: 차트 → 텍스트1 → 이미지1 → 텍스트2 → 이미지2 → 텍스트3 */
  .preclass-intro__layout > div:first-child {
    order: 1; /* 차트 */
  }

  .preclass-intro__layout > div:nth-child(4) {
    order: 2; /* 첫 번째 텍스트 */
  }

  .preclass-intro__layout > div:nth-child(2) {
    order: 3; /* 첫 번째 아이콘 */
    padding-top: 0;
    margin: 20px auto;
  }

  .preclass-intro__layout > div:nth-child(5) {
    order: 4; /* 두 번째 텍스트 */
  }

  .preclass-intro__layout > div:nth-child(3) {
    order: 5; /* 두 번째 아이콘 */
    padding-top: 0;
    margin: 20px auto;
  }

  .preclass-intro__layout > div:nth-child(6) {
    order: 6; /* 세 번째 텍스트 */
  }

  .preclass-chart {
    max-width: 100%;
    margin: 0 auto;
  }
  .preclass-chart__bar-label {
    font-size: 10px;
  }

  .preclass-intro__description {
    margin-bottom: 20px;
  }

  .preclass-intro__description:last-of-type {
    margin-bottom: 0;
  }

  .preclass-intro__icon-image {
    width: 60px;
  }

  /* Instructor 섹션 */
  .instructor {
    padding: 60px 0;
  }

  .instructor__container {
    padding: 0 16px;
  }

  .instructor__title {
    font-size: var(--font-2xl);
    margin-bottom: 40px;
  }

  .instructor__card {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
  }

  .instructor__image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .instructor__description {
    font-size: var(--font-base);
  }

  /* Detail 섹션 */
  .preclass-detail__text {
    font-size: var(--font-base);
  }
  .preclass-detail__text-box {
    padding: 0 16px;
  }

  .preclass-detail__text-badge {
    width: 100%;
    max-width: 380px;
  }

  /* Operation 섹션 */
  .prep-operation__container {
    padding: 0 16px;
  }

  .prep-operation {
    padding: 60px 0;
  }

  /* 그래픽 이미지 */
  .preclass-graphic__image {
    max-width: 100%;
  }

  /* Review 캐러셀 모바일 대응 */
  .preclass-carousel {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: auto;
    min-height: 400px;
    overflow: visible;
  }

  .preclass-carousel__wrapper {
    position: relative;
    overflow: visible;
  }

  .preclass-review {
    position: relative !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto 20px;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    height: auto !important;
    min-height: 300px;
    display: block;
  }

  /* 모든 review 카드를 보이게 하되, active만 표시 */
  .preclass-review--next,
  .preclass-review.next,
  .preclass-review--prev,
  .preclass-review.prev,
  .preclass-review--far-next,
  .preclass-review.far-next,
  .preclass-review--far-prev,
  .preclass-review.far-prev {
    display: none;
  }

  .preclass-review--active,
  .preclass-review.active {
    display: flex;
  }

  .preclass-review__content {
    font-size: var(--font-base);
    padding-right: 0;
  }

  /* Graphic 섹션 */
  .preclass-graphic {
    padding: 60px 20px;
  }

  .preclass-graphic__top-title {
    font-size: var(--font-2xl);
  }

  .preclass-graphic__bottom-title {
    font-size: var(--font-lg);
  }

  .preclass-graphic__container {
    margin: 40px 0;
  }

  /* Features 섹션 */
  .preclass-features__header {
    margin-top: 60px;
    margin-bottom: 30px;
  }

  .preclass-features__title {
    font-size: var(--font-2xl);
  }

  .preclass-feature {
    padding: 24px;
  }

  .preclass-feature__content {
    max-width: 100%;
  }

  /* QA 섹션 */
  .preclass-qa__title {
    font-size: var(--font-lg);
  }

  .preclass-qa__content {
    font-size: var(--font-base);
  }

  /* Detail 섹션 추가 스타일 */
  .preclass-detail {
    padding: 60px 0 80px 0;
  }

  .preclass-detail__title {
    font-size: var(--font-xl);
  }

  .preclass-detail__text-space {
    flex-direction: column;
    gap: 20px;
  }

  .preclass-detail__text-title {
    width: 100%;
    min-width: auto;
    font-size: var(--font-xl);
    margin-bottom: 10px;
  }

  .preclass-detail__text-box {
    width: 100%;
    max-width: 100%;
  }

  .preclass-detail__flow {
    display: none;
  }
  .preclass-detail__flow--mobile {
    display: block;
    width: 100%;
    margin-top: 40px;
  }

  /* FAQ 섹션 */
  .preclass-faq {
    padding: 60px 0;
  }

  .preclass-faq__title {
    font-size: var(--font-2xl);
    margin-bottom: 40px;
  }

  .preclass-faq__item {
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
  }

  .preclass-faq__question {
    min-width: auto;
    width: 100%;
  }

  .preclass-faq__question h3 {
    font-size: var(--font-lg);
  }

  .preclass-faq__answer {
    width: 100%;
  }

  /* Operation Contact (QR 코드) 섹션 */
  .prep-operation__title {
    font-size: var(--font-2xl);
    margin-bottom: 30px;
  }

  .prep-operation__contact-box {
    padding: 24px 20px;
  }

  .prep-operation__contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .prep-operation__contact-icon {
    align-self: flex-start;
  }

  .prep-operation__contact-content {
    width: 100%;
  }
  .prep-operation__content-title {
    font-size: var(--font-xl);
  }
  .prep-operation__content-subtitle {
    font-size: var(--font-base);
  }

  .prep-operation__tabs {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
  }
  .prep-operation__flow-label {
    font-size: var(--font-sm);
  }

  .prep-operation__flow-result {
    font-size: var(--font-base);
  }

  .prep-operation__price-unit {
    font-size: var(--font-2xl);
  }
  .prep-operation__price-note {
    font-size: var(--font-base);
  }

  .prep-operation__divider {
    margin: 32px 0 20px 0;
  }

  .prep-operation__qr {
    width: 80px;
    height: 80px;
    align-self: center;
  }
}
