.service-navigation {
  display: grid;
  gap: 2px;
  margin: 0 0 4px 23px;
  padding-left: 8px;
  border-left: 1px solid #e5ebf1;
}

.service-navigation-item {
  display: block;
  padding: 6px;
  border-radius: 4px;
  color: #657080;
  font-size: 12px;
  line-height: 18px;
  text-decoration: none;
}

.service-navigation-item:hover,
.service-navigation-item[aria-current="location"] {
  color: #315b88;
  background: #edf3fa;
}

.services-page {
  flex: 1;
  min-height: 0;
  padding-right: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.services-section {
  margin-bottom: 20px;
  padding: 22px 24px;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 16px;
}

.services-section:last-child { margin-bottom: 0; }
.services-section:focus { outline: none; }
.services-section h2 { margin: 0 0 18px; font-size: 17px; font-weight: 600; line-height: 26px; }

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  align-items: start;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid #edf0f4;
}

.service-row:first-child { padding-top: 0; }
.service-row:last-child { padding-bottom: 0; border-bottom: 0; }
.service-copy { min-width: 0; }
.service-copy h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 26px; }
.service-copy p { margin: 8px 0 0; color: #657080; font-size: 14px; line-height: 1.8; }
.service-copy .service-condition { margin-top: 8px; }

.service-case {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 22px;
}

.service-case-label { flex-shrink: 0; min-width: 52px; color: #87909c; }
.service-case a, .social-account-link { color: #537fac; text-decoration: none; overflow-wrap: anywhere; }
.service-case a:hover, .social-account-link:hover { color: #315b88; text-decoration: underline; text-underline-offset: 3px; }
.service-link-arrow { margin-left: 6px; color: #8ba1b7; white-space: nowrap; }
.wechat-qr-trigger { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.wechat-qr-preview {
  position: fixed;
  z-index: 100;
  width: 244px;
  max-width: calc(100vw - 24px);
  padding: 14px;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(31 50 74 / 14%);
}
.wechat-qr-preview[hidden] { display: none; }
.wechat-qr-preview img { display: block; width: 100%; height: auto; }
.wechat-qr-preview p { margin: 8px 0 0; color: #657080; font-size: 13px; line-height: 20px; text-align: center; }
.service-price-block { text-align: right; }
html:lang(en) .service-row, html:lang(ko) .service-row, html:lang(ja) .service-row { grid-template-columns: minmax(0, 1fr) 244px; }
@media (min-width: 1001px) {
  html:lang(en) .social-table, html:lang(ko) .social-table, html:lang(ja) .social-table { min-width: 780px; }
  html:lang(en) .social-table td:last-child, html:lang(ko) .social-table td:last-child, html:lang(ja) .social-table td:last-child { min-width: 244px; }
}
.service-price-label { display: block; color: #87909c; font-size: 12px; font-weight: 400; line-height: 20px; }
.service-price { margin: 3px 0 0; color: #284c72; font-size: 26px; font-weight: 600; line-height: 36px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.service-price-unit { color: #657080; font-size: 13px; font-weight: 400; }
.service-quote { margin: 4px 0 0; color: #485567; font-size: 19px; line-height: 30px; }

.social-table-scroll { overflow-x: auto; }
.social-card-label { display: none; }
.social-table { width: 100%; border-collapse: collapse; text-align: left; }
.social-table th, .social-table td { padding: 18px 16px; border-bottom: 1px solid #edf0f4; font-size: 14px; line-height: 24px; vertical-align: middle; }
.social-table thead th { padding-top: 0; padding-bottom: 12px; color: #87909c; font-size: 12px; font-weight: 400; }
.social-table tbody th { font-weight: 500; white-space: nowrap; }
.social-table th:first-child, .social-table td:first-child { padding-left: 0; }
.social-table th:last-child, .social-table td:last-child { padding-right: 0; text-align: right; }
.social-table tbody tr:last-child th, .social-table tbody tr:last-child td { padding-bottom: 0; border-bottom: 0; }
.social-followers { width: 120px; color: #485567; font-variant-numeric: tabular-nums; white-space: nowrap; }
.social-followers span { margin-left: 3px; }
.social-offer { display: flex; justify-content: flex-end; align-items: baseline; gap: 20px; color: #727b88; font-size: 13px; }
.social-offer + .social-offer { margin-top: 4px; }
.social-offer-note { margin: 4px 0 0; color: #727b88; font-size: 12px; line-height: 20px; }
.social-table .social-service-with-cases > th,
.social-table .social-service-with-cases > td { vertical-align: top; }
.social-case-list { display: flex; align-items: baseline; gap: 10px; max-width: 560px; margin-top: 12px; font-size: 13px; line-height: 22px; }
.social-case-list .service-case-label { min-width: 36px; }
.social-case-links { display: grid; gap: 6px; min-width: 0; }
.social-case-links a { color: #537fac; text-decoration: none; overflow-wrap: anywhere; }
.social-case-links a:hover { color: #315b88; text-decoration: underline; text-underline-offset: 3px; }
.social-case-links a:focus-visible { outline: 2px solid #537fac; outline-offset: 3px; }
.social-distribution-cases { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; font-size: 13px; font-weight: 400; line-height: 22px; }
.social-distribution-cases .social-case-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.social-distribution-cases a { white-space: nowrap; }
.social-price { color: #284c72; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.social-quote { color: #485567; font-size: 15px; white-space: nowrap; }
.social-table .social-distribution-copy { vertical-align: top; white-space: normal; }
.social-distribution-copy h3 { margin: 0; font-size: 14px; font-weight: 500; line-height: 24px; }
.social-distribution-note { margin: 6px 0 0; color: #87909c; font-size: 13px; font-weight: 400; line-height: 26px; }
.social-table .social-distribution-price { vertical-align: top; white-space: nowrap; }
.social-distribution-price .social-price { margin: 3px 0 0; line-height: 28px; }
.social-distribution-row:focus { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.services-page:focus-visible, .service-navigation-item:focus-visible, .service-case a:focus-visible, .social-account-link:focus-visible { outline: 2px solid #537fac; outline-offset: 3px; }

@media (max-width: 1000px) {
  .services-section { padding: 20px; }
  .service-row { grid-template-columns: minmax(0, 1fr) 152px; gap: 18px; }
  #social-services { padding: 0; border: 0; background: transparent; }
  #social-services > h2 { margin-bottom: 12px; }
  .social-table-scroll { overflow: visible; }
  .services-section .social-table { display: block; min-width: 0; }
  .social-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .social-table tbody { display: grid; gap: 12px; }
  .social-table tbody tr {
    display: block;
    min-width: 0;
    padding: 14px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    background: #fff;
  }
  .services-section .social-table tbody tr > th,
  .services-section .social-table tbody tr > td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 0;
    border: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .services-section .social-table tbody tr > th {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
  }
  .social-card-label {
    display: block;
    color: #87909c;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
  }
  .social-account-cell .social-card-label,
  .social-followers .social-card-label { display: inline; margin-right: 8px; }
  .services-section .social-table .social-followers { margin-top: 4px; }
  .services-section .social-table .social-pricing-cell {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #edf0f4;
  }
  .social-pricing-cell > .social-card-label { margin-bottom: 6px; }
  .social-account-link { line-height: 28px; }
  .social-offer { justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; }
  .social-offer + .social-offer { margin-top: 6px; }
  .social-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 3px; max-width: 100%; white-space: normal; }
  .social-price [data-price-amount] { white-space: nowrap; }
  .social-quote { display: block; white-space: normal; }
  .social-case-list { flex-direction: column; gap: 4px; margin-top: 14px; }
  .social-distribution-copy h3 { font-size: 16px; font-weight: 600; }
  .social-distribution-cases .social-case-links { gap: 8px 16px; }
  .social-distribution-price > .service-price-label { display: none; }
}

@media (max-width: 760px) {
  .services-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .services-section { padding: 18px; }
  .service-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  html:lang(en) .service-row, html:lang(ko) .service-row, html:lang(ja) .service-row { grid-template-columns: minmax(0, 1fr); }
  .service-price-block { text-align: left; }
  .service-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 3px; font-size: 24px; white-space: normal; }
  .service-price [data-price-amount] { white-space: nowrap; }
  .service-case { flex-direction: column; gap: 2px; }
}

@media (max-width: 480px) {
  .service-navigation { margin-left: 12px; padding-left: 6px; }
  .service-navigation-item { padding-inline: 4px; font-size: 11px; }
}
