/*
 * portal/company 스타일 (PC) — itemmania useyak 등 참조
 */
.portal_company_wrap {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  align-items: flex-start;
}

.portal_company_aside {
  flex-shrink: 0;
  width: 230px;
}

/* itemmania portal/company 좌측: 흰 카드 · 둥근 모서리 · 상단 제목+구분선 · 메뉴는 일반 굵기 */
.portal_company_aside .aside_box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px 18px 22px;
  box-sizing: border-box;
}

.portal_company_aside .nav_subject {
  margin: 0 0 14px;
  padding: 0 0 14px 10px;
  border-bottom: 1px solid #e5e5e5;
  background: transparent;
}

.portal_company_aside .nav_subject .a_img {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #111;
  text-decoration: none;
  line-height: 1.4;
}

.portal_company_aside .nav_subject .a_img:hover {
  color: #111;
}

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

.portal_company_aside .nav_title {
  margin: 0;
  padding: 0 0 0 10px;
  border: none;
}

.portal_company_aside .nav_title a {
  display: block;
  padding: 10px 0 0 10px;
  font-size: 16px;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  line-height: 1.45;
}

.portal_company_aside .nav_title a:hover {
  background: transparent;
  color: #111;
  text-decoration: underline;
}

.portal_company_aside .nav_title.is-current a {
  font-weight: 600;
  color: #111;
  background: transparent;
  text-decoration: none;
}

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

.portal_company_main .g_title_blue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 0;
  padding: 16px 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #2e2e2e;
  border-bottom: 2px solid #159efd;
}

.portal_company_main .g_path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 400;
  color: #868686;
}

.portal_company_main .g_path li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.portal_company_main .g_path li:not(:last-child)::after {
  content: ">";
  color: #ccc;
  font-size: 11px;
}

.portal_company_main .g_path a {
  color: inherit;
  text-decoration: none;
}

.portal_company_main .g_path a:hover {
  color: #159efd;
  text-decoration: underline;
}

.portal_company_hero.title_img.top_box {
  margin: 20px 0 24px;
  padding: 20px 22px;
  border: 1px solid #e1e1e1;
  background: linear-gradient(180deg, #fafbfc 0%, #f5f7f8 100%);
}

.portal_company_hero .s_title p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.portal_company_hero .s_title p:first-child {
  margin-bottom: 10px;
  font-size: 16px;
}

.portal_company_hero .ft_orange {
  color: #ff6b00;
  font-weight: 700;
}

.portal_sub_tab.sub_tab {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #ddd;
}

.portal_sub_tab.sub_tab li {
  margin: 0;
}

.portal_sub_tab.sub_tab a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.portal_sub_tab.sub_tab a:hover {
  color: #222;
  background: #fafafa;
}

.portal_sub_tab.sub_tab a.on {
  color: #159efd;
  font-weight: 700;
  border-bottom-color: #159efd;
}

.portal_yak_version_before.before {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #e1e1e1;
  background: #fafafa;
  font-size: 13px;
  color: #555;
}

.portal_yak_version_before .portal_yak_version_current {
  margin: 0;
}

.portal_yak_panel,
.portal_policy_panel {
  background-color: #fafafa;
  padding: 25px;
  line-height: 22px;
  font-size: 14px;
  color: #333;
}

.portal_yak_panel .f_blue3,
.portal_policy_panel .f_blue3 {
  color: #159efd;
}

.portal_yak_panel .f_bold,
.portal_policy_panel .f_bold {
  font-weight: 700;
  color: #222;
}

.portal_yak_panel .g_gray_table.tb_list {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 12px 0;
}

.portal_yak_panel .g_gray_table.tb_list th,
.portal_yak_panel .g_gray_table.tb_list td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}

.portal_yak_panel .g_gray_table.tb_list th {
  background: #eee;
  font-weight: 600;
}

.portal_company_main .g_finish {
  clear: both;
  height: 24px;
}

/* 개인정보 처리방침 — 목차 2열 그리드 (표 형태) */
.privacy_toc {
  margin-bottom: 24px;
  padding: 18px 16px 20px;
  background: #fafafa;
  border-radius: 6px;
}

.privacy_toc_title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.privacy_toc_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ddd;
  background: #fafafa;
  overflow: hidden;
}

.privacy_toc_cell {
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  color: #222;
  text-align: left;
  background: #fafafa;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.privacy_toc_cell:nth-child(2n) {
  border-right: none;
}

.privacy_toc_cell:nth-last-child(-n + 2) {
  border-bottom: none;
}

.privacy_toc_cell--empty {
  min-height: 48px;
}

@media (max-width: 640px) {
  .privacy_toc_grid {
    grid-template-columns: 1fr;
  }

  .privacy_toc_cell {
    border-right: none;
  }

  .privacy_toc_cell:nth-child(2n) {
    border-right: none;
  }

  .privacy_toc_cell:nth-last-child(-n + 2) {
    border-bottom: 1px solid #ddd;
  }

  .privacy_toc_cell--empty {
    display: none;
  }

  .privacy_toc_cell:nth-child(11) {
    border-bottom: none;
  }
}

@media (max-width: 900px) {
  .portal_company_wrap {
    flex-direction: column;
  }

  .portal_company_aside {
    width: 100%;
    max-width: 100%;
  }

  .portal_company_aside .aside_box {
    max-width: 400px;
  }
}
