/* =========================
   book intro page (mobile base)
========================= */

/* hero */
.book_intro {
  padding: 0 0 20px;
  background: linear-gradient(180deg, #6d4bd4 0%, #6546cc 100%);
}

.book_intro .l_inner {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.book_intro_visual {
  padding: 40px 0 12px;
  text-align: center;
}

.book_intro_title {
  color: #ffffff;
  font-size: var(--font-h3);
  font-weight: var(--font-weight-r);
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.book_intro_title strong {
  color: var(--color-yellow-light);
  font-weight: var(--font-weight-b);
}

.book_intro_image {
  margin-top: 20px;
}

.book_intro_image img {
  display: block;
  width: 180px;
  max-width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0px 5px 6px rgba(0, 0, 0, 0.5));
}

.book_intro_notice {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(45, 16, 136, 0.72);
  color: var(--color-purple-light);
  font-size: var(--font-h5);
  font-weight: var(--font-weight-r);
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: center;
  word-break: keep-all;
  line-break: strict;
}

.book_intro_notice strong {
  color: var(--color-yellow-light);
  font-weight: var(--font-weight-b);
}


/* step button + book list */

.book_step {
  padding: 40px 0 0;
}



/* =========================================
   step table
========================================= */
.book_step_table_wrap {
  margin-top: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.book_step_table {
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #ffffff;
}

.book_step_table thead th {
  padding: 8px;
  border-top: 1px solid #d8d8e6;
  border-bottom: 1px solid #d8d8e6;
  background: #f1eefb;
  color: var(--color-purple);
  font-size: var(--font-md);
  font-weight: var(--font-weight-b);
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
}

.book_step_table tbody th,
.book_step_table tbody td {
  padding: 8px 4px 6px;
  border-bottom: 1px solid #ddddea;
  color: #444444;
  font-size: var(--font-md);
  font-weight: var(--font-weight-r);
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
}

.book_step_table tbody th {
  background: #f9f7ff;
  border-right: 1px solid #ddddea;
}

.book_step_table td {
  border-right: 1px solid #ddddea;
}

.book_step_table td:last-child {
  border-right: none;
}

.book_step_table tbody td:nth-child(3) {
  padding-left: 8px;
  padding-right: 8px;
}

.book_step_level {
  display: block;
  color: #555555;
  font-weight: var(--font-weight-b);
  line-height: 1.3;
}

.book_step_month {
  display: block;
  margin-top: 2px;
  color: #999999;
  font-size: 12px;
  line-height: 1.3;
}

.book_list {
  margin-top: 24px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding:18px 0;
}

.book_list_group {
  margin: 0;
  padding: 0;
  list-style: none;
}

.book_list_item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.book_list_item + .book_list_item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}

.book_list_thumb {
  flex: 0 0 80px;
  width: 80px;
}

.book_list_thumb img {
  display: block;
  width: 100%;
  border: solid 1px #dddddd;
}

.book_list_info {
  flex: 1;
  min-width: 0;
}

.book_list_title {
  color: var(--color-black);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-b);
  line-height: 1.1;
  letter-spacing: -0.03em;
  word-break: keep-all;
  padding-top:6px;
}

.book_list_meta {
  margin-top: 6px;
  color: #666666;
  font-size: var(--font-md);
  font-weight: var(--font-weight-r);
  line-height: 1.0;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.book_list_desc {
  margin-top: 8px;
  color: #777777;
  font-size: var(--font-sm);
  font-weight: var(--font-weight-r);
  line-height: 1.3;
  letter-spacing: -0.02em;
  word-break: keep-all;
}


/* =========================================
   apply button
========================================= */
.book_apply {
  margin-top: 28px;
  text-align: center;
}

.book_apply_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #6d4bd4;
  color: #ffffff;
  font-size: var(--font-h4);
  font-weight: var(--font-weight-b);
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}

.book_apply_btn::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  box-sizing: border-box;
}


/* 문해력 진단 버튼 section */
.intro_cta {
  margin: 40px 0 20px 0;
  text-align: center;
}

.intro__cta_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}


/* step card */
.intro_step {
  margin-top:40px;
  padding: 20px 0 28px;
  background: var(--color-graydf);
}

.intro_step .l_inner {
  width: 100%;
  padding: 0 16px;
}

.intro_step_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro_step_item {
  padding: 22px 28px 24px;
  border-radius: 16px;
  background: var(--color-white);
}

.intro_step_badge {
  display: table;
  margin: 0 auto 18px;
  padding: 10px 20px;
  border-radius: var(--radius-round);
  color: var(--color-white);
  font-size: var(--font-h3);
  font-weight: var(--font-weight-b);
  line-height: 1.2;
  text-align: center;
  word-break: keep-all;
}

.intro_step_badge--green {
  background: var(--color-green);
}

.intro_step_badge--orange {
  background: var(--color-orange);
}

.intro_step_badge--blue {
  background: var(--color-blue);
}

.intro_step_book {
  margin-top: 18px;
  text-align: center;
}

.intro_step_book img {
  display: inline-block;
  width: 100%;
  max-width: 250px;
  height: auto;
  vertical-align: top;
}



/* =========================
   enroll apply page
========================= */

/* hero */
.enroll_apply_hero {
  padding: 28px 0 10px;
  background: var(--gradient-purple);
}

.enroll_apply_hero_box {
  display: flex;
  align-items: center;
  padding: 0 26px 28px 34px;
  gap: 18px;
}

.enroll_apply_hero_media {
  flex: 0 0 80px;
}

.enroll_apply_hero_media img {
  display: block;
  width: 100%;
  height: auto;
  animation: heroFloat 1.8s ease-in-out infinite;
}

@keyframes heroFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.enroll_apply_hero_content {
  flex: 1;
}

.enroll_apply_hero_title {
  margin: 0 0 4px;
  color: var(--color-white);
  font-size: var(--font-h3);
  font-weight: var(--font-weight-b);
}

.enroll_apply_hero_text {
  margin: 0;
  color: var(--color-white);
  font-size: var(--font-h5);
  font-weight: var(--font-weight-r);
  line-height: 1.3;
  word-break: keep-all;
}

.enroll_apply_hero_text strong {
  color: var(--color-yellow);
  font-weight: var(--font-weight-b);
}

.enroll_apply_hero_notice {
  margin: 22px 0 16px;
  color: var(--color-white);
  font-size: var(--font-md);
  font-weight: var(--font-weight-r);
  line-height: 1.3;
  text-align: center;
  word-break: keep-all;
}

.enroll_apply_hero_btns {
  display: flex;
  gap: 10px;
}

.enroll_apply_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-s);
  text-decoration: none;
  font-size: var(--font-lg);
  font-weight: var(--font-weight-b);
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
}

.enroll_apply_btn_primary {
  color: var(--color-black);
  background: var(--color-yellow);
}

.enroll_apply_btn_dark {
  color: var(--color-white);
  background: var(--color-black);
}

.enroll_apply_guide {
  padding: 40px 0 20px;
}

.enroll_apply_guide_box {
  padding: 18px 14px 16px 16px;
  border: 2px solid var(--color-orange-light);
  border-radius: 10px;
}

.enroll_apply_guide_text {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--color-orange);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-m);
  line-height: 1.4;
  word-break: keep-all;
}

.enroll_apply_guide_text + .enroll_apply_guide_text {
  margin-top: 8px;
}

.enroll_apply_guide_text::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
}

.enroll_apply_result {
  padding: 12px 0 40px;
  background: var(--color-white);
}

.enroll_apply_section_title {
  margin: 0 0 6px;
  color: var(--color-black2);
  font-size: var(--font-h4);
  font-weight: var(--font-weight-b);
  line-height: 1.3;
  text-align: left;
}

.enroll_apply_table_wrap {
  overflow: hidden;
  border-top: 1px solid #d9d3ee;
}

.enroll_apply_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.enroll_apply_table thead th {
  padding: 6px 8px;
  border-right: 1px solid #d1cadf;
  border-bottom: 1px solid #d1cadf;
  background: #e8e5f4;
  color: var(--color-purple);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-m);
  text-align: center;
}

.enroll_apply_table thead th:last-child {
  border-right: 0;
}

.enroll_apply_table td:last-child {
  border-right: 0;
  text-align: left;
  padding-left:30px;
}

.enroll_apply_table tbody th,
.enroll_apply_table tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  background: var(--background-white);
  text-align: center;
  vertical-align: middle;
}

.enroll_apply_table tbody th {
  color: var(--color-black2);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-m);
}

.enroll_apply_select_wrap {
  position: relative;
}

.enroll_apply_select {
  width: 64px;
  height: 30px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--color-line-strong);
  border-radius: 4px;
  background: var(--color-input);
  color: var(--color-black2);
  font-size: var(--font-md);
  font-weight: var(--font-weight-m);
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.enroll_apply_score_wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.enroll_apply_input {
  width: 54px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--color-line-strong);
  border-radius: 4px;
  background: var(--color-input);
  color: var(--color-text);
  font-size: var(--font-md);
  font-weight: var(--font-weight-m);
  text-align: center;
  box-sizing: border-box;
}

.enroll_apply_unit {
  color: var(--color-text);
  font-size: var(--font-size-14);
  font-weight: var(--font-weight-m);
}

.enroll_apply_action {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.enroll_apply_btn_large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  font-size: var(--font-h5);
  font-weight: var(--font-weight-b);
  text-align: center;
  box-sizing: border-box;
}

.enroll_apply_btn_purple {
  color: var(--color-white);
  background: var(--color-purple);
}

.enroll_apply_btn_charcoal {
  color: var(--color-white);
  background: var(--color-text);
}

.enroll_apply_recommend {
  padding: 32px 0 24px;
  background: var(--color-grayd);
}

.enroll_apply_recommend_intro {
  margin: 0 0 20px;
  color: var(--color-text);
  font-size: var(--font-h5);
  font-weight: var(--font-weight-b);
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
}

.enroll_apply_recommend_card {
  padding: 26px 30px 20px;
  border-radius: 12px;
  background: var(--color-white);
}

.enroll_apply_recommend_head {
  margin-bottom: 14px;
  text-align: center;
}

.enroll_apply_recommend_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 28px;
  border-radius: var(--radius-round);
  background: var(--color-orange);
  color: var(--color-white);
  font-size: var(--font-h4);
  font-weight: var(--font-weight-m);
  line-height: 1.2;
  text-align: center;
}

.enroll_apply_recommend_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.enroll_apply_recommend_list li {
  position: relative;
  margin: 0;
  padding-left: 24px;
  color: var(--color-text);
  font-size: var(--font-md);
  font-weight: var(--font-weight-m);
  line-height: 1.7;
  word-break: keep-all;
}

.enroll_apply_recommend_list li + li {
  margin-top: 4px;
}

.enroll_apply_recommend_list li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #9a9a9a;
  color: var(--color-white);
  font-size: var(--font-size-12);
  font-weight: var(--font-weight-eb);
  line-height: 1;
}

.enroll_apply_recommend_desc {
  margin: 22px 0 0;
  color: var(--color-text);
  font-size: var(--font-md);
  font-weight: var(--font-weight-m);
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
}

.enroll_apply_recommend_btn_wrap {
  margin-top: 24px;
  text-align: center;
}

.enroll_apply_recommend_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--background-orange-dark);
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--font-size-18);
  font-weight: var(--font-weight-eb);
  line-height: 1.2;
  box-sizing: border-box;
}



