/* Sales Ameba のブログ（/sales-ameba/blog/）。色・ボタン・CTAの帯は style.css のものを使う */

.sa-blog-hero { padding: 72px 0 40px; text-align: center; background: var(--gradient-soft); }
.sa-blog-hero h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; line-height: 1.45; }
.sa-blog-hero p:not(.section-label) { color: var(--c-text-sub); margin-top: 12px; }
.sa-blog-list { padding: 56px 0 90px; }
.sa-blog-empty { text-align: center; color: var(--c-text-mute); padding: 40px 0; }

/* 記事カード */
.sa-post-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .sa-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sa-post-grid { grid-template-columns: 1fr; gap: 20px; } }
.sa-post-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; color: inherit; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sa-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sa-post-card__img { aspect-ratio: 16 / 9; background: var(--gradient); opacity: 0.9; }
.sa-post-card__img:has(img) { background: var(--c-bg-alt); opacity: 1; }
.sa-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sa-post-card__body { padding: 20px 22px 24px; }
.sa-post-card__body time { font-size: 13px; color: var(--c-text-mute); letter-spacing: 0.04em; }
.sa-post-card__body h2, .sa-post-card__body h3 { font-size: 17px; font-weight: 700; line-height: 1.6; margin-top: 6px; }
.sa-post-card__body p {
  font-size: 14px; color: var(--c-text-sub); line-height: 1.75; margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ページ送り（一覧の2ページ目以降） */
.yn-pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 48px; font-size: 15px; }
.yn-pager a { color: var(--c-purple); text-decoration: none; font-weight: 700; }
.yn-pager span { color: var(--c-text-mute); }

/* 記事 */
.sa-entry { padding: 48px 0 72px; }
.sa-entry__inner { max-width: 800px; }
.sa-breadcrumb { font-size: 13px; color: var(--c-text-mute); display: flex; gap: 8px; flex-wrap: wrap; }
.sa-breadcrumb a { color: var(--c-text-sub); text-decoration: none; }
.sa-breadcrumb a:hover { color: var(--c-purple); }
.sa-entry__meta { margin-top: 28px; font-size: 14px; color: var(--c-text-mute); letter-spacing: 0.04em; }
.sa-entry__title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; line-height: 1.5; margin-top: 8px; }
.sa-entry__eyecatch { margin-top: 28px; }
.sa-entry__eyecatch img { width: 100%; height: auto; border-radius: var(--radius); display: block; }

.sa-entry__content { margin-top: 40px; font-size: 16.5px; line-height: 1.95; }
.sa-entry__content > * + * { margin-top: 1.3em; }
.sa-entry__content h2 {
  font-size: clamp(21px, 2.6vw, 25px); font-weight: 800; line-height: 1.5;
  margin-top: 2.4em; padding: 0 0 12px; border-bottom: 3px solid transparent;
  border-image: var(--gradient) 1;
}
.sa-entry__content h3 { font-size: 19px; font-weight: 700; line-height: 1.55; margin-top: 2em; padding-left: 14px; border-left: 4px solid var(--c-purple); }
.sa-entry__content h4 { font-size: 17px; font-weight: 700; margin-top: 1.6em; }
.sa-entry__content a { color: var(--c-purple); }
.sa-entry__content ul, .sa-entry__content ol { padding-left: 1.5em; }
.sa-entry__content li + li { margin-top: 0.4em; }
.sa-entry__content img { max-width: 100%; height: auto; border-radius: 10px; }
.sa-entry__content blockquote { background: var(--gradient-soft); border-left: 4px solid var(--c-purple); border-radius: 0 12px 12px 0; padding: 18px 22px; }
.sa-entry__content table { width: 100%; border-collapse: collapse; font-size: 15px; }
@media (max-width: 640px) { .sa-entry__content table { display: block; overflow-x: auto; } }
.sa-entry__content th, .sa-entry__content td { border: 1px solid var(--c-line); padding: 10px 14px; text-align: left; vertical-align: top; min-width: 120px; }
.sa-entry__content th { background: var(--c-bg-alt); font-weight: 700; }
.sa-entry__content small { color: var(--c-text-sub); }

.sa-entry__cta { text-align: center; }
.sa-related { background: var(--c-bg-alt); }
.sa-related .container { text-align: center; }
.sa-related__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 36px; }
.sa-related .sa-post-grid { text-align: left; }
