/* rondo のサイト: 全ページ共通。Next の外の静的ファイルなので、色・文字・形は DESIGN.md と apps/web/app/globals.css のトークンの写し。 */
:root {
  --bg: #ffffff; --panel: #fbfbfa; --surface: #ffffff; --surface-2: #f1f1ef; --surface-3: #e8e8e5;
  --fg: #2f2f2c; --fg-2: #484744; --muted: #64635f;
  --border: rgba(55,53,47,0.10); --border-soft: rgba(55,53,47,0.06); --border-strong: rgba(55,53,47,0.30);
  --grid: rgba(55,53,47,0.08); --grid-half: rgba(55,53,47,0.04);
  --accent: #2a6fc2; --accent-press: #2360ab; --accent-fg: #1f63b5; --on-accent: #ffffff;
  --today: #d33b3b; --on-today: #ffffff; --ok-fg: #166534;
  --shadow-raised: 0 0 0 1px var(--border);
  --shadow-pop: 0 0 0 1px var(--border), 0 6px 20px rgba(15,15,15,0.08);
  --c-blue: #3f84d8; --c-violet: #a65fc9; --c-amber: #c08f1f; --c-green: #2f9e55; --c-orange: #d4623f; --c-pink: #d0558a;
  --c-tint: 14%;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --w-read: 400; --w-ui: 500; --w-strong: 600;
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 12px;
  --focus: 0 0 0 2px var(--accent-fg);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191919; --panel: #1f1f1f; --surface: #252525; --surface-2: #2c2c2c; --surface-3: #343434;
    --fg: #e8e8e6; --fg-2: #cfcfcc; --muted: #a3a29e;
    --border: rgba(255,255,255,0.08); --border-soft: rgba(255,255,255,0.05); --border-strong: rgba(255,255,255,0.28);
    --grid: rgba(255,255,255,0.06); --grid-half: rgba(255,255,255,0.03);
    --accent-fg: #6cabef; --ok-fg: #86efac;
    --shadow-pop: 0 0 0 1px var(--border), 0 8px 24px rgba(0,0,0,0.5);
    --c-blue: #5b9cf0; --c-violet: #c27ce0; --c-amber: #d7a63a; --c-green: #42b56a; --c-orange: #e7774f; --c-pink: #e06a9c;
    --c-tint: 22%;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: var(--w-read) 15px/1.75 var(--font); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12.5px; font-weight: var(--w-ui); color: var(--muted); letter-spacing: 0; margin: 0 0 12px; }
h1, h2, h3 { font-weight: var(--w-strong); letter-spacing: 0; color: var(--fg); }
h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.4; margin: 0 0 12px; }
h3 { font-size: 17px; line-height: 1.5; margin: 0 0 6px; }
.lead { color: var(--fg-2); max-width: 640px; margin: 0; }
.note { font-size: 12px; color: var(--muted); }
section { padding: 88px 0; border-top: 1px solid var(--border-soft); }

/* buttons: DESIGN.md .btn, scaled up for a site */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface); color: var(--fg); font: var(--w-ui) 14px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-press); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* header */
html { scroll-padding-top: 72px; }
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-soft); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: var(--w-strong); font-size: 16px; text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.top nav { display: flex; gap: 22px; font-size: 13.5px; color: var(--fg-2); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--fg); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.top .right a.plain { text-decoration: none; color: var(--fg-2); }

/* hero */
.hero { padding: 72px 0 0; border-top: 0; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.32; margin: 0 0 18px; }
.hero .lead { font-size: 17px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 10px; }
.hero .terms { font-size: 13px; color: var(--muted); margin: 0; }
.accounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); font-size: 12.5px; font-weight: var(--w-ui); color: var(--fg-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }

/* product frame: the app's week view (S03) */
.shot { margin: 48px 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--panel); box-shadow: var(--shadow-pop); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.shot-bar b { font-size: 15px; font-weight: var(--w-strong); }
.seg { display: inline-flex; padding: 2px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 12px; }
.seg span { padding: 2px 10px; border-radius: var(--r-xs); color: var(--fg-2); }
.seg span[aria-current] { background: var(--surface); box-shadow: 0 0 0 1px var(--border); font-weight: var(--w-strong); color: var(--fg); }
.shot-body { display: grid; grid-template-columns: 200px 1fr 230px; min-height: 470px; }
.side { padding: 14px; border-right: 1px solid var(--border-soft); font-size: 12.5px; }
.side h4, .rp h4 { font-size: 11px; font-weight: var(--w-ui); color: var(--muted); margin: 14px 0 6px; }
.side h4:first-child, .rp h4:first-child { margin-top: 0; }
.cal-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; color: var(--fg-2); }
.cal-check { width: 13px; height: 13px; border-radius: 3px; background: var(--c); flex: none; }
.week { background: var(--bg); display: grid; grid-template-columns: 40px repeat(5, 1fr); position: relative; }
.wk-head { display: contents; }
.wk-head div { height: 46px; border-bottom: 1px solid var(--border-soft); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.wk-head div b { font-size: 15px; font-weight: var(--w-strong); color: var(--fg); }
.wk-head .today b { background: var(--today); color: var(--on-today); width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; }
.hours { display: grid; grid-template-rows: repeat(8, 52px); font-size: 10.5px; color: var(--muted); text-align: right; padding-right: 6px; }
.hours span { transform: translateY(-7px); }
.col { position: relative; border-left: 1px solid var(--grid); background: repeating-linear-gradient(to bottom, transparent 0 51px, var(--grid) 51px 52px); }
.ev { position: absolute; left: 3px; right: 3px; border-radius: var(--r-sm); padding: 3px 6px; font-size: 11px; line-height: 1.35; overflow: hidden;
  background: color-mix(in srgb, var(--c) var(--c-tint), var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); color: color-mix(in srgb, var(--c) 28%, var(--fg)); }
.ev b { display: block; font-weight: var(--w-ui); }
.ev .t { opacity: .85; font-variant-numeric: tabular-nums; }
.ev.half { right: 50%; } .ev.half2 { left: 50%; }
.now { position: absolute; left: 0; right: 0; height: 2px; background: var(--today); }
.now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--today); }
.rp { padding: 14px; border-left: 1px solid var(--border-soft); font-size: 12.5px; }
.next { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-raised); padding: 12px; }
.next .when { font-size: 11.5px; color: var(--muted); }
.next .title { font-size: 15px; font-weight: var(--w-strong); margin: 2px 0 8px; }
.next .row { display: flex; align-items: center; gap: 6px; color: var(--fg-2); }
.shot-caption { font-size: 12px; color: var(--muted); padding: 10px 0 0; }

/* before / after */
.ba { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 14px; }
.ba th, .ba td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-top: 1px solid var(--border); }
.ba thead th { font-size: 12px; font-weight: var(--w-ui); color: var(--muted); border-top: 0; padding-top: 0; }
.ba td:first-child { font-weight: var(--w-ui); width: 22%; }
.ba td.was { color: var(--muted); width: 34%; }
.ba td.now-r { color: var(--fg); }

/* verbs */
.verbs { display: grid; gap: 72px; margin-top: 48px; }
.verb { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.verb:nth-child(even) .verb-text { order: 2; }
.verb-kicker { font-size: 13px; font-weight: var(--w-strong); color: var(--muted); margin: 0 0 6px; }
.verb h3 { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.45; margin-bottom: 12px; }
.verb ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.verb li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14px; color: var(--fg-2); }
.verb li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--muted); }
.verb li b { color: var(--fg); font-weight: var(--w-ui); }
.panel { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-raised); padding: 20px; }
.card { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-raised); }

/* sync levels */
.levels { display: grid; gap: 8px; }
.level { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; font-size: 13px; }
.level .k { font-weight: var(--w-ui); }
.level .v { font-size: 12px; color: var(--muted); grid-column: 1; }
.level .ev-mini { grid-row: 1 / span 2; grid-column: 2; position: static; width: 150px; }
.level[aria-current] { box-shadow: 0 0 0 1px var(--border-strong); }

/* booking */
.book { display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; }
.book-host { padding: 18px; border-right: 1px solid var(--border-soft); font-size: 13px; }
.book-host .who { font-size: 12px; color: var(--muted); }
.book-host .what { font-size: 16px; font-weight: var(--w-strong); margin: 4px 0 10px; }
.book-host .meta { display: grid; gap: 6px; color: var(--fg-2); }
.book-host .meta div { display: flex; gap: 6px; align-items: center; }
.book-host .meta svg { width: 14px; height: 14px; color: var(--muted); }
.book-slots { padding: 18px; font-size: 13px; }
.book-slots .day { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.slot { height: 32px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--border); display: grid; place-items: center; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.slot[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--border-strong); background: var(--surface-2); font-weight: var(--w-strong); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); color: var(--fg-2); }

/* focus */
.day-col { position: relative; height: 300px; background: var(--bg); border-radius: var(--r-md); box-shadow: var(--shadow-raised); background-image: repeating-linear-gradient(to bottom, transparent 0 49px, var(--grid) 49px 50px); }
.day-col .ev { left: 52px; right: 10px; }
.day-col .hrs { position: absolute; left: 0; top: 0; bottom: 0; width: 44px; display: grid; grid-template-rows: repeat(6, 50px); font-size: 10.5px; color: var(--muted); text-align: right; padding-right: 6px; }
.focus-ev { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) var(--c-tint), var(--bg)) 0 6px, color-mix(in srgb, var(--c) calc(var(--c-tint) * .6), var(--bg)) 6px 12px) !important; }
.slack { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; font-size: 13px; }
.slack .av { width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--surface-3); display: grid; place-items: center; font-size: 12px; font-weight: var(--w-strong); }
.slack .st { color: var(--muted); font-size: 12px; }

/* AI */
.ai { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; margin-top: 40px; }
.chat { display: grid; gap: 12px; font-size: 13.5px; }
.msg { padding: 12px 14px; border-radius: var(--r-md); }
.msg.you { background: var(--surface-2); justify-self: end; max-width: 85%; }
.msg.bot { background: var(--surface); box-shadow: var(--shadow-raised); }
.msg .who { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.tool { font: 12px/1.6 var(--mono); color: var(--fg-2); background: var(--panel); border-radius: var(--r-sm); padding: 8px 10px; margin: 8px 0; box-shadow: inset 0 0 0 1px var(--border-soft); }
.tool .ok { color: var(--ok-fg); }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.promise { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.promise li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14px; color: var(--fg-2); }
.promise li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--fg-2); }
.promise b { display: block; color: var(--fg); font-weight: var(--w-ui); }

/* connect + devices */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tile { padding: 20px; }
.tile .icon { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; margin-bottom: 14px; }
.tile .icon svg { width: 18px; height: 18px; color: var(--fg-2); }
.tile p { margin: 0; font-size: 14px; color: var(--fg-2); }
.tile code { font: 12px var(--mono); background: var(--surface-2); padding: 1px 5px; border-radius: var(--r-xs); }
.devices { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 36px; align-items: stretch; }
.device { padding: 20px; display: grid; gap: 14px; align-content: start; }
.device .label { font-size: 13px; font-weight: var(--w-ui); }
.device .sub { font-size: 12.5px; color: var(--muted); margin-top: -10px; }
.widget { width: 158px; height: 158px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-pop); padding: 14px; display: grid; align-content: space-between; }
.widget .top-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.widget .blk { border-radius: 12px; padding: 7px 9px; background: color-mix(in srgb, var(--c) 16%, var(--surface)); }
.widget .blk b { display: block; font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.widget .blk span { font-size: 12px; font-weight: var(--w-strong); }
.widget .cal { font-size: 10.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.menubar { border-radius: var(--r-md); box-shadow: var(--shadow-pop); background: var(--surface); width: 240px; font-size: 12.5px; overflow: hidden; }
.menubar .mb-top { background: var(--surface-2); padding: 4px 10px; display: flex; justify-content: flex-end; gap: 10px; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.menubar .mb-item { padding: 8px 12px; display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--border-soft); }
.menubar .mb-item .t { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; max-width: 820px; }
.plan { padding: 24px; display: grid; gap: 14px; align-content: start; }
.plan .name { font-size: 14px; font-weight: var(--w-strong); }
.plan .price { font-size: 32px; font-weight: var(--w-strong); line-height: 1.2; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 13px; font-weight: var(--w-read); color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--fg-2); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; }
.plan li svg { width: 15px; height: 15px; margin-top: 5px; color: var(--muted); }
.plan.pro { box-shadow: 0 0 0 1px var(--border-strong); }

/* faq */
.faq { margin-top: 32px; max-width: 820px; }
.faq details { border-top: 1px solid var(--border); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: var(--w-ui); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: var(--w-read); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--fg-2); font-size: 14px; }

/* final cta + footer */
.final { text-align: center; padding: 96px 0; }
.final h2 { font-size: clamp(26px, 3.6vw, 36px); }
.final .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 24px 0 10px; }
footer { border-top: 1px solid var(--border-soft); background: var(--panel); padding: 48px 0 32px; font-size: 13px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px; }
.foot h5 { font-size: 12px; font-weight: var(--w-ui); color: var(--muted); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; color: var(--fg-2); }
.foot a:hover { color: var(--fg); }
.copy { margin-top: 32px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ブログ: 一覧のカードと記事（koromo のブログの型を、このサイトのトークンで） */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.post-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-raised); text-decoration: none; }
.post-card a:hover { background: var(--surface-2); }
.post-card a:focus-visible { border-radius: var(--r-lg); }
.post-card img, .post-thumb { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: var(--r-md); box-shadow: var(--shadow-raised); }
.post-card img { margin-bottom: 4px; }
.post-thumb { margin: 16px 0 0; }
.post-figure { display: block; max-width: 100%; height: auto; margin: 24px 0 0; padding: 12px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-raised); }
.post-card :is(h2, h3) { font-size: 17px; line-height: 1.55; margin: 0; }
.post-card p { font-size: 13.5px; color: var(--fg-2); margin: 0; }
.post-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin: 0; }
.post-cat { height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--fg-2); font-weight: var(--w-ui); }
.post { max-width: 720px; }
.post h1 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.45; margin: 12px 0 14px; }
.post h2 { font-size: 22px; line-height: 1.5; margin: 56px 0 12px; }
.post h3 { margin: 28px 0 6px; }
.post p, .post li { color: var(--fg-2); overflow-wrap: anywhere; }
.post ul, .post ol { padding-left: 1.4em; }
.post li + li { margin-top: 4px; }
.post a { color: var(--accent-fg); }
.post .crumb a { color: inherit; }
.post .matrix { margin-top: 12px; }
.learn { background: var(--panel); border-radius: var(--r-lg); padding: 18px 22px; margin: 28px 0 0; }
.learn h2 { font-size: 14px; margin: 0 0 8px; }
.learn ul { margin: 0; }
/* A section in an article body (FAQ, HowTo, ArticleSection) is part of the text, not a band of the page. */
.post section { padding: 0; border-top: 0; margin: 32px 0 0; }
.post-cta { margin: 28px 0 0; }
.post-cta .btn { color: var(--fg); }
.table-scroll { overflow-x: auto; margin: 16px 0 0; border-radius: var(--r-md); }
.table-scroll:focus-visible { box-shadow: var(--focus); outline: 0; }
/* Code in an article: inline code is a light chip in the text's own colour; a block is a --panel box, coloured by
   build-blog (shiki) when it names a language, with code-copy.js's button in the strip above the first line. */
.post :not(pre) > code { font-family: var(--mono); font-size: 0.875em; background: var(--surface-2); padding: 0.1em 0.35em; border-radius: var(--r-xs); overflow-wrap: anywhere; }
.post pre { font: 13px/1.65 var(--mono); color: var(--fg-2); background: var(--panel); border-radius: var(--r-md); box-shadow: var(--shadow-raised); padding: 14px 16px; overflow-x: auto; margin: 16px 0 0; }
.post pre:focus-visible { box-shadow: var(--focus); outline: 0; }
.post pre.shiki span { color: var(--shiki-light); }
.code-block { position: relative; margin: 16px 0 0; }
.code-block pre { margin: 0; padding-top: 44px; }
.code-copy { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 28px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--fg-2); font: var(--w-ui) 12px/1 var(--font); cursor: pointer; }
.code-copy:hover { background: var(--surface-2); }
.code-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .post pre.shiki span { color: var(--shiki-dark); } }
.table-scroll .matrix { margin-top: 0; min-width: 520px; }
.related { margin-top: 64px; }
.related h2 { margin-top: 0; }

/* responsive */
@media (max-width: 960px) {
  html { scroll-padding-top: 104px; }
  .top .wrap { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 8px 16px; }
  .top nav { order: 3; width: 100%; flex-wrap: wrap; gap: 4px 16px; }
  .shot-body { grid-template-columns: 1fr; }
  .side, .rp { display: none; }
  .verb, .ai { grid-template-columns: 1fr; gap: 24px; }
  .verb:nth-child(even) .verb-text { order: 0; }
  .grid3, .devices { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .hero .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .week { grid-template-columns: 32px repeat(3, 1fr); }
  .week .wide { display: none; }
  .ba thead { display: none; }
  .ba tr { display: grid; padding: 14px 0; border-top: 1px solid var(--border); }
  .ba td { border: 0; padding: 2px 0; width: auto !important; }
  .ba td.was::before { content: "これまで: "; }
  .ba td.now-r::before { content: "rondo: "; color: var(--muted); }
  .grid3, .devices, .plans, .book { grid-template-columns: 1fr; }
  .book-host { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .level .ev-mini { width: 110px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- 2 回目（2026-11-01 のレビュー: review.md）: 読める大きさ、段ごとに違う組み、下層ページ ---- */
.top nav a[aria-current="page"] { color: var(--fg); font-weight: var(--w-strong); }
.ev { font-size: 12.5px; }
.ev .t { font-size: 11.5px; }
.wk-head div { font-size: 12.5px; }
.hours { font-size: 11.5px; }
.side, .rp { font-size: 13px; }

/* hero: 対象の1行と、使える端末 */
.who-for { font-size: 14px; font-weight: var(--w-ui); color: var(--fg-2); margin: 0 0 14px; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--fg-2); }
.platforms li { display: inline-flex; align-items: center; gap: 6px; }
.platforms svg { width: 16px; height: 16px; color: var(--muted); }

/* 段の組み: 中央の1文、全幅、地の色を変える段 */
section.center { text-align: center; }
section.center .lead { margin: 0 auto; }
section.band { background: var(--panel); }
section.tight { padding: 64px 0; }
.wide-shot { margin-top: 36px; }

/* 下層ページの頭 */
.page-hero { padding: 64px 0 40px; border-top: 0; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.4; margin: 0 0 14px; }
.page-hero .lead { font-size: 16px; }
.crumb { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.crumb a { text-decoration: none; }

/* 2 列の組（画面と文） */
.pair { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.pair > * { min-width: 0; }
.pair + .pair { margin-top: 72px; }
.pair.flip > :first-child { order: 2; }
.pair p { color: var(--fg-2); }
.pair h2, .pair h3 { margin-top: 0; }

/* 流れの図（連携・予約） */
.flow { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.flow .step { flex: 1 1 150px; padding: 14px 16px; font-size: 13px; }
.flow .step b { display: block; font-size: 14px; font-weight: var(--w-strong); margin-bottom: 2px; }
.flow .step span { color: var(--muted); }
.flow .arrow { align-self: center; color: var(--muted); width: 16px; height: 16px; flex: none; }

/* 端末をまとめた1枚 */
.devices-one { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: end; margin-top: 36px; padding: 28px; }
.devices-one .lbl { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

/* 料金表（3 段） */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tier { padding: 24px; display: grid; gap: 14px; align-content: start; }
.tier .name { font-size: 15px; font-weight: var(--w-strong); }
.tier .for { font-size: 13px; color: var(--muted); margin-top: -8px; }
.tier .price { font-size: 32px; font-weight: var(--w-strong); line-height: 1.2; font-variant-numeric: tabular-nums; }
.tier .price small { font-size: 13px; font-weight: var(--w-read); color: var(--muted); }
.tier .yearly { font-size: 12.5px; color: var(--fg-2); margin-top: -8px; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--fg-2); }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; }
.tier li svg { width: 15px; height: 15px; margin-top: 5px; color: var(--muted); }
.tier.pick { box-shadow: 0 0 0 1px var(--border-strong); }
.tier .tag { font-size: 11px; font-weight: var(--w-ui); color: var(--fg-2); background: var(--surface-2); border-radius: 999px; padding: 2px 8px; justify-self: start; }

/* 比較表 */
.matrix { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 13.5px; }
.matrix th, .matrix td { text-align: left; padding: 11px 12px; border-top: 1px solid var(--border); vertical-align: top; }
.matrix thead th { font-size: 12.5px; font-weight: var(--w-strong); border-top: 0; }
.matrix tbody th { font-weight: var(--w-ui); width: 34%; }
.matrix .grp th { font-size: 12px; color: var(--muted); font-weight: var(--w-ui); padding-top: 22px; }
.matrix td { color: var(--fg-2); font-variant-numeric: tabular-nums; }
.matrix .no { color: var(--muted); }
.scroll-x { overflow-x: auto; }

/* 手順 */
.steps { counter-reset: s; display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 14px; color: var(--fg-2); }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); color: var(--fg); font-size: 12px; font-weight: var(--w-strong); display: grid; place-items: center; }
.steps b { display: block; color: var(--fg); font-weight: var(--w-ui); }
pre.code { font: 12.5px/1.65 var(--mono); background: var(--panel); border-radius: var(--r-md); box-shadow: var(--shadow-raised); padding: 14px 16px; overflow-x: auto; margin: 10px 0 0; color: var(--fg-2); }

/* 同意画面の見本（AI） */
.consent { padding: 20px; max-width: 380px; font-size: 13px; }
.consent h4 { font-size: 15px; margin: 0 0 4px; }
.consent .opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--border); margin-top: 8px; }
.consent .opt[aria-checked="true"] { box-shadow: inset 0 0 0 1px var(--border-strong); background: var(--surface-2); }
.consent .radio { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--muted); flex: none; margin-top: 3px; }
.consent .opt[aria-checked="true"] .radio { box-shadow: inset 0 0 0 4px var(--accent); }
.consent .small { color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
  .pair { grid-template-columns: 1fr; gap: 24px; }
  .pair.flip > :first-child { order: 0; }
  .tiers { grid-template-columns: 1fr; max-width: 480px; }
  .devices-one { grid-template-columns: 1fr; justify-items: center; }
}
@media (max-width: 600px) {
  .flow { flex-direction: column; }
  .flow .arrow { transform: rotate(90deg); }
  .matrix { font-size: 12.5px; }
}

/* 見出しを語のまとまりで折り返す */
.nb { display: inline-block; }

/* ヘルプのガイド（spec 20261123-help-center）: ページの頭の札と表紙、番号の丸の手順、ブラウザの枠に入れた画面の画像、一覧のカード */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.guide .crumb ol, ol.crumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
ol.crumb li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.guide-meta span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); color: var(--fg-2); font-size: 12.5px; font-weight: var(--w-ui); }
.guide-cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; margin: 20px 0 8px; border-radius: var(--r-lg); background: var(--surface-2); }
.post h3.step { display: flex; align-items: center; gap: 10px; margin-top: 40px; }
.post h3.step .n { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 14px; }
/* 画面の画像は、飾りの上の帯（3つの点）つきの枠に入れる。帯は CSS だけで描き、読み上げない */
.help-shot { display: block; max-width: 100%; height: auto; margin: 14px 0 0; padding-top: 24px; border-radius: var(--r-md); box-shadow: var(--shadow-raised); background:
  radial-gradient(circle at 14px 12px, var(--border-strong) 3.5px, transparent 4px),
  radial-gradient(circle at 28px 12px, var(--border-strong) 3.5px, transparent 4px),
  radial-gradient(circle at 42px 12px, var(--border-strong) 3.5px, transparent 4px),
  linear-gradient(var(--surface-2) 24px, var(--surface) 24px); }
.guide-cat + .guide-cat { margin-top: 36px; }
.guide-cat h2 { font-size: 18px; margin: 0 0 12px; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.guide-card a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px 12px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-raised); color: var(--fg); text-decoration: none; }
.guide-card a:hover { background: var(--surface-2); }
.guide-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: var(--r-md); background: var(--surface-2); }
.guide-card b { font-size: 15px; line-height: 1.5; }
.guide-card span { font-size: 12.5px; color: var(--muted); }
.guide .related ul { padding-left: 1.2em; }

/* ブログの一覧の検索とタグ（blog-list.js）: JS が動いたときだけ出る */
.post-find:not([hidden]) { display: grid; gap: 14px; margin: 0 0 20px; }
.post-search { position: relative; max-width: 480px; }
.post-search svg { position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.post-search input { width: 100%; height: 44px; padding: 0 12px 0 40px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); color: var(--fg); font: var(--w-read) 16px/1 var(--font); }
.post-search input::placeholder { color: var(--muted); opacity: 1; }
.post-search input:focus-visible { outline: 0; border-color: transparent; box-shadow: var(--focus); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags button { min-height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--fg-2); font: var(--w-ui) 13px/1.3 var(--font); cursor: pointer; }
.post-tags button:hover { background: var(--surface-2); color: var(--fg); }
.post-tags button:focus-visible { border-radius: 999px; }
.post-tags button[aria-pressed="true"] { background: var(--fg); border-color: transparent; color: var(--bg); }
.post-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 32px; }
.post-status .btn[hidden] { display: none; }
.post-count { margin: 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-empty { padding: 48px 24px; border-radius: var(--r-lg); background: var(--panel); text-align: center; }
.post-empty p { margin: 0; color: var(--fg-2); }
@media (max-width: 600px) {
  .post-tags button { min-height: 44px; }
  .post-status { min-height: 44px; }
  .post-status .btn { height: 44px; }
}

/* ブログの記事（ヘルプのガイドは .post だけで、ここは当たらない）: 頭は全幅、その下に表紙と本文の列と、横に固定の目次 */
.page-hero:has(.blog-post) { padding-top: 48px; }
.blog-post { max-width: none; }
.blog-post > .crumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blog-post > h1 { max-width: 960px; font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 16px; word-break: auto-phrase; overflow-wrap: anywhere; }
.blog-post > .lead { max-width: 656px; line-height: 1.85; }
.blog-post > .post-thumb { margin: 32px 0 0; border-radius: var(--r-lg); }
.post-body { min-width: 0; font-size: 16px; line-height: 1.9; }
.post-body > :first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.25em; }
.post-body > h2 { font-size: clamp(21px, 2.4vw, 25px); line-height: 1.5; margin: 72px 0 18px; word-break: auto-phrase; overflow-wrap: anywhere; }
.post-body h3 { font-size: 18px; line-height: 1.6; margin: 40px 0 10px; }
.post-body :is(ul, ol) { margin: 0 0 1.25em; padding-left: 1.5em; }
.post-body li + li { margin-top: 8px; }
.post-body li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.post-body strong { color: var(--fg); font-weight: var(--w-strong); }
.post-body a:not(.btn) { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-body a:not(.btn):hover { text-decoration-thickness: 2px; }
.post-body .post-figure { margin: 28px 0 32px; }
.post-body .code-block, .post-body > pre { margin: 20px 0 28px; }
.post-body .post-cta { margin: 32px 0; }
.post-body > section { margin: 40px 0 0; }
.post-body .post-faq h3 { border-top: 1px solid var(--border); margin: 24px 0 8px; padding-top: 24px; }
.post-body .post-faq > h3:first-of-type { margin-top: 0; }
/* 表: 枠と頭の地。列は6文字ほどより細くせず、入りきらないときは枠の中だけ横に動く */
.post-body .table-scroll { margin: 20px 0 32px; box-shadow: var(--shadow-raised); background: var(--surface); }
.post-body .table-scroll:focus-visible { box-shadow: var(--focus); }
.post-body .matrix { min-width: 0; font-size: 14px; line-height: 1.7; }
.post-body .matrix :is(th, td) { min-width: 8em; padding: 12px 16px; }
.post-body .matrix thead th { background: var(--surface-2); color: var(--fg); font-size: 13px; }
.post-body .matrix tbody td:first-child { color: var(--fg); font-weight: var(--w-ui); }
.blog-post + .related { margin-top: 88px; padding: 56px 0 0; border-top: 1px solid var(--border); }
.blog-post + .related h2 { font-size: 22px; margin-bottom: 20px; }

.toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 13px; font-weight: var(--w-strong); color: var(--fg); cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 17px; font-weight: var(--w-read); color: var(--muted); }
.toc details[open] summary::after { content: "−"; }
/* 内側の輪: 目次は自分の中でスクロールするので、外の輪は切れる */
.toc :is(summary, a):focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--accent-fg); border-radius: var(--r-sm); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--border); }
.toc a { display: flex; align-items: center; min-height: 36px; margin-left: -1px; padding: 6px 8px 6px 15px; border-left: 2px solid transparent; font-size: 13px; line-height: 1.6; text-decoration: none; transition: color 0.15s, border-color 0.15s; }
.post .toc a { color: var(--muted); }
.post .toc a:hover { color: var(--fg); }
.post .toc a[aria-current] { color: var(--fg); font-weight: var(--w-strong); border-left-color: var(--fg); }
.post .toc li + li { margin-top: 0; }

@media (min-width: 1081px) {
  /* 本文は 16px で1行41字。横の列は目次のため */
  .blog-post { display: grid; grid-template-columns: minmax(0, 656px) 288px; justify-content: space-between; }
  .blog-post > * { grid-column: 1 / -1; }
  .blog-post > :is(.post-thumb, .post-body) { grid-column: 1; }
  .blog-post > .toc { grid-column: 2; grid-row: 5 / span 2; align-self: start; position: sticky; top: 80px; max-height: calc(100vh - 104px); margin-top: 32px; overflow-y: auto; overscroll-behavior: contain; }
  .blog-post > .post-body { margin-top: 48px; }
}
@media (max-width: 1080px) {
  .blog-post { max-width: 656px; margin-inline: auto; }
  .blog-post > .toc { margin-top: 24px; padding: 0 18px; border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow-raised); }
  .toc summary { min-height: 48px; margin: 0 -10px; padding: 0 10px; }
  .toc details[open] { padding-bottom: 18px; }
  .toc a { min-height: 44px; font-size: 14px; }
  .blog-post > .post-body { margin-top: 40px; }
}
@media (max-width: 600px) {
  .page-hero:has(.blog-post) { padding-top: 28px; }
  .blog-post > .post-thumb { margin-top: 24px; }
  .post-body > h2 { margin-top: 56px; }
  .post-body .matrix { font-size: 13.5px; }
  .post-body .matrix :is(th, td) { padding: 10px 12px; }
}

/* 読み進みの帯（post-reading.js がサイトのヘッダーの下に足す）: 広い画面は線だけ、狭い画面は「目次／今の章」のボタンつき */
.readbar { position: absolute; inset: 100% 0 auto; visibility: hidden; opacity: 0; background: var(--bg); transition: opacity 0.2s, visibility 0.2s; }
.readbar.on { visibility: visible; opacity: 1; }
.readbar button { display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 24px; border: 0; border-bottom: 1px solid var(--border); background: none; color: var(--fg); font: var(--w-ui) 14px/1.4 var(--font); text-align: left; cursor: pointer; }
.readbar button:focus-visible { box-shadow: inset 0 0 0 2px var(--accent-fg); border-radius: 0; }
.readbar-label { flex: none; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--fg-2); font-size: 12px; line-height: 24px; }
.readbar-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.readbar i { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--fg); transform: scaleX(var(--read, 0)); transform-origin: left; }
@media (min-width: 1081px) {
  .readbar { background: none; }
  .readbar button { display: none; }
  .readbar i { top: -1px; bottom: auto; }
}
/* 2段のヘッダーでは、帯はナビの段に重ねる（固定の高さを増やさない）。ナビにフォーカスがある間は帯のほうを隠す */
@media (max-width: 960px) {
  .readbar { inset: auto 0 -4px; }
  .readbar button { height: 44px; }
  .top:has(.readbar.on) nav:not(:focus-within) { visibility: hidden; }
  .top:has(nav:focus-within) .readbar { visibility: hidden; }
}
@media (max-width: 600px) { .readbar button { padding: 0 16px; } }
