*,*::before,*::after{box-sizing:border-box} *{margin:0} html{-webkit-text-size-adjust:100%} body{min-height:100vh;line-height:1.6;-webkit-font-smoothing:antialiased} img,picture,video,canvas,svg{display:block;max-width:100%} input,button,textarea,select{font:inherit} a{color:inherit;text-decoration:none} ul,ol{list-style:none;padding:0}:root { --ink: #232a33; --ink-soft: #45505c; --blue: #35609f; --blue-deep: #2b4f86; --sky: #eaf1f9; --sky-line: #d3e2f2; --bg: #fafbfc; --paper: #ffffff; --line: #e8e8e6; --text: #232a33; --muted: #667180; --accent: #e2883a; --accent-deep: #c9702a; --header: #3b6ea5; --c-info: var(--blue); --c-tip: #10857a; --c-note: #4763a8; --c-important: #6a3bc9; --c-warning: #d97706; --c-caution: #c72525; --c-quote: #5b6b86; --c-disclaimer-line: #c6ccd3; --c-disclaimer-bg: #fbfbfc; --serif: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", system-ui, sans-serif; --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", system-ui, sans-serif; --mono: "SFMono-Regular", "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace; --wrap: 1180px; --radius: 10px; --block-gap: 28px; --blue-light: #3f6cad; --sky-soft: #f2f6fd; --row-hover: rgba(35, 42, 51, .04); --hatch: linear-gradient(135deg, transparent 46%, #e6e5e2 46%, #e6e5e2 54%, transparent 54%) 0 0 / 22px 22px, #f5f4f2; } * { box-sizing: border-box; } body { margin: 0; background-color: var(--bg); background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%3E%3Cg%20fill='%232b3138'%20fill-opacity='0.05'%3E%3Ccircle%20cx='5'%20cy='5'%20r='1'/%3E%3Ccircle%20cx='15'%20cy='15'%20r='1'/%3E%3C/g%3E%3C/svg%3E"); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } a { color: var(--blue); text-decoration: none; } a:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; } img { max-width: 100%; display: block; } :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; } .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; } .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; } .layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; padding-top: 40px; padding-bottom: 72px; align-items: start; } .site-header { background: #fff; } .topbar { background: var(--header); color: #fff; position: relative; z-index: 3; border-bottom: 1px solid #ffffff; box-shadow: 0 2px 4px rgba(28,42,58,.22); } .topbar .wrap { min-height: 25px; display: flex; align-items: center; } .topbar p { margin: 0; padding: 2px 0; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .03em; color: #eaf2fb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .masthead { background: #fff; border-bottom: 1px solid var(--line); } .masthead-inner { display: flex; align-items: center; height: 82px; } .brand { display: flex; align-items: center; gap: 10px; margin-right: auto; } .brand .logo-img { height: 60px; width: auto; display: block; } .head-actions { display: flex; align-items: center; gap: 8px; } .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%); color: var(--ink); border-radius: 8px; cursor: pointer; box-shadow: 0 1px 1px rgba(28,42,58,.045); transition: background .15s, color .15s, border-color .15s; } .icon-btn:hover { background: #fff; color: var(--blue); border-color: var(--sky-line); text-decoration: none; } .icon-btn svg { width: 18px; height: 18px; } .gnav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; box-shadow: 0 1.5px 2.5px -1px rgba(28,42,58,.14); } .gnav-inner { display: flex; justify-content: center; flex-wrap: wrap; position: relative; } .gnav .gnav-logo { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); display: none; align-items: center; height: auto; padding: 0; border: 0; } .gnav .gnav-logo img { height: 26px; width: auto; display: block; } .gnav .gnav-logo:hover { background: transparent; } .gnav.stuck .gnav-logo { display: flex; } .to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--blue); cursor: pointer; box-shadow: 0 6px 18px rgba(28,42,58,.16); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, background .15s, color .15s; } .to-top.show { opacity: 1; visibility: visible; transform: none; } .to-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); } .to-top svg { width: 20px; height: 20px; } .gnav a { display: inline-flex; align-items: center; height: 47px; padding: 0 17px; font-size: 14px; font-weight: 700; letter-spacing: .03em; color: var(--ink); border-left: 1px solid #ffffff; border-right: 1px solid #d9dce0; border-top: 1px solid #ffffff; transition: color .15s, background .15s; } .gnav a:hover { color: #fff; background: var(--blue); text-decoration: none; } .gnav a.active { color: #fff; background: var(--blue); } .gnav .gnav-logo + a { box-shadow: -1px 0 0 #d9dce0; } .page-head { padding: 48px 0 6px; } .page-head .eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); } .page-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.4; color: var(--ink); margin: 12px 0 0; } .page-head p { font-size: 15.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.9; max-width: 60ch; } .layout-side .page-head { padding-top: 0; padding-bottom: 26px; } .page-lead { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.9; } .side { display: flex; flex-direction: column; gap: 24px; align-self: stretch; } .toc-widget { position: sticky; top: 58px; } .widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 20px 22px; } .widget h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); } .ad-box { width: 300px; max-width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); } .ad-box .ad-body { height: 250px; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: #a3a09c; background: var(--hatch); } .ad-box .ad-body svg { width: 30px; height: 30px; color: #d4d2ce; } .ad-box .ad-ttl { font-size: 13px; font-weight: 700; color: var(--ink-soft); } .ad-box .ad-size { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; } .side-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .side-cats li { border-bottom: 1px dashed var(--line); } .side-cats li:last-child { border-bottom: 0; } .side-cats a { display: flex; align-items: center; gap: 9px; padding: 9px 8px; margin: 0 -6px; border-radius: 8px; font-size: 13.5px; color: var(--text); transition: background .12s; } .side-cats a:hover { background: var(--row-hover); text-decoration: none; } .side-cats .cat-ic { width: 15px; height: 15px; flex: none; color: var(--ink); } .side-cats .count { margin-left: auto; font-size: 10.5px; color: var(--muted); background: var(--sky); padding: 1px 7px; border-radius: 5px; font-variant-numeric: tabular-nums; } .mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; } .mini-list li { display: flex; flex-direction: row; align-items: flex-start; gap: 11px; padding: 8px; margin: 0 -8px; border-radius: 8px; transition: background .12s; } .mini-list li:hover { background: var(--row-hover); } .mini-list .mini-thumb { width: 58px; height: 44px; flex: none; object-fit: cover; border-radius: 6px; background: var(--line); } .mini-list .mini-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .mini-list .date { font-size: 11.5px; line-height: 1.15; color: var(--muted); font-variant-numeric: tabular-nums; } .mini-list a { font-size: 13.5px; line-height: 1.5; color: var(--text); } .mini-list a:hover { color: var(--blue); text-decoration: none; } .rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } .rank-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px; margin: 0 -8px; border-radius: 8px; transition: background .12s; } .rank-list li:hover { background: var(--row-hover); } .rank-list .no { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--sky); color: var(--blue); font-size: 13px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; } .rank-list li:nth-child(1) .no { background: #c8a02a; color: #fff; } .rank-list li:nth-child(2) .no { background: #98a1a9; color: #fff; } .rank-list li:nth-child(3) .no { background: #b0743c; color: #fff; } .rank-list a { font-size: 13px; line-height: 1.55; color: var(--text); } .rank-list a:hover { color: var(--blue); text-decoration: none; } .pager, .site-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; } .pager a, .pager span, .site-pagination a, .site-pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--text); border: 1px solid var(--line); background: var(--paper); border-radius: 8px; font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s, color .15s; } .pager a:hover, .site-pagination a:hover { border-color: var(--blue); color: var(--blue); background: var(--sky); text-decoration: none; } .pager .current, .site-pagination .site-pager-current { background: var(--blue); border-color: var(--blue); color: #fff; } .pager .dots { border: 0; background: transparent; color: var(--muted); min-width: auto; padding: 0 2px; } .pager .edge svg { width: 16px; height: 16px; } .pager .disabled { opacity: .4; pointer-events: none; } .posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--block-gap); } .card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .18s, transform .18s, border-color .18s; } .card:hover { text-decoration: none; box-shadow: 0 7px 17px -9px rgba(43,58,80,.42); transform: translateY(-0.375px); border-color: var(--sky-line); } .card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } .card .thumb { aspect-ratio: 16 / 9; background: #efe9e2; position: relative; overflow: hidden; } .card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; } .card:hover .thumb img { transform: scale(1.045); } .card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; } .card .cat { align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--blue); background: var(--sky); padding: 3px 10px; border-radius: 6px; } .card-meta { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; margin-top: auto; } .card h2, .card h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.55; margin: 2px 0 0; color: var(--ink); } .card h2 a, .card h3 a { color: inherit; } .card h2 a:hover, .card h3 a:hover { color: var(--blue); text-decoration: none; } .card .excerpt { font-size: 13.5px; color: var(--muted); margin: 0; } .card .date { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; } .site-footer { background: #2f343c; color: #d0dcea; margin-top: 20px; } .footer-top { display: grid; grid-template-columns: 1.6fr 1.3fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; } .footer-top .footer-logo { display: inline-block; } .footer-top .footer-logo-img { height: 48px; width: auto; display: block; } .footer-top p { font-size: 13px; color: #a9b6c6; margin: 14px 0 0; max-width: 34ch; line-height: 1.85; } .footer-social { display: flex; gap: 10px; margin-top: 18px; } .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #b9c4d2; transition: color .15s, border-color .15s, background .15s; } .footer-social a:hover { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.06); text-decoration: none; } .footer-social svg { width: 18px; height: 18px; } .fcat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; } .fcol h2 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #94a2b4; margin: 4px 0 16px; } .fcol a { display: block; color: #d0dcea; font-size: 14px; padding: 6px 0; } .fcol a:hover { color: #fff; text-decoration: none; } .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12.5px; color: #94a2b4; } .eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); } .featured { position: relative; border-radius: 14px; overflow: hidden; background: var(--header); color: #fff; margin-bottom: 44px; min-height: 296px; display: flex; align-items: flex-end; isolation: isolate; } .featured .cover { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 32%; } .featured .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,42,58,0) 40%, rgba(28,42,58,.55) 100%); } .featured .fcontent { padding: 40px 44px; max-width: 600px; } .featured .eyebrow { color: #f0a866; } .featured h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.3vw, 27px); line-height: 1.6; margin: 13px 0 14px; color: #fff; text-wrap: balance; } .featured p { color: #d2dcea; margin: 0 0 20px; font-size: 14.5px; line-height: 1.85; } .featured .meta { color: #a9b6c6; font-size: 13px; } .btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: background .15s, transform .15s; } .btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); text-decoration: none; } .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); } .section-head h2 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 0; color: var(--ink); } .section-head a { font-size: 13.5px; } body.article { background-image: none; } .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; padding-top: 40px; padding-bottom: 72px; align-items: start; position: relative; } .site-breadcrumbs { position: absolute; top: 12px; left: 24px; right: 24px; margin: 0; font-size: 12.5px; color: var(--muted); } .site-breadcrumbs a { color: var(--muted); } .site-breadcrumbs a:hover { color: var(--blue); } .site-breadcrumb-separator { margin: 0 8px; color: var(--sky-line); } .site-breadcrumbs [aria-current] { color: var(--muted); } .article-head, .article-body { --box-pad: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--box-pad); } .article-head { --bar-left: 10px; --bar-w: 7px; --bar-gap: 15px; --bar-over: 5px; --head-inset: calc(var(--bar-left) + var(--bar-w) + var(--bar-gap)); position: relative; margin-bottom: var(--block-gap); padding-left: var(--head-inset); } .article-head .cat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--blue); background: var(--sky); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; } .article-head h1 { --head-lh: 1.45; position: relative; font-family: var(--serif); font-weight: 700; font-size: clamp(27px, 4vw, 38px); line-height: var(--head-lh); margin: calc((1em - var(--head-lh) * 1em) / 2) 0 16px; color: var(--ink); letter-spacing: .01em; } .article-head h1::before { content: ""; position: absolute; top: calc((var(--head-lh) - 1) * .5em - var(--bar-over)); bottom: calc((var(--head-lh) - 1) * .5em - var(--bar-over)); left: calc(var(--bar-left) - var(--head-inset)); width: var(--bar-w); border-radius: 999px; background: var(--blue); } .article-head :is(.article-meta, .page-lead) { --meta-inset: 10px; --rule-h: 1px; position: relative; margin: 0 calc(var(--meta-inset) - var(--box-pad)) calc(var(--meta-inset) - var(--box-pad)) calc(var(--meta-inset) - var(--head-inset)); padding-top: calc(var(--rule-h) + var(--meta-inset)); } .article-head :is(.article-meta, .page-lead)::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: var(--rule-h); border-radius: 999px; background: var(--line); } .article-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; } .article-meta .am-date { display: inline-flex; align-items: center; gap: 6px; } .article-meta .am-date svg { flex: none; width: 14px; height: 14px; } .article-meta .am-cat { flex: none; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--blue); background: var(--sky); padding: 2px 10px; border-radius: 6px; } .article-meta .am-cat:hover { color: #fff; background: var(--blue); text-decoration: none; } .page-meta { justify-content: flex-end; } .article-end-tags { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; } .article-end-tags__item { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--blue); background: var(--sky); padding: 4px 12px; border-radius: 6px; white-space: nowrap; } .article-body { font-size: 16.5px; line-height: 1.95; } .article-body > * + * { margin-top: 1.3em; } .article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 { font-family: var(--serif); color: var(--ink); line-height: 1.5; text-wrap: balance; scroll-margin-top: 90px; } .article-body h1 { font-size: 30px; font-weight: 700; margin-top: 1.8em; } .article-body h2 { font-size: 24px; font-weight: 700; margin-top: 2em; padding-bottom: 12px; border-bottom: 3px solid var(--line); position: relative; } .article-body h2::before { content: ""; position: absolute; left: 0; bottom: -3px; width: 64px; height: 3px; background: var(--blue); } .article-body h3 { font-size: 20px; font-weight: 700; margin-top: 1.8em; padding-left: 12px; border-left: 4px solid var(--blue); } .article-body h4 { font-size: 17.5px; font-weight: 700; margin-top: 1.6em; color: var(--ink-soft); } .article-body h5 { font-size: 15.5px; font-weight: 700; margin-top: 1.5em; color: var(--ink-soft); } .article-body h6 { font-size: 13.5px; font-weight: 700; margin-top: 1.5em; color: var(--muted); letter-spacing: .04em; } .article-body p { margin: 0; } .article-body strong, .article-body b { font-weight: 700; color: var(--ink); } .article-body em { font-style: italic; } .article-body i { font-style: normal; background: linear-gradient(transparent 50%, #c7ddf5 50%); padding: 0 .1em; } .article-body a { font-weight: 700; } .article-body .md-card, .article-body .toc-list a { font-weight: 500; } .article-body code { font-family: var(--mono); font-size: .87em; background: var(--sky); color: var(--blue-deep); padding: .12em .42em; border-radius: 5px; border: 1px solid var(--sky-line); } .article-body mark { background: linear-gradient(transparent 50%, #fdeaa8 50%); color: inherit; padding: 0 .1em; border-radius: 0; } .article-body del, .article-body s { color: var(--muted); } .article-body u { text-decoration-color: var(--blue); text-underline-offset: 2px; } .article-body small { font-size: .82em; color: var(--muted); } .article-body sub, .article-body sup { font-size: .72em; } kbd { font-family: var(--mono); font-size: .8em; line-height: 1; background: #fff; color: var(--ink); border: 1px solid var(--sky-line); border-bottom-width: 2px; border-radius: 6px; padding: .28em .5em; box-shadow: 0 1px 0 rgba(69,62,60,.06); white-space: nowrap; } .article-body hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; position: relative; overflow: visible; } .article-body hr::after { content: "❋"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--bg); color: var(--sky-line); padding: 0 14px; font-size: 13px; } .article-body ul, .article-body ol { margin: 0; padding-left: 1.5em; } .article-body li { margin: .4em 0; padding-left: .2em; } .article-body li::marker { color: var(--blue); } .article-body ul ul, .article-body ul ol, .article-body ol ol, .article-body ol ul { margin-top: .4em; } .article-body ul { list-style: none; padding-left: 1.3em; } .article-body ul > li { position: relative; } .article-body ul > li::before { content: ""; position: absolute; left: -1.05em; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); } .article-body ul ul > li::before { background: transparent; border: 1.5px solid var(--blue); } .article-body ul ul ul > li::before { background: transparent; border: 1.5px solid var(--muted); } .task-list { list-style: none; padding-left: .2em; } .task-list > li { position: relative; padding-left: 2em; } .task-list > li::before { content: none; } .task-list input[type="checkbox"] { position: absolute; left: 0; top: .35em; width: 18px; height: 18px; accent-color: var(--blue); } .task-list .done { color: var(--muted); text-decoration: line-through; } .article-body blockquote { position: relative; margin: 0; padding: 22px 30px; color: var(--ink-soft); border: 1px solid var(--sky-line); background: var(--sky-soft); border-radius: 12px; overflow: hidden; } .article-body blockquote::before, .article-body blockquote::after { content: "\201C"; position: absolute; font-family: Georgia, "Times New Roman", serif; font-size: 80px; line-height: 1; color: var(--blue); opacity: .1; pointer-events: none; } .article-body blockquote::before { top: 2px; left: 14px; } .article-body blockquote::after { bottom: 2px; right: 14px; transform: rotate(180deg); } .article-body blockquote p { position: relative; margin: .7em 0; } .callout { border: 1px solid var(--line); border-left: 4px solid var(--cc, var(--blue)); background: var(--paper); border-radius: 8px; padding: 16px 18px; } .callout > .callout-title { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--cc, var(--blue)); font-size: 14.5px; margin: 0; } .callout > .callout-title .ico, details.callout > summary .ico { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--cc, var(--blue)); color: #fff; font-size: 12px; font-weight: 700; } .callout > .callout-title .ico svg { width: 12px; height: 12px; } .callout .callout-body { margin: 8px 0 0; color: var(--text); font-size: 15px; } .callout .callout-body > *:first-child { margin-top: 0; } .callout.info, .callout.question { --cc: var(--c-info); background: var(--sky-soft); } .callout.tip { --cc: var(--c-tip); background: #f0faf7; } .callout.note { --cc: var(--c-note); background: #f4f6fb; } .callout.important { --cc: var(--c-important); background: #f7f3fe; } .callout.warning { --cc: var(--c-warning); background: #fdf6ec; } .callout.caution { --cc: var(--c-caution); background: #fdf1f1; } .article-body .check-list ul { list-style: none; margin: 0; padding: 0; } .article-body .check-list li, .article-body .check-list p { position: relative; padding-left: 41px; } .article-body .check-list li + li, .article-body .check-list p + p { margin-top: 10px; } .article-body .check-list li::before, .article-body .check-list p::before { content: ""; position: absolute; left: 5px; top: .28em; width: 22px; height: 22px; border: 2px solid var(--c-tip); border-radius: 7px; background: var(--paper); } .article-body .check-list li::after, .article-body .check-list p::after { content: "✓"; position: absolute; left: 5px; top: -.4px; font-size: 26px; font-weight: 700; line-height: 1; color: var(--c-tip); } details.callout { padding: 0; } details.callout > summary { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--cc, var(--blue)); font-size: 14.5px; } details.callout > summary::-webkit-details-marker { display: none; } details.callout > summary .chev { margin-left: auto; transition: transform .18s; color: var(--cc); } details.callout[open] > summary .chev { transform: rotate(90deg); } details.callout .callout-body { padding: 0 18px 16px; margin: 0; font-size: 15px; } .callout .callout { margin-top: 10px; } .sum-box { position: relative; margin: 34px 0; padding: 22px 28px 5px; border: 1px solid; border-radius: 10px; } .sum-box.orange { border-color: #f0ddc7; background: #fdf8ef; } .sum-box.blue { border-color: #d3e2f2; background: #f4f8fd; } .sum-box .sum-label { position: absolute; top: -15px; left: 22px; padding: 2px 11px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .02em; } .sum-box.orange .sum-label { background: var(--accent); } .sum-box.blue .sum-label { background: var(--blue); } .sum-box .sum-body { padding-bottom: 15px; line-height: 36px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='5'%20height='36'%3E%3Crect%20x='0'%20y='35'%20width='2'%20height='1'%20fill='%23c7c2ba'/%3E%3C/svg%3E"); } .sum-box .sum-body p { margin: 0; font-size: 15.5px; color: var(--text); } .disclaimer-box { margin: 34px 0; padding: 18px 22px; border: 1px dashed var(--c-disclaimer-line); border-radius: var(--radius); background: var(--c-disclaimer-bg); } .disclaimer-box .disclaimer-title { margin: 0 0 8px; font-weight: 700; font-size: 14px; color: var(--muted); letter-spacing: .02em; } .disclaimer-box .disclaimer-title:empty { display: none; } .disclaimer-box .disclaimer-body { color: var(--ink-soft); font-size: 14.5px; line-height: 1.9; } .disclaimer-box .disclaimer-body p { margin: 0 0 8px; } .disclaimer-box .disclaimer-body > *:first-child { margin-top: 0; } .disclaimer-box .disclaimer-body > *:last-child { margin-bottom: 0; } .disclaimer-box .disclaimer-body a { color: var(--blue); text-underline-offset: 2px; } .table-scroll { overflow-x: auto; border-radius: 8px; border: 1px solid var(--line); } .article-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--paper); } .article-body thead th { background: var(--header); color: #fff; font-weight: 700; } .article-body th, .article-body td { padding: 11px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; } .article-body th { text-align: center; } .article-body th:last-child, .article-body td:last-child { border-right: 0; } .article-body th { border-bottom: 0; } .article-body thead th { border-right-color: rgba(255, 255, 255, .45); } .article-body tbody tr:last-child td { border-bottom: 0; } .article-body td.c, .article-body th.c { text-align: center; } .article-body td.r, .article-body th.r { text-align: right; font-variant-numeric: tabular-nums; } figure { margin: 0; } .video-ph { aspect-ratio: 16 / 9; border-radius: 10px; background: var(--header); display: grid; place-items: center; position: relative; overflow: hidden; } .video-ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, #3c4b5d 0%, #232a33 60%); } .video-ph .play { position: relative; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.5); display: grid; place-items: center; } .video-ph .play svg { width: 24px; height: 24px; color: #fff; margin-left: 3px; } figcaption { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; } .eyecatch { position: relative; margin: 26px 0 26px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--header); isolation: isolate; } .eyecatch .cover { position: absolute; inset: 0; z-index: -1; background: radial-gradient(110% 90% at 82% 6%, var(--blue-light) 0%, rgba(74,120,222,0) 52%), linear-gradient(205deg, #5f4148 0%, #232a33 66%); } .eyecatch img { display: block; width: 100%; height: 100%; object-fit: cover; } .post-end { margin-top: 34px; display: flex; flex-direction: column; gap: 34px; } .end-head { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--ink); margin: 0 0 18px; padding-bottom: 12px; border-bottom: 3px solid var(--line); position: relative; } .end-head::before { content: ""; position: absolute; left: 0; bottom: -3px; width: 64px; height: 3px; background: var(--blue); } .share-box { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .share-box .lbl { font-weight: 700; color: var(--ink); font-size: 14px; margin-right: auto; display: flex; align-items: center; gap: 9px; } .share-box .lbl svg { width: 17px; height: 17px; color: var(--blue); } .share-btns { display: flex; gap: 10px; flex-wrap: wrap; } .share-btns a, .share-btns button { flex: none; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 8px; font-size: 13px; font-weight: 600; font-family: inherit; color: #fff; cursor: pointer; transition: transform .15s, opacity .15s; } .share-btns a:hover, .share-btns button:hover { transform: translateY(-2px); text-decoration: none; opacity: .92; } .share-btns a svg, .share-btns button svg { width: 16px; height: 16px; } .share-btns .x { background: #14151a; } .share-btns .fb { background: #1877f2; } .share-btns .ln { background: #06c755; } .share-btns .cp { background: var(--sky); color: var(--blue-deep); border: 1px solid var(--sky-line); } .share-btns .cp.copied { background: var(--blue); color: #fff; border-color: var(--blue); } .author-box { position: relative; overflow: hidden; background: var(--sky); border: 1px solid var(--sky-line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; } .author-box::before, .author-box::after { content: ""; position: absolute; width: 104px; height: 104px; z-index: 0; pointer-events: none; border: 3px solid rgba(53, 96, 159, .13); } .author-box::before { top: 11px; left: 11px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; } .author-box::after { right: 11px; bottom: 11px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; } .author-box > * { position: relative; z-index: 1; } .author-box .a-cols { display: flex; align-items: flex-start; gap: 24px; } .author-box .a-left { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; text-align: center; } .author-box .avatar { width: 76px; height: 76px; border-radius: 50%; flex: none; background: radial-gradient(circle at 34% 30%, var(--blue-light), var(--blue-deep)); display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 30px; } .author-box .a-meta { flex: 1; min-width: 0; } .author-box .a-role { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 0; } .author-box h3 { font-family: var(--serif); font-size: 19px; color: var(--ink); margin: 0; font-weight: 700; } .author-box p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.85; } .author-box .socials { display: flex; gap: 10px; } .author-box .socials a { width: 36px; height: 36px; border: 1px solid var(--sky-line); background: #fff; border-radius: 8px; display: grid; place-items: center; color: var(--muted); transition: all .15s; } .author-box .socials a:hover { color: #fff; background: var(--blue); border-color: var(--blue); } .author-box .socials svg { width: 16px; height: 16px; } .rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .card--row { flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; } .card--row .thumb { width: 92px; height: 64px; aspect-ratio: auto; border-radius: 8px; flex: none; } .card--row .body { padding: 0; gap: 6px; } .card--row h3 { font-size: 15px; } .card--row .card-meta { margin-top: 0; } .article-body .md-card { position: relative; display: flex; align-items: center; gap: 16px; margin: 0; padding: 14px 44px 14px 18px; border: 1px solid var(--sky-line); border-left: 4px solid var(--blue); border-radius: var(--radius); text-decoration: none; overflow: hidden; background: var(--paper); transition: box-shadow .18s, transform .18s, border-color .18s; } .article-body .md-card:hover { text-decoration: none; box-shadow: 0 7px 17px -9px rgba(43,58,80,.42); transform: translateY(-0.375px); } .article-body .md-card::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translate(0, -50%); color: var(--blue); font-size: 18px; font-weight: 700; transition: transform .18s; } .article-body .md-card:hover::after { transform: translate(4px, -50%); } .article-body .md-card__thumb { flex: none; width: 116px; height: 78px; border-radius: 8px; overflow: hidden; background: #efe9e2; } .article-body .md-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; } .article-body .md-card:hover .md-card__thumb img { transform: scale(1.045); } .article-body .md-card__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; } .article-body .md-card__body::before { content: "あわせて読みたい"; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--blue); background: var(--sky); border: 1px solid var(--sky-line); padding: 0 9px; border-radius: 6px; margin-bottom: 1px; } .article-body .md-card__title { font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .article-body .md-card:hover .md-card__title { color: var(--blue); } .article-body .md-card__desc { font-size: 13px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .article-body .md-card__thumb:empty { display: none; } .x-embed { position: relative; border: 1px solid var(--sky-line); border-radius: 18px; padding: 28px 26px; background: radial-gradient(130% 100% at 50% 0%, var(--sky) 0%, var(--paper) 58%); display: flex; justify-content: center; overflow: hidden; } .x-embed::before { content: ""; position: absolute; top: -18px; right: -14px; width: 120px; height: 120px; background: var(--header); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 2H22l-7.1 8.1L23 22h-6.6l-5.2-6.8L5.3 22H2.2l7.6-8.7L1.5 2h6.8l4.7 6.2L18.9 2Zm-1.2 18h1.8L7.4 3.9H5.5L17.7 20Z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 2H22l-7.1 8.1L23 22h-6.6l-5.2-6.8L5.3 22H2.2l7.6-8.7L1.5 2h6.8l4.7 6.2L18.9 2Zm-1.2 18h1.8L7.4 3.9H5.5L17.7 20Z'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .05; pointer-events: none; } .x-embed .twitter-tweet { margin: 0 !important; } .x-embed > * { position: relative; } .x-fallback { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--paper); display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); } .x-fallback .x-ico { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #14151a; display: grid; place-items: center; } .x-fallback .x-ico svg { width: 18px; height: 18px; color: #fff; } .x-fallback a { font-weight: 600; } .rel-list { display: flex; flex-direction: column; gap: 12px; } .post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .post-nav .card:nth-child(2) { flex-direction: row-reverse; } .search-form { display: flex; gap: 10px; margin: 0 0 32px; max-width: 540px; } .search-form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; font-size: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); } .search-form input::placeholder { color: #9aa3ad; } .search-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--sky-line); } .search-form button { flex: none; height: 46px; padding: 0 22px; background: var(--blue); color: #fff; border: 0; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s; } .search-form button:hover { background: var(--blue-deep); } .site-search__empty { color: var(--muted); padding: 20px 0; } .site-search__pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; } .site-search__pager a, .site-search__pager .site-pager-current { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; } .site-search__pager .site-pager-current { background: var(--blue); color: #fff; border-color: var(--blue); } .card h2 mark, .card h3 mark { background: #fdeaa8; color: inherit; border-radius: 2px; padding: 0 1px; } .contact-stack { display: flex; flex-direction: column; gap: 24px; } .contact-stack input[name="botcheck"] { display: none !important; } .contact-success { text-align: center; } .contact-success .success-mark { font-size: 2.5rem; line-height: 1; } .contact-success h2 { margin: .4em 0; } .form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 30px 32px; } .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; } .field label { font-size: 13.5px; font-weight: 700; color: var(--ink); } .field label .req { color: #dc2626; font-size: 11px; margin-left: 5px; font-weight: 700; } .field label .opt { color: var(--muted); font-size: 11px; margin-left: 5px; font-weight: 500; } .field input, .field select, .field textarea { font-family: inherit; font-size: 14.5px; color: var(--text); padding: 11px 13px; border: 1px solid var(--sky-line); border-radius: 8px; background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; } .field textarea { min-height: 150px; resize: vertical; line-height: 1.8; } .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(53,96,159,.14); } .field .hint { font-size: 12px; color: var(--muted); } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text); margin-bottom: 22px; } .agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; } .agree a { font-weight: 600; } .submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 14px; border: 0; border-radius: 9px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .15s, transform .15s; } .submit:hover { background: var(--blue-deep); transform: translateY(-1px); } .submit svg { width: 17px; height: 17px; } .form-note { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; } .notfound { text-align: center; padding: 96px 0 120px; max-width: 640px; margin-inline: auto; } .notfound .nf-code { font-family: var(--serif); font-weight: 700; font-size: clamp(72px, 16vw, 140px); line-height: 1; color: var(--sky-line); letter-spacing: .02em; } .notfound h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 3.4vw, 28px); color: var(--ink); margin: 8px 0 0; } .notfound p { color: var(--muted); margin: 14px 0 0; line-height: 1.9; } .notfound .search-form { margin: 28px auto 0; } .notfound .nf-actions { margin-top: 20px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; } @media (max-width: 980px) { .layout-side { grid-template-columns: 1fr; gap: 40px; } .side { flex-direction: row; flex-wrap: wrap; align-self: auto; } .side .widget { flex: 1 1 260px; } .toc-widget { position: static; } .article-layout { grid-template-columns: 1fr; gap: 40px; } .article-body { max-width: none; } } @media (max-width: 720px) { .masthead-inner { height: 54px; } .topbar p { letter-spacing: 0; } .gnav-inner { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; } .gnav a { flex: none; } .posts { grid-template-columns: 1fr; } .featured .fcontent { padding: 28px 24px; } .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-bottom { flex-direction: column; align-items: flex-start; } } @media (max-width: 620px) { .post-nav { grid-template-columns: 1fr; } .rec-grid { grid-template-columns: 1fr; } .author-box { flex-direction: column; gap: 14px; } .share-box .lbl { width: 100%; margin-bottom: 4px; } .share-btns { width: 100%; } .share-btns a { flex: 1; } } @media (max-width: 560px) { .form-card { padding: 24px 20px; } .field-row { grid-template-columns: 1fr; gap: 0; } } @media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } .side { flex-direction: column; } } @media (prefers-reduced-motion: reduce) { * { transition: none !important; } } .callout .callout-content { margin: 8px 0 0; color: var(--text); font-size: 15px; } .callout .callout-content > *:first-child { margin-top: 0; } .callout-note { --cc: var(--c-note); background: #f4f6fb; } .callout-info, .callout-abstract { --cc: var(--c-info); background: #f2f6fd; } .callout-tip, .callout-hint, .callout-success { --cc: var(--c-tip); background: #f0faf7; } .callout-important { --cc: var(--c-important); background: #f7f3fe; } .callout-warning, .callout-attention { --cc: var(--c-warning); background: #fdf6ec; } .callout-caution, .callout-danger, .callout-error { --cc: var(--c-caution); background: #fdf1f1; } .callout-question, .callout-faq, .callout-help { --cc: var(--c-info); background: #f2f6fd; } .article-body .toc { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 56px 24px 16px; margin: 10px 0 26px; } .article-body .toc::before { content: "CONTENTS"; position: absolute; top: 0; left: 0; right: 0; padding: 15px 24px; line-height: 1; background: rgba(35, 42, 51, .02); border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--muted); } .article-body .toc-list { list-style: none; margin: 0; padding: 0; } .article-body .toc-list li::before { content: none; } .article-body .toc-item a { display: block; padding: 3px 0; font-size: 15px; line-height: 1.55; color: var(--ink); } .article-body .toc-item a:hover { color: var(--blue); text-decoration: none; } .article-body .toc .toc-toggle { position: absolute; top: 6px; right: 10px; display: grid; place-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--muted); cursor: pointer; transition: background .15s, color .15s, border-color .15s; } .article-body .toc .toc-toggle:hover { background: var(--sky); border-color: var(--sky-line); color: var(--blue); } .article-body .toc .toc-toggle svg { transition: transform .2s ease; } .article-body .toc.is-collapsed .toc-toggle svg { transform: rotate(-90deg); } .article-body .toc.is-collapsed { padding-top: 42px; padding-bottom: 0; } .article-body .toc.is-collapsed::before { border-bottom-color: transparent; } .article-body .toc.is-collapsed .toc-list { display: none; } .article-body .toc-level-3 { padding-left: 18px; } .article-body .toc-level-3 a { font-size: 14px; color: var(--ink-soft); } .article-body .toc-level-4, .article-body .toc-level-5, .article-body .toc-level-6 { padding-left: 34px; } .article-body .toc-level-4 a, .article-body .toc-level-5 a, .article-body .toc-level-6 a { font-size: 13.5px; color: var(--muted); } .article-body pre { background: #232a33; border: 1px solid #45505c; border-radius: 10px; padding: 16px 18px; overflow-x: auto; margin: 22px 0; } .article-body pre code { font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #d3e2f2; background: none; border: 0; padding: 0; white-space: pre; } .article-body > p > img, .article-body > img { border-radius: 12px; margin: 0 auto; } .home-intro { margin: 0 0 12px; color: var(--muted); font-size: 15px; } .home-intro:empty { display: none; } .listing-intro { color: var(--muted); margin: 0 0 22px; } .article-body ol { list-style: decimal; } .article-body pre { position: relative; background: #232a33; border: 1px solid #45505c; border-radius: 10px; overflow: hidden; margin: 22px 0; padding: 0; } .article-body pre::before { content: ""; display: block; height: 34px; background: #303b49; border-bottom: 1px solid #44505f90; } .article-body pre::after { content: ""; position: absolute; top: 12px; left: 14px; width: 10px; height: 10px; border-radius: 50%; background: #ec6a5e; box-shadow: 16px 0 0 #f4bf4f, 32px 0 0 #61c554; } .article-body pre code { display: block; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #d3e2f2; background: none; border: 0; white-space: pre; } .article-body .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; } .article-body .toc-list { counter-reset: toc-c; } .article-body .toc-item:not(.toc-level-2) { display: none; } .article-body .toc-level-2 { counter-increment: toc-c; } .article-body .toc-item > a { display: flex; align-items: baseline; gap: 13px; } .article-body .toc-level-2 > a::before { content: counter(toc-c, decimal-leading-zero); flex: none; width: 1.5em; color: #93b1da; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; } .share-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; } .share-buttons__label { font-weight: 700; color: var(--ink); font-size: 14px; margin-right: auto; } .share-buttons__list { display: flex; gap: 10px; flex-wrap: wrap; } .share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #fff; background: var(--blue); border: 0; cursor: pointer; text-decoration: none; } .share-btn:hover { transform: translateY(-2px); } .share-btn svg { width: 16px; height: 16px; } .author-box .avatar { overflow: hidden; } .author-box .avatar img, img.avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; } .toc-widget { position: sticky; top: 58px; } .toc-widget:not(:has(.toc-item)) { display: none; } .toc-widget .toc { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; } .toc-widget .toc::before { content: none; } .toc-widget .toc-list { counter-reset: stoc; margin: 0; padding: 0; } .toc-widget .toc-item:not(.toc-level-2) { display: none; } .toc-widget .toc-level-2 { counter-increment: stoc; } .toc-widget .toc-item { position: relative; } .toc-widget .toc-item a { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; border-left: 2px solid transparent; border-radius: 8px; font-size: 13.5px; line-height: 1.5; color: var(--text); transition: background .12s, color .12s, border-color .12s; } .toc-widget .toc-item a:hover { background: var(--row-hover); color: var(--text); text-decoration: none; } .toc-widget .toc-level-2 > a::before { content: counter(stoc, decimal-leading-zero); flex: none; width: 1.7em; font-size: 12px; font-weight: 700; color: #93b1da; } .toc-widget .toc-item.is-active a { background: var(--sky); color: var(--blue); font-weight: 700; border-left-color: var(--blue); } .toc-widget .toc-item.is-active > a::before { color: var(--blue); } .toc-widget:not(:has(.toc-item)) { display: none; } .toc-widget { top: 64px; } .toc-widget h2 { margin-bottom: 10px; padding-bottom: 10px; } .share-btn { background: #14151a; color: #fff; } .share-btn[data-copy] { background: var(--sky); color: var(--blue-deep); border: 1px solid var(--sky-line); } .share-btn svg { width: 16px; height: 16px; } .share-btn use { color: inherit; } .rank-list { counter-reset: rk; } .rank-list li { counter-increment: rk; } .rank-list .no::before { content: counter(rk); } .mini-thumb, .card .thumb { background: var(--line); } .article-body .mv-embed--youtube, .mv-embed--youtube { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; display: block; margin: 0; } .share-btns button svg, .share-btns .cp svg { width: 16px; height: 16px; } .article-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; display: block; } .share-btns button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; } .article-body.article-body > * { margin-top: 0; margin-bottom: 0; } .article-body.article-body > * + * { margin-top: 22px; } .article-body.article-body > * + h2 { margin-top: 44px; } .article-body.article-body > * + h3, .article-body.article-body > * + h4, .article-body.article-body > * + h5, .article-body.article-body > * + h6 { margin-top: 32px; } .article-body.article-body > :first-child { margin-top: 0; } .article-body.article-body > .sum-box { margin-top: 38px; }