/* 特車サイトの記事の部品（tokusya Issue #12・2026-10-15）。産廃サイトの記事の部品（sa-）を、特車サイトの色（tk.css の変数：紺×標識の黄色）で使うために名前を ta- に変えたもの。.ta-doc の中で使う */
/* ============================================================
   記事の部品（kumamoto-keisin Issue #40・2026-10-10）
   書き直した記事を、流れ・カード・料金・チェックリストで見せる。.ta-doc の中だけに効く
   ============================================================ */
#content .ta-doc { --ta-r: 10px; }
#content .ta-doc h2 { margin-top: 56px !important; }
#content .ta-doc strong { color: var(--kk-teal-dark); }

/* 導入 */
#content .ta-lead { margin: 4px 0 8px; padding: 22px 26px 18px; border-radius: var(--ta-r); background: linear-gradient(135deg, #f6f8fb, #e9eef6); border: 1px solid var(--kk-line); }
#content .ta-lead__tag { display: inline-block; margin-bottom: 10px; padding: 3px 12px; border-radius: 999px; background: var(--kk-teal); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
#content .ta-lead p { margin: 0 0 6px !important; }
#content .ta-lead p.ta-lead__note { margin: 8px 0 0 !important; font-size: 14px !important; color: var(--kk-sub); }

/* 流れ（縦の線でつなぐ） */
#content ol.ta-flow { list-style: none !important; margin: 24px 0 8px !important; padding: 0 !important; counter-reset: none; }
#content ol.ta-flow > li { position: relative; display: flex; gap: 18px; margin: 0 !important; padding: 0 0 26px !important; list-style: none !important; }
#content ol.ta-flow > li::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: linear-gradient(var(--kk-line), var(--kk-line)); }
#content ol.ta-flow > li:last-child { padding-bottom: 0 !important; }
#content ol.ta-flow > li:last-child::before { display: none; }
#content .ta-flow__no { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--kk-teal); color: var(--kk-teal); font: 700 18px/1 var(--kk-sans, sans-serif); position: relative; z-index: 1; }
#content ol.ta-flow > li.is-key .ta-flow__no { background: var(--kk-teal); color: #fff; }
#content ol.ta-flow > li.is-goal .ta-flow__no { background: var(--kk-orange); border-color: var(--kk-orange); color: #fff; }
#content .ta-flow__body { flex: 1; min-width: 0; padding: 4px 0 0; }
#content .ta-doc h3.ta-flow__title { display: block; margin: 0 0 4px !important; padding: 0 !important; border: none !important; font-size: 18px !important; line-height: 1.6 !important; }
#content .ta-flow__chip { display: inline-block; vertical-align: 2px; padding: 1px 10px; border-radius: 999px; background: var(--kk-orange-soft); color: #7a5600; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
#content .ta-flow__body p { margin: 6px 0 0 !important; color: var(--kk-ink); }
#content ol.ta-flow > li.is-key .ta-flow__body { padding: 12px 16px 14px; border-radius: var(--ta-r); background: #eef3fa; }

/* 受付月（カード） */
#content p.ta-months__lead { margin: 0 0 14px !important; }
#content ul.ta-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 14px !important; padding: 0 !important; list-style: none !important; }
#content ul.ta-months > li { margin: 0 !important; padding: 14px 16px !important; list-style: none !important; border: 1px solid var(--kk-line); border-radius: var(--ta-r); background: #fff; display: flex; flex-direction: column; gap: 2px; }
#content ul.ta-months > li::before { display: none !important; }
#content .ta-months__m { color: var(--kk-teal); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
#content .ta-months__m b { font-size: 28px; line-height: 1.1; margin-right: 1px; font-family: var(--kk-serif, serif); }
#content .ta-months__k { font-size: 14.5px; line-height: 1.6; color: var(--kk-ink); }
#content p.ta-note { font-size: 14.5px !important; color: var(--kk-sub); }

/* 囲み（準備・注意・事務所） */
#content .ta-callout, #content .ta-warn, #content .ta-office { margin: 18px 0; padding: 18px 22px; border-radius: var(--ta-r); }
#content .ta-callout { background: #eef3fa; border-left: 4px solid var(--kk-teal); }
#content .ta-warn { background: var(--kk-orange-soft); border-left: 4px solid var(--kk-orange); }
#content .ta-office { background: var(--kk-teal); color: #fff; }
#content .ta-callout p, #content .ta-warn p, #content .ta-office p { margin: 0 0 6px !important; }
#content .ta-callout p:last-child, #content .ta-warn p:last-child, #content .ta-office p:last-child { margin-bottom: 0 !important; }
#content p.ta-callout__title, #content p.ta-warn__title, #content p.ta-office__title { font-weight: 700; font-size: 17px !important; color: var(--kk-teal-dark); }
#content p.ta-warn__title { color: #7a5600; }
#content p.ta-warn__title::before { content: "⚠"; margin-right: 6px; }
#content .ta-office p, #content .ta-office strong { color: #fff; }
#content p.ta-office__title { color: #fff; }
#content p.ta-callout__sub { font-size: 14.5px !important; color: var(--kk-sub); }

/* 手数料 */
#content .ta-fee { margin: 18px 0 14px; border: 1px solid var(--kk-line); border-radius: var(--ta-r); overflow: hidden; }
#content p.ta-fee__formula { margin: 0 !important; padding: 14px 20px; background: #f6f8fb; border-bottom: 1px solid var(--kk-line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
#content p.ta-fee__formula span { font-size: 14px; color: var(--kk-sub); }
#content p.ta-fee__formula strong { font-size: 18px; }
#content ul.ta-fee__list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 !important; padding: 0 !important; list-style: none !important; }
#content ul.ta-fee__list > li { margin: 0 !important; padding: 16px 10px !important; list-style: none !important; text-align: center; border-left: 1px solid var(--kk-line); display: flex; flex-direction: column; gap: 2px; }
#content ul.ta-fee__list > li:first-child { border-left: none; }
#content ul.ta-fee__list > li::before { display: none !important; }
#content ul.ta-fee__list span { font-size: 14px; color: var(--kk-sub); }
#content ul.ta-fee__list b { font-size: 26px; line-height: 1.3; color: var(--kk-teal-dark); font-family: var(--kk-serif, serif); white-space: nowrap; }
#content ul.ta-fee__list small { font-size: 14px; margin-left: 2px; font-family: var(--kk-sans, sans-serif); }

/* チェックリスト */
#content ul.ta-check { margin: 14px 0 !important; padding: 0 !important; list-style: none !important; }
#content ul.ta-check > li { position: relative; margin: 0 0 10px !important; padding: 14px 18px 14px 52px !important; list-style: none !important; border: 1px solid var(--kk-line); border-radius: var(--ta-r); background: #fff; }
#content ul.ta-check > li::before { content: "✓"; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--kk-teal); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
#content .ta-check__t { display: block; font-weight: 700; color: var(--kk-teal-dark); }

#content .ta-doc p:empty { display: none; }
#content p.ta-office__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
#content .ta-office__btns a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none !important; }
#content .ta-office__btns a.ta-office__tel { background: #fff; color: var(--kk-teal-dark) !important; }
#content .ta-office__btns a.ta-office__tel b { font-size: 18px; letter-spacing: .04em; }
#content .ta-office__btns a.ta-office__mail { background: #fff; border: 1px solid #fff; color: var(--kk-teal-dark) !important; } /* メールも電話と同じ白いボタンに（担当者の案 2026-10-14） */
@media (max-width: 600px) {
	#content .ta-lead { padding: 18px 18px 14px; }
	#content ul.ta-months { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--kk-line); border-radius: var(--ta-r); overflow: hidden; }
	#content ul.ta-months > li { flex-direction: row; align-items: center; gap: 14px; border: none; border-radius: 0; border-top: 1px solid var(--kk-line); padding: 10px 16px !important; }
	#content ul.ta-months > li:first-child { border-top: none; }
	#content .ta-months__m { flex: 0 0 5.6em; }
	#content .ta-months__m b { font-size: 24px; }
	#content ol.ta-flow > li { gap: 12px; }
	#content .ta-flow__no { flex-basis: 36px; height: 36px; font-size: 16px; }
	#content ol.ta-flow > li::before { left: 17px; top: 38px; }
	#content .ta-doc h3.ta-flow__title { font-size: 17px !important; }
	#content ol.ta-flow > li.is-key .ta-flow__body { padding: 10px 12px 12px; }
	#content ul.ta-fee__list b { font-size: 21px; }
	#content .ta-callout, #content .ta-warn, #content .ta-office { padding: 16px 16px; }
	#content ul.ta-check > li { padding: 12px 14px 12px 46px !important; }
	#content ul.ta-check > li::before { left: 12px; top: 13px; }
}

/* 点数表に罫線と見出しの色（罫線がなく読みにくかったため。2026-10-12） */
#content table.ta-points { width: 100%; margin: 14px 0 18px !important; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
#content table.ta-points th, #content table.ta-points td { padding: 9px 12px !important; border: 1px solid var(--kk-line) !important; text-align: left; vertical-align: top; }
#content table.ta-points th { background: #e9eef6; color: var(--kk-teal-dark); font-weight: 700; font-size: 14px; }
#content table.ta-points td[rowspan] { background: #fafbfc; font-weight: 700; color: var(--kk-teal-dark); }
@media (max-width: 600px) { #content table.ta-points { font-size: 13.5px; } #content table.ta-points th, #content table.ta-points td { padding: 7px 8px !important; } }


/* 表は最後の列も折り返す（車サイトは文章の表が多い） */
#content table.ta-points.ta-points--key td:first-child { min-width: 7.5em; }
#content table.ta-points.ta-points--name td:first-child { width: 9em; min-width: 5.5em; }
@media (max-width: 600px) { #content table.ta-points.ta-points--name td:first-child { width: 6em; } } /* 品目名の列（産業廃棄物の種類など）。「紙くず」が折れないように */
#content .ta-doc h2 { margin-top: 48px !important; }
#content .ta-doc .ta-addr { margin: 10px 0; padding: 14px 18px; border: 1px dashed var(--kk-teal); border-radius: var(--ta-r); background: #fff; }
#content .ta-doc .ta-addr p { margin: 0 !important; }
#content p.ta-source { margin: 28px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--kk-line); font-size: 13px !important; line-height: 1.7 !important; color: var(--kk-sub); }

/* 画面の写真（講習会の申込み方法マニュアルなど）。PCでは大きくなりすぎないように幅を抑える */
#content .ta-doc figure.ta-shot { max-width: 560px; margin: 16px auto 22px !important; }
#content .ta-doc figure.ta-shot img { width: 100%; margin: 0 0 6px; }
#content .ta-doc figure.ta-shot figcaption { font-size: 14px; line-height: 1.6; color: var(--kk-sub); text-align: center; }
#content .ta-doc figure.ta-shot a { display: block; }

/* 3つの制度を見比べる表：見出しの行を紺に、ゴールドの列に色 */
#content table.ta-points.ta-cmp th { background: var(--tk-navy); color: #fff; }
#content table.ta-points.ta-cmp th.is-gold { background: var(--tk-gold); }
#content table.ta-points.ta-cmp td.is-gold { background: #fdf8ea; }
#content table.ta-points.ta-cmp td:first-child { background: #f6f8fb; font-weight: 700; color: var(--kk-teal-dark); }
/* 導入の帯：特車ゴールドの記事は金色のタグ */
#content .ta-lead__tag.is-gold { background: var(--tk-gold); }
