/* ===== コラム（2026-11-12） =====
   一覧（column/index.html）と記事ページ。色と質感はトップ・下層ページと同じ（紙・墨・エンジ、方眼）。
   - 表紙の絵は写真を使わず、SVG の線で描く（.bcov）。画面に入ると線が引かれる
   - スクロールを留める演出はしない。目次は横に添えるだけ（PC）
   読み込み順：style.css → motion-pages.css → column.css */

/* ---------- 表紙の絵（線画） ---------- */
.bcov { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #F1EFEA; }
.bcov::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(21, 23, 26, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 23, 26, .055) 1px, transparent 1px); background-size: 32px 32px; }
.bcov::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 50%, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0)); }
.bcov svg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.bcov .ln { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bcov .ln--thin { stroke-width: 1.25; stroke: #8C8F94; }
.bcov .ln--enji { stroke: var(--enji); }
.bcov .ln--dash { stroke-dasharray: 2 7; stroke: var(--enji); }
.bcov .fl { fill: #fff; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.bcov .fl--tint { fill: #ECE9E2; stroke: none; }
.bcov .fl--enji { fill: var(--enji); stroke: none; }
.bcov .fl--ink { fill: var(--ink); stroke: none; }
.bcov text { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; fill: var(--sub); }
.bcov text.jp { font-family: var(--font-jp); font-weight: 700; font-size: 17px; letter-spacing: .04em; fill: var(--ink); }
.bcov text.w { fill: #fff; }
.bcov text.e { fill: var(--enji); }
/* 線が引かれる：--i の順に。面と文字は、あとからふわっと出る */
.bcov .dr { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.bcov .po { opacity: 0; transform: translateY(6px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.bcov.is-in .dr { stroke-dashoffset: 0; }
.bcov.is-in .po { opacity: 1; transform: none; }
.bcov .bob { animation: bcov-bob 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.bcov .spin { animation: bcov-spin 14s linear infinite; transform-box: fill-box; transform-origin: 50% 50%; }
.bcov .blink { animation: bcov-blink 2.4s ease-in-out infinite; }
@keyframes bcov-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes bcov-spin { to { transform: rotate(360deg); } }
@keyframes bcov-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .bcov .dr { stroke-dashoffset: 0; transition: none; }
  .bcov .po { opacity: 1; transform: none; transition: none; }
  .bcov :is(.bob, .spin, .blink) { animation: none; }
}

/* ---------- 一覧 ---------- */
.blist-sec { padding-top: clamp(40px, 5vw, 64px); border-top: 0; }
.blist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.bitem[hidden] { display: none; }
.bitem__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.bitem__link:hover, .bitem__link:focus-visible { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 30px 50px -36px rgba(21, 23, 26, .5); }
.bitem .bcov { border-bottom: 1px solid var(--line); }
.bitem__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 26px 22px; }
.bitem__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .75rem; color: var(--sub); }
.bcat { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--enji-tint); color: var(--enji); font-family: var(--font-jp); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.bitem__name { font-size: clamp(1.125rem, 1.7vw, 1.375rem); font-weight: 700; line-height: 1.55; letter-spacing: .03em; text-wrap: balance; word-break: auto-phrase; }
.bitem__desc { font-size: .9375rem; color: var(--sub); line-height: 1.85; }
.bitem__go { display: flex; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 700; }
.bitem__go i { font-style: normal; color: var(--enji); transition: transform .3s var(--ease); }
.bitem__link:hover .bitem__go i { transform: translateX(4px); }
/* いちばん上の1本は、横いっぱいに大きく */
.bitem--lead { grid-column: 1 / -1; }
.bitem--lead .bitem__link { flex-direction: row; }
.bitem--lead .bcov { flex: 0 0 54%; aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.bitem--lead .bitem__body { justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 56px); }
.bitem--lead .bitem__name { font-size: clamp(1.375rem, 2.6vw, 2.125rem); line-height: 1.45; }
.bitem--lead .bitem__go { margin-top: 12px; }
.blist__empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--sub); border: 1px dashed var(--line-strong); border-radius: 14px; }
@media (max-width: 860px) {
  .blist { grid-template-columns: 1fr; }
  .bitem--lead .bitem__link { flex-direction: column; }
  .bitem--lead .bcov { flex: none; aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- 記事の頭 ---------- */
.b-hero .wrap { max-width: 1040px; }
.b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; font-size: .8125rem; color: var(--sub); }
body.page-case .b-title { font-size: clamp(1.75rem, 4vw, 3.125rem); line-height: 1.38; letter-spacing: .02em; text-wrap: balance; word-break: auto-phrase; }
.b-hero .cs-lead { max-width: 36em; font-size: 1.0625rem; line-height: 2; color: var(--ink); }
.b-cover { margin: clamp(32px, 5vw, 56px) 0 0; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), 0 40px 70px -50px rgba(21, 23, 26, .5); }
.b-cover .bcov { aspect-ratio: 16 / 7; background: rgba(255, 255, 255, .55); }
@media (max-width: 640px) { .b-cover .bcov { aspect-ratio: 16 / 10; } }

/* 読み進みの線（上のヘッダーのすぐ下） */
.b-bar { position: fixed; left: 0; right: 0; top: var(--head-h); z-index: 39; height: 2px; pointer-events: none; }
.b-bar i { display: block; height: 100%; background: var(--enji); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- 記事の本文 ---------- */
.b-sec { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); border-top: 0; }
.b-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); max-width: 1040px; }
.b-toc { position: sticky; top: calc(var(--head-h) + 28px); align-self: start; font-size: .8125rem; }
.b-toc__label { margin-bottom: 12px; font-size: .75rem; color: var(--enji); letter-spacing: .12em; }
.b-toc ol { border-left: 1px solid var(--line-strong); }
.b-toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; color: var(--sub); text-decoration: none; line-height: 1.6; transition: color .2s, border-color .2s; }
.b-toc a:hover { color: var(--ink); }
.b-toc a.is-now { color: var(--ink); font-weight: 700; border-left-color: var(--enji); }
@media (max-width: 900px) {
  .b-grid { grid-template-columns: 1fr; gap: 32px; }
  .b-toc { position: static; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
  .b-toc a.is-now { font-weight: 500; color: var(--sub); border-left-color: transparent; }
}

.b-body { max-width: 40em; font-size: 1.0625rem; line-height: 2.05; }
.b-body > * + * { margin-top: 1.5em; }
.b-body h2 { margin-top: 3.2em; padding-top: 1.4em; border-top: 1px solid var(--line-strong); font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.55; letter-spacing: .03em; text-wrap: balance; word-break: auto-phrase; scroll-margin-top: calc(var(--head-h) + 20px); }
.b-body h2:first-child { margin-top: 0; }
.b-body h2 .mono { display: block; margin-bottom: 8px; font-size: .8125rem; font-weight: 400; color: var(--enji); letter-spacing: .12em; }
.b-body h3 { margin-top: 2.2em; font-size: 1.125rem; line-height: 1.7; }
.b-body h3 + * { margin-top: .6em; }
.b-body strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--enji-tint) 62%); }
.b-body a { text-decoration: none; border-bottom: 1px solid var(--enji); color: var(--enji-deep); }
.b-body a:hover { background: var(--enji-tint); }
.b-body ul { display: grid; gap: .5em; }
.b-body ul li { position: relative; padding-left: 1.5em; }
.b-body ul li::before { content: ""; position: absolute; left: .25em; top: .92em; width: 7px; height: 7px; border-radius: 50%; background: var(--enji); }
.b-body ol.b-steps { display: grid; gap: 12px; counter-reset: s; }
.b-body ol.b-steps li { position: relative; padding: 18px 20px 18px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; line-height: 1.85; counter-increment: s; }
.b-body ol.b-steps li::before { content: "0" counter(s); position: absolute; left: 20px; top: 18px; font-family: var(--font-mono); font-size: .875rem; color: var(--enji); }
.b-body ol.b-steps b { display: block; }

/* くらべる表（2列のカード） */
.b-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-two > div { padding: 22px 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: .9375rem; line-height: 1.85; }
.b-two > div.is-key { border-color: var(--ink); box-shadow: 0 24px 40px -34px rgba(21, 23, 26, .6); }
.b-two h3 { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.b-two h3 .mono { display: block; font-size: .75rem; font-weight: 400; color: var(--enji); letter-spacing: .12em; }
.b-two ul { gap: .35em; }
@media (max-width: 640px) { .b-two { grid-template-columns: 1fr; } }

/* ひとこと・まとめ */
.b-point { padding: 22px 24px; border-left: 3px solid var(--enji); background: var(--surface); border-radius: 0 12px 12px 0; font-size: 1rem; line-height: 1.95; }
.b-point .mono { display: block; margin-bottom: 4px; font-size: .75rem; color: var(--enji); letter-spacing: .12em; }
.b-sum { margin-top: 3.2em; padding: clamp(24px, 4vw, 36px); background: #F1EFEA; border: 1px solid var(--line-strong); border-radius: 14px; }
.b-sum .mono { font-size: .75rem; color: var(--enji); letter-spacing: .12em; }
.b-sum h2 { margin: 6px 0 0; padding: 0; border: 0; font-size: 1.25rem; }
.b-sum ul { margin-top: 14px; font-size: 1rem; line-height: 1.9; }
.b-sum ul li::before { top: .8em; width: 12px; height: 7px; border-radius: 0; background: none; border-left: 2px solid var(--enji); border-bottom: 2px solid var(--enji); transform: rotate(-45deg) translate(2px, -3px); left: 0; }

/* 書いた人・ほかの記事 */
.b-by { display: flex; align-items: center; gap: 16px; margin-top: 3.2em; padding-top: 28px; border-top: 1px solid var(--line-strong); font-size: .875rem; line-height: 1.8; color: var(--sub); }
.b-by svg { flex: none; width: 52px; height: 52px; padding: 14px 12px; border-radius: 50%; background: var(--ink); fill: #fff; }
.b-by b { display: block; color: var(--ink); font-size: 1rem; }
.b-by a { border-bottom-color: currentColor; color: inherit; }
.b-more { padding: clamp(56px, 8vw, 96px) 0; background: var(--surface); }
.b-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.b-more__head a { font-size: .875rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.b-more .bitem__link { background: var(--bg); }
