@charset "utf-8";
/* トピックス一覧（topics/index.html）専用。デザイン topics_design.html の .page-topics 部分を移植 */
/* トピックス：記事は常時展開。固有IDへ直接リンク可能。 */
.page-topics .topics-wide { width: min(100%,80rem); margin-inline: auto; }
.page-topics .topics-hero { position: relative; isolation: isolate; padding: 2rem clamp(1.5rem,4vw,5rem) 4rem; }
.page-topics .topics-hero > .kitec-hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.page-topics .breadcrumb { margin-bottom: 3rem; }
.page-topics .topics-hero h1 { margin: 0; color: #222222; font-size: clamp(2.25rem,4.2vw,3.75rem); font-weight: 800; line-height: 1.5; letter-spacing: .025em; }
.page-topics .topics-section { padding: 4rem clamp(1.5rem,4vw,5rem) 5rem; background: #fff; }
.page-topics .topics-reading { width: 100%; max-width: 68rem; margin-inline: auto; }
.page-topics .topics-article { position: relative; display: grid; grid-template-columns: 9rem minmax(0,1fr); gap: 2rem; padding: 3rem 1.5rem; border-top: 1px solid #d6e8f1; scroll-margin-top: 9rem; transition: background .3s; }
.page-topics .topics-article:last-child { border-bottom: 1px solid #d6e8f1; }
.page-topics .topics-article:target,.page-topics .topics-article:has(.topics-legacy-anchor:target) { background: #edf8ff; border-top-color: #0764a5; }
.page-topics .topics-article:focus { outline: none; }
.page-topics .topics-article:focus-visible { outline: 2px solid #0764a5; outline-offset: 4px; }
.page-topics .topics-body a:focus-visible,.page-topics .topics-back-top:focus-visible { outline: 2px solid #0764a5; outline-offset: 4px; }
.page-topics .topics-legacy-anchor { position: absolute; top: 0; left: 0; width: 0; height: 0; scroll-margin-top: 9rem; }
.page-topics .topics-date { display: block; padding-top: .2rem; color: #0764a5; font-size: 1rem; font-weight: 700; line-height: 1.8; letter-spacing: .025em; }
.page-topics .topics-copy { min-width: 0; }
.page-topics .topics-copy h2 { margin: 0; font-size: 1.5rem; font-weight: 800; line-height: 1.75; letter-spacing: .025em; word-break: normal; overflow-wrap: anywhere; }
.page-topics .topics-body { margin-top: 1.5rem; color: #222222; font-size: 1.125rem; line-height: 2; letter-spacing: .04em; overflow-wrap: anywhere; }
.page-topics .topics-body strong { font-weight: 700; }
.page-topics .topics-body a { color: #0764a5; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.page-topics .topics-body a:hover { text-decoration-thickness: 2px; }
.page-topics .topics-back-top { display: flex; align-items: center; justify-content: center; gap: 1rem; width: fit-content; margin: 3rem auto 0; color: #0764a5; font-size: 1rem; font-weight: 700; text-decoration: none; }
.page-topics .topics-back-top:hover { text-decoration: underline; text-underline-offset: .25em; }
.page-topics .topics-back-top span { font-size: 1.25rem; }
@media screen and (max-width:767px) {
 .page-topics .topics-hero { padding: 1.5rem 1.25rem 2.5rem; }
 .page-topics .breadcrumb { margin-bottom: 2rem; }
 .page-topics .topics-section { padding: 2.5rem 1.25rem 3rem; }
 .page-topics .topics-article { grid-template-columns: minmax(0,1fr); gap: .75rem; padding: 2rem .5rem; scroll-margin-top: 7rem; }
 .page-topics .topics-legacy-anchor { scroll-margin-top: 7rem; }
 .page-topics .topics-date { padding-top: 0; font-size: .9375rem; }
 .page-topics .topics-copy h2 { font-size: 1.25rem; line-height: 1.7; }
 .page-topics .topics-body { margin-top: 1rem; font-size: 1rem; }
}
@media (prefers-reduced-motion:reduce) { .page-topics .topics-article { transition: none; } }

/* トップページのリンク例：topics_design.html#topic-20260828-sangetsu
公開時は正式URL /topics/#topic-20260828-sangetsu に設定。IDは記事追加後も変更しない。 */

/* タイトル背景：元の濃さの全幅グリッド＋右半分の控えめな光。 */
.page-system .topics-hero > .kitec-hero-grid { position: absolute; inset: 0; left: 0; right: 0; width: 100%; height: 100%; opacity: 1; pointer-events: none; z-index: -1; -webkit-mask-image: none; mask-image: none; }
/* 2026-11-20 トップから該当トピックスへ移動したとき：青い境界線は出さず、薄いブルーの背景のみ */
.page-topics .topics-article:target,.page-topics .topics-article:has(.topics-legacy-anchor:target) { border-top-color: #d6e8f1; }
.page-topics .topics-article:focus,.page-topics .topics-article:focus-visible { outline: none; }

/* 2026-11-26 過去のお知らせへの補足（No.48） */
.page-topics .topics-body .topics-note { display: block; margin-top: .75rem; color: #566a78; font-size: .875em; line-height: 1.8; }
