/* 大学別実績だけを、大学名と人数が並ぶコンパクトな一覧にする。 */
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-results {
  margin: 20px 0 28px;
  padding: 0;
  border: 0;
  background: #fff;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review h4.school-university-results__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0 0 8px;
  padding: 11px 14px;
  border: 0;
  border-radius: 0;
  background: #edf5fb;
  color: #244e70;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-results__heading > span {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table > p { display: none; }
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table .article-data-table-block__scroll {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table table {
  display: block;
  position: relative;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: #fff !important;
}
/* 見出しセルと対応関係は読み上げ用に残す。年度・集計範囲の説明は一覧の直前に表示。 */
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table table tbody {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
  width: 100%;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table table tbody tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  align-content: center;
  column-gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 10px 2px;
  border: 0 !important;
  border-bottom: 1px solid #d7e3ee !important;
  background: #fff !important;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table table tbody tr > :is(th, td):nth-child(n) {
  display: block;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #354e5b !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table table tbody tr > :first-child { grid-column: 1; grid-row: 1; }
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table table tbody tr > :nth-child(2):not(:last-child) { grid-column: 1; grid-row: 2; }
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table table tbody tr > :nth-child(3):not(:last-child) { grid-column: 1; grid-row: 3; }
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table table tbody tr > :is(th, td):last-child {
  grid-column: 2;
  grid-row: 1 / span 3;
  max-width: 90px !important;
  color: #244e70 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table tr:has(> :nth-child(3)) > :not(:first-child):not(:last-child) {
  color: #607584 !important;
  font-size: 12px !important;
}
/* 人数未掲載の大学は、掲載方式と未掲載の文言を一緒に残す。 */
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table tr:has(> :nth-child(3)):not(:has(> :nth-child(4))) > :is(th, td):last-child {
  max-width: 68px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}
@media (max-width: 960px) {
  :is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :is(html body#body .article-content, #draft-layout .article-content) .school-profile-review h4.school-university-results__heading { padding: 9px 10px; font-size: 15px; }
  :is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-results__heading > span { font-size: 13px; }
  :is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table table tbody { column-gap: 12px; }
  :is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .school-university-table table tbody tr { column-gap: 5px; padding: 8px 0; }
  :is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table table tbody tr > :is(th, td):nth-child(n) { font-size: 13px !important; }
  :is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table table tbody tr > :is(th, td):last-child { font-size: 17px !important; }
  :is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table tr:has(> :nth-child(3)):not(:has(> :nth-child(4))) > :is(th, td):last-child { max-width: 56px !important; font-size: 11px !important; }
}
:is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table--unknown table tbody tr > :is(th, td):last-child {
  max-width: 68px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}
@media (max-width: 760px) {
  :is(html body#body .article-content, #draft-layout .article-content) .school-profile-review .online-prep-table.school-university-table--unknown table tbody tr > :is(th, td):last-child { max-width: 56px !important; font-size: 11px !important; }
}
