/* R.Support 目的別 LP（/lp/web・/lp/system・/lp/seo・/lp/recruit）の共通の見た目。
   Web.Support.（/web-support/）とは別のファイル。共通の CSS は変えない。
   正本：canon/design-system.md（角丸12〜16px・線1px半透明・影2層・システムのサンセリフ・横揺れの錠）
         design-lab/docs/デザイン台帳.md（4pxの倍数・セクション 96/64・横 40/16・最大幅1160）
   LP ごとの違いは body[data-lp] の主役の色と、各ページの見本の組み方だけ。 */

:root {
  --bg: #FBFBFD;
  --paper: #FFFFFF;
  --tint: #F3F3F6;
  --ink: #1D1D1F;
  --body: #3A3A3F;
  --muted: #6E6E73;
  --line: rgba(0, 0, 0, .08);
  --line-strong: rgba(0, 0, 0, .14);
  --glass: rgba(251, 251, 253, .72);
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(0, 0, 0, .08);
  --shadow-up: 0 2px 4px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .12);
  --ok: #1E7F4F;
  --ok-text: #15603B;
  --ng: #C0362C;
  --accent: #4F46E5;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(79, 70, 229, .08);
  --accent-text: #4338CA;
  --r: 16px;
  --r-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  color-scheme: light;
}
body[data-lp="system"] { --accent: #0B7A70; --accent-soft: rgba(11, 122, 112, .08); --accent-text: #0A6B62; }
body[data-lp="seo"] { --accent: #1D6FE0; --accent-soft: rgba(29, 111, 224, .08); --accent-text: #1859B8; }
body[data-lp="recruit"] { --accent: #C2410C; --accent-soft: rgba(194, 65, 12, .08); --accent-text: #A8380A; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0B0F; --paper: #16161C; --tint: #111116; --ink: #F5F5F7; --body: #D1D1D6; --muted: #A1A1A8;
    --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .18); --glass: rgba(11, 11, 15, .72);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .32);
    --shadow-up: 0 2px 4px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .48);
    --ok: #4ADE80; --ok-text: #4ADE80; --ng: #FF8A80;
    --accent: #A5B4FC; --accent-ink: #0B0B0F; --accent-soft: rgba(165, 180, 252, .12); --accent-text: #C7D2FE;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) body[data-lp="system"] { --accent: #5EEAD4; --accent-soft: rgba(94, 234, 212, .12); --accent-text: #99F6E4; }
  :root:not([data-theme="light"]) body[data-lp="seo"] { --accent: #93C5FD; --accent-soft: rgba(147, 197, 253, .12); --accent-text: #BFDBFE; }
  :root:not([data-theme="light"]) body[data-lp="recruit"] { --accent: #FDBA74; --accent-soft: rgba(253, 186, 116, .12); --accent-text: #FED7AA; }
}
:root[data-theme="dark"] {
  --bg: #0B0B0F; --paper: #16161C; --tint: #111116; --ink: #F5F5F7; --body: #D1D1D6; --muted: #A1A1A8;
  --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .18); --glass: rgba(11, 11, 15, .72);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .32);
  --shadow-up: 0 2px 4px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .48);
  --ok: #4ADE80; --ok-text: #4ADE80; --ng: #FF8A80;
  --accent: #A5B4FC; --accent-ink: #0B0B0F; --accent-soft: rgba(165, 180, 252, .12); --accent-text: #C7D2FE;
  color-scheme: dark;
}
:root[data-theme="dark"] body[data-lp="system"] { --accent: #5EEAD4; --accent-soft: rgba(94, 234, 212, .12); --accent-text: #99F6E4; }
:root[data-theme="dark"] body[data-lp="seo"] { --accent: #93C5FD; --accent-soft: rgba(147, 197, 253, .12); --accent-text: #BFDBFE; }
:root[data-theme="dark"] body[data-lp="recruit"] { --accent: #FDBA74; --accent-soft: rgba(253, 186, 116, .12); --accent-text: #FED7AA; }

/* ===== 土台と横揺れの錠 ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100vw; position: relative; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; scroll-padding-top: 72px; overflow-anchor: none; }
/* 日本語を言葉の区切りで折り、最後の行に1文字だけ残さない（検査役 B 2026-11-17。対応しないブラウザは今までどおり） */
.h1, .h2, .h3, .sub-title, .plan-name, .pain-close, .tg-title, .doc-case-title { word-break: auto-phrase; }
p, li, dd, dt, summary, small, figcaption, label, span { word-break: auto-phrase; text-wrap: pretty; }
html.smooth { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--body); font-family: var(--font);
  font-size: 16px; line-height: 28px; font-feature-settings: "palt"; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
/* display を書いた部品でも、hidden で確実に隠す（フォームの送信の後の入力欄・1種類だけの時の切り替え） */
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 16px; top: 16px; z-index: 100; padding: 12px 16px; border-radius: var(--r-sm); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.ph { display: inline-block; }

/* ===== 文字の段階 ===== */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.h1 { font-size: 56px; line-height: 68px; font-weight: 700; letter-spacing: .01em; color: var(--ink); text-wrap: balance; }
.h2 { font-size: 48px; line-height: 60px; font-weight: 700; letter-spacing: .01em; color: var(--ink); text-wrap: balance; }
.h3 { font-size: 20px; line-height: 32px; font-weight: 700; color: var(--ink); }
.lead { font-size: 18px; line-height: 32px; color: var(--body); }
.note { font-size: 13px; line-height: 20px; color: var(--muted); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head .lead { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 32px; border-radius: 9999px; border: 1px solid transparent;
  font-size: 16px; line-height: 24px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease-soft), box-shadow .2s var(--ease-soft), background-color .2s var(--ease-soft);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 8px 20px var(--accent-soft); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 12px rgba(0, 0, 0, .04); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn .ic { width: 20px; height: 20px; }
@media (hover: hover) {
  .btn-primary:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 12px 28px var(--accent-soft); transform: translateY(-1px); }
  .btn-secondary:hover { background: var(--tint); }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-note { margin-top: 16px; }

/* ===== ヘッダー（すりガラス） ===== */
.hd { position: sticky; top: 0; z-index: 50; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: .02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
/* 正規ロゴ（Boss 2026-11-12）。色と形は変えない。縮小と角丸だけ */
.logo-mark { flex: none; width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .16), 0 4px 12px rgba(24, 48, 160, .24); }
.logo small { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.hd-nav { display: flex; gap: 24px; margin-left: auto; }
.hd-nav a { display: inline-flex; justify-content: center; min-width: 44px; font-size: 14px; line-height: 20px; color: var(--body); text-decoration: none; padding: 12px 0; }
.hd-nav a:hover { color: var(--ink); }
.hd-cta { margin-left: 8px; }
/* 4本の LP の切り替え（ヘッダーの2段目）。入りきらない幅では、この段の中だけ横に流す。今いる LP は lp.js が見える位置へ寄せる */
html:has(.hd-sw) { scroll-padding-top: 124px; }
.hd-sw .hd-sw-in { display: flex; gap: 4px; padding-bottom: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hd-sw-in::-webkit-scrollbar { display: none; }
.hd-sw-a {
  display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft); -webkit-tap-highlight-color: transparent;
}
.hd-sw-a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.hd-sw-a:focus-visible { outline-offset: -2px; border-radius: 12px; }
@media (hover: hover) { .hd-sw-a:not([aria-current="page"]):hover { background: var(--line); color: var(--ink); } }

/* ===== セクション ===== */
.sec { padding: 96px 0; }
.sec-tint { background: var(--tint); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card .h3 { margin-top: 16px; }
.card p { margin-top: 8px; }
.ic-box { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); }

/* ===== HERO ===== */
.hero { padding: 72px 0 96px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero .lead { margin-top: 24px; max-width: 520px; }
.hero .cta-row { margin-top: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 9999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; line-height: 24px; font-weight: 600; }
.hero-points .ic { width: 16px; height: 16px; stroke-width: 2; }

/* ===== 悩み ===== */
.pain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; }
.pain li { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; }
.pain li .ic { color: var(--muted); margin-top: 2px; }
.pain-close { margin-top: 40px; font-size: 20px; line-height: 32px; font-weight: 700; color: var(--ink); }

/* ===== 解決・サービス ===== */
.solve { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.solve .card { position: relative; }
.solve .num { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .12em; color: var(--accent-text); }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc .card { display: flex; flex-direction: column; }
.svc .card-pain { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.svc .card-pain + .h3 { margin-top: 8px; }
.svc .card-tech, .doc-item .doc-label { margin-top: 16px; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .04em; color: var(--accent-text); }
.svc .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.svc .tag-row li { padding: 4px 12px; border-radius: 9999px; border: 1px solid var(--line-strong); font-size: 13px; line-height: 20px; color: var(--body); }
.svc .price-hint { margin-top: auto; padding-top: 24px; font-size: 14px; line-height: 20px; color: var(--muted); }
.svc .price-hint b { font-size: 20px; line-height: 28px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ===== Before / After ===== */
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ba-col { padding: 32px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.ba-col.after { border: 1px solid var(--accent); background: var(--paper); }
.ba-label { display: inline-block; padding: 4px 12px; border-radius: 9999px; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .08em; background: var(--tint); color: var(--muted); }
.after .ba-label { background: var(--accent-soft); color: var(--accent-text); }
.ba-list { margin-top: 24px; padding: 0; list-style: none; display: grid; gap: 16px; }
.ba-list li { display: flex; gap: 12px; align-items: flex-start; }
.ba-list .ic { width: 20px; height: 20px; margin-top: 4px; color: var(--muted); }
.after .ba-list .ic { color: var(--accent-text); stroke-width: 2; }

/* ===== 実績 ===== */
.works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; list-style: none; }
.work { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft); }
.work:active { transform: scale(.99); }
@media (hover: hover) { .work:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); } }
.work-shot { display: block; aspect-ratio: 4 / 5; background: var(--tint); overflow: hidden; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 24px; }
.work-name { font-size: 18px; line-height: 28px; color: var(--ink); }
.work-desc { font-size: 14px; line-height: 24px; color: var(--body); }
.tag { align-self: flex-start; padding: 0 12px; border-radius: 9999px; font-size: 12px; line-height: 24px; font-weight: 700; letter-spacing: .04em; }
.tag-ok { background: rgba(30, 127, 79, .10); color: var(--ok-text, var(--ok)); }

/* ===== 料金 ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.price-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 776px; margin-left: auto; margin-right: auto; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan.is-main { border: 1px solid var(--accent); background: var(--paper); box-shadow: var(--shadow-up); }
.plan-kind { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .08em; color: var(--accent-text); }
.plan-name { margin-top: 8px; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); }
.plan-for { margin-top: 8px; font-size: 14px; line-height: 24px; color: var(--muted); }
.plan-price { margin-top: 24px; font-size: 40px; line-height: 48px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
.plan-price small { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.plan-price.ask { font-size: 28px; line-height: 40px; color: var(--accent-text); }
.plan-list { margin-top: 24px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 12px; }
.plan-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 16px; line-height: 28px; }
.plan-list .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-text); stroke-width: 2; }
.plan .btn { margin-top: 32px; width: 100%; }
.opt { margin-top: 40px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.opt-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); }
.opt-row:first-child { border-top: 0; }
.opt-row dt { color: var(--ink); font-weight: 600; }
.opt-row dt small { display: block; font-size: 13px; line-height: 20px; font-weight: 400; color: var(--muted); }
.opt-row dd { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.opt-row dd.ask { color: var(--accent-text); }
.price-note { margin-top: 16px; }

/* ===== 流れ ===== */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; counter-reset: f; }
.flow li { position: relative; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); counter-increment: f; }
.flow li::before { content: counter(f, decimal-leading-zero); display: block; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .12em; color: var(--accent-text); }
.flow b { display: block; margin-top: 8px; font-size: 18px; line-height: 28px; color: var(--ink); }
.flow span { display: block; margin-top: 8px; font-size: 14px; line-height: 24px; }
.flow.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sub-title.doc-first { margin-top: 0; }
.eq { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.eq b { padding: 12px 24px; border-radius: 9999px; background: var(--paper); border: 1px solid var(--line); font-size: 18px; line-height: 28px; color: var(--ink); }
.eq b.is-sum { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.eq i { font-style: normal; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--accent-text); }
.about-close { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 32px; }
.about-close p { font-size: 16px; line-height: 28px; }
.about-close p b { display: block; margin-bottom: 4px; font-size: 20px; line-height: 32px; color: var(--ink); }
.about-close .btn { flex: none; }

/* ===== 経営理念（システム開発・Boss 2026-11-16）===== */
.phil-box { position: relative; max-width: 880px; margin: 0 auto; padding: 64px 64px 56px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.phil-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .8; }
.phil-label { margin-bottom: 24px; font-size: 16px; line-height: 28px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.phil-motto { margin-bottom: 24px; font-size: 40px; line-height: 56px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.phil-l1, .phil-l2 { display: block; }
.phil-l2 { margin-top: 4px; font-size: 28px; line-height: 40px; color: var(--accent-text); }
.phil-catch { margin-bottom: 32px; padding-left: 16px; border-left: 2px solid var(--accent); font-size: 20px; line-height: 32px; font-weight: 600; color: var(--ink); }
.phil-body p { font-size: 16px; line-height: 32px; color: var(--body); }
.phil-body p + p { margin-top: 16px; }
.phil-sign { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 40px; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.phil-sign::before { content: ""; width: 32px; height: 1px; background: var(--accent); }

/* ===== FAQ ===== */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; min-height: 64px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 20px; height: 20px; background: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease-soft); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .a { padding: 0 24px 24px; }

/* ===== 行動の選択（相談・資料・デモ） ===== */
.choose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.choose.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s var(--ease-soft), border-color .2s var(--ease-soft); }
.choice:active { transform: scale(.99); }
@media (hover: hover) { .choice:hover { border-color: var(--accent); } }
.choice b { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 28px; color: var(--ink); }
.choice span { font-size: 14px; line-height: 24px; }
.choice .go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--accent-text); }
/* 入口の主役（無料デモのご依頼） */
.choice.is-main { border: 1px solid var(--accent); background: var(--paper); box-shadow: var(--shadow-up); }
.choice.is-main b .ic { color: var(--accent-text); }

/* ===== フォーム ===== */
.form-wrap { max-width: 760px; margin: 0 auto; padding: 40px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-up); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin: 0 0 32px; border: 0; border-radius: var(--r-sm); background: var(--tint); }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 700; text-align: center; color: var(--muted); cursor: pointer; transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { color: var(--ink); }
.seg label:has(input:checked) { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .06); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.fields { display: grid; gap: 20px; }
.field label, .field .lbl { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 15px; line-height: 24px; font-weight: 700; color: var(--ink); }
.need { flex: none; white-space: nowrap; padding: 0 8px; border-radius: 4px; font-size: 12px; line-height: 20px; font-weight: 700; background: var(--tint); color: var(--muted); }
.need.is-req { background: var(--accent-soft); color: var(--accent-text); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); font-size: 16px; line-height: 24px; transition: border-color .2s var(--ease-soft), box-shadow .2s var(--ease-soft);
}
.field textarea { min-height: 136px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 24px) 24px, calc(100% - 18px) 24px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; letter-spacing: 0; }
.field input:not([type="checkbox"]):not([type="radio"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.agree input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--ng); }
.field .hint { margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--muted); }
.err { display: block; margin-top: 8px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ng); }
.err:empty { display: none; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.agree { display: flex; gap: 12px; align-items: center; min-height: 44px; font-size: 15px; line-height: 24px; color: var(--ink); cursor: pointer; }
.agree input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--accent); }
.agree-link { margin-top: 8px; padding-left: 36px; font-size: 13px; line-height: 20px; }
.agree-link a { display: inline-block; padding: 12px 0; color: var(--accent-text); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send-row { margin-top: 32px; }
.send-row .btn { width: 100%; }
.send-row .btn[disabled] { opacity: .5; cursor: not-allowed; }
.form-msg { margin-top: 16px; min-height: 24px; text-align: center; font-size: 14px; line-height: 24px; color: var(--muted); }
.form-msg.ng { color: var(--ng); font-weight: 600; }
.done, .fail { padding: 32px; border-radius: var(--r); text-align: center; }
.done { background: var(--accent-soft); }
.done .h3, .fail .h3 { margin-bottom: 8px; }
.done .rid { margin-top: 16px; font-size: 14px; color: var(--muted); }
.done .rid b { font-variant-numeric: tabular-nums; color: var(--ink); }
.fail { margin-top: 24px; background: var(--tint); }
.fail .cta-row { justify-content: center; margin-top: 24px; }
.line-alt { margin-top: 24px; text-align: center; font-size: 14px; line-height: 24px; }
.line-alt a { color: var(--accent-text); font-weight: 700; }

/* ===== 最終 CTA・関連 ===== */
.final { text-align: center; }
.final .lead { margin: 16px auto 0; max-width: 640px; }
.final .cta-row { justify-content: center; margin-top: 40px; }
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.more a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s var(--ease-soft); }
@media (hover: hover) { .more a:hover { border-color: var(--accent); } }
.more b { color: var(--ink); font-size: 16px; line-height: 24px; }
.more span { font-size: 14px; line-height: 24px; }

/* ===== フッター ===== */
.ft { padding: 64px 0 120px; border-top: 1px solid var(--line); }
.ft-in { display: grid; gap: 16px; }
/* 正規ロゴの台。ロゴの元の背景と同じ濃紺を、ライトとダークの両方で敷く */
.ft-brand { display: flex; justify-content: center; margin-bottom: 16px; padding: 32px 24px; border-radius: var(--r); background: radial-gradient(120% 140% at 50% 40%, #071038 0%, #020516 60%, #010312 100%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--shadow); }
.ft-logo { width: 360px; max-width: 100%; }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; list-style: none; }
.ft-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 24px; color: var(--body); text-decoration: none; }
.ft-links a:hover { color: var(--ink); text-decoration: underline; }
.ft-copy { font-size: 13px; line-height: 20px; color: var(--muted); }

/* ===== スマホの下のバー ===== */
.mbar { display: none; }

/* ===== 見本の部品（端末・画面のイメージ） ===== */
.device { position: relative; }
.laptop { position: relative; border-radius: 16px; padding: 12px 12px 0; background: linear-gradient(180deg, #2C2C30, #1C1C1F); box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 24px 48px rgba(0, 0, 0, .18); }
.laptop-screen { border-radius: 8px 8px 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: #FFFFFF; container-type: inline-size; }
.laptop-base { height: 12px; margin: 0 -24px; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #D7D7DC, #A9A9B0); box-shadow: 0 8px 16px rgba(0, 0, 0, .12); }
.phone { position: absolute; width: 32%; aspect-ratio: 9 / 19.5; border-radius: 28px; padding: 8px; background: #1C1C1F; box-shadow: 0 2px 4px rgba(0, 0, 0, .16), 0 24px 48px rgba(0, 0, 0, .24); }
.phone-screen { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #FFFFFF; container-type: inline-size; }
.mock-cap { margin-top: 24px; text-align: center; }

/* 見本の中のサイト（店の画面のイメージ。文字は飾りの線で表す） */
.site { display: flex; flex-direction: column; width: 100%; height: 100%; background: #FAF7F4; color: #2A2320; font-family: var(--font); }
.site-bar { display: flex; align-items: center; justify-content: space-between; padding: 2.4cqw 3cqw; font-size: clamp(6px, 2.2cqw, 10px); line-height: 1.2; font-weight: 700; letter-spacing: .12em; }
.site-bar i { display: block; width: 32px; height: 4px; border-radius: 4px; background: rgba(42, 35, 32, .24); }
.site-hero { position: relative; flex: 1; min-height: 0; }
.site-hero img { width: 100%; height: 100%; object-fit: cover; }
.site-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 16, 14, .56), rgba(20, 16, 14, 0) 64%); }
.site-copy { position: absolute; left: 8%; bottom: 16%; z-index: 1; color: #FFFFFF; }
.site-copy b { display: block; font-size: clamp(8px, 5cqw, 26px); line-height: 1.3; letter-spacing: .04em; font-weight: 700; }
.site-copy em { display: block; margin-top: .8cqw; font-style: normal; font-size: clamp(6px, 2.2cqw, 12px); line-height: 1.5; opacity: .88; }
.site-copy s { display: inline-block; margin-top: 2.4cqw; padding: 1.2cqw 3.2cqw; border-radius: 9999px; background: #FFFFFF; color: #2A2320; text-decoration: none; font-size: clamp(6px, 2cqw, 11px); font-weight: 700; letter-spacing: .08em; }
.site-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 2cqw 3cqw 3cqw; }
.site-row i { display: block; aspect-ratio: 4 / 3; border-radius: 4px; background: rgba(42, 35, 32, .08); background-size: cover; background-position: center; }
.site.sp .site-copy { left: 10%; bottom: 10%; }
.site.sp .site-copy b { font-size: clamp(9px, 11cqw, 18px); }

/* ===== 部分の位置 ===== */
.sub-head { margin-top: 96px; }
.after-opt { margin-top: 40px; }
.works.ex3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.works.ex3 .work-shot { aspect-ratio: 3 / 2; }
.works.ex3 .work-shot img { object-position: center; }
.price-note a { color: var(--accent-text); }
.done .cta-row { justify-content: center; margin-top: 16px; }

/* ===== 写真の HERO・デザインの見本 ===== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-banner { padding: 24px 0 96px; }
.hero-main { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-up); }
.hero-under { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.hero-under .cta-row { flex: none; }
.sp-only { display: none; }
.hero-photo { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-up); }
.ex-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1023px) {
  .hero-under { flex-direction: column; align-items: stretch; }
  .ex-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero.hero-banner { padding: 16px 0 64px; }
  .hero-main { border-radius: var(--r-sm); }
  .hero-under { margin-top: 24px; gap: 16px; }
  .sp-only { display: block; }
  .sp-only .hero-points { margin-top: 16px; }
}
.ex-item { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ex-item img { width: 100%; }
.ex-item figcaption { display: grid; gap: 4px; padding: 20px 24px 24px; }
.ex-item b { font-size: 18px; line-height: 28px; color: var(--ink); }
.ex-item span { font-size: 14px; line-height: 24px; }
@media (max-width: 767px) {
  .ex-gallery { grid-template-columns: 1fr; }
}

/* ===== 無料体験（AppleSF：光の球と点の地の上に、ガラスを3層重ねる・Boss 2026-11-16） ===== */
.tg {
  --tg-base: #F4F7FA; --tg-glass: rgba(255, 255, 255, .45); --tg-ink: #0B132B; --tg-sub: #4A5568;
  --tg-border: rgba(255, 255, 255, .4); --tg-in-top: rgba(255, 255, 255, .6); --tg-in-bot: rgba(0, 0, 0, .03); --tg-drop: rgba(11, 19, 43, .04);
  --tg-itb: 2px; --tg-ibb: 1px; --tg-aqua: rgba(0, 229, 255, .35); --tg-violet: rgba(112, 0, 255, .15); --tg-badge: rgba(11, 19, 43, .05); --tg-grid: .03;
  position: relative; isolation: isolate; overflow: hidden; margin-top: 40px; padding: 64px 48px 56px; border-radius: 32px;
  background: var(--tg-base); color: var(--tg-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro JP", "SF Pro Display", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴシック", meiryo, sans-serif;
  letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; font-feature-settings: "palt";
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tg {
    --tg-base: #050814; --tg-glass: rgba(11, 19, 43, .65); --tg-ink: #FFFFFF; --tg-sub: #A0AEC0;
    --tg-border: rgba(255, 255, 255, .08); --tg-in-top: rgba(255, 255, 255, .25); --tg-in-bot: rgba(0, 0, 0, .5); --tg-drop: rgba(0, 0, 0, .65);
    --tg-itb: 1px; --tg-ibb: 2px; --tg-aqua: rgba(0, 229, 255, .45); --tg-violet: rgba(112, 0, 255, .25); --tg-badge: rgba(255, 255, 255, .08); --tg-grid: .07;
  }
}
:root[data-theme="dark"] .tg {
  --tg-base: #050814; --tg-glass: rgba(11, 19, 43, .65); --tg-ink: #FFFFFF; --tg-sub: #A0AEC0;
  --tg-border: rgba(255, 255, 255, .08); --tg-in-top: rgba(255, 255, 255, .25); --tg-in-bot: rgba(0, 0, 0, .5); --tg-drop: rgba(0, 0, 0, .65);
  --tg-itb: 1px; --tg-ibb: 2px; --tg-aqua: rgba(0, 229, 255, .45); --tg-violet: rgba(112, 0, 255, .25); --tg-badge: rgba(255, 255, 255, .08); --tg-grid: .07;
}
.tg::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(var(--tg-ink) 1px, transparent 0); background-size: 16px 16px; opacity: var(--tg-grid); pointer-events: none; }
.tg-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(64px); pointer-events: none; will-change: transform; }
.tg-orb-a { width: 360px; height: 360px; top: -96px; left: 8%; background: radial-gradient(circle, var(--tg-aqua) 0%, rgba(0, 0, 0, 0) 70%); animation: tgOrbA 32s infinite alternate ease-in-out; }
.tg-orb-b { width: 320px; height: 320px; bottom: -120px; right: 6%; background: radial-gradient(circle, var(--tg-violet) 0%, rgba(0, 0, 0, 0) 70%); animation: tgOrbB 26s infinite alternate ease-in-out; }
.tg-orb-c { width: 240px; height: 240px; top: 24%; right: 32%; background: radial-gradient(circle, var(--tg-aqua) 0%, rgba(0, 0, 0, 0) 70%); animation: tgOrbB 38s infinite alternate ease-in-out; }
@keyframes tgOrbA { from { transform: translate(0, 0) scale(1); } to { transform: translate(120px, 48px) scale(1.12); } }
@keyframes tgOrbB { from { transform: translate(0, 0) scale(1); } to { transform: translate(-96px, -40px) scale(1.08); } }
.tg-stack { position: relative; max-width: 880px; margin: 0 auto; }
.tg-layer, .tg-panel {
  background: var(--tg-glass);
  backdrop-filter: blur(30px) saturate(220%); -webkit-backdrop-filter: blur(30px) saturate(220%);
  border: 1px solid var(--tg-border);
  box-shadow: inset 0 1px var(--tg-itb) var(--tg-in-top), inset 0 -1px var(--tg-ibb) var(--tg-in-bot), 0 40px 80px var(--tg-drop);
}
.tg-layer { position: absolute; border-radius: 32px; pointer-events: none; }
.tg-layer-3 { left: 64px; right: 64px; top: -32px; bottom: 32px; opacity: .6; }
.tg-layer-2 { left: 32px; right: 32px; top: -16px; bottom: 16px; opacity: .85; }
.tg-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px; border-radius: 32px; transition: box-shadow .3s ease; }
.tg-panel:hover { box-shadow: inset 0 1px var(--tg-itb) var(--tg-in-top), inset 0 -1px var(--tg-ibb) var(--tg-in-bot), 0 48px 96px var(--tg-drop), 0 0 0 1px rgba(0, 229, 255, .24); }
.tg-k { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 99px; background: var(--tg-badge); font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: .08em; color: var(--tg-sub); }
.tg-dot { width: 8px; height: 8px; border-radius: 50%; background: #00E5FF; box-shadow: 0 0 12px rgba(0, 229, 255, .8); animation: tgBreathe 2.4s infinite ease-in-out; }
@keyframes tgBreathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
.tg-title { margin-top: 16px; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--tg-ink); text-wrap: balance; }
.tg-line { display: block; }
.tg-lead { margin-top: 16px; max-width: 32em; font-size: 16px; line-height: 28px; font-weight: 400; color: var(--tg-sub); }
.tg-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 24px; font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: .08em; color: var(--tg-sub); }
.tg-sign b { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--tg-ink); }
.tg-sign::before { content: ""; width: 24px; height: 1px; background: #00E5FF; }
.tg-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 32px; border-radius: 20px;
  background: var(--tg-ink); color: var(--tg-base); font-size: 16px; line-height: 24px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none;
  box-shadow: 0 12px 24px rgba(11, 19, 43, .16), 0 2px 4px rgba(11, 19, 43, .12); transition: box-shadow .3s ease, transform .3s ease;
}
.tg-btn:hover { box-shadow: 0 16px 32px rgba(0, 229, 255, .28), 0 2px 4px rgba(11, 19, 43, .12); transform: translateY(-1px); }
.tg-btn:focus-visible { outline: 2px solid #00E5FF; outline-offset: 4px; }
.tg-btn .ic { width: 16px; height: 16px; }
@media (max-width: 767px) {
  .tg { padding: 48px 16px 32px; border-radius: 24px; }
  .tg-layer { border-radius: 24px; }
  .tg-layer-3 { left: 32px; right: 32px; top: -24px; bottom: 24px; }
  .tg-layer-2 { left: 16px; right: 16px; top: -12px; bottom: 12px; }
  .tg-panel { flex-direction: column; align-items: stretch; gap: 24px; padding: 32px 24px; border-radius: 24px; }
  .tg-title { font-size: 24px; line-height: 32px; }
  .tg-btn { width: 100%; }
  .tg-orb-a { width: 240px; height: 240px; left: -48px; }
  .tg-orb-b { width: 240px; height: 240px; right: -48px; }
  .tg-orb-c { display: none; }
}

/* ===== 大きな見本の画像・最後の CTA の帯 ===== */
.wide-shot { margin: 0 0 40px; }
.wide-shot img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-up); }
.wide-shot figcaption { margin-top: 12px; text-align: center; }
.next-band { position: relative; margin-bottom: 40px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-up); background: #111114; }
.next-bg { width: 100%; }
.next-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 14, .78) 0%, rgba(12, 12, 14, .48) 38%, rgba(12, 12, 14, 0) 62%); pointer-events: none; }
.next-copy { position: absolute; z-index: 1; left: 56px; top: 50%; transform: translateY(-50%); max-width: 440px; }
.next-copy .eyebrow { color: #FFFFFF; opacity: .8; }
.next-copy .h2 { color: #FFFFFF; }
.next-copy .lead { margin-top: 16px; color: rgba(255, 255, 255, .86); }
@media (max-width: 1023px) {
  .next-copy { left: 32px; max-width: 360px; }
  .next-copy .h2 { font-size: 36px; line-height: 48px; }
}
@media (max-width: 767px) {
  .wide-shot { margin-bottom: 24px; }
  .wide-shot img { border-radius: var(--r-sm); }
  .next-band { background: var(--paper); border: 1px solid var(--line); }
  .next-band::after { display: none; }
  .next-copy { position: static; transform: none; max-width: none; padding: 24px; }
  .next-copy .eyebrow { color: var(--accent-text); opacity: 1; }
  .next-copy .h2 { color: var(--ink); font-size: 36px; line-height: 44px; }
  .next-copy .lead { color: var(--body); }
}

/* ===== ②の画面のイメージの置き場・③の記事の例と運用の流れ ===== */
.sys-wrap { max-width: 640px; margin: 0 auto 40px; }
.articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.article { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s var(--ease-soft), border-color .2s var(--ease-soft); }
.article:active { transform: scale(.99); }
@media (hover: hover) { .article:hover { border-color: var(--accent); } }
.article b { font-size: 18px; line-height: 28px; color: var(--ink); }
.article span { font-size: 14px; line-height: 24px; }
.article .go { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--accent-text); }
.article .go .ic { width: 16px; height: 16px; }
.ba-gap { margin-top: 40px; }
@media (max-width: 767px) { .articles { grid-template-columns: 1fr; } }

/* ===== ②システム開発：導入できるシステムの3列（タブレットは2列・スマホは1列） ===== */
.svc.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc + .sub-title { margin-top: 64px; }
.sec-head + .sub-title { margin-top: 0; }
@media (max-width: 1023px) { .svc.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .svc.three { grid-template-columns: 1fr; } }

/* ===== ④採用・ポートフォリオ：見本の画像と説明の2列（スマホは縦に1列） ===== */
.duo { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.duo + .duo { margin-top: 96px; }
.duo.rev .duo-shot { order: 2; }
.duo-shot { margin: 0; }
.duo-shot img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-up); }
.duo-shot figcaption { margin-top: 12px; text-align: center; }
.duo-body .eyebrow .ic { width: 20px; height: 20px; }
.duo-title { font-size: 36px; line-height: 48px; }
.duo-body .lead { margin-top: 16px; }
.duo-body .checks { margin-top: 24px; }
.duo-prices { display: grid; gap: 12px; margin-top: 24px; padding: 0; list-style: none; }
.duo-prices li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 12px rgba(0, 0, 0, .04); }
.duo-prices b { display: block; color: var(--ink); }
.duo-prices small { display: block; font-size: 13px; line-height: 20px; color: var(--muted); }
.duo-prices .yen { flex: none; white-space: nowrap; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.duo-body .cta-row { margin-top: 32px; }
@media (max-width: 1023px) {
  .duo { grid-template-columns: 1fr; gap: 32px; }
  .duo.rev .duo-shot { order: 0; }
  .duo-shot { width: 100%; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 767px) {
  .duo + .duo { margin-top: 64px; }
  .h2.duo-title { font-size: 28px; line-height: 40px; }
  .duo-prices li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ===== 構築実績①：実店舗の飲食店（店名は非公開。機能の詳細で見せる。数は書かない） ===== */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: start; padding: 40px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-up); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag-case { background: var(--accent-soft); color: var(--accent-text); }
.case-title { font-size: 36px; line-height: 48px; }
.case .lead { margin-top: 16px; font-size: 17px; line-height: 30px; }
.case .note { margin-top: 16px; }
.case-result { margin-top: 16px; padding: 16px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--ink); font-size: 16px; line-height: 28px; font-weight: 600; }
.case-cap { margin-bottom: 16px; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .08em; color: var(--accent-text); }
.case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.case-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); background: var(--tint); }
.case-list .ic { color: var(--accent-text); margin-top: 2px; }
.case-list b { display: block; font-size: 15px; line-height: 24px; color: var(--ink); }
.case-list span { font-size: 14px; line-height: 24px; }
/* 担当範囲と使用技術 */
.spec { display: grid; gap: 8px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 24px; }
.spec div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
.spec dt { font-weight: 700; color: var(--ink); }

/* ===== 構築実績②：アプリ・システム・サイトの詳細（機能・担当範囲・使用技術） ===== */
.sub-title { margin: 64px 0 24px; font-size: 28px; line-height: 40px; font-weight: 700; letter-spacing: .01em; color: var(--ink); }
.builds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 0; list-style: none; }
.builds > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.build { display: flex; flex-direction: column; height: 100%; padding: 32px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.build-head { display: flex; gap: 16px; align-items: center; }
.build-head .case-tags { margin-bottom: 8px; }
.build-head .ic-box { flex: none; width: 72px; height: 72px; border-radius: var(--r); }
.build-head .ic-box .ic { width: 32px; height: 32px; }
.build-shot { flex: none; width: 72px; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--tint); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .08); }
.build-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Boss のアイコンの絵（角丸の外は透明）。影は絵の形に沿わせて2層 */
.build-art { flex: none; width: 112px; height: 112px; }
.build-art img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(11, 19, 43, .16)) drop-shadow(0 12px 24px rgba(11, 19, 43, .18)); }
@media (max-width: 767px) { .build-art { width: 96px; height: 96px; } }
.build-name { margin: 0; font-size: 20px; line-height: 32px; font-weight: 700; color: var(--ink); text-wrap: balance; word-break: auto-phrase; }
.build-desc { margin-top: 16px; font-size: 16px; line-height: 28px; }
.build-list, .checks { display: grid; gap: 8px; padding: 0; list-style: none; }
.build-list { margin: 16px 0 24px; }
.build-list li, .checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 16px; line-height: 28px; color: var(--ink); }
.build-list .ic, .checks .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-text); stroke-width: 2; }
.build .spec { margin-top: auto; }
.build-link { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; min-height: 44px; margin-top: 16px; font-size: 14px; line-height: 24px; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.build-link .ic { width: 16px; height: 16px; }
@media (hover: hover) { .build-link:hover { text-decoration: underline; } }

/* ===== 資料（/lp/<名前>/shiryo/）：LP ごとの専用の案内資料。1枚ずつの紙の形で、印刷では1枚ずつに分かれる ===== */
.doc { padding: 40px 0 96px; background: var(--tint); }
.doc-wrap { display: grid; gap: 24px; width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 40px; }
.doc-cta { margin-left: auto; }
.sheet { padding: 56px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 16px; }
.sheet-title { font-size: 32px; line-height: 44px; }
.sheet .lead { margin-top: 16px; font-size: 17px; line-height: 30px; }
.sheet-body { display: grid; gap: 24px; margin-top: 32px; }
.sheet .opt { margin-top: 0; }
.sheet .flow li { background: var(--tint); border-color: transparent; }
.doc-cover { padding: 0; overflow: hidden; }
.doc-plate { margin: 0; padding: 56px 24px; border: 0; border-radius: 0; box-shadow: none; }
.doc-cover-in { padding: 48px 56px 56px; }
.doc-cover .h2 { font-size: 40px; line-height: 52px; }
.doc-cover .cta-row { margin-top: 32px; }
.doc-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 32px; padding: 0; list-style: none; }
.doc-toc a { display: flex; align-items: baseline; gap: 12px; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.doc-toc span { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .12em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .doc-toc a:hover { color: var(--accent-text); } }
.doc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.doc-cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc-item { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-sm); background: var(--tint); }
.doc-item > b { display: block; font-size: 17px; line-height: 28px; color: var(--ink); }
.doc-item > p { margin-top: 8px; font-size: 16px; line-height: 28px; }
.doc-item .doc-kicker { margin: 0 0 4px; font-size: 13px; line-height: 20px; color: var(--muted); }
.doc-item .num { margin: 0 0 8px; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .12em; color: var(--accent-text); }
.doc-item .case-tags { margin: 0 0 12px; }
.doc-item .checks { margin: 16px 0; }
.doc-item .checks li { font-size: 16px; }
.doc-item .spec { margin-top: auto; padding-top: 16px; }
.doc-item .doc-price { margin-top: auto; padding-top: 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.doc-price b { font-size: 20px; line-height: 28px; color: var(--ink); font-variant-numeric: tabular-nums; }
.doc-case-title { display: block; font-size: 24px; line-height: 36px; color: var(--ink); }
.doc-case > p { margin-top: 12px; }
.doc-case .case-tags { margin: 0 0 12px; }
.doc-case .case-cap { margin: 24px 0 16px; }
.doc-case .note { margin-top: 16px; }
.doc-qa { display: grid; margin: 0; }
.doc-qa div { padding: 20px 0; border-top: 1px solid var(--line); }
.doc-qa div:first-child { padding-top: 0; border-top: 0; }
.doc-qa dt { font-weight: 700; color: var(--ink); }
.doc-qa dd { margin-top: 8px; font-size: 16px; line-height: 28px; }
.doc-end { text-align: center; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-up); }
.doc-end .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.doc-end .cta-row { justify-content: center; margin-top: 32px; }
.doc-contact { margin-top: 32px; font-size: 14px; line-height: 24px; color: var(--muted); }
.doc-contact a { color: var(--accent-text); }
@media (max-width: 1023px) {
  .doc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .case-list, .builds, .doc-toc, .doc-cols, .doc-cols.two { grid-template-columns: 1fr; }
  .sub-title { margin: 48px 0 16px; font-size: 24px; line-height: 36px; }
  .builds { gap: 16px; }
  .build { padding: 24px; }
  .build-name { font-size: 18px; line-height: 28px; }
  .doc { padding: 16px 0 64px; }
  .doc-wrap { gap: 16px; padding: 0 16px; }
  .sheet { padding: 32px 20px; }
  .sheet .sheet-title { font-size: 28px; line-height: 40px; }
  .doc-cover { padding: 0; }
  .doc-plate { padding: 40px 16px; }
  .doc-cover-in { padding: 32px 20px; }
  .doc-cover .h2 { font-size: 32px; line-height: 44px; }
  .doc-case-title { font-size: 20px; line-height: 32px; }
}
@media print {
  .hd, .mbar, .skip, .ft, [data-print], .doc-end .cta-row { display: none !important; }
  html, body { overflow: visible; max-width: none; background: #FFFFFF; }
  .doc { padding: 0; background: #FFFFFF; }
  .doc-wrap { display: block; max-width: none; padding: 0; }
  .sheet { padding: 32px 0; border: 0; border-radius: 0; box-shadow: none; background: #FFFFFF; break-before: page; }
  .doc-cover { break-before: auto; }
  .opt-row, .doc-item, .doc-qa div, .case-list li, .flow li { break-inside: avoid; }
}

/* ===== LP-B の HERO：受付一覧と通知（画面のイメージ） ===== */
.sys-mock { position: relative; padding: 0 0 48px 0; }
.sys-ledger { width: 88%; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-up); font-variant-numeric: tabular-nums; }
.sys-ttl { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-weight: 700; color: var(--ink); }
.sys-ttl span { margin-left: auto; padding: 0 12px; border-radius: 9999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; line-height: 24px; }
.sys-row { display: grid; grid-template-columns: 1fr 1.6fr .8fr; gap: 8px; padding: 12px 8px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.sys-head { border-top: 0; font-size: 12px; color: var(--muted); }
.sys-row.is-new { border-radius: 8px; background: var(--accent-soft); color: var(--ink); font-weight: 700; }
.sys-phone { position: absolute; right: 0; bottom: 0; width: 52%; padding: 16px; border-radius: var(--r); background: rgba(28, 28, 31, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #F5F5F7; box-shadow: var(--shadow-up); }
.sys-time { font-size: 28px; line-height: 36px; font-weight: 700; text-align: center; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.sys-noti { padding: 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); }
.sys-noti + .sys-noti { margin-top: 8px; opacity: .8; }
.sys-app { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; color: rgba(245, 245, 247, .72); }
.sys-app .ic { width: 16px; height: 16px; }
.sys-msg { margin-top: 4px; font-size: 13px; line-height: 20px; }
.sys-msg b { display: block; font-size: 14px; }

/* ===== 業務の流れ（Before / After の手順） ===== */
.steps { display: grid; gap: 12px; margin-top: 24px; padding: 0; list-style: none; counter-reset: st; }
.steps li { position: relative; padding: 12px 16px 12px 56px; border-radius: var(--r-sm); background: var(--tint); counter-increment: st; }
.steps li::before { content: counter(st); position: absolute; left: 16px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--line-strong); color: var(--ink); font-size: 12px; line-height: 24px; font-weight: 700; text-align: center; }
.after .steps li::before { background: var(--accent); color: var(--accent-ink); }
.steps b { display: block; color: var(--ink); }
.steps span { font-size: 14px; line-height: 24px; }
.work-shot.tall { aspect-ratio: 4 / 5; }
@media (max-width: 1023px) {
  .case { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .case { padding: 24px; }
  .h2.case-title { font-size: 24px; line-height: 36px; }
  .sys-ledger { width: 100%; padding: 16px; }
  .sys-phone { width: 72%; }
  .sys-mock { padding-bottom: 120px; }
}

/* ===== LP-A の HERO：ノートパソコンとスマホ ===== */
.web-mock { padding: 0 8% 12% 0; }
.web-mock .phone { right: 0; bottom: 0; width: 27%; }
.hero-visual { margin: 0; }

/* ===== ふわっと出す ===== */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ===== Boss のモックアップ（Boss 2026-11-16）。PC とスマホの層をスクロールに合わせて動かす（lp.js の 8）=====
   場所は aspect-ratio で先に取る（ずれない）。動かすのは transform と opacity だけ。
   幕（起動・グラフ）の初めの値は「見えない」＝JS が無い時と、動きを減らす設定の時は完成の形のまま止まって見える */
.mock-anim { position: relative; width: 100%; max-width: 1040px; margin: 8px auto 0; }
#about .mock-anim { margin-top: 64px; }
.mock-anim .ma-l { position: absolute; transform-origin: 50% 100%; }
.mock-anim.ma-js .ma-l { will-change: transform, opacity; }
.mock-anim img { display: block; width: 100%; height: auto; }
.mock-anim .ma-in { position: relative; }
/* 見え方を測る見えない箱（lp.js の 8）。箱が全部見えた時＝モックアップの真ん中が画面の真ん中に来た頃に、出る動きが完成する長さ（パソコンはモックアップが大きいので短く、スマホは長く） */
.ma-sensor { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 140px); pointer-events: none; visibility: hidden; }
@media (max-width: 767px) { .ma-sensor { height: calc(100% + 280px); } }
/* 上の箱：モックアップの上へ伸ばす。この箱の上端が画面の上を越えた時＝モックアップの真ん中が画面の真ん中を過ぎた頃から、奥行きが付き始める */
.ma-sensor-up { position: absolute; left: 0; right: 0; bottom: 0; height: calc(100% + 200px); pointer-events: none; visibility: hidden; }
@media (max-width: 767px) { .ma-sensor-up { height: calc(100% + 320px); } }
/* Motion を読む前と読めない時は、CSS で滑らかにする（Motion のばねに替わったら外す） */
.mock-anim.ma-js:not(.ma-motion) .ma-l, .mock-anim.ma-js:not(.ma-motion) .ma-in { transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s linear; }
.ma-screen { position: absolute; overflow: hidden; pointer-events: none; }
.ma-boot { position: absolute; inset: 0; background: #000; opacity: 0; }
.ma-scan { position: absolute; left: 0; right: 0; top: 0; height: 16%; opacity: 0; background: linear-gradient(180deg, rgba(0, 229, 255, 0), rgba(0, 229, 255, .32) 50%, rgba(0, 229, 255, 0)); }
.ma-wipe { position: absolute; pointer-events: none; transform-origin: 100% 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(251, 252, 253, 0), #FBFCFD 8%); }
@media (max-width: 767px) { .mock-anim { width: auto; margin-left: -16px; margin-right: -16px; } }

/* ===== 端末の見本（Boss 2026-11-15「アニメーションでヌルッと動きを見せ相手を憧れさせ」）===== */
/* 枠は一から描く（ストックの写真は使わない）。画面の中は本物の大きさで組み、lp.js が縮める。見えている間だけ動く */
.showcase .stage { margin-top: 8px; }
#about .stage { margin-top: 64px; }
.stage { position: relative; width: 100%; max-width: 1160px; margin: 0 auto; }
.stage::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -12px; height: 32px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0)); }
.stage-four { aspect-ratio: 1160 / 600; }
.stage-pair { aspect-ratio: 1160 / 640; }
.stage-note { margin-top: 32px; text-align: center; }
.dv { position: absolute; z-index: 1; }
.dv-in { position: relative; }
.dv-body { position: relative; background: #0B0B0F; box-shadow: 0 0 0 1px var(--dv-ring, rgba(0, 0, 0, 0)), 0 2px 4px rgba(0, 0, 0, .12), 0 24px 48px rgba(0, 0, 0, .18); }
.dv-screen { position: relative; overflow: hidden; background: #FFFFFF; }
.dv-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 36%); pointer-events: none; }
.dv-view { position: absolute; left: 0; top: 0; overflow: hidden; transform-origin: 0 0; }
.dv-page { container-type: inline-size; }
.dv-monitor .dv-body { padding: 1.6%; border-radius: clamp(8px, 1.2vw, 16px); }
.dv-monitor .dv-screen { border-radius: 4px; }
.dv-stand { position: relative; width: 18%; aspect-ratio: 2 / 1.1; margin: 0 auto; }
.dv-stand::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 12%; background: linear-gradient(90deg, #A7ABB2, #E4E6EA 50%, #A7ABB2); clip-path: polygon(14% 0, 86% 0, 94% 100%, 6% 100%); }
.dv-stand::after { content: ""; position: absolute; left: -40%; right: -40%; bottom: 0; height: 14%; border-radius: 9999px; background: linear-gradient(180deg, #E4E6EA, #A7ABB2); box-shadow: 0 8px 16px rgba(0, 0, 0, .14); }
.dv-laptop .dv-body { padding: 2.2% 2.2% 2.8%; border-radius: clamp(8px, 1.2vw, 16px) clamp(8px, 1.2vw, 16px) 4px 4px; }
.dv-laptop .dv-screen { border-radius: 4px; }
.dv-base { position: relative; width: 116%; margin-left: -8%; aspect-ratio: 100 / 3.6; border-radius: 4px 4px clamp(8px, 1.2vw, 16px) clamp(8px, 1.2vw, 16px); background: linear-gradient(180deg, #ECEEF1 0%, #C6CAD0 55%, #9EA2A9 100%); box-shadow: 0 16px 32px rgba(0, 0, 0, .16), 0 2px 4px rgba(0, 0, 0, .12); }
.dv-base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 40%; border-radius: 0 0 8px 8px; background: rgba(0, 0, 0, .14); }
.dv-tablet .dv-body { padding: 4.4%; border-radius: clamp(10px, 1.6vw, 24px); }
.dv-tablet .dv-screen { border-radius: clamp(4px, .8vw, 12px); }
.dv-phone .dv-body { padding: 4.4%; border-radius: clamp(12px, 2.4vw, 32px); }
.dv-phone .dv-screen { border-radius: clamp(8px, 2vw, 26px); }
.dv-phone .dv-screen::before { content: ""; position: absolute; z-index: 2; left: 34%; right: 34%; top: 1.6%; height: 3.4%; border-radius: 9999px; background: #0B0B0F; }
.stage-four .dv-monitor { left: 24%; top: 0; width: 52%; }
.stage-four .dv-laptop { left: 0; bottom: 4%; width: 42%; z-index: 2; }
.stage-four .dv-tablet { right: 9%; bottom: 4%; width: 17%; z-index: 2; }
.stage-four .dv-phone { right: 0; bottom: 4%; width: 9%; z-index: 3; }
.stage-pair .dv-laptop { left: 4%; top: 0; width: 76%; }
.stage-pair .dv-phone { right: 2%; bottom: 0; width: 20%; z-index: 2; }
.js .dv.rv { transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--d) * 160ms); }
.js .dv.rv.is-in { transform: none; }
.stage.is-play .dv-in { animation: dvfloat 8s ease-in-out infinite; animation-delay: calc(var(--d) * -2s); }
.stage.is-play .dv-scroll { animation: dvscroll 18s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes dvfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dvscroll { 0%, 10% { transform: translateY(0); } 45%, 58% { transform: translateY(var(--travel, 0px)); } 92%, 100% { transform: translateY(0); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stage { --dv-ring: rgba(255, 255, 255, .16); } :root:not([data-theme="light"]) .stage::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); } }
:root[data-theme="dark"] .stage { --dv-ring: rgba(255, 255, 255, .16); }
:root[data-theme="dark"] .stage::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); }
@media (max-width: 767px) {
  .stage-four { aspect-ratio: 358 / 260; }
  .stage-four .dv-monitor, .stage-four .dv-tablet { display: none; }
  .stage-four .dv-laptop { left: 0; bottom: 6%; width: 84%; }
  .stage-four .dv-phone { right: 0; bottom: 3%; width: 27%; }
  .stage-pair { aspect-ratio: 358 / 280; }
  .stage-pair .dv-laptop { left: 0; width: 84%; }
  .stage-pair .dv-phone { right: 0; width: 28%; }
  .stage-note { text-align: left; }
}
/* 端末の「動きを減らす」設定でも、動きは止めない（Boss の指示。Boss の iPhone で動きが出なかったため。全体の決まり34-6 の例外） */

/* 画面の中（全部が架空の店・会社・データ。字は本物のサイトと同じ大きさで組み、枠に合わせて縮む） */
.mk { --mk-a: #C8786A; --mk-ink: #2A2522; --mk-body: #5A4E48; --mk-line: rgba(42, 37, 34, .08); color: var(--mk-ink); background: #FFFFFF; line-height: 1.6; text-align: left; letter-spacing: .02em; }
.mk i, .mk em, .mk s { font-style: normal; text-decoration: none; }
.mk-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 9999px; background: var(--mk-a); color: #FFFFFF; font-size: 15px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.mk-btn.is-ghost { background: transparent; color: var(--mk-ink); border-color: rgba(42, 37, 34, .2); }
.mk-btn.is-line { background: #06C755; }
.mk-burger { display: none; width: 28px; }
.mk-burger i { display: block; height: 2px; margin: 8px 0; border-radius: 2px; background: var(--mk-ink); }
.mk-site { background: #FFFBF8; }
.mk-site.is-careers { --mk-a: #2F7D69; --mk-ink: #1E2A27; --mk-body: #4C5B57; background: #F7FAF9; }
.mk-hd { display: flex; align-items: center; gap: 40px; height: 88px; padding: 0 64px; border-bottom: 1px solid var(--mk-line); }
.mk-logo { font-size: 24px; line-height: 28px; letter-spacing: .14em; }
.mk-logo small { display: block; font-size: 12px; line-height: 16px; letter-spacing: .24em; font-weight: 500; color: var(--mk-body); }
.mk-nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; color: var(--mk-body); }
.mk-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding: 72px 64px 80px; }
.mk-hero-tx small { font-size: 13px; letter-spacing: .2em; font-weight: 700; color: var(--mk-a); }
.mk-hero-tx b { display: block; margin-top: 16px; font-size: 56px; line-height: 72px; }
.mk-hero-tx p { max-width: 440px; margin-top: 24px; font-size: 17px; line-height: 30px; color: var(--mk-body); }
.mk-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mk-hero-art { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 24px; background: linear-gradient(140deg, #F6E2DA, #EBC9BE 45%, #D9A797); }
.is-careers .mk-hero-art { background: linear-gradient(140deg, #E1EEE9, #A9CDBF 45%, #4F9682); }
.mk-hero-art span { position: absolute; aspect-ratio: 1; border-radius: 50%; }
.mk-hero-art .a1 { width: 62%; right: -8%; top: -12%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%); }
.mk-hero-art .a2 { width: 46%; left: 4%; bottom: -12%; background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 72%); }
.mk-hero-art .a3 { width: 22%; left: 42%; top: 30%; background: radial-gradient(circle, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%); }
.mk-hero-art em { position: absolute; left: 24px; bottom: 24px; font-size: 14px; font-weight: 700; letter-spacing: .2em; color: #FFFFFF; }
.mk-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 64px; }
.mk-feats span { padding: 20px 24px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--mk-line); font-size: 15px; color: var(--mk-body); }
.mk-feats b { display: block; font-size: 22px; line-height: 32px; color: var(--mk-ink); }
.mk-sec { padding: 64px 64px 0; }
.mk-sec > small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--mk-a); }
.mk-sec > b { display: block; margin-top: 8px; font-size: 32px; line-height: 44px; }
.mk-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.mk-cards span { display: block; padding: 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--mk-line); font-size: 15px; color: var(--mk-body); }
.mk-cards span i { display: block; aspect-ratio: 4 / 3; margin-bottom: 12px; border-radius: 12px; }
.mk-cards span b { display: block; font-size: 18px; line-height: 28px; color: var(--mk-ink); }
.mk .t1 { background: linear-gradient(135deg, #F3D9CF, #D9A08E); }
.mk .t2 { background: linear-gradient(135deg, #EFE3D3, #C9A77C); }
.mk .t3 { background: linear-gradient(135deg, #E5E0EE, #A99BC4); }
.mk .t4 { background: linear-gradient(135deg, #DCE7E1, #8FB3A2); }
.mk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.mk-tiles i, .mk-pf-works i { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; }
.mk-tiles em, .mk-pf-works em { position: absolute; left: 16px; bottom: 16px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #FFFFFF; }
.mk-day { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.mk-day span { padding: 20px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--mk-line); font-size: 15px; line-height: 26px; color: var(--mk-body); }
.mk-day b { display: block; font-size: 22px; line-height: 32px; color: var(--mk-a); font-variant-numeric: tabular-nums; }
.mk-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 64px 64px 0; padding: 40px 48px; border-radius: 24px; background: var(--mk-ink); color: #FFFFFF; }
.mk-band b { font-size: 28px; line-height: 40px; }
.mk-band .mk-acts { margin-top: 0; }
.mk-band .mk-btn.is-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, .32); }
.mk-ft { display: flex; align-items: center; justify-content: space-between; margin-top: 64px; padding: 40px 64px 56px; border-top: 1px solid var(--mk-line); font-size: 14px; color: var(--mk-body); }
@container (max-width: 900px) {
  .mk-hd, .mk-hero, .mk-feats, .mk-sec { padding-left: 40px; padding-right: 40px; }
  .mk-hd { gap: 24px; }
  .mk-nav i:nth-child(n+3) { display: none; }
  .mk-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .mk-hero-tx b { font-size: 48px; line-height: 64px; }
  .mk-cards, .mk-tiles, .mk-day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-band { flex-direction: column; align-items: flex-start; margin: 48px 40px 0; }
  .mk-ft { padding: 32px 40px 48px; }
}
@container (max-width: 500px) {
  .mk-hd { height: 64px; padding: 0 20px; margin-top: 40px; }
  .mk-hd > .mk-btn, .mk-nav { display: none; }
  .mk-burger { display: block; margin-left: auto; }
  .mk-logo { font-size: 20px; }
  .mk-hero { gap: 24px; padding: 24px 20px 40px; }
  .mk-hero-art { order: -1; aspect-ratio: 4 / 3; border-radius: 20px; }
  .mk-hero-tx b { font-size: 36px; line-height: 48px; }
  .mk-hero-tx p { font-size: 16px; line-height: 28px; }
  .mk-feats { grid-template-columns: 1fr; gap: 12px; padding: 0 20px; }
  .mk-sec { padding: 48px 20px 0; }
  .mk-sec > b { font-size: 26px; line-height: 36px; }
  .mk-cards, .mk-tiles, .mk-day { gap: 12px; }
  .mk-band { margin: 48px 20px 0; padding: 28px 24px; }
  .mk-band b { font-size: 22px; line-height: 32px; }
  .mk-ft { flex-direction: column; align-items: flex-start; gap: 8px; padding: 32px 20px 120px; }
}

/* 管理画面（② 営業リサーチの台帳・③ 検索からの集客） */
.mk-app { --mk-a: #0B7A70; --mk-ink: #1D1D1F; --mk-body: #5B5F66; --mk-line: rgba(0, 0, 0, .06); display: grid; grid-template-columns: 240px minmax(0, 1fr); height: 800px; background: #F4F5F7; }
.mk-app.is-seo { --mk-a: #1D6FE0; }
.mk-side { display: flex; flex-direction: column; gap: 4px; padding: 24px 16px; background: #FFFFFF; border-right: 1px solid var(--mk-line); font-size: 15px; color: var(--mk-body); }
.mk-brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 24px; font-size: 18px; color: var(--mk-ink); }
.mk-brand i { width: 28px; height: 28px; border-radius: 8px; background: var(--mk-a); }
.mk-side span { padding: 10px 12px; border-radius: 12px; }
.mk-side .is-on { background: color-mix(in srgb, var(--mk-a) 10%, #FFFFFF); color: var(--mk-a); font-weight: 700; }
.mk-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 28px 32px; }
.mk-top { display: flex; align-items: center; gap: 12px; }
.mk-top > b { margin-right: auto; font-size: 24px; line-height: 32px; }
.mk-chip { padding: 6px 12px; border-radius: 9999px; background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .08); font-size: 13px; color: var(--mk-body); }
.mk-find { width: 240px; padding: 8px 16px; border-radius: 12px; background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .08); font-size: 13px; color: #9A9EA6; }
.mk-av { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #1D1D1F; color: #FFFFFF; font-size: 14px; font-weight: 700; }
.mk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mk-kpis span, .mk-panel { border-radius: 16px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 16px rgba(0, 0, 0, .05); }
.mk-kpis span { padding: 18px 20px; font-size: 13px; color: var(--mk-body); }
.mk-kpis small { display: block; font-size: 13px; }
.mk-kpis b { display: block; margin-top: 4px; font-size: 30px; line-height: 40px; color: var(--mk-ink); font-variant-numeric: tabular-nums; }
.mk-kpis em { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--mk-a); }
.mk-kpis .is-hot { background: var(--mk-a); }
.mk-kpis .is-hot small, .mk-kpis .is-hot b, .mk-kpis .is-hot em { color: #FFFFFF; }
.mk-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; flex: 1; min-height: 0; }
.mk-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; padding: 20px; }
.mk-panel > b { margin-bottom: 12px; font-size: 16px; line-height: 24px; }
.mk-table { display: flex; flex-direction: column; font-size: 14px; }
.mk-th, .mk-tr { display: grid; grid-template-columns: 1.1fr .8fr .6fr 1.6fr; align-items: center; gap: 8px; padding: 12px 8px; border-bottom: 1px solid var(--mk-line); }
.mk-th { padding-top: 0; font-size: 12px; color: #9A9EA6; }
.mk-tr i { font-variant-numeric: tabular-nums; }
.mk-tr i:last-child { display: flex; align-items: center; gap: 8px; }
.mk-tr s { position: relative; flex: none; width: 72px; height: 8px; overflow: hidden; border-radius: 9999px; background: #E9ECEF; }
.mk-tr s::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 9999px; background: var(--mk-a); transform-origin: left; }
.mk-bars { display: flex; flex: 1; align-items: flex-end; gap: 12px; min-height: 0; }
.mk-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--mk-a), color-mix(in srgb, var(--mk-a) 45%, #FFFFFF)); transform-origin: bottom; }
.mk-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: #9A9EA6; }
.mk-line { flex: 1; width: 100%; min-height: 0; }
.mk-stroke { stroke-dasharray: 1000; stroke-dashoffset: 0; }
.mk-rank { display: flex; flex-direction: column; }
.mk-rank span { display: grid; grid-template-columns: minmax(0, 1fr) 48px 64px; align-items: center; gap: 8px; padding: 14px 8px; border-bottom: 1px solid var(--mk-line); font-size: 14px; }
.mk-rank s { color: #9A9EA6; text-decoration: line-through; }
.mk-rank b { color: var(--mk-a); text-align: right; }
.mk-rank b::before { content: "↑ "; }
.stage.is-play .mk-kpis span, .stage.is-play .mk-tr, .stage.is-play .mk-rank span { animation: mkin 9s var(--ease-out) infinite backwards; animation-delay: calc(var(--i) * .3s + .2s); }
.stage.is-play .mk-tr s::after { animation: mkgrow 9s var(--ease-out) infinite backwards; animation-delay: calc(var(--i) * .3s + .5s); }
.stage.is-play .mk-bars i { animation: mkrise 9s var(--ease-out) infinite backwards; animation-delay: calc(var(--i) * .12s + .8s); }
.stage.is-play .mk-stroke { animation: mkdraw 9s cubic-bezier(.45, 0, .2, 1) infinite backwards; animation-delay: .6s; }
.stage.is-play .mk-area { animation: mkfade 9s ease infinite backwards; animation-delay: .6s; }
.stage.is-play .mk-kpis .is-hot { animation: mkin 9s var(--ease-out) infinite backwards, mkpulse 3s ease-in-out infinite; animation-delay: 1.1s, 0s; }
@keyframes mkin { 0% { opacity: 0; transform: translateY(12px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes mkgrow { 0% { transform: scaleX(0); } 14%, 100% { transform: scaleX(1); } }
@keyframes mkrise { 0% { transform: scaleY(0); } 16%, 100% { transform: scaleY(1); } }
@keyframes mkdraw { 0% { stroke-dashoffset: 1000; } 36%, 100% { stroke-dashoffset: 0; } }
@keyframes mkfade { 0%, 10% { opacity: 0; } 36%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mkpulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mk-a) 40%, transparent); } 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--mk-a) 0%, transparent); } }

/* スマホの画面（② チームの共有・③ 検索の結果・④ ポートフォリオ） */
.mk-chat { --mk-ink: #1D1D1F; --mk-body: #5B5F66; display: flex; flex-direction: column; height: 844px; background: #EEF1F4; }
.mk-chat-hd { display: flex; align-items: center; gap: 12px; padding: 56px 20px 16px; background: #FFFFFF; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.mk-chat-hd b { font-size: 17px; line-height: 24px; }
.mk-chat-hd small { display: block; font-size: 12px; line-height: 16px; font-weight: 500; color: #9A9EA6; }
.mk-msgs { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 20px 16px; }
.mk-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 16px; border-radius: 16px; background: #FFFFFF; font-size: 14px; line-height: 22px; color: var(--mk-body); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 16px rgba(0, 0, 0, .06); }
.mk-msg i { grid-row: span 2; width: 36px; height: 36px; border-radius: 12px; }
.mk-msg b { font-size: 15px; color: var(--mk-ink); }
.mk-msg.is-hot { box-shadow: 0 0 0 2px #0B7A70, 0 8px 16px rgba(11, 122, 112, .16); }
.mk .c1 { background: #0B7A70; } .mk .c2 { background: #E8A33D; } .mk .c3 { background: #7B6CF6; } .mk .c4 { background: #2F80ED; }
.mk-input { margin: 0 16px 40px; padding: 14px 20px; border-radius: 9999px; background: #FFFFFF; font-size: 14px; color: #9A9EA6; }
.stage.is-play .mk-msg { animation: mkmsg 9s var(--ease-out) infinite backwards; animation-delay: calc(var(--i) * 1.1s + .6s); }
@keyframes mkmsg { 0% { opacity: 0; transform: translateY(16px) scale(.98); } 6%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.mk-serp { --mk-ink: #1D1D1F; --mk-body: #5B5F66; height: 844px; padding: 56px 16px 0; background: #FFFFFF; }
.mk-q { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 9999px; background: #F1F3F4; font-size: 15px; }
.mk-q i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #9A9EA6; }
.mk-tabs { display: flex; gap: 20px; padding: 16px 4px 12px; border-bottom: 1px solid rgba(0, 0, 0, .08); font-size: 14px; color: var(--mk-body); }
.mk-tabs b { color: #1D6FE0; }
.mk-res { position: relative; height: 660px; margin-top: 12px; }
.mk-r { position: absolute; left: 0; right: 0; height: 120px; padding: 16px; border-radius: 16px; background: #FFFFFF; font-size: 14px; line-height: 22px; color: var(--mk-body); }
.mk-r small { display: block; font-size: 12px; line-height: 16px; color: #5B5F66; }
.mk-r b { display: block; margin: 4px 0; font-size: 17px; line-height: 24px; color: #1D4FBF; }
.mk-r.is-me { top: 0; z-index: 2; background: #F0F6FF; box-shadow: 0 0 0 2px #1D6FE0, 0 12px 24px rgba(29, 111, 224, .16); --from: 384px; }
.mk-r.is-me::after { content: "1位"; position: absolute; right: 16px; top: 16px; padding: 4px 12px; border-radius: 9999px; background: #1D6FE0; color: #FFFFFF; font-size: 12px; font-weight: 700; }
.mk-r.r1 { top: 128px; --from: -128px; } .mk-r.r2 { top: 256px; --from: -128px; } .mk-r.r3 { top: 384px; --from: -128px; } .mk-r.r4 { top: 512px; --from: 0px; }
.stage.is-play .mk-r { animation: mkup 9s cubic-bezier(.65, 0, .35, 1) infinite; }
.stage.is-play .mk-r.is-me::after { animation: mkbadge 9s ease infinite; }
@keyframes mkup { 0%, 16% { transform: translateY(var(--from)); } 40%, 86% { transform: none; } 100% { transform: translateY(var(--from)); } }
@keyframes mkbadge { 0%, 36% { opacity: 0; transform: scale(.8); } 44%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mk-pf { --mk-a: #D9B48F; --mk-ink: #F5F5F7; --mk-body: #C7C7CC; background: #111214; padding-bottom: 80px; }
.mk-pf-hd { display: flex; align-items: center; justify-content: space-between; height: 64px; margin-top: 40px; padding: 0 20px; font-size: 18px; }
.mk-pf .mk-burger { display: block; }
.mk-pf-hero { padding: 24px 20px 32px; }
.mk-pf-face { display: block; width: 88px; height: 88px; margin-bottom: 20px; border-radius: 50%; background: linear-gradient(135deg, #D8C6B4, #7D6A5A); }
.mk-pf-hero small { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--mk-a); }
.mk-pf-hero b { display: block; margin-top: 12px; font-size: 30px; line-height: 42px; }
.mk-pf-hero p { margin-top: 16px; font-size: 15px; line-height: 26px; color: var(--mk-body); }
.mk-pf-works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 20px; }
.mk-pf-sk { display: flex; flex-wrap: wrap; gap: 8px; padding: 32px 20px 0; }
.mk-pf-sk b { width: 100%; margin-bottom: 4px; font-size: 18px; }
.mk-pf-sk span { padding: 6px 14px; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; color: var(--mk-body); }
.mk-pf-cta { display: flex; flex-direction: column; gap: 12px; padding: 32px 20px 0; }
.mk-pf .mk-btn { color: #111214; }
.mk-pf .mk-btn.is-ghost { color: #F5F5F7; border-color: rgba(255, 255, 255, .3); }
/* ===== タブレット ===== */
@media (max-width: 1023px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { max-width: 640px; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid, .solve, .grid-3, .more, .flow.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-nav { display: none; }
  .hd-cta { margin-left: auto; }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .h1 { font-size: 36px; line-height: 48px; }
  .h2 { font-size: 36px; line-height: 44px; }
  .lead { font-size: 17px; line-height: 30px; }
  .sec-head { margin-bottom: 32px; }
  .hero .cta-row { margin-top: 32px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .grid-2, .grid-3, .grid-4, .pain, .solve, .svc, .ba, .works, .price-grid, .price-grid.two, .flow, .flow.four, .choose, .choose.two, .more, .pair { grid-template-columns: 1fr; }
  .ba-col, .plan { padding: 24px; }
  .form-wrap { padding: 24px 16px; border-radius: var(--r); }
  .seg { grid-auto-flow: row; }
  .opt-row { flex-direction: column; gap: 4px; }
  .about-close { flex-direction: column; align-items: stretch; padding: 24px; }
  .phil-box { padding: 40px 24px 32px; }
  .phil-motto { font-size: 28px; line-height: 40px; }
  .phil-l2 { font-size: 20px; line-height: 32px; }
  .phil-catch { font-size: 18px; line-height: 28px; }
  .phil-body p { line-height: 30px; }
  .phil-sign { margin-top: 32px; }
  .eq b { font-size: 16px; line-height: 24px; padding: 8px 16px; }
  .hd-in { min-height: 56px; gap: 12px; }
  .logo small { display: none; }
  .logo { gap: 8px; }
  .logo-mark { width: 36px; height: 36px; }
  .ft-brand { padding: 24px 16px; }
  .ft-logo { width: 280px; }
  .hd-cta { padding: 0 16px; }
  html:has(.hd-sw) { scroll-padding-top: 116px; }
  .hd-sw-a { padding: 0 12px; }
  .mbar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--glass);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease-out);
  }
  .mbar .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 15px; }
  .mbar.is-show { transform: none; }
  .typing .mbar { transform: translateY(110%); }
  .phone { border-radius: 20px; padding: 6px; }
  .phone-screen { border-radius: 14px; }
}
@media (hover: none) and (pointer: coarse) {
  input, select, textarea { font-size: 16px; }
}

/* ===== 構築実績のセクションだけ R.Support Design カラー（前回の無料体験の枠と同じ AppleSF の色）＋ 重ねて横に送るカード（Boss 2026-11-17） ===== */
.sec-rs {
  --tg-base: #F4F7FA; --tg-glass: rgba(255, 255, 255, .62); --tg-ink: #0B132B; --tg-sub: #3F4A5C;
  --tg-border: rgba(255, 255, 255, .5); --tg-in-top: rgba(255, 255, 255, .7); --tg-in-bot: rgba(0, 0, 0, .03); --tg-drop: rgba(11, 19, 43, .10);
  --tg-itb: 2px; --tg-ibb: 1px; --tg-aqua: rgba(0, 229, 255, .35); --tg-violet: rgba(112, 0, 255, .15); --tg-badge: rgba(11, 19, 43, .06); --tg-grid: .035;
  --rs-aqua: #00A3B8; --rs-aqua-glow: rgba(0, 229, 255, .55); --rs-aqua-text: #006C78;
  position: relative; isolation: isolate; overflow: hidden; background: var(--tg-base); color: var(--tg-ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sec-rs {
    --tg-base: #050814; --tg-glass: rgba(11, 19, 43, .72); --tg-ink: #FFFFFF; --tg-sub: #B4C0D0;
    --tg-border: rgba(255, 255, 255, .10); --tg-in-top: rgba(255, 255, 255, .22); --tg-in-bot: rgba(0, 0, 0, .5); --tg-drop: rgba(0, 0, 0, .6);
    --tg-itb: 1px; --tg-ibb: 2px; --tg-aqua: rgba(0, 229, 255, .40); --tg-violet: rgba(112, 0, 255, .25); --tg-badge: rgba(255, 255, 255, .08); --tg-grid: .07;
    --rs-aqua: #00E5FF; --rs-aqua-text: #00E5FF;
  }
}
:root[data-theme="dark"] .sec-rs {
  --tg-base: #050814; --tg-glass: rgba(11, 19, 43, .72); --tg-ink: #FFFFFF; --tg-sub: #B4C0D0;
  --tg-border: rgba(255, 255, 255, .10); --tg-in-top: rgba(255, 255, 255, .22); --tg-in-bot: rgba(0, 0, 0, .5); --tg-drop: rgba(0, 0, 0, .6);
  --tg-itb: 1px; --tg-ibb: 2px; --tg-aqua: rgba(0, 229, 255, .40); --tg-violet: rgba(112, 0, 255, .25); --tg-badge: rgba(255, 255, 255, .08); --tg-grid: .07;
  --rs-aqua: #00E5FF; --rs-aqua-text: #00E5FF;
}
.sec-rs::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(var(--tg-ink) 1px, transparent 0); background-size: 16px 16px; opacity: var(--tg-grid); pointer-events: none; }
.sec-rs .h2, .sec-rs .sub-title, .sec-rs .build-name, .sec-rs .case-title { color: var(--tg-ink); }
.sec-rs .lead, .sec-rs .build-desc, .sec-rs .note, .sec-rs .spec dd, .sec-rs .spec dt { color: var(--tg-sub); }
.sec-rs .note a { color: var(--rs-aqua-text); }
.sec-rs .case, .sec-rs .build {
  background: var(--tg-glass); border: 1px solid var(--tg-border);
  -webkit-backdrop-filter: blur(30px) saturate(200%); backdrop-filter: blur(30px) saturate(200%);
  box-shadow: inset 0 1px var(--tg-itb) var(--tg-in-top), inset 0 -1px var(--tg-ibb) var(--tg-in-bot), 0 24px 56px var(--tg-drop);
}
.sec-rs .build-list li, .sec-rs .case-side li { color: var(--tg-ink); }
.sec-rs .build-list .ic, .sec-rs .build-link { color: var(--rs-aqua-text); }

/* 重ねて横に送る（JavaScript が動いた時だけ。動かない時は今までどおりの縦の並び） */
.deck { position: relative; }
.deck-on .deck-stage { position: relative; max-width: 640px; margin: 0 auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.deck-on .builds { display: block; }
.deck-on .deck-card { position: absolute; left: 0; right: 72px; top: 0; transform-origin: 50% 100%; will-change: transform; cursor: grab; }
.deck-on .deck-card:active { cursor: grabbing; }
.deck-on .deck-card .build { height: auto; }
.deck-on:not(.deck-motion) .deck-card { transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s linear; }
.deck-ui { display: none; }
.deck-on .deck-ui { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 640px; margin: 24px auto 0; }
.deck-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--tg-border); background: var(--tg-glass); color: var(--tg-ink); cursor: pointer;
  -webkit-backdrop-filter: blur(20px) saturate(200%); backdrop-filter: blur(20px) saturate(200%);
  box-shadow: inset 0 1px var(--tg-itb) var(--tg-in-top), 0 8px 24px var(--tg-drop);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
}
.deck-btn .ic { width: 24px; height: 24px; }
.deck-btn.prev .ic { transform: scaleX(-1); }
.deck-btn.next { width: auto; padding: 0 24px 0 20px; gap: 12px; border-radius: 9999px; background: var(--rs-aqua); border-color: transparent; color: #04121A; box-shadow: 0 0 0 1px rgba(0, 229, 255, .3), 0 8px 32px var(--rs-aqua-glow); }
.deck-btn.next b { font-size: 15px; line-height: 20px; font-weight: 700; white-space: nowrap; }
.deck-btn.next small { display: block; max-width: 11em; overflow: hidden; text-overflow: ellipsis; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; opacity: .8; }
.deck-btn.next span { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
@media (hover: hover) { .deck-btn:hover { transform: translateY(-2px); } }
.deck-btn:active { transform: scale(.96); }
.deck-btn:focus-visible { outline: 2px solid var(--rs-aqua); outline-offset: 4px; }
.deck-hint { display: none; }
.deck-on .deck-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 16px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--tg-sub); }
.deck-hint i { display: inline-block; width: 32px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(0, 229, 255, 0), var(--rs-aqua)); animation: deckHint 1.6s infinite ease-in-out; }
@keyframes deckHint { 0% { transform: translateX(8px); opacity: .3; } 50% { transform: translateX(-8px); opacity: 1; } 100% { transform: translateX(8px); opacity: .3; } }
@media (max-width: 767px) {
  .deck-on .deck-card { right: 40px; }
  .deck-btn.next small { max-width: 8em; }
}

.sec-rs::after { content: ""; position: absolute; z-index: -1; inset: -10% -10%; background: radial-gradient(420px circle at 12% 12%, var(--tg-aqua), rgba(0, 0, 0, 0) 70%), radial-gradient(380px circle at 88% 78%, var(--tg-violet), rgba(0, 0, 0, 0) 70%); filter: blur(40px); pointer-events: none; animation: tgOrbA 32s infinite alternate ease-in-out; }
/* 重ねたカード：前の1枚は透けない濃さに。後ろのカードは中身を隠して、ガラスの板だけを重ねて見せる（文字が透けて読みにくくならないように） */
.sec-rs { --deck-face: rgba(255, 255, 255, .94); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sec-rs { --deck-face: rgba(11, 19, 43, .95); } }
:root[data-theme="dark"] .sec-rs { --deck-face: rgba(11, 19, 43, .95); }
.deck-on .deck-card .build { background: var(--deck-face); }
.deck-on .deck-card .build > * { transition: opacity .3s ease .08s; }
.deck-on .deck-card[aria-hidden="true"] .build > * { opacity: 0; transition: opacity .15s ease; }
/* 重ねたカードのスマホ：機能の一覧は最初の4つだけ見せ、「すべて見る」で開く（カードとボタンを1画面に収める）。パソコンと、JavaScript が動かない時は全部見せる */
.build-more { display: none; }
@media (max-width: 767px) {
  .deck-on .build-list li.more { display: none; }
  .deck-on .build.is-open .build-list li.more { display: flex; }
  .deck-on .build-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: none; font-size: 15px; line-height: 24px; font-weight: 700; color: var(--rs-aqua-text); cursor: pointer; }
  .deck-on .deck-ui { gap: 12px; }
  .deck-btn.next { flex: 1 1 auto; min-width: 0; justify-content: space-between; }
}
/* 次のカードの名前は2行まで出す（途中で切らない） */
.deck-btn.next small { max-width: 14em; white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) { .deck-btn.next small { max-width: none; } .deck-btn.next { min-height: 64px; height: auto; padding-top: 8px; padding-bottom: 8px; } }
@media (max-width: 767px) {
  .deck-on .build:not(.is-open) .spec { display: none; }
  .deck-on .build:not(.is-open) .build-desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 767px) {
  .deck-on .build .build-art { width: 64px; height: 64px; }
  .deck-on .build:not(.is-open) .build-desc { -webkit-line-clamp: 3; }
  .deck-on .build { padding: 20px; }
  .deck-on .deck-hint { margin-bottom: 8px; }
}
@media (max-width: 767px) { .deck-on .deck-hint { display: none; } .deck-on .deck-ui { margin-top: 16px; } }
