/* =========================================================================
   TAKESIDE — inner page components (service / works / pricing / contact)
   Loaded in addition to styles.css. Black-free; accent = emphasis.
   ========================================================================= */

/* ---- inner page hero ---- */
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { width: 100%; }
.page-hero { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(36px, 4.5vw, 60px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 85% 0%, #000 0%, transparent 65%);
          mask-image: radial-gradient(120% 100% at 85% 0%, #000 0%, transparent 65%);
  opacity: .7;
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 66px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin-top: 22px; max-width: 20ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero .crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }
.page-hero .crumbs a:hover { color: var(--accent-2); }

/* ---- gridline stepper row (process / steps / timeline) ---- */
.row-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.row-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.row-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.row-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.cell {
  background: var(--paper-3); padding: clamp(22px, 2.2vw, 30px);
  display: flex; flex-direction: column; gap: 12px; transition: background .2s ease; position: relative;
}
.cell .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cell h4, .cell h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.25; }
.cell p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.cell ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cell li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.cell li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; flex: none; background: var(--accent); transform: rotate(45deg); }
.cell .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; align-items: center; gap: 8px; }
.cell .tag::before { content: ""; width: 7px; height: 7px; background: var(--accent); }
.cell.accent { background: color-mix(in srgb, var(--accent) 7%, var(--paper-3)); }
.cell.accent .n { color: var(--accent-2); }

/* big number on a cell (solutions / steps) */
.cell .big-no { font-family: var(--font-en); font-weight: 600; font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.02em; color: color-mix(in srgb, var(--accent) 40%, var(--ink-3)); line-height: 1; }

/* chips row */
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.chip-mini { font-family: var(--font-mono); font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--ink-3); }

/* ---- compare (before / after) ---- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 26px); align-items: start; }
.comp { background: var(--paper-3); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 2.4vw, 34px); }
.comp.good { background: color-mix(in srgb, var(--accent) 7%, var(--paper-3)); border-color: color-mix(in srgb, var(--accent) 32%, var(--line)); }
.comp .badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.comp.good .badge { color: var(--accent-2); }
.comp h3 { font-size: var(--t-h3); font-weight: 600; margin: 12px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.comp ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.comp li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.comp li .mk { width: 18px; height: 18px; flex: none; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.comp li .mk.x { border: 1.5px solid var(--ink-3); color: var(--ink-3); }
.comp.good li .mk.v { background: var(--accent); color: var(--on-accent); }

/* ---- mapping rows (材料 → 代行) ---- */
.maps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.map-row { display: grid; grid-template-columns: 240px 44px 1fr; gap: 18px; align-items: center; background: var(--paper-3); padding: 20px clamp(20px, 2.2vw, 30px); }
.map-row .src { font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.map-row .src .sq { width: 9px; height: 9px; background: var(--ink-3); flex: none; }
.map-row .arr { color: var(--accent); font-family: var(--font-mono); font-size: 18px; text-align: center; }
.map-row .res { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* ---- key-value / spec callout ---- */
.callout {
  display: flex; align-items: center; gap: 16px; margin-top: 4px;
  background: color-mix(in srgb, var(--accent) 8%, var(--paper-3));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 8px; padding: 22px clamp(22px, 2.4vw, 32px);
}
.callout .bar { width: 4px; align-self: stretch; background: var(--accent); border-radius: 2px; flex: none; }
.callout p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.callout b { color: var(--accent-2); font-weight: 600; }

/* ---- inputs / two-up panels (approach) ---- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 26px); }

/* ---- check list ---- */
.checks { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.checks li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.checks li .tick { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.checks li .tick::after { content: ""; width: 7px; height: 4px; border-left: 1.7px solid var(--on-accent); border-bottom: 1.7px solid var(--on-accent); transform: rotate(-45deg) translateY(-1px); }

/* =========================================================================
   PRICING
   ========================================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); align-items: stretch; }
.plan { background: var(--paper-3); border: 1px solid var(--line); border-radius: 10px; padding: clamp(26px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.feat { border-color: var(--accent); box-shadow: 0 22px 48px -34px color-mix(in srgb, var(--accent) 70%, transparent); }
.plan .ribbon { position: absolute; top: -1px; right: 24px; transform: translateY(-50%); background: var(--accent); color: var(--on-accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.plan .pname { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price .v { font-family: var(--font-en); font-weight: 600; font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -0.02em; }
.plan .price .u { font-size: 14px; color: var(--ink-3); }
.plan .desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.plan ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.plan li .mk { width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); display: grid; place-items: center; }
.plan li .mk::after { content: ""; width: 7px; height: 4px; border-left: 1.7px solid var(--accent-2); border-bottom: 1.7px solid var(--accent-2); transform: rotate(-45deg) translateY(-1px); }
.plan .btn { margin-top: auto; justify-content: center; }

/* =========================================================================
   WORKS
   ========================================================================= */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 26px); }
.work { background: var(--paper-3); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.work:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-3px); box-shadow: 0 24px 46px -34px rgba(22,21,15,.5); }
.work .ph { aspect-ratio: 16/7; background:
    repeating-linear-gradient(135deg, var(--paper-2) 0 14px, var(--paper-3) 14px 28px);
  border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.work .ph span { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.work .body { padding: clamp(24px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.work .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.work h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; }
.work p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.work .metric { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.work .metric .v { font-family: var(--font-en); font-weight: 600; font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -0.03em; color: var(--ink); }
.work .metric .v em { color: var(--accent-2); font-style: normal; }
.work .metric .l { font-size: 13px; color: var(--ink-3); }

/* =========================================================================
   FAQ + CONTACT
   ========================================================================= */
.faq-list { border-top: 1px solid var(--line); max-width: 920px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 26px 6px; font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--font-mono); font-size: 13px; color: var(--accent-2); flex: none; }
.faq summary .ic { margin-left: auto; width: 26px; height: 26px; flex: none; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--ink-2); transition: transform .2s ease; }
.faq summary .ic::before { left: 4px; right: 4px; top: 12px; height: 2px; }
.faq summary .ic::after { top: 4px; bottom: 4px; left: 12px; width: 2px; }
.faq[open] summary .ic::after { transform: scaleY(0); }
.faq .a { padding: 0 6px 26px 6px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; max-width: 78ch; }

.contact-card {
  background: var(--accent); color: var(--on-accent); border-radius: 12px;
  /* 下限を 36px→24px に。フォームが入って中身が増えたぶん、狭い画面で内幅を稼ぐ */
  padding: clamp(24px, 4vw, 60px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(251,250,246,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(251,250,246,.16) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 120% at 92% 50%, #000, transparent 70%);
          mask-image: radial-gradient(80% 120% at 92% 50%, #000, transparent 70%);
}
.contact-card > * { position: relative; }
/* 見出しのサイズ基準を左カラム自身にする。
   --t-h2(最大50px) だとカラム幅500pxに対して大きく、
   「まずは、動くものを／見て／判断してください。」と3行に割れて中間行が2文字になる。
   最長行「まずは、動くものを見て」の実測が 10.93em ＝ 器の 9.15% が上限。余裕を見て 8.7cqw。 */
.contact-card > div:first-child { container-type: inline-size; }
.contact-card h2 {
  font-size: var(--t-h2);
  font-size: clamp(24px, 8.7cqw, 44px);
  font-weight: 600;
}
.contact-card .lead { color: color-mix(in srgb, var(--on-accent) 86%, transparent); margin-top: 16px; }
.contact-card .eyebrow { color: color-mix(in srgb, var(--on-accent) 82%, transparent); }
.contact-card .eyebrow::before { background: var(--on-accent); }
.contact-actions { display: flex; flex-direction: column; gap: 14px; }
.contact-actions .btn-primary { background: var(--on-accent); color: var(--accent-2); justify-content: center; padding: 16px 24px; font-size: 16px; }
.contact-actions .btn-primary:hover { background: #fff; }
.contact-actions .note { font-family: var(--font-mono); font-size: 12px; color: color-mix(in srgb, var(--on-accent) 78%, transparent); text-align: center; }

/* ---- お問い合わせフォーム（朱色カード上） ---- */
/* フォームは縦に長いので、中央揃えのままだと左のコピーが浮く */
.contact-card:has(.cform) { align-items: start; }
.cform { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: flex; flex-direction: column; gap: 6px; }
.cf-row label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: color-mix(in srgb, var(--on-accent) 92%, transparent);
}
.cf-row .req {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  background: color-mix(in srgb, var(--on-accent) 24%, transparent);
  border-radius: 3px; padding: 2px 6px;
}
.cform input, .cform select, .cform textarea {
  width: 100%; font-family: var(--font-jp); font-size: 15px; color: var(--ink);
  background: var(--paper-3); border: 1px solid transparent;
  border-radius: var(--radius); padding: 11px 13px;
}
.cform textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.cform input::placeholder, .cform textarea::placeholder { color: var(--ink-3); }
.cform :focus-visible { outline: 2px solid var(--on-accent); outline-offset: 2px; }
/* :user-invalid は「一度触れて外した」場合のみ効くので、入力途中に赤くならない */
.cform input:user-invalid, .cform textarea:user-invalid { border-color: #7A1F0A; }
/* 送信は a 要素（外部プロトコル起動をブラウザ既定に任せるため） */
.cf-send {
  margin-top: 4px; background: var(--on-accent); color: var(--accent-2);
  justify-content: center; padding: 15px 24px; font-size: 16px;
}
.cf-send:hover { background: #fff; }
.cf-alt {
  align-self: center; font-size: 13px; text-decoration: underline;
  text-underline-offset: 3px;
  color: color-mix(in srgb, var(--on-accent) 86%, transparent);
  transition: color .16s ease;
}
.cf-alt:hover { color: var(--on-accent); }
.cf-error {
  margin: 0; padding: 10px 13px; font-size: 13.5px; line-height: 1.6;
  background: color-mix(in srgb, #000 22%, transparent);
  color: var(--on-accent); border-radius: var(--radius);
}
.cf-note {
  margin: 0; font-size: 12.5px; line-height: 1.7;
  color: color-mix(in srgb, var(--on-accent) 82%, transparent);
}
.cf-fallback {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 2px; padding-top: 13px;
  border-top: 1px solid color-mix(in srgb, var(--on-accent) 30%, transparent);
}
/* メールアドレスは29字の分割不能文字列。そのままだと 320px 幅でカードの
   min-content を押し上げ、カードごと画面外へ溢れる。折り返しを許可して逃がす。 */
.cf-fallback code {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--on-accent);
  min-width: 0; overflow-wrap: anywhere;
}
.cf-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-copy {
  font-family: var(--font-mono); font-size: 11.5px; cursor: pointer; white-space: nowrap;
  background: transparent; color: var(--on-accent);
  border: 1px solid color-mix(in srgb, var(--on-accent) 48%, transparent);
  border-radius: var(--radius); padding: 6px 12px;
  transition: background .18s ease, border-color .18s ease;
}
/* 「本文をコピー」はメール経路が全滅した場合の本命なので少し強調する */
.cf-copy[data-copy="body"] {
  background: color-mix(in srgb, var(--on-accent) 16%, transparent);
  border-color: color-mix(in srgb, var(--on-accent) 70%, transparent);
}
.cf-copy:hover { background: color-mix(in srgb, var(--on-accent) 15%, transparent); border-color: var(--on-accent); }

/* =========================================================================
   WORK DETAIL  (実績A〜L の詳細カード / 設計図トーン)
   ========================================================================= */
.work-list { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 30px); }
.work-detail {
  background: var(--paper-3); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.work-detail:hover { border-color: color-mix(in srgb, var(--accent) 38%, var(--line)); box-shadow: 0 22px 46px -36px rgba(22,21,15,.5); }
.wd-head { padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 34px); border-bottom: 1px dashed var(--line); }
.wd-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; align-items: center; gap: 8px; }
.wd-cat::before { content: ""; width: 7px; height: 7px; background: var(--accent); flex: none; }
.wd-title { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; margin-top: 12px; }
.wd-sub { font-size: 14px; color: var(--ink-2); line-height: 1.65; margin-top: 8px; }
.wd-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.wd-panel { background: var(--paper-3); padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.wd-panel-head { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 9px; }
.wd-panel-head::before { content: ""; width: 8px; height: 8px; background: var(--ink-3); flex: none; }
.wd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.wd-list li { display: flex; gap: 11px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.wd-list li::before { content: ""; width: 6px; height: 6px; margin-top: 7px; flex: none; background: var(--accent); transform: rotate(45deg); }
.wd-list li strong { color: var(--ink); font-weight: 600; }
.wd-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.wd-metric { background: var(--paper-3); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.wd-metric .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.wd-metric .v { font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.wd-callout { margin-top: 4px; background: color-mix(in srgb, var(--accent) 8%, var(--paper-3)); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: 6px; padding: 16px 18px; font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.wd-callout strong { color: var(--accent-2); font-weight: 600; }
.wd-score { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.wd-score .s { border: 1px solid var(--line); border-radius: 5px; padding: 9px 11px; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.wd-score .s strong { display: block; color: var(--ink); font-size: 13px; }
.wd-tech { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px clamp(22px, 2.4vw, 34px); border-top: 1px dashed var(--line); }
.wd-tech .label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.wd-pill { font-family: var(--font-mono); font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--ink-2); }
.wd-pill.ai { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent-2); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.wd-foot { font-family: var(--font-jp); font-size: 11.5px; color: var(--ink-3); padding: 0 clamp(22px, 2.4vw, 34px) 18px; line-height: 1.6; }

/* 参考事例（before/after ミニカード） */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 22px); }
.ref-card { background: var(--paper-3); border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.ref-card .rc-head { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.ref-card .rc-head .ic { width: 9px; height: 9px; background: var(--accent); flex: none; }
.ref-card .rc-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ref-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ref-card li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.ref-card li::before { content: ""; width: 6px; height: 6px; margin-top: 7px; flex: none; background: var(--ink-3); transform: rotate(45deg); }
.ba-mini { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: auto; }
.ba-mini th, .ba-mini td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; color: var(--ink-2); }
.ba-mini thead th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); }
.ba-mini tbody th { font-weight: 600; color: var(--ink); background: var(--paper-2); }
.ba-mini .aft { color: var(--accent-2); font-weight: 600; }
.rc-foot { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.rc-foot .v { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.rc-foot .v::after { content: ""; width: 7px; height: 4px; border-left: 1.6px solid var(--on-accent); border-bottom: 1.6px solid var(--on-accent); transform: rotate(-45deg) translateY(-1px); }

/* 削減実績テーブル（service） */
.reduce-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.reduce-cell { background: var(--paper-3); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reduce-cell .nm { font-size: 14px; color: var(--ink-2); }
.reduce-cell .rt { font-family: var(--font-en); font-weight: 600; font-size: 18px; color: var(--accent-2); letter-spacing: -0.01em; }

/* pricing 補足（成果報酬・個人導入） */
.notes-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 22px); margin-top: clamp(20px, 2.4vw, 28px); }
.note-card { background: var(--paper-3); border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 2.2vw, 28px); display: flex; gap: 14px; }
.note-card.accent { background: color-mix(in srgb, var(--accent) 7%, var(--paper-3)); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.note-card .bar { width: 4px; align-self: stretch; background: var(--ink-3); border-radius: 2px; flex: none; }
.note-card.accent .bar { background: var(--accent); }
.note-card .nt { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.note-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.note-card b { color: var(--accent-2); font-weight: 600; }

/* 会社概要テーブル（contact） */
.company { border-top: 1px solid var(--line); margin-top: clamp(24px, 3vw, 36px); max-width: 760px; }
.company .row { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.company .row .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.company .row .val { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.company .note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: 14px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .row-grid.c3, .row-grid.c4 { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .works-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .reduce-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .compare, .two-up { grid-template-columns: 1fr; }
  .row-grid.c2, .row-grid.c3, .row-grid.c4 { grid-template-columns: 1fr; }
  .map-row { grid-template-columns: 1fr; gap: 10px; }
  .map-row .arr { text-align: left; }
  .wd-body { grid-template-columns: 1fr; }
  .wd-metrics { grid-template-columns: 1fr; }
  .wd-score { grid-template-columns: 1fr; }
  .reduce-grid { grid-template-columns: 1fr; }
  .notes-2 { grid-template-columns: 1fr; }
  .company .row { grid-template-columns: 1fr; gap: 4px; }
}

/* 狭幅でのカード見出し。--t-h3 は下限20pxで、320〜375px では
   「プロジェクトマネジメント支援」のような長い1文節が枠内に収まらず、
   末尾1文字だけが次行に落ちる。この幅帯だけ一段下げる。 */
@media (max-width: 480px) {
  .wd-title, .cell h3, .cell h4 { font-size: 18px; }
}
