/* コラムの記事と一覧。style.css の後に読み込む。基準：naoseru_com/DESIGN.md */
.column-page { max-width: 880px; margin: 0 auto; padding: 12px 20px 48px; }
.column-article { max-width: 720px; margin: 0 auto; }
.column-page :is(a,summary):focus-visible { outline: 3px solid #b91c37; outline-offset: 3px; }

/* 記事の冒頭 */
.column-kicker { color: var(--blue-heading); font-size: 13px; font-weight: 700; }
.column-head h1 { margin-top: 6px; font-size: clamp(24px, 5vw, 32px); font-weight: 900; line-height: 1.45; letter-spacing: -.01em; }
.column-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 12px; font-size: 13px; color: var(--gray); }
.column-eyecatch { display: block; width: 100%; height: auto; margin-top: 20px; border: 1px solid #e5e7eb; border-radius: 8px; }

/* 本文 */
.column-body { margin-top: 28px; font-size: 16px; line-height: 1.95; }
.column-body p { margin-top: 1.1em; }
.column-lead p:first-child { margin-top: 0; }
.column-lead { font-weight: 500; }
.column-body a { color: #145da6; text-underline-offset: 3px; }
.column-body a[target="_blank"]::after { content: "↗"; margin-left: 2px; font-size: .8em; }
.column-body h2 { margin-top: 48px; padding-bottom: 10px; border-bottom: 3px solid var(--aqua); color: var(--blue-heading); font-size: 22px; font-weight: 900; line-height: 1.5; scroll-margin-top: 84px; }
.column-body h3 { margin-top: 28px; font-size: 18px; font-weight: 700; line-height: 1.6; }
.column-body :is(ul,ol):not(.column-toc ol) { margin-top: 1.1em; padding-left: 1.4em; }
.column-body ul:not(.column-toc ol) { list-style: disc; }
.column-body ol:not(.column-toc ol) { list-style: decimal; }
.column-body li + li { margin-top: .4em; }
.column-note { padding: 14px 16px; border-radius: 6px; background: #fef9c3; font-size: 14px; line-height: 1.85; }

/* 目次 */
.column-toc { margin-top: 28px; padding: 16px 20px 18px; border-radius: 8px; background: #f4f8fb; }
.column-body .column-toc p { margin: 0; font-size: 14px; font-weight: 700; }
.column-toc ol { margin-top: 8px; padding-left: 1.5em; list-style: decimal; font-size: 14px; line-height: 1.7; }
.column-toc li + li { margin-top: 4px; }

/* 表 */
.column-table-wrap { margin-top: 20px; overflow-x: auto; }
.column-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.column-table th { padding: 10px; background: #edf6fc; color: #145da6; font-weight: 700; text-align: left; white-space: nowrap; }
.column-table td { padding: 10px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.column-table .num { text-align: right; white-space: nowrap; }
.column-table .model { font-weight: 700; white-space: nowrap; }
.column-table-note { font-size: 13px; color: var(--gray); }
.column-body .column-table-note { margin-top: 8px; line-height: 1.7; }

/* 買取への案内 */
.column-cta { margin-top: 40px; padding: 26px 20px; border-radius: 8px; background: #edf6fc; text-align: center; }
.column-cta p { font-weight: 700; line-height: 1.7; }
.column-cta__button { display: flex; justify-content: center; align-items: center; max-width: 340px; margin: 14px auto 0; padding: 15px 16px; border: 1px solid #dfc800; border-radius: 5px; background: #ffe400; color: #332f00; font-weight: 900; text-decoration: none; }
.column-cta__button:hover { background: #fff063; }
.column-cta__link { display: inline-block; margin-top: 14px; color: #145da6; font-size: 14px; text-underline-offset: 3px; }
.column-cta-soft { margin-top: 40px; font-size: 15px; line-height: 1.9; }
.column-cta-soft a { margin-left: .5em; color: #145da6; }

/* 確認日・著者・関連 */
.column-dates { margin-top: 28px; font-size: 12px; color: #536272; line-height: 1.9; }
.column-author { margin-top: 24px; padding: 18px 20px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; line-height: 1.85; }
.column-author__name { font-weight: 700; }
.column-author p + p { margin-top: 6px; }
.column-author__company { color: #536272; font-size: 12px; }
.column-author a { color: #145da6; }
.column-related { margin-top: 32px; }
.column-related__title { color: var(--blue-heading); font-size: 16px; font-weight: 900; }
.column-related ul { margin-top: 10px; border-top: 1px solid #d4dee8; }
.column-related a { display: block; padding: 14px 4px; border-bottom: 1px solid #d4dee8; color: inherit; text-decoration: none; }
.column-related a:hover { background: #f2f7fc; }
.column-related strong { display: block; color: #145da6; font-size: 15px; line-height: 1.6; }
.column-related span { display: block; margin-top: 2px; color: #536272; font-size: 13px; line-height: 1.7; }

/* 一覧 */
.column-index-head h1 { color: var(--blue-heading); font-size: clamp(26px, 5vw, 32px); font-weight: 900; line-height: 1.4; }
.column-index-head p { margin-top: 10px; font-size: 15px; line-height: 1.9; }
.column-list, .column-related ul { padding: 0; list-style: none; }
.column-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.column-card { display: block; height: 100%; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 8px; color: inherit; text-decoration: none; }
.column-card:hover { border-color: var(--blue-heading); }
.column-card img { display: block; width: 100%; height: auto; }
.column-card__body { display: block; padding: 14px 16px 16px; }
.column-card__type { display: block; color: var(--blue-heading); font-size: 12px; font-weight: 700; }
.column-card strong { display: block; margin-top: 4px; font-size: 16px; line-height: 1.6; }
.column-card time { display: block; margin-top: 8px; color: var(--gray); font-size: 12px; }

@media (max-width: 600px) {
  .column-page { padding: 8px 16px 40px; }
  .column-body h2 { margin-top: 40px; font-size: 20px; }
  .column-table { font-size: 13px; }
  .column-table :is(th,td) { padding: 9px 7px; }
  .column-list { grid-template-columns: 1fr; }
}
