/* BizManga - 制作事例 カテゴリページ専用スタイル
   /works/category/{slug} で使用。
   既存 bm-works-card / bm-works-grid を再利用しつつ、
   カテゴリページ固有のレイアウト要素のみここで定義。 */

.bm-cat-page {
  padding: 24px 0 80px;
  min-height: calc(100vh - 60px);
}

.bm-cat-breadcrumb {
  font-size: 13px;
  color: var(--bm-text-sub, #4a4640);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.bm-cat-breadcrumb a {
  color: var(--bm-accent, #e85500);
  text-decoration: none;
}
.bm-cat-breadcrumb a:hover { text-decoration: underline; }
.bm-cat-breadcrumb span[aria-current="page"] { color: var(--bm-text, #1a1a1a); font-weight: 700; }

.bm-cat-hero {
  text-align: center;
  padding: 32px 16px 40px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fff7f0 0%, #fff 100%);
  border-radius: 16px;
}
.bm-cat-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--bm-accent, #e85500);
  margin: 0 0 12px;
}
.bm-cat-title {
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--bm-text, #1a1a1a);
}
.bm-cat-lead {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.8;
  color: var(--bm-text-sub, #4a4640);
  margin: 0 auto 20px;
  max-width: 720px;
}
.bm-cat-count {
  font-size: 13px;
  color: var(--bm-text-sub, #4a4640);
  margin: 0;
}
.bm-cat-count strong {
  color: var(--bm-accent, #e85500);
  font-size: 16px;
  margin: 0 4px;
}

.bm-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0 8px;
}
.bm-cat-nav-link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e0d8d0;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bm-text, #1a1a1a);
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s;
}
.bm-cat-nav-link:hover {
  border-color: var(--bm-accent, #e85500);
  color: var(--bm-accent, #e85500);
}
.bm-cat-nav-link[aria-current="page"] {
  background: var(--bm-accent, #e85500);
  color: #fff;
  border-color: var(--bm-accent, #e85500);
}
.bm-cat-nav-link-count {
  margin-left: 6px;
  font-weight: 500;
  opacity: 0.8;
}

.bm-cat-section-heading {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--bm-accent, #e85500);
}

.bm-cat-grid-section { margin-bottom: 56px; }

.bm-cat-explain {
  background: #faf6f1;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 56px;
}
.bm-cat-explain p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--bm-text, #1a1a1a);
  margin: 0 0 16px;
}
.bm-cat-explain p:last-child { margin-bottom: 0; }
.bm-cat-explain-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ece4dc;
}
.bm-cat-explain-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--bm-accent, #e85500);
  font-weight: 700;
  text-decoration: none;
}
.bm-cat-explain-link:hover { text-decoration: underline; }

.bm-cat-faq { margin-bottom: 56px; }
.bm-cat-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bm-cat-faq-item {
  border: 1px solid #ece4dc;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.bm-cat-faq-q {
  display: block;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--bm-text, #1a1a1a);
  background: #faf6f1;
}
.bm-cat-faq-q::before {
  content: "Q. ";
  color: var(--bm-accent, #e85500);
  font-weight: 900;
}
.bm-cat-faq-a {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--bm-text-sub, #4a4640);
  margin: 0;
}
.bm-cat-faq-a::before {
  content: "A. ";
  color: var(--bm-accent, #e85500);
  font-weight: 900;
}

.bm-cat-cta {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #fff7f0 0%, #ffe9d6 100%);
  border-radius: 20px;
}
.bm-cat-cta h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0 0 12px;
  color: var(--bm-text, #1a1a1a);
  border: none;
  padding: 0;
}
.bm-cat-cta p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--bm-text-sub, #4a4640);
  margin: 0 auto 24px;
  max-width: 600px;
}
.bm-cat-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.bm-cat-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.bm-cat-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.bm-cat-cta-btn--primary {
  background: var(--bm-accent, #e85500);
  color: #fff;
}
.bm-cat-cta-btn--secondary {
  background: #fff;
  color: var(--bm-text, #1a1a1a);
  border: 1px solid #ece4dc;
}
.bm-cat-cta-btn--line {
  background: #06C755;
  color: #fff;
}

@media (max-width: 768px) {
  .bm-cat-hero { padding: 24px 12px 32px; }
  .bm-cat-explain { padding: 24px 18px; }
  .bm-cat-cta { padding: 32px 16px; }
  .bm-cat-cta-btn { width: 100%; max-width: 320px; }
}
