/* ============================================
   BLOG ARTICLE STYLES — note.com準拠 v3
   2026-03-21
   ============================================ */

/* ===== Blog page-level ===== */
body.blog-page {
    background: #f6f6f4;   /* noteのグレー背景 */
    color: #1a1a1a;
}

body.blog-page .main-wrapper {
    padding-top: 70px;
}

/* ===== Article container ===== */
.blog-article-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px 20px;
    background: #ffffff;
    font-family: "Hiragino Kaku Gothic Pro", "Hiragino Sans",
                 "ヒラギノ角ゴ ProN W3", "Noto Sans JP",
                 "Yu Gothic", "游ゴシック", sans-serif;
    font-size: 18px;
    line-height: 2.0;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ===== Article Header ===== */
/* ORDER: h1 → meta → eyecatch */
.blog-article-header {
    padding: 56px 0 0;
    margin-bottom: 20px;
}

.blog-article-header h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #1a1a1a;
    margin: 0 0 32px;
}

/* Meta row (date + tags) */
.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999;
    margin-bottom: 32px;
}

.blog-article-meta time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-article-meta .meta-icon {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.blog-article-meta .meta-category {
    background: #f2f2f2;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #888;
}

/* ===== Eyecatch (Hero Image) ===== */
/* sits BELOW title + meta */
.blog-eyecatch {
    width: 100%;
    margin: 0 0 48px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-eyecatch img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1.91 / 1;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== Body ===== */
.blog-article-body {
    font-family: "Hiragino Kaku Gothic Pro", "Hiragino Sans",
                 "ヒラギノ角ゴ ProN W3", "Noto Sans JP",
                 "Yu Gothic", "游ゴシック", sans-serif;
    font-size: 18px;
    line-height: 2.0;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.blog-article-body p {
    margin: 0 0 1.8em;
}

/* Strong / bold — preserve inline yellow highlight spans */
.blog-article-body strong,
.blog-article-body b {
    font-weight: 700;
    color: #1a1a1a;
}

/* Links */
.blog-article-body a {
    color: #3ea8ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.blog-article-body a:hover {
    opacity: 0.75;
}

/* ===== H2 — noteのH2: 下線スタイル ===== */
.blog-article-body h2 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 64px 0 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a1a1a;
}

/* H2 illustration images */
.blog-h2-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 0 24px;
}

.blog-h2-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ===== H3 — noteのブランドカラー青アクセント ===== */
.blog-article-body h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 48px 0 16px;
    padding-left: 12px;
    border-left: 4px solid #3ea8ff;
}

/* ===== H4 ===== */
.blog-article-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 32px 0 12px;
}

/* ===== hr — "···" style ===== */
.blog-article-body hr {
    border: none;
    text-align: center;
    margin: 48px 0;
    height: auto;
    background: none;
}

.blog-article-body hr::after {
    content: "· · ·";
    display: inline-block;
    font-size: 18px;
    letter-spacing: 0.6em;
    color: #ccc;
}

/* ===== blockquote ===== */
.blog-article-body blockquote {
    border-left: 4px solid #e2e2e2;
    margin: 2em 0;
    padding: 4px 0 4px 24px;
    font-style: normal;
    background: none;
    color: #777;
}

.blog-article-body blockquote p {
    margin: 0 0 0.5em;
}

.blog-article-body blockquote p:last-child {
    margin: 0;
}

/* ===== Lists ===== */
.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 1.8em 1.5em;
    padding: 0;
}

.blog-article-body li {
    margin-bottom: 0.6em;
    line-height: 2.0;
}

/* ===== Images in body ===== */
.blog-article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 2em auto;
}

.blog-article-body figcaption {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: -1em;
    margin-bottom: 2em;
}

/* ===== AI Bot Callout ===== */
.blog-ai-callout {
    background-color: #f0f8ff;
    border-left: 4px solid #3ea8ff;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 16px;
    line-height: 1.9;
    position: relative;
}

.blog-ai-callout::before {
    content: '🤖';
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.blog-ai-callout p {
    margin: 0 !important;
    color: #1a1a1a;
}

.blog-ai-callout strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* ===== CTA Buttons ===== */
.blog-cta-area {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.blog-cta-btn {
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none !important;
    text-align: center;
    line-height: 1.4;
    transition: opacity 0.2s;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
}

.blog-cta-btn.primary {
    background-color: #3ea8ff;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(62, 168, 255, 0.3);
}

.blog-cta-btn.primary:hover {
    opacity: 0.85;
}

.blog-cta-btn.secondary {
    background: #06c755;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.blog-cta-btn.secondary:hover {
    opacity: 0.85;
}

/* ===== Internal Link Arrows ===== */
.blog-article-body .blog-internal-link {
    display: inline-block;
    color: #3ea8ff;
    text-decoration: none;
    font-size: 15px;
    margin: 4px 0 8px;
}

.blog-article-body .blog-internal-link:hover {
    text-decoration: underline;
    opacity: 0.75;
}

/* ===== Table of Contents ===== */
.blog-toc {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 40px 0;
}

.blog-toc-title {
    font-size: 16px;
    font-weight: 700;
    color: #666;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
}

.blog-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.blog-toc ol li {
    counter-increment: toc-counter;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 6px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-toc ol li:last-child {
    border-bottom: none;
}

.blog-toc ol li a {
    color: #3ea8ff;
    text-decoration: none;
}

.blog-toc ol li a:hover {
    text-decoration: underline;
}

.blog-toc ol li a::before {
    content: counter(toc-counter) ". ";
    color: #bbb;
    font-weight: 600;
}

/* ===== Matrix Table ===== */
.blog-article-body .blog-matrix-table-wrapper {
    overflow-x: auto;
    margin: 32px -20px;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
    display: block;
}

.blog-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 16px;
    min-width: 580px;
    overflow-x: auto;
    display: table;
}

.blog-article-body table th {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 10px 14px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    color: #1a1a1a;
}

.blog-article-body table th:first-child {
    min-width: 110px;
    position: sticky;
    left: 0;
    z-index: 2;
    background: #e8e8e8;
}

.blog-article-body table td {
    border: 1px solid #ddd;
    padding: 10px 14px;
    vertical-align: middle;
    text-align: center;
}

.blog-article-body table td:first-child {
    text-align: left;
    font-weight: 600;
    background: #f8f9fa;
    white-space: nowrap;
    position: sticky;
    left: 0;
    z-index: 1;
}

.blog-article-body table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.blog-article-body table tbody tr:hover {
    background-color: #f0f8ff;
}

/* Table label */
.blog-table-label {
    font-size: 14px;
    font-weight: 700;
    color: #555;
    margin: 28px 0 12px;
    padding: 6px 12px;
    background: #f2f2f2;
    border-radius: 4px;
    display: inline-block;
}

/* ===== Industry Tags ===== */
.blog-industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 32px;
}

.blog-industry-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    color: #3ea8ff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-industry-tags a:hover {
    background: #e8f0fe;
    opacity: 0.85;
}

/* ===== Urgency Note ===== */
.blog-urgency-note {
    margin-top: 32px;
    padding: 16px 20px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    font-size: 14px;
    color: #8a6d3b;
    line-height: 1.7;
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .blog-article-wrapper {
        padding: 0 16px 20px;
        font-size: 16px;
    }

    .blog-article-header {
        padding-top: 32px;
    }

    .blog-article-header h1 {
        font-size: 22px;
        line-height: 1.5;
    }

    .blog-article-body {
        font-size: 16px;
    }

    /* スマホ: アイキャッチ全幅（左右余白ゼロ） */
    .blog-eyecatch {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-bottom: 32px;
        border-radius: 0;
    }

    .blog-eyecatch img {
        border-radius: 0;
    }

    .blog-article-body h2 {
        font-size: 19px;
        margin: 48px 0 20px;
    }

    .blog-article-body h3 {
        font-size: 17px;
        margin: 36px 0 14px;
    }

    .blog-cta-btn {
        display: block;
        width: 100%;
        margin: 8px 0;
        text-align: center;
        box-sizing: border-box;
        font-size: 15px;
        padding: 14px 16px;
    }

    .blog-toc {
        padding: 20px 16px;
    }

    .blog-article-body table {
        font-size: 13px;
    }

    .blog-article-body table th,
    .blog-article-body table td {
        padding: 8px 10px;
    }

    .blog-matrix-table-wrapper {
        margin: 16px -16px;
    }
}


/* ============================================================
   ARTICLE SHARED STYLES (統合インラインCSS)
   旧: 各HTMLファイルのインライン<style>ブロック
   2026-03-27 blog.cssに統合
   ============================================================ */

/* ===== Base Layout ===== */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 16px 20px;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.85;
  font-size: 16px;
}

/* ===== Eye-catch Image ===== */
.eyecatch-image {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.eyecatch-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ===== Title & Date ===== */
.blog-article h1 {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  color: #2d3748;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #2563a8;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.article-date {
  font-size: 13px;
  color: #888;
}

/* ===== Headings (blue tone) ===== */
.blog-article h2 {
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 700;
  margin: 56px 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #2563a8;
  color: #1a3a6b;
}
.blog-article h3 {
  font-size: clamp(17px, 3.8vw, 21px);
  font-weight: 700;
  margin: 40px 0 16px;
  padding-left: 12px;
  border-left: 4px solid #2563a8;
  color: #1a3a6b;
}
.blog-article h4 {
  font-size: clamp(15px, 3.5vw, 18px);
  font-weight: 700;
  margin: 32px 0 12px;
  color: #2d3748;
}

/* ===== Paragraphs ===== */
.blog-article p {
  margin: 0 0 18px;
}

/* ===== Section Image (H2 images) ===== */
.section-image {
  margin: 0 0 24px;
  border-radius: 8px;
  overflow: hidden;
}
h2 + .section-image {
  margin-top: 8px;
}
.section-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ===== Robot Speech Bubble ===== */
.robo-comment {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 32px 0;
  padding: 0;
}
.robo-avatar-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
}
.robo-avatar-wrap img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #dce1e6;
  background: #f5f5f5;
}
.robo-avatar-name {
  font-size: 12px;
  font-weight: 600;
  color: #2d3748;
  margin-top: 6px;
  text-align: center;
  white-space: nowrap;
}
.robo-bubble {
  position: relative;
  background: #f8f9fb;
  border: 1.5px solid #dce1e6;
  border-radius: 16px;
  padding: 18px 22px;
  flex: 1;
  min-width: 0;
}
.robo-bubble::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 9px solid #dce1e6;
}
.robo-bubble::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 23px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #f8f9fb;
}
.robo-bubble p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.8;
  color: #2d3748;
}
.robo-bubble p:last-child {
  margin-bottom: 0 !important;
}

/* ===== Links ===== */
.blog-article a {
  color: #1a73e8;
  text-decoration: none;
}
.blog-article a:hover {
  text-decoration: underline;
}

/* ===== Table (Matrix) ===== */
.matrix-scroll {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}
.blog-article table {
  border-collapse: collapse;
  width: 100%;
  min-width: 800px;
  font-size: 14px;
}
.blog-article th,
.blog-article td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}
.blog-article th {
  background: #f8f8f8;
  font-weight: 700;
}
.blog-article th a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 700;
}
.blog-article th a:hover {
  text-decoration: underline;
}
.blog-article td:first-child,
.blog-article th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
  min-width: 120px;
}
.blog-article th:first-child {
  background: #f8f8f8;
  z-index: 2;
}

/* ===== Horizontal Rule ===== */
.blog-article hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 40px 0;
}

/* ===== Industry Box ===== */
.industry-box {
  background: #f8f9fb;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  margin: 24px 0;
  padding: 16px 20px;
}
.industry-box-title {
  font-size: 14px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 8px;
}
.industry-box-list {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.8;
}

/* ===== TOC (Accordion) ===== */
.toc-wrap {
  background: #f8f9fb;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  margin: 32px 0;
  overflow: hidden;
}
.toc-wrap summary {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-wrap summary::-webkit-details-marker { display: none; }
.toc-wrap summary::before {
  content: "▶";
  font-size: 12px;
  transition: transform 0.2s;
  color: #5a6b7d;
}
.toc-wrap[open] summary::before {
  transform: rotate(90deg);
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-list li {
  border-top: 1px solid #e2e6ea;
}
.toc-list li a {
  display: block;
  padding: 14px 20px;
  color: #2d3748;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.toc-list li a:hover {
  background: #eef1f5;
}

/* ===== CTA Buttons ===== */
.cta-button {
  display: block;
  text-align: center;
  padding: 16px 24px;
  margin: 12px 0;
  border: 2px solid #2d3748;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  text-decoration: none;
  background: #fff;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.cta-button:hover {
  background: #e53e3e;
  color: #fff;
  border-color: #e53e3e;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229, 62, 62, 0.3);
}
.cta-button:active {
  transform: translateY(0);
  box-shadow: none;
}
.cta-button.cta-primary {
  background: #2d3748;
  color: #fff;
  border-color: #2d3748;
}
.cta-button.cta-primary:hover {
  background: #38a169;
  color: #fff;
  border-color: #38a169;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(56, 161, 105, 0.35);
}
.cta-button.cta-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ===== Gyoshu Link Table (業種記事用) ===== */
.blog-article table.gyoshu-table {
  font-size: 16px;
  min-width: 600px;
  width: 100%;
}
.blog-article table.gyoshu-table th,
.blog-article table.gyoshu-table td {
  font-size: 16px;
  text-align: left;
  white-space: nowrap;
  padding: 10px 12px;
  border: 1px solid #ddd;
}
.blog-article table.gyoshu-table th:first-child,
.blog-article table.gyoshu-table td:first-child {
  width: 32px;
  min-width: 32px;
  max-width: 40px;
  padding: 8px 6px;
  position: static;
}
.blog-article table.gyoshu-table td:nth-child(2) {
  white-space: nowrap;
}
.blog-article table.gyoshu-table a {
  font-size: 16px;
  font-weight: normal;
  color: #1a73e8;
  text-decoration: none;
}
.blog-article table.gyoshu-table a:hover {
  text-decoration: underline;
}

/* ===== Gyoshu Table (ハブ記事用: .gyoshu-table セレクタ) ===== */
.gyoshu-table {
  font-size: 14px;
  width: 100%;
  border-collapse: collapse;
}
.gyoshu-table th {
  background: #f8f8f8;
  font-weight: 700;
  text-align: left;
  padding: 8px 10px;
  border: 1px solid #ddd;
}
.gyoshu-table th:first-child,
.gyoshu-table td:first-child {
  text-align: left;
}
.gyoshu-table td:last-child,
.gyoshu-table th:last-child {
  text-align: left;
}
.gyoshu-table td:nth-child(2) {
  text-align: left;
}
.gyoshu-table a {
  font-size: 14px;
  color: #1a73e8;
  text-decoration: none;
}
.gyoshu-table a:hover {
  text-decoration: underline;
}

/* ===== Internal Link Box ===== */
.internal-link-box {
  display: block;
  padding: 14px 20px;
  margin: 10px 0;
  border: 1.5px solid #dce1e6;
  border-radius: 8px;
  background: #f8f9fb;
  color: #2d3748;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.internal-link-box:hover {
  background: #eef1f5;
  border-color: #b0b8c4;
  text-decoration: none;
}

/* ===== Author Box ===== */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #f0f4f8;
  border: 1px solid #d6e0eb;
  border-radius: 12px;
  padding: 28px 28px;
  margin: 56px 0 0;
}
.author-photo {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.author-info {
  flex: 1;
  min-width: 0;
}
.author-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5a6b7d;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.author-name {
  font-size: 18px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 2px;
}
.author-company {
  font-size: 13px;
  color: #5a6b7d;
  margin: 0 0 12px;
}
.author-bio {
  font-size: 14px;
  line-height: 1.8;
  color: #4a5568;
  margin: 0 0 14px;
}
.author-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #2d3748;
  border: 1.5px solid #b0b8c4;
  border-radius: 20px;
  padding: 6px 16px;
  text-decoration: none;
  transition: all 0.2s;
}
.author-link:hover {
  background: #2d3748;
  color: #fff;
  border-color: #2d3748;
  text-decoration: none;
}

/* ===== Lists ===== */
.blog-article ol {
  padding-left: 24px;
  margin: 0 0 18px;
}
.blog-article ol li {
  margin-bottom: 6px;
}

/* ===== Feature Article: 4-koma Manga ===== */
.manga-4koma {
  background: #fafbfc;
  border: 2px solid #e2e6ea;
  border-radius: 12px;
  margin: 32px 0;
  padding: 24px 20px;
}
.manga-4koma-title {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin: 0 0 20px;
}
.manga-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.manga-panel {
  background: #fff;
  border: 1.5px solid #dce1e6;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.manga-panel-number {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #2563a8;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.manga-panel-scene {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}
.manga-panel-dialogue {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}
.manga-panel-dialogue[lang="th"],
.manga-panel-dialogue[lang="en"] {
  font-size: 12px;
  color: #888;
}

/* ===== Feature Article: Before/After ===== */
.ba-box {
  background: #f8f9fb;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  margin: 16px 0 24px;
  padding: 16px 20px;
}
.ba-label-before {
  font-size: 13px;
  font-weight: 700;
  color: #c53030;
  margin: 0 0 4px;
}
.ba-label-after {
  font-size: 13px;
  font-weight: 700;
  color: #2563a8;
  margin: 12px 0 4px;
}
.ba-text {
  font-size: 15px;
  color: #2d3748;
  margin: 0;
  line-height: 1.7;
}

/* ===== Breadcrumb ===== */
.breadcrumb-nav {
  padding: 6px 0 8px;
  margin-bottom: 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  color: #aaa;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "＞";
  margin: 0 4px;
  color: #ccc;
  font-size: 10px;
}
.breadcrumb-item a {
  color: #999;
  text-decoration: none;
}
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.current { color: #aaa; }

/* ============================================================
   RESPONSIVE — Article Shared Styles
   ============================================================ */
@media (max-width: 600px) {
  .blog-article {
    padding: 16px 12px 40px;
  }
  .robo-avatar-wrap {
    width: 56px;
  }
  .robo-avatar-wrap img {
    width: 52px;
    height: 52px;
  }
  .robo-avatar-name {
    font-size: 11px;
  }
  .robo-comment {
    gap: 12px;
  }
  .robo-bubble {
    padding: 14px 16px;
    border-radius: 14px;
  }
  .robo-bubble p {
    font-size: 16px;
  }
  .blog-article h2 {
    margin: 44px 0 16px;
  }
  .blog-article h3 {
    margin: 32px 0 12px;
  }
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 18px;
    gap: 16px;
  }
  .author-photo {
    width: 80px;
    height: 80px;
  }
  .manga-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MOBILE FIX — スマホのテキスト肥大化を修正
   原因: インラインstyleにモバイル用サイズ指定がなかった
   2026-03-27 修正
   ============================================================ */
@media (max-width: 768px) {
  /* 業種記事の内部リンク */
  .internal-link-box {
    font-size: 14px;
  }
  /* 業種記事の業種一覧テーブル (.blog-article table.gyoshu-table 形式) */
  .blog-article table.gyoshu-table,
  .blog-article table.gyoshu-table th,
  .blog-article table.gyoshu-table td,
  .blog-article table.gyoshu-table a {
    font-size: 13px;
  }
  /* ハブ記事の業種テーブル (.gyoshu-table 形式) */
  .gyoshu-table,
  .gyoshu-table th,
  .gyoshu-table td,
  .gyoshu-table a {
    font-size: 13px;
  }
}

/* ============================================
   Manga PC/SP display switching
   ============================================ */
.manga-sp { display: none; }
.manga-pc { display: block; }

@media (max-width: 768px) {
  .manga-sp { display: block; }
  .manga-pc { display: none; }
}
