/* /friends/ と /videos/（tools/build_site.py が生成するページ）専用。style.css の上に重ねる */
.vshare { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0; }
.vshare-lbl { font-size: .85rem; opacity: .75; margin-right: 4px; }
.vshare-btn { display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  color: #fff; text-decoration: none; border: 0; cursor: pointer; line-height: 1.2; font-family: inherit; }
.vshare-btn:hover { filter: brightness(1.12); }
.vs-x { background: #000; border: 1px solid rgba(255,255,255,.25); }
.vs-line { background: #06c755; }
.vs-fb { background: #1877f2; }
.vs-bsky { background: #0a7aff; }
.vs-threads { background: #333; border: 1px solid rgba(255,255,255,.25); }
.vs-native { background: #e0568a; }
.vs-copy { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.lead { font-size: .98rem; line-height: 2; margin: 0 0 18px; }
.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 22px 0 0; }
@media (min-width: 560px) { .fgrid { grid-template-columns: repeat(4, 1fr); } }
.fcard a { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 12px; box-shadow: 0 10px 28px rgba(200,90,115,.10); transition: transform .15s; }
.fcard a:hover { transform: translateY(-2px); }
.fcard img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border-radius: 12px; background: var(--soft); }
.fcard h3 { margin: 10px 2px 2px; font-size: 1rem; }
.fcard p { margin: 0 2px; font-size: .8rem; color: var(--muted); line-height: 1.6; }
.fcard .fn { color: var(--coral-deep); font-weight: 700; }
.crumbs { font-size: .78rem; color: var(--muted); margin: 0 0 14px; }
.fhero { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
@media (min-width: 640px) { .fhero { grid-template-columns: 240px 1fr; } }
.fmain { width: 100%; max-width: 240px; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border-radius: 18px; border: 1px solid var(--line); background: var(--soft); box-shadow: 0 10px 28px rgba(200,90,115,.12); margin: 0 auto; display: block; }
.friend h1 { font-size: 1.7rem; margin: 0; }
.fpers { font-size: .95rem; line-height: 1.95; margin: 8px 0 14px; }
.ftable { border-collapse: collapse; width: 100%; font-size: .88rem; }
.ftable th { text-align: left; white-space: nowrap; color: var(--coral-deep); font-weight: 700; padding: 6px 12px 6px 0; vertical-align: top; width: 6em; border-bottom: 1px solid var(--line); }
.ftable td { padding: 6px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
.fgallery { display: flex; gap: 10px; margin: 18px 0 0; }
.fgallery img { width: calc(50% - 5px); max-width: 200px; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); }
.cta { margin: 28px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); text-align: center; }
.cta p { margin: 0 0 10px; font-size: .92rem; }
.cta .store { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--coral-deep); color: #fff; font-weight: 700; text-decoration: none; font-size: .95rem; margin: 4px 4px; }
.cta .store.play { background: #17181d; }
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 14px 0 26px; }
@media (min-width: 560px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
.vcard h3 { font-size: .86rem; line-height: 1.6; margin: 8px 2px 4px; font-weight: 700; }
.vcard .vmeta, .vcard .vlinks { margin: 0 2px; font-size: .76rem; color: var(--muted); line-height: 1.6; }
.vthumb { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 9 / 16; }
.vthumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vplay { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--coral-deep); font-size: 22px; line-height: 54px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.vthumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fothers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; padding: 0; margin: 10px 0 24px; }
@media (min-width: 560px) { .fothers { grid-template-columns: repeat(7, 1fr); } }
.fothers a { display: block; text-align: center; text-decoration: none; color: var(--ink); font-size: .74rem; }
.fothers img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border-radius: 50%; border: 1px solid var(--line); background: var(--soft); margin-bottom: 4px; }

/* ---- 動画トップ／動画記事（幅はトップページのヘッダーと同じ 1280px に揃える） ---- */
body.wide header.site .wrap, body.wide footer.site .wrap, body.wide main.wrap { max-width: 1280px; }
.vcover { max-width: 1280px; margin: 0 auto; padding: 0 22px; }
.vcover img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 0 0 22px 22px; box-shadow: 0 16px 40px rgba(200,90,115,.16); }
/* スマホ: 切り抜かず横幅いっぱいに全体を出す（16:9 に切ると左右の文字が落ちる。元画像は 1280×548≒21:9） */
@media (max-width: 640px) { .vcover { padding: 0; } .vcover img { aspect-ratio: auto; height: auto; object-fit: contain; border-radius: 0; } }
.vtop h1 { font-size: 1.55rem; margin: 26px 0 6px; }
.vtop h1 small { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.vfeat { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; margin: 22px 0 34px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 10px 28px rgba(200,90,115,.10); }
@media (min-width: 700px) { .vfeat { grid-template-columns: 260px 1fr; padding: 22px; } }
.vfeat-thumb { position: relative; display: block; aspect-ratio: 9 / 16; max-width: 260px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #000; }
.vfeat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vfeat-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: #fff; background: var(--coral-deep); border-radius: 999px; padding: 3px 12px; margin: 0 0 8px; }
.vfeat h2 { font-size: 1.15rem; line-height: 1.7; margin: 0 0 8px; }
.vfeat h2 a { color: var(--ink); text-decoration: none; }
.vfeat .lead { margin: 0 0 8px; font-size: .92rem; }
.vmore { display: inline-block; margin-top: 8px; color: var(--coral-deep); font-weight: 700; text-decoration: none; }
.vseries h2 { display: flex; align-items: baseline; gap: 10px; margin: 30px 0 4px; }
.vcount { font-size: .78rem; color: var(--muted); font-weight: 400; }
.vgrid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px)  { .vgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .vgrid { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.vcard h3 a { color: var(--ink); text-decoration: none; }
.vcard h3 a:hover { color: var(--coral-deep); }
a.vthumb { text-decoration: none; }
.vfaces h2 { margin: 30px 0 8px; }
.fothers small { display: block; font-size: .7rem; color: var(--coral-deep); font-weight: 700; }
/* 記事 */
.varticle article { max-width: 1180px; margin: 0 auto; }
/* 記事の上段: 動画｜アプリ画面｜呼びかけ。狭い画面では縦に積む */
/* （.vtop は /videos/ トップの main にも付いているので、記事上段は .vhead。同名にすると トップが grid になって崩れる） */
.vhead { display: grid; grid-template-columns: 1fr; gap: 22px; margin: 18px 0 8px; align-items: start; justify-content: center; justify-items: center; }
@media (min-width: 720px) { .vhead { grid-template-columns: 320px 320px; justify-items: stretch; } .vintro { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .vhead { grid-template-columns: 320px 320px minmax(0, 1fr); } .vintro { grid-column: auto; } }
.vhead .vembed { margin: 0; width: 100%; max-width: 320px; }
/* 「この動画で起きること」｜「◯◯という子」は横に並べる（1 段で横に伸ばすと読みにくい） */
.vcols { display: grid; grid-template-columns: 1fr; gap: 0 40px; align-items: start; }
@media (min-width: 900px) { .vcols { grid-template-columns: 1fr 1fr; } }
.vcols section > h2:first-child { margin-top: 34px; }
/* 重ねた 1 コマ: タップは素通し（下の YouTube に届く）。再生が始まったら .playing で消す */
.vposter .vcap { position: absolute; inset: 0; pointer-events: none; transition: opacity .3s; }
.vposter.playing .vcap { opacity: 0; }
.vcap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* ▶ は左下（中央だと顔にかぶる。旧 .vplay の margin:-27px が残って左上にずれてもいた） */
.vcap .vplay { position: absolute; left: 14px; bottom: 14px; top: auto; transform: none; width: 56px; height: 56px; margin: 0; line-height: 56px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--coral-deep); font-size: 1.3rem; text-indent: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.vshot { display: block; position: relative; width: 100%; aspect-ratio: 9 / 16; max-width: 320px; border-radius: 16px; overflow: hidden; background: var(--soft); text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.vshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vshot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .74rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.varticle .vintro h2 { margin-top: 0; }
.varticle .vintro .vlinks { text-align: left; }
.varticle h1 { font-size: 1.45rem; line-height: 1.7; margin: 6px 0 8px; }
.varticle h2 { margin: 34px 0 10px; font-size: 1.15rem; }
.varticle article p { line-height: 2; }
.vembed { position: relative; width: 100%; max-width: 360px; aspect-ratio: 9 / 16; margin: 18px auto 8px; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.vembed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.varticle .vlinks { text-align: center; font-size: .82rem; color: var(--muted); }
.vquote { margin: 18px 0; padding: 16px 20px; border-left: 4px solid var(--coral-deep); background: var(--soft); border-radius: 0 14px 14px 0; }
.vquote figcaption { font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.vquote blockquote { margin: 0; }
.vquote blockquote p { margin: 0; line-height: 1.9; font-weight: 700; }
.vprof { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 600px) { .vprof { grid-template-columns: 150px 1fr; } }
.vprof img { width: 100%; max-width: 150px; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); display: block; margin: 0 auto; }
.vprof .vlinks { text-align: left; }
.vpoints { padding-left: 1.2em; }
.vpoints li { line-height: 1.9; margin: 6px 0; }
.varticle .vgrid { max-width: 100%; }
.varticle > h2 { max-width: 1280px; }
.backtop { margin-top: 30px; }
