.footer .container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) {
  .footer .container { padding: 0 20px; }
}
.footer__bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__copyright { font-size: 12px; color: var(--ink-4); }
.footer__legal { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer__legal a { font-size: 12px; color: var(--ink-4); text-decoration: none; }
.footer__legal a:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer__main { grid-template-columns: 1fr; }
  .footer__links--cases { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .kpi { grid-template-columns: 1fr; }
  .kpi__item + .kpi__item { border-left: none; border-top: 1px solid var(--line); }
  .ba { grid-template-columns: 1fr; }
  .ba__arrow { padding: 8px 0; }
  .ba__arrow span { transform: rotate(90deg); display: inline-block; }
  .cc { grid-template-columns: 1fr; }
  .header__back { display: none; }
}




/* ===== pricing (from index) ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pricing-grid--monthly { grid-template-columns: repeat(3, 1fr); }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative;
  display: flex; flex-direction: column;
  transition: all 0.2s ease;
}
.price-card:hover { border-color: var(--line-strong); }
.price-card--featured {
  border-color: var(--accent-2);
  border-top-width: 2px;
  box-shadow: none;
}
.price-card--featured::before {
  content: "おすすめ";
  position: absolute; top: -2px; right: 24px;
  background: var(--sub); color: #fff;
  font-size: var(--text-note); font-weight: 700; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 0;
}
.price-card__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.price-card__type { font-size: var(--text-note); font-weight: 700; color: var(--accent-3); background: #fff; border: 1.5px solid var(--accent-3); padding: 2px 9px; border-radius: 2px; letter-spacing: 0.08em; align-self: flex-start; margin-bottom: 14px; }
.price-card__head .price-card__type { margin-bottom: 0; }
.price-card__badge { font-size: var(--text-note); font-weight: 700; letter-spacing: 0.04em; color: #fff; background: var(--sub); padding: 3px 9px; border-radius: 2px; }
.price-card__name { font-size: var(--text-h3); font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; line-height: var(--leading-heading); }
.price-card__tag { font-size: var(--text-body); color: var(--ink-3); margin-bottom: 24px; }
.pricing-grid:not(.pricing-grid--monthly) .price-card__name { min-height: 1.5em; }
.pricing-grid:not(.pricing-grid--monthly) .price-card__tag { min-height: 2.8em; }
.price-card__tag:has(+ .price-card__quote) { margin-bottom: 0; }
.price-card__cta { align-self: flex-start; margin-top: auto; }
.price-card__was { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 22px; font-weight: 700; color: var(--ink-3); line-height: 1.2; }
.price-card__was s { font-family: "Inter", sans-serif; text-decoration: line-through; text-decoration-thickness: 2px; }
.price-card__was span { display: block; margin-top: 8px; font-size: var(--text-note); font-weight: 700; color: var(--sub); letter-spacing: 0.04em; }
.price-card__amount { display: flex; align-items: baseline; gap: 2px; padding-top: 20px; border-top: 1px solid var(--line); margin-bottom: 4px; }
.price-card__amount--monitor { padding-top: 4px; border-top: none; }
.price-card__note { font-size: var(--text-note); color: var(--ink-3); margin: -16px 0 16px; line-height: 1.6; }
.monitor-note { margin: 20px 0 0; padding: 16px 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-soft); }
.monitor-note__title { margin: 0 0 8px; font-size: var(--text-body); font-weight: 700; color: var(--ink-2); }
.monitor-note ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.monitor-note li { display: flex; gap: 10px; font-size: var(--text-note); line-height: 1.6; color: var(--ink-2); }
.monitor-note b { flex-shrink: 0; min-width: 3em; font-weight: 700; color: var(--sub); }
@media (max-width: 760px) { .monitor-note ul { grid-template-columns: 1fr; } }
.price-card__monitor { list-style: none; margin: 0 0 16px; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; gap: 6px; }
.price-card__monitor li { display: flex; gap: 10px; font-size: var(--text-note); line-height: 1.6; color: var(--ink-2); }
.price-card__monitor b { flex-shrink: 0; min-width: 3em; font-weight: 700; color: var(--sub); }
.price-card__amount-yen { font-size: 18px; color: var(--ink-2); font-weight: 600; }
.price-card__amount-num { font-family: "Inter", sans-serif; font-size: 38px; font-weight: 700; color: var(--sub); letter-spacing: -0.03em; line-height: 1; }
.price-card__amount-unit { font-size: var(--text-note); color: var(--ink-3); margin-left: 4px; }
.price-card__tax { font-size: var(--text-note); color: var(--ink-3); line-height: 1.7; margin-bottom: 20px; }
.price-card__tax:has(+ .price-card__tax) { margin-bottom: 2px; }
.pricing-disclaimer { font-size: var(--text-note); color: var(--ink-3); text-align: center; margin-top: 28px; }
.price-card__specs { list-style: none; display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); margin-bottom: 16px; }
.price-card__specs li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-body); color: var(--ink-2); line-height: var(--leading-body); }
.price-card__specs li svg { color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }
.price-card__quote { font-size: var(--text-body); color: var(--ink-2); line-height: var(--leading-body); margin-top: 0; margin-bottom: 20px; padding: 2px 0 2px 14px; background: none; border-radius: 0; border-left: 2px solid var(--line-strong); }
.pricing-notes {
  margin-top: 48px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.pricing-notes__title { font-size: var(--text-body); font-weight: 700; color: var(--ink); margin-bottom: 16px; letter-spacing: 0.02em; }
.pricing-notes__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; list-style: none; }
.pricing-notes__list li { font-size: var(--text-body); color: var(--ink-2); line-height: 1.7; padding-left: 18px; position: relative; }
.pricing-notes__list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 0;
  background: var(--accent-2);
}
.trial {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent-2); border-radius: 0;
  padding: 24px 28px; margin-bottom: 24px; box-shadow: none;
}
.trial__main { flex: 1; min-width: min(280px, 100%); }
.trial__top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.trial__badge { font-size: var(--text-note); font-weight: 700; color: #fff; background: var(--accent-2); border: none; padding: 3px 10px; border-radius: 2px; letter-spacing: 0.08em; }
.trial__name { font-size: var(--text-h3); font-weight: 700; color: var(--ink); letter-spacing: -0.01em; line-height: var(--leading-heading); }
.trial__price { font-family: "Inter", sans-serif; font-size: 22px; font-weight: 700; color: var(--sub); letter-spacing: -0.02em; }
.trial__price em { font-style: normal; font-size: var(--text-note); color: var(--ink-3); font-weight: 600; margin-left: 2px; }
.trial__desc { font-size: var(--text-body); color: var(--ink-2); line-height: 1.7; }
.trial__cta { flex-shrink: 0; }
.trust-box {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 20px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 0;
  padding: 24px 28px;
  box-shadow: none;
}
.trust-box__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 0;
  background: none;
  border: none;
  display: grid; place-items: center;
  color: var(--accent-2);
}
.trust-box__title { font-size: var(--text-h3); font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: var(--leading-heading); }
.trust-box__desc { font-size: var(--text-body); color: var(--ink-2); line-height: var(--leading-body); }
.pricing-common { margin-top: 28px; font-size: var(--text-body); color: var(--ink-2); line-height: 1.8; }
.pricing-common strong { color: var(--ink); }
.pricing-terms { margin-top: 40px; padding: 24px 28px; background: var(--bg-soft); border: 1px solid var(--line); }
.pricing-terms__title { font-size: var(--text-h3); font-weight: 700; color: var(--ink); margin-bottom: 12px; line-height: var(--leading-heading); }
.pricing-terms__list { list-style: disc; padding-left: 1.25em; margin: 0; }
.pricing-terms__list li { font-size: var(--text-body); color: var(--ink-2); line-height: 1.8; margin-top: 6px; }
@media (max-width: 600px) { .pricing-terms { padding: 20px 18px; } }
.pricing-grid + .trial { margin-top: 48px; }
.case-price { margin-top: 48px; }
.case-price .sheet th { width: auto; background: #fff; border-right: none; }
.case-price .sheet th a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.case-price .sheet th a:hover { color: var(--accent-3); }
.case-price__sub { display: block; margin-top: 4px; font-size: var(--text-note); font-weight: 400; color: var(--ink-3); line-height: 1.7; }
.case-price .sheet td { width: 8.5em; white-space: nowrap; text-align: right; font-size: 16px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.case-price__note { margin-top: 12px; font-size: var(--text-note); color: var(--ink-3); line-height: 1.8; }
@media (max-width: 640px) { .case-price .sheet td { width: 100%; text-align: left; white-space: normal; } }
@media (max-width: 900px) { .pricing-notes__list { grid-template-columns: 1fr; } }
@media (max-width: 1079px) { .pricing-grid--monthly .price-card { padding: 26px 18px; } .pricing-grid--monthly { gap: 14px; } }
@media (max-width: 900px) { .pricing-grid--monthly { grid-template-columns: 1fr; } .pricing-grid--monthly .price-card { padding: 28px 24px; } }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }



.note-red { margin: 12px 0 16px; font-size: var(--text-body); font-weight: 700; color: #B42318; }
.plan-notes { margin: 16px 0 0; display: grid; gap: 6px; }
.plan-notes p { margin: 0; font-size: var(--text-note); color: var(--ink-3); line-height: 1.8; }
/* ===== 月額支援プランのご相談からご契約まで ===== */
.pricing-flow { margin-top: 48px; }
.pricing-flow__title { font-size: var(--text-h3); font-weight: 700; color: var(--ink); margin: 0 0 8px; line-height: var(--leading-heading); }
.pricing-flow__lead { margin: 0 0 18px; font-size: var(--text-body); color: var(--ink-2); }
.price-card__apply { margin-top: 12px; font-size: var(--text-note); color: var(--ink-3); line-height: var(--leading-body); }
.role-tag { flex-shrink: 0; display: inline-block; font-size: var(--text-note); font-weight: 700; padding: 0 7px; border-radius: 2px; }
.role-tag--client { background: var(--bg-soft-2); color: var(--ink-3); border: 1px solid var(--line); }
.role-tag--us { background: var(--accent-soft); color: var(--accent-3); border: 1px solid var(--accent-line); }
@media (min-width: 861px) {
  .steps--h { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 0 14px; }
  .steps--h .step { flex-direction: column; gap: 10px; padding-bottom: 0; }
  .steps--h .step::before { margin-top: 0; }
  .steps--h .step:not(:last-child)::after { left: 40px; right: -14px; top: 15px; bottom: auto; width: auto; height: 2px; }
  .steps--h .step__body { grid-template-columns: 1fr; gap: 8px; height: 100%; align-content: start; border-left: 1px solid var(--line); border-top: 3px solid var(--accent-2); padding: 12px 14px; }
  .steps--h .step__role { flex-direction: column; gap: 4px; }
}
#plans, #single, #other-plans, #case-price, #marketing-menu, #business-menu, #flow, #terms { scroll-margin-top: 96px; }
#business-menu .sheet th, #marketing-menu .sheet th { color: var(--ink); }

@media (max-width: 860px) { .pricing-flow .step__role { flex-direction: column; gap: 4px; } }
.sheet__head-note { white-space: nowrap; }

/* 月額3プランの比較表（2026-10-24 v3）。枠と帯はサービス内容の表と同じ部品（tables.css の .sheet・.svc-table）を使い、ここでは料金の見せ方と列の幅だけを足す */
.u-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.trial--plain { border: none; background: none; padding: 0; box-shadow: none; }
/* 流れのすぐ下の CTA は中央にそろえる。その他のプランの見出しは流れの見出しと同じ形にする（2026-10-24 よっしー） */
.pricing-cta { display: flex; justify-content: center; margin: 32px 0 0; }
.pricing-other__title { margin-top: 64px; margin-bottom: 20px; }
.plan-cmp-sheet { margin-top: 28px; }
@media (min-width: 641px) {
  .plan-cmp { table-layout: fixed; }
  .plan-cmp thead th:first-child { width: 184px; }
  .plan-cmp tbody th[scope="row"] { font-size: 16px; }
}
.plan-cmp thead th { font-size: var(--text-h3); line-height: 1.35; vertical-align: bottom; }
.plan-cmp__tag { display: block; margin-top: 4px; font-size: var(--text-note); font-weight: 500; color: rgba(255, 255, 255, 0.85); letter-spacing: 0; }
.plan-cmp__price { font-family: "Inter", sans-serif; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--sub); letter-spacing: -0.02em; }
.plan-cmp__unit { margin-left: 2px; font-size: var(--text-note); color: var(--ink-3); }
.plan-cmp__badge { display: block; width: fit-content; margin-bottom: 8px; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: 0.04em; color: #fff; background: var(--sub); padding: 3px 10px; border-radius: 2px; white-space: nowrap; }
.plan-cmp__chunk { display: inline-block; }
.plan-cmp__sub { display: block; margin-top: 2px; font-size: var(--text-note); color: var(--ink-3); line-height: 1.6; }
.plan-cmp__row-price td { padding-top: 16px; padding-bottom: 16px; }
.plan-cmp__row-example td { font-size: var(--text-note); line-height: 1.75; color: var(--ink-3); }
/* スマホでも3プランを横に比べられるよう、この表だけは縦に積まず、表の中だけ横にスクロールする（色・罫線・角は共通の部品のまま。2026-10-24 luna2-c の指摘） */
.plan-cmp-hint { display: none; }
@media (max-width: 640px) {
  .plan-cmp-hint { display: block; margin: 20px 0 -16px; font-size: var(--text-note); color: var(--ink-3); }
  .plan-cmp-sheet .sheet-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .plan-cmp-sheet:has(> .sheet-wrap > .svc-table) { border: 1px solid var(--line-strong); background: #fff; }
  .svc-table.plan-cmp { display: table; width: 640px; table-layout: fixed; }
  .svc-table.plan-cmp thead { display: table-header-group; }
  .svc-table.plan-cmp tbody { display: table-row-group; }
  .svc-table.plan-cmp tr, .sheet .svc-table.plan-cmp tbody tr, .sheet .svc-table.plan-cmp tbody tr:first-child { display: table-row; border: none; padding: 0; background: none; margin: 0; }
  .svc-table.plan-cmp th, .svc-table.plan-cmp td { display: table-cell; width: auto; padding: 12px 12px; border-top: 1px solid var(--line); }
  .svc-table.plan-cmp thead th { border-top: none; }
  .svc-table.plan-cmp thead th:first-child { width: 112px; }
  .svc-table.plan-cmp tbody th[scope="row"] { background: var(--bg-soft); border-right: 1px solid var(--line); color: var(--ink); font-size: 14px; padding: 12px; }
  .svc-table.plan-cmp td[data-label]::before { content: none; }
  .svc-table.plan-cmp thead th:first-child, .svc-table.plan-cmp tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; }
  .svc-table.plan-cmp thead th:first-child { background: var(--accent-3); }
  .svc-table.plan-cmp tbody th[scope="row"] { box-shadow: inset 0 1px 0 var(--line), inset -1px 0 0 var(--line); }
  .plan-cmp__price { font-size: 24px; }
}

/* そのほかの4プランのカードを詰める（2026-10-24 よっしー「その他プランの枠がデカすぎ問題」）。区切り線と引用の線を外し、余白を詰め、申し込み方は開いて読む形にする */
#single .price-card { padding: 24px; gap: 0; border-radius: 0; }
/* 料金ページの枠を、サービス内容の表（.sheet）と同じ角なしにそろえる */
.monitor-note { border-radius: 0; }
#single .price-card__name { min-height: 0; margin-bottom: 2px; }
#single .price-card__tag { min-height: 0; margin-bottom: 12px; font-size: 15px; }
#single .price-card__amount { padding-top: 0; border-top: none; margin-bottom: 6px; }
#single .price-card__amount-num { font-size: 28px; }
#single .price-card__amount-yen { font-size: 16px; }
#single .price-card__quote { padding: 0; border-left: none; margin-bottom: 10px; font-size: 15px; line-height: 1.75; }
#single .price-card__specs { padding-bottom: 0; border-bottom: none; margin-bottom: 12px; gap: 6px; }
#single .price-card__specs li { font-size: 15px; }
#single .price-card__tax { margin-bottom: 8px; }
#single .price-card__tax:has(+ .price-card__tax) { margin-bottom: 0; }
#single .price-card__cta { margin-top: 12px; }
.price-card__apply-box { margin-top: 4px; font-size: var(--text-note); color: var(--ink-3); }
.price-card__apply-box summary { cursor: pointer; font-weight: 700; color: var(--accent-3); }
.price-card__apply-box .price-card__apply { margin-top: 6px; }

