/* 動画教材ページ（videos.html）だけで使う部品。site.css / lp.css のトークンを引き継ぐ */

/* 上部：挿絵が細かいので、他ページと同じ scrim の下で絵そのものも暗くして文字を読みやすくする */
.vt-hero .media img { filter: brightness(.55) saturate(.9); }

/* コースへの目次 */
.vt-jump { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: clamp(24px, 4vh, 40px); }
.vt-jump a { display: grid; gap: .3em; padding: 18px 14px 20px; border-bottom: 1px solid var(--hair); border-right: 1px solid var(--hair); text-decoration: none; color: var(--ink); font-size: 12px; letter-spacing: .1em; background: none !important; }
.vt-jump a:last-child { border-right: 0; }
.vt-jump a span { font-family: Inter, sans-serif; color: var(--blue-d); font-weight: 600; }
.vt-jump a b { font-family: var(--serif); font-weight: 800; font-size: clamp(16px, 1.6vw, 21px); letter-spacing: .04em; }
.vt-jump a:hover { background: rgba(0, 0, 0, .03) !important; }

/* このページは節が多いので、上下の余白を他ページより詰める */
main > section.vt-why, main > section.vt-ours, main > section.vt-index, main > section.vt-course { padding-block: clamp(44px, 7vh, 64px); }
/* コース1つ分 */
.vt-course { scroll-margin-top: var(--head); border-top: 1px solid var(--hair); }
.vt-course.tint { background: var(--sky); }
.vt-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(24px, 4vw, 64px); align-items: center; }
.vt-no { display: flex; gap: .8em; align-items: baseline; font-size: 12px; letter-spacing: .2em; color: var(--slate); }
.vt-no span { font-family: Inter, sans-serif; font-weight: 600; color: var(--blue-d); }
.vt-name { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 4.6vw, 60px); letter-spacing: .06em; line-height: 1.15; margin-top: .25em; }
.vt-name small { display: block; font-size: max(12px, .28em); font-weight: 700; letter-spacing: .3em; color: var(--slate); margin-top: .5em; }
.vt-sub { font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 1.7vw, 20px); margin-top: .9em; line-height: 1.6; }
.vt-lead { font-size: 15px; line-height: 2; max-width: 46em; text-wrap: pretty; }
/* 学べること／仕事での効きどころ：説明と第1章の下に、全幅の2列で */
.vt-pts { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.vt-pts > div { display: grid; align-content: start; gap: .4em; padding-top: 12px; border-top: 1px solid var(--hair); }
.vt-pts dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--blue-d); padding-top: .2em; }
.vt-pts dd { font-size: 14.5px; line-height: 1.9; text-wrap: pretty; }
.vt-pts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3em; }
.vt-pts li { padding-left: 1.1em; position: relative; }
.vt-pts li::before { content: ""; position: absolute; left: 0; top: .85em; width: .5em; height: 1px; background: var(--ink); }
.vt-meta { font-size: 13px; color: var(--slate); margin-top: 1.2em; letter-spacing: .05em; }

/* 第1章（見られる） */
.vt-player { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #111; color: #fff; text-decoration: none; background-image: none !important; }
.vt-player img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.vt-player:hover img { transform: scale(1.04); }
.vt-player.soon:hover img { transform: none; }
.vt-play { position: absolute; z-index: 1; left: 50%; top: 42%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, .92); transition: transform .3s; }
.vt-play::before { content: ""; position: absolute; left: 31px; top: 24px; border-left: 24px solid var(--ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.vt-player:hover .vt-play { transform: scale(1.08); }
.vt-badge { position: absolute; z-index: 1; left: 14px; top: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; padding: 6px 12px; background: var(--blue-d); color: #fff; border-radius: 2px; }
.vt-player.soon .vt-badge { background: rgba(18, 24, 28, .85); }
/* 題名は絵の上に直に載せず、下端の単色の帯の上に置く */
.vt-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 10px 18px 12px; background: rgba(12, 16, 19, .82); font-family: var(--serif); font-weight: 700; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.5; }
.vt-cap b { display: block; font-family: var(--sans, inherit); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; opacity: .85; }

/* 2本目以降：初めは閉じた文字の一覧 */
.vt-more { margin-top: clamp(20px, 3vh, 28px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair); }
.vt-more summary { display: flex; align-items: baseline; gap: 1em; padding: 16px 2.4em 16px 0; position: relative; cursor: pointer; font-size: 15px; font-weight: 700; letter-spacing: .06em; list-style: none; }
.vt-more summary::-webkit-details-marker { display: none; }
.vt-more summary::marker { content: ""; }
.vt-more summary::after { content: "＋"; position: absolute; right: .2em; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 18px; color: var(--blue-d); }
.vt-more[open] summary::after { content: "－"; }
.vt-more summary:hover { color: var(--blue-d); }
.vt-n { font-size: 13px; font-weight: 400; color: var(--slate); letter-spacing: .04em; }
.vt-more-body { padding: 4px 0 8px; }
.vt-toc-h { margin-top: 28px; padding-bottom: 4px; font-size: 15px; font-weight: 700; letter-spacing: .06em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1em; }
.vt-toc-h span { font-size: 13px; font-weight: 400; color: var(--slate); }
.vt-toc { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
/* 章：左に小さいサムネ、右に番号と題名 */
.vt-toc li { display: grid; grid-template-columns: 128px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--hair); align-content: start; }
.vt-toc li img { grid-row: 1 / 3; width: 128px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; background: #ddd; display: block; }
.vt-l { font-size: 13px; letter-spacing: .1em; color: var(--slate); }
.vt-t { font-size: 15px; font-weight: 700; line-height: 1.6; word-break: auto-phrase; }
.vt-wip { display: inline-block; margin-left: .6em; font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--slate); }
#kinyu .vt-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 860px) {
  .vt-top { grid-template-columns: minmax(0, 1fr); }
  .vt-watch { order: -1; }
  /* スマホの目次は1コース1行：番号・分野・コース名を横に並べる */
  .vt-jump { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .vt-jump a { grid-template-columns: 2.4em 6.2em minmax(0, 1fr); align-items: baseline; gap: 0; padding: 14px 0; border-right: 0; font-size: 12.5px; }
  .vt-jump a b { font-size: 17px; }  .vt-pts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vt-toc, #kinyu .vt-toc { grid-template-columns: minmax(0, 1fr); }
  .vt-toc li { grid-template-columns: 112px minmax(0, 1fr); }
  .vt-toc li img { width: 112px; }
  .vt-more summary .vt-n { display: none; }
  .vt-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .vt-play::before { left: 24px; top: 18px; border-left-width: 19px; border-top-width: 12px; border-bottom-width: 12px; }
}

/* 後半の入り口：他ページの「全画面の一文」と同じ作りで、写真の上に見出しを置く */
.vt-band { min-height: 64svh; }
.vt-band .lab { font-size: 12px; }
.vt-band .media img { object-position: 80% 40%; }
/* スマホは縦長で人物が全面に入るため、街並みとスマホを持つ手だけが入る位置で切る */
/* スマホは縦長なので、顔を上に見せ、見出しは下に寄せて下から暗くする */
@media (max-width: 860px) {
  .vt-band { align-items: end; }
  .vt-band .media img { object-position: 84% 30%; }
  .vt-band .scrim.soft { background: linear-gradient(0deg, rgba(8, 11, 13, .86) 0%, rgba(8, 11, 13, .55) 38%, rgba(8, 11, 13, .08) 70%); }
  .vt-band .inner { padding-bottom: 44px; }
}
.vt-band h2 { max-width: 11em; font-family: var(--serif); font-weight: 700; color: #fff; font-size: clamp(30px, 4.8vw, 64px); line-height: 1.5; letter-spacing: .05em; }
main > section.vt-band + section.vt-why .vt-why-grid { margin-top: 0; }

/* 前提（なぜ動画か）と当社の工夫 */
.vt-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(24px, 4vh, 44px); }
.vt-why-item { border-top: 1px solid var(--ink); padding-top: 16px; }
.vt-why-n { display: block; font-family: Inter, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .2em; color: var(--blue-d); }
.vt-why-item h3, .vt-ours-item h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.5; margin: .35em 0 0; word-break: auto-phrase; }
.vt-why-item p:not(.vt-why-n), .vt-ours-item p:not(.vt-ours-k) { margin-top: .7em; font-size: 14px; line-height: 1.9; color: var(--ink-3, #35434d); text-wrap: pretty; }
.vt-why-item:nth-child(3) h3 { color: var(--blue-d); }
.vt-ours-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(24px, 4vh, 44px); }
/* 番号・見出し・本文の段を横並びの箱どうしでそろえる（見出しの行数が違っても本文の頭がそろう） */
.vt-why-item, .vt-ours-item { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; align-content: start; }
@media (min-width: 861px) { .vt-why-item h3 { max-width: 12em; } }
.vt-ours-item { background: #fff; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--hair); border-radius: 3px; }
.vt-ours-k { display: block; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--blue-d); }
/* 前半の3つの理由・2つの工夫：見出しだけ見せ、本文は押すと開く */
@media (max-width: 860px) {
  .vt-why-grid, .vt-ours-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 語の途中で改行しない（吉村さんの決まり） */
.vt-name { font-size: clamp(30px, 3.9vw, 54px); white-space: nowrap; }
.page-hero p, .vt-lead, .vt-pts dd, .vt-why-item p, .vt-ours-item p, .vt-sub, .vt-cap, .vt-t, .sec-head p, .cta-band p { word-break: auto-phrase; }
.vt-player, .vt-player:hover, .vt-player * { color: #fff !important; }
.nw { white-space: nowrap; }
#polis .vt-name, .vt-jump a[href="#polis"] b { font-family: "Times New Roman", Georgia, serif; font-weight: 700; letter-spacing: .02em; }

/* Safari は auto-phrase に対応しないため、HTML に入れた <wbr>（BudouX で文節ごと）の位置だけで折り返す */
main { word-break: keep-all; overflow-wrap: anywhere; }
