body.tkg-reading-page { margin:0; background:#fff; color:#17364b; }
.tkg-reading { box-sizing:border-box; display:block; width:min(828px,100%); padding:28px clamp(18px,4vw,46px) 75px; margin:0 auto; font:400 16px/1.85 "Hiragino Kaku Gothic ProN","Yu Gothic",YuGothic,Meiryo,sans-serif; }
.tkg-reading * { box-sizing:border-box; }
.tkg-reading .tkg-bread { display:flex; flex-wrap:wrap; gap:10px; align-items:center; font-size:13px; color:#4b6475; line-height:1.5; margin-bottom:26px; }
.tkg-bread a,.tkg-content a:not([class]) { color:#125d85; text-underline-offset:3px; }
.tkg-reading .tkg-entry-head { border-bottom:2px solid #78b8da; padding:0 0 20px; margin-bottom:26px; }
.tkg-reading .tkg-entry-head h1 { margin:0; font-size:clamp(27px,4vw,42px); line-height:1.42; font-weight:800; letter-spacing:-.035em; color:#17364b; overflow-wrap:anywhere; }
.tkg-reading .tkg-date { margin:10px 0 0; font-size:13px; color:#4b6475; }
.tkg-cover { margin:0 0 22px; }
.tkg-cover img { display:block; width:100%; object-fit:contain; height:auto; border-radius:10px; }
.tkg-content { overflow-wrap:anywhere; }
.tkg-content img,.tkg-content video,.tkg-content iframe { max-width:100%; }
.tkg-content img:not([height]) { height:auto; }
.tkg-content > h2 { padding:.4em 0; margin:1.8em 0 .65em; color:#194d6d; border:0; border-bottom:2px solid #c7e0ef; background:none; line-height:1.5; font-size:clamp(22px,3vw,29px); }
.tkg-content > h3 { margin:1.45em 0 .6em; color:#23465c; line-height:1.55; }
.tkg-content .wp-block-table { overflow-x:auto; }
.tkg-content .alignwide,.tkg-content .alignfull { margin-inline:0; width:100%; max-width:100%; }
.tkg-directory .tkg-entries { list-style:none; margin:0; padding:0; }
.tkg-entries li { border-bottom:1px solid #d3e4ef; }
.tkg-entries li a { display:flex; gap:16px; align-items:center; min-height:80px; padding:14px 0; color:#17364b; text-decoration:none; }
.tkg-entries li a:hover strong { text-decoration:underline; }
.tkg-entries img { width:95px; height:70px; object-fit:cover; border-radius:6px; }
.tkg-entries time { display:block; color:#4b6475; font-size:12px; }
.tkg-entries strong { display:block; line-height:1.55; }
.tkg-entries i { margin-left:auto; color:#347397; font-style:normal; }
.tkg-directory .pagination { margin-top:24px; }
.tkg-directory .page-numbers { padding:5px; color:#125d85; }
.tkg-directory .tkg-find { display:flex; gap:8px; margin-top:14px; }
.tkg-find input { min-width:0; flex:1; border:1px solid #7798ab; border-radius:5px; padding:8px; font:inherit; }
.tkg-find button { color:white; background:#125d85; border:0; border-radius:5px; padding:8px 16px; }
@media(max-width:600px){.tkg-reading{padding-top:20px}.tkg-reading .tkg-bread{margin-bottom:16px}.tkg-entries img{width:75px;height:60px}}

.tkg-content .tkg-toc{margin:1.4em 0;padding:0;border:1px solid #afcedd;border-radius:8px;background:#f3f9fc;color:#153e56}
.tkg-toc summary{padding:.75em 1.1em;font-weight:700;cursor:pointer}
.tkg-toc nav{padding:0 1em .75em}
.tkg-content .tkg-toc ul{padding:0;margin:0;list-style:none}
.tkg-content .tkg-toc li{margin:0;border-top:1px solid #d7e7ef;padding:0}
.tkg-toc a,.tkg-start-paths a{color:#145778;text-decoration:underline;text-underline-offset:.18em}
.tkg-toc a{display:block;padding:.35em .25em;line-height:1.55}
.tkg-toc .tkg-subheading a{padding-inline-start:1.25em;font-size:.94em}
.tkg-content :is(h2,h3)[id]{scroll-margin-top:2rem}
.tkg-start-paths{display:flex;flex-wrap:wrap;gap:.5em;margin:1em 0 1.4em}
.tkg-start-paths a{padding:.5em .8em;background:#edf7fc;border:1px solid #c4dce9;border-radius:6px;font-weight:650}
.tkg-knowledge li{margin-block:.45em}
