@charset "utf-8";

.c_member__title { font-size:var(--font-h4); font-weight:var(--font-weight-b); text-align:center; }
.c_title_band { padding:6px 0; background:#EFEFEF; border-top:0; border-bottom:0px solid #d8d8d8; }
.c_form_box { width:100%; padding:26px 0 0; }
.c_form_section + .c_form_section { margin-top:28px; }
.c_form_section h3 {font-size:var(--font-h5); margin-bottom:8px;}
.c_form_section__title { margin-bottom:8px; font-size:var(--font-h5); font-weight:var(--font-weight-b); }

.c_form_field + .c_form_field { margin-top:22px; }
.c_form_label_row { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; margin-bottom:4px; }
.c_form_label { font-size:var(--font-lg); font-weight:var(--font-weight-b); padding: 0 0 0 4px;}

.c_form_inline_msg { font-size:var(--font-md); font-weight:var(--font-weight-r); color:var(--color-error); }

.c_input {
  width:100%; height:38px; padding:0 10px; border:1px solid #c8c8c8; border-radius:4px;
  background:#f5f5f5; font-size:var(--font-lg);color:var(--color-black6);}

.c_input:focus { outline:0; border-color:var(--color-error); background:#ffffff; }
.c_input::placeholder { color:#555555; opacity:1; }

.c_radio_group--split { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }

.c_radio_card { display:block; }
.c_radio_card input { position:absolute; opacity:0; pointer-events:none; }
.c_radio_card__button {
  display:flex; align-items:center; 
  justify-content:center; 
  min-height:42px;
  border-radius:4px;
  background:var(--color-text-sub);
  color:var(--color-white);
  font-size:var(--font-h5); 
  font-weight:var(--font-weight-xb);
  transition:background-color .2s ease; cursor: pointer;
}
.c_radio_card:hover .c_radio_card__button,
.c_radio_card input:checked + .c_radio_card__button { filter: brightness(0.9); color:var(--color-white) }

.c_radio_card__desc { display: block; margin-top:6px; text-align:center; font-size:var(--font-sm); font-weight:var(--font-weight-r); color:var(--color-text-sub) }
.c_radio_card__button.kakao {background: var(--color-yellow); color: var(--color-black);}
.c_radio_card__button.naver {background: var(--color-success);}


.c_auth_panel {
  display:none; margin-top:18px; padding:16px 14px; border:1px solid #cfcfcf; border-radius:8px; background:#f7f7f7;
}
.c_auth_panel__label { font-size:var(--font-lg); font-weight:var(--font-weight-b); padding-bottom:4px; }
.c_auth_panel .c_input { background: #ffffff; border-color: #cfcfcf;}
.c_auth_panel .c_input:focus { outline:0; border-color:var(--color-error); }
.c_auth_panel .c_input::placeholder { color:#555555; opacity:1; }

.c_auth_panel.is_active { display:block; }
.c_auth_panel__row + .c_auth_panel__row { margin-top:14px; }
.c_auth_panel__actions { display:flex; gap:8px; }
.c_auth_panel__actions .c_input { flex:1 1 auto; }
.c_auth_btn {
  flex:0 0 130px; border-radius:6px; background:#3f6db9; color:#ffffff;
  font-size:var(--font-h5); font-weight:var(--font-weight-b); transition:background-color .2s ease, transform .2s ease;
}
.c_auth_btn:hover { background:#315b9b; }
.c_auth_btn:active { transform:translateY(1px); }

.c_agree_box { margin-top:8px; padding:12px 10px; border:1px solid #a9a9a9; background:#f1f1f1; }
.c_agree_list { display:flex; flex-direction:column; gap:12px; }
.c_check { display:flex; align-items:center; gap:8px; font-size:var(--font-lg); font-weight:var(--font-weight-m); cursor: pointer; }
.c_check input {
  appearance:none; width:16px; height:16px; margin:0; border:1px solid #a0a0a0; border-radius:2px; background:#ffffff; cursor: pointer;
}
.c_check input:checked {
  background:var(--color-error); border-color:var(--color-error); box-shadow:inset 0 0 0 4px #ffffff;
}
.c_check__accent {   
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.c_check__accent:active { opacity: 0.7;}

/* account_edit 자녀 정보 */
.c_child_list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 22px 0 32px 0;
}

.c_child_block .c_form_label {
  margin-bottom: 8px;
}

.c_child_row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 10px;
  margin-bottom: 12px;
}
.c_child_row .c_form_field + .c_form_field {
  margin-top: 0;
}

.c_child_phone_field {
  margin-top: 12px;
}

/* 비밀번호 보기 토글 */
.c_input_pw_wrap{
    position: relative;
}

.c_input_pw_wrap .c_input{
    width: 100%;
    padding-right: 45px;
}

.c_pw_toggle{
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.c_pw_toggle img{
    width: 24px;
    height: 24px;
}



/* 데스크탑 설정 */
@media (hover: hover) and (pointer: fine) {
  .c_check__accent:hover {
    color: #c83a00;
  }
}

.c_form_actions { display:flex; flex-direction:column; gap:20px; margin-top:20px; }

.c_btn {
  display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:46px;
  padding:0 20px; border-radius:8px; font-size:var(--font-h4); font-weight:var(--font-weight-b);  
  background: var(--color-grayb); 
}

.c_btn--primary {
  background: var(--color-primary); 
  color: var(--color-white);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .c_btn--primary:hover {
    background: #d63c00;
    transform: translateY(1px);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
  }
  
  .c_btn:hover {
    background: #a3a3a3;
    transform: translateY(1px);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
  }
}

.c_btn--primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.c_btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.c_btn--primary:disabled,
.c_btn--primary.is_disabled {
  opacity: 0.5;
  pointer-events: none;
}

.c_btn--dark {  background: #666666;  color: var(--color-white);  margin-top: 60px;}

.c_btn.is_loading {  position: relative;  pointer-events: none;  color: transparent;}

.c_btn.is_loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: c_btn_spinner 0.8s linear infinite;
}

@media (hover: hover) and (pointer: fine) {  .c_btn--dark:hover { background: #555555;  }
}


@keyframes c_btn_spinner {
  to {
    transform: rotate(360deg);
  }
}





/* 체크리스트 */
.check_list {
  display: inline-block;
  text-align: left;   /* 텍스트는 왼쪽 유지 */
  margin: 10px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.check_list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 6px;
  font-size: var(--font-lg);
}

/* 체크 아이콘 */
.check_list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background: url('/assets/images/icon_check.png') no-repeat center;
  background-size: contain;
}

.check_list li span {  
  font-weight: var(--font-weight-b);
}

.check_list li.payment_method {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.check_list li.payment_method > span:first-child {
  flex-shrink: 0;
}

.check_list li.payment_method > span:last-child {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}

.check_list li.payment_method select {
  width: 180px;
  height: 28px;
  margin-left: 4px;
  padding:0 10px; 
  border-radius:4px;
  font-size:var(--font-md);
}





/* 수강신청 CTA */

.enroll_cta {
  margin-top: 30px;
  text-align: center;
}

.enroll_cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

/* 버튼 2개일 때만 */
.enroll_cta__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.enroll_cta__bubble {
  display: inline-block;
  background: #DDDDDD;
  padding: 14px 22px;
  border-radius: var(--radius-s);
  font-weight: var(--font-weight-m);
  font-size: var(--font-h5);
  color:var(--color-black);
  animation: bubbleFloat 2.4s ease-in-out infinite;
}


/* floating */
@keyframes bubbleFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}


.enroll_cta__bubble::after {
  content: "";
  position: absolute;
  background: #DDDDDD;
  top: calc(100% - 1px);
  left:50%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  width: 18px;
  height: 18px;
}

.enroll_cta__arrow {
  font-size: 22px;
  font-weight:var(--font-weight-s);
}

.enroll_cta__button {
  display:inline-flex; 
  gap: 6px;
  align-items:center; 
  justify-content:center; 
  margin-top: 12px;
  width: 98%;
  padding: 12px 40px;
  font-size:var(--font-h2); 
  border-radius:var(--radius-round);
  font-weight:var(--font-weight-b);
  background:var(--color-primary); 
  color: var(--color-white);
  transition:
  background-color 0.2s ease,
  transform 0.2s ease,
  box-shadow 0.2s ease,
  opacity 0.2s ease;
}

.enroll_cta__button.two {
  max-width: 160px;
}

.enroll_cta__bubble {
  display: inline-block;
  background: #DDDDDD;
  padding: 14px 22px;
  border-radius: var(--radius-s);
  font-weight: var(--font-weight-m);
  font-size: var(--font-h5);
  color:var(--color-black);
  animation: bubbleFloat 2.4s ease-in-out infinite;
}


/* floating */
@keyframes bubbleFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}


.enroll_cta__bubble::after {
  content: "";
  position: absolute;
  background: #DDDDDD;
  top: calc(100% - 1px);
  left:50%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  width: 18px;
  height: 18px;
}




/* 문해력진단 CTA */
.cta_button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 50px;
  font-size: var(--font-h3);
  font-weight: var(--font-weight-b);
  border-radius: var(--radius-s);
  text-decoration: none;
}

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

.cta_button__orange {
  background: var(--color-orange-light);
  color: var(--color-black);
}

.cta_button_icon {
  width: 18px;
  height: 18px;
  background-image: url('/assets/images/icon_search.png');
  background-size: contain;
  background-repeat: no-repeat;
}


.cta_btn__arrow {
  margin-left: 0;
  font-size:36px;  
  line-height: 1px;
  font-weight: var(--font-weight-r);
  position: relative;
  top:-2px;
}

/* 아이콘 공통 */
.icon_download {
  flex: 0 0 auto; 
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 18px;
  height: 18px;
  background: url('/assets/images/icon_download.png') no-repeat center / contain;
}

.icon_send {
  width: 18px;
  height: 18px;
  background: url('/assets/images/icon_send.png') no-repeat center / contain;
}


.icon_search {
  width: 18px;
  height: 18px;
  background: url('/assets/images/icon_search.png') no-repeat center / contain;
}


/* 버블 말풍선 공통 */
.cta_bubble {
  display: inline-block;
  background: var(--color-graydf);
  padding: 6px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-m);
  font-weight: var(--font-weight-r);
  font-size: var(--font-md);
  color:var(--color-black);
  animation: cta_bubbleFloat 2.4s ease-in-out infinite;
}

/* floating */
@keyframes cta_bubbleFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.cta_bubble::after {
  content: "";
  position: absolute;
  background: #DDDDDD;
  top: calc(100% - 1px);
  left:50%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  width: 16px;
  height: 16px;
}

/*  empty- class */

.myclassroom_empty {
  padding: 40px 20px 0;
  text-align: center;
}

.myclassroom_empty__bubble {
  width: fit-content;
  margin: 0 auto 30px;
  padding: 16px 30px;
  line-height: 1.35;
}

.myclassroom_empty__image {
  width: 120px;
  max-width: 100%;
  display: block;
  margin: 0 auto 28px; 
}

/* 발 밑 그림자 */
.myclassroom_empty__image_wrap {
  position: relative;
  display: inline-block;
}

.myclassroom_empty__image_wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 65%;
  height: 3px;
  background: rgba(0, 0, 0, 0.48);
  border-radius: 50%;
  filter: blur(6px);
  z-index: -1;
}


/* 버튼 1개 전용 */
.cta_button_group__single {
  display: flex;
  justify-content: center;
}

.cta_button_group__single .cta_item {
  width: 100%;
  max-width: 240px;
}




/* notice box - test, intro */
.info_notice {
  padding: 36px 0 0;
}

.info_notice__heading {
  margin-bottom: 8px;
  color: var(--color-black);
  font-size: var(--font-h4);
  font-weight: var(--font-weight-b);
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 30px; /* 아이콘 자리 확보 */
  min-height: 20px;     /* 아이콘 높이만큼 확보 */
}

.info_notice__heading::before {
  content: "";
  position: absolute;
  display: block;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("/assets/images/ic_notice.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
}

.info_notice__heading[class*="is_icon_"] {
  position: relative;
  padding-left: 18px;
}

.info_notice__heading.is_icon_doc::before,
.info_notice__heading.is_icon_book::before,
.info_notice__heading.is_icon_award::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.info_notice__heading.is_icon_doc::before {
  background-image: url("/assets/images/icon_doc.png");
}

.info_notice__heading.is_icon_book::before {
  background-image: url("/assets/images/icon_book.png");
}

.info_notice__heading.is_icon_award::before {
  background-image: url("/assets/images/icon_award.png");
}


.info_notice__heading.is_gray::before {
  filter: grayscale(100%);
}

.info_notice__box {
  border: 2px solid var(--color-error);
  border-radius: var(--radius-lg);
  padding: 18px 18px 12px;
  background: var(--color-white);
}

.info_notice__box.is_gray {
  border: 2px solid var(--color-grayb);
}


.info_notice__list li {
  margin-bottom: 8px;
  font-size: var(--font-lg);
  position: relative;
  padding-left: 18px; /* 아이콘 자리 확보 */
  min-height: 14px;     /* 아이콘 높이만큼 확보 */
}

.info_notice__list li::before {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background: url("/assets/images/ic_check.png") no-repeat center / contain;
  z-index: 1;
  letter-spacing: -0.02em;
}


/* 선생님 프로필 리스트 */
.info_notice_profile {
  margin-top: 16px;
}

.info_notice_profile + .info_notice_profile {
  margin-top: 30px;
}

/* 제목 */
.info_notice_profile_heading {
  position: relative;
  margin-bottom: 8px;
  padding-left: 24px;
  font-size: var(--font-h5);
  font-weight: var(--font-weight-r);
  color: var(--color-black);
}

/* 제목 아이콘 공통 */
.info_notice_profile_heading[class*="is_ic_"]::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

/* 전문 이력 */
.info_notice_profile_heading.is_ic_career::before {
  background-image: url("/assets/images/ic_doc.png");
}

/* 수상 이력 */
.info_notice_profile_heading.is_ic_award::before {
  background-image: url("/assets/images/ic_award.png");
  width: 21px;
  height: 21px;
}

/* 대표 저서 */
.info_notice_profile_heading.is_ic_book::before {
  background-image: url("/assets/images/ic_book.png");
}

/* 박스 (모바일은 최소 스타일) */
.info_notice_profile__box {
  padding: 0;
}

/* 리스트 */
.info_notice_profile_list {
  margin-top: 2px;
}

/* 리스트 아이템 */
.info_notice_profile_list li {
  position: relative;
  padding-left: 13px;
  font-size: var(--font-body3);
  font-weight: var(--font-weight-r);
  line-height: 1.3;
  color: var(--color-black3);
  word-break: keep_all;
}

/* 체크 아이콘 */
.info_notice_profile_list li::before {
  content: "•";
  font-size: var(--font-md);
  color: var(--color-black6);
  position: absolute;
  top: -2px;
  left: 2px;
  /*width: 12px;
  height: 12px;
   background: url("/assets/images/ic_check.png") no-repeat center center / contain; */
}

/* 리스트 간격 (핵심: 촘촘하게) */
.info_notice_profile_list li + li {
  margin-top: 5px;
}


/* 공용 step 제목 뱃지 */
.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;
}

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

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

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


/* =========================================
   step btn
========================================= */

/* step tab button */
.book_step_tab {
  display: flex;
  gap: 0;
  padding: 6px;
  border-radius: 14px;
  background: var(--color-purple);
}

.book_step_tab_btn {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-h4);
  font-weight: var(--font-weight-m);
  line-height: 1;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
}

.book_step_tab_btn.is_active {
  background: var(--color-white);
  color: var(--color-black);
  font-weight: var(--font-weight-b);
}


/* =========================================
   tab content
========================================= */
.book_step_content {
  display: none;
}

.book_step_content.is_active {
  display: block;
}



/* =========================================
   two btn group
========================================= */

.two_button_group {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.two_button {
  flex: 1 1 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--radius-s);
  font-size: var(--font-h5);
  font-weight: var(--font-weight-b);
  line-height: 1;
  text-decoration: none;
}

.two_button::after {
  content: none;
}

.ic_phone::after,
.ic_map::after {
  content: "";
  display: inline-block;
  width: 19px;
  height: 19px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


.ic_phone::after {
  background: url("/assets/images/icon_phone_white.png") no-repeat center / contain;
}

.ic_map::after {
  background: url("/assets/images/icon_map_white.png") no-repeat center / contain;  
  transform: translateY(1px) ;
}

.btn_orange {
  background: #ea5a00;
  color: #ffffff;
}

.btn_gray {
  background: #8b8b8b;
  color: #ffffff;
}

.btn_purple {
  background: var(--color-purple);
  color: #ffffff;
}

/* 결제정보 테이블 - 결제하기 버튼 */
.payment_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: var(--font-md);
  font-weight: var(--font-weight-m);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.payment_table__action {
  text-align: center;
}



/* =========================
   board
========================= */

/* search */
.board_search {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.board_search_box {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: var(--color-white);
  box-sizing: border-box;
}

.board_search_input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--color-black);
  outline: none;
}

.board_search_input::placeholder {
  color: #777777;
  padding-left:4px;
}

.board_search_btn {
  flex: 0 0 64px;
  height: 38px;
  border: 0;
  border-radius: var(--radius-s);
  background: #8b8b8b;
  color: var(--color-white);
  font-size: 16px;
  font-weight: var(--font-weight-b);
  cursor: pointer;
}

/* table */
.board_table_wrap {
  margin-top: 22px;
}

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

.board_table a {
  -webkit-tap-highlight-color: transparent;
}

.board_table th,
.board_table td {
  padding: 10px 6px;
  border: 1px solid #d9d3ea;
  font-size: var(--font-md);
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
}

.board_table th:first-child,
.board_table td:first-child {
  border-left: 0;
  padding-left: 16px;
  padding-right: 10px;
}

.board_table th:last-child,
.board_table td:last-child {
  border-right: 0;
}

.board_table th {
  background: #f3f1fa;
  color: var(--color-purple);
  font-weight: var(--font-weight-b);
}

.board_table th:first-child,
.board_table td:first-child {
  text-align: left;
}


.board_table th.center,
.board_table td.cente {
  text-align: center;
  padding: 0 10px;
}

.board_title a {
  display: block;
  overflow: hidden;
  color: var(--color-black);
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.board_status {
  font-weight: var(--font-weight-m);
}

.board_status.is_wait {
  color: var(--color-orange);
}

.board_pin {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 2px;
  background: url("/assets/images/icon_pin_notice.png") no-repeat center / contain;
  vertical-align: -3px;
}

/* pagination */
.board_pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.board_page_num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 4px;
  color: #444444;
  font-size: var(--font-md);
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.board_page_num.is_active {
  background: #666666;
  color: var(--color-white);
  font-weight: var(--font-weight-b);
}

.board_page_num.is_disabled {
  pointer-events: none;
  cursor: default;
}

.board_page_btn {
  position: relative;
  width: 20px;
  height: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.board_page_btn::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #9a9a9a;
  border-right: 2px solid #9a9a9a;
}

/* 비활성 */
.board_page_btn.is_disabled::before {
  border-color: #d0d0d0;
}

/* 클릭 방지 */
.board_page_btn.is_disabled {
  cursor: default;
  pointer-events: none;
}

.board_page_btn.is_prev::before {
  left: 6px;
  transform: translateY(-50%) rotate(-135deg);
}

.board_page_btn.is_next::before {
  right: 6px;
  transform: translateY(-50%) rotate(45deg);
}

/* bottom buttons */
.board_btn_group {
  margin-top: 22px;
}

.btn_black {
  background: #2b2926;
  color: var(--color-white);
}

/* board view open layer */
.board_view_layer .myclass_layer_body {
  padding: 0 0 30px;
}

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

.board_view_info {
  padding: 16px 20px 14px;
  border-bottom: 1px solid #d9d9d9;
  color: var(--color-black6);
}

.board_view_info p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.board_view_file,
.board_view_file a {
  color: var(--color-black6);
  text-decoration: underline;
  text-underline-position: under;
}

.board_view_content {
  padding: 22px 20px 24px;
  font-size: 16px;
  color: var(--color-black);
}

.board_view_answer {
  padding: 16px 20px 24px;
  background: #eeeeee;
}

.board_view_answer_date {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #b3b3b3;
  font-size: 16px;
  line-height: 1.6;
}

.board_view_answer_content {
  padding-top: 16px;
  font-size: 16px;
  line-height: 1.6;
}


/* board write */
.board_write_form {
  padding: 0;
  padding-top: 20px;
  border-radius: 12px;
  background: var(--color-white);
}

/* 간격 정리 */
.board_write_form > * + * {
  margin-top: 14px;
}

/* input */
.board_input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #a3a3a3;
  border-radius: var(--radius-s);
  font-size: var(--font-lg);
  box-sizing: border-box;
}

.board_input::placeholder {
  color: #777777;
}

/* textarea */
.board_textarea {
  width: 100%;
  min-height: 200px;
  padding: 12px 14px;
  border: 1px solid #b4b4b4;
  border-radius: var(--radius-s);
  font-size: var(--font-lg);
  line-height: 1.5;
  resize: none;
  box-sizing: border-box;
}

.board_textarea::placeholder {
  color: #777777;
}

/* file */
.board_file {
  display: flex;
  gap: 8px;
  width: 100%;
}

.board_file_name {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #b4b4b4;
  border-radius: var(--radius-s);
  font-size: var(--font-lg);
  color: var(--color-black);
  box-sizing: border-box;
}

.board_file_btn {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-s);
  background: #8b8b8b;
  color: var(--color-white);
  font-size: var(--font-lg);
  cursor: pointer;
}

/* 상단 고정 (메인 노출) */
.board_write_option {
  margin-top: 8px;
}

.board_checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-md);
}

.board_checkbox input {
  width: 16px;
  height: 16px;
}

/* =========================
   counseling layer
========================= */

/* 레이어 */
body.layer_open {
  overflow: hidden;
  touch-action: none;
}

.myclass_layer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.myclass_layer.is_open {
  display: block;
}

.myclass_layer_dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.myclass_layer_dialog {
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92%;
  margin: 20px 0;
  max-height: calc(100vh - 50px);
  border-radius: 24px;
  background: var(--color-white);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 50px);
}

.myclass_layer_body {
  overflow-y: auto;
}

.myclass_layer_head {
  position: relative;
  padding: 18px 10px 17px;
  background: var(--color-purple);
}

.myclass_layer_title {
  font-size: var(--font-h3);
  font-weight: var(--font-weight-b);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-align: center;
  word-break: keep-all;
  padding: 0 14px;
}

.myclass_layer_title.board {
  font-size: var(--font-h5);
  text-align: left;
}

.myclass_layer_close {
  position: absolute;
  top: 12px;
  right: 14px;
  transform:none;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-weight: var(--font-weight-b);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.myclass_layer_close {
  width: 36px;
  height: 36px;
}

.myclass_layer_body {
  padding: 22px 20px 20px;
}

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

.myclass_phone_item + .myclass_phone_item {
  margin-top: 12px;
}

.myclass_phone_label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 10px;
  background: #e9e9e9;
}

.myclass_phone_name {
  flex: 0 0 66px;
  font-size: var(--font-h5);
  font-weight: var(--font-weight-m);
  color: var(--color-black);
  line-height: 1.4;
  word-break: keep_all;
}

.myclass_phone_number {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--font-h5);
  font-weight: var(--font-weight-r);
  color: var(--color-black);
  padding-left: 12px;
  line-height: 1.4;
}

.myclass_phone_input_wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.myclass_phone_input {
  width: 96%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: var(--color-white);
  font-size: var(--font-h5);
  font-weight: var(--font-weight-r);
  line-height: 32px;
  color: var(--color-black);
  box-sizing: border-box;
}

.myclass_phone_check {
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
}

.myclass_phone_box {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 2px solid #8d8d8d;
  border-radius: 2px;
  background: var(--color-white);
  box-sizing: border-box;
}

.myclass_phone_check:checked + .myclass_phone_box {
  border-color: #6e6e6e;
  background: #6e6e6e;
}

.myclass_phone_check:checked + .myclass_phone_box::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(45deg);
}

.myclass_layer_btn_wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.myclass_layer_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-round);
  font-size: var(--font-h5);
  font-weight: var(--font-weight-b);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.myclass_layer_btn_close {
  background: #6a6a6a;
  color: var(--color-white);
}

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

.myclass_layer_btn_arrow {
  margin-left: 8px;
  font-size: 16px;
  font-weight: var(--font-weight-r);
  line-height: 1;
}

/* 연기 레이어 */
.form_row {
  padding: 14px 0;
  border-bottom: 1px solid #d9d9d9;
}

.form_row:first-child {
  padding-top: 0;
}

.form_row_inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form_row_inline .form_label {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.form_row_deadline {
  padding-top: 2px;
}

.form_label {
  margin-bottom: 10px;
  font-size: var(--font-h5);
  font-weight: var(--font-weight-b);
  color: var(--color-black);
}

.form_desc {
  font-size: var(--font-lg);
  font-weight: var(--font-weight-r);
  line-height: 1.7;
  color: var(--color-black);
}

.form_desc span {
  display: block;
  position: relative;
  padding-left: 10px;
}

.form_desc span::before {
  content: "•";
  position: absolute;
  left: 0;
}

.deadline_text {
  font-size: var(--font-h5);
  font-weight: var(--font-weight-b);
  line-height: 1.5;
  color: var(--color-orange);
}

.form_notice {
  margin-left: 6px;
  font-size: var(--font-md);
  font-weight: var(--font-weight-m);
  color: var(--color-orange);
}

.select_wrap {
  position: relative;
  width: 74px;
}

.select {
  width: 100%;
  height: 32px;
  padding: 0 30px 0 12px;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  font-size: 16px;
  font-weight: var(--font-weight-m);
  color: var(--color-black);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  background: var(--color-white);
}

.select::-ms-expand {
  display: none;
}

.textarea {
  width: 100%;
  height: 92px;
  padding: 14px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: var(--color-white);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-r);
  line-height: 1.5;
  color: var(--color-black);
  box-sizing: border-box;
  resize: none;
}

.textarea::placeholder,
.input::placeholder {
  color: #9a9a9a;
}

.account_row {
  display: flex;
  gap: 8px;
}

.input {
  height: 32px;
  line-height: 32px;
  padding: 2px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: var(--color-white);
  font-size: var(--font-md);
  font-weight: var(--font-weight-r);
  color: var(--color-black);
  box-sizing: border-box;
}

.input_bank {
  width: 72px;
}

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

/* agree */
.agree_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.check_label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check_input {
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
}

.check_box {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid #7a7a7a;
  border-radius: 2px;
  background: var(--color-white);
  box-sizing: border-box;
}

.check_input:checked + .check_box {
  background: #6c6c6c;
  border-color: #6c6c6c;
}

.check_input:checked + .check_box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(45deg);
}

.check_text {
  flex: 1;
  min-width: 0;
  font-size: var(--font-lg);
  font-weight: var(--font-weight-r);
  line-height: 1.6;
  color: var(--color-black);
}

/* button */
.layer_btn_wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.layer_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: var(--font-weight-b);
  line-height: 1;
  cursor: pointer;
}

.layer_btn_close {
  background: #6b6b6b;
  color: var(--color-white);
}

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

.layer_btn_arrow {
  margin-left: 4px;
  font-size: 14px;
  line-height: 1;
}




/* =========================
   FAQ section
========================= */

.program_faq {
  padding: 40px 10px 50px;
  background: #efefef;
}

.program_faq_head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.program_faq_title {
  margin: 0;
  color: #000;
  font-size: var(--font-h3);
  font-weight: var(--font-weight-b);
  line-height: 1.3;
}

.program_faq_more {
  color: #4f4a43;
  font-size: var(--font-md);
  font-weight: var(--font-weight-m);
  line-height: 1.4;
  text-decoration: none;
  align-items: baseline;
  padding-right:4px;
}

.program_faq_more.is_gray {
  color: var(--color-black6);
}

.program_faq_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program_faq_item {
  overflow: hidden;
  border-radius: 10px;
  background: #4f4a43;
}

.program_faq_item[open] {
  background: #5C5C5C;
}

.program_faq_question {
  position: relative;
  display: block;
  padding: 12px 52px 12px 20px;
  list-style: none;
  cursor: pointer;
}

.program_faq_question.is_gray {
  padding: 10px 52px 10px 20px;
}

.program_faq_question::-webkit-details-marker {
  display: none;
}

.program_faq_question_text {
  display: block;
  color: var(--color-white);
  font-size: var(--font-lg);
  font-weight: var(--font-weight-m);
  letter-spacing: -0.02em;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  word-break: keep-all;
}

.program_faq_question_text.is_gray {
  color: var(--color-black);
}

.program_faq_question::before,
.program_faq_question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 14px;
  height: 2px;
  background: #f3ede4;
  transform: translateY(-50%);
  border-radius: var(--radius-round);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 세로선 = 닫혔을 때 + */
.program_faq_question::after {
  transform: translateY(-50%) rotate(90deg);
}

/* 열리면 - 로 보이도록 세로선 숨김 */
.program_faq_item[open] .program_faq_question::after {
  opacity: 0;
}

.program_faq_answer {
  padding: 0 18px 16px 20px;
  background: var(--color-white);
  border: solid 1px  #4f4a43;
  border-radius: 0 0 10px 10px;
}

.program_faq_answer p {
  margin: 0;
  padding-top: 16px;
  color: #4f4a43;
  font-size: var(--font-lg);
  font-weight: var(--font-weight-m);
  line-height: 1.4;
  word-break: keep-all;
}
