/* =========== 공통 ===========*/
main.sub_main {
  margin-top: 100px;
  padding-bottom: 80px;
  padding-top: 120px;
}

main.sub_main .wrap {
  flex-direction: column;
  align-items: center;
  padding: 0 3%;
}

main.sub_main .section_description {
  width: 100%;
  padding: 32px;
  margin-bottom: 32px;
  background-color: #fafafa;
  border-radius: 16px;
  font-size: 0.875rem;
  font-family: 'SCDream3';
  color: #333;
}

main.sub_main .section_description p {
  display: flex;
  align-items: flex-start;
}

main.sub_main .section_description .icon {
  padding-right: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

main.sub_main .section_description .icon svg {
  color: #d74848;
  width: 20px;
}

main.sub_main .page_title {
  text-align: center;
  font-size: 2rem;
  font-family: 'SCDream7';
  margin-bottom: 50px;
}

@media screen and (max-width: 960px) {
  main.sub_main {
    margin-top: 20px;
    margin-bottom: 0;
    padding-bottom: 50px;
  }

  main.sub_main .page_title {
    margin-bottom: 50px;
  }
}



/* =========== 팝업 ===========*/
.popup {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 10;
  overflow: hidden;
}

.popup.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup .popup_inner {
  width: 45%;
  min-width: 720px;
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 8px;
  background-color: #fff;
}

.popup_inner .popup_header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-family: 'SCDream5';
  padding: 3rem 2.5rem 1.5rem;
}

.popup_close_btn {
  font-size: 1rem;
  padding: 0 1rem;
}

.popup_inner .popup_body {
  padding: 0 2rem;
}

.popup_body .table {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #d3d3d3;
}

.popup_body .table .table_row {
  display: flex;
}

.popup_body .table .table_cell {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid #d3d3d3;
}

.popup_body .table_row:last-child .table_cell {
  border-bottom: none;
}

.popup_body .table_cell.th {
  width: 30%;
  min-width: 120px;
  background-color: #f3f3f3;
}

.popup_body .table_cell.td {
  width: 70%;
}

.popup_inner .popup_footer {
  width: 100%;
  margin-top: 3rem;
}

.popup_footer .primary_btn {
  width: 100%;
  height: 48px;
}


/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
  .popup .popup_inner {
    width: 90%;
    min-width: auto;
  }

  .popup_inner .popup_header {
    padding: 3rem 1.25rem 1.5rem;
  }

  .popup_inner .popup_body {
    padding: 0 1rem;
  }

  .popup_body .table .table_row {
    flex-wrap: wrap;
  }

  .popup_body .table_row:last-child .table_cell {
    border-bottom: 1px solid #d3d3d3;
  }

  .popup_body .table .table_row:last-child .table_cell:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .popup_body .table_cell.th {
    width: 120px;
    min-width: auto;
    background-color: #f3f3f3;
  }

  .popup_body .table_cell.td {
    width: calc(100% - 120px);
  }

  .popup_close_btn{
    display: none;
  }
}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 430px) {
  .popup_body .table .table_row {
    flex-direction: column;
  }

  .popup_body .table_cell.th {
    width: 100%;
  }

  .popup_body .table_cell.td {
    width: 100%;
  }
}



/* =========== 아코디언 ===========*/
.accordion{
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.accordion_item{
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  overflow-x: hidden;
}

.accordion_item:has(> .accordion_header > .accordion_button[aria-expanded="true"]),
.accordion_item:has(> .accordion_header > .accordion_button:focus ){
  border-color: #3b5bdb;
}

.accordion_header{
  height: 72px;
}

.accordion_button {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  /* gap: 2rem; */
  cursor: pointer;
  padding: 0 2rem;
  font-family: 'SCDream5';
}

.accordion_button[aria-expanded="true"]{
  /* background-color: #fafafa; */
  border-bottom: 1px solid #d3d3d3;
}

.accordion_button .faq_category{
  font-size: 0.875rem;
  color: #54a3ff;
  font-family: 'SCDream4';
  min-width: 64px;
  text-align: left;
}

.accordion_button .faq_title{
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 70%;
}

.accordion_button svg{
  width: 16px;
  height: 16px;
  margin-left: auto;
  transition: transform 0.3s;
}

.accordion_button[aria-expanded="true"] svg{
  transform: rotate(180deg);
  color: #3b5bdb;
  transition: transform 0.3s;
}

.accordion_panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  padding: 0 2rem;
}

.accordion_body{
  padding: 2rem 0 2rem;
}

/* .accordion_button:focus {
  outline: 2px solid #3b5bdb;
  border-radius: 8px;
} */
  


/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 430px) {
  .accordion_button{
    padding: 0 1rem;
    gap: 16px;
  }

  .accordion_button .faq_category{
    min-width: auto;
  }
}




/* =========== 회원정보 ===========*/
#user_info_section .container,
#user_find_section .container {
  width: 60vw;
  min-width: 360px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#user_info_section .user_info_tab {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.5rem;
  padding: 0 5%;
  position: relative;
  border-bottom: 2px solid #eb4545;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

#user_info_section .user_info_tab::-webkit-scrollbar {
  display: none;
}

#user_info_section .user_info_tab button {
  border-radius: 16px 16px 0 0;
  width: 100%;
  padding: 12px 0;
  font-family: 'SCDream4';
  position: relative;
}

#user_info_section .user_info_tab button.active {
  background-color: #eb4545;
  color: #fff;
  position: relative;
}

#user_info_section .tab_contents {
  margin-top: 32px;
}

#user_info_section .tab_contents .content {
  display: none;
}

#user_info_section .tab_contents .content.active {
  display: block;
}

#user_info_section .content form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#user_info_section .content .form_group {
  display: flex;
  flex-direction: column;
}

.form_group label {
  padding: 8px;
  font-family: 'SCDream4';
}

.form_group input[type="text"],
.form_group input[type="password"],
.form_group select {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #d3d3d3;
  padding: 0 20px;
}

.form_group input:read-only {
  background-color: #f3f3f3;
  border: none;
  color: #555;
  /* margin-top: 8px; */
}

#user_info_section .btn_submit {
  width: 100%;
  height: 48px;
  background-color: #eb4545;
  border-radius: 8px;
  color: #fff;
  margin-top: 32px;
}

#tabpanel_withdraw .section_description ul {
  margin-top: 8px;
  padding-left: 20px;
}

#tabpanel_withdraw .section_description ul li {
  list-style: disc;
  padding: 2px 0;
}

#tabpanel_withdraw .section_description ul li::marker {
  color: #d3d3d3;
}

#user_info_section .form_group.custom_select {
  position: relative;
}

#user_info_section .form_group.checkbox {
  flex-direction: row;
  font-size: 0.875rem;
  color: #555;
  padding-left: 10px;
  align-items: center;
}


#userInfoModifyFrm .btn{
    width: 64px;
    margin-top: 0;
}

#userInfoModifyFrm .secondary_line_btn{
	width:100%;
    margin-top: 32px;
}

/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
  #user_info_section .container {
    width: 100%;
    min-width: auto;
    max-width: unset;
  }
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 430px) {
  #user_info_section .user_info_tab {
    gap: 0.25rem;
  }
  
  #user_info_section .user_info_tab button {
    width: 33.33%;
    min-width: 120px;
    flex: 0 0 auto;
    border-radius: 10px 10px 0 0;
  }
}




/* =========== 아이디/비밀번호 찾기 ===========*/
#find_section .info_image {
  width: 50%;
}

#find_page .info_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
}

#find_page .info_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.25rem;
}

#find_page .info_text span {
  font-family: 'SCDream5';
}

#find_page .btn {
  height: 48px;
  padding: 0 32px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
  #find_section .info_image {
    width: 70%;
  }
}

@media screen and (max-width: 430px) {
  #find_page .page_title span {
    display: block;
  }

  #find_section .info_image {
    width: 90%;
  }

  #find_page .info_text {
    font-size: 1rem;
  }

  #find_page .btn {
    padding: 0;
    width: 100%;
  }
}



/* =========== 회원가입 ===========*/
#sign_up_section .container {
  width: 100%;
}

.step_indicator {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 32px;
  margin: 0 auto;
}

.step_indicator>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 16px 0;
  font-family: 'SCDream5';
}

.step_indicator>div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 39%;
  left: 100%;
  width: 56%;
  border: 2px dashed #f3f3f3;
  transform: translate(-50%, -50%);
}

.step_indicator>div.previous::after {
  border: 2px dashed #eb4545;
  opacity: .6;
}

.step_indicator .step_num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f3f3f3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step_indicator>div.current .step_num {
  background-color: #eb4545;
  color: #fff;
}

.step_indicator>div.previous .step_num {
  background-color: #eb4545;
  color: #fff;
  opacity: .6;
}

.step_indicator>div.current p {
  color: #eb4545;
}

.step_indicator>div.previous p {
  color: #eb4545;
  opacity: .6;
}

#signup_form fieldset {
  display: none;
}

#signup_form fieldset.active {
  display: flex;
  flex-direction: column;
}

#signup_form fieldset#agree_wrap.active {
  gap: 40px;
}

#signup_form .step_title {
  font-size: 1.5rem;
  margin: 32px 0 16px;
  font-family: 'SCDream5';
  text-align: center;
}

#signup_form .form_group {
  /* margin-bottom: 64px; */
}

#area_wrap.active,
.user_information_wrap.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#area_wrap .form_group,
.user_information_wrap .form_group {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 60%;
}

#area_wrap .form_group {
  margin-top: 16px;
}

#area_wrap label {
  width: 100px;
}

#area_wrap select {
  flex: 1;
}

#agreeAll_wrap {
  padding-bottom: 16px;
  margin-top: 32px;
  border-bottom: 1px dashed #d3d3d3;
}

#signup_form .checkbox_group {
  padding: 16px;
  display: flex;
  align-items: center;
  position: relative;
}

#signup_form .checkbox_group input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

#signup_form .checkbox_group label {
  padding-left: 8px;
  font-family: 'SCDream5';
}

#signup_form .form_group .txt_box {
  height: 320px;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #d3d3d3;
  background-color: #fafafa;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
}

#signup_form .txt_box .paragraph {
  margin-bottom: 20px;
  line-height: 1.8;
}

#signup_form .privacy_text {
  font-size: 0.937rem;
}

#signup_form .txt_box .paragraph h5 {
  margin-bottom: 5px;
  font-family: 'SCDream5';
}

#signup_form .user_information_wrap.active {
  gap: 32px;
}

#signup_form .user_information_wrap .form_group {
  flex-direction: column;
  align-items: flex-start;
}

#signup_form .form_group .user_id_form{
  width: 100%;
  height: 100%;
  display: flex;
  gap: 8px;
}
#signup_form .form_group #idCheckBtn{
  width: 20%;
  min-width: 100px;
  background-color: #555;
  color: #fff;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:5px;
}
.form_group .form_help{
  font-size: 0.875rem;
  color: #555;
}

.rrn_group,
.phone_group {
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
}

#rrn_front {
  min-width: 120px;
  width: 50%;
}

.rrn_back_wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 50%;
}

.rrn_back_wrap input[type="text"] {
  width: 56px;
}

.rrn_mask {
  width: calc(100% / 6);
  height: 48px;
  position: relative;
}

.rrn_mask::after {
  width: 60%;
  aspect-ratio: 1 / 1;
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('../img/sub/rrn_mask.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.form_group .phone_group select {
  width: 120px;
}
.form_group .phone_group input[type="text"]{
  flex: 1;
}

.phone_group .btn{
  min-width: 80px;
}


#signup_form .hint {
  font-size: 0.875rem;
  color: #aaa;
}

.sign_up_success {
  text-align: center;
}

.sign_up_success img {
  width: 56px;
  aspect-ratio: 1/ 1;
  margin: 16px auto;
}

#signup_form .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
}

#signup_form .actions .btn {
  width: 120px;
}



/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
  .step_indicator {
    width: 100%;
  }

  .step_indicator>div:not(:last-child)::after {
    width: 36%;
  }

  #area_wrap .form_group,
  .user_information_wrap .form_group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  #area_wrap label {
    padding-left: 8px;
  }

  #area_wrap select {
    flex: auto;
    width: 100%;
  }

  .rrn_group,
  .phone_group {
    gap: 8px;
  }



  #signup_form .actions .btn {
    width: 50%;
  }
}


@media screen and (max-width: 768px) {
  .rrn_mask::after {
    width: 80%;
  }

  #signup_form .checkbox_group {
    align-items: flex-start;
  }

  #signup_form .checkbox_group input[type="checkbox"]{
    margin-top: 10px;
  }
}


@media screen and (max-width: 430px) {
  .step_indicator .step_num {
    width: 38px;
    height: 38px;
  }

  .step_indicator>div:not(:last-child)::after {
    width: 32%;
  }

  .step_indicator>div p {
    font-size: 0.875rem;
  }

  .rrn_mask::after {
    width: 100%;
  }

  .form_group .phone_group select {
    width: 86px;
  }

  .phone_group .btn{
    min-width: 64px;
  }
}



/* =========== 학습하기 ===========*/
#study_learn_section .item_list {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

#study_learn_section .item_list li {
  border: 1px solid #d3d3d3;
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}

#study_learn_section .item_list .category {
  background-color: #e1f5ff;
  border-radius: 32px;
  color: hsl(212, 100%, 66%);
  padding: 3px 10px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-family: 'SCDream5';
  display: inline-block;
}

#study_learn_section .item_list .item_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'SCDream4';
}

#study_learn_section .item_text .item_title h4 {
  font-size: 1.25rem;
  font-family: 'SCDream5';
  line-height: 1.5;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  max-height: calc(1.25rem * 1.5 * 2);
}

#study_learn_section .item_text .secondary_line_btn {
  border-radius: 8px;
  border: 1px solid #9e9e9e;
  color: #555;
  font-size: 0.875rem;
  padding: 5px 10px;
  transition: background .2s;
}

#study_learn_section .item_text .secondary_line_btn:hover,
#study_learn_section .item_text .secondary_line_btn:focus-within {
  background-color: #e3f5ff;
  color: #3b5bdb;
  border: 1px solid #3b5bdb;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

#study_learn_section .item_text .info_status {
  margin-top: 20px;
  font-size: 0.875rem;
  color: #888;
}

#study_learn_section .item_list .item_list_actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  gap: 8px;
  padding-left: 32px;
  border-left: 1px dashed #d3d3d3;
}

#study_learn_section .item_list .item_list_actions a{
  min-width: 120px;
  padding: 10px 0;
  background-color: #54a3ff;
  border-radius: 8px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#study_learn_section .item_list .item_list_actions .outline_btn  {
  background-color: #fff;
  border: 1px solid #54a3ff;
  color: #54a3ff;
}


.survey_popup .popup_inner {
  overflow:hidden;
  max-height:80vh;
  display:flex;
  flex-direction: column;
}

.survey_popup .popup_header {
  width:100%;
  height: 56px;
  flex-shrink:0;
  background-color: #eb4545;
  color: #fff;
  box-sizing: border-box;
  padding:0 2.5rem;
}
.survey_popup .popup_close_btn{
  padding:0 .5rem;
}


.survey_popup .popup_body {
  flex:1;
  padding-bottom:2rem;
  overflow-y:auto;
}

.survey_popup .survey_form {
  height: 85%;
}

.survey_popup .survey_questions {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.survey_popup .survey_q_item {
  border-bottom: 1px solid #f3f3f3;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.survey_popup .survey_q_title {
  all: unset;
  font-size: 1.125rem;
  font-weight: 400;
}

.survey_popup .survey_q_item .point {
  font-weight: bold;
}


.survey_popup .question_media {
  overflow: hidden;
  width: 250px;
  border: 1px solid #d3d3d3;
  border-radius: 16px;
  display: flex;
  align-items: center;
}

.survey_popup .question_media .q_img {
  width: 100%;
  height: 150px;
  border-radius: 16px;
  object-fit: cover;
}

.survey_popup .subjective_answer_form {
  position: relative;
}

.survey_popup .subjective_answer_form input {
  width: 100%;
  height: 40px;
  border: 1px solid #d3d3d3;
  background-color: #fafafa;
  border-radius: 5px;
  padding: 0 1rem;
  outline: none;
}

.survey_popup .subjective_answer_form .answer_reset {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
}


.survey_popup .question_option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.survey_popup .question_option label {
  display: flex;
  align-items: center;
  gap: 5px;
}
.survey_popup .question_option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.survey_popup .question_option input[type="radio"]:checked+.option_label .option_marker {
  background-color: #eb4545;
  color: #fff;
  border-color: #eb4545;
}
.survey_popup .option_marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #999;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.survey_popup .submit_answer {
  display: flex;
  align-items: center;
  justify-content:center;
  margin-top: 2rem;
  gap: 8px;
}

.survey_popup .submit_answer button {
  width: 120px;
  border-radius: 8px;
  border: 1px solid #555;
  cursor: pointer;
  padding: 10px 0;
}

.survey_popup .submit_answer .submit_answer_btn {
  background-color: #555;
  color: #fff;
}


/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
  #study_learn_section .item_list .item_info {
    flex-direction: column;
    align-items: flex-start;
  }

  #study_learn_section .item_list .item_list_actions {
    padding-left: 0;
    flex-direction: row;
    width: 100%;
    margin-top: 32px;
    border: none;
  }

  #study_learn_section .item_list .item_list_actions a {
    min-width: auto;
    flex: 1 1 auto;
  }
  
  .survey_popup .popup_close_btn{
  	display: block;
  }
}

@media screen and (max-width: 430px) {}



/* =========== 공지사항 ===========*/
.board .list_controls .search_input_group {
  justify-content: space-between;
  min-width: 300px;
}

.board .list_controls .search_input_group input {
  flex: 1;
}

.board .search_input_group .search_btn {
  background-color: unset;
  position: relative;
  /* aspect-ratio: 1/1; */
}

.board .search_input_group .search_btn img {
  width: 18px;
  object-fit: cover;
}

.board_table_card,
.board_table {
  width: 100%;
  border-top: 1px solid #333;
  font-family: 'SCDream4';
}

.board_table_row {
  display: grid;
  grid-template-columns: 1fr 5fr 1fr 1.5fr;
  align-items: center;
}

.board_table_row.header .board_table_cell {
  height: 56px;
  font-family: 'SCDream5';
  background-color: #fafafa;
  font-size: 0.875rem;
}

.board_table_row .board_table_cell {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5px;
  border-bottom: 1px solid #d3d3d3;
}

.board_table_row.body .board_table_cell.tag span {
  padding: 4px 0;
  width: 56px;
  border-radius: 64px;
  background-color: #3b5bdb;
  color: #fff;
  font-size: 0.875rem;
}

.board_table_row.body .board_table_cell.category {
  font-size: 0.875rem;
  color: #54a3ff;
}

.board_table_row.body .board_table_cell.title {
  text-align: left;
  justify-content: flex-start;
  overflow: hidden;
}

.board_table_row.body .board_table_cell.title a {
  width: 100%;
  min-width: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board_table_row.body .board_table_cell.file button {
  display: block;
}

.board_table_row.body .board_table_cell.file img {
  width: 20px;
  object-fit: cover;
}

.board_table_row.body .board_table_cell.date {
  font-size: 0.875rem;
  color: #999;
}

.board_pagination {
  margin: 48px 0 16px;
  font-family: 'SCDream4';
}

.board_pagination .pagination_list {
  display: flex;
  gap: 8px;
}

.board_pagination .pagination_list li {
  min-width: 40px;
  color: #aaa;
}

.pagination_list .pagination_link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

.pagination_list .pagination_link.active {
  font-family: 'SCDream5';
  text-decoration: underline;
  border: none;
  color: #3b5bdb;
}

.pagination_list .pagination_link:not(.active):not(.prev):not(.next):hover,
.pagination_list .pagination_link:not(.active):not(.prev):not(.next):focus-visible {
  font-family: 'SCDream5';
  text-decoration: underline;
  outline: none;
  color: #555;
}

.pagination_list .pagination_link.prev,
.pagination_list .pagination_link.next {
  width: 44px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: #f3f3f3;
  margin: 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination_list .pagination_link.prev:hover,
.pagination_list .pagination_link.prev:focus-visible,
.pagination_list .pagination_link.next:hover,
.pagination_list .pagination_link.next:focus-visible {
  background-color: #dedede;
}

.pagination_list .pagination_link.prev svg,
.pagination_list .pagination_link.next svg {
  height: 16px;
  color: #555;
}

.pagination_list .pagination_link.prev svg {
  transform: rotate(-180deg);
  margin-right: 2px;
}

.pagination_list .pagination_link.next svg {
  margin-left: 2px;
}

.board .write_btn {
  min-width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}



/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
  .board_table_row {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #d3d3d3;
    padding: 32px 8px;
  }

  .board_table_row.header {
    display: none;
  }

  .board_table_row .board_table_cell {
    height: auto;
    border: none;
    justify-content: flex-start;
  }

  .board_table_row.body .board_table_cell.file {
    display: none;
  }

  .board_table_row.body .board_table_cell.no {
    order: 1;
    min-width: 80px;
    justify-content: center;
  }

  .board_table_row.body .board_table_cell.category {
    order: 2;
  }

  .board_table_row.body .board_table_cell.date {
    order: 3;
    /* margin-left: auto; */
  }

  .board_table_row.body .board_table_cell.title {
    width: calc(100% - 80px);
    order: 4;
    margin-top: 20px;
  }

  .board_table_row.body .board_table_cell.title a {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .board_pagination {
    margin: 32px 0;
  }
}

@media screen and (max-width: 768px) {
  .board .list_controls .search_input_group {
    min-width: auto;
  }
}

@media screen and (max-width: 430px) {
  .board_table_row.body .board_table_cell.no {
    min-width: 64px;
  }

  .board_table_row.body .board_table_cell.title {
    width: 90%;
  }

  .board .write_btn {
    width: 90%;
    margin: 16px auto 0;
  }
}



/* =========== 시군구 게시판 ===========*/
#local_notice_section .board_table_row {
  grid-template-columns: 1fr 1.5fr 5fr 1fr 1.5fr;
}


/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
  #local_notice_section .board_table_row.body .board_table_cell.date {
    margin-left: auto;
  }
}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 430px) {}



/* =========== 게시글 ===========*/
.notice_view {
  width: 100%;
  border-top: 2px solid #333;
  border-bottom: 1px solid #d3d3d3;
}

.notice_view .notice_header {
  padding: 32px 0;
  border-bottom: 1px solid #d3d3d3;
}

.notice_view .notice_title {
  font-size: 1.5rem;
  font-family: 'SCDream5';
}

.notice_header .notice_meta {
  display: flex;
  gap: 32px;
  margin-top: 20px;
  color: #555;
}

.notice_header .notice_meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice_header .notice_meta li span {
  font-family: 'SCDream5';
}

.notice_header .notice_meta li img {
  height: 16px;
  object-fit: contain;
}

.notice_view .notice_attachments {
  width: 100%;
  padding: 20px 32px;
  margin: 32px 0;
  border-radius: 16px;
  background-color: #f3f3f3;
  font-size: 0.875rem;
  font-family: 'SCDream5';
}

.notice_view .notice_attachments ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notice_view .notice_file_link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice_view .notice_file_link img {
  height: 20px;
  object-fit: cover;
}

.notice_view .notice_body {
  padding: 32px 0;
}

.notice_view_navigation {
  width: 100%;
  margin: 32px 0 64px;
}

.notice_view_navigation .notice_nav_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notice_view_navigation .notice_nav_list li {
  width: 100%;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #f3f3f3;
  font-size: 0.875rem;
  font-family: 'SCDream4';
  transition: all .3s ease-in;
}

.notice_view_navigation .notice_nav_list li a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.notice_view_navigation .notice_nav_list li span:not(.nav_label) {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  width: calc(80% - 100px);
}

.notice_view_navigation .notice_nav_list li:hover,
.notice_view_navigation .notice_nav_list li:focus-within {
  background-color: #d3d3d3;
}

.notice_view_navigation .nav_label {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b5bdb;
  font-family: 'SCDream5';
  position: relative;
}

.notice_view_navigation .nav_label::after {
  content: '';
  width: 1px;
  height: 100%;
  background-color: #ccc;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.notice_view_footer{
	display:flex;
	gap: 8px;	
}

.notice_view_footer .btn {
  min-width: 120px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
  .notice_view .notice_attachments ul li span {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 430px) {
  .notice_header .notice_meta {
    gap: 16px;
    font-size: 0.875rem;
    flex-wrap: wrap;
  }
  
	.notice_view_footer{
		width:100%;
	}
	
	.notice_view_footer .btn {
	  flex:1;
	  min-width:auto;
	}
}



/* =========== 게시글 ===========*/
#notice_write_form {
  width: 100%;
}

#notice_write_form fieldset {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#notice_write_form .form_group {
  display: flex;
  align-items: center;
  position: relative;
}

#notice_write_form .form_group .form_label {
  width: 120px;
}

#notice_write_form .form_group .checkbox_group {
  display:flex;
  align-items:center;
}

#notice_write_form .editor_group {
  align-items: flex-start;
}

#notice_write_form .editor_group .form_label {
  padding-top: 8px;
}

#notice_write_form .form_group select,
#notice_write_form .form_group input[type="text"] {
  width: calc(100% - 120px);
}

#notice_write_form #editor_wrap {
  width: calc(100% - 120px);
}

#notice_write_form #editor {
  min-height: 300px;
  max-height: 500px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0 0 8px 8px;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

#editor_wrap .toastui-editor-defaultUI-toolbar{
  /* flex-wrap: wrap !important; */
  white-space: normal !important;
  /* gap: 0.5rem; */
  justify-content: flex-start;
  box-sizing: border-box;
  /* height:auto; */
}

#editor_wrap .toastui-editor-toolbar-group {
  flex-wrap: wrap !important;
}

#editor_wrap .toastui-editor-dropdown-toolbar{
	height:auto;
}

#editor_wrap .toastui-editor-toolbar button {
  flex-shrink: 0;
  max-width: 100%;
}

/*
#editor_wrap #toolbar {
  border-radius: 8px 8px 0 0;
}

.ql-editor strong{
    font-weight:bold;
}
.ql-editor em {
  font-style: italic;
}
*/


#notice_write_form .file_uploader {
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid #f3f3f3;
  border-bottom: 1px solid #f3f3f3;
  margin-top: 32px;
}

#notice_write_form .file_uploader .form_label {
  padding-top: 8px;
}

#notice_write_form .custom_file_wrap {
  width: calc(100% - 120px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom_file_controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.custom_file_controls .custom_file_label {
  width: 120px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: #555;
  color: #fff;
}

.custom_file_controls .hint {
  font-size: 0.875rem;
  color: #999;
}

#fileNameDisplay ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#fileNameDisplay ul li {
  width: 100%;
  padding: 16px 20px;
  border-radius: 8px;
  background-color: #fafafa;
  display: flex;
  justify-content: space-between;
}


.custom_file_wrap input[type="file"] {
  display: none;
}


#notice_write_form .write_btn {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 64px;
}

#notice_write_form .write_btn .btn {
  width: 120px;
}



/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
  #notice_write_form fieldset {
    gap: 20px;
  }

  #notice_write_form .form_group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  #notice_write_form #editor_wrap{
	  width:100%;
  }

  #notice_write_form .form_group select,
  #notice_write_form .form_group input[type="text"],
  #notice_write_form #editor,
  #notice_write_form .custom_file_wrap {
    width: 100%;
  }

  #notice_write_form .form_group .form_label {
    padding-left: 8px;
  }

  #notice_write_form #editor {
    min-height: 200px;
    max-height: 300px;
  }

  #notice_write_form .file_uploader .form_label {
    display: none;
  }

  .custom_file_controls .custom_file_label {
    width: 100%;
  }

  .custom_file_controls {
    flex-direction: column;
    margin-bottom: 16px;
  }

  #notice_write_form .write_btn {
    margin-top: 50px;
  }

}

@media screen and (max-width: 768px) {}


@media screen and (max-width: 480px) {
	#editor_wrap .toastui-editor-popup{
		margin-left: 0;
	}
}

@media screen and (max-width: 430px) {
  #notice_write_form .write_btn .btn {
    width: auto;
    flex:1;
  }
 /*
  #notice_write_form .write_btn {
    flex-direction: column;
  }

  #notice_write_form .write_btn .btn {
    width: 100%;
  }
  */
}



/* =========== 테이블 게시판 ===========*/
.table_container{
  width: 100%;
  overflow-x: auto;
}
.board_table{
  text-align: center;
}
.board_table thead th{
  height: 56px;
  font-family: 'SCDream5';
  font-size: 0.875rem;
  vertical-align: middle;
  border-bottom: 1px solid #d3d3d3;
  background-color: #fafafa;
}
.board_table tbody td{
  height: 64px;
  vertical-align: middle;
  border-bottom: 1px solid #d3d3d3;
}
.board_table th,
.board_table td{
  padding: 0 2px;
}

/* .contact_info_table{
  min-width: 360px;
} */
.contact_info_table th:not(:last-child),
.contact_info_table td:not(:last-child){
  border-right: 1px solid #d3d3d3;
}


/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
}

@media screen and (max-width: 768px) {
  .board_table{
    overflow-x: auto;
  }

  .contact_info_table .col_num{
    display: none;
  }
}

@media screen and (max-width: 430px) {}



/* =========== privacy ===========*/
.privacy_block {
  margin-bottom: 50px;
}
.privacy_title{
  font-size: 1.125rem;
  font-family: 'SCDream5';
  margin-bottom: 10px;
}
.privacy_block .privacy_text{
  margin-bottom: 10px;
}
/* 2025.09.24 */
.privacy_text{
  width:100%;
}
.privacy_text,
.privacy_list,
.dep1_list {
  word-break: keep-all;
  color: #555;
  font-size: 15px;
  font-family: 'SCDream3';
  line-height: 1.6;
}
.privacy_list > li,
.dep1_list > li{
  padding-left: 24px;
  padding-bottom:10px;
  position: relative;
  font-size: 0.937rem;
}
.privacy_list > li:last-child,
.dep1_list > li:last-child{
  padding-bottom:0;
}
.privacy_list > li::before{
  position: absolute;
  top: 8px;
  left: 10px;
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #555;
}
/* 공통 스타일 */
.numbered-list-lv1,
.numbered-list-lv2 {
  list-style: none;
  /* padding-left: 25px;  */
  position: relative;
}

/* li 공통 스타일 */
.numbered-list-lv1 > li,
.numbered-list-lv2 > li {
  position: relative;
  padding-left: 25px; 
  padding-bottom:5px;
}

.numbered-list-lv1 > li::before,
.numbered-list-lv2 > li::before {
  position: absolute;
  top: 0;
  left: 0;
}

/* lv1 */
.numbered-list-lv1 {
  counter-reset: level1;
}

.numbered-list-lv1 > li::before {
  content: counter(level1) ". ";
  counter-increment: level1;
}

/* lv2 */
.numbered-list-lv2 {
  counter-reset: level2;
}

.numbered-list-lv2 > li::before {
  content: counter(level2) ") ";
  counter-increment: level2;
}



.container_box{
  width: 100%;
  padding: 24px 20px;
  border-radius: 16px;
  background-color: #fafafa;
}

.privacy_block .table{
	width: 100%;
	border-top:1px solid #333;
}
.privacy_block .table th{
	background-color: #f3f3f3;
}
.privacy_block .table th, .privacy_block .table td{
	text-align: center;
	padding:10px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
.privacy_block .table td{
	background-color: #fff;
}
.privacy_block .table th:last-child, .privacy_block .table td:last-child{
	border-right: none;
}


/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
}

@media screen and (max-width: 768px) {
  .container_box{
    padding: 20px 16px;
  }
}

@media screen and (max-width: 430px) {}



/* =========== terms ===========*/
.section_title {
  align-self: flex-start;
  font-size: 1.5rem;
  font-family: 'SCDream6';
  margin-bottom: 32px;
}

/* ---------- responsive ---------- */
@media screen and (max-width: 960px) {
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 430px) {}