/* コンテクサーバー 公開サイト
   これまでの公開サイト(WordPress の子テーマ + スキン「Kontek Portal」)のデザインの決まりを、そのまま引き継いでいる(AD-018)。
     色      : 白 #fbfbfd / 薄いグレー #f5f5f7 / 文字 #1d1d1f、強調は緑、リンクは青。暗い時は紺。OS の明暗に自動で合わせる
     形      : ボタン・ラベル・ページ送りは丸(pill)、パネルは角丸 24px、カードは 20px、画像は 14px、細い境界線
     文字    : 見出しは太く・字間を詰める。文は「文節のまとまり」の間でだけ改行する(word-break: keep-all + <wbr>。server/web/phrase.js)
     動き    : 押すと少し縮む、乗せると少し浮く。登場と視差は home.js、ほかのページの浮き上がりは site.js
   トップのクラス名(hero-* / section-* / p-front-* / world-* / post-card / join-step)は旧テンプレートと同じ。 */

html:root {
  --kp-bg: #fbfbfd; --kp-bg-soft: #f5f5f7; --kp-bg-panel: #ffffff; --kp-bg-panel-soft: rgba(245, 245, 247, 0.92);
  --kp-border: #d2d2d7; --kp-border-soft: #e8e8ed;
  --kp-text: #1d1d1f; --kp-text-body: #3a3a3c; --kp-text-sub: #6e6e73; --kp-text-mute: #6e6e73;
  --kp-accent-green: #15803d; --kp-accent-green-soft: rgba(21, 128, 61, 0.1); --kp-accent-green-strong: #166534;
  --kp-accent-cyan: #0369a1; --kp-accent-cyan-soft: rgba(2, 132, 199, 0.14);
  --kp-shadow-card: 0 4px 16px rgba(0, 0, 0, 0.05); --kp-shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.12);
  --kp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* ポータルと共有している部品(本文の文字組みなど)が読むトークンにも、同じ値を入れる */
  --kt-bg: var(--kp-bg); --kt-surface: var(--kp-bg-panel); --kt-surface-2: var(--kp-bg-soft);
  --kt-text: var(--kp-text); --kt-text-2: var(--kp-text-sub); --kt-text-3: var(--kp-text-mute);
  --kt-border: var(--kp-border-soft); --kt-border-strong: var(--kp-border);
  --kt-accent: var(--kp-accent-green); --kt-accent-hover: var(--kp-accent-green-strong); --kt-accent-soft: var(--kp-accent-green-soft); --kt-on-accent: #ffffff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  html:root {
    --kp-bg: #050a16; --kp-bg-soft: #0b1323; --kp-bg-panel: #111d30; --kp-bg-panel-soft: rgba(17, 29, 48, 0.92);
    --kp-border: #1e293b; --kp-border-soft: #23334d;
    --kp-text: #e5e7eb; --kp-text-body: #cbd1db; --kp-text-sub: #b4bdcc; --kp-text-mute: #9aa6b8;
    --kp-accent-green: #22c55e; --kp-accent-green-soft: rgba(34, 197, 94, 0.2); --kp-accent-green-strong: #16a34a;
    --kp-accent-cyan: #38bdf8; --kp-accent-cyan-soft: rgba(56, 189, 248, 0.35);
    --kp-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35); --kp-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.7);
    --kt-warning: #f0b45a; --kt-warning-soft: #33280f;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--kp-bg); color: var(--kp-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px; line-height: 1.8; letter-spacing: 0.01em; -webkit-font-smoothing: antialiased;
  /* 文は、まとまり(<wbr> と句読点・空白)でだけ折る。1行より長いまとまりは途中で折ってはみ出さない */
  word-break: keep-all; overflow-wrap: anywhere; line-break: strict;
}
img { max-width: 100%; height: auto; }
a { color: var(--kp-accent-cyan); text-decoration: none; }
a:hover { color: var(--kp-accent-green); }
::selection { background: var(--kp-accent-cyan-soft); }
:focus-visible { outline: 3px solid var(--kp-accent-cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; color: var(--kp-text); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; word-break: break-all; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--kp-bg-panel); padding: 8px 14px; border-radius: 9999px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }
.wrap.narrow { width: min(100% - 40px, 840px); }
.wrap.narrow-wide { width: min(100% - 40px, 920px); }
main:not(.kontek-main) { padding-bottom: 24px; }
main:not(.kontek-main) .section { margin-block: 56px; }
.eyebrow { font-size: 12px; letter-spacing: 0.2em; color: var(--kp-accent-green); margin: 0 0 12px; }

/* ---- ボタン(丸。乗せると浮き、押すと縮む) ---- */
.hero-button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 12px 22px;
  border-radius: 9999px; border: 1px solid var(--kp-border); background: var(--kp-bg-panel-soft); color: var(--kp-text);
  font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.15s var(--kp-ease), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.hero-button:hover, .btn:hover { color: var(--kp-accent-green); border-color: var(--kp-accent-green); transform: translateY(-1px); }
.hero-button:active, .btn:active, .copy:active { transform: scale(0.95); }
.hero-button.primary, .btn--primary { background: var(--kp-accent-green-strong); border-color: var(--kp-accent-green-strong); color: #ffffff; }
.hero-button.primary:hover, .btn--primary:hover { background: var(--kp-accent-green); border-color: var(--kp-accent-green); color: #ffffff; transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 30px rgba(22, 163, 74, 0.35); }
.hero-button.secondary { background: var(--kp-bg-panel); border-color: var(--kp-accent-green); }
.hero-button.secondary:hover { background: var(--kp-accent-green); border-color: var(--kp-accent-green); color: #ffffff; }
.hero-button.small, .btn--sm { min-height: 36px; padding: 6px 16px; font-size: 13px; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; margin-right: 20px; }
.more svg { flex: none; transition: transform 0.2s var(--kp-ease); }
.more:hover svg { transform: translateX(3px); }
.copy { border: 1px solid var(--kp-border); background: transparent; color: var(--kp-text-sub); border-radius: 9999px; font-size: 12px; padding: 3px 12px; min-height: 28px; cursor: pointer; margin-left: 8px; transition: transform 0.15s var(--kp-ease), color 0.2s ease, border-color 0.2s ease; }
.copy:hover { color: var(--kp-accent-green); border-color: var(--kp-accent-green); }
/* ラベル(カテゴリーなど)は緑の丸 */
.cat-label, .tag-link { display: inline-block; border-radius: 9999px; background: var(--kp-accent-green); color: #ffffff; font-size: 11px; font-weight: 600; padding: 3px 12px; line-height: 1.5; letter-spacing: 0.02em; }
a.tag-link:hover { color: #ffffff; background: var(--kp-accent-green-strong); }
.cat-label--news, .tag-link--news { background: var(--kp-bg-soft); color: var(--kp-text-sub); border: 1px solid var(--kp-border-soft); }
@media (prefers-color-scheme: dark) { .cat-label, .tag-link { background: var(--kp-accent-green-strong); } }

/* ---- 補足説明(インフォマーク)。説明がどうしても込み入る所だけに使う。押すと、その場で説明が開く ---- */
.info { display: inline-block; vertical-align: middle; text-align: left; }
.info > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9999px; color: var(--kp-text-mute); cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s var(--kp-ease); }
.info > summary::-webkit-details-marker { display: none; }
.info > summary:hover, .info[open] > summary { color: var(--kp-accent-green); background: var(--kp-accent-green-soft); }
.info > summary:active { transform: scale(0.9); }
.info[open] { display: block; }
/* パネルの中の ⓘ は右上に固定し、説明はパネルの下側に開く(マークが1つだけ次の行に落ちないように) */
.has-info { position: relative; }
.has-info > .info { display: block; }
.has-info > .info > summary { position: absolute; top: var(--info-top, 26px); right: 18px; }
.has-info > .info:not([open]) { height: 0; }
.info__body { margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: var(--kp-bg-soft); border: 1px solid var(--kp-border-soft); font-size: 14px; line-height: 1.85; color: var(--kp-text-body); animation: info-open 0.32s var(--kp-ease); }
.info__body p { margin: 0 0 0.6em; }
.info__body p:last-child { margin-bottom: 0; }
.info__body a { font-weight: 600; }
@keyframes info-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---- ヘッダー ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--kp-bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--kp-border); }
.site-header__inner { width: min(100% - 32px, 1200px); margin-inline: auto; height: 60px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--kp-text); font-weight: 700; font-size: 16px; white-space: nowrap; }
.brand img { display: block; }
.brand--logo img { height: 38px; width: auto; }
.site-nav { display: none; gap: 2px; margin-left: 12px; }
.site-nav a { padding: 8px 16px; border-radius: 9999px; color: var(--kp-text); font-size: 14px; transition: background-color 0.2s ease, color 0.2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--kp-accent-green-soft); color: var(--kp-accent-green-strong); }
@media (prefers-color-scheme: dark) { .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--kp-accent-green); } }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-link { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--kp-text); border-radius: 9999px; transition: background-color 0.2s ease, color 0.2s ease; }
.icon-link:hover, .icon-link[aria-current="page"] { color: var(--kp-accent-green-strong); background: var(--kp-accent-green-soft); }
.portal-link { display: none; font-size: 14px; color: var(--kp-text); padding: 8px 16px; border-radius: 9999px; transition: background-color 0.2s ease, color 0.2s ease; }
.portal-link:hover { background: var(--kp-accent-green-soft); color: var(--kp-accent-green-strong); }
.menu { position: relative; }
.menu > summary { list-style: none; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; border-radius: 9999px; color: var(--kp-text); }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--kp-accent-green-soft); }
.menu__panel { position: absolute; right: 0; top: 50px; min-width: 230px; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); border-radius: 20px; box-shadow: var(--kp-shadow-hover); padding: 10px; display: grid; animation: info-open 0.28s var(--kp-ease); }
.menu__panel a { padding: 12px 16px; border-radius: 9999px; color: var(--kp-text); font-size: 15px; }
.menu__panel a:hover, .menu__panel a[aria-current="page"] { background: var(--kp-accent-green-soft); color: var(--kp-accent-green-strong); }
@media (min-width: 900px) { .site-nav { display: flex; } .portal-link { display: inline-block; } .menu { display: none; } }
@media (max-width: 420px) { .brand--logo img { height: 32px; } .site-actions .hero-button { padding-inline: 14px; } }

/* ---- パンくず・ページの頭 ---- */
.breadcrumb { width: min(100% - 40px, 1120px); margin: 18px auto 0; font-size: 11px; color: var(--kp-text-mute); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--kp-text-sub); }
.breadcrumb a:hover { color: var(--kp-text); }
.breadcrumb [aria-current] { display: inline-block; max-width: 22em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.page-head { margin: 40px 0 36px; }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 2.9rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.03em; }
.page-head p { color: var(--kp-text-sub); margin: 14px 0 0; max-width: 40em; font-size: 17px; line-height: 1.8; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 20px; }
.section-head h2, .section-head h3 { font-size: clamp(1.45rem, 2.8vw, 1.85rem); border-left: 4px solid var(--kp-accent-green); padding-left: 14px; line-height: 1.32; }
.section-head .more { margin: 0 0 0 auto; font-size: 14px; }
.section-head p { flex-basis: 100%; margin: 6px 0 0; color: var(--kp-text-sub); font-size: 14px; }

/* =========================================================
   トップページ(旧 front-page.php / front-motion.css と同じ決まり)
   ========================================================= */
.kontek-main { overflow: clip; }
.kontek-main .section { padding: 130px 32px; background: var(--kp-bg); }
.kontek-main .section:nth-of-type(even) { background: var(--kp-bg-soft); }
.kontek-main .section-inner { max-width: 1120px; margin: 0 auto; }
.kontek-main .section-header { max-width: 900px; margin: 0 auto 64px; text-align: center; }
.kontek-main .section-eyebrow { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--kp-accent-green); margin-bottom: 12px; }
.kontek-main .section-title { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.28; letter-spacing: -0.035em; margin: 0 0 28px; }
.kontek-main .section-text { font-size: 17px; line-height: 1.95; max-width: 660px; margin: 0 auto; color: var(--kp-text-sub); text-wrap: balance; }
.kontek-main .section-more { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 56px 0 0; }

.kontek-main .hero { display: block; padding: 90px 0 44px; isolation: isolate; text-align: center; }
.hero-inner { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.hero-app-icon { display: block; width: 210px; max-width: 65%; height: auto; margin: 0 auto 26px; transform-origin: center; }
.hero-kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 24px; color: var(--kp-accent-green); }
.hero-title { font-size: clamp(32px, 5.2vw, 72px); line-height: 1.25; margin: 0 0 28px; letter-spacing: -0.04em; }
.hero-title .accent, .accent { background: linear-gradient(120deg, #22c55e, #2dd4bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { font-size: 17px; line-height: 1.9; max-width: 720px; margin: 0 auto 22px; color: var(--kp-text-sub); text-wrap: balance; }
.hero-meta { color: var(--kp-text-mute); font-size: 12px; margin: 0 auto 28px; max-width: 560px; text-wrap: balance; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.world-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: min(1280px, calc(100% - 64px)); margin: 96px auto 56px; padding: 24px 0; }
.world-scene { display: block; position: relative; height: clamp(220px, 26vw, 360px); border-radius: 26px; overflow: hidden; color: #fff; isolation: isolate; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); background: var(--kp-bg-panel); will-change: transform; }
.world-scene:nth-child(2) { margin-top: -24px; }
.world-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.73)); pointer-events: none; }
.world-scene img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.world-scene:hover img { transform: scale(1.04); }
.world-scene:hover { color: #fff; }
.world-scene > span { position: absolute; z-index: 1; bottom: 28px; left: 28px; right: 16px; font-size: clamp(18px, 2vw, 26px); font-weight: 700; color: #fff; text-align: left; line-height: 1.4; }
.world-scene small { display: block; font-size: 10px; letter-spacing: 0.2em; margin-bottom: 8px; color: #d3e9e4; font-weight: 400; }
.hero-scroll-cue { display: flex; align-items: center; justify-content: center; width: fit-content; max-width: calc(100% - 40px); min-height: 56px; margin: 0 auto; padding: 16px 32px; border-radius: 999px; background: linear-gradient(135deg, var(--kp-accent-green-strong), var(--kp-accent-green)); color: #fff; font-size: 18px; font-weight: 700; line-height: 1.4; transition: filter 0.18s ease, transform 0.18s ease; }
.hero-scroll-cue:hover { color: #fff; filter: brightness(1.06); }
.hero-scroll-cue:active { transform: scale(0.98); }

/* ABOUT: 3つのパネル(要点だけ。くわしくは ⓘ) */
.p-front-introduction__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.p-front-introduction__block-inner { height: 100%; }
.p-front-introduction__block-inner { padding: 36px 28px; border-radius: 24px; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); transition: border-color 0.35s ease, box-shadow 0.35s ease; }
.p-front-introduction__block-inner > p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--kp-text-sub); }
.p-front-introduction__block-inner strong { display: inline-block; margin-bottom: 10px; font-size: 18px; line-height: 1.6; letter-spacing: -0.01em; color: var(--kp-text); }

/* SERVERS: カード(ラベル・画像・名前・ひとこと) */
.p-front-case-mark__list { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-front-case-mark__item { position: relative; border-radius: 24px; padding: 24px; min-width: 0; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); transition: transform 0.22s var(--kp-ease), box-shadow 0.22s ease, border-color 0.22s ease; }
.p-front-case-mark__item:hover { transform: translateY(-4px); border-color: var(--kp-accent-green); box-shadow: var(--kp-shadow-hover); }
.c-case-mark-list__item-link { color: inherit; display: block; }
.c-case-mark-list__item-link:hover { color: inherit; }
.c-case-mark-list__item-mark p { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--kp-text-mute); margin: 0 0 12px; }
.c-case-mark-list__item-image { border-radius: 14px; overflow: hidden; }
.c-case-mark-list__item-image-inner { position: relative; padding-bottom: 56.25%; background: #0b1323; }
.c-case-mark-list__item-image-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.p-front-case-mark__item:hover .c-case-mark-list__item-image-inner img { transform: scale(1.04); }
/* 画像の無いサーバーは、名前を大きな文字で見せる */
.c-case-mark-list__item-image-inner:has(.c-case-mark-list__item-type) { background: radial-gradient(circle at 30% 15%, #12382b, #0b1323 62%); }
.c-case-mark-list__item-type { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; letter-spacing: 0.08em; text-align: center; }
.c-case-mark-list__item-type { background: linear-gradient(120deg, #22c55e, #2dd4bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-case-mark-list__item-title { font-size: 22px; margin: 24px 0 8px; }
.c-case-mark-list__item-description { font-size: 15px; line-height: 1.9; color: var(--kp-text-sub); margin: 0; }

/* NEWS: 横に流れるカード(Apple Books の「ライブラリ」を参考にした旧トップの表現) */
.p-front-posts__marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.p-front-posts__marquee + .p-front-posts__marquee { margin-top: 20px; }
.p-front-posts__list { display: flex; gap: 20px; width: max-content; animation: kontek-marquee-scroll 34s linear infinite; }
.p-front-posts__marquee--reverse .p-front-posts__list { animation-name: kontek-marquee-scroll-reverse; }
.p-front-posts__marquee:hover .p-front-posts__list, .p-front-posts__marquee:focus-within .p-front-posts__list { animation-play-state: paused; }
@keyframes kontek-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kontek-marquee-scroll-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.p-front-posts__static { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.post-card { display: block; flex: 0 0 auto; width: 300px; min-width: 0; transition: transform 0.2s var(--kp-ease); }
.post-card:hover { transform: translateY(-4px); }
.post-card-link { display: block; color: inherit; }
.post-card-link:hover { color: inherit; }
.hover-container { position: relative; overflow: hidden; border-radius: 14px; }
.hover-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity 300ms ease; }
.post-card-link:hover .hover-content, .post-card-link:focus-visible .hover-content { opacity: 1; }
.marquee-cta { display: inline-block; border-radius: 980px; background: #ffffff; color: #1d1d1f; font-size: 14px; font-weight: 600; padding: 11px 21px; transform: translateY(15px); transition: transform 400ms ease; }
.post-card-link:hover .marquee-cta, .post-card-link:focus-visible .marquee-cta { transform: translateY(0); }
.post-card-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: var(--kp-bg-panel); display: flex; align-items: center; justify-content: center; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-thumb--text { background: radial-gradient(circle at 30% 15%, #12382b, #0b1323 62%); }
.post-card-thumb--text span { font-size: 22px; font-weight: 800; letter-spacing: 0.12em; background: linear-gradient(120deg, #22c55e, #2dd4bf); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 16px; text-align: center; }
.post-title { font-size: 17px; font-weight: 700; margin: 16px 4px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-date { font-size: 12px; color: var(--kp-text-mute); margin: 0 4px 12px; }

/* JOIN: 3つのステップ */
.p-front-join__steps { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.join-step__addr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.join-step__addr .copy { margin-left: 2px; }
.join-step { border-radius: 24px; padding: 32px; min-width: 0; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); transition: border-color 0.35s ease, box-shadow 0.35s ease; }
.step-num { display: inline-block; font-size: 12px; letter-spacing: 0.2em; color: var(--kp-accent-green); }
.join-step h3 { font-size: 20px; margin: 16px 0; }
.join-step > p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--kp-text-sub); }
.join-step code { background: var(--kp-bg-soft); border: 1px solid var(--kp-border-soft); padding: 2px 8px; border-radius: 8px; font-size: 13px; color: var(--kp-text); user-select: all; }

@media (max-width: 1023px) {
  .kontek-main .section { padding: 88px 24px; }
  .kontek-main .hero { padding: 68px 0 36px; }
  .world-showcase { gap: 16px; width: calc(100% - 40px); margin-top: 64px; }
  .world-scene > span { left: 18px; bottom: 20px; }
  .p-front-introduction__track, .p-front-case-mark__list, .p-front-join__steps { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
  .post-card { width: 260px; }
}
@media (max-width: 600px) {
  .kontek-main .section { padding: 72px 20px; }
  .kontek-main .hero { padding: 56px 0 32px; }
  .hero-inner { padding-inline: 20px; }
  .hero-app-icon { width: 180px; }
  .hero-title { font-size: clamp(27px, 7vw, 42px); line-height: 1.38; }
  .hero-kicker { font-size: 9px; letter-spacing: 0.13em; }
  .hero-subtitle, .kontek-main .section-text { font-size: 15px; }
  .hero-subtitle br { display: none; }
  .hero-buttons { gap: 10px; }
  .kontek-main .hero-button { font-size: 12px; padding: 10px 16px; min-height: 44px; }
  .world-showcase { gap: 12px; width: calc(100% - 32px); margin: 48px auto 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world-scene { height: 176px; border-radius: 18px; }
  .world-scene:nth-child(2) { grid-column: 1 / -1; grid-row: 1; height: 228px; margin-top: 0; }
  .world-scene > span { left: 14px; bottom: 16px; font-size: 15px; }
  .world-scene small { font-size: 9px; }
  .hero-scroll-cue { font-size: 16px; min-height: 52px; }
  .kontek-main .section-header { margin-bottom: 40px; }
  .kontek-main .section-title { font-size: clamp(27px, 7vw, 38px); }
  .p-front-introduction__block-inner, .join-step { padding: 28px 24px; }
}

/* =========================================================
   そのほかのページ(旧スキンの記事・一覧の決まり)
   ========================================================= */
/* 記事カード(一覧) */
.entry-cards { display: grid; gap: 20px; }
.entry-card { position: relative; display: grid; gap: 18px; padding: 20px; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); border-radius: 20px; box-shadow: var(--kp-shadow-card); overflow: hidden; transition: transform 0.22s var(--kp-ease), box-shadow 0.22s ease, border-color 0.22s ease; }
.entry-card:hover { transform: translateY(-4px); border-color: var(--kp-accent-green); box-shadow: var(--kp-shadow-hover); }
.entry-card-thumb { border-radius: 14px; overflow: hidden; background: var(--kp-bg-soft); align-self: start; }
.entry-card-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.35s ease; }
.entry-card:hover .entry-card-thumb img { transform: scale(1.04); }
.entry-card-content { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.entry-card-title { font-size: 1.15rem; line-height: 1.4; letter-spacing: -0.015em; }
.entry-card-title a { color: var(--kp-text); }
.entry-card-title a::after { content: ""; position: absolute; inset: 0; } /* カード全体を押せるようにする */
.entry-card:hover .entry-card-title a { color: var(--kp-accent-green); }
.entry-card-snippet { margin: 0; font-size: 14px; line-height: 1.75; color: var(--kp-text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 680px) { .entry-card--media { grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 24px; } }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 2px 0 0; color: var(--kp-text-mute); font-size: 12px; }
.byline { display: inline-flex; align-items: center; gap: 6px; color: var(--kp-text-sub); font-weight: 600; }
.byline a { color: inherit; }
.byline a:hover { color: var(--kp-accent-green); }
.byline__avatar { border-radius: 5px; image-rendering: pixelated; }

.two-col { display: grid; gap: 48px; }
@media (min-width: 980px) { .two-col { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; } }
.side { display: grid; gap: 18px; }
.side > * { margin: 0; }
.side__title { font-size: 14px; margin: 14px 0 -6px; color: var(--kp-text-sub); font-weight: 600; }
.side__box { background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); border-radius: 18px; padding: 16px 18px; }
.side__box .side__title { margin: 0 0 6px; }
.side__box p { font-size: 14px; color: var(--kp-text-sub); margin: 0 0 8px; }
.ranked { list-style: none; counter-reset: rank; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); border-radius: 18px; padding: 6px 18px; }
.ranked li { counter-increment: rank; display: grid; grid-template-columns: 1.6em 1fr; gap: 6px; padding: 10px 0; font-size: 14px; line-height: 1.6; }
.ranked li + li { border-top: 1px solid var(--kp-border-soft); }
.ranked li::before { content: counter(rank); font-weight: 700; color: var(--kp-accent-green); font-variant-numeric: tabular-nums; }
.ranked a, .plain a { color: var(--kp-text); }
.ranked a:hover, .plain a:hover { color: var(--kp-accent-green); }
.plain { list-style: none; }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--kp-border-soft); font-size: 14px; line-height: 1.6; }
.plain--lg li { font-size: 16px; display: grid; gap: 2px; }
.plain--lg span { color: var(--kp-text-sub); font-size: 14px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border: 1px solid var(--kp-border); border-radius: 9999px; background: var(--kp-bg-panel); color: var(--kp-text); font-size: 13px; min-height: 32px; transition: all 0.2s ease; }
.chips a:hover { border-color: var(--kp-accent-green); color: var(--kp-accent-green); }
.chips span { color: var(--kp-text-mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.chips--tags { margin-top: 36px; }
.catnav { margin: 0 0 32px; overflow-x: auto; scrollbar-width: none; }
.catnav ul { list-style: none; display: flex; gap: 8px; white-space: nowrap; }
.catnav a { display: inline-flex; gap: 6px; align-items: baseline; padding: 8px 16px; border: 1px solid var(--kp-border); border-radius: 9999px; background: var(--kp-bg-panel); color: var(--kp-text); font-size: 14px; transition: all 0.2s ease; }
.catnav a:hover { border-color: var(--kp-accent-green); color: var(--kp-accent-green); }
.catnav a.is-empty { color: var(--kp-text-mute); background: transparent; border-style: dashed; }
.catnav span { color: var(--kp-text-mute); font-size: 12px; }
.searchbar { display: flex; gap: 8px; margin-top: 22px; max-width: 520px; }
.searchbar input { flex: 1; min-width: 0; min-height: 48px; padding: 8px 18px; border: 1px solid var(--kp-border); border-radius: 12px; background: var(--kp-bg-panel); color: var(--kp-text); font: inherit; }
.empty { padding: 48px 32px; border-radius: 24px; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); text-align: center; }
.empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p, .empty-note { color: var(--kp-text-sub); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; font-variant-numeric: tabular-nums; }
.pagination a, .pagination span { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 9999px; color: var(--kp-text); font-size: 14px; }
.pagination a { background: var(--kp-bg-panel); border: 1px solid var(--kp-border); transition: all 0.2s ease; }
.pagination a:hover { border-color: var(--kp-accent-green); color: var(--kp-accent-green); }
.pagination [aria-current] { background: var(--kp-accent-green); color: #ffffff; }
.subhead { font-size: 15px; color: var(--kp-text-sub); margin: 36px 0 12px; }
.subhead--lg { font-size: clamp(1.45rem, 2.8vw, 1.85rem); color: var(--kp-text); margin-top: 64px; border-left: 4px solid var(--kp-accent-green); padding-left: 14px; }

/* 接続先 */
.join-box { margin: 24px 0; border: 1px solid var(--kp-border-soft); border-radius: 24px; background: var(--kp-bg-panel); padding: 24px 28px; }
.connect { margin: 0; display: grid; gap: 12px; }
.connect > div { display: grid; grid-template-columns: 5em 1fr; gap: 10px; align-items: center; }
.connect dt { font-weight: 700; font-size: 14px; color: var(--kp-text-sub); }
.connect dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.connect code { background: var(--kp-bg-soft); border: 1px solid var(--kp-border-soft); padding: 4px 12px; border-radius: 8px; font-size: 15px; user-select: all; }
.connect__port { font-size: 14px; color: var(--kp-text-sub); }
.join-box__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.join-box--compact { background: transparent; }
.serverrows { list-style: none; margin: 0 0 8px; display: grid; gap: 12px; }
.serverrows a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 20px 24px; border-radius: 20px; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); color: var(--kp-text); transition: transform 0.22s var(--kp-ease), box-shadow 0.22s ease, border-color 0.22s ease; }
.serverrows a:hover { transform: translateY(-3px); border-color: var(--kp-accent-green); box-shadow: var(--kp-shadow-hover); }
.serverrows__name { font-weight: 700; font-size: 18px; }
.serverrows__desc { grid-column: 1; color: var(--kp-text-sub); font-size: 14px; line-height: 1.7; }
.serverrows svg { grid-row: 1 / span 2; grid-column: 2; color: var(--kp-text-mute); }

/* 記事ページ */
.article { display: grid; gap: 48px; margin-top: 8px; }
.article__main { min-width: 0; max-width: 840px; }
.article:not(.article--with-side) .article__main { margin-inline: auto; width: 100%; }
.article__side { display: none; }
@media (min-width: 1140px) {
  .article--with-side { grid-template-columns: minmax(0, 800px) 260px; justify-content: space-between; }
  .article__side { display: block; }
  .article__side > .toc { position: sticky; top: 84px; max-height: calc(100vh - 110px); overflow: auto; }
  .toc-mobile { display: none; }
}
.article__head { margin: 28px 0 28px; }
.article__kicker { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 0 0 16px; font-size: 12px; color: var(--kp-text-mute); }
.article__head h1 { font-size: clamp(2.1rem, 4.4vw, 2.9rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.03em; }
.article__summary { margin: 16px 0 0; color: var(--kp-text-sub); font-size: 17px; line-height: 1.8; }
.meta--article { margin-top: 20px; font-size: 12px; }
.article__hero { margin: 0 0 32px; }
.article__hero img { display: block; max-width: 100%; margin-inline: auto; border-radius: 20px; background: var(--kp-bg-soft); }
.notice { padding: 14px 18px; border-radius: 12px; font-size: 14.5px; margin: 0 0 24px; }
.notice--warn { background: var(--kt-warning-soft); color: var(--kt-warning); }
.toc { background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); border-radius: 20px; padding: 18px 20px; }
.toc h2 { font-size: 14px; margin-bottom: 8px; }
.toc ol { list-style: none; }
.toc a { display: block; padding: 6px 0; color: var(--kp-text-sub); font-size: 14px; line-height: 1.55; }
.toc a:hover { color: var(--kp-accent-green); }
.toc-mobile { margin: 0 0 28px; }
.toc-mobile > summary { cursor: pointer; padding: 14px 20px; font-weight: 700; font-size: 15px; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); border-radius: 20px; list-style-position: inside; }
.toc-mobile[open] > summary { border-radius: 20px 20px 0 0; border-bottom: 0; }
.toc-mobile .toc { border-radius: 0 0 20px 20px; border-top: 0; padding-top: 0; }
.toc-mobile .toc h2 { display: none; }
.sources { margin-top: 48px; padding: 20px 24px; border-radius: 20px; background: var(--kp-bg-soft); }
.sources h2 { font-size: 14px; margin-bottom: 8px; color: var(--kp-text-sub); }
.author-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-top: 44px; padding: 22px 24px; border: 1px solid var(--kp-border-soft); border-radius: 20px; background: var(--kp-bg-panel); box-shadow: var(--kp-shadow-card); }
.author-card img, .author-card__initial { width: 56px; height: 56px; border-radius: 12px; image-rendering: pixelated; }
.author-card__initial, .people__initial, .author__initial { display: inline-flex; align-items: center; justify-content: center; background: var(--kp-accent-green-soft); color: var(--kp-accent-green); font-weight: 700; font-size: 22px; }
.author-card p { margin: 0; }
.author-card__label { font-size: 12px; color: var(--kp-text-mute); }
.author-card__name { font-weight: 700; font-size: 17px; }
.author-card__name a { color: var(--kp-text); }
.author-card__name a:hover { color: var(--kp-accent-green); }
.author-card__note { font-size: 13.5px; color: var(--kp-text-sub); }
.related { margin-top: 64px; }
.next-action { margin-top: 56px; padding: 28px; border-radius: 24px; background: var(--kp-bg-soft); }
.next-action p { margin: 0 0 12px; color: var(--kp-text-sub); font-size: 15px; }
.next-action p:last-child { margin-bottom: 0; }
/* 広告枠: 表示領域を先に確保して、読み込み後に本文が動かないようにする */
.ad-slot { margin: 36px 0; padding: 8px 0 0; border-block: 1px solid var(--kp-border-soft); text-align: center; overflow: hidden; }
.ad-slot__label { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.1em; color: var(--kp-text-mute); }
.ad-slot--desktop { margin-top: 32px; }
@media (max-width: 1139px) { .ad-slot--desktop { display: none; } }

/* 固定ページ・サーバー */
.doc { margin-bottom: 24px; }
.doc__updated { margin-top: 40px; font-size: 12px; color: var(--kp-text-mute); }
.serverlist { display: grid; gap: 20px; margin-bottom: 32px; }
.serverlist__item { position: relative; display: grid; gap: 18px; padding: 20px; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); border-radius: 20px; box-shadow: var(--kp-shadow-card); transition: transform 0.22s var(--kp-ease), box-shadow 0.22s ease, border-color 0.22s ease; }
.serverlist__item:hover { transform: translateY(-4px); border-color: var(--kp-accent-green); box-shadow: var(--kp-shadow-hover); }
.serverlist__item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: var(--kp-bg-soft); }
.serverlist__item h2 { font-size: 22px; }
.serverlist__item h2 a { color: var(--kp-text); }
.serverlist__item h2 a::after { content: ""; position: absolute; inset: 0; }
.serverlist__item p { color: var(--kp-text-sub); margin: 6px 0 10px; font-size: 15px; line-height: 1.9; }
.serverlist__tag { font-size: 13px !important; color: var(--kp-accent-green) !important; font-weight: 600; margin: 4px 0 0 !important; }
@media (min-width: 700px) { .serverlist__item { grid-template-columns: 300px 1fr; gap: 28px; align-items: center; padding: 24px; } .serverlist__item--text { grid-template-columns: 1fr; padding: 28px; } }
.worlds { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.world { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #0b1323; color: #fff; aspect-ratio: 16 / 9; }
.world img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.world:hover img { transform: scale(1.04); }
.world:hover { color: #fff; }
.world__blank { display: block; width: 100%; height: 100%; }
.world__text { position: absolute; inset: auto 0 0 0; padding: 36px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.73)); display: grid; gap: 2px; }
.world__text strong { font-size: 17px; }
.world__text span { font-size: 13px; opacity: 0.9; }
@media (min-width: 640px) { .worlds { grid-template-columns: repeat(3, 1fr); } }

/* 著者・イベント */
.people { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.people a { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--kp-bg-panel); border: 1px solid var(--kp-border-soft); color: var(--kp-text); transition: transform 0.22s var(--kp-ease), border-color 0.22s ease, box-shadow 0.22s ease; }
.people a:hover { transform: translateY(-3px); border-color: var(--kp-accent-green); box-shadow: var(--kp-shadow-hover); }
.people img, .people__initial { width: 48px; height: 48px; border-radius: 12px; image-rendering: pixelated; }
.people span > span { display: block; font-size: 12px; color: var(--kp-text-mute); }
.author__head { display: grid; gap: 20px; margin: 40px 0 40px; }
.author__head img, .author__initial { width: 96px; height: 96px; border-radius: 22px; image-rendering: pixelated; font-size: 40px; }
.author__head h1 { font-size: clamp(2.1rem, 4.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.author__bio { margin: 12px 0 0; color: var(--kp-text-sub); max-width: 40em; }
.author__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 0; }
.author__facts dt { font-size: 12px; color: var(--kp-text-mute); }
.author__facts dd { margin: 0; font-weight: 600; }
.author__history { margin-bottom: 40px; }
.author__history h2 { font-size: 16px; margin-bottom: 8px; }
.author__history ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.author__history li { font-size: 14.5px; }
.author__history span { color: var(--kp-text-mute); margin-left: 8px; font-size: 13px; }
@media (min-width: 640px) { .author__head { grid-template-columns: 96px 1fr; gap: 28px; align-items: start; } }
.eventlist, .events, .newslist { list-style: none; }
.eventlist li, .events li, .newslist li { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--kp-border-soft); }
.eventlist time, .events time, .newslist time { color: var(--kp-text-mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.eventlist span { display: block; font-size: 13px; color: var(--kp-text-mute); }
.eventlist p { margin: 4px 0 0; font-size: 14.5px; color: var(--kp-text-sub); }
.newslist a { color: var(--kp-text); font-weight: 600; }
@media (max-width: 520px) { .eventlist li, .events li, .newslist li { grid-template-columns: 1fr; gap: 2px; } }

/* ---- フッター ---- */
.site-footer { margin-top: 96px; border-top: 1px solid var(--kp-border); background: var(--kp-bg); padding: 56px 0 32px; font-size: 14px; }
.kontek-main + .site-footer { margin-top: 0; }
.site-footer__inner { width: min(100% - 40px, 1120px); margin-inline: auto; display: grid; gap: 36px; }
.site-footer__brand .brand { margin-left: -18px; } /* ロゴの画像の左の透明な余白(幅の約 13%)を打ち消して、下の文と左を揃える */
.site-footer__brand .brand img { height: 36px; width: auto; }
.site-footer__brand p { color: var(--kp-text-sub); margin: 10px 0 0; max-width: 22em; font-size: 13px; line-height: 1.8; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.site-footer h2 { font-size: 13px; color: var(--kp-text); margin: 0 0 10px; font-weight: 700; letter-spacing: 0.02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-footer li a { display: inline-block; padding: 4px 0; color: var(--kp-text-sub); font-size: 13.5px; line-height: 1.6; }
.site-footer li a:hover, .site-footer__links a:hover { color: var(--kp-accent-green); }
.site-footer__bottom { width: min(100% - 40px, 1120px); margin: 44px auto 0; padding-top: 20px; border-top: 1px solid var(--kp-border); display: grid; gap: 10px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; }
.site-footer__links a { color: var(--kp-text-sub); }
.site-footer__legal { margin: 0; color: var(--kp-text-mute); font-size: 11.5px; line-height: 1.8; }
@media (min-width: 760px) { .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 56px; }
  .site-footer__bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 24px; }
  .site-footer__bottom .site-footer__links { order: 2; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .ad-slot, .next-action, .related, .breadcrumb, .article__side, .toc-mobile { display: none !important; } body { background: #fff; color: #000; } }

/* 記事へのコメント(2026-10-30) */
.comments { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--kp-border); }
.comments__title { display: flex; align-items: baseline; gap: 10px; font-size: 1.25rem; margin: 0 0 18px; }
.comments__title span { font-size: .85rem; color: var(--kp-text-sub); font-weight: 600; }
.comments__empty { color: var(--kp-text-sub); }
.cmt-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 18px; }
.cmt { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.cmt__avatar { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; image-rendering: pixelated; background: var(--kp-bg-sub, rgba(127,127,127,.12)); display: grid; place-items: center; font-weight: 700; color: var(--kp-text-sub); }
.cmt__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font-size: 14px; }
.cmt__head time { color: var(--kp-text-mute); font-size: 12px; }
.cmt__via { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--kp-bg-sub, rgba(127,127,127,.12)); color: var(--kp-text-sub); }
.cmt__text { margin: 4px 0 0; line-height: 1.8; overflow-wrap: anywhere; }
.comments__write { display: grid; gap: 8px; justify-items: start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--kp-border); }
.comments__write p { margin: 0; font-size: 13px; color: var(--kp-text-sub); }
