/* お知らせの記事（.single-news）の目次と本文の終わり。試作 .wrangler/seedtest/review/sidebar/ で決めた形
   目次: 細い枠だけ。番号は文字と同じ色の 1. 2.、下の階層は字下げだけ（赤・飾りなし）
   本文の終わり: シェア → 前後の記事 → お知らせ一覧へ戻る（src/data/notice-sidebar.ts の articleEnd）。旧サイトのシェアのボタン2か所（本文の下・左端）は出さない */

/* 目次 */
.legacy-body.single-news #main_content .p-toc{margin:3em 0;padding:24px 28px;border:1px solid #d9d9d9;border-radius:0;background:none;font-size:15px;line-height:1.7}
.legacy-body.single-news .p-toc .p-toc__ttl{display:block;margin:0 0 10px;padding:0;background:none;color:#333;text-align:left;font-size:15px;font-weight:700;letter-spacing:.04em}
.legacy-body.single-news .p-toc .p-toc__ttl:before{content:none}
.legacy-body.single-news .p-toc .p-toc__list{margin:0;padding:0;border:0;list-style:none;counter-reset:toc}
.legacy-body.single-news .p-toc .p-toc__list>li{counter-increment:toc;margin:0;padding:.3em 0;list-style:none}
.legacy-body.single-news .p-toc .p-toc__list>li>a:before{content:counter(toc) ".";display:inline-block;min-width:1.6em}
.legacy-body.single-news .p-toc .p-toc__list ol{margin:.25em 0 0;padding:0 0 0 1.6em;list-style:none}
.legacy-body.single-news .p-toc .p-toc__list ol li{list-style:none;margin:0;padding:.15em 0;font-size:14px;color:#5c5c5c}
.legacy-body.single-news .p-toc a{color:inherit;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .25s ease}
.legacy-body.single-news .p-toc a:hover{border-bottom-color:currentColor}

/* 旧サイトのシェアのボタン（本文の下・左端に縦に並ぶもの）は出さない。シェアは下の .notice-end にまとめる */
.legacy-body.single-news .c-shareBtns{display:none}

/* 本文の終わり */
.notice-end{margin:3em 0 0;font-family:"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:#333}
.notice-end__msg{margin:0 0 12px;text-align:center;font-size:14px;font-weight:700}
.notice-end__share{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:0;padding:0;list-style:none}
.notice-end__share li{margin:0;padding:0;list-style:none}
.notice-end__share a,.notice-end__share button{display:flex;align-items:center;justify-content:center;width:100%;height:44px;border:0;border-radius:0;color:#fff;font:inherit;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer;transition:opacity .25s}
.notice-end__share a:hover,.notice-end__share button:hover{opacity:.8}
.notice-end__share .-facebook{background:#3b5998}
.notice-end__share .-x{background:#111}
.notice-end__share .-hatebu{background:#00a4de}
.notice-end__share .-line{background:#06c755}
.notice-end__share .-copy{background:#767676}
.notice-end__pn{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:2em}
.notice-end__pn a{display:block;padding:16px 20px;border:1px solid #d9d9d9;color:#333;text-decoration:none;transition:border-color .25s}
.notice-end__pn a:hover{border-color:#333}
.notice-end__pn small{display:block;margin-bottom:4px;color:#5c5c5c;font-size:12px}
.notice-end__pn b{font-size:14px;line-height:1.6}
/* 次の記事: 題名は左、「次の記事 ›」だけ右（右へ進む向きを残す） */
.notice-end__pn .-next small{text-align:right}
.notice-end__back{display:flex;justify-content:center;margin-top:2em}
.notice-end__back a{display:inline-flex;align-items:center;min-height:48px;padding:0 32px;border:1px solid #333;color:#333;font-size:14px;font-weight:700;text-decoration:none;transition:background-color .25s,color .25s}
.notice-end__back a:hover{background:#c90926;border-color:#c90926;color:#fff}
@media (max-width:767px){.notice-end__pn{grid-template-columns:1fr}.notice-end__pn span:empty{display:none}.notice-end__share{grid-template-columns:repeat(3,1fr)}}
@media (prefers-reduced-motion:reduce){.notice-end a,.notice-end button,.legacy-body.single-news .p-toc a{transition:none}}
