/* ============================================
   シェアワークス TOPページ専用スタイル
   ============================================ */

/* ヒーロー */
.hero {
  position: relative;
  background-color: #0d47a1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    linear-gradient(125deg, #1ec8c3 0%, #1565d8 28%, #0d47a1 50%, #1a3a8f 68%, #4332a8 84%, #5e35b1 100%);
  background-size: 200px 200px, 150% 150%;
  animation: heroGradientShift 40s ease-in-out infinite;
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}
@keyframes heroGradientShift {
  0%   { background-position: 0 0, 0% 50%; }
  50%  { background-position: 0 0, 100% 50%; }
  100% { background-position: 0 0, 0% 50%; }
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: #3b82f6;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.hero-title .highlight {
  color: #ffc107;
  position: relative;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta .btn-lg {
  min-width: 200px;
}

.hero-cta .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}

.hero-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-num);
  line-height: 1;
  color: #ffc107;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* ヒーロー右側のビジュアル */
.hero-visual {
  position: relative;
  min-height: 380px;
  width: 100%;
}

.hero-card {
  background: #fff;
  color: var(--color-text);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: absolute;
  transition: transform 0.3s;
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hero-card-1 {
  top: 30px;
  right: 0;
  width: 260px;
  z-index: 2;
}

.hero-card-2 {
  top: 200px;
  left: 20px;
  width: 250px;
  z-index: 1;
}

/* デスクトップで横並びの場合は配置を維持 */
@media (min-width: 969px) {
  .hero-card-1 {
    top: 20px;
    right: 0;
  }
  .hero-card-2 {
    top: 220px;
    left: 10px;
  }
}

.hero-card .badge {
  margin-bottom: 8px;
}

.hero-card h4 {
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.5;
}

.hero-card .price {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
}

.hero-card .meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* セクション共通 */
.section {
  padding: 80px 0;
}

.section-bg {
  background: var(--color-bg-soft);
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 56px;
}

/* 検索ボックス（TOP用） */
.search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.search-box-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.search-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
}

.search-form select,
.search-form input {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
}

/* 特徴セクション */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.feature-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin: 0;
}

/* ターゲット別カード（発注 vs 受注） */
.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.target-card {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
}

.target-card.client {
  background: linear-gradient(135deg, #0056b8, #003d80);
}

.target-card.worker {
  background: linear-gradient(135deg, #ff8a00, #e07700);
}

.target-card-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.target-card h3 {
  font-size: 24px;
  margin: 0 0 16px;
  line-height: 1.4;
}

.target-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.target-card ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 14px;
}

.target-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.target-card .btn {
  background: #fff;
  color: var(--color-text);
}

.target-card .btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
}

/* カテゴリ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.category-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  transition: all 0.15s;
}

.category-tile:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-pale);
  color: var(--color-primary-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

/* 利用の流れ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.flow-step {
  background: #fff;
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border-light);
}

.flow-step-num {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.flow-step h4 {
  font-size: 16px;
  margin: 0 0 10px;
}

.flow-step p {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0;
  line-height: 1.6;
}

/* 新着案件 */
.job-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.job-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.job-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}

.job-card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.job-card h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 12px;
  color: var(--color-text);
}

.job-card .desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.6;
  margin-bottom: 16px;
}

.job-card .price {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-num);
}

.job-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--color-border-light);
  font-size: 12px;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

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

.faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-question::after {
  content: "+";
  margin-left: auto;
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 300;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px 66px;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* CTA セクション */
.cta-section {
  background: linear-gradient(135deg, #003d80 0%, #0056b8 100%);
  color: #fff;
  padding: 64px 0 80px;
  text-align: center;
  margin-bottom: 0;
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #fff;
}

.cta-section p {
  font-size: 15px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-accent {
  font-size: 16px;
  padding: 14px 32px;
}

/* レスポンシブ */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .target-grid,
  .job-list {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 24px;
  }
}

/* ============================================
   法人/個人向け2導線セクション
   ============================================ */
.audience-section {
  padding: 64px 0;
  background: var(--color-bg-soft);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.audience-card {
  background: #fff;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s;
}

.audience-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.audience-card.corporate {
  border-color: var(--color-primary-light);
  background: linear-gradient(180deg, var(--color-primary-pale) 0%, #fff 100%);
}

.audience-card.individual {
  border-color: #ffcc80;
  background: linear-gradient(180deg, #fff3e0 0%, #fff 100%);
}

.audience-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-light);
}

.audience-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.audience-card.corporate .audience-card-icon {
  background: var(--color-primary);
  color: #fff;
}

.audience-card.individual .audience-card-icon {
  background: var(--color-accent);
  color: #fff;
}

.audience-card h3 {
  font-size: 20px;
  margin: 0;
}

.audience-card-subtitle {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-top: 2px;
}

.audience-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.audience-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
}

.audience-tag:hover {
  text-decoration: none;
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
  background: var(--color-primary-pale);
}

.audience-card.individual .audience-tag:hover {
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
  background: #fff3e0;
}

.audience-tag-arrow {
  margin-left: auto;
  font-size: 16px;
  opacity: 0.5;
}

/* ============================================
   カテゴリ階層表示
   ============================================ */
.category-tree {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-tree-item {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.15s;
}

.category-tree-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.category-tree-parent {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary-pale);
  display: block;
  text-decoration: none;
}

.category-tree-parent:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.category-tree-children {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-tree-children li {
  padding: 4px 0;
}

.category-tree-children a {
  font-size: 12px;
  color: var(--color-text-sub);
  text-decoration: none;
}

.category-tree-children a:hover {
  color: var(--color-primary);
}

@media (max-width: 968px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .audience-tag-grid {
    grid-template-columns: 1fr;
  }
  .category-tree {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HERO新デザイン：バッジ + 案件カードリスト
   ============================================ */

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.hero-badge-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffd54f;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.hero-badge-desc {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
}

.hero-cards-list {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.hero-mini-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-mini-card:last-of-type {
  margin-bottom: 8px;
}

.hero-mini-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.hero-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.hero-mini-info {
  flex: 1;
  min-width: 0;
}

.hero-mini-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 2px;
}

.hero-mini-meta {
  font-size: 11px;
  color: #6b7280;
}

.hero-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.hero-mini-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  background: #e0ecff;
  color: #1565d8;
  border-radius: 999px;
  font-weight: 600;
}

.hero-mini-price {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 600;
}

.hero-mini-amount {
  color: #e91e63;
  font-size: 17px;
  font-weight: 800;
  margin: 0 2px;
}

.hero-cards-note {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
}

/* レスポンシブ：スマホで3バッジを縦並びにしない場合の調整 */
@media (max-width: 480px) {
  .hero-badges {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .hero-badge {
    padding: 10px 6px;
  }
  .hero-badge-title {
    font-size: 13px;
  }
  .hero-badge-desc {
    font-size: 9px;
  }
}

/* ============================================
   相談プラットフォーム版 追加スタイル
   ============================================ */

/* --- ヒーロー：信頼バッジ --- */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  margin-bottom: 32px;
}
.hero-trust-badge {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  opacity: 0.95;
}
/* ピル型バッジ（白背景・青文字） */
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1154b8;
  background: #ffffff;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}
.hero-trust-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* --- ヒーロー右側：重なるカード（Linear風・浮遊） --- */
.hero-stack {
  position: relative;
  min-height: 340px;
  perspective: 1000px;
}
.hero-stack-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-stack-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 8px 0 6px;
  line-height: 1.4;
}
.hero-stack-card-1 {
  top: 0;
  left: 0;
  width: 75%;
  z-index: 3;
  transform: rotate(-2deg);
  animation: float1 6s ease-in-out infinite;
}
.hero-stack-card-2 {
  top: 130px;
  right: 0;
  width: 62%;
  z-index: 2;
  transform: rotate(2deg);
  animation: float2 7s ease-in-out infinite;
}
.hero-stack-card-3 {
  bottom: 0;
  left: 8%;
  width: 58%;
  z-index: 4;
  transform: rotate(-1deg);
  animation: float3 5.5s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:rotate(-2deg) translateY(0);} 50%{transform:rotate(-2deg) translateY(-10px);} }
@keyframes float2 { 0%,100%{transform:rotate(2deg) translateY(0);} 50%{transform:rotate(2deg) translateY(-8px);} }
@keyframes float3 { 0%,100%{transform:rotate(-1deg) translateY(0);} 50%{transform:rotate(-1deg) translateY(-12px);} }

.hsc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
}
.hsc-badge-consult { background: #0d47a1; }
.hsc-badge-project { background: #5e35b1; }
.hsc-badge-spot { background: #0891b2; }
.hsc-meta { font-size: 12px; color: #6b7280; margin-bottom: 8px; }
.hsc-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.hsc-tags span {
  font-size: 11px;
  padding: 2px 8px;
  background: #e0ecff;
  color: #1565d8;
  border-radius: 999px;
  font-weight: 600;
}
.hsc-price { font-size: 16px; font-weight: 800; color: #e91e63; }
.hsc-time {
  font-size: 12px;
  background: #f0f3f7;
  color: #555;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-right: 6px;
}

/* --- AI相談カテゴリ --- */
.consult-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.consult-cat-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.consult-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(21, 101, 216, 0.14);
}
.ccc-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 14px;
  color: #1565d8;
  transition: all 0.2s ease;
}
.consult-cat-card:hover .ccc-icon {
  background: #1565d8;
  color: #fff;
}
.consult-cat-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.consult-cat-card p { font-size: 13px; color: #6b7280; margin: 0; }

/* --- 投稿タイプ --- */
.post-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-type-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 28px;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.post-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.ptc-btn {
  display: block;
  margin-top: auto;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
}
.ptc-btn-consult { background: #0d47a1; color: #fff; }
.ptc-btn-consult:hover { background: #0a3a85; }
.ptc-btn-project {
  background: linear-gradient(135deg, #5e35b1, #4527a0);
  color: #fff;
}
.ptc-btn-project:hover { filter: brightness(1.08); }
.ptc-btn-spot { background: #0891b2; color: #fff; }
.ptc-btn-spot:hover { background: #077999; }
.ptc-desc { margin-bottom: 20px !important; }
.post-type-card-highlight {
  box-shadow: 0 8px 30px rgba(94, 53, 177, 0.15);
}
.post-type-card-highlight:hover {
  box-shadow: 0 12px 36px rgba(94, 53, 177, 0.22);
}
.ptc-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.ptc-icon-consult { background: #e0ecff; color: #0d47a1; }
.ptc-icon-project { background: #ede4ff; color: #5e35b1; }
.ptc-icon-spot { background: #d7f1f7; color: #0891b2; }
.post-type-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0 16px;
  line-height: 1.4;
  text-align: center;
}
.ptc-badge {
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
}
.ptc-badge-consult { background: #0d47a1; }
.ptc-badge-project { background: #5e35b1; }
.ptc-badge-spot { background: #0891b2; }
.ptc-flow {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.ptc-flow-item {
  font-size: 13px;
  font-weight: 700;
  color: #0d47a1;
  background: #eff6ff;
  padding: 5px 12px;
  border-radius: 8px;
}
.ptc-arrow {
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
}
.ptc-list { margin: 0 0 16px; padding-left: 0; list-style: none; }
.ptc-list li {
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ptc-list li svg { color: #1d9e75; flex-shrink: 0; }
.ptc-desc { font-size: 13px; color: #6b7280; line-height: 1.6; margin: 0; }

/* --- AI人材 --- */
.worker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.worker-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative;
}
.worker-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.worker-status {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.worker-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.worker-status-available {
  color: #15803d;
  background: #f0fdf4;
}
.worker-status-available .worker-status-dot { background: #22c55e; }
.worker-status-busy {
  color: #b45309;
  background: #fffbeb;
}
.worker-status-busy .worker-status-dot { background: #f59e0b; }
.worker-rating {
  font-size: 11px;
  color: #1565d8;
  font-weight: 600;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.worker-rating svg { color: #1565d8; }
.worker-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.worker-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.worker-name { font-size: 16px; font-weight: 700; }
.worker-role { font-size: 13px; color: #6b7280; }
.worker-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.worker-tags span {
  font-size: 11px;
  padding: 3px 10px;
  background: #f0f3f7;
  color: #374151;
  border-radius: 999px;
  font-weight: 600;
}
.worker-result {
  font-size: 13px;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.worker-actions { display: flex; gap: 8px; }
.worker-actions .btn { flex: 1; text-align: center; }
.worker-result strong { font-size: 14px; color: #0f6e56; }

/* --- 導入事例 --- */
/* 実績サマリーバー（レバテック式） */
.case-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(13, 71, 161, 0.06);
  flex-wrap: wrap;
  gap: 16px;
}
.case-stat {
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.case-stat-num {
  font-size: 44px;
  font-weight: 800;
  color: #1565d8;
  line-height: 1;
  font-family: var(--font-num);
  letter-spacing: -0.02em;
}
.case-stat-unit {
  font-size: 20px;
  font-weight: 700;
  margin-left: 2px;
}
.case-stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-top: 10px;
  font-weight: 600;
}
.case-stat-divider {
  width: 1px;
  height: 48px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(13, 71, 161, 0.12);
}
.case-card-head {
  position: relative;
  margin-bottom: 16px;
}
.case-card-head .case-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.case-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 14px;
  color: #1565d8;
}
.case-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0d47a1;
  background: #e0ecff;
  padding: 4px 12px;
  border-radius: 999px;
}
.case-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 14px; }
.case-result {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f2f5;
  flex-wrap: wrap;
}
.case-num {
  font-size: 44px;
  font-weight: 800;
  color: #1565d8;
  line-height: 1;
  font-family: var(--font-num);
  letter-spacing: -0.02em;
}
.case-unit { font-size: 20px; font-weight: 700; color: #1565d8; }
.case-result-label { font-size: 13px; font-weight: 600; color: #374151; margin-left: 6px; }
.case-desc { font-size: 13px; color: #6b7280; line-height: 1.7; margin: 0 0 14px; }
.case-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9ca3af;
}
.case-meta svg { color: #9ca3af; }

/* --- 相談一覧 --- */
.consult-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.cf-tab {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  color: #555;
  text-decoration: none;
  transition: all 0.15s;
}
.cf-tab:hover { border-color: #1565d8; color: #1565d8; }
.cf-tab-active { background: #1565d8; color: #fff; border-color: #1565d8; }
.consult-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.consult-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.consult-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(21, 101, 216, 0.12);
}
.consult-item:hover .consult-cta {
  gap: 8px;
}
.consult-item-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.consult-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.consult-item-head h3 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.4; }
.consult-item-cat { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }
.consult-item-meta { margin-bottom: 14px; }
.consult-status { font-size: 13px; color: #0d47a1; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.consult-status svg { color: #1565d8; }
.consult-budget { font-size: 16px; color: #1565d8; font-weight: 800; font-family: var(--font-num); display: inline-flex; align-items: center; gap: 5px; }
.consult-cta {
  font-size: 13px;
  color: #1565d8;
  font-weight: 700;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

/* --- 利用フロー --- */
.flow-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.flow-col-label {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.flow-col-label-client { background: #1565d8; }
.flow-col-label-worker { background: #5e35b1; }
.flow-steps { display: flex; flex-direction: column; gap: 12px; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
}
.flow-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0ecff;
  color: #1565d8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 16px rgba(21, 101, 216, 0.1);
}
.faq-item summary {
  font-size: 15px;
  font-weight: 700;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #1565d8;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
  padding: 0 20px 18px;
}

/* --- 固定CTA（右下追従） --- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent, #ff8a00);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
  transition: all 0.2s ease;
}
.floating-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(255, 138, 0, 0.5);
}
.floating-cta-icon { display: inline-flex; align-items: center; }

/* --- レスポンシブ --- */
@media (max-width: 900px) {
  .consult-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .post-type-grid,
  .worker-grid,
  .case-grid { grid-template-columns: 1fr; }
  .flow-columns { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .consult-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stack { min-height: 380px; }
  .floating-cta { font-size: 13px; padding: 12px 18px; bottom: 16px; right: 16px; }
}

/* ============================================
   ヒーロー右側：ステップフォームカード（§4・レバテック型）
   ============================================ */
.hero-form-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-width: 420px;
  margin-left: auto;
  color: #1a1a1a;
}
.hfc-head {
  text-align: center;
  margin-bottom: 18px;
}
.hfc-catch {
  font-size: 12px;
  font-weight: 700;
  color: #1565d8;
  margin-bottom: 8px;
}
.hfc-title {
  font-size: 19px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.4;
}
.hfc-title strong {
  color: #1565d8;
}
.hfc-title .hfc-free {
  font-size: 25px;
  vertical-align: -1px;
}
.hfc-badge-30s {
  display: inline-block;
  background: #0d47a1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 4px;
  vertical-align: middle;
}

/* プログレスバー */
.hfc-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hfc-progress-bar {
  flex: 1;
  height: 6px;
  background: #e8ebf0;
  border-radius: 999px;
  overflow: hidden;
}
.hfc-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1ec8c3, #1565d8);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.hfc-progress-text {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  white-space: nowrap;
}

/* ステップ */
.hfc-q {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}
.hfc-options {
  display: grid;
  gap: 10px;
}
.hfc-opt {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.hfc-opt:hover {
  border-color: #1565d8;
  background: #f8fbff;
}
.hfc-opt.selected {
  border-color: #1565d8;
  background: #e0ecff;
  color: #0d47a1;
}
.hfc-textarea,
.hfc-input {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}
.hfc-textarea:focus,
.hfc-input:focus {
  border-color: #1565d8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 101, 216, 0.1);
}
.hfc-note {
  font-size: 11px;
  color: #6b7280;
  margin: 8px 0 0;
  line-height: 1.5;
}
.hfc-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.hfc-back {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px;
  white-space: nowrap;
}
.hfc-back:hover { color: #1565d8; }
.hfc-next,
.hfc-submit {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #1ec8c3 0%, #1565d8 50%, #5e35b1 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hfc-next:hover,
.hfc-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(21, 101, 216, 0.3);
}

/* レスポンシブ：スマホではヒーロー縦並び */
@media (max-width: 900px) {
  .hero-form-card {
    margin: 32px auto 0;
    max-width: 100%;
  }
}

/* ヒーロータイトルの強調（相談から始める） */
.hero-title-accent {
  color: #ffeb3b;
}

/* ============================================
   企業ロゴカルーセル（右→左 無限スクロール）
   ============================================ */
.logo-carousel-section {
  padding: 36px 0 28px;
  background: #fff;
  border-bottom: 1px solid #eef1f5;
  overflow: hidden;
}
.logo-carousel-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}
.logo-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-carousel-track {
  display: flex;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}
.logo-carousel:hover .logo-carousel-track {
  animation-play-state: paused;
}
.logo-carousel-item {
  flex-shrink: 0;
  margin: 0 28px;
  font-size: 22px;
  font-weight: 800;
  color: #c2c9d4;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.logo-carousel-item:hover {
  color: #1565d8;
}
@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   セクション共通：小ラベル（eyebrow）
   ============================================ */
.section-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1565d8;
  margin-bottom: 8px;
  font-family: var(--font-num);
}

/* ============================================
   利用フロー：番号付きステップ図解
   ============================================ */
.flow-block {
  margin-bottom: 40px;
}
.flow-block:last-child {
  margin-bottom: 0;
}
.flow-block-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0d47a1;
  background: #e0ecff;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.flow-block-label-worker {
  color: #0f6e56;
  background: #d6f5ea;
}
.flow-track {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.flow-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 28px 18px 22px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(13, 71, 161, 0.06);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.flow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.12);
}
.flow-card-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1565d8, #0d47a1);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-num);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
}
.flow-card-worker .flow-card-num {
  background: linear-gradient(135deg, #1d9e75, #0f6e56);
  box-shadow: 0 2px 8px rgba(15, 110, 86, 0.3);
}
.flow-card-icon {
  width: 56px;
  height: 56px;
  margin: 6px auto 14px;
  border-radius: 14px;
  background: #eff6ff;
  color: #1565d8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-card-worker .flow-card-icon {
  background: #e1f5ee;
  color: #0f6e56;
}
.flow-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.flow-card p {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c2c9d4;
  flex-shrink: 0;
  width: 32px;
}

/* スマホ：縦並びにして矢印を下向きに */
@media (max-width: 768px) {
  .flow-track {
    flex-direction: column;
    gap: 0;
  }
  .flow-arrow {
    width: 100%;
    height: 28px;
    transform: rotate(90deg);
  }
}

/* 実績サマリーバー：スマホ対応 */
@media (max-width: 768px) {
  .case-stats { gap: 20px 0; }
  .case-stat { min-width: 50%; flex: none; width: 50%; }
  .case-stat-divider { display: none; }
  .case-grid { grid-template-columns: 1fr; }
}

/* セクション共通：狭い container（FAQ等） */
.container-narrow { max-width: 800px; }
/* セクション末尾の「もっと見る」ボタン */
.section-more { text-align: center; margin-top: 32px; }

/* ============================================
   カードカルーセル（タイミー式・JS制御＋ドット）
   ============================================ */
.card-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0;
}
/* 前後ナビゲーションボタン */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #0056b8;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.18s ease;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #1565d8;
  transform: translateY(-50%) scale(1.05);
}
.swiper-button-prev { left: 8px; }
.swiper-button-next { right: 8px; }
.swiper-button-prev::before,
.swiper-button-next::before {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 2.5px solid #ffffff;
  border-right: 2.5px solid #ffffff;
}
.swiper-button-next::before { transform: rotate(45deg) translate(-2px, 2px); }
.swiper-button-prev::before { transform: rotate(-135deg) translate(-2px, 2px); }
.card-carousel-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}
.card-carousel .carousel-card {
  width: 300px;
  flex-shrink: 0;
}
/* ドット（ページネーション） */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.carousel-dot.active {
  background: #1565d8;
  transform: scale(1.3);
}
@media (max-width: 768px) {
  .card-carousel .carousel-card { width: 280px; }
}

/* 投稿タイプセクションの注釈 */
.ptc-note {
  max-width: 760px;
  margin: 32px auto 0;
  padding: 18px 22px;
  background: #fff;
  border-radius: 12px;
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.9;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ============================================
   スマホ レスポンシブ総合対応（現行LP用）
   ============================================ */
@media (max-width: 768px) {
  /* セクション余白を圧縮 */
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14px; margin-bottom: 36px; }

  /* 3つの方法：3列→1列 */
  .post-type-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* AI相談カテゴリ：3列→2列 */
  .consult-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* ヒーロー */
  .hero { padding: 56px 0 64px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 14px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .hero-trust-badges { gap: 8px; }
  .hero-trust-pill { font-size: 12px; padding: 7px 14px; }

  /* スマホ：HEROの左側コンテンツをすべて中央寄せ */
  .hero-content { text-align: center; }
  .hero-eyebrow { display: inline-block; }
  .hero-trust-badges { justify-content: center; }
  .hero-cta { align-items: center; }

  /* スマホ：背景グラデーションの動きを大きく見せる */
  .hero {
    background-size: 200px 200px, 250% 250%;
    animation: heroGradientShift 30s ease-in-out infinite;
  }

  /* ヒーロー右側：高さ固定を解除（中身に応じて伸ばす）→ はみ出し・重なり防止 */
  .hero-visual {
    min-height: 0;
    height: auto;
    margin-top: 28px;
  }
  .hero-form-card {
    margin: 0 auto;
    max-width: 100%;
    padding: 20px 16px;
  }

  /* ヘッダーロゴが切れないよう調整 */
  .site-logo-img {
    height: 32px;
    top: 0;
  }
  .header-inner { height: 56px; }

  /* 実績サマリーバー */
  .case-stats { padding: 24px 16px; }
  .case-stat-num { font-size: 34px; }

  /* 事例カード内の数字 */
  .case-num { font-size: 36px; }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .section-title { font-size: 21px; }
  .section-eyebrow { font-size: 12px; }

  /* カテゴリも1列に */
  .consult-cat-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 27px; }

  /* カルーセルカードを画面幅に合わせる */
  .card-carousel .carousel-card { width: 260px; }

  /* 実績バーは2列キープだが数字を縮小 */
  .case-stat-num { font-size: 28px; }
  .case-stat-unit { font-size: 15px; }

  /* 前後ボタンを少し小さく */
  .swiper-button-prev, .swiper-button-next { width: 38px; height: 38px; }
}

/* CTAセクションとフッターの間の白い隙間を防ぐ */
.cta-section {
  margin-bottom: 0;
}
.site-main {
  margin-bottom: 0;
  padding-bottom: 0;
}
.site-main > .cta-section:last-child {
  margin-bottom: 0;
}

/* ============================================
   相談カテゴリー（9カテゴリ＋子項目）
   ============================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(21, 101, 216, 0.12);
}
.cat-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f2f5;
}
.cat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1565d8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* カテゴリ別の色付きアイコン（淡い円背景＋メインカラー） */
.cat-ic-1 { background: #e0ecff; color: #1565d8; } /* AI導入・DX支援：ブルー */
.cat-ic-2 { background: #e4e0ff; color: #5e35b1; } /* AI開発：パープル */
.cat-ic-3 { background: #d7f1ee; color: #0d9488; } /* 業務自動化：ティール */
.cat-ic-4 { background: #dbeafe; color: #0284c7; } /* Web・システム開発：シアン */
.cat-ic-5 { background: #ffe9d6; color: #ea7317; } /* AIマーケティング：オレンジ */
.cat-ic-6 { background: #ffe0ee; color: #db2777; } /* AIクリエイティブ：ピンク */
.cat-ic-7 { background: #fef3c7; color: #d97706; } /* AIコンテンツ：アンバー */
.cat-ic-8 { background: #e0f2e9; color: #16a34a; } /* PM・上流支援：グリーン */
.cat-ic-9 { background: #e7e9ff; color: #4f46e5; } /* スポット相談：インディゴ */
.cat-card-head h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-list li {
  font-size: 13px;
  color: #4b5563;
  padding-left: 16px;
  position: relative;
}
.cat-list li::before {
  content: "└";
  position: absolute;
  left: 0;
  color: #9ca3af;
}
@media (max-width: 968px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ============================================
   色付きピクトグラム（導入事例・ご利用の流れ）
   ============================================ */
/* 導入事例：3色 */
.case-ic-1 { background: #ffe9d6; color: #ea7317; } /* 営業自動化：オレンジ */
.case-ic-2 { background: #dbeafe; color: #0284c7; } /* 社内検索AI：シアン */
.case-ic-3 { background: #e0f2e9; color: #16a34a; } /* 問い合わせ：グリーン */

/* ご利用の流れ：発注者（青系の濃淡）＋AI人材（緑系の濃淡） */
.flow-ic-1 { background: #e0ecff; color: #1565d8; }
.flow-ic-2 { background: #dbeafe; color: #0284c7; }
.flow-ic-3 { background: #e4e0ff; color: #5e35b1; }
.flow-ic-4 { background: #e0f2e9; color: #16a34a; }
.flow-ic-5 { background: #d7f1ee; color: #0d9488; }
.flow-ic-6 { background: #dbeafe; color: #0284c7; }
.flow-ic-7 { background: #ffe9d6; color: #ea7317; }
.flow-ic-8 { background: #e0f2e9; color: #16a34a; }

/* ============================================
   LP 横長イメージ（差し替え可能な仮画像）
   ============================================ */
/* ① 3つの方法 */
.ptc-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 16px;
}
.ptc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ② 導入事例 */
.case-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ③ ご利用の流れ */
.flow-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 14px;
}
.flow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ご利用の流れ：プロジェクト・スポットのラベル色とCTA */
.flow-block-label-project {
  color: #5e35b1;
  background: #ede4ff;
}
.flow-block-label-spot {
  color: #0891b2;
  background: #d7f1f7;
}
.flow-block-cta {
  text-align: center;
  margin-top: 28px;
}
.btn-project {
  background: linear-gradient(135deg, #7c3aed, #5e35b1);
  color: #fff;
}
.btn-project:hover { filter: brightness(1.08); }
.btn-spot {
  background: #0891b2;
  color: #fff;
}
.btn-spot:hover { background: #077999; }

/* ============================================
   受注者ページ：投稿中の案件カード
   ============================================ */
.worker-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.worker-job-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.worker-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(21, 101, 216, 0.12);
}
.worker-job-head {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.worker-job-type {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #1565d8;
  padding: 3px 10px;
  border-radius: 999px;
}
.worker-job-cat {
  font-size: 11px;
  font-weight: 600;
  color: #0d47a1;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 999px;
}
.worker-job-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.5;
}
.worker-job-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 14px;
  flex-grow: 1;
}
.worker-job-budget {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #ea7317;
}
.worker-job-budget svg { color: #ea7317; }
@media (max-width: 968px) {
  .worker-jobs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .worker-jobs-grid { grid-template-columns: 1fr; }
}

/* ============================================
   受注者HERO：別配色グラデーション（グリーン〜ティール基調）
   ============================================ */
.hero-worker {
  background-color: #3b82f6;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #ffffff 0%, #f0f9ff 22%, #bae6fd 50%, #60a5fa 78%, #2563eb 100%);
  background-size: 200px 200px, 200% 200%;
  animation: heroGradientShiftWorker 40s ease-in-out infinite;
  color: #0c2d5e;
}
/* 受注者HERO用：縦基調グラデーションをゆっくり動かす（速度は発注者側と同じ40s） */
@keyframes heroGradientShiftWorker {
  0%   { background-position: 0 0, 50% 0%; }
  50%  { background-position: 0 0, 50% 100%; }
  100% { background-position: 0 0, 50% 0%; }
}
/* パターンC：明るい背景に合わせて文字色を濃紺に */
.hero-worker .hero-title { color: #0c2d5e; }
.hero-worker .hero-title-accent { color: #1d4ed8; }
.hero-worker .hero-subtitle { color: #1e3a5f; opacity: 0.9; }
.hero-worker .hero-eyebrow { color: #FFFFFF; }
.hero-worker .hero-trust-pill { background: #3b82f6; color: #ffffff; }
.hero-worker .btn-outline { color: #0c2d5e; border-color: #0c2d5e; }
.hero-worker .btn-outline:hover { background: rgba(12,45,94,0.08); }

/* 受注者HERO右側：案件サンプルカード */
.hero-jobs-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-width: 420px;
  margin-left: auto;
  color: #1a1a1a;
}
.hero-jobs-head { text-align: center; margin-bottom: 16px; }
.hero-jobs-catch { font-size: 12px; font-weight: 700; color: #0d9488; }
.hero-job-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: all 0.15s ease;
}
.hero-job-item:hover {
  background: #f0fdfa;
  transform: translateX(2px);
}
.hero-job-item-head { display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.hero-job-item-type {
  font-size: 10px; font-weight: 700; color: #fff;
  background: #0d9488; padding: 2px 8px; border-radius: 999px;
}
.hero-job-item-cat {
  font-size: 10px; font-weight: 600; color: #0f766e;
  background: #d7f1ee; padding: 2px 8px; border-radius: 999px;
}
.hero-job-item-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.hero-job-item-budget {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: #ea7317;
}
.hero-job-item-budget svg { color: #ea7317; }
.hero-jobs-more {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #0d9488;
  text-decoration: none;
}
.hero-jobs-more:hover { opacity: 0.7; }

/* ===== セクション背景色 交互パターン (2026-06) ===== */
.section-bg-a { background: #f4f5fe; }
.section-bg-b { background: #fafafE; }

/* 4つの方法 2x2グリッド */
.post-type-grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .post-type-grid-2x2 { grid-template-columns: 1fr; }
}
.ptc-badge-premium { background: #c9973a; }
.ptc-btn-premium {
  display: block; text-align: center; padding: 12px 20px; border-radius: var(--radius);
  background: #c9973a; color: #fff; font-weight: 700; text-decoration: none; margin-top: auto;
  transition: opacity 0.15s;
}
.ptc-btn-premium:hover { opacity: 0.85; }

/* コンペフローブロック */
.flow-block-label-premium { background: linear-gradient(135deg, #c9973a, #f5c842); color: #fff; }
.flow-card-premium { border-top: 3px solid #c9973a; }
.btn-premium {
  display: inline-block; padding: 12px 28px; background: #c9973a; color: #fff;
  border-radius: var(--radius); font-weight: 700; text-decoration: none; transition: opacity 0.15s;
}
.btn-premium:hover { opacity: 0.85; }

/* ===== シェアワークスの特徴 イラスト（PC/SP切替）===== */
.features-illust { text-align: center; }
.features-illust img { max-width: 100%; height: auto; border-radius: 12px; }
.features-illust-pc { display: block; margin: 0 auto; }
.features-illust-sp { display: none; }
@media (max-width: 768px) {
  .features-illust-pc { display: none; }
  .features-illust-sp { display: block; margin: 0 auto; max-width: 480px; }
}
