/* AiNex 사이버연수원 — 학습지원 boards (notice, faq, ask, edudata, remote + views), redesigned in design step 3.
   Shell: include/design/public_legacy_start.php — the 연수원 page head (.yw-ph), a tab row (.yw-tabs) and the board
   head; the legacy page body sits in .sp-legacy and keeps its own markup and scripts. Tokens only, radius 4/6, no shadows. */

.yw-board {
  --hc-ink: var(--ink);
  --hc-accent: var(--p);
}
.yw-board .yw-tabs { margin: 28px 0 0; }
.yw-board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px 0 20px; }
.yw-board-head h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.4px; }
.yw-board-head p { margin: 0; font-size: 14px; color: var(--mute); }
.yw-board-search { display: flex; gap: 6px; }
.yw-board-search input { width: 260px; height: 40px; padding: 0 12px; border: 1px solid #c9d0d9; border-radius: 4px; font: inherit; font-size: 14px; }
.yw-board-search input:focus { border-color: var(--p); outline: 2px solid var(--a); outline-offset: 1px; }
.yw-board-body { padding: 0 0 64px; }
.hc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 599px) {
  .yw-board-head { padding: 20px 0 16px; }
  .yw-board-head h2 { font-size: 20px; }
  .yw-board-search { width: 100%; }
  .yw-board-search input { flex: 1; width: auto; height: 44px; }
}

/* ================= legacy body: shared ================= */
.sp-legacy .top_section,
.sp-legacy .notice-board-head h3,
.sp-legacy .support_content > #wrap > h2 {
  display: none;
}

.sp-legacy .support_content #wrap,
.sp-legacy #wrap {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.sp-legacy form[name="listScriptForm"] {
  display: none;
}

.sp-legacy .count {
  margin: 0;
  color: var(--mute);
  font-size: 13.5px;
  font-weight: 600;
}

.sp-legacy .count span {
  color: var(--hc-accent);
  font-weight: 800;
}

.sp-legacy p.hc-empty,
.sp-legacy td.hc-empty {
  margin: 0;
  padding: 48px 16px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--mute);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.sp-legacy p.hc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sp-legacy .hc-empty i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--hc-accent);
  font-size: 26px;
}

.sp-legacy td.hc-empty i {
  margin: 0 auto 10px;
}

/* filter bar: segmented categories + search */
.sp-legacy .notice-board-head {
  margin: 0 0 18px;
}

.sp-legacy .course-list-actions,
.sp-legacy .notice-actions,
.sp-legacy .edudata_top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: none;
}

.sp-legacy .course-list-categories,
.sp-legacy .category ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border-radius: 6px;
  background: #f2f4f7;
}

.sp-legacy .course-list-categories a,
.sp-legacy .category a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--mute);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.sp-legacy .course-list-categories a:hover,
.sp-legacy .category a:hover {
  color: var(--hc-ink);
}

.sp-legacy .course-list-categories li.on a,
.sp-legacy .category li.on a {
  background: #fff;
  color: var(--hc-ink);
  box-shadow: none;
}

.sp-legacy .category {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.sp-legacy .category li {
  padding: 0;
  border: 0;
}

.sp-legacy .category li.on {
  border: 0;
  color: inherit;
}

.sp-legacy .course-list-search,
.sp-legacy .edudata_top .search_box {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 260px;
  height: 46px;
  margin-left: auto;
  padding: 0 4px 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sp-legacy .course-list-search:focus-within,
.sp-legacy .edudata_top .search_box:focus-within {
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 4px rgba(13,63,118,0.12);
}

.sp-legacy .course-list-search input,
.sp-legacy .edudata_top .search_box input {
  flex: 1;
  min-width: 0;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 14.5px;
}

.sp-legacy .course-list-search input:focus,
.sp-legacy .edudata_top .search_box input:focus {
  outline: none;
}

.sp-legacy .course-list-search button,
.sp-legacy .edudata_top .search_box .search_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
}

.sp-legacy .course-list-search button:hover,
.sp-legacy .edudata_top .search_box .search_btn:hover {
  background: var(--surface);
  color: var(--hc-accent);
}

.sp-legacy .edudata_top {
  margin: 0 0 16px;
}

/* ================= notices: list rows that expand in place ================= */
.sp-legacy .notice-table {
  border: 0;
}

.sp-legacy .notice-table-head {
  display: none;
}

.sp-legacy .notice-table-body {
  border-top: 2px solid var(--hc-ink);
}

.sp-legacy .notice-row {
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #eef0f4;
  border-radius: 0;
  background: #fff;
}

.sp-legacy .notice-row-summary {
  display: grid;
  grid-template-columns: 52px auto minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 0;
  padding: 20px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sp-legacy .notice-col-no {
  display: block;
  color: var(--mute);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.sp-legacy .notice-row-summary:hover {
  background: #f8faff;
}

.sp-legacy .notice-row-summary:hover .notice-col-title {
  color: var(--hc-accent);
}

.sp-legacy .notice-row-summary:focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: -2px;
}

.sp-legacy .notice-col-title {
  overflow: hidden;
  color: var(--hc-ink);
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.sp-legacy .notice-col-date {
  color: var(--mute);
  font-size: 13.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.sp-legacy .notice-col-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f4f7;
  color: var(--mute);
  transition: background 0.15s ease, color 0.15s ease, transform 0.25s ease;
}

.sp-legacy .notice-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--hc-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.sp-legacy .notice-badge.general {
  background: #f2f4f7;
  color: var(--text);
}

.sp-legacy .notice-row:has(.notice-badge.notice) {
  background: #fafbff;
}

.sp-legacy .notice-row.is-open .notice-row-summary {
  background: #f5f7ff;
}

.sp-legacy .notice-row.is-open .notice-col-title {
  color: var(--hc-accent);
}

.sp-legacy .notice-row.is-open .notice-col-toggle {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy .notice-row-detail-inner {
  padding: 8px 32px 28px 76px;
  background: #f5f7ff;
  color: #344054;
  font-size: 15px;
  line-height: 1.8;
}

.sp-legacy .notice-attachments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
}

.sp-legacy .notice-attachments strong {
  color: #344054;
}

.sp-legacy .notice-attachments a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--hc-accent);
  font-weight: 600;
}

/* ================= faq: Q / A accordion ================= */
.sp-legacy .faq-list {
  display: grid;
  gap: 10px;
}

.sp-legacy .faq-card {
  overflow: hidden;
  border: 1px solid #e3e7ec;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-legacy .faq-card:hover {
  border-color: #c9d6ff;
}

.sp-legacy .faq-card-question {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}

.sp-legacy .faq-card-question:focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: -2px;
}

.sp-legacy .faq-card-q {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--hc-accent);
  font-size: 14px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.sp-legacy .faq-card-title {
  flex: 1;
}

.sp-legacy .faq-card-toggle {
  color: var(--mute);
  transition: transform 0.25s ease;
}

.sp-legacy .faq-card.is-open {
  border-color: #c9d6ff;
  box-shadow: none;
}

.sp-legacy .faq-card.is-open .faq-card-question {
  background: transparent;
}

.sp-legacy .faq-card.is-open .faq-card-q {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy .faq-card-answer-inner {
  position: relative;
  margin: 0 20px 20px;
  padding: 18px 20px 18px 56px;
  border-radius: 6px;
  background: #f5f7fc;
  color: #344054;
  font-size: 15px;
  line-height: 1.8;
}

.sp-legacy .faq-card-answer-inner::before {
  content: "A";
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #12b76a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

/* ================= pagination ================= */
.sp-legacy .course-list-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 28px 0 0;
}

.sp-legacy .course-list-pagination a,
.sp-legacy .course-list-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.sp-legacy .course-list-pagination a:hover {
  background: #f2f4f7;
}

.sp-legacy .course-list-pagination .on {
  background: var(--p);
  color: #fff;
}

/* ================= tables: 1:1 문의 list, 학습자료실 ================= */
.sp-legacy .support_content > #wrap > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 0 18px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: var(--p);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sp-legacy .support_content > #wrap > button:hover {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy .support_content > #wrap > .count {
  margin-bottom: 10px;
}

.sp-legacy .tableTypeA {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-top: 2px solid var(--hc-ink);
  border-radius: 0;
}

.sp-legacy .tableTypeA table {
  width: 100%;
  border-collapse: collapse;
}

.sp-legacy .tableTypeA th {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
}

.sp-legacy .tableTypeA td {
  padding: 18px 12px;
  border-bottom: 1px solid #eef0f4;
  color: var(--text);
  font-size: 14.5px;
}

.sp-legacy .tableTypeA tbody tr {
  transition: background 0.15s ease;
}

.sp-legacy .tableTypeA tbody tr:hover {
  background: #f8faff;
}

.sp-legacy td.al {
  color: var(--hc-ink);
  font-weight: 650;
  text-align: left;
}

.sp-legacy td.al a {
  color: inherit;
  text-decoration: none;
}

.sp-legacy td.al a:hover {
  color: var(--hc-accent);
}

.sp-legacy td.fcred {
  color: var(--hc-accent);
  font-style: normal;
  font-weight: 700;
}

.sp-legacy .edudata_content .tableTypeA img.download,
.sp-legacy .tableTypeA img.download_view {
  width: 16px;
  height: auto;
  margin-right: 6px;
  vertical-align: middle;
}

/* ================= article views (notice / ask / edudata) ================= */
.sp-legacy .tableTypeA_top {
  padding-bottom: 20px;
  border-bottom: 1px solid #eef0f4;
}

.sp-legacy .tableTypeA_top .title {
  color: var(--hc-ink);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.4;
  word-break: keep-all;
}

.sp-legacy .tableTypeA_top .fcskyblue,
.sp-legacy .fcskyblue {
  display: inline-block;
  margin-right: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--hc-accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  vertical-align: 5px;
}

.sp-legacy .tableTypeA_top .fcskyblue:empty {
  display: none;
}

.sp-legacy .tableTypeA_top .detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
  color: var(--mute);
  font-size: 13.5px;
}

.sp-legacy .tableTypeA_top .detail span {
  margin-right: 6px;
  color: var(--mute);
  font-weight: 600;
}

.sp-legacy .tableTypeA_top .bar {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.sp-legacy .tableTypeA_top + .tableTypeA {
  border-top: 0;
}

.sp-legacy .tableTypeA_top + .tableTypeA tbody tr:hover {
  background: transparent;
}

.sp-legacy .tableTypeA_top + .tableTypeA th {
  width: 160px;
  background: transparent;
  text-align: left;
}

.sp-legacy td.content,
.sp-legacy .tableTypeA td.content {
  padding: 28px 4px 32px;
  border-bottom: 1px solid #eef0f4;
  background: transparent;
  color: #344054;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
}

.sp-legacy .comment {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  margin-top: 20px;
  padding: 22px;
  border-radius: 6px;
  background: #f5f7ff;
}

.sp-legacy .comment .left span {
  display: inline-grid;
  place-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--hc-accent);
  color: #fff;
  font-weight: 800;
}

.sp-legacy .comment .right b {
  display: block;
  margin-bottom: 4px;
}

.sp-legacy .comment .right span {
  display: block;
  margin-bottom: 8px;
  color: var(--mute);
  font-size: 13px;
}

.sp-legacy .comment .right p {
  line-height: 1.8;
}

.sp-legacy .button_wrap,
.sp-legacy .submit_btn,
.sp-legacy .btn_wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.sp-legacy .button_wrap button,
.sp-legacy .edudata_content .button_wrap button {
  min-height: 48px;
  min-width: 120px;
  padding: 0 22px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  color: var(--hc-ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sp-legacy .button_wrap button:hover {
  border-color: var(--p);
}

.sp-legacy .button_wrap .btn_01,
.sp-legacy .edudata_content .button_wrap .btn_01 {
  border-color: var(--p);
  background: var(--p);
  color: #fff;
}

.sp-legacy .button_wrap .btn_01:hover {
  border-color: var(--hc-accent);
  background: var(--hc-accent);
}

/* ================= remote support ================= */
.sp-legacy .remote_wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  border-radius: 6px;
  background: var(--surface);
}

.sp-legacy .remote_wrap strong {
  display: block;
  margin-bottom: 14px;
  color: var(--hc-ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.35;
  word-break: keep-all;
}

.sp-legacy .remote_wrap span {
  display: block;
  margin-bottom: 24px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.75;
  word-break: keep-all;
}

.sp-legacy .remote_wrap button {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--p);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease;
}

.sp-legacy .remote_wrap button:hover {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy .remote_wrap img {
  width: 100%;
  border-radius: 6px;
}

/* ================= enterprise consult form ================= */
.sp-legacy .af-narrow,
.sp-legacy .hc-consult {
  max-width: none;
  margin: 0;
}

.sp-legacy .hc-consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
}

.sp-legacy .hc-span {
  grid-column: 1 / -1;
}

.sp-legacy .af-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.sp-legacy .af-label {
  color: #344054;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sp-legacy .af-requiredMark {
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--hc-accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.sp-legacy .af-form .af-input,
.sp-legacy .hc-consult .af-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d9dee6;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  color: var(--hc-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sp-legacy .hc-consult .af-input:hover {
  border-color: #c4cad4;
}

.sp-legacy .hc-consult select.af-input {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-position: right 14px center;
  background-repeat: no-repeat;
}

.sp-legacy .af-form textarea.af-input,
.sp-legacy .hc-consult textarea.af-input {
  min-height: 160px;
  line-height: 1.6;
  resize: vertical;
}

.sp-legacy .af-form .af-input:focus,
.sp-legacy .hc-consult .af-input:focus {
  outline: none;
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 4px rgba(13,63,118,0.14);
}

.sp-legacy .af-checkRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 6px;
  background: #f5f7fc;
}

.sp-legacy .af-checkRow input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--hc-accent);
}

.sp-legacy .af-checkRow label {
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.sp-legacy .af-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
}

.sp-legacy button.af-submit,
.sp-legacy a.af-submit {
  min-width: 160px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--p);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.15s ease;
}

.sp-legacy button.af-submit:hover,
.sp-legacy a.af-submit:hover {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy a.af-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  color: var(--hc-ink);
  font-weight: 700;
  text-decoration: none;
}

.sp-legacy .af-checkRow a,
.sp-legacy .af-notice a {
  color: var(--hc-accent);
  font-weight: 800;
  text-decoration: none;
}

.sp-legacy .af-checkRow a:hover,
.sp-legacy .af-notice a:hover {
  text-decoration: underline;
}

.sp-legacy .af-notice,
.sp-legacy .af-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 18px;
  border-radius: 6px;
  line-height: 1.65;
}

.sp-legacy .af-notice {
  background: #f5f7fc;
  color: var(--hc-ink);
}

.sp-legacy .af-error {
  background: #fff4f0;
  color: #c2410c;
}

/* ================= 1:1 inquiry modal + completion dialog ================= */
#modal01.modal-wrap2 {
  width: min(560px, calc(100vw - 28px));
  max-height: min(86vh, 780px);
  padding: 30px 26px 24px;
  overflow: auto;
  border-radius: 6px;
  box-shadow: none;
}

#modal01 h2 {
  margin: 0 36px 6px 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

#modal01 .close-btn {
  top: 16px;
  right: 18px;
}

#modal01 .input_wrap {
  margin-top: 16px;
}

#modal01 .title {
  margin: 0 0 6px;
  color: #344054;
  font-size: 13.5px;
  font-weight: 700;
}

#modal01 select,
#modal01 .input-title,
#modal01 .input-content {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9dee6;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

#modal01 select:focus,
#modal01 .input-title:focus,
#modal01 .input-content:focus {
  outline: none;
  border-color: var(--p);
  box-shadow: 0 0 0 4px rgba(13,63,118,0.14);
}

#modal01 .input-content {
  min-height: 150px;
  resize: vertical;
}

#modal01 .captcha_box {
  display: grid;
  gap: 8px;
}

#modal01 .captcha img {
  height: 48px;
  border-radius: 6px;
}

#modal01 .submit_btn {
  margin-top: 20px;
  text-align: right;
}

#modal01 .submit_btn button {
  min-width: 128px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

#modal01 .submit_btn button:hover {
  background: var(--p);
}

#modal02.modal-wrap {
  width: min(480px, calc(100vw - 28px));
  padding: 38px 28px 28px;
  border-radius: 6px;
  box-shadow: none;
  text-align: center;
}

#modal02 .close-btn {
  top: 16px;
  right: 18px;
}

#modal02 .complete_inner i {
  color: var(--p);
  font-size: 52px;
}

#modal02 .complete_inner strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 22px;
  font-weight: 800;
}

#modal02 .complete_inner p {
  color: var(--text);
  line-height: 1.6;
}

#modal02 .btn {
  margin-top: 22px;
}

#modal02 .btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* ================= responsive ================= */
@media (max-width: 1023px) {
  .sp-legacy .course-list-search,
  .sp-legacy .edudata_top .search_box {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .sp-legacy .notice-row-summary {
    grid-template-columns: auto minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 16px 4px;
    font-size: 15px;
  }

  .sp-legacy .notice-col-no,
  .sp-legacy .notice-col-date {
    display: none;
  }

  .sp-legacy .notice-row-detail-inner {
    padding: 4px 14px 20px;
  }

  .sp-legacy .faq-card-question {
    padding: 16px;
    font-size: 15px;
  }

  .sp-legacy .faq-card-answer-inner {
    margin: 0 12px 14px;
  }

  .sp-legacy .hc-consult {
    grid-template-columns: 1fr;
  }

  .sp-legacy .af-actions {
    justify-content: stretch;
  }

  .sp-legacy button.af-submit,
  .sp-legacy a.af-submit {
    width: 100%;
  }

  .sp-legacy .remote_wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
  }

  .sp-legacy .remote_wrap strong {
    font-size: 22px;
  }

  .sp-legacy .tableTypeA_top .title {
    font-size: 21px;
  }

  .sp-legacy .comment {
    grid-template-columns: 1fr;
  }

  .sp-legacy .tableTypeA .mh,
  .sp-legacy .edudata_content .tableTypeA .mh {
    display: none;
  }
}
