/* =====================================================================
   parts-ext.css — v2 記事の追加部品（2026-09-25）
   受領版 parts.css は触らず、ここに足す。色・角丸（右下だけ直角）・影・0.4s の動きは既存に合わせる。
   ap-answer（答え1文）／ap-points（確かめる3点）／ap-details（根拠の折りたたみ）／article__tags（特色タグ）
   ===================================================================== */
.ap-answer { margin: 28px 0; padding: 24px 26px; background: #f8f5f0; border-left: 4px solid var(--article-accent, #23557d); border-radius: 0 16px 16px 0; }
.ap-answer__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #6d5d53; }
.ap-answer__text { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.6; color: var(--navy, #322823); text-wrap: pretty; }
.ap-answer__fits { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-answer__fits li { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--article-accent, #23557d); border: 1px solid rgb(35 85 125 / 15%); }
.ap-answer__fits li::before { content: "向く人："; font-weight: 500; color: #6d5d53; }
.ap-answer__fits li + li::before { content: ""; }
.ap-answer__caveat { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: #6d5d53; }
.article-prose .ap-answer { margin: 0 0 28px; }

.ap-points { counter-reset: p; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ap-points li { counter-increment: p; position: relative; background: #f9f7f4; border-radius: 16px 16px 0 16px; padding: 20px 20px 18px 20px; }
.ap-points__n { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--article-accent, #23557d); color: #fff; font-family: Roboto, "Noto Sans JP", sans-serif; font-weight: 800; font-size: 14px; transform: scale(.6); opacity: 0; transition: transform .4s var(--ap-ease, cubic-bezier(.2,.7,.2,1)), opacity .4s; transition-delay: var(--d, 0s); }
.ap-points__n::before { content: counter(p); }
.ap-points.is-in .ap-points__n, .ap-points:not(.is-built) .ap-points__n { transform: none; opacity: 1; }
.article-prose .ap-points h3 { margin: 12px 0 6px; font-size: 16px; line-height: 1.5; }
.article-prose .ap-points p { margin: 0; font-size: 14px; line-height: 1.8; color: #55473e; }

.ap-details { margin-top: 32px; padding: 4px 0 0; border-top: 1px solid #e8e3d9; font-size: 13px; line-height: 1.9; color: #55473e; }
.ap-details summary { cursor: pointer; padding: 12px 0; color: var(--blue, #23557d); font-weight: 700; }
.ap-details ul { margin: 0 0 12px; padding-left: 18px; list-style: disc; }
.ap-details li + li { margin-top: 6px; }
.ap-details__src { font-size: 12px; margin-left: 4px; }

.article__tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.article__tags li { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--article-accent, #23557d); border: 1px solid rgb(35 85 125 / 18%); }
.article__tags li::before { content: "#"; opacity: .6; margin-right: 2px; }

/* v2 の数字タイル：prefix（約）・比較先（vs）は薄い1行、条件は小さく */
.article-prose .ap-stats__v .ap-stats__pre { display: inline; margin: 0 2px 0 0; font-size: 14px; font-weight: 800; color: var(--ap-ink); }
.article-prose .ap-stats li .ap-stats__d { font-weight: 600; }
.article-prose .ap-stats li .ap-stats__d + .ap-stats__d { font-weight: 500; color: #83756c; margin-top: 4px; }

@media (max-width: 767px) {
  .ap-answer { padding: 20px 18px; }
  .ap-answer__text { font-size: 19px; }
  .ap-points { grid-template-columns: 1fr; }
}

/* ap-details ± 折りたたみ（2026-09-28 SOU：出典は＋／−で開閉、既定は閉じる） */
.ap-details > summary { list-style: none; display: flex; align-items: center; gap: 10px; }
.ap-details > summary::-webkit-details-marker { display: none; }
.ap-details > summary::before { content: "+"; flex: 0 0 auto; width: 22px; height: 22px; border: 1px solid var(--blue, #23557d); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; font-weight: 700; color: var(--blue, #23557d); }
.ap-details[open] > summary::before { content: "−"; }
.ap-details.article-sources { margin-top: 32px; padding-top: 4px; border-top: 1px solid #e8e3d9; }
.article-prose .ap-details.article-sources summary h2 { margin: 0; padding: 0; font-size: 15px; font-weight: 700; color: var(--blue, #23557d); background: none; display: inline; }
.article-prose .ap-details.article-sources summary h2::before { display: none; }
.ap-details.article-sources ul { margin: 0 0 12px; }

/* ap-next3：答えの直下に置く「次に読む」3択の小さな箱（2026-09-28 SOU） */
.ap-next3 { margin: 14px 0 26px; padding: 12px 16px; border: 1px solid #e8e3d9; border-radius: 12px; background: #fff; }
.ap-next3__eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #6d5d53; }
.ap-next3 ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px 14px; }
.ap-next3 li a { display: block; text-decoration: none; color: var(--navy, #322823); font-size: 13px; line-height: 1.5; }
.ap-next3 li a:hover .ap-next3__ttl { text-decoration: underline; }
.ap-next3__cat { display: inline-block; margin-bottom: 3px; padding: 1px 8px; border-radius: 999px; background: #f8f5f0; color: var(--blue, #23557d); font-size: 11px; font-weight: 700; }
.ap-next3__ttl { display: block; font-weight: 700; }
@media (max-width: 767px){ .ap-next3 ul { grid-template-columns: 1fr; } .ap-next3 li a { display: flex; gap: 8px; align-items: baseline; } .ap-next3__cat { flex: 0 0 auto; margin: 0; } }
