/* 株式会社プラスハイ — site styles (mobile first, light/dark) */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #efebe3;
  --ink: #1a1d21;
  --ink-2: #4a515b;
  --muted: #747b85;
  --rule: #e2ddd3;
  --accent: #8a4b1f;        /* コーヒー / 赤土 */
  --accent-ink: #ffffff;
  --accent-soft: #f3e6da;
  --teal: #1f5d5a;          /* 紅海 */
  --focus: #2f6fd6;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 6px 24px rgba(20, 20, 20, .06);
  --mtc-bg: #2a1d15;
  --mtc-ink: #f4ece2;
  --mtc-muted: #c9b8a6;
  --radius: 10px;
  --serif: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121315;
    --surface: #1a1c1f;
    --surface-2: #22252a;
    --ink: #ece8e1;
    --ink-2: #bdb7ad;
    --muted: #8d8880;
    --rule: #2e3136;
    --accent: #d99a62;
    --accent-ink: #1a1208;
    --accent-soft: #2c2219;
    --teal: #7fc1bb;
    --focus: #8ab4ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 24px rgba(0, 0, 0, .25);
    --mtc-bg: #1e1510;
    --mtc-ink: #f1e7da;
    --mtc-muted: #b9a692;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121315; --surface: #1a1c1f; --surface-2: #22252a; --ink: #ece8e1; --ink-2: #bdb7ad;
  --muted: #8d8880; --rule: #2e3136; --accent: #d99a62; --accent-ink: #1a1208; --accent-soft: #2c2219;
  --teal: #7fc1bb; --focus: #8ab4ff; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 24px rgba(0,0,0,.25);
  --mtc-bg: #1e1510; --mtc-ink: #f1e7da; --mtc-muted: #b9a692; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  height: 32px; padding: 0 8px; border-radius: 6px;
  background: var(--ink); color: var(--bg);
  font: 700 14px/1 var(--sans); letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name b { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .06em; }
.brand-name small { font-size: 10px; color: var(--muted); letter-spacing: .24em; }
.site-nav { display: flex; gap: 4px; font-size: 13px; }
.site-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 8px; border-radius: 6px; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 560px) { .site-nav .opt { display: none; } }
.site-nav { align-items: center; }
.site-nav a.nav-cta {
  background: var(--accent); color: var(--accent-ink); font-weight: 700; letter-spacing: .08em;
  padding: 7px 12px; display: inline-flex; align-items: baseline; gap: 6px;
}
.site-nav a.nav-cta:hover { background: var(--accent); color: var(--accent-ink); filter: brightness(1.08); }
.nav-cta-sub { font-size: 10px; font-weight: 500; opacity: .85; letter-spacing: .04em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn.lg { padding: 15px 22px; font-size: 15px; }

/* ---------- home ---------- */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--rule); }
.eyebrow { font-size: 12px; letter-spacing: .2em; color: var(--accent); font-weight: 700; margin: 0 0 14px; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 6.4vw, 44px); line-height: 1.5; letter-spacing: .04em;
  margin: 0 0 20px; text-wrap: balance;
}
.hero h1 .br { display: inline-block; }
.hero p.lead { color: var(--ink-2); margin: 0; max-width: 40em; }
.motto { margin-top: 28px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.motto q { font-family: var(--serif); font-size: 18px; quotes: "「" "」"; letter-spacing: .1em; }
.motto span { font-size: 12px; color: var(--muted); }

section.block { padding: 48px 0; border-bottom: 1px solid var(--rule); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.block-head h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0; letter-spacing: .06em; }
.block-head .en { font-size: 11px; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }

.latest {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.latest::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
.latest:hover { border-color: var(--accent); }
.latest .meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.latest h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 4.8vw, 26px); line-height: 1.5; margin: 8px 0 10px; }
.latest p { margin: 0; color: var(--ink-2); }
.latest .go { margin-top: 16px; font-size: 14px; color: var(--accent); font-weight: 700; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}
.badge.sample { background: var(--surface-2); color: var(--ink-2); border: 1px dashed var(--muted); }

.issue-list { list-style: none; margin: 0; padding: 0; }
.issue-list li { border-top: 1px solid var(--rule); }
.issue-list li:last-child { border-bottom: 1px solid var(--rule); }
.issue-list a { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 14px 4px; color: var(--ink); text-decoration: none; }
.issue-list a:hover { background: var(--surface); }
.issue-list time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.issue-list .t { font-weight: 500; }
.empty { color: var(--muted); font-size: 14px; }
.empty.pad { padding: 14px 4px; margin: 0; }
.block-head.sub { margin-top: 40px; }
.block-head.sub h2 { font-size: 17px; }

.services { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
.service { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; }
.service .num { font: 700 12px/1 var(--sans); color: var(--teal); letter-spacing: .14em; }
.service h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; margin: 8px 0 6px; }
.service p { margin: 0; font-size: 14px; color: var(--ink-2); }

.mtc { background: var(--mtc-bg); color: var(--mtc-ink); border-radius: 14px; padding: 28px 22px; display: grid; gap: 20px; position: relative; overflow: hidden; }
@media (min-width: 760px) { .mtc { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 40px; } }
.mtc .tag { font-size: 11px; letter-spacing: .24em; color: var(--mtc-muted); }
.mtc h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 5vw, 30px); margin: 6px 0 10px; letter-spacing: .04em; }
.mtc p { margin: 0; color: var(--mtc-muted); font-size: 14px; }
.mtc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mtc li { border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.mtc li span { color: var(--mtc-muted); font-size: 12px; white-space: nowrap; }
.mtc .bean { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); pointer-events: none; }

.contact dl { display: grid; grid-template-columns: 6em 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 14px/1 var(--sans); letter-spacing: .04em;
  padding: 12px 18px; border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.site-footer { padding: 32px 0 96px; font-size: 12px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- issue page ---------- */
.issue-head { padding: 40px 0 24px; }
.issue-head .meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.issue-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 6vw, 36px); line-height: 1.5; margin: 12px 0 14px; letter-spacing: .03em; text-wrap: balance; }
.issue-head .summary { color: var(--ink-2); font-size: 16px; margin: 0; padding-left: 14px; border-left: 3px solid var(--accent); }
.sample-note { margin: 18px 0 0; padding: 12px 14px; border: 1px dashed var(--muted); border-radius: 8px; font-size: 13px; color: var(--ink-2); background: var(--surface); }

.prose { font-size: 17px; line-height: 2; padding-bottom: 24px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.6; margin: 2.2em 0 .6em; padding-top: .6em; border-top: 1px solid var(--rule); }
.prose h3 { font-size: 17px; margin: 1.8em 0 .4em; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--rule); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 8px; text-align: left; }
.prose code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; font-size: .9em; }

.engage { border-top: 1px solid var(--rule); padding: 20px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.views { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.reactions { display: flex; gap: 8px; flex-wrap: wrap; }
.rx {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--rule); color: var(--ink);
  font: 500 13px/1 var(--sans);
}
.rx .e { font-size: 17px; line-height: 1; }
.rx .n { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 1ch; }
.rx[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.rx[aria-pressed="true"] .n { color: var(--accent); font-weight: 700; }
.rx:disabled { opacity: .6; }

.sources, .comments { border-top: 1px solid var(--rule); padding: 28px 0; }
.sources h2, .comments h2 { font-family: var(--serif); font-weight: 600; font-size: 18px; margin: 0 0 14px; }
.sources ol { margin: 0; padding-left: 1.4em; font-size: 14px; color: var(--ink-2); }
.sources li { margin-bottom: 6px; word-break: break-word; }

.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.comment-list .who { font-size: 13px; font-weight: 700; }
.comment-list .when { font-size: 12px; color: var(--muted); margin-left: 8px; font-weight: 400; }
.comment-list .body { margin: 4px 0 0; white-space: pre-wrap; word-break: break-word; font-size: 15px; }
.form { display: grid; gap: 10px; }
.form label { font-size: 13px; color: var(--ink-2); display: grid; gap: 4px; }
.input, .textarea {
  width: 100%; font: 16px/1.6 var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.form-msg { font-size: 13px; color: var(--muted); min-height: 1.4em; }
.form-msg.err { color: #c0392b; }
.consult-cta { margin: 8px 0 32px; padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.consult-cta p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------- chat ---------- */
.chat-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg); box-shadow: 0 8px 28px rgba(0,0,0,.22);
  font: 700 14px/1 var(--sans); letter-spacing: .04em;
}
.chat-fab .dot { width: 8px; height: 8px; border-radius: 50%; background: #e05a3a; display: none; }
.chat-fab.unread .dot { display: inline-block; }
.chat-panel {
  position: fixed; z-index: 50; inset: auto 0 0 0; height: min(86vh, 640px);
  background: var(--surface); border-top: 1px solid var(--rule); border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,.18);
  display: none; flex-direction: column;
}
.chat-panel.open { display: flex; }
@media (min-width: 640px) {
  .chat-panel { inset: auto 16px 16px auto; width: 380px; height: min(80vh, 600px); border: 1px solid var(--rule); border-radius: 14px; }
}
.chat-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.chat-top b { font-family: var(--serif); font-weight: 600; font-size: 16px; }
.chat-top small { display: block; font-size: 11px; color: var(--muted); }
.chat-close { background: none; border: 0; color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.chat-notice { margin: 0; padding: 8px 16px; font-size: 12px; color: var(--teal); background: var(--surface-2); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.msg .who { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.msg.visitor { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.msg.ai, .msg.system { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.staff { align-self: flex-start; background: var(--accent-soft); border: 1px solid var(--accent); border-bottom-left-radius: 4px; }
.msg.pending { opacity: .6; font-style: italic; }
.chat-intro { font-size: 13px; color: var(--ink-2); }
.chat-form { border-top: 1px solid var(--rule); padding: 10px 12px 12px; display: grid; gap: 8px; }
.chat-form textarea { min-height: 44px; max-height: 140px; }
.chat-form .row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.chat-contact summary { font-size: 12px; color: var(--ink-2); cursor: pointer; }
.chat-contact .input { margin-top: 6px; font-size: 14px; }
.chat-err { font-size: 12px; color: #c0392b; min-height: 1em; }

/* ---------- admin ---------- */
.admin main { padding: 24px 0 64px; }
.admin h2 { font-family: var(--serif); font-weight: 600; font-size: 18px; margin: 32px 0 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; }
.tbl th, .tbl td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.tbl th { font-size: 12px; color: var(--muted); font-weight: 500; }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }
.tbl tr.hidden td { opacity: .5; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pill.need { background: #fbe3dc; color: #a2341b; }
.pill.human { background: var(--accent-soft); color: var(--accent); }
.pill.ai { background: var(--surface-2); color: var(--ink-2); }
.sessions { display: grid; gap: 8px; }
.session { text-align: left; width: 100%; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; cursor: pointer; color: var(--ink); font: inherit; font-size: 13px; }
.session.active { border-color: var(--accent); }
.session .line { color: var(--ink-2); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-admin { display: grid; gap: 16px; }
@media (min-width: 900px) { .chat-admin { grid-template-columns: 340px 1fr; } }
.thread { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.thread .chat-log { max-height: 50vh; padding: 0; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn.sm { padding: 7px 10px; font-size: 12px; }

/* ================= issue page (reading experience) ================= */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.issue-page .issue-head { padding: 32px 0 20px; max-width: 46em; }
.issue-page .issue-head h1 { font-size: clamp(20px, 4.6vw, 26px); margin: 10px 0 6px; color: var(--ink-2); }
.conclusion {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(22px, 5.6vw, 32px); line-height: 1.55; letter-spacing: .03em;
  margin: 0 0 18px; text-wrap: balance;
}
.signals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 40em; }
@media (min-width: 640px) { .signals { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.signal { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--rule); background: var(--surface); font-size: 13px; }
.signal-k { color: var(--ink-2); font-weight: 500; }
.signal-v { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.signal-v i { font-style: normal; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; color: #fff; }
.signal.up .signal-v { color: var(--sig-up); } .signal.up i { background: var(--sig-up); }
.signal.flat .signal-v { color: var(--sig-flat); } .signal.flat i { background: var(--sig-flat); }
.signal.down .signal-v { color: var(--sig-down); } .signal.down i { background: var(--sig-down); }
.signal.na .signal-v { color: var(--muted); } .signal.na i { background: var(--muted); }
:root { --sig-up: #2e7d4f; --sig-flat: #a86b00; --sig-down: #b3261e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sig-up: #6fcf97; --sig-flat: #f2b94b; --sig-down: #ff8a80; } }
:root[data-theme="dark"] { --sig-up: #6fcf97; --sig-flat: #f2b94b; --sig-down: #ff8a80; }

.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.card h2 { font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: .08em; margin: 0 0 8px; color: var(--accent); }
.three { max-width: 46em; margin: 8px 0 16px; }
.three ol { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; font-size: 16px; line-height: 1.75; }
.three li::marker { color: var(--accent); font-weight: 700; }
.numbers { max-width: 46em; margin: 0 0 28px; }
.numbers h2 { font-size: 12px; letter-spacing: .2em; color: var(--muted); font-weight: 700; margin: 0 0 8px; }
.numbers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .numbers ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.numbers li { background: var(--surface); padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.num-v { font: 700 clamp(22px, 5.4vw, 28px)/1.15 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--ink); }
.num-k { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.num-u { font-size: 11px; color: var(--muted); }

.issue-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; border-top: 1px solid var(--rule); padding-top: 8px; }
@media (min-width: 980px) { .issue-grid { grid-template-columns: 210px minmax(0, 1fr); } }
.issue-main { min-width: 0; max-width: 40em; }
.toc { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); margin: 0 -16px; padding: 0 16px; }
.toc summary { cursor: pointer; padding: 10px 0; font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .1em; list-style: none; display: flex; justify-content: space-between; }
.toc summary::after { content: "＋"; color: var(--muted); }
.toc[open] summary::after { content: "－"; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0 0 12px; display: grid; gap: 2px; font-size: 14px; }
.toc a { display: block; padding: 5px 10px; border-left: 2px solid var(--rule); color: var(--ink-2); text-decoration: none; line-height: 1.5; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { border-left-color: var(--accent); color: var(--accent); font-weight: 700; }
@media (min-width: 980px) {
  .toc { top: 24px; align-self: start; margin: 24px 0 0; padding: 0; border: 0; max-height: calc(100vh - 48px); overflow-y: auto; }
  .toc summary { pointer-events: none; padding-top: 0; }
  .toc summary::after { content: ""; }
}

.issue-page .prose { font-size: 16px; line-height: 1.9; max-width: 38em; padding-top: 8px; }
@media (min-width: 640px) { .issue-page .prose { font-size: 17px; } }
.issue-page .prose .intro p { color: var(--ink-2); font-size: .94em; }
.sec { scroll-margin-top: 56px; }
@media (min-width: 980px) { .sec { scroll-margin-top: 16px; } }
.issue-page .prose h2 { font-size: 1.3em; margin: 2em 0 .4em; }
.sec-lead { font-weight: 700; font-size: 1.04em; color: var(--ink); }
.callout { margin: 1.4em 0; padding: 16px 18px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: var(--radius); }
.callout-h { margin: 0 0 .4em !important; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.callout ol, .callout ul { margin: 0; padding-left: 1.3em; }
.callout li { margin-bottom: .4em; }
.ad-block { margin: 2.4em 0 1em; padding: 18px 20px; border-radius: var(--radius); background: var(--mtc-bg); color: var(--mtc-ink); font-size: .92em; }
.ad-block p { margin: 0 0 .6em; } .ad-block p:last-child { margin: 0; color: var(--mtc-muted); }
.ad-block strong { color: var(--mtc-muted); font-size: .85em; letter-spacing: .1em; }

.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--rule); border-radius: 8px; -webkit-overflow-scrolling: touch; }
.issue-page .prose table { display: table; width: 100%; min-width: 520px; font-size: 14px; line-height: 1.6; margin: 0; }
.issue-page .prose th, .issue-page .prose td { padding: 9px 10px; vertical-align: top; background: var(--surface); }
.issue-page .prose th { background: var(--surface-2); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.issue-page .prose th:first-child, .issue-page .prose td:first-child { position: sticky; left: 0; z-index: 1; font-weight: 700; min-width: 7.5em; max-width: 10em; box-shadow: 1px 0 0 var(--rule); }
.issue-page .prose th:first-child { background: var(--surface-2); }

.next-week { margin: 8px 0 24px; border-left: 4px solid var(--teal); }
.next-week h2 { color: var(--teal); }
.next-week ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: 15px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 24px; }
.pager a { display: block; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 8px; text-decoration: none; color: var(--ink); background: var(--surface); font-size: 14px; line-height: 1.5; }
.pager a small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.pager a.next { text-align: right; grid-column: 2; }
.pager a.pager-all { grid-column: 1 / -1; text-align: center; font-size: 13px; color: var(--ink-2); }
.share-sub { display: grid; gap: 16px; padding: 20px 0; border-top: 1px solid var(--rule); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; background: var(--surface); }
.share-btn:hover { border-color: var(--ink-2); }
.subscribe { display: grid; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); position: relative; }
.subscribe label { display: grid; gap: 2px; font-size: 13px; color: var(--ink-2); }
.subscribe label b { font-size: 15px; color: var(--ink); font-family: var(--serif); font-weight: 600; }
.subscribe-row { display: flex; gap: 8px; }
.subscribe-row .input { flex: 1; min-width: 0; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* header fit on small phones / JP line breaking */
.site-nav a, .brand-name b { white-space: nowrap; }
@media (max-width: 440px) {
  .brand-name b { font-size: 14px; letter-spacing: .02em; }
  .brand-name small { letter-spacing: .16em; }
  .nav-cta-sub { display: none; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 6px 7px; }
}

h1, h2, h3, .conclusion, .latest h3 { word-break: auto-phrase; }

/* nav: world link + short labels */
.site-nav a.nav-world { color: var(--teal); font-weight: 700; }
.site-nav .short { display: none; }
@media (max-width: 820px) { .site-nav .long { display: none; } .site-nav .short { display: inline; } }
@media (max-width: 560px) { .site-nav a.nav-world, .site-nav a.nav-archive { display: none; } }
.site-nav a.nav-mtc { color: var(--accent); font-weight: 700; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mtc li.mtc-link { border-style: dashed; }
.mtc li.mtc-link a { color: var(--mtc-ink); font-weight: 700; text-decoration: none; }

/* hero with lightweight CSS globe teaser (no three.js) */
.hero-grid { display: grid; gap: 8px; }
.hero-copy { min-width: 0; }
.globe-teaser { position: relative; justify-self: end; width: 120px; height: 120px; display: block; margin-bottom: -8px; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 40px; }
  .globe-teaser { order: 2; width: 280px; height: 280px; margin: 0; }
}
.globe-sphere {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #1d3557 0%, #0d1b2e 60%, #060c16 100%);
  box-shadow: 0 0 0 1px rgba(127, 193, 187, .25), 0 0 40px rgba(95, 160, 220, .25);
}
.globe-sphere::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .18), transparent 40%),
              radial-gradient(circle at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}
.globe-land {
  position: absolute; top: 0; left: 0; width: 200%; height: 100%;
  background-image: radial-gradient(circle, rgba(240, 163, 94, .85) 1.2px, transparent 1.6px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(ellipse 18% 30% at 12% 45%, #000 60%, transparent 62%), radial-gradient(ellipse 14% 22% at 30% 62%, #000 60%, transparent 62%), radial-gradient(ellipse 22% 18% at 42% 30%, #000 60%, transparent 62%), radial-gradient(ellipse 8% 12% at 47% 50%, #000 60%, transparent 62%), radial-gradient(ellipse 18% 30% at 62% 45%, #000 60%, transparent 62%), radial-gradient(ellipse 14% 22% at 80% 62%, #000 60%, transparent 62%), radial-gradient(ellipse 22% 18% at 92% 30%, #000 60%, transparent 62%);
  mask-image: radial-gradient(ellipse 18% 30% at 12% 45%, #000 60%, transparent 62%), radial-gradient(ellipse 14% 22% at 30% 62%, #000 60%, transparent 62%), radial-gradient(ellipse 22% 18% at 42% 30%, #000 60%, transparent 62%), radial-gradient(ellipse 8% 12% at 47% 50%, #000 60%, transparent 62%), radial-gradient(ellipse 18% 30% at 62% 45%, #000 60%, transparent 62%), radial-gradient(ellipse 14% 22% at 80% 62%, #000 60%, transparent 62%), radial-gradient(ellipse 22% 18% at 92% 30%, #000 60%, transparent 62%);
  animation: globe-spin 40s linear infinite;
}
@keyframes globe-spin { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.globe-arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.globe-arc path { fill: none; stroke: #ffd39a; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: arc-draw 5s ease-in-out infinite; }
.globe-arc path + path { stroke: #7fe3d6; animation-delay: .6s; }
.globe-arc circle { fill: #fff; }
@keyframes arc-draw { 0% { stroke-dashoffset: 160; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -160; } }
@media (prefers-reduced-motion: reduce) { .globe-arc path { stroke-dashoffset: 0; } }
.globe-teaser:hover .globe-sphere { box-shadow: 0 0 0 1px rgba(240, 163, 94, .5), 0 0 48px rgba(240, 163, 94, .3); }
.home-sub { margin-top: 24px; }

/* home entry block */
.match-entry { display: grid; gap: 16px; padding: 24px; border-radius: 14px; border: 1px solid var(--rule); background: var(--surface); }
@media (min-width: 760px) { .match-entry { grid-template-columns: 1fr auto; align-items: center; padding: 32px; } }
.match-entry h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0 0 8px; }
.match-entry p { margin: 0; color: var(--ink-2); font-size: 14px; }
.match-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.match-tags span { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); }

.site-nav a.nav-match { color: var(--ink); font-weight: 700; }
.site-footer a { color: inherit; }
@media (max-width: 440px) {
  .site-header .brand-name { display: none; }
  .site-nav a { padding: 6px 6px; font-size: 12.5px; }
  .block-head h2 { font-size: 19px; }
}
.legal { padding-bottom: 48px; }
.legal h1 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 20px 0 4px; }
.legal-date { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.draft-banner { margin: 24px 0 0; padding: 12px 14px; border: 2px dashed #c0392b; color: #c0392b; border-radius: 8px; font-weight: 700; font-size: 14px; }
.tabs { display: flex; gap: 4px; margin-top: 16px; border-bottom: 1px solid var(--rule); }
.tab { border: 0; background: none; padding: 10px 14px; font: 700 14px/1 var(--sans); color: var(--ink-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.input.sm { width: auto; padding: 6px 8px; font-size: 13px; }
.match-list { display: grid; gap: 12px; margin-top: 12px; }
.match-item { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; display: grid; gap: 8px; font-size: 13px; }
.match-item.st-pending { border-left: 4px solid #c0392b; }
.match-dl { display: grid; grid-template-columns: 7em 1fr; gap: 2px 12px; margin: 0; }
.match-dl dt { color: var(--muted); } .match-dl dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.match-edit { display: grid; gap: 6px; } .match-edit .textarea { min-height: 60px; }
.lots-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .lots-grid { grid-template-columns: 340px 1fr; } }
.lots-grid .card { margin-bottom: 12px; box-shadow: none; }
.m-grid2 { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.qr-box { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.qr-canvas { width: 140px; height: auto; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
.ev-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 13px; }
.ev-note { margin: 2px 0 0; font-size: 12px; color: var(--ink-2); word-break: break-all; }
.sub-h { font-size: 14px; margin: 8px 0 0; }
.scan main { padding: 16px 0 64px; }
.scan-view { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 3 / 4; max-height: 60vh; margin-bottom: 10px; }
.scan-view video { width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 20%; border: 3px solid rgba(255, 255, 255, .85); border-radius: 12px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .35); }
.scan-lot { margin-bottom: 12px; box-shadow: none; }
#step-scan .form { margin-top: 16px; }
.b-status { margin: 18px 0 0; padding: 10px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--rule); display: inline-block; font-size: 14px; }
.b-notice { margin-top: 20px; padding: 16px 18px; border-left: 4px solid var(--teal); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; }
.b-notice p { margin: 0 0 8px; } .b-notice p:last-child { margin: 0; }
@media (min-width: 900px) { .services.five { grid-template-columns: repeat(3, 1fr); } }
.site-nav a.nav-biz { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) { .site-nav a.nav-archive { display: none; } }
.biz-cards { display: grid; gap: 12px; }
@media (min-width: 860px) { .biz-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.biz-card {
  display: grid; align-content: start; gap: 8px; padding: 24px 22px; min-height: 240px;
  border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--surface);
  border: 1px solid var(--rule); box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .15s, border-color .15s;
}
.biz-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; opacity: .12; }
.biz-card.trade::after { background: var(--accent); }
.biz-card.talent::after { background: var(--teal); }
.biz-card.consulting::after { background: var(--ink-2); }
.biz-card:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.biz-no { font: 700 12px/1 var(--sans); letter-spacing: .2em; color: var(--muted); }
.biz-card h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: .06em; }
.biz-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.biz-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.biz-tags li { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.biz-tags li.on { background: #2e7d4f; color: #fff; }
.biz-go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--accent); }
.world-entry { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); text-decoration: none; color: #eef2f7; background: radial-gradient(ellipse at 20% 50%, #13243c, #070c16); border: 1px solid #1f3554; }
.world-entry-k { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--sans); background: rgba(240, 163, 94, .18); color: #f0a35e; border: 1px solid rgba(240, 163, 94, .5); }
.world-entry b { display: block; font-size: 15px; } .world-entry small { color: #9fb0c6; font-size: 12px; }
.world-entry:hover { border-color: #f0a35e; }

/* ===== top navigation (ホーム／通信／ビジネスマッチング／MTC コーヒー／会社概要／お問い合わせ) ===== */
.site-nav a.nav-home, .site-nav a.nav-l { color: var(--ink-2); font-weight: 500; }
.nav-more { position: relative; display: none; }
.nav-more summary { list-style: none; cursor: pointer; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: " ▾"; color: var(--muted); }
.nav-more[open] summary::after { content: " ▴"; }
.nav-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 220px; display: grid; padding: 6px; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.nav-pop a { padding: 10px 12px !important; border-radius: 6px; color: var(--ink) !important; text-decoration: none; font-size: 15px !important; display: block !important; }
.nav-pop a:hover { background: var(--surface-2); }
.nav-pop a[aria-current="page"] { color: var(--accent) !important; font-weight: 700; text-decoration: none; }
@media (max-width: 999px) {
  .site-nav > a.nav-home, .site-nav > a.nav-l { display: none; }
  .nav-more { display: block; }
}
.mx-entry { display: grid; gap: 4px; margin: 8px 0 24px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--rule); border-left: 4px solid var(--teal); background: var(--surface); text-decoration: none; color: var(--ink); }
.mx-entry .eyebrow { margin: 0; font-size: 11px; color: var(--teal); }
.mx-entry b { font-size: 16px; } .mx-entry span:last-child { font-size: 13px; color: var(--ink-2); }
.mx-entry:hover { border-color: var(--teal); }
.h-link { color: inherit; text-decoration: none; } .h-link:hover { text-decoration: underline; }

/* ===== brand (+81 logo) & final navigation ===== */
.brand { gap: 10px; }
.logo { width: 54px; height: 28px; flex: none; fill: none; stroke: var(--ink); stroke-width: 3.1; stroke-linecap: round; stroke-linejoin: round; }
.logo .logo-plus { stroke: var(--accent); }
.brand-mark { display: none; }
.brand-name b { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .28em; }
.brand-name small { font-size: 10px; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 440px) { .site-header .brand-name { display: flex; } .brand-name b { font-size: 12px; letter-spacing: .2em; } .brand-name small { display: none; } .logo { width: 46px; height: 24px; } }
.site-header .wrap { max-width: 1200px; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav > a.nav-l { color: var(--ink-2); font-weight: 500; font-size: 13px; padding: 6px 8px; display: inline-block; }
.site-nav > a.nav-l[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-nav a.nav-cta { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.2; padding: 6px 12px; margin: 0 4px; }
.site-nav a.nav-cta .nav-cta-sub { display: block !important; font-size: 9.5px; letter-spacing: .02em; opacity: .9; }
.nav-en { margin-left: 4px; border: 1px solid var(--rule); background: transparent; color: var(--ink-2); font: 700 11px/1 var(--sans); letter-spacing: .1em; padding: 6px 7px; border-radius: 6px; cursor: pointer; }
.nav-en:hover { color: var(--ink); border-color: var(--ink-2); }
.nav-more summary { padding: 8px 10px; }
.nav-more summary::after { content: none !important; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-more[open] .burger i:nth-child(2) { opacity: 0; }
.nav-pop a small { display: block; font-size: 11px; color: var(--muted); }
@media (min-width: 1100px) { .nav-more { display: none !important; } }
@media (max-width: 1099px) {
  .site-nav > a.nav-l { display: none !important; }
  .nav-more { display: block; margin-left: 6px; }
}
@media (max-width: 440px) { .site-nav a.nav-cta { padding: 5px 9px; } .site-nav a.nav-cta .nav-cta-sub { font-size: 8.5px; } }
.en-toast { position: fixed; z-index: 90; top: 68px; right: 16px; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* about / leadership / business / group */
.ab-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .ab-grid { grid-template-columns: 300px 1fr; gap: 48px; } }
.ab-mark { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); }
.logo-lg { width: 200px; height: auto; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo-lg .logo-plus { stroke: var(--accent); }
.ab-word { margin: 0; font: 700 16px/1 var(--sans); letter-spacing: .5em; padding-left: .5em; color: var(--ink); }
.ab-mission { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 4.4vw, 28px); line-height: 1.6; margin: 0 0 12px; word-break: auto-phrase; }
.ab-text { color: var(--ink-2); margin: 0; max-width: 40em; }
.ab-two { display: grid; gap: 16px; } @media (min-width: 760px) { .ab-two { grid-template-columns: 1fr 1fr; } }
.ab-card { padding: 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); }
.ab-card h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 20px; }
.ab-card p { margin: 0; color: var(--ink-2); }
.ab-card .eyebrow { margin-bottom: 6px; }
.ab-quote { font-family: var(--serif); font-size: 18px; color: var(--ink) !important; margin: 0 0 10px !important; letter-spacing: .08em; }
.ld { display: grid; gap: 24px; padding: 28px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--shadow); }
@media (min-width: 760px) { .ld { grid-template-columns: 160px 1fr; padding: 40px; gap: 40px; } }
.ld-avatar { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); position: relative; }
.ld-avatar::after { content: "+81"; position: absolute; right: -4px; bottom: 4px; font: 700 11px/1 var(--sans); padding: 4px 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.ld-avatar span { font: 600 30px/1 var(--serif); letter-spacing: .08em; }
.ld-role { margin: 0; font-size: 12px; letter-spacing: .2em; color: var(--accent); font-weight: 700; }
.ld h2 { margin: 4px 0 14px; font-family: var(--serif); font-weight: 600; font-size: 32px; letter-spacing: .1em; }
.ld h2 small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .24em; color: var(--muted); font-weight: 500; margin-top: 4px; }
.ld-lead { font-size: 16px; line-height: 1.9; margin: 0 0 18px; max-width: 40em; }
.ld-facts { margin: 0; display: grid; gap: 10px; }
.ld-facts div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--rule); }
.ld-facts dt { font-size: 12px; color: var(--muted); font-weight: 700; } .ld-facts dd { margin: 0; font-size: 14px; }
.ld-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--accent); }
.ld-tl li { display: grid; gap: 2px; padding: 0 0 18px 18px; position: relative; }
.ld-tl li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.ld-tl b { font-size: 13px; color: var(--accent); } .ld-tl span { font-size: 15px; }
.bz-grid { display: grid; gap: 14px; } @media (min-width: 760px) { .bz-grid { grid-template-columns: 1fr 1fr; } }
.bz { display: grid; align-content: start; gap: 8px; padding: 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; color: var(--ink); min-height: 180px; }
a.bz:hover { border-color: var(--accent); }
.bz h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 21px; }
.bz p { margin: 0; color: var(--ink-2); font-size: 14px; }
.bz-no { font: 700 12px/1 var(--sans); letter-spacing: .2em; color: var(--muted); }
.bz-go { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--accent); text-decoration: none; }
.bz-na { margin-top: auto; font-size: 12px; color: var(--muted); }
.ts-sub { margin: -6px 0 14px; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.site-nav > a.nav-l, .site-nav a.nav-home { color: var(--ink); font-weight: 700; font-size: 14.5px; }
/* nav always visible: scrolling row on narrow screens */
@media (max-width: 1100px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 4px; }
  .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 2px 6px; padding-bottom: 6px; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav > a.nav-l, .site-nav > a.nav-home { display: inline-block !important; flex: none; white-space: nowrap; }
  .site-nav > .nav-cta { flex: none; }
  .site-nav .nav-more { display: none !important; }
}
[hidden]{display:none!important}

/* 静的ホスティング版：サーバー機能が必要な部分を非表示 */
.reactions, .comments, #lot { display: none !important; }
.vc { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: auto; }
a.chat-fab { text-decoration: none; }

/* current-page CTA: no underline through subtitle */
.site-nav a.nav-cta[aria-current="page"], .site-nav a.nav-cta[aria-current="page"] * { text-decoration: none !important; box-shadow: none !important; }
