/* IT-only additions based on the client's workbook; shared design remains unchanged. */
@media (min-width: 821px) {
  /* Workbook sheet 2 points to the space between heading and description. */
  #overview .detail-two-col,
  #courses .detail-two-col,
  #support .detail-two-col { grid-template-columns: 0.65fr 1.35fr; gap: 40px; }
}
.it-contact-plain { background: #eff7fc; }
.it-contact-plain::before { content: none; }
.it-intro-entry,
.it-course-entry { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.it-intro-entry h3,
.it-course-entry h3,
.it-pricing h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.65; text-wrap: balance; }
.it-intro-entry ul,
.it-course-entry ul { padding-left: 1.4em; }
.it-intro-entry li,
.it-course-entry li { margin-top: 5px; text-wrap: pretty; }
.it-course-terms { margin-top: 16px; }
.it-course-terms > div { display: grid; grid-template-columns: 3em 1fr; gap: 12px; }
.it-course-terms dd { margin: 0; }
.it-pricing { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.it-pricing p { margin-bottom: 0; }
.it-service-details { margin-top: 40px; }
.it-service-table { width: 100%; margin-top: 30px; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.85; }
.it-service-table caption { margin-bottom: 12px; color: var(--navy); font-family: var(--serif); font-size: 20px; font-weight: 600; text-align: left; }
.it-item-col { width: 26%; }
.it-description-col { width: 49%; }
.it-note-col { width: 25%; }
.it-service-table th,
.it-service-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; text-wrap: pretty; }
.it-service-table thead th { background: var(--contact-blue); color: #fff; font-weight: 600; }
.it-service-table tbody th { font-weight: 500; }
@media (max-width: 820px) {
  #support .detail-two-col { grid-template-columns: 1fr; gap: 0; }
  #support .detail-body { max-width: none; }
}
@media (max-width: 620px) {
  /* Keep native table structure; present each row vertically on narrow screens. */
  .it-service-table { display: block; }
  .it-service-table caption { display: block; }
  .it-service-table colgroup { display: none; }
  .it-service-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .it-service-table tbody { display: block; }
  .it-service-table tbody tr { display: block; padding: 16px 0; border-top: 1px solid var(--line); }
  .it-service-table tbody th,
  .it-service-table tbody td { display: block; padding: 0; border: 0; }
  .it-service-table tbody th { color: var(--navy); font-weight: 600; }
  .it-service-table tbody td:first-of-type { margin-top: 6px; }
  .it-service-table tbody td:last-child:not(:empty) { margin-top: 6px; color: #52687a; font-size: 12px; }
  .it-service-table tbody td:last-child:not(:empty)::before { content: "備考："; }

  .it-intro-entry h3,
  .it-course-entry h3,
  .it-pricing h3,
  .it-service-table caption { font-size: 18px; }
}
