/* =========================================================================
   センセイメモ 営業ポータルサイト 共通スタイル
   採用スタイル: B案モック（lp-mock-b.png / lp-mock-spec.md）準拠
   ── スマホ実機モック中心の左右分割・濃いティールの大胆な使い方・
      カード/バッジ/ボタンの形状・3ステップの円形ナンバリング・
      盾アイコンの安心設計 + 比較テーブル・料金2カラム・濃色フッター帯
   準拠カラー: docs/12-brand-design/design-system.md（トークンの正・変更なし）
   ========================================================================= */

/* ---- デザイントークン（CSS 変数 / design-system.md と一致） ---- */
:root {
  /* primary（青緑・信頼/安心/穏やか） */
  --primary-50:  #EAF7F5;
  --primary-100: #D1EEE9;
  --primary-600: #0D7A6E;
  --primary-700: #0A6159;

  /* accent（琥珀・CTA 限定。多用禁止） */
  --accent-100: #FEF3C7;
  --accent-500: #D97706;
  --accent-600: #B45309;

  /* neutral（ウォームグレー） */
  --neutral-50:  #FAFAF9;
  --neutral-100: #F5F5F3;
  --neutral-200: #E8E8E4;
  --neutral-300: #D2D1CB;
  --neutral-400: #A8A89F;
  --neutral-500: #78786F;
  --neutral-600: #57574F;
  --neutral-700: #3A3A33;
  --neutral-900: #1A1A16;

  /* semantic */
  --success: #16A34A;
  --warning: #D97706;
  --error:   #DC2626;
  --info:    #2563EB;

  /* radius */
  --radius-lg: 0.875rem; /* カード 14px（モックの丸み） */
  --radius-md: 0.5rem;   /* ボタン 8px */
  --radius-full: 9999px;

  /* shadow（控えめ・ティール寄り） */
  --shadow-card: 0 1px 2px rgba(26, 26, 22, 0.04), 0 8px 24px rgba(13, 122, 110, 0.06);
  --shadow-soft: 0 1px 3px rgba(26, 26, 22, 0.06);

  --maxw-7xl: 1200px;
  --maxw-6xl: 1120px;
  --maxw-5xl: 1024px;
  --maxw-4xl: 896px;
  --maxw-3xl: 768px;
  --maxw-2xl: 672px;
}

/* ---- フォント（design-system §3） ---- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap');

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-feature-settings: "palt" 1;
  font-size: 16px;
  line-height: 1.7;
  color: var(--neutral-700);
  background: var(--neutral-50);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary-600); text-decoration: none; }
a:hover { color: var(--primary-700); }

/* ---- レイアウト ---- */
.container { width: 100%; max-width: var(--maxw-5xl); margin: 0 auto; padding: 0 1.25rem; }
.container-7xl { max-width: var(--maxw-7xl); }
.container-6xl { max-width: var(--maxw-6xl); }
.container-4xl { max-width: var(--maxw-4xl); }
.container-3xl { max-width: var(--maxw-3xl); }
.container-2xl { max-width: var(--maxw-2xl); }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: 3.5rem 0; }               /* py-14 mobile */
.section--bg-primary { background: var(--primary-50); }
.section--bg-neutral { background: var(--neutral-50); }
@media (min-width: 768px) {
  .section { padding: 5rem 0; }               /* py-20 desktop */
}

/* ---- タイポグラフィ ---- */
h1, h2, h3 { color: var(--neutral-900); letter-spacing: -0.02em; margin: 0; }
.h1 { font-size: 1.875rem; font-weight: 700; line-height: 1.25; }
.h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
@media (min-width: 768px) {
  .h1 { font-size: 2.375rem; }                /* clamp 上限 38px LP ヒーロー */
  .h2 { font-size: 1.75rem; }
}
.lead { font-size: 1rem; color: var(--neutral-700); line-height: 1.7; }
.muted { color: var(--neutral-500); }
.small { font-size: 0.875rem; line-height: 1.6; }
.prose { max-width: 65ch; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}
.eyebrow svg { width: 15px; height: 15px; color: var(--primary-600); }
.strong-primary { color: var(--primary-700); font-weight: 600; }
/* LINE ブランドカラー強調（H1 "LINE" の文字のみに適用） */
.line-green { color: #06C755; }

/* セクション見出し前の装飾バー */
.section-title { display: flex; align-items: center; gap: 0.75rem; }
.section-title::before {
  content: "";
  width: 4px; height: 24px;
  background: var(--primary-600);
  border-radius: 2px;
  flex: none;
}
.section-head { margin-bottom: 2.5rem; }
.section-head.text-center { display: flex; flex-direction: column; align-items: center; }
.section-head .lead { margin-top: 0.75rem; }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.7rem 1.4rem;
  font-family: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1;
  border-radius: var(--radius-md); border: 1px solid transparent;
  cursor: pointer; transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease, filter 0.15s ease;
  text-align: center;
}
.btn:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary-600); color: #fff; }
.btn--primary:hover { background: var(--primary-700); color: #fff; }
.btn--accent { background: var(--accent-500); color: #fff; box-shadow: 0 1px 2px rgba(180, 83, 9, 0.25); }
.btn--accent:hover { background: var(--accent-600); color: #fff; }
.btn--outline { background: transparent; border-color: var(--primary-600); color: var(--primary-600); }
.btn--outline:hover { background: var(--primary-50); color: var(--primary-700); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn--lg { min-height: 52px; padding: 0.95rem 1.85rem; font-size: 1rem; }
.btn svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .btn--block-sm { width: 100%; }
}

/* ---- カード ---- */
.card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.card--plain { background: #fff; }

/* アイコンラッパー */
.icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.icon-wrap svg { width: 26px; height: 26px; color: var(--primary-600); }

/* ---- グリッド ---- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---- バッジ ---- */
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.8125rem; font-weight: 600;
  padding: 0.25rem 0.65rem; border-radius: var(--radius-full);
}
.badge--accent { background: var(--accent-500); color: #fff; }
.badge--primary { background: var(--primary-50); color: var(--primary-600); }
.badge--success { background: #dcfce7; color: #166534; }
.badge--neutral { background: var(--neutral-100); color: var(--neutral-500); }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--neutral-200);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--neutral-900); }
.brand:hover { color: var(--neutral-900); }
.brand svg { width: 28px; height: 28px; color: var(--primary-600); }
.brand__name { font-size: 1.0625rem; letter-spacing: -0.01em; }
.nav { display: none; align-items: center; gap: 1.5rem; }
.nav a { position: relative; color: var(--neutral-700); font-size: 0.9375rem; padding: 0.25rem 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--primary-600);
  transition: width 0.2s ease;
}
.nav a:hover { color: var(--primary-600); }
.nav a:hover::after { width: 100%; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; color: var(--neutral-900);
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (min-width: 1024px) {
  .nav, .header-cta { display: flex; }
  .nav-toggle { display: none; }
}
/* モバイルメニュー */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--neutral-200);
  background: #fff;
  padding: 0.5rem 0 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 0.75rem 1.25rem; color: var(--neutral-700);
  min-height: 44px; line-height: 1.4;
}
.mobile-nav a:hover { background: var(--primary-50); }
.mobile-nav .btn { margin: 0.75rem 1.25rem 0; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---- ヒーローセクション背景（フォトリアル教室画像） ---- */
.hero-section {
  position: relative;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* グラデーションスクリム: 左側を白〜ウォームニュートラルで濃く、右側へ透過 */
/* filter: blur は使用しない。テキストコントラスト比 4.5:1 以上を担保 */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(250, 250, 249, 0.97) 0%,
    rgba(250, 250, 249, 0.92) 30%,
    rgba(250, 250, 249, 0.72) 52%,
    rgba(250, 250, 249, 0.30) 70%,
    rgba(250, 250, 249, 0.00) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* モバイル: スクリムを強める（文字可読性確保）。背景が雰囲気として残る程度に設定 */
@media (max-width: 767px) {
  .hero-section {
    background-position: 75% 30%;
  }
  .hero-section::before {
    background: rgba(250, 250, 249, 0.82);
  }
}

.hero-section > .container { position: relative; z-index: 1; }

/* ---- ヒーロー（B案：左コピー＋右スマホモック） ---- */
.hero { padding: 3rem 0 3.5rem; }
@media (min-width: 768px) { .hero { padding: 4.5rem 0 5rem; } }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 52% 44%; column-gap: 4%; }
}
.hero h1 { margin: 1rem 0 0; }
.hero__sub { font-size: 1.0625rem; color: var(--neutral-700); margin: 1.25rem 0 0; max-width: 30rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0.75rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 2rem; }
.trust-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--neutral-700); }
.trust-badge svg { width: 18px; height: 18px; color: var(--primary-600); flex: none; }

/* ---- スマホ実機モック（HTML/CSS 自作・LINE チャット UI） ---- */
.hero__art { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.phone {
  position: relative;
  width: 270px; max-width: 80vw;
  border: 10px solid var(--neutral-900);
  border-radius: 38px;
  background: #000;
  /* 背景画像との分離を強化した影 */
  box-shadow:
    0 24px 56px rgba(13, 122, 110, 0.22),
    0 4px 16px rgba(26, 26, 22, 0.20),
    0 0 0 1px rgba(26, 26, 22, 0.08);
  overflow: hidden;
}
.phone__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: var(--neutral-900);
  border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;
  z-index: 3;
}
.phone__screen { background: #fff; border-radius: 28px; overflow: hidden; }
.line-topbar {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--primary-600); color: #fff;
  padding: 1.6rem 0.9rem 0.65rem;
}
.line-topbar .avatar {
  width: 26px; height: 26px; border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.22); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex: none;
}
.line-topbar .name { font-size: 0.8125rem; font-weight: 700; line-height: 1.2; }
.line-topbar .sub { font-size: 0.625rem; opacity: 0.8; line-height: 1.2; }
.line-topbar .menu { margin-left: auto; opacity: 0.9; }
.line-topbar .menu svg { width: 18px; height: 18px; }
.line-chat {
  background: #8FB4C9;
  background-image: linear-gradient(180deg, #9bbdcf 0%, #8db1c6 100%);
  padding: 0.75rem 0.7rem;
  min-height: 300px;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.chat-date {
  align-self: center; background: rgba(0, 0, 0, 0.16); color: #fff;
  font-size: 0.625rem; padding: 0.1rem 0.6rem; border-radius: var(--radius-full);
  margin: 0.1rem 0 0.3rem;
}
.chat-row { display: flex; gap: 0.35rem; align-items: flex-end; }
.chat-row.me { justify-content: flex-end; }
.chat-row.them { justify-content: flex-start; }
.chat-avatar {
  width: 22px; height: 22px; border-radius: var(--radius-full);
  background: var(--primary-600); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
}
.bubble {
  max-width: 76%; font-size: 0.75rem; line-height: 1.5;
  padding: 0.5rem 0.7rem; border-radius: 14px;
}
.bubble.me { background: #8DE055; color: #1A2E10; border-bottom-right-radius: 4px; }
.bubble.them { background: #fff; color: var(--neutral-900); border-bottom-left-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,0.06); }
.bubble.them .meta { display: block; margin-top: 0.25rem; font-size: 0.6875rem; color: var(--primary-600); font-weight: 600; }
.line-inputbar {
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; border-top: 1px solid var(--neutral-200);
  padding: 0.5rem 0.7rem;
}
.line-inputbar .field {
  flex: 1; background: var(--neutral-100); border-radius: var(--radius-full);
  color: var(--neutral-400); font-size: 0.6875rem; padding: 0.35rem 0.7rem;
}
.line-inputbar svg { width: 18px; height: 18px; color: var(--neutral-400); flex: none; }
.line-namebar {
  background: #FFF8E1; border-top: 1px solid #FFE082;
  color: #7B4F00; font-size: 0.625rem;
  padding: 0.4rem 0.7rem; display: flex; align-items: center; gap: 0.35rem;
}
.line-namebar svg { width: 12px; height: 12px; color: var(--accent-500); flex: none; }
/* カウンターバッジ（ふきだし） */
.phone__counter {
  position: absolute; bottom: 2.5rem; left: -1rem; z-index: 4;
  background: var(--accent-500); color: #fff;
  font-size: 0.75rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-full);
  white-space: nowrap; box-shadow: 0 6px 16px rgba(180, 83, 9, 0.28);
}
@media (max-width: 380px) { .phone__counter { left: 0; bottom: 1.5rem; } }

/* ---- ステップ（円形ナンバリング + chevron 接続） ---- */
.steps { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) {
  .steps { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
}
.step {
  text-align: center; background: #fff;
  border: 1px solid var(--neutral-200); border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem; position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.step:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.step__num {
  width: 40px; height: 40px; margin: 0 auto 0.75rem;
  border-radius: var(--radius-full); background: var(--primary-600); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  box-shadow: 0 4px 10px rgba(13, 122, 110, 0.25);
}
.step .icon-wrap { margin: 0 auto 0.75rem; }
.step-arrow { display: none; color: var(--neutral-400); }
.step-arrow svg { width: 26px; height: 26px; }
@media (min-width: 768px) { .step-arrow { display: flex; align-items: center; justify-content: center; } }

/* ---- 安心・安全（盾） ---- */
.shield-head { text-align: center; }
.shield-icon {
  width: 80px; height: 80px; margin: 0 auto 1.25rem;
  border-radius: 1.25rem; background: var(--primary-50);
  display: flex; align-items: center; justify-content: center;
}
.shield-icon svg { width: 42px; height: 42px; color: var(--primary-600); }

/* ---- 比較テーブル ---- */
.table-wrap { overflow-x: auto; }
table.compare {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--neutral-200); border-radius: var(--radius-lg); overflow: hidden;
  min-width: 520px;
}
table.compare th, table.compare td {
  padding: 0.9rem 1.1rem; text-align: left; font-size: 0.9375rem;
  border-bottom: 1px solid var(--neutral-200); vertical-align: top;
}
table.compare thead th { background: var(--neutral-100); color: var(--neutral-900); font-weight: 700; }
table.compare thead th.col-ours { background: var(--primary-50); color: var(--primary-600); }
table.compare .col-ours { background: var(--primary-50); }
table.compare tbody tr:nth-child(even) td { background: var(--neutral-50); }
table.compare tbody tr:nth-child(even) td.col-ours { background: var(--primary-50); }
table.compare tr:last-child td { border-bottom: none; }
.cell-icon { display: inline-flex; align-items: center; gap: 0.4rem; }
.cell-icon svg { width: 18px; height: 18px; flex: none; }
.icon-yes { color: var(--success); }
.icon-no  { color: var(--error); }

/* ---- 料金カード ---- */
.pricing-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
.plan {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg); padding: 2rem;
  position: relative;
}
.plan--free { background: #fff; }
.plan--paid { background: #fff; border: 2px solid var(--primary-600); box-shadow: var(--shadow-card); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent-500); color: #fff;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  padding: 0.25rem 0.85rem; border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(180, 83, 9, 0.25);
}
.plan__name { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.plan__name svg { width: 22px; height: 22px; }
.plan__price { margin: 1rem 0 0.25rem; }
.plan__price .amount { font-size: 2.25rem; font-weight: 700; color: var(--neutral-900); letter-spacing: -0.02em; }
.plan__price .unit { color: var(--neutral-500); font-size: 0.9375rem; }
.plan ul { list-style: none; margin: 1.25rem 0; padding: 0; }
.plan li { display: flex; gap: 0.5rem; padding: 0.4rem 0; font-size: 0.9375rem; color: var(--neutral-700); }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; }
.plan .btn { margin-top: auto; }

/* ---- FAQ アコーディオン ---- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.125rem 1.25rem;
  font-weight: 600; color: var(--neutral-900); display: flex; gap: 0.75rem; align-items: flex-start;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--primary-600); font-weight: 700; flex: none; }
.faq-item summary:hover { background: var(--neutral-50); }
.faq-item[open] summary { background: var(--primary-50); }
.faq-body { padding: 0 1.25rem 1.25rem 2.6rem; color: var(--neutral-700); }
.faq-body p { margin: 0.5rem 0; }
.faq-toggle { margin-left: auto; transition: transform 0.2s ease; color: var(--neutral-500); flex: none; }
.faq-item[open] .faq-toggle { transform: rotate(180deg); }
.faq-toggle svg { width: 20px; height: 20px; }

/* ---- フォーム ---- */
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 500; color: var(--neutral-900); margin-bottom: 0.4rem; font-size: 0.9375rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: 0.75rem 0.9rem; font-family: inherit; font-size: 1rem;
  color: var(--neutral-900); background: #fff;
  border: 1px solid var(--neutral-300); border-radius: var(--radius-md);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 3px var(--primary-50);
}
.form-note {
  background: var(--accent-100); color: #92500a; border-radius: var(--radius-md);
  padding: 0.75rem 1rem; font-size: 0.875rem; margin-bottom: 1.5rem;
  display: flex; gap: 0.5rem; align-items: flex-start;
}
.form-note svg { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; }

/* ---- 注意/情報ボックス ---- */
.callout {
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin: 1.5rem 0;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 0.1rem; }
.callout--info { background: #fff; border: 1px solid var(--primary-100); }
.callout--info svg { color: var(--primary-600); }
.callout--warn { background: var(--accent-100); }
.callout--warn svg { color: var(--accent-500); }
.callout p { margin: 0; font-size: 0.9375rem; color: var(--neutral-700); }
.callout strong { color: var(--neutral-900); }

/* ---- 機能 Left/Right ---- */
.feature-row { display: grid; gap: 2rem; align-items: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .feature-row { grid-template-columns: 1fr 1fr; } .feature-row:nth-child(even) .feature-row__art { order: -1; } }
.feature-row__art { display: flex; justify-content: center; }
.feature-row__art svg { width: 100%; max-width: 320px; height: auto; }
.feature-row ul { padding-left: 1.1rem; color: var(--neutral-700); }
.feature-row li { margin: 0.35rem 0; }

/* 画面イメージ プレースホルダ */
.mock-placeholder {
  border: 1.5px dashed var(--primary-600); border-radius: var(--radius-lg);
  background: var(--primary-50); padding: 1.5rem; text-align: center; color: var(--neutral-600);
  font-size: 0.875rem;
}
.mock-placeholder svg { width: 28px; height: 28px; color: var(--primary-600); margin: 0 auto 0.5rem; }

/* ---- 事例カード ---- */
.case-card { background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius-lg); padding: 1.75rem; }
.case-card .badge { margin-bottom: 0.75rem; }
.case-ba { display: grid; gap: 0.75rem; margin-top: 1rem; }
@media (min-width: 480px) { .case-ba { grid-template-columns: 1fr 1fr; } }
.case-ba__box { border-radius: var(--radius-md); padding: 0.9rem 1rem; font-size: 0.875rem; }
.case-ba__box.before { background: var(--neutral-100); color: var(--neutral-600); }
.case-ba__box.after { background: var(--primary-50); color: var(--neutral-700); }
.case-ba__box .label { font-weight: 700; font-size: 0.75rem; display: block; margin-bottom: 0.3rem; letter-spacing: 0.05em; }

/* ---- 法令・記事本文 ---- */
.legal { padding: 3rem 0 4rem; }
.legal h1 { margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.legal h3 { margin: 1.5rem 0 0.4rem; }
.legal p, .legal li { color: var(--neutral-700); }
.legal ul, .legal ol { padding-left: 1.4rem; }
.legal li { margin: 0.3rem 0; }
.legal .updated { color: var(--neutral-500); font-size: 0.875rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal table th, .legal table td { border: 1px solid var(--neutral-200); padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; font-size: 0.9375rem; }
.legal table th { background: var(--neutral-100); width: 34%; color: var(--neutral-900); }
.draft-banner {
  background: var(--accent-100); color: #92500a; border-radius: var(--radius-md);
  padding: 0.75rem 1rem; font-size: 0.875rem; margin-bottom: 1.5rem;
}

/* バナー（利用イメージ明示など） */
.notice-banner {
  background: var(--primary-50); color: var(--primary-700); border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin-bottom: 2rem;
  font-size: 0.9375rem; display: flex; gap: 0.6rem; align-items: flex-start;
}
.notice-banner svg { width: 20px; height: 20px; flex: none; margin-top: 0.15rem; color: var(--primary-600); }

/* ---- 最終CTA 帯（濃色） ---- */
.cta-band { text-align: center; }
.cta-band .h2 { margin-bottom: 0.75rem; }
.cta-band .btn { margin-top: 1.5rem; }
.cta-dark {
  background: var(--primary-700);
  background-image: linear-gradient(135deg, #0A6159 0%, #0D7A6E 100%);
  border-radius: 1.5rem; padding: 3rem 1.5rem; text-align: center;
}
.cta-dark .h2 { color: #fff; justify-content: center; }
.cta-dark .lead { color: rgba(255, 255, 255, 0.88); }
.cta-dark .small { color: rgba(255, 255, 255, 0.7); }
.cta-dark .small a { color: #fff; text-decoration: underline; }
@media (min-width: 768px) { .cta-dark { padding: 3.5rem 2rem; } }

/* ---- フッター（濃色帯） ---- */
.site-footer { background: var(--neutral-900); color: var(--neutral-400); padding: 3.5rem 0 2rem; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr auto; } }
.site-footer .brand { color: #fff; }
.site-footer .brand svg { color: var(--primary-100); }
.site-footer h4 { color: #fff; font-size: 0.9375rem; margin: 0 0 0.85rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.45rem 0; }
.site-footer a { color: var(--neutral-300); font-size: 0.9375rem; }
.site-footer a:hover { color: #fff; }
.site-footer .desc { font-size: 0.875rem; color: var(--neutral-400); margin: 0.85rem 0 0; max-width: 32ch; }
.site-footer__cta { align-self: start; }
.site-footer__bottom {
  border-top: 1px solid var(--neutral-700); margin-top: 2.5rem; padding-top: 1.5rem;
  color: var(--neutral-500); font-size: 0.8125rem; text-align: center;
}

/* ---- ユーティリティ ---- */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.center { margin-left: auto; margin-right: auto; }

/* ---- フェードイン（控えめ） ---- */
html.js .fade-in-up { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js .fade-in-up.visible { opacity: 1; transform: translateY(0); }
.fade-in-up:nth-child(2) { transition-delay: 0.08s; }
.fade-in-up:nth-child(3) { transition-delay: 0.16s; }
.fade-in-up:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in-up { opacity: 1 !important; transform: none !important; transition: none; }
  * { transition: none !important; }
}
