/* ============================================================
   RECARE サービスLP — lp.css
   style.css を土台に、LP専用のコンポーネントだけを足す
   （つなぐけあ / KASHIKA で共用）
   ============================================================ */

:root {
  --lp-header-h: 72px;
}

/* ------------------------------------------------------------
   サービス別テーマ
   style.css の --accent 系を body で上書きするので、
   ボタン・チェックリスト・アイコンなど共通部品も自動で色が変わる
   ------------------------------------------------------------ */

/* つなぐけあ: ブルー / 角丸のやわらかい印象 */
.lp-page--tsunagu {
  --accent: #588cd5;
  --accent-dark: #3f6fb4;
  --accent-soft: #ebf2fb;
  --cyan: #49a0b0;
  --lp-shadow-accent: rgba(88, 140, 213, 0.34);
  --lp-proof-bg: #34578b;
  --lp-soft-bg: linear-gradient(168deg, #ffffff 0%, #f6f9fd 52%, #e9f0fa 100%);
  --lp-blob-1: rgba(88, 140, 213, 0.24);
  --lp-blob-2: rgba(73, 160, 176, 0.16);
}

/* KASHIKA: モノトーン / 直線的で分析的な印象 */
.lp-page--kashika {
  --accent: #1f2430;
  --accent-dark: #000000;
  --accent-soft: #f0f1f4;
  --cyan: #6b7280;
  --lp-shadow-accent: rgba(0, 0, 0, 0.26);
  --lp-proof-bg: #14161d;
  --lp-soft-bg: linear-gradient(168deg, #ffffff 0%, #f7f8fa 52%, #ebedf0 100%);
  --lp-blob-1: rgba(31, 36, 48, 0.13);
  --lp-blob-2: rgba(107, 114, 128, 0.12);
}

.lp-page .btn--primary:hover { box-shadow: 0 12px 28px var(--lp-shadow-accent); }

/* KASHIKAは角を落として直線的にする（つなぐけあはピルのまま） */
.lp-page--kashika .btn { border-radius: 6px; }

.lp-page--kashika .pain-card,
.lp-page--kashika .quote-card,
.lp-page--kashika .case-main,
.lp-page--kashika .flow-step,
.lp-page--kashika .faq-item,
.lp-page--kashika .security-box,
.lp-page--kashika .lp-form-card,
.lp-page--kashika .shot-carousel__frame { border-radius: 10px; }

.lp-page--kashika .kpi-tags li,
.lp-page--kashika .lp-badges li,
.lp-page--kashika .lp-eyebrow { border-radius: 6px; }

/* KASHIKAのセクション見出しは左揃え＋上罫線（つなぐけあは中央揃え） */
.lp-page--kashika .lp-head {
  text-align: left;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}

.lp-page--kashika .lp-head__sub { max-width: 54em; }

.lp-page--kashika .lp-form-card__head { text-align: center; }

/* ------------------------------------------------------------
   LP専用ヘッダー（コーポレートのgnavは出さず、CTAに集中させる）
   ------------------------------------------------------------ */
.lp-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--lp-header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.lp-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(31, 36, 48, 0.05);
}

.lp-header__inner {
  width: min(1160px, 92%);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.lp-brand__logo { height: 26px; width: auto; }

/* サービス自体のロゴマーク（つなぐけあ） */
.lp-brand__mark { height: 32px; width: auto; }

/* ロゴタイプ込みの横組みロゴ（KASHIKA）。サービス名の文字は不要になる */
.lp-brand__wordmark { height: 26px; width: auto; }

.lp-brand__by--divider {
  margin-top: 0;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  line-height: 1.2;
}

@media (max-width: 480px) {
  .lp-brand__mark { height: 27px; }
  .lp-brand__wordmark { height: 22px; }
  .lp-brand__by--divider { display: none; }
}

.lp-brand__name {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1;
}

.lp-brand__by {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.lp-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.lp-nav__link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}

.lp-nav__link:hover { color: var(--accent); }

.lp-header .btn { padding: 11px 22px; font-size: 0.84rem; }

@media (max-width: 900px) {
  .lp-nav__link { display: none; }
  .lp-header__inner { gap: 14px; }
}

/* ------------------------------------------------------------
   ヒーロー
   ------------------------------------------------------------ */
.lp-hero {
  position: relative;
  padding: calc(var(--lp-header-h) + 76px) 0 84px;
  overflow: hidden;
  background: var(--lp-soft-bg, linear-gradient(168deg, #ffffff 0%, #f7f8fd 52%, #eef0fb 100%));
}

.lp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

/* 対象者と提供物を分けて見せる版（つなぐけあ）
   飾りの点は置かず、「誰向けの何か」を文字で伝える */
.lp-eyebrow--split {
  padding: 0;
  background: none;
  gap: 12px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.lp-eyebrow__for {
  background: var(--accent);
  color: #fff;
  padding: 7px 15px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .lp-eyebrow--split {
    flex-wrap: wrap;
    gap: 9px;
    font-size: 0.92rem;
  }
  .lp-eyebrow__for { font-size: 0.8rem; padding: 6px 12px; }
}

/* 日本語の見出しは <br> の位置で改行を意図しているので、
   その手前で折り返さない程度のサイズに抑える */
.lp-hero__title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.lp-hero__title .mark {
  color: var(--accent);
}

.lp-hero__lead {
  margin-top: 24px;
  font-size: 1rem;
  line-height: 2.1;
  color: var(--text);
  max-width: 30em;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.lp-hero__note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

.lp-hero__visual {
  position: relative;
}

/* style.css の .shot-carousel は service-block 用に grid-area: visual を
   持っているので、LPのレイアウトでは無効化する */
.lp-hero__visual .shot-carousel,
.lp-feature__visual .shot-carousel { grid-area: auto; }

/* style.css の既定は object-fit: cover で、フレーム比率と合わない
   スクリーンショットが切れてしまう。LPでは全体を必ず収める */
.lp-page .shot-carousel__slide img {
  object-fit: contain;
  object-position: center;
}

/* 横長ダッシュボード（KASHIKAの実寸は約1.9〜2.08） */
.lp-page .lp-hero__visual .shot-carousel__frame,
.lp-page .lp-feature__visual .shot-carousel__frame {
  aspect-ratio: 1.95;
  background: #fff;
}

/* 縦長のスマホ画面はベゼル付きフレームの比率と一致しているので切れない */
.lp-page .shot-carousel--phone .shot-carousel__frame { background: #2d3242; }

.lp-hero__visual .shot-carousel__frame {
  aspect-ratio: 1.62;
  box-shadow: 0 30px 64px rgba(31, 36, 48, 0.16);
}

.lp-hero__visual .shot-carousel--phone .shot-carousel__frame {
  aspect-ratio: 1179 / 2556;
  width: min(272px, 70%);
  box-shadow: 0 30px 64px rgba(31, 36, 48, 0.22);
}

.lp-hero__visual--phone {
  display: flex;
  justify-content: center;
}

.lp-hero__visual--phone img {
  width: 268px;
  border: 9px solid #2d3242;
  border-radius: 34px;
  background: #2d3242;
  box-shadow: 0 30px 64px rgba(31, 36, 48, 0.22);
}

/* ヒーロー背景の装飾 */
.lp-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.lp-hero__blob--1 {
  width: 460px; height: 460px;
  top: -140px; right: -110px;
  background: var(--lp-blob-1, rgba(91, 92, 226, 0.22));
}

.lp-hero__blob--2 {
  width: 380px; height: 380px;
  bottom: -180px; left: -120px;
  background: var(--lp-blob-2, rgba(53, 195, 211, 0.16));
}

@media (max-width: 1024px) {
  .lp-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .lp-hero { padding-top: calc(var(--lp-header-h) + 52px); }
  .lp-hero__lead { max-width: none; }
}

/* ------------------------------------------------------------
   実績数値バー（ヒーロー直下）
   ------------------------------------------------------------ */
.proof-bar {
  background: var(--lp-proof-bg, var(--navy-deep));
  padding: 44px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proof-item {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}

.proof-item + .proof-item::before {
  content: "";
  position: absolute;
  left: 0; top: 14%;
  width: 1px; height: 72%;
  background: rgba(255, 255, 255, 0.14);
}

.proof-item__value {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.proof-item__value small {
  font-size: 0.42em;
  font-weight: 600;
  margin-left: 5px;
  letter-spacing: 0.04em;
}

.proof-item__value .unit-jp {
  font-family: var(--font-jp);
  font-size: 0.4em;
  font-weight: 700;
  margin-left: 5px;
}

.proof-item__label {
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .proof-grid { grid-template-columns: 1fr; gap: 28px; }
  .proof-item + .proof-item::before {
    left: 18%; top: -14px;
    width: 64%; height: 1px;
  }
}

/* ------------------------------------------------------------
   課題セクション
   ------------------------------------------------------------ */
.pain-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 28px;
}

.pain-col__role {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 22px;
}

/* unDrawのイラスト（アクセント色はテーマに合わせて置換済み）
   縦横比がまちまちなので高さを揃えて中央に置く */
.lp-illust {
  display: block;
  height: 128px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 24px;
}

.quote-card .lp-illust { height: 96px; margin-bottom: 20px; }

@media (max-width: 560px) {
  .lp-illust { height: 106px; }
  .quote-card .lp-illust { height: 84px; }
}

.pain-col ul { display: grid; gap: 14px; }

.pain-col li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text);
}

.pain-col li::before {
  content: "";
  width: 20px; height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
  clip-path: polygon(18% 46%, 40% 66%, 82% 28%, 90% 38%, 40% 82%, 10% 56%);
}

/* お悩みカード（KASHIKA: 役割で分けない一覧型） */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

/* 4枚を必ず割り切れる形に置く。auto-fitのままだと画面幅次第で
   4+1のような半端な折り返しになる */
.pain-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .pain-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .pain-grid--4 { grid-template-columns: 1fr; }
}

.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(31, 36, 48, 0.08);
}

.pain-card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.pain-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.pain-card__text { font-size: 0.88rem; line-height: 1.95; color: var(--text); }

@media (max-width: 900px) {
  .pain-cols { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   機能ブロック（左右交互）
   ------------------------------------------------------------ */
.lp-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}

.lp-feature + .lp-feature { border-top: 1px solid var(--line); }

.lp-feature:nth-child(even) .lp-feature__body { order: 2; }

.lp-feature__num {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
}

.lp-feature__catch {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 10px;
}

.lp-feature__title {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 18px;
}

.lp-feature__text {
  font-size: 0.94rem;
  line-height: 2.15;
  color: var(--text);
  margin-bottom: 26px;
}

.lp-feature__visual .shot-carousel__frame { aspect-ratio: 1.66; }

.lp-feature__visual--phone {
  display: flex;
  justify-content: center;
}

.lp-feature__visual--phone img {
  width: 244px;
  border: 8px solid #2d3242;
  border-radius: 30px;
  background: #2d3242;
  box-shadow: 0 24px 52px rgba(31, 36, 48, 0.2);
}

/* つなぐけあ: スマホ実機を2台ずらして並べる
   （全スクショが縦長なので、横長フレームに入れると必ず見切れる） */
.lp-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.lp-phones img {
  width: min(206px, 44%);
  border: 8px solid #2d3242;
  border-radius: 28px;
  background: #2d3242;
  box-shadow: 0 24px 52px rgba(31, 36, 48, 0.2);
  transition: transform 0.5s var(--ease);
}

.lp-phones img:nth-child(2) { margin-top: 44px; }
.lp-phones img:hover { transform: translateY(-8px); }

@media (max-width: 480px) {
  .lp-phones { gap: 14px; }
  .lp-phones img:nth-child(2) { margin-top: 28px; }
}

/* KASHIKA: 本文の下にダッシュボードを全幅で見せる */
.lp-feature--stack {
  grid-template-columns: 1fr;
  gap: 38px;
}

/* :nth-child(even) の入れ替えより詳細度を上げて打ち消す */
.lp-feature.lp-feature--stack .lp-feature__body { order: 0; }
.lp-feature--stack .lp-feature__text { max-width: 62em; }

/* 機能ブロックの画面は管理系も混ざり、ヒーローのダッシュボード（約1.9〜2.0）より
   縦長になる。フレームを少し低くして左右の余白を抑える */
.lp-page .lp-feature--stack .shot-carousel__frame { aspect-ratio: 1.75; }

@media (max-width: 1024px) {
  .lp-feature { grid-template-columns: 1fr; gap: 34px; padding: 48px 0; }
  .lp-feature:nth-child(even) .lp-feature__body { order: 0; }
}

/* ------------------------------------------------------------
   導入事例
   ------------------------------------------------------------ */
.case-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 46px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
  align-items: start;
}

.case-main__who {
  font-size: 0.86rem;
  line-height: 2;
  color: var(--text);
}

.case-main__photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 22px;
  box-shadow: 0 14px 32px rgba(31, 36, 48, 0.18);
}

.case-main__who strong {
  display: block;
  font-size: 1.06rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.case-main__badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 14px;
  border-radius: 8px;
  background: var(--navy-deep);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case-main__headline {
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 24px;
}

.case-main__headline em {
  font-style: normal;
  color: var(--accent);
}

.case-main__body p {
  font-size: 0.92rem;
  line-height: 2.15;
  color: var(--text);
}

.case-main__body p + p { margin-top: 1.3em; }

@media (max-width: 900px) {
  .case-main { grid-template-columns: 1fr; gap: 28px; padding: 36px 26px; }
}

/* ------------------------------------------------------------
   利用者の声
   ------------------------------------------------------------ */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 32px;
  position: relative;
}

.quote-card__role {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--bg-gray);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}

.quote-card__text {
  font-size: 0.92rem;
  line-height: 2.05;
  color: var(--text);
}

.quote-card__text strong {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .quote-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   ヒーローの連携バッジ
   ------------------------------------------------------------ */
.lp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.lp-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(31, 36, 48, 0.06);
}

.lp-badges svg { color: var(--accent); flex: none; }

/* ------------------------------------------------------------
   選ばれる理由（KASHIKA: 大きな連番の縦リスト）
   ------------------------------------------------------------ */
.reason-list { border-top: 1px solid var(--line); }

.reason-row {
  display: grid;
  grid-template-columns: 128px 1fr 260px;
  gap: 40px;
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.reason-row__illust {
  width: 100%;
  height: 132px;
  object-fit: contain;
  object-position: center;
}

.reason-row__num {
  font-family: var(--font-en);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 0.9;
  color: var(--ink);
}

.reason-row__title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 12px;
}

.reason-row__text { font-size: 0.93rem; line-height: 2.05; color: var(--text); }

@media (max-width: 1024px) {
  .reason-row { grid-template-columns: 100px 1fr 200px; gap: 28px; }
  .reason-row__illust { height: 108px; }
}

@media (max-width: 760px) {
  .reason-row {
    grid-template-columns: 72px 1fr;
    gap: 8px 20px;
    padding: 30px 0;
    align-items: start;
  }
  .reason-row__num { font-size: 2.2rem; }
  /* イラストは番号の下（本文の左）に回さず、本文の下に全幅で置く */
  .reason-row__illust {
    grid-column: 1 / -1;
    height: 128px;
    margin-top: 6px;
  }
}

/* ------------------------------------------------------------
   導入前後の比較表（KASHIKA）
   ------------------------------------------------------------ */
.compare-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.91rem;
  line-height: 1.9;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  background: var(--bg-gray);
  white-space: nowrap;
}

.compare-table tbody th {
  width: 24%;
  font-weight: 700;
  color: var(--ink);
}

.compare-table .before { color: var(--muted); }

.compare-table .after { color: var(--ink); font-weight: 700; }

.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: none; }

@media (max-width: 700px) {
  .compare-wrap { overflow-x: visible; }
  .compare-table { min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td { display: block; width: auto; }
  /* 通常時の .compare-table tbody th { width: 24% } は詳細度が高く、
     同じ詳細度で打ち消さないと縦積みでも列幅が残って文字が潰れる */
  .compare-table tbody th { width: auto; }
  .compare-table tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .compare-table tr:last-child { border-bottom: none; }
  .compare-table th,
  .compare-table td { border: none; padding: 6px 20px; }
  .compare-table .before::before,
  .compare-table .after::before {
    display: block;
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .compare-table .before::before { content: "BEFORE"; }
  .compare-table .after::before { content: "AFTER"; }
}

/* ------------------------------------------------------------
   導入で変わること（4カラム）
   ------------------------------------------------------------ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 26px;
  border-top: 3px solid var(--accent);
}

.benefit-card__title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
}

.benefit-card__text { font-size: 0.88rem; line-height: 1.95; color: var(--text); }

@media (max-width: 1024px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   画面切り替え（見たい項目のボタンを押すと実画面が出る）
   ------------------------------------------------------------ */
.screen-switch__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.screen-switch__tab {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 20px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}

.screen-switch__tab:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.screen-switch__tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.screen-switch__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.screen-switch__stage {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(31, 36, 48, 0.1);
}

/* 画面ごとに縦横比が1.7〜3.9と幅があるため、枠を固定せず
   実寸の比率のまま見せる（切り取りも余白も出さない） */
.screen-switch__panel img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-switch__panel[hidden] { display: none; }

@media (max-width: 560px) {
  .screen-switch__tabs { gap: 8px; }
  .screen-switch__tab { font-size: 0.8rem; padding: 9px 14px; }
}

/* ------------------------------------------------------------
   KPIタグ（KASHIKAで何が見えるか）
   ------------------------------------------------------------ */
.kpi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kpi-tags li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(31, 36, 48, 0.05);
}

.kpi-tags li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ------------------------------------------------------------
   5ステップの導入フロー（横並び）
   ------------------------------------------------------------ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: flow;
}

.flow-grid--4 { grid-template-columns: repeat(4, 1fr); }

.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 22px 26px;
  counter-increment: flow;
}

.flow-step::before {
  content: "STEP " counter(flow);
  display: block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.flow-step__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.flow-step__text { font-size: 0.83rem; line-height: 1.9; color: var(--text); }

@media (max-width: 1024px) {
  .flow-grid, .flow-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .flow-grid, .flow-grid--4 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   サポート体制
   ------------------------------------------------------------ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.support-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 24px;
}

.support-card__icon {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.support-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.support-card__text { font-size: 0.85rem; line-height: 1.9; color: var(--text); }

@media (max-width: 768px) {
  .support-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq-list { display: grid; gap: 14px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.75;
  transition: background 0.25s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { background: var(--bg-gray); }

.faq-item summary::before {
  content: "Q";
  flex: none;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.faq-item summary::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 11px; height: 11px;
  margin-top: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }

.faq-item__body {
  padding: 0 28px 26px 70px;
  font-size: 0.91rem;
  line-height: 2.05;
  color: var(--text);
}

@media (max-width: 560px) {
  .faq-item summary { padding: 20px 20px; font-size: 0.93rem; }
  .faq-item__body { padding: 0 20px 22px 20px; }
}

/* ------------------------------------------------------------
   セキュリティ
   ------------------------------------------------------------ */
.security-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 42px;
}

.security-box__seal {
  width: 92px; height: 92px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}

.security-box__text {
  font-size: 0.91rem;
  line-height: 2.1;
  color: var(--text);
}

.security-box__text strong { color: var(--ink); }

.security-box__text p + p { margin-top: 1.1em; }

@media (max-width: 768px) {
  .security-box { grid-template-columns: 1fr; gap: 22px; padding: 30px 26px; }
}

/* ------------------------------------------------------------
   フォームセクション
   ------------------------------------------------------------ */
.lp-form-section {
  background: var(--lp-soft-bg, linear-gradient(168deg, #f7f8fd 0%, #eef0fb 100%));
}

.lp-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 52px 56px;
  box-shadow: 0 24px 60px rgba(31, 36, 48, 0.08);
}

.lp-form-card__head {
  text-align: center;
  margin-bottom: 40px;
}

.lp-form-card__title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.6;
}

.lp-form-card__text {
  margin-top: 14px;
  font-size: 0.93rem;
  line-height: 2;
  color: var(--text);
}

/* 2カラムに置ける行 */
.form-grid--lp { gap: 22px; }

.form-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-row--radio .form-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.form-choice:hover { border-color: var(--accent); }

.form-choice input { accent-color: var(--accent); width: 17px; height: 17px; }

.form-choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 700;
}

.form-submit-wrap { text-align: center; margin-top: 8px; }

.form-submit-wrap .btn { padding: 18px 46px; font-size: 1rem; }

.btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

@media (max-width: 768px) {
  .lp-form-card { padding: 34px 24px; }
  .form-duo { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   追従CTAバー（スクロールすると下から出る）
   ------------------------------------------------------------ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(45, 50, 66, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}

.sticky-cta.is-show { transform: translateY(0); }

.sticky-cta__inner {
  width: min(1160px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.sticky-cta__text {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.7;
}

.sticky-cta__text small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
}

.sticky-cta .btn { margin-left: auto; flex: none; }

@media (max-width: 700px) {
  .sticky-cta { padding: 10px 0; }
  .sticky-cta__text { display: none; }
  .sticky-cta .btn { margin: 0; width: 100%; justify-content: center; }
}

/* 追従バーがフッターを隠さないよう、末尾に余白を足す */
body.has-sticky-cta .site-footer { padding-bottom: 96px; }

/* ------------------------------------------------------------
   セクション見出し（LPは英字ラベルを小さめに）
   ------------------------------------------------------------ */
.lp-head {
  text-align: center;
  margin-bottom: 52px;
}

.lp-head__en {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 14px;
}

.lp-head__jp {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.lp-head__sub {
  margin-top: 16px;
  font-size: 0.94rem;
  line-height: 2;
  color: var(--text);
}

.lp-head--left { text-align: left; }
