/* コラムと、同じ記事部品を使う案内ページ。 */
.column-hero { background: #f2f6f3; border-bottom: 1px solid #dce5df; padding: 30px 0 48px; }
.column-hero h1 { letter-spacing: -.025em; margin: 14px 0 17px; }
.column-deck { font-size: 18px; line-height: 1.9; }
.column-deck + .column-deck { margin-top: 16px; }
.column-meta { margin-top: 20px; }
.column-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.column-actions .button { font-size: 14px; min-height: 46px; padding: 10px 18px; }
.column-text-link { font-size: 14px; font-weight: 700; color: #245e4c; text-decoration: underline; text-underline-offset: 5px; }
.column-copy { background: none; border: 0; color: #52635b; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; padding: 8px 0; line-height: 1.6; }
.small-break { display: none; }
.column-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 54px; align-items: start; padding-block: 42px 64px; }
.column-toc { position: sticky; top: 112px; font-size: 13px; }
.column-toc nav { display: grid; gap: 9px; border-left: 2px solid #dce5df; padding-left: 17px; }
.column-toc a { color: #46594e; line-height: 1.8; overflow-wrap: anywhere; }
.column-toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.column-toc-contact { display: block; border-top: 1px solid #dce5df; margin-top: 23px; padding-top: 18px; font-weight: 700; }
.column-toc > p,.invoice-toc-content > p,.invoice-takeaways h2 { margin: 0 0 15px; font-size: 15px; font-weight: 700; line-height: 1.8; }
.column-body { min-width: 0; max-width: 850px; }
.column-layout > .column-body { grid-column: -2 / -1; }
.column-body p { font-size: 16px; line-height: 2; margin: 0 0 18px; }
.column-body strong { font-weight: 700; }
.column-list { padding-inline-start: 1.6em; line-height: 1.9; }
.column-list li + li { margin-top: .75em; }
.column-list li > p { margin-top: .75em; }
.column-opening { padding-bottom: 8px; }
.column-section { padding: 42px 0; border-top: 1px solid #dce5df; scroll-margin-top: 24px; }
.column-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.column-section-heading>span { color: #245e4c; font: 700 11px/1.7 Arial,sans-serif; letter-spacing: .08em; }
.column-body h2 { line-height: 1.65; margin-bottom: 24px; letter-spacing: -.025em; }
.column-body h3 { line-height: 1.75; margin: 25px 0 12px; }
.approach-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 0 0 26px; }
.approach-card { border: 1px solid #ceddd3; border-radius: 8px; padding: 22px; background: #f6f9f6; }
.approach-card h3 { margin: 14px 0 16px; }
.approach-label { color: #245e4c; font-weight: 700; font-size: 11px; }
.timing { display: flex; flex-direction: column; align-items: start; gap: 6px; margin-bottom: 17px; }
.timing span { font-size: 11px; padding: 3px 8px; background: #e3ede5; color: #294939; border-radius: 3px; }
.approach-card p { font-size: 14px; margin-bottom: 15px; }
.approach-card .approach-example { font-size: 12px; border-top: 1px solid #d4e0d7; padding-top: 14px; margin-bottom: 0; color: #52635b; }
.column-note,.meeting-memo { margin-top: 22px; }
.column-note p,.meeting-memo>p { font-size: 14px; margin: 14px 0 0; }
.column-body .source-link { display: block; text-decoration: underline; text-underline-offset: 3px; margin-top: 8px; overflow-wrap: anywhere; }
.comparison-table-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid #dce5df; border-radius: 7px; }
.comparison-table-wrap:focus-visible { outline: 3px solid #245e4c; outline-offset: 4px; }
.comparison-table { border-collapse: collapse; width: 100%; min-width: 580px; font-size: 13px; line-height: 1.9; }
.comparison-table caption { text-align: left; background: #f1f6f2; font-size: 15px; font-weight: 700; padding: 15px 17px; border-bottom: 1px solid #dce5df; }
.comparison-table th,.comparison-table td { text-align: left; vertical-align: top; padding: 15px 14px; border-bottom: 1px solid #e1e8e3; border-right: 1px solid #e1e8e3; }
.comparison-table thead th { background: #f7f9f7; font-size: 13px; }
.comparison-table th[scope=row] { width: 19%; font-size: 12px; }
.comparison-table td { width: 40.5%; }
.comparison-table tr:last-child>* { border-bottom: 0; }
.comparison-table tr>*:last-child { border-right: 0; }
.column-body .table-hint { margin: 7px 0 20px; display: none; }
.column-body .column-callout { padding: 20px 23px; border-left: 4px solid #8aac97; background: #f2f6f3; font-size: 14px; margin: 24px 0 0; }
.case-list { counter-reset: cases; }
.case-list>div { padding: 18px 0 10px; border-top: 1px solid #e1e8e3; }
.case-list h3 { margin: 0 0 8px; }
.case-list p { font-size: 15px; }
.hybrid-flow { margin: 24px 0; padding: 21px; background: #f1f6f2; border-radius: 7px; }
.hybrid-flow figcaption { font-size: 12px; color: #52635b; margin-bottom: 17px; }
.hybrid-flow ol { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; padding: 0; margin: 0; }
.hybrid-flow li { position: relative; background: #fff; border: 1px solid #cfddd3; border-radius: 6px; padding: 15px 10px; text-align: center; line-height: 1.6; }
.hybrid-flow li+li:before { content: '→'; position: absolute; left: -22px; top: 40%; color: #688672; }
.hybrid-flow span { display: block; color: #245e4c; font-size: 11px; margin-bottom: 7px; }
.hybrid-flow strong { font-size: 14px; }
.demo-reference { padding: 15px 0; }
.demo-reference>a { font-size: 15px; color: #245e4c; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.demo-reference>small { display: block; margin-top: 10px; line-height: 1.8; }
.discovery-questions { list-style: none; padding: 0; margin: 25px 0; counter-reset: questions; }
.discovery-questions>li { counter-increment: questions; position: relative; padding: 22px 0 18px 46px; border-top: 1px solid #e1e8e3; }
.discovery-questions>li:before { content: counter(questions); position: absolute; left: 0; top: 24px; width: 28px; height: 28px; background: #e5efe7; color: #245e4c; font: 700 13px/28px Arial; text-align: center; border-radius: 50%; }
.discovery-questions h3 { margin: 0 0 9px; }
.discovery-questions p { font-size: 14px; margin-bottom: 0; }
.meeting-memo pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/2 var(--font); padding: 18px; background: white; border: 1px solid #e1e8e3; border-radius: 4px; margin: 18px 0; }
.meeting-memo .button { font-size: 13px; min-height: 44px; }
.trial-checks { padding-left: 21px; font-size: 15px; line-height: 1.9; }
.trial-checks li { padding-left: 3px; margin-bottom: 12px; }
.column-cta { background: #edf4ef; padding: 28px; border-radius: 8px; margin-top: 32px; }
.column-cta h3 { margin: 0 0 14px; }
.column-cta p { font-size: 15px; }
.column-cta .button { font-size: 14px; margin: 3px 0 19px; }
.column-cta>.column-text-link { display: block; font-size: 13px; }
.column-cta > .column-actions:first-child { margin-top: 0; }
.column-cta .column-actions .button { margin: 0; }
.column-end { border-top: 1px solid #dce5df; padding-top: 26px; }
.column-end>a { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.copy-status:empty { display: none; }
.copy-status { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); width: max-content; background: #173e30; color: #fff; padding: 10px 18px; border-radius: 7px; box-shadow: 0 6px 30px #122c2a25; z-index: 35; font-size: 13px; }
.copy-fallback { position: fixed; inset: auto 16px 80px; max-width: 650px; margin: auto; border: 1px solid #9ebaae; border-radius: 7px; padding: 18px; background: #fff; z-index: 36; box-shadow: 0 6px 30px #122c2a25; font-size: 13px; }
.copy-fallback textarea { width: 100%; display: block; margin: 10px 0; border: 1px solid #9ebaae; }
.copy-fallback button { padding: 5px 14px; border: 1px solid #9ebaae; background: #edf4ef; border-radius: 4px; }

@media(max-width:1000px) {
  .column-layout { grid-template-columns: 1fr; gap: 32px; }
  .column-toc { position: static; }
  .column-toc nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .column-toc-contact { margin-top: 15px; padding-top: 12px; }
  .column-body { max-width: none; }
}

@media(max-width:600px) {
  .column-hero { padding: 22px 0 32px; }
  .column-hero h1 { margin-top: 11px; }
  .column-deck { font-size: 15px; }
  .column-actions { gap: 14px; }
  .column-actions .button,.column-text-link { font-size: 12px; }
  .column-actions .column-copy { font-size: 11px; }
  .small-break { display: inline; }
  .column-layout { padding-block: 28px 40px; gap: 28px; }
  .column-toc nav { grid-template-columns: 1fr; }
  .column-body p { font-size: 15px; line-height: 1.95; }
  .column-section { padding: 32px 0; }
  .column-section-heading { align-items: flex-start; gap: 8px; }
  .column-section-heading>span { font-size: 10px; padding-top: 8px; }
  .column-body h2 { margin-bottom: 20px; }
  .column-body h2 br { display: none; }
  .approach-grid { grid-template-columns: 1fr; gap: 14px; }
  .approach-card { padding: 20px; }
  .approach-card p { font-size: 14px; }
  .approach-card .approach-example { font-size: 12px; }
  .column-body .table-hint { display: block; }
  .column-body .column-callout { padding: 17px; font-size: 13px; }
  .column-note p,.meeting-memo>p { font-size: 13px; }
  .hybrid-flow { padding: 18px; }
  .hybrid-flow ol { grid-template-columns: 1fr; gap: 25px; }
  .hybrid-flow li { padding: 13px; }
  .hybrid-flow strong br { display: none; }
  .hybrid-flow li+li:before { content: '↓'; left: calc(50% - 6px); top: -26px; }
  .hybrid-flow span { margin-bottom: 4px; }
  .discovery-questions>li { padding-left: 38px; }
  .discovery-questions p { font-size: 14px; }
  .meeting-memo pre { padding: 13px; font-size: 12px; }
  .column-cta { padding: 21px; }
  .column-cta .button { font-size: 13px; padding: 12px 14px; }
}

@media print {
  .site-header,.site-footer,.column-toc,.column-actions,.column-copy,.column-cta,.copy-status,.copy-fallback { display: none!important; }
  .column-wrap { width: 100%; }
  .column-layout { display: block; padding: 0; }
  .column-hero { background: none; padding: 0 0 25px; }
  .column-hero h1 { font-size: 26px; }
  .column-body { max-width: none; }
  .column-body p { font-size: 11pt; }
  .column-section { padding: 20px 0; }
  .column-body h2 { font-size: 19pt; }
  .comparison-table-wrap { overflow: visible; }
  .comparison-table { min-width: 0; font-size: 9pt; }
  .table-hint { display: none!important; }
  .approach-card,.hybrid-flow,.case-list>div,.discovery-questions>li { break-inside: avoid; }
  .column-end p { font-size: 9pt; }
  a { color: inherit; }
}

/* プログラムとAIの違いを伝える枠（2026-09-30） */
.column-body .column-key h3 { line-height: 1.75; margin: 0 0 10px; color: #13223c; }
.column-body .column-key p { margin: 0; }
.column-body .column-key p+p { margin-top: 10px; }

/* 本文の終わりの、点検日和・診断と修復への案内のリンク（2026-10-09） */
.column-related a { color: #245e4c; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* 表をカードに切り替える記事では、従来の表の表示を保つ。 */
:where(.column-reference-layout) .comparison-table th[scope=row] { width: auto; }
:where(.column-reference-layout) .comparison-table td { width: auto; }
:where(.column-reference-layout) .comparison-table td::before { display: none; }

@media(max-width:600px) {
  :where(.column-reference-layout) .comparison-table-wrap { overflow: visible; border: 0; border-radius: 0; }
  :where(.column-reference-layout) .comparison-table { display: block; min-width: 0; width: 100%; font-size: 14px; line-height: 1.8; }
  :where(.column-reference-layout) .comparison-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  :where(.column-reference-layout) .comparison-table tbody { display: grid; gap: 12px; }
  :where(.column-reference-layout) .comparison-table tr { display: block; padding: 12px; border: 1px solid #dce5df; border-radius: 7px; background: #fff; }
  :where(.column-reference-layout) .comparison-table th[scope=row] { display: block; width: auto; padding: 8px 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  :where(.column-reference-layout) .comparison-table td { display: block; width: auto; padding: 8px 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  :where(.column-reference-layout) .comparison-table th[scope=row] { font-size: 15px; color: #245e4c; background: #f2f6f3; padding: 10px 12px; margin: -12px -12px 6px; border-radius: 7px 7px 0 0; }
  :where(.column-reference-layout) .comparison-table td+td { border-top: 1px solid #e1e8e3; }
  :where(.column-reference-layout) .comparison-table td:last-child { padding-bottom: 0; }
  :where(.column-reference-layout) .comparison-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; line-height: 1.6; color: #52635b; margin-bottom: 2px; }
}

/* 参照資料を扱う記事のリストとリンク。 */
:where(.column-reference-layout) .column-body ul { padding-left: 1.5em; font-size: 16px; line-height: 2; }
:where(.column-reference-layout) .column-body li { margin-bottom: 12px; }
:where(.column-reference-layout) .column-body p>a { color: #245e4c; text-decoration: underline; text-underline-offset: 4px; }
:where(.column-reference-layout) .column-body li>a { color: #245e4c; text-decoration: underline; text-underline-offset: 4px; }
:where(.column-reference-layout) .column-hero h1>span { display: inline-block; }
:where(.column-reference-layout) .column-hero h1>span { background: none; }

/* 目次は狭い画面では開閉式、広い画面ではスクロールに追従する。 */
.invoice-toc-details[open]>.invoice-toc-content { padding-block: 5px 18px; }

@media (max-width: 1000px) {
  .invoice-toc-content > p,
  .invoice-toc-content > .invoice-takeaways > h2 { display: none; }
}

@media(min-width:1001px) {
  .column-toc { position: sticky; top: 112px; max-height: calc(100dvh - 128px); overflow-y: auto; scrollbar-gutter: stable; }
  main.qz-public .invoice-toc-details[open] { border: 0; }
  main.qz-public .invoice-toc-details[open]>summary { display: none; }
  .invoice-toc-details[open]>.invoice-toc-content { padding-block: 0; }
  :where(main:has(.invoice-toc-details)) .column-section { scroll-margin-top: 112px; }
}

.invoice-replay-note { line-height: 1.9; margin-top: 16px; }
.invoice-takeaways { margin-bottom: 24px; }
.invoice-takeaways ul { margin: 0; padding: 0; list-style: none; line-height: 1.8; }
.invoice-takeaways li+li { margin-top: 8px; }
.invoice-intro-media { margin: 8px 0 32px; }
.column-body .invoice-demo-intro { padding: 18px 20px; background: #f2f6f3; border-left: 4px solid #8aac97; font-size: 15px; }
.invoice-intro-media .qz-video { margin: 24px 0 0; }
.invoice-reference { margin: 24px 0; }
.column-body .invoice-reference p { font-size: 14px; line-height: 1.9; }
.column-body .invoice-reference p:last-child { margin-bottom: 0; }
.column-body .invoice-demo-intro { margin-top: 24px; }

@media(max-width:600px) {
  .invoice-takeaways { margin-bottom: 20px; }
  .invoice-intro-media .qz-video h2 { font-size: 20px; }
}
