/* vi-page.css — 下層のページ別の追加（VISUAL-SPEC §3「ページ別」: kigyou shugou curriculum clinic-ai company・2026-10-21）
   site-v3.css → visual.css → vi-sub.css → このファイル の順に読む。部品そのものは visual.css。 */

/* 見出しの左にA層アイコン（v3-feat の h3・受け方の h3） */
.vp-ico-h { display: flex; align-items: center; gap: 12px; }
.vp-ico-h > span:last-child { min-width: 0; }

/* kigyou: 本文冒頭の下の場面の絵 */
.vp-cover { margin: 16px 0 0; width: 100%; }
.vp-cover img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }

/* kigyou: クリニックの場合（ポスター120px＋文） */
.vp-ki-row { display: flex; gap: 28px; align-items: flex-start; }
.vp-ki-row > .pg-text { flex: 1; min-width: 0; }
.vp-ki { flex: none; width: 132px; display: block; transition: opacity .2s; }
.vp-ki:hover { opacity: .85; }
.vp-ki .real-frame { width: 120px; margin: 0 12px 12px 0; }

/* shugou: 会場の回とオンラインの回（絵の角丸を部品にそろえる） */
.vp-pair img { border-radius: 24px; }
.vp-pair h3 { margin-top: 10px; }

/* curriculum: 番号の右にアイコン20px */
.vp-toc-title { display: flex; align-items: center; }
.vp-toc-title > .vi--sm { margin-right: 10px; vertical-align: 0; }
.vp-toc-title > span:last-child { min-width: 0; }

/* clinic-ai: ポスターに実物の枠（既存の影と角丸8pxは外す） */
.pg-fig .vp-fig-real .real-frame img { box-shadow: none; border-radius: 24px; }

/* company: 会社情報の dt にアイコン */
.vp-info dt { display: flex; align-items: center; }
.vp-info dt > .vi--sm { margin-right: 8px; vertical-align: 0; }

@media (max-width: 767px) {
  .vp-cover { margin-top: 8px; }
  .vp-cover img { border-radius: 20px; }
  .vp-ki-row { gap: 18px; }
  .vp-ki { width: 104px; }
  .vp-ki .real-frame { width: 96px; margin: 0 8px 8px 0; }
  .vp-pair img { border-radius: 20px; }
  .pg-fig .vp-fig-real .real-frame { max-width: 320px; }
  .pg-fig .vp-fig-real .real-frame img { max-width: none; border-radius: 20px; }
}

/* eラーニング研修のページ：小さく扱うコース（通常版・業務自動化版・歯科特化版） */
.el-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.el-mini .el-mini-card { padding: 20px 20px 18px; gap: 8px; align-content: start; }
.el-mini-card h3 { font-size: 16px; line-height: 1.5; margin: 0; }
.el-mini-card p { font-size: 14px; line-height: 1.8; margin: 0; }
.el-mini-card .el-mini-meta { font-size: 13px; color: var(--sub, #555); }
@media (max-width: 900px) { .el-mini { grid-template-columns: 1fr; } }

/* コース別ページ（tsujo/jidouka/shika）: テーマの分数とケーススタディの札 */
.pg-toc-items--min li::after { content: ""; display: block; clear: both; }
.pg-toc-items--min .cr-min { float: right; margin-left: 12px; font-family: var(--ff-en); font-weight: 700; white-space: nowrap; }
.cr-cs { display: inline-block; margin-left: 8px; padding: 0 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; line-height: 20px; opacity: .75; vertical-align: 1px; white-space: nowrap; }

/* 料金のページ（price.html）: トップにあった料金表を下層に移す（2026-10-21 梅村さん「各研修毎に価格を掲載。価格表もあってもいいね」）。site-v4.css から必要なぶんだけ写す */
.pr-page .pg-block { margin-bottom: 24px; }
.pr-page .v3-note { margin-top: 16px; }
.pr-page .pr-after-head { margin-top: 64px; }
.pr4-table { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.pr4-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; min-width: 860px; }
.pr4-table--after table { min-width: 640px; }
.pr4-table th, .pr4-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pr4-table thead th { background: var(--ink); color: var(--white); font-size: 14px; font-weight: 800; }
.pr4-table tbody th { font-weight: 900; color: var(--ink); }
.pr4-table tbody th small { display: block; font-size: 12px; font-weight: 700; color: var(--sub); }
.pr4-table tbody th a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pr4-table tbody th a:hover { color: var(--or); }
.pr4-table tbody th a { white-space: nowrap; }
.pr4-table#training thead th:first-child { width: 330px; }
.pr4-table tbody tr:last-child > * { border-bottom: 0; }
.pr4-table tr.pr4-grp th { padding: 10px 20px; background: var(--apr); font-size: 14px; color: var(--ink); }
.pr4-num { font-family: var(--ff-en); font-size: 22px; font-weight: 800; color: var(--ink); }
.pr4-table td .pr4-pr { white-space: nowrap; }
.pr4-table td .pr4-sub { white-space: nowrap; font-family: var(--ff-en); font-weight: 800; font-size: 16px; color: #B35900; }
@media (max-width: 767px) {
  .pr4-table { border: 0; overflow: visible; }
  .pr4-table table, .pr4-table--after table { min-width: 0; }
  .pr4-table thead { display: none; }
  .pr4-table tbody, .pr4-table table { display: block; }
  .pr4-table tr { display: block; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
  .pr4-table th, .pr4-table td { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 10px 16px; font-size: 14px; }
  .pr4-table tbody th { display: block; font-size: 16px; background: rgba(255, 153, 0, .08); }
  .pr4-table td::before { content: attr(data-l); font-size: 12px; font-weight: 800; color: var(--sub); }
  .pr4-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .pr4-table tr > :last-child { border-bottom: 0 !important; }
  .pr4-table tr.pr4-grp { margin: 20px 0 8px; border: 0; background: none; }
  .pr4-table tr.pr4-grp th { padding: 0; background: none; font-size: 16px; }
  .pr-page .pr-after-head { margin-top: 48px; }
  .pr4-table tbody th a { white-space: normal; }
}
/* 研修ページの概要の欄の「料金表を見る」 */
.v3-summary .v3-summary-price { display: flex; justify-content: center; margin-top: 16px; }
