/* Blog Article Styles — グローバルリセットはテーマ共通CSSに委譲 */

.postPage .blog-entry { background-color: #efefef; text-align: center; }
.postPage .blog-entry .entry-wrap {
  display: inline-block; text-align: left; background-color: #fff;
  padding: 40px; margin: 80px auto 0; max-width: 1000px; box-sizing: border-box;
}

/* Breadcrumb */
.blog-breadcrumb ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 20px; font-size: 1.3rem; color: #666; }
.blog-breadcrumb ul li::after { content: " > "; margin: 0 8px; }
.blog-breadcrumb ul li:last-child::after { content: ""; }
.blog-breadcrumb ul li a { color: #29a9ff; text-decoration: none; }

/* Thumbnail */
.blog-thumb { margin-bottom: 24px; }
.blog-thumb-spacer { width: 100%; padding-top: 52.5%; background-size: cover; background-position: center; border-radius: 8px; }

/* Databox */
.entry-databox { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.entry-category { display: flex; gap: 8px; flex-wrap: wrap; }
.entry-category .cat-item { display: inline-block; background: #102c78; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.entry-date { font-size: 1.3rem; color: #888; }

/* Title */
.entry-title { font-size: 2.8rem; font-weight: 900; color: #102c78; line-height: 1.4; margin: 0 0 32px; }

/* Headings */
.entry-body h2.wp-block-heading {
  font-size: 2.4rem; font-weight: bold; color: #102c78;
  padding: 16px 24px; border-left: 8px solid #29a9ff;
  background: rgba(41,169,255,.25); margin: 64px 0 40px;
}
.entry-body h3.wp-block-heading {
  position: relative; font-size: 2.2rem; font-weight: bold;
  margin: 64px 0 40px; padding-bottom: 16px; border-bottom: 4px solid #eee;
}
.entry-body h3.wp-block-heading::before {
  position: absolute; content: ""; left: 0; bottom: -4px;
  height: 4px; width: 200px; background-color: #29a9ff;
}
.entry-body h4 {
  font-size: 1.8rem; font-weight: bold; color: #102c78;
  margin: 32px 0 16px; padding-left: 16px; border-left: 4px solid #29a9ff;
}

/* Lists */
.entry-body ul.wp-block-list, .entry-body ol.wp-block-list { padding-left: 24px; margin: 16px 0; }
.entry-body ul.wp-block-list li, .entry-body ol.wp-block-list li { margin-bottom: 8px; }

/* Tables */
.entry-body figure.wp-block-table { margin: 24px 0; overflow-x: auto; }
.entry-body table.has-fixed-layout { width: 100%; border-collapse: collapse; }
.entry-body table.has-fixed-layout th { background: #f6fafd; color: #102c78; font-weight: 700; padding: 12px 16px; border: 1px solid #ddd; text-align: left; white-space: nowrap; }
.entry-body table.has-fixed-layout td { padding: 12px 16px; border: 1px solid #ddd; vertical-align: top; }

/* Highlight Box */
.highlight-box {
  background: #f6fafd; border-left: 4px solid #29a9ff;
  padding: 20px 24px; margin: 24px 0; border-radius: 0 8px 8px 0;
}
.highlight-box p { margin: 0; }

/* Article Summary Box */
.article-summary-box {
  background: linear-gradient(135deg, #f6fafd 0%, #e8f4fd 100%);
  border: 2px solid #29a9ff; border-radius: 12px;
  padding: 24px 28px; margin: 32px 0;
}
.article-summary-box .summary-title { font-size: 1.8rem; font-weight: 700; color: #102c78; margin-bottom: 12px; }
.article-summary-box ul { padding-left: 20px; margin: 0; }
.article-summary-box li { margin-bottom: 6px; font-size: 1.5rem; }

/* TOC */
#toc_container { background: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; padding: 20px 28px; margin: 32px 0; }
#toc_container .toc_title { font-size: 1.8rem; font-weight: 700; color: #102c78; margin-bottom: 12px; }
#toc_container .toc_list { list-style: none; padding: 0; margin: 0; }
#toc_container .toc_list li { margin-bottom: 8px; }
#toc_container .toc_list li a { color: #29a9ff; text-decoration: none; font-size: 1.5rem; }
#toc_container .toc_list li ul { padding-left: 20px; margin-top: 6px; }

/* FAQ */
.faq-item-blog { border: 1px solid #ddd; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-q-blog { background: #f6fafd; padding: 16px 20px; font-weight: 600; }
.faq-q-blog::before { content: "Q. "; color: #29a9ff; font-weight: 700; }
.faq-a-blog { padding: 16px 20px; border-top: 1px solid #eee; }
.faq-a-blog::before { content: "A. "; color: #102c78; font-weight: 700; }

/* CTA Button */
.wp-block-buttons { text-align: center; margin: 40px 0; }
.wp-block-button.is-style-fill .wp-block-button__link {
  display: inline-block; padding: 16px 40px; font-size: 1.6rem; font-weight: 700;
  color: #fff; border-radius: 40px; text-decoration: none;
  background: linear-gradient(90deg, #102c78 0%, #29a9ff 50%, #102c78 100%);
  background-size: 200% auto; box-shadow: 0 8px 24px rgba(16,44,120,.15);
  transition: background-position .3s;
}
.wp-block-button.is-style-fill .wp-block-button__link:hover { background-position: right center; }

/* Author Box */
.authorbox { background: rgba(41,169,255,.1); padding: 24px 40px; border-radius: 8px; margin: 48px 0 0; }
.authorbox-inner { display: flex; gap: 20px; align-items: flex-start; }
.author-head { font-size: 1.4rem; font-weight: 700; color: #102c78; margin-bottom: 12px; }
.author-thumb img { border-radius: 50%; width: 96px; height: 96px; }
.author-name { font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; }
.author-description { font-size: 1.4rem; color: #666; line-height: 1.6; }

/* CTA Area */
#cta-area { position: relative; text-align: center; padding: 60px 20px; background: #002D5B; color: #fff; }
#cta-area p { font-size: 2.0rem; font-weight: 700; margin: 0 0 24px; }
.cta-button-svg { display: inline-block; text-decoration: none; }

/* Category List */
.category-list { background: #efefef; padding: 40px 20px; text-align: center; }
.category-list h2 { font-size: 2.0rem; color: #102c78; margin-bottom: 20px; }
.category-list ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 0; }
.category-list ul li a { display: inline-block; background: #fff; color: #102c78; padding: 8px 20px; border-radius: 24px; text-decoration: none; font-weight: 600; border: 1px solid #ddd; font-size: 1.4rem; }

/* Header/Footer styles are handled by theme's shared CSS */

/* SVG Figure */
.svg-figure { margin: 32px 0; text-align: center; }
.svg-figure svg { max-width: 100%; height: auto; }
.svg-figure figcaption { font-size: 1.3rem; color: #888; margin-top: 8px; }

/* Service Card */
.service-card-blog {
  background: #fff; border: 1px solid #ddd; border-radius: 12px;
  padding: 24px; margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* Responsive */
@media (max-width: 768px) {
  .postPage .blog-entry .entry-wrap { padding: 20px 16px; margin-top: 60px; }
  .entry-title { font-size: 2.2rem; }
  .entry-body h2.wp-block-heading { font-size: 2.0rem; padding: 12px 16px; }
  .entry-body h3.wp-block-heading { font-size: 1.8rem; }
  .authorbox-inner { flex-direction: column; align-items: center; text-align: center; }
  .authorbox { padding: 20px; }
  .article-summary-box { padding: 16px 20px; }
  .highlight-box { padding: 16px 20px; }
  #toc_container { padding: 16px 20px; }
}