/*
 * コラム（/column/ と記事。2026-12-02）。inc/column.php の部品の見た目
 * 部品の形は sell-k.css（売却のページ）と同じ。見本 docs/記録/見本/コラム_一覧と記事_20261202/（E 本棚）と
 * 下書き docs/コラム/01_値下がりが怖い人へ_下書き.html を、ここにまとめた
 * 色は kaitaku.css の --k-*。黄は押す所と小さな印だけ
 */

.msreal-col .nw { display: inline-block; white-space: nowrap; }
.msreal-col .col-lead { max-width: 34em; margin: 40px auto 0; text-align: center; font-size: 16px; line-height: 2; }
.msreal-col .col-sec { max-width: 864px; margin: 96px auto 0; padding: 0 24px; }
.msreal-col .col-sec .ks-h2 { margin-bottom: 16px; }
.msreal-col .col-date { display: block; font-size: 13px; color: var(--k-soft); letter-spacing: 0.06em; }
.msreal-col .col-date.is-c { text-align: center; margin-top: 8px; }
.msreal-col .col-read { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--k-ink); text-decoration: none; white-space: nowrap; }

/* ---------- 記事の上：縦書きのひと言の下の、シリーズと題 ---------- */
.msreal-col .ks-ttl__catch { height: auto; min-height: 320px; }
.msreal-col .ks-sub { max-width: 34em; margin: 48px auto 0; padding: 0 24px; text-align: center; }
.msreal-col .ks-sub .kicker { font-size: 13px; color: var(--k-soft); letter-spacing: 0.1em; margin: 0 0 8px; }
.msreal-col .ks-sub__t { margin: 0; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.7; letter-spacing: 0.12em; }

/* ---------- 一覧：本棚（トップのお約束の本棚と同じウォールナット） ---------- */
.colE-case { position: relative; margin-top: 24px; padding: 44px 40px 72px; background: url(../img/wood/walnut-frame.jpg) center / cover; box-shadow: 0 14px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,235,210,.18); }
.colE-case::before { content: ""; position: absolute; inset: 16px; background: linear-gradient(#4a4d43, #54574c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.45), inset 2px 2px 0 rgba(0,0,0,.25), inset 0 34px 28px -10px rgba(0,0,0,.45); }
.colE-case > * { position: relative; z-index: 1; }
.colE-plate { display: inline-block; margin: 0 0 28px 8px; padding: 6px 14px; background: #F3EFE4; color: var(--k-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; box-shadow: 0 2px 0 rgba(0,0,0,.3); }
.colE-plate small { font-weight: 400; margin-left: 8px; color: var(--k-soft); }
/* 棚板は段の下に背景で描く。本が増えて収まらないときは、段ごと横にずらして見る（2026-12-02。2本目からの姿を試して、はみ出しを直した） */
.colE-tier { position: relative; display: flex; align-items: flex-end; gap: 6px; margin: 0 -24px; padding: 12px 40px 30px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: rgba(255,232,205,.4) transparent; background: linear-gradient(rgba(255,232,205,.35) 0 1px, rgba(255,232,205,.10) 1px 11px, rgba(0,0,0,.30) 11px 12px, transparent 12px 28px, rgba(0,0,0,.35) 28px 30px) left bottom / 100% 30px no-repeat local, url(../img/wood/walnut-h.jpg) left bottom / 100% 30px no-repeat local; }
.colE-tier::after { content: ""; flex: none; width: 1px; } /* 右の端の余白 */
.colE-swipe { margin: 10px 0 0 8px; font-size: 12px; letter-spacing: .08em; color: #E9E4D6; }
/* 表紙を見せた本（書けた記事）＝押すと開く */
.colE-book { position: relative; flex: none; width: 200px; height: 304px; margin-right: 18px; display: grid; grid-template-rows: auto 1fr auto; padding: 18px 16px 0 22px; background: #fff; color: var(--k-ink); text-decoration: none; box-shadow: 0 8px 8px -6px rgba(0,0,0,.55), 10px 2px 14px -8px rgba(0,0,0,.55); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.colE-book:hover, .colE-book:focus-visible { transform: translateY(-8px); }
.colE-book::before { content: ""; position: absolute; inset: 8px 8px 8px 14px; border: 1px solid rgba(39,50,59,.18); pointer-events: none; }
.colE-book::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,0)); }
.colE-book .ser { font-size: 10px; letter-spacing: .2em; font-weight: 700; opacity: .75; }
.colE-book__t { writing-mode: vertical-rl; font-family: "Shippori Mincho", serif; font-weight: 700; font-size: 22px; line-height: 1.6; letter-spacing: .14em; margin: 12px auto 0; }
.colE-book .obi { margin: 0 -16px 0 -22px; padding: 10px 14px 14px 22px; background: var(--k-yel); box-shadow: inset 0 6px 6px -6px rgba(0,0,0,.25); }
.colE-book .ser .dr { font-style: normal; color: #B0412E; }
.colE-book .obi b { display: block; font-size: 15px; letter-spacing: .14em; }
/* 背表紙（これから書く本）＝押せない。黄は使わない */
.colE-spine { position: relative; flex: none; width: 46px; display: flex; flex-direction: column; align-items: center; padding: 10px 0 8px; color: var(--k-ink); box-shadow: inset -3px 0 4px -2px rgba(0,0,0,.25), 3px 0 6px -3px rgba(0,0,0,.4); }
.colE-spine:nth-of-type(1) { height: 252px; background: #F3EFE4; }
.colE-spine:nth-of-type(2) { height: 238px; background: #E3DFD3; }
.colE-spine:nth-of-type(3) { height: 262px; background: var(--k-ink); color: #fff; }
.colE-spine:nth-of-type(4) { height: 244px; background: #D6D3C6; }
.colE-spine:nth-of-type(5) { height: 256px; background: #ECE8DC; }
.colE-spine i { font-style: normal; font-size: 11px; font-weight: 700; }
.colE-spine b { writing-mode: vertical-rl; font-family: "Shippori Mincho", serif; font-weight: 700; font-size: 14px; letter-spacing: .12em; margin: 8px 0 auto; }
.colE-spine small { writing-mode: vertical-rl; font-size: 10px; letter-spacing: .1em; opacity: .7; }
/* 棚札：いちばん新しい本の説明 */
.colE-tag { position: relative; z-index: 2; max-width: 440px; margin: 18px 0 0 16px; padding: 14px 16px 14px 20px; background: #fff; border-left: 5px solid var(--k-yel); box-shadow: 0 3px 0 rgba(0,0,0,.28); }
.colE-tag b { display: block; font-family: "Zen Maru Gothic", sans-serif; font-size: 17px; line-height: 1.6; margin-bottom: 6px; }
.colE-tag p { font-size: 14px; line-height: 1.8; margin: 0 0 6px; color: var(--k-soft); }
.colE-tag .col-read { min-height: 40px; }
.colE-note { margin-top: 14px; font-size: 13px; color: var(--k-soft); }
/* すべてのコラム（文字の一覧） */
.col-all { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--k-ink); }
.col-all li { padding: 20px 0; border-bottom: 1px solid var(--k-line); }
.col-all a { display: inline-block; margin-top: 4px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.6; text-decoration: none; }
.col-all p { margin: 6px 0 0; font-size: 14px; line-height: 1.8; color: var(--k-soft); }

/* 最後の案内（LINE） */
.msreal-col .col-ask { margin-top: 120px; }
.msreal-col .col-ask__t { font-size: 15px; margin: 0 0 24px; }
.msreal-col .col-btn { display: flex; align-items: center; justify-content: center; min-height: 56px; max-width: 360px; margin: 0 auto; background: var(--k-yel); color: var(--k-ink); font-weight: 700; letter-spacing: 0.1em; text-decoration: none; }
.msreal-col .col-next { margin-top: 96px; }

/* ---------- 記事の本文（管理画面のコードで入れた中身） ---------- */
.col-body { max-width: 864px; margin: 56px auto 0; padding: 0 24px; font-size: 16px; line-height: 1.9; letter-spacing: 0.08em; }
.col-body > * { margin-top: 0; }
.col-body h2 { margin: 96px 0 24px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 24px; line-height: 1.6; letter-spacing: 0.16em; }
.col-body p { margin: 0 0 16px; }
.col-body strong { font-weight: 700; }
.col-body .summary .label { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 0.12em; margin: 0 0 12px; }
.col-body .summary ul { list-style: none; margin: 0; padding: 0; }
.col-body .summary li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--k-line); font-size: 16px; font-weight: 700; }
.col-body .summary li:first-child { border-top: 1px solid var(--k-line); }
.col-body .summary li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--k-yel); box-shadow: 0 0 0 1px var(--k-ink); }
.col-body figure { margin: 40px 0; }
.col-body figure svg { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.col-body figure svg text { font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif; letter-spacing: 0.04em; }
.col-body figcaption { font-size: 13px; color: var(--k-soft); margin-top: 8px; line-height: 1.8; }
.col-body .lead { font-weight: 700; }
.col-body .peak { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 30px; line-height: 1.6; letter-spacing: 0.16em; text-align: center; margin: 56px 0 12px; }
.col-body .peak-sub { text-align: center; margin: 0 0 24px; }
.col-body .box-list { list-style: none; padding: 0; margin: 0 0 24px; }
.col-body .box-list li { padding: 16px 0; border-bottom: 1px solid var(--k-line); }
.col-body .box-list li:first-child { border-top: 1px solid var(--k-line); }
.col-body .box-list .where { display: block; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.col-body .check { margin: 0 0 24px; padding: 24px 32px; border: 1px solid var(--k-ink); }
.col-body .check p { margin: 0 0 8px; font-weight: 700; }
.col-body .check ol, .col-body .check ul { margin: 0; padding-left: 1.4em; }
.col-body .source { font-size: 13px; color: var(--k-soft); line-height: 1.8; }
.col-body .ending { margin-top: 120px; background: #fff; border-radius: 40px; padding: 64px; text-align: center; }
.col-body .ending .peak { margin-top: 0; }
.col-body .voice { text-align: left; margin: 32px 0; padding: 24px 0; border-top: 1px solid var(--k-line); border-bottom: 1px solid var(--k-line); }
.col-body .voice .who { font-size: 13px; color: var(--k-soft); margin: 0 0 4px; }
.col-body .voice p:last-child { margin-bottom: 0; }
.col-body .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; min-width: 280px; padding: 12px 32px; background: var(--k-yel); color: var(--k-ink); font-weight: 700; letter-spacing: 0.1em; text-decoration: none; border-radius: 0; }
.col-body .btn-note { font-size: 14px; margin: 0 0 12px; }
.col-body .sources { margin-top: 64px; font-size: 13px; color: var(--k-soft); }
.col-body .sources ul { padding-left: 1.2em; margin: 4px 0 0; }
.col-body .cnt { font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
	.msreal-col .col-lead { font-size: 15px; margin-top: 32px; padding: 0 20px; }
	.msreal-col .col-sec { margin-top: 64px; padding: 0 20px; }
	.msreal-col .ks-ttl__catch { min-height: 220px; }
	.msreal-col .ks-sub { margin-top: 32px; padding: 0 20px; }
	.msreal-col .ks-sub__t { font-size: 17px; letter-spacing: 0.08em; }
	.col-body { margin-top: 40px; padding: 0 20px; font-size: 15px; letter-spacing: 0.06em; }
	.col-body h2 { font-size: 20px; letter-spacing: 0.12em; margin: 64px 0 16px; }
	.col-body .summary li { font-size: 15px; }
	.col-body .peak { font-size: 24px; letter-spacing: 0.12em; }
	.col-body .check { padding: 16px 20px; }
	.col-body .ending { margin-top: 80px; border-radius: 24px; padding: 40px 20px; }
	.col-body .btn { min-width: 0; width: 100%; }
	.msreal-col .col-ask { margin-top: 80px; }
	.col-all a { font-size: 17px; }
}
@media (max-width: 700px) {
	.colE-case { padding: 26px 14px 52px; margin: 24px -8px 0; box-shadow: 0 10px 18px rgba(0,0,0,.3); }
	.colE-case::before { inset: 6px; }
	.colE-plate { margin: 0 0 20px 2px; font-size: 12px; padding: 5px 10px; }
	.colE-plate small { display: block; margin: 0; }
	.colE-tier { gap: 4px; margin: 0 -8px; padding: 10px 12px 22px; background-size: 100% 22px, 100% 22px; }
	.colE-book { width: 128px; height: 196px; margin-right: 8px; padding: 10px 8px 0 13px; }
	.colE-book__t { font-size: 15px; margin-top: 6px; }
	.colE-book .ser { font-size: 9px; letter-spacing: .1em; }
	.colE-book .obi { margin: 0 -8px 0 -13px; padding: 7px 8px 8px 13px; }
	.colE-book .obi b { font-size: 13px; letter-spacing: .08em; }
	.colE-spine { width: 30px; padding: 8px 0 6px; }
	.colE-spine:nth-of-type(n) { height: calc(150px + var(--h, 0px)); }
	.colE-spine:nth-of-type(1) { --h: 22px; } .colE-spine:nth-of-type(2) { --h: 10px; } .colE-spine:nth-of-type(3) { --h: 30px; } .colE-spine:nth-of-type(4) { --h: 16px; } .colE-spine:nth-of-type(5) { --h: 26px; }
	.colE-spine b { font-size: 11px; letter-spacing: .06em; margin-top: 6px; }
	.colE-spine small { display: none; }
	.colE-tag { margin: 14px 0 0; }
	.colE-tag b { font-size: 16px; }
}
@media (max-width: 360px) {
	.colE-tier { gap: 3px; }
	.colE-book { width: 104px; height: 184px; margin-right: 6px; }
	.colE-book__t { font-size: 13.5px; letter-spacing: .1em; }
	.colE-spine { width: 26px; }
	.colE-spine b { font-size: 10px; letter-spacing: .02em; }
}

/* ---------- 動き（画面に入ったとき1回だけ。「動きを減らす」の方には動かさない＝html に .mo が付かない） ---------- */
.mo .msreal-col .ks-ttl__catch { border-right-color: transparent; position: relative; }
.mo .msreal-col .ks-ttl__catch::after { content: ""; position: absolute; top: 0; bottom: 0; right: -2px; width: 2px; background: var(--k-ink); transform: scaleY(0); transform-origin: top; }
.mo .msreal-col .ks-ttl.is-in .ks-ttl__catch::after { animation: col-grow-y 1.2s cubic-bezier(.65, 0, .35, 1) .1s forwards; }
.mo .msreal-col .ks-ttl__catch .ln { display: inline-block; opacity: 0; transform: translateY(-16px); }
.mo .msreal-col .ks-ttl.is-in .ks-ttl__catch .ln { animation: col-drop .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * .2s + .15s); }
.mo .msreal-col .ks-ttl__h1 { opacity: 0; }
.mo .msreal-col .ks-ttl.is-in .ks-ttl__h1 { animation: col-fade 1s ease .8s both; }
.mo .col-body .summary li { opacity: 0; transform: translateY(10px); }
.mo .col-body .summary.is-in li { animation: col-rise .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * .18s + .1s); }
.mo .col-body .summary li::before { transform: scale(0); }
.mo .col-body .summary.is-in li::before { animation: col-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(var(--i) * .18s + .35s); }
.mo .col-body .peak .ch { display: inline-block; opacity: 0; transform: translateY(.6em); }
.mo .col-body .peak.is-in .ch { animation: col-rise .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * .06s); }
.mo .col-body .peak + .peak-sub { opacity: 0; }
.mo .col-body .peak.is-in + .peak-sub { animation: col-fade .9s ease both; animation-delay: var(--after, 1.2s); }
.mo .col-body figure [data-st] { opacity: 0; transform: translateY(8px); transform-box: fill-box; }
.mo .col-body figure g[data-st] { transform-box: view-box; }
.mo .col-body figure.is-in [data-st] { animation: col-rise .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * .35s); }
.mo .col-body figure [data-pop] { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
.mo .col-body figure.is-in [data-pop] { animation: col-pop .6s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(var(--i) * .35s); }
.mo .col-body figure [data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mo .col-body figure.is-in [data-draw] { animation: col-draw .8s cubic-bezier(.65, 0, .35, 1) forwards; animation-delay: calc(var(--i) * .35s); }
.mo .col-body figure [data-bar] { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; }
.mo .col-body figure.is-in [data-bar] { animation: col-grow .9s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--i) * .07s); }
.mo .col-body figure .tag { transform-box: view-box; transform-origin: 228px 96px; }
.mo .col-body figure.is-in .tag { animation: col-swing 2.2s cubic-bezier(.16, 1, .3, 1) .5s both; }
@keyframes col-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes col-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes col-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes col-draw { to { stroke-dashoffset: 0; } }
@keyframes col-grow { to { transform: scaleY(1); } }
@keyframes col-grow-y { to { transform: scaleY(1); } }
@keyframes col-drop { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes col-swing {
	0% { transform: translateY(-22px) rotate(-12deg); }
	30% { transform: translateY(4px) rotate(8deg); }
	55% { transform: translateY(0) rotate(-4deg); }
	78% { transform: translateY(2px) rotate(2deg); }
	100% { transform: none; }
}

/* シリーズの続きの道：本数に合わせて列を作る（売却のページの道は5列）。スマホは縦に並べる */
.msreal-col .col-next .ks-route__line { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.msreal-col .col-next .ks-route__line li { font-size: 13px; }
.msreal-col .col-next .ks-route__line li.is-done::after { background: var(--k-ink); }
@media (max-width: 700px) {
	.msreal-col .col-next { padding: 0 20px; }
	.msreal-col .col-next .ks-route__line { display: block; margin-top: 16px; }
	.msreal-col .col-next .ks-route__line li { position: relative; padding: 0 0 0 32px; text-align: left; font-size: 14px; }
	.msreal-col .col-next .ks-route__line li::before { left: 7px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px solid var(--k-ink); }
	.msreal-col .col-next .ks-route__line li:first-child::before { top: 22px; left: 7px; }
	.msreal-col .col-next .ks-route__line li:last-child::before { bottom: auto; height: 22px; right: auto; }
	.msreal-col .col-next .ks-route__line li::after { left: 0; top: 14px; margin-left: 0; }
	.msreal-col .col-next .ks-route__line li.is-now::after { left: -3px; top: 11px; margin-left: 0; }
	.msreal-col .col-next .ks-route__line a { display: flex; align-items: center; min-height: 44px; }
}
/* 書いた人（2026-12-02 悠一さん、見本 A。inc/column.php の msreal_column_author） */
.col-au__ph { display: block; flex: none; border-radius: 50%; overflow: hidden; }
.col-au__ph img { display: block; width: 170%; max-width: none; height: auto; margin: -29% 0 0 -25%; } /* 「担当から、ひと言」と同じ切り方 */
.msreal-col .col-by { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--k-soft); text-align: left; }
.msreal-col .col-by .col-au__ph { width: 36px; height: 36px; }
.msreal-col .col-by b { color: var(--k-ink); font-size: 14px; }
.col-au { max-width: 640px; margin: 64px auto 0; padding: 24px 28px 28px; background: #fff; border-top: 2px solid var(--k-ink); }
.col-au p { margin: 0; }
.col-au__top { display: flex; align-items: center; gap: 18px; }
.col-au__top > div { min-width: 0; }
.col-au .col-au__ph { width: 80px; height: 80px; }
.col-au__lbl { font-size: 12px; color: var(--k-soft); letter-spacing: 0.1em; }
.col-au__name { margin-top: 2px !important; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.25em; }
.col-au__role { font-size: 13px; line-height: 1.6; }
.col-au__bio { margin-top: 16px !important; font-size: 15px; line-height: 1.9; }
.col-au__q { margin-top: 16px !important; padding: 12px 16px; border-left: 3px solid var(--k-ink); background: var(--k-bg); font-size: 15px; line-height: 1.9; }
@media (max-width: 700px) {
	.col-au { margin: 48px 20px 0; padding: 20px 18px 22px; }
	.col-au .col-au__ph { width: 72px; height: 72px; }
	.col-au__bio, .col-au__q { font-size: 14px; }
}
