/* ============================================================
   Share Cart メインCSS
   配色: nekoji-kabu.com 参考 + キャラクターブラウン系
   ============================================================ */

:root {
  /* メインカラー（キャラクターのブラウン系） */
  --primary: #8B5E3C;
  --primary-dark: #6B4226;
  --primary-light: #C4956A;
  --primary-pale: #F5EDE3;

  /* アクセントカラー（オレンジ系） */
  --accent: #E8912A;
  --accent-dark: #C4721A;
  --accent-light: #FFD08A;

  /* 背景色 */
  --bg-base: #FFFFFF;
  --bg-cream: #FFF8EE;
  --bg-section: #FDF6EE;
  --bg-dark: #2D2D2D;

  /* テキスト色 */
  --text-dark: #1A1A1A;
  --text-body: #444444;
  --text-muted: #888888;
  --text-white: #FFFFFF;

  /* UI */
  --success: #4CAF50;
  --danger: #E85D04;
  --warning: #F5A623;
  --info: #2196F3;

  /* ボーダー */
  --border: #E5D5C5;
  --border-light: #F0E8DE;

  /* シャドウ */
  --shadow-sm: 0 2px 4px rgba(139, 94, 60, 0.08);
  --shadow-md: 0 4px 16px rgba(139, 94, 60, 0.12);
  --shadow-lg: 0 8px 32px rgba(139, 94, 60, 0.16);

  /* 角丸 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* コンテナ */
  --container: 1100px;
}

/* ============================================================
   リセット・ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--text-body);
  background: var(--bg-base);
  line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* ============================================================
   レイアウト
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.site-logo img { width: 36px; height: 36px; border-radius: 50%; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--text-body); font-size: 0.95rem; transition: color 0.2s; }
.site-nav a:hover { color: var(--primary); }
.header-line-btn { gap: 6px; padding: 7px 14px; font-size: 0.85rem; }

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  margin-top: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand { color: white; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-pale);
  color: var(--primary-dark);
}

.btn-line {
  background: #06C755;
  color: white;
  border-color: #06C755;
  font-size: 1rem;
  padding: 14px 32px;
}
.btn-line:hover {
  background: #05A847;
  border-color: #05A847;
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 6px 16px; font-size: 0.85rem; }
.btn-danger { background: var(--danger); color: white; border-color: var(--danger); }

/* ============================================================
   カード
   ============================================================ */
.card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.card-body { padding: 24px; }
.card-header {
  padding: 16px 24px;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--primary-dark);
}

/* ============================================================
   フォーム
   ============================================================ */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

.form-error { color: var(--danger); font-size: 0.85rem; margin-top: 4px; }

/* ============================================================
   バッジ
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-free { background: #eee; color: #666; }
.badge-light { background: #e3f2fd; color: #1565c0; }
.badge-standard { background: #e8f5e9; color: #2e7d32; }
.badge-pro { background: #fff3e0; color: #e65100; }
.badge-unlimited { background: #f3e5f5; color: #6a1b9a; }
.badge-active { background: #e8f5e9; color: #2e7d32; }
.badge-suspended { background: #fce4ec; color: #c62828; }
.badge-canceled { background: #fff8e1; color: #f57f17; }

/* ============================================================
   LP - ヒーローセクション
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--bg-cream) 60%, #FFF8E1 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 145, 42, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.hero-title span { color: var(--accent); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-height: 360px;
  filter: drop-shadow(0 8px 24px rgba(139, 94, 60, 0.2));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================================
   LP - 特徴セクション
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

/* ============================================================
   LP - 使い方セクション
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 17%;
  right: 17%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.step h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 8px; }

/* ============================================================
   LP - プラン比較表
   ============================================================ */
.plan-table-wrap {
  overflow-x: auto;
  margin-top: 48px;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.plan-table th, .plan-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.plan-table thead th {
  background: var(--primary);
  color: white;
  font-weight: 700;
}

.plan-table thead th:first-child {
  background: var(--primary-dark);
  text-align: left;
}

.plan-table tbody tr:nth-child(even) { background: var(--bg-section); }
.plan-table tbody td:first-child { text-align: left; font-weight: 600; }
.plan-table .check { color: var(--success); font-size: 1.1rem; }

.plan-price { font-weight: 700; color: var(--primary-dark); font-size: 1.05rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 48px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-section); }
.faq-question::after { content: '▼'; font-size: 0.75rem; color: var(--primary); transition: transform 0.2s; }
.faq-item.open .faq-question::after { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 16px 20px;
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
  color: var(--text-body);
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   ダッシュボード
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 64px);
}

.sidebar {
  background: var(--primary-pale);
  border-right: 1px solid var(--border);
  padding: 24px 0;
}

.sidebar-item {
  padding: 12px 20px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  font-weight: 500;
  color: var(--text-body);
}

.sidebar-item:hover, .sidebar-item.active {
  background: white;
  border-left-color: var(--primary);
  color: var(--primary);
}

.sidebar-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 16px 20px 4px;
  font-weight: 700;
}

.main-content { padding: 32px; }

/* ============================================================
   買い物リスト
   ============================================================ */
.list-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}

.list-tab {
  padding: 10px 24px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}

.list-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.add-item-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.add-item-form input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.add-item-form input:focus { border-color: var(--primary); }

.item-list { list-style: none; }

.item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  background: white;
  transition: background 0.15s;
  position: relative;
  touch-action: pan-y;
}

.item-row:hover { background: var(--bg-section); }

.item-check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.item-check:hover { border-color: var(--primary); background: var(--primary-pale); }
.item-check.checked { background: var(--success); border-color: var(--success); }
.item-check.checked::after { content: '✓'; color: white; font-size: 0.8rem; font-weight: 700; }

.item-name { flex: 1; font-size: 1rem; }
.item-name.completed { text-decoration: line-through; color: var(--text-muted); }

.item-meta { font-size: 0.75rem; color: var(--text-muted); }

.item-delete {
  opacity: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-row:hover .item-delete { opacity: 1; }
.item-delete:hover { background: #fce4ec; }

/* スワイプ削除 */
.item-row.swiping { transform: translateX(var(--swipe-x, 0)); transition: none; }
.item-row.swipe-out { transform: translateX(-100%); transition: transform 0.3s; }

/* ============================================================
   プランカード
   ============================================================ */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.plan-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s;
  position: relative;
}

.plan-card.current {
  border-color: var(--primary);
  background: var(--primary-pale);
}

.plan-card.recommended {
  border-color: var(--accent);
}

.plan-name { font-weight: 700; font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 8px; }
.plan-price-display { font-size: 2rem; font-weight: 900; color: var(--primary); }
.plan-price-display span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.plan-features { font-size: 0.85rem; color: var(--text-muted); margin: 12px 0 20px; line-height: 1.8; }

/* ============================================================
   管理画面
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--primary-dark);
  color: white;
  padding: 0;
}

.admin-sidebar-logo {
  padding: 20px;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-nav a {
  display: block;
  padding: 12px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.1);
  color: white;
  border-left-color: var(--accent);
}

.admin-nav .nav-section {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  padding: 16px 20px 4px;
}

.admin-main {
  background: #F5F5F5;
  padding: 32px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.admin-title { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--primary-dark); }

/* テーブル */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table th {
  background: var(--primary-dark);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-section); }

/* ページネーション */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.page-btn:hover, .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* セクションタイトル */
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ============================================================
   アラート・通知
   ============================================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-danger { background: #fce4ec; color: #c62828; border: 1px solid #ef9a9a; }
.alert-warning { background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }

/* トースト通知 */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--text-dark);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  animation: slideIn 0.3s ease;
  max-width: 320px;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   モーダル
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal {
  background: white;
  border-radius: var(--radius-md);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title { font-weight: 700; font-size: 1.05rem; }
.modal-close { cursor: pointer; font-size: 1.2rem; color: var(--text-muted); background: none; border: none; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border-light); display: flex; gap: 10px; justify-content: flex-end; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 1.8rem; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 200px; }

  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }

  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }

  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }

  .footer-inner { grid-template-columns: 1fr; }

  .section { padding: 60px 0; }
  .main-content { padding: 16px; }
}

/* ============================================================
   ユーティリティ
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 32px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }

.w-100 { width: 100%; }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   レイアウト補助クラス（インラインstyle廃止用）
   ============================================================ */

/* セクション背景 */
.section-cream { background: var(--bg-cream); }
.section-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

/* CTAセクション内テキスト */
.cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.cta-desc {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* コンテナ幅バリエーション */
.container-sm  { max-width: 680px;  margin-left: auto; margin-right: auto; }
.container-md  { max-width: 800px;  margin-left: auto; margin-right: auto; }
.container-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* テキスト補助 */
.hint-text  { font-size: 0.85rem; color: var(--text-muted); }
.text-sm    { font-size: 0.9rem; }
.prose-top  { margin-top: 48px; }

/* フッタータグライン */
.footer-tagline { font-size: 0.85rem; margin-top: 8px; }

/* 特徴カード本文 */
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ステップ本文 */
.step p { font-size: 0.9rem; color: var(--text-muted); }

/* 会社情報テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.company-table tr {
  border-bottom: 1px solid var(--border-light);
}
.company-table td:first-child {
  padding: 14px 16px;
  background: var(--bg-section);
  font-weight: 600;
  width: 160px;
}
.company-table td:last-child {
  padding: 14px 16px;
}

/* パンくずリスト */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 0 0;
  margin-bottom: 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 2px; }

/* ============================================================
   ブログ
   ============================================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-card-thumb {
  aspect-ratio: 16/9;
  background: var(--bg-section);
  overflow: hidden;
}
.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.article-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 8px;
  flex: 1;
}
.article-card-title a { color: inherit; }
.article-card-title a:hover { color: var(--primary); }
.article-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ブログサイドバー */
.blog-sidebar-widget {
  background: white;
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.blog-sidebar-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}
.blog-sidebar-link {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
}
.blog-sidebar-link:hover { color: var(--primary); }
.blog-sidebar-link:last-child { border-bottom: none; }

/* ブログ記事本文 */
.article-content {
  line-height: 1.9;
  color: var(--text-body);
}
.article-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 40px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
}
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.article-content li { margin-bottom: 6px; }
.article-content img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content blockquote {
  border-left: 4px solid var(--primary-light);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--bg-section);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.article-content th, .article-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.article-content th {
  background: var(--bg-section);
  font-weight: 700;
}

/* 記事ヘッダー */
.article-header { margin-bottom: 32px; }
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.article-tag {
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* カテゴリバッジ */
.cat-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .blog-layout { grid-template-columns: 1fr; }
  .cta-title { font-size: 1.6rem; }
}

/* ============================================================
   利用方法ページ
   ============================================================ */

/* ステップ一覧 */
.howto-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.howto-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.howto-step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(139,94,60,0.25);
}

.howto-step-body { flex: 1; }

.howto-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.howto-step-body p {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 12px;
}

.howto-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--bg-cream);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.howto-tip-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* 利用シーングリッド */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.scene-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.scene-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.scene-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 12px;
}

.scene-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.scene-card p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; }

/* Web版機能一覧 */
.web-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.web-feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-section);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.web-feature-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.web-feature-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.web-feature-item p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; }

/* LPの利用方法エリア */
.howto-lp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.howto-lp-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.howto-lp-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.howto-lp-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.howto-lp-card p { font-size: 0.875rem; color: var(--text-body); line-height: 1.65; }

.howto-lp-more {
  text-align: center;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .howto-step { flex-direction: column; gap: 16px; padding: 20px; }
  .scene-grid { grid-template-columns: 1fr; }
  .howto-lp-grid { grid-template-columns: 1fr; }
}
