/* ========================================
   category-top.css
   カテゴリトップページ（悩みからさがす）用
   スコープ：.page-category-top
   ======================================== */

.page-category-top .article-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 20px;
}

.page-category-top .post-title {
  font-size: 26px;
  line-height: 1.45;
  margin: 0 0 16px;
  font-weight: 700;
}

.page-category-top .ct-intro {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 36px;
  color: var(--color-text, #333);
}

.page-category-top h2.ct-section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 48px 0 20px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--color-beige-light, #fdeae0);
}

.page-category-top .ct-section-intro {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: var(--color-text-light, #666);
}

/* ===== 悩みカード5枚（PC 2列・スマホ 1列） ===== */
.ct-worry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 24px;
}

.ct-worry-card {
  background: #fff;
  border: 1px solid var(--color-border, #e8e0d8);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.ct-worry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  text-decoration: none;
}

.ct-worry-card__img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  display: block;
}

.ct-worry-card__body {
  padding: 18px 20px 20px;
}

.ct-worry-card__name {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-brown-dark, #3a2418);
}

.ct-worry-card__catch {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 12px;
  color: var(--color-text-light, #666);
}

.ct-worry-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
}

.ct-worry-card__features li {
  position: relative;
  padding-left: 18px;
}

.ct-worry-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-brown, #c46a4d);
  font-weight: 700;
}

.ct-worry-card__cta {
  display: inline-block;
  background: var(--color-brown, #c46a4d);
  color: #fff;
  text-align: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
}

.ct-worry-card:hover .ct-worry-card__cta {
  background: var(--color-brown-dark, #8b4e36);
}

/* ===== こだわりカード2枚（PC 2列・スマホ 1列） ===== */
.ct-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 24px;
}

.ct-feature-card {
  background: #fff;
  border: 1px solid var(--color-border, #e8e0d8);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.ct-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  text-decoration: none;
}

.ct-feature-card__img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  display: block;
}

.ct-feature-card__body {
  padding: 16px 18px 18px;
}

.ct-feature-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-brown-dark, #3a2418);
}

.ct-feature-card__catch {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  color: var(--color-text-light, #666);
}

/* ===== CTAボタン2つ ===== */
.ct-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}

.ct-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--color-brown, #c46a4d);
  color: var(--color-brown-dark, #8b4e36);
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background .2s, color .2s;
}

.ct-cta-btn:hover {
  background: var(--color-brown, #c46a4d);
  color: #fff;
  text-decoration: none;
}

.ct-cta-btn__icon {
  font-size: 18px;
}

/* ===== まとめ ===== */
.ct-summary {
  background: var(--color-beige-light, #fdeae0);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

/* ===== スマホ（767px以下）：縦積み ===== */
@media (max-width: 767px) {
  .page-category-top .article-container {
    padding: 20px 14px;
  }
  .page-category-top .post-title {
    font-size: 22px;
  }
  .page-category-top h2.ct-section-title {
    font-size: 19px;
    margin: 36px 0 16px;
  }
  .ct-worry-grid,
  .ct-feature-grid,
  .ct-cta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ct-worry-card__name { font-size: 18px; }
  .ct-feature-card__title { font-size: 16px; }
}
