@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    2.0.0
*/

/* =====================================================================
   WPセンターブログ リデザイン
   Cocoon標準マークアップへの適用レイヤー。原稿HTMLは変更せずCSSで再現する。
   ===================================================================== */

/* ---- デザイントークン ---- */
:root {
  --wpc-blue: #114d9e;
  --wpc-blue-dark: #0d3a77;
  --wpc-navy: #151f2c;
  --wpc-orange: #ff8929;
  --wpc-orange-dark: #f07a1a;
  --wpc-surface: #f7f8fa;
  --wpc-surface-blue: #f4f8fd;
  --wpc-surface-blue-2: #eef4fc;
  --wpc-line: #e6eaef;
  --wpc-line-header: #e5eaf0;
  --wpc-text: #2a3542;
  --wpc-heading: #151f2c;
  --wpc-sub: #5a6a7c;
  --wpc-sub-2: #8a97a6;
  --wpc-sub-3: #9aa5b3;
  --wpc-marker: linear-gradient(transparent 58%, #fff1a8 58%);
  --wpc-alert: #d64545;
  --wpc-alert-bg: #fff7ef;
  --wpc-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --wpc-header-h: 73px;
}

/* ---- ベース ---- */
html {
  overflow-x: clip;
}
body,
body.ff-hiragino {
  font-family: var(--wpc-font);
  color: #1a2533;
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--wpc-blue);
  text-decoration: none;
}
a:hover {
  color: var(--wpc-blue-dark);
}
img {
  max-width: 100%;
}
#header-container-in.wrap,
.content-in.wrap,
.footer-in.wrap {
  width: auto;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.header-in.wrap,
.navi-in.wrap {
  width: auto;
  padding: 0;
}
.content {
  margin-top: 32px;
}
/* Cocoonの .wrap（固定幅）は子テーマ側で可変幅にする（各要素の最大幅は個別に指定） */
.wrap {
  width: auto;
}
/* 本文・記事末に付く左右20pxの余白（1023px以下）を打ち消し、デザインどおりの本文幅にする */
.article > .entry-content,
.article > .article-footer {
  padding-left: 0;
  padding-right: 0;
}
.content-in {
  display: flex;
  flex-wrap: nowrap;
  gap: 48px;
  /* サイドバー列を本文と同じ高さに伸ばし、追従エリア（sticky）が動ける余白を確保する */
  align-items: stretch;
}
.main {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.sidebar {
  width: 300px;
  flex: 0 0 300px;
  padding: 0;
  border: 0;
  background: transparent;
}

/* ---- ヘッダー ---- */
#header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--wpc-line-header);
}
.admin-bar #header-container {
  top: 32px;
}
#header-container-in.wrap {
  padding-top: 14px;
  padding-bottom: 14px;
}
.header-container-in.hlt-top-menu .header {
  background: transparent;
  min-height: 0;
  height: auto;
  padding: 0;
}
.header,
.header-in {
  min-height: 0;
  height: auto;
}
.header-container-in.hlt-top-menu .tagline,
.tagline {
  display: none;
}
.header-container-in.hlt-top-menu .logo-header,
.header-container-in.hlt-top-menu .logo-header .site-name {
  max-height: none;
  margin: 0;
}
.header-container-in.hlt-top-menu .site-name-text-link {
  margin: 0;
  display: block;
}
.wpc-logo .site-name-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wpc-navy);
  white-space: nowrap;
}
.wpc-logo .wpc-brand-icon {
  width: 44px;
  height: 44px;
  max-height: none;
  display: block;
}
#header-container .wpc-logo .site-name-text-link {
  padding: 0;
  margin: 0;
}
#header-container .wpc-logo .wpc-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}
#header-container .wpc-logo .wpc-brand-name,
#header-container .wpc-logo .wpc-brand-tagline {
  display: block;
}
.wpc-brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--wpc-navy);
}
.wpc-brand-accent {
  color: var(--wpc-blue);
}
.wpc-brand-tagline {
  font-size: 10px;
  color: var(--wpc-sub);
  letter-spacing: 0.08em;
  font-weight: 400;
}
.header-container-in.hlt-top-menu .navi {
  width: auto;
  background: transparent;
}
#navi .navi-in > .menu-pc {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
#navi .navi-in > .menu-pc > li {
  height: auto;
  line-height: 1.6;
  margin: 0;
}
#navi .navi-in > .menu-pc > li > a {
  font-size: 14px;
  font-weight: 500;
  color: #1a2533;
  padding: 0;
  height: auto;
  line-height: 1.6;
  transition: color 0.2s;
}
#navi .navi-in > .menu-pc > li > a:hover {
  color: var(--wpc-blue-dark);
  background: transparent;
  transform: none;
}
#navi .navi-in > .menu-pc > li:not(.wpc-nav-cta) > a:hover .item-label {
  text-decoration: underline;
}
#navi .navi-in > .menu-pc .caption-wrap {
  height: auto;
  line-height: inherit;
}
#navi .navi-in > .menu-pc .item-label {
  font-weight: 500;
}
#navi .navi-in > .menu-pc > li.wpc-nav-cta > a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--wpc-orange);
  color: #fff;
  padding: 12px 18px 12px 22px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 10px rgba(255, 137, 41, 0.35);
  transition: background 0.2s, box-shadow 0.2s;
}
#navi .navi-in > .menu-pc > li.wpc-nav-cta > a:hover {
  background: var(--wpc-orange-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 137, 41, 0.45);
}
/* ---- 矢印（ホバーでは色だけ変わり矢印は止まる。ホバーを外すと矢印が右から滑り込む） ---- */
:root {
  --wpc-chevron: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'><path d='M1.6 1.4L6.2 6l-4.6 4.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
@keyframes wpcArrowIn {
  0% { transform: translateX(30px); }
  60% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}
@keyframes wpcArrowBgIn {
  0% { background-position: calc(50% + 30px) 50%; }
  60% { background-position: calc(50% - 3px) 50%; }
  100% { background-position: 50% 50%; }
}
.wpc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.wpc-arrow::before {
  content: "";
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.4);
}
.wpc-arrow-clip {
  display: inline-flex;
  align-items: center;
  width: 12px;
  height: 14px;
  padding-left: 2px;
  box-sizing: border-box;
  overflow: hidden;
}
.wpc-arrow-glyph {
  display: block;
  width: 8px;
  height: 12px;
  background: var(--wpc-chevron) center / 8px 12px no-repeat;
  animation: wpcArrowIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
a:hover .wpc-arrow-glyph {
  animation: none;
}

/* ---- パンくず ---- */
.breadcrumb {
  font-size: 12px;
  color: #6b7a8d;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.breadcrumb div {
  display: inline-flex;
  align-items: center;
}
/* 現在のページ（リンクなし）：長いタイトルは1行で省略 */
.breadcrumb div:last-child {
  min-width: 0;
  max-width: 100%;
}
.breadcrumb div:last-child > span.breadcrumb-caption {
  color: #8a97a6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumb a {
  color: #6b7a8d;
}
.breadcrumb a:hover {
  color: var(--wpc-blue-dark);
  text-decoration: underline;
}
/* 2カラムの上に表示するパンくず */
.breadcrumb.sbp-main-before,
.breadcrumb.pbp-main-before {
  max-width: 1080px;
  margin: 16px auto 0;
  padding: 0 24px;
  background: transparent;
  box-sizing: border-box;
}
.breadcrumb.sbp-main-before + .content,
.breadcrumb.pbp-main-before + .content {
  margin-top: 24px;
}
.breadcrumb .sp {
  color: #6b7a8d;
  margin: 0 8px;
}
.breadcrumb .fa-fw {
  display: none;
}

/* ---- 404ページ：Cocoonの404画像は表示しない ---- */
.error404 .article img.not-found {
  display: none;
}

/* ---- 記事ヘッダー ---- */
.article {
  padding: 0;
  margin-bottom: 0;
}
.article-header {
  margin-bottom: 36px;
}
/* カテゴリー・日付の行 → タイトル → アイキャッチ → シェア */
.article-header.entry-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
}
.article-header.entry-header > * {
  grid-column: 1 / -1;
}
.article-header.entry-header > .wpc-article-cat {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin: 0 0 20px;
}
.article-header.entry-header > .date-tags {
  grid-row: 1;
  margin: 0 0 20px;
}
.article-header.entry-header > .entry-title {
  grid-row: 2;
}
.article-header.entry-header > .eye-catch-wrap {
  grid-row: 3;
}
.article-header.entry-header > .sns-share {
  grid-row: 4;
}
/* カテゴリーがある場合は日付をバッジの右に並べる（ない場合は日付だけの行） */
.article-header.entry-header > .wpc-article-cat ~ .date-tags {
  grid-column: 2;
}
.wpc-article-cat {
  display: inline-block;
  background: var(--wpc-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  padding: 5px 14px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
}
.wpc-article-cat:hover {
  background: var(--wpc-blue-dark);
  color: #fff;
}
/* Cocoonはスマホで記事タイトルに余白（0.6em 0.8em）を付けるため打ち消す */
.article .entry-title,
.entry-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: var(--wpc-heading);
  margin: 0 0 24px;
  padding: 0;
  text-wrap: pretty;
}
.eye-catch-wrap {
  margin: 0 0 20px;
}
.eye-catch {
  margin: 0;
  text-align: left;
}
.eye-catch img,
.eye-catch-wrap img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
}
.eye-catch .cat-label {
  display: none;
}
.article .date-tags {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}
.article .date-tags .post-date,
.article .date-tags .post-update {
  font-size: 13px;
  color: #6b7a8d;
  letter-spacing: 0.05em;
}
.article .date-tags .fa,
.article .date-tags .fas,
.article .date-tags .far {
  display: none;
}

/* SNSシェア */
.sns-share {
  margin: 0 0 16px;
}
.sns-share.ss-top {
  margin: 0 0 16px;
}
.sns-share-message {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--wpc-sub-2);
  text-align: left;
  margin: 0 0 10px;
}
.sns-share-buttons,
.sns-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.sns-share-buttons a,
.sns-buttons a {
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  background: var(--wpc-surface);
  color: var(--wpc-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 0;
  transition: background 0.2s;
}
.sns-share-buttons a:hover,
.sns-buttons a:hover {
  background: #e9eff7;
  color: var(--wpc-heading);
}
.sns-share .sns-buttons a .button-caption,
.sns-share .sns-buttons a .share-count,
.sns-share.ss-high-and-low-lc a .button-caption.button-caption {
  display: none;
}
.sns-share.ss-high-and-low-lc a .social-icon {
  display: inline-flex;
  font-size: 15px;
  line-height: 1;
}
.sns-share.ss-top .sns-share-buttons::before,
.sns-share.ss-top .sns-buttons::before {
  content: "SHARE";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--wpc-sub-2);
  align-self: center;
  margin-right: 6px;
}

/* ---- 本文 ---- */
.entry-content {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: var(--wpc-text);
}
.entry-content p {
  margin: 0 0 22px;
}
.entry-content p.wpc-blank {
  display: none;
}
.entry-content strong,
.entry-content b {
  color: var(--wpc-heading);
}
.entry-content p a,
.entry-content li a,
.entry-content td a {
  color: var(--wpc-blue);
  text-decoration: underline;
  text-decoration-color: rgba(17, 77, 158, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s, background-color 0.2s;
}
.entry-content p a:hover,
.entry-content li a:hover,
.entry-content td a:hover {
  color: var(--wpc-blue-dark);
  text-decoration-color: var(--wpc-blue);
  background: rgba(17, 77, 158, 0.06);
}
.entry-content p a strong {
  color: inherit;
}
.entry-content p a.btn,
.entry-content .btn-wrap a {
  text-decoration: none;
  background-clip: padding-box;
}

/* 見出し */
.entry-content [id^="toc"] {
  scroll-margin-top: 110px;
}
.article h2,
.entry-content h2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 88px 0 32px;
  padding: 0 0 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--wpc-line);
  border-radius: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--wpc-heading);
  scroll-margin-top: 110px;
}
.article h2::before,
.entry-content h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--wpc-blue);
}
/* 本文中のバナー（「本文中」ウィジェット・最初の見出しの前）と前後の余白 */
.entry-content .widget-single-content-middle,
.entry-content .widget-page-content-middle {
  margin: 32px 0;
}
.entry-content .widget-single-content-middle img,
.entry-content .widget-page-content-middle img {
  display: block;
  width: 100%;
  height: auto;
}
.entry-content > h2:first-child {
  margin-top: 0;
}
.article h3,
.entry-content h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--wpc-heading);
  margin: 56px 0 24px;
  padding: 4px 0 4px 18px;
  border: 0;
  border-left: 3px solid var(--wpc-blue);
  background: transparent;
  border-radius: 0;
  scroll-margin-top: 110px;
}
.article h3 strong,
.entry-content h3 strong {
  font-weight: 700;
}
.article h4,
.entry-content h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--wpc-heading);
  margin: 40px 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-margin-top: 110px;
}
.article h4::before,
.entry-content h4::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--wpc-blue);
  flex-shrink: 0;
}
.article h5,
.entry-content h5,
.article h6,
.entry-content h6 {
  font-size: 16px;
  font-weight: 700;
  color: var(--wpc-heading);
  margin: 32px 0 14px;
  border: 0;
  padding: 0;
  background: transparent;
}

/* リスト */
.entry-content ul,
.entry-content ol {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article ul li,
.article ol li,
.entry-content ul > li,
.entry-content ol > li {
  display: block;
  position: relative;
  margin: 0;
}
.entry-content ul > li {
  padding: 6px 0 6px 18px;
}
.entry-content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  background: var(--wpc-blue);
}
.entry-content ol {
  counter-reset: wpc-n;
}
.entry-content ol > li {
  padding: 6px 0 6px 38px;
  counter-increment: wpc-n;
}
.entry-content ol > li::before {
  content: counter(wpc-n);
  position: absolute;
  left: 0;
  top: 9px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wpc-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.entry-content li > ul,
.entry-content li > ol {
  margin: 6px 0 0;
  width: 100%;
}
.entry-content li img {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 8px;
}
.entry-content td ul,
.entry-content td ol {
  margin: 0;
  gap: 2px;
  font-size: inherit;
}
.entry-content td ul > li {
  padding: 2px 0 2px 16px;
}
.entry-content td ul > li::before {
  top: 12px;
}
.entry-content td ol > li {
  padding: 2px 0 2px 30px;
}
.entry-content td ol > li::before {
  top: 4px;
  width: 20px;
  height: 20px;
  font-size: 11px;
}

/* マーカー（Cocoon の各種 marker を1色に統一） */
.entry-content mark,
.entry-content .marker,
.entry-content .marker-red,
.entry-content .marker-blue,
.entry-content .marker-under,
.entry-content .marker-under-red,
.entry-content .marker-under-blue {
  background: var(--wpc-marker);
  padding: 0 2px;
  font-weight: 700;
  color: var(--wpc-heading);
}

/* 画像 */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.entry-content figure {
  margin: 0 0 32px;
}
.entry-content figcaption {
  font-size: 12px;
  color: #6b7a8d;
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.entry-content .aligncenter,
.entry-content img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.article a img:hover,
.article img:hover,
.sidebar img:hover,
.logo img:hover {
  opacity: 1;
}
.article a img,
.sidebar a img {
  transition: opacity 0.2s;
}
.article a:hover > img,
.sidebar a:hover > img,
.article a:hover > picture > img,
.sidebar a:hover > picture > img {
  opacity: 0.85;
}

/* 引用（デザインの引用ボックスの青） */
.entry-content blockquote {
  margin: 48px 0;
  padding: 36px 40px 30px;
  background: #2d4ba0;
  border: 0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.entry-content blockquote::before {
  content: "\201D";
  position: absolute;
  top: -20px;
  right: 8px;
  left: auto; /* Cocoonの「左上に配置」の指定を打ち消す */
  font-size: 120px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: #fff;
  opacity: 0.1;
  pointer-events: none;
  font-family: inherit;
}
.entry-content blockquote::after {
  display: none;
}
.entry-content blockquote p {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: #fff;
  position: relative;
  max-width: 560px;
}
.entry-content blockquote p:last-child {
  margin-bottom: 0;
}
/* 引用内のリンク・太字（青い背景でも読めるよう白にする） */
.entry-content blockquote strong,
.entry-content blockquote b,
.entry-content blockquote a,
.entry-content blockquote a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  background: none;
}
.entry-content blockquote cite {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.06em;
  color: #dbe6f4;
  position: relative;
}
.entry-content blockquote cite::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #fff;
  opacity: 0.6;
}

/* コード */
.entry-content pre {
  background: var(--wpc-navy);
  color: #dbe6f4;
  border: 0;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0;
  margin: 0 0 20px;
  overflow-x: auto;
}
.entry-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: 0;
}
.entry-content :not(pre) > code {
  background: #f0f3f7;
  color: var(--wpc-text);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
  border: 0;
}

/* 目次（Cocoon .toc） */
.toc,
.entry-content .toc,
.nwa .toc {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: var(--wpc-surface);
  border: 0;
  border-radius: 10px;
  padding: 28px 36px;
  margin: 0 0 48px;
  font-size: inherit;
}
.toc-checkbox {
  display: none;
}
.toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--wpc-sub);
  margin: 0 0 12px;
  padding: 0;
  text-align: left;
  display: block;
  cursor: pointer;
}
.toc-title::before,
.toc-title::after {
  display: none;
}
.toc-content {
  display: block;
}
.toc .toc-list,
.toc .toc-list ul,
.toc .toc-list ol,
.toc-content ol,
.toc-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
  gap: 0;
}
.toc-content > ol > li,
.toc-content > ul > li {
  border-bottom: 1px solid var(--wpc-line);
  padding: 8px 0;
  display: block;
  margin: 0;
}
.toc-content > ol > li::before,
.toc-content > ul > li::before {
  display: none;
}
.toc-content > ol > li:last-child,
.toc-content > ul > li:last-child {
  border-bottom: 0;
}
.toc-content > ol > li > a,
.toc-content > ul > li > a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 4px 0;
  color: var(--wpc-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.2s;
}
.toc-content > ol > li > a::before,
.toc-content > ul > li > a::before {
  content: "";
  width: 8px;
  height: 2px;
  background: var(--wpc-blue);
  flex-shrink: 0;
  align-self: center;
}
.toc-content ol ol,
.toc-content ul ul {
  padding-left: 42px;
  margin-top: 2px;
}
.toc-content ol ol li,
.toc-content ul ul li {
  display: block;
  padding: 0;
  border: 0;
  margin: 0;
}
.toc-content ol ol li::before,
.toc-content ul ul li::before {
  display: none;
}
.toc-content ol ol li a,
.toc-content ul ul li a {
  display: block;
  padding: 3px 0;
  color: #4a5866;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.2s;
}
.toc-content ol ol ol,
.toc-content ul ul ul {
  padding-left: 16px;
}
.toc-content ol ol ol li a,
.toc-content ul ul ul li a {
  font-size: 13px;
  color: #6b7a8d;
}
.toc-content a:hover {
  color: var(--wpc-blue);
  text-decoration: none;
}
/* お客様の声：目次の「Q1」と質問文 */
.toc-content > ol > li > a:has(> .wpc-toc-q) {
  gap: 28px;
  font-weight: 500;
  font-size: 16px;
}
.toc-content > ol > li > a:has(> .wpc-toc-q)::before {
  display: none;
}
.wpc-toc-q {
  position: relative;
  flex-shrink: 0;
  min-width: 1.6em;
  color: var(--wpc-blue);
  font-size: 15px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* テーブル */
.entry-content table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--wpc-text);
  border: 1px solid var(--wpc-line);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 32px;
  height: auto;
}
.entry-content table th,
.entry-content table td {
  padding: 14px 18px;
  border: 0;
  border-top: 1px solid var(--wpc-line);
  border-left: 1px solid var(--wpc-line);
  vertical-align: top;
  background: #fff;
  text-align: left;
}
.entry-content table tr > :first-child {
  border-left: 0;
}
.entry-content table tr:first-child > th,
.entry-content table tr:first-child > td {
  border-top: 0;
}
.entry-content thead th,
.entry-content table tr:first-child > th {
  background: var(--wpc-blue);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.entry-content tbody th,
.entry-content tbody tr > td:first-child {
  background: var(--wpc-surface);
  font-weight: 700;
  color: var(--wpc-heading);
}
.entry-content tbody tr:nth-child(even) td {
  background: #fff;
}
.entry-content tbody tr:nth-child(even) td:first-child {
  background: var(--wpc-surface);
}
.entry-content table td > div,
.entry-content table td > div > div {
  margin: 0;
}
.entry-content .scrollable-table {
  margin: 0 0 32px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}
.entry-content .scrollable-table table {
  margin: 0;
}
.entry-content .scrollable-table.stfc-sticky table tr > :first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 var(--wpc-line);
}

/* 「WordPress保守代行とは？」記事：サービス内容表（先頭行は見出し行） */
.entry-content #wp-services tr:first-child > td {
  background: var(--wpc-blue);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.entry-content #wp-services tr:first-child > td strong {
  color: #fff;
}

/* 「WordPress保守代行とは？」記事：12社比較表（#hosyu） */
.entry-content #hosyu {
  width: 100% !important;
  min-width: 1180px;
  font-size: 13px;
  border-color: var(--wpc-line) !important;
}
.entry-content #hosyu td {
  text-align: center;
  padding: 12px 14px;
  white-space: nowrap;
  width: auto !important;
  border-color: var(--wpc-line);
}
.entry-content #hosyu td span[style] {
  font-size: 13px !important;
}
.entry-content #hosyu tr:first-child > td {
  background: var(--wpc-blue);
  color: #fff;
  font-weight: 700;
  position: sticky;
  top: 0;
}
.entry-content #hosyu tr:first-child > td:first-child {
  z-index: 3;
  background: var(--wpc-blue);
}
.entry-content #hosyu tr > td:first-child {
  text-align: left;
  min-width: 150px;
  white-space: normal;
}
.entry-content #hosyu tr:not(:first-child) > td:nth-child(2) {
  background: var(--wpc-surface-blue);
  font-weight: 700;
}
.entry-content #hosyu tr:first-child > td:nth-child(2) {
  background: var(--wpc-blue-dark);
  box-shadow: inset 0 -3px 0 var(--wpc-orange);
}
.entry-content #hosyu tr:first-child > td:nth-child(2) span::after {
  content: "おすすめ";
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffb46e;
  margin-top: 4px;
  line-height: 1.4;
}
.entry-content #hosyu td span[style*="#0000ff"] {
  color: var(--wpc-blue) !important;
  font-weight: 900;
}
.entry-content #hosyu td span[style*="#008000"] {
  color: var(--wpc-orange) !important;
  font-weight: 900;
}
.entry-content #hosyu tr:not(:first-child) > td:not(:first-child) span:not([style*="#0000ff"]):not([style*="#008000"]) {
  color: var(--wpc-sub-2);
}
.entry-content #hosyu a {
  font-size: 12px;
  font-weight: 700;
  color: var(--wpc-blue);
  border: 1px solid var(--wpc-blue);
  border-radius: 2px;
  padding: 5px 10px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.entry-content #hosyu a:hover {
  background: var(--wpc-blue);
  color: #fff;
}
.entry-content .scrollable-table:has(#hosyu) {
  border: 1px solid var(--wpc-line);
}
.entry-content .scrollable-table:has(#hosyu) table {
  border: 0;
  border-radius: 0;
}

/* Cocoon スクロールヒント */
.scroll-hint-icon {
  border-radius: 6px;
  background: rgba(21, 31, 44, 0.75);
}

/* ブログカード（内部・外部リンク） */
.blogcard-wrap {
  margin: 0 0 32px;
  padding: 0;
  display: block;
}
.blogcard-wrap:hover {
  background: transparent;
}
.blogcard-type {
  margin: 0 0 32px;
}
.blogcard-type .blogcard-wrap {
  margin: 0;
}
/* 画像（左）／タイトル・抜粋とその下にドメイン（右） */
.blogcard {
  background: var(--wpc-surface);
  border: 0;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  grid-template-areas:
    "thumb content"
    "thumb footer";
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  align-items: start;
  transition: background 0.2s;
  position: relative;
}
.blogcard:hover {
  background: #eef3f9;
}
.entry-content .blogcard-thumbnail,
.blogcard-thumbnail {
  grid-area: thumb;
  flex-shrink: 0;
  width: 160px;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  float: none;
  background: #dbe6f1;
}
.blogcard-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.blogcard:hover .blogcard-thumbnail img {
  transform: scale(1.06);
}
.entry-content .blogcard-content,
.blogcard-content {
  grid-area: content;
  margin: 0;
  min-width: 0;
  min-height: 0;
  max-height: none;
  height: auto;
}
.blogcard-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--wpc-heading);
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  transition: color 0.25s;
  max-height: none;
  overflow: visible;
}
.blogcard:hover .blogcard-title {
  color: var(--wpc-blue);
}
.blogcard-snippet {
  font-size: 13px;
  color: var(--wpc-sub);
  line-height: 1.8;
  letter-spacing: 0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: none;
}
.blogcard-footer {
  grid-area: footer;
  margin-top: 8px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--wpc-blue);
  letter-spacing: 0.04em;
}
.blogcard-footer::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--wpc-blue);
}
.blogcard-site {
  float: none;
  display: inline-flex;
  align-items: center;
}
.blogcard-favicon,
.blogcard-date,
.blogcard-post-date,
.blogcard-update-date {
  display: none;
}
.blogcard-domain {
  color: var(--wpc-blue);
}
.blogcard-label,
.blogcard-type .blogcard-label {
  display: none;
}
.blogcard-wrap,
.blogcard-type .blogcard-wrap {
  width: 100%;
  max-width: none;
}
/* 種類つきのブログカード（参考記事・参考リンク・関連記事など）：左上にCocoonの種類名のラベルを出す
   （文字はCocoonの指定をそのまま使う。サービス詳細カードだけ「詳細はこちら」） */
.blogcard-type:not(.bct-none) .blogcard {
  padding-top: 40px;
}
.blogcard-type:not(.bct-none) .blogcard-label {
  display: inline-flex;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--wpc-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 10px 0 10px 0;
  line-height: 1;
  border: 0;
  margin: 0;
  width: auto;
  height: auto;
}
.blogcard-type:not(.bct-none) .blogcard-label .fa,
.blogcard-type:not(.bct-none) .blogcard-label .fas,
.blogcard-type:not(.bct-none) .blogcard-label .far {
  display: none;
}
/* サービス詳細カード（bct-detail）は強調版 */
.bct-detail .blogcard {
  padding: 40px 28px 24px;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 24px;
}
.bct-detail .blogcard-label::after {
  content: "詳細はこちら";
}
.bct-detail .blogcard-thumbnail {
  width: 200px;
}
.bct-detail .blogcard-snippet {
  -webkit-line-clamp: 3;
}

/* ボックス（補足・注意） */
.entry-content .information-box,
.entry-content .blank-box,
.entry-content .memo-box,
.entry-content .question-box,
.entry-content .comment-box,
.entry-content .common-icon-box,
.entry-content .primary-box,
.entry-content .secondary-box,
.entry-content .info-box {
  position: relative;
  background: var(--wpc-surface);
  border: 0;
  border-radius: 10px;
  padding: 22px 24px 22px 60px;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--wpc-text);
}
.entry-content .information-box::before,
.entry-content .memo-box::before,
.entry-content .primary-box::before,
.entry-content .secondary-box::before,
.entry-content .info-box::before,
.entry-content .blank-box::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0;
  font-size: 0;
  background: var(--wpc-blue) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M6 12l4 4 8-9"/></svg>') center/16px no-repeat;
}
.entry-content .information-box::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2.4" stroke-linecap="round"><path d="M12 8h.01M12 11v5"/></svg>');
}
.entry-content .alert-box,
.entry-content .warning-box {
  position: relative;
  background: var(--wpc-alert-bg);
  border: 0;
  border-radius: 10px;
  padding: 22px 24px 22px 60px;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--wpc-text);
}
.entry-content .alert-box::before,
.entry-content .warning-box::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0;
  font-size: 0;
  background: var(--wpc-orange) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2.4" stroke-linecap="round"><path d="M12 7v6M12 17h.01"/></svg>') center/16px no-repeat;
}
/* ラベル付き（bb-tab）ボックス：POINT */
.entry-content .blank-box.bb-tab {
  padding: 56px 32px 28px;
  margin: 48px 0 32px;
  font-weight: 700;
  color: var(--wpc-heading);
}
.entry-content .blank-box.bb-tab::before {
  display: none;
}
.entry-content .blank-box.bb-tab .bb-label {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--wpc-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 18px;
  border-radius: 10px 0 10px 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  margin: 0;
  width: auto;
  height: auto;
}
.entry-content .blank-box.bb-tab .bb-label .fa {
  display: none;
}
.entry-content .blank-box.bb-tab.bb-point .bb-label::after {
  content: "POINT";
}
.entry-content .blank-box.bb-tab strong {
  color: var(--wpc-heading);
}
/* 付箋風（sticky）ボックス */
.entry-content .blank-box.sticky,
.entry-content p.blank-box.sticky {
  padding: 14px 20px;
  margin: 32px 0 20px;
  background: var(--wpc-surface-blue-2);
  border: 0;
  border-left: 4px solid var(--wpc-blue);
  border-radius: 0 10px 10px 0;
  font-weight: 700;
  color: var(--wpc-heading);
  box-shadow: none;
}
.entry-content .blank-box.sticky::before {
  display: none;
}
/* 煽りコピー（micro-top） */
.entry-content .micro-top,
.entry-content .micro-bottom {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wpc-blue);
  margin: 40px 0 16px;
  line-height: 1.8;
}
.entry-content .micro-top span[style*="color"] {
  color: var(--wpc-blue) !important;
}

/* 吹き出し（Cocoon .speech-wrap） */
.entry-content .speech-wrap {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 0 24px;
}
.entry-content .speech-wrap.sbp-r {
  flex-direction: row-reverse;
}
.entry-content .speech-person {
  flex-shrink: 0;
  width: 72px;
  min-width: 72px;
  text-align: center;
}
.entry-content .speech-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #dbe6f1;
}
.entry-content .speech-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 0;
}
.entry-content .speech-name {
  font-size: 11px;
  color: var(--wpc-sub);
  margin-top: 6px;
  line-height: 1.4;
  letter-spacing: 0;
}
.entry-content div.speech-balloon {
  position: relative;
  max-width: 78%;
  height: auto;
  background: var(--wpc-surface);
  border: 0;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--wpc-text);
}
.entry-content .speech-balloon::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -8px;
  border: 8px solid transparent;
  border-right-color: var(--wpc-surface);
  border-left: 0;
}
.entry-content .speech-balloon::after {
  display: none;
}
.entry-content .speech-wrap.sbp-r div.speech-balloon {
  background: var(--wpc-blue);
  color: #fff;
}
.entry-content .speech-wrap.sbp-r .speech-balloon p,
.entry-content .speech-wrap.sbp-r .speech-balloon strong {
  color: #fff;
}
.entry-content .speech-wrap.sbp-r .speech-balloon::before {
  left: auto;
  right: -8px;
  border-right: 0;
  border-left: 8px solid var(--wpc-blue);
}
.entry-content div.speech-balloon p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.9;
}
.entry-content div.speech-balloon p:last-child {
  margin: 0;
}

/* ボタン（Cocoon .btn / .btn-wrap） */
.entry-content .btn,
.entry-content .btn-wrap a,
.cta-button .btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--wpc-orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  padding: 20px 20px 20px 28px;
  border-radius: 4px;
  min-width: 300px;
  max-width: 100%;
  box-sizing: border-box;
  border: 0;
  box-shadow: 0 6px 18px rgba(255, 137, 41, 0.45);
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  line-height: 1.4;
  text-align: left;
}
.entry-content .btn:hover,
.entry-content .btn-wrap a:hover,
.cta-button .btn:hover {
  background: var(--wpc-orange-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 137, 41, 0.55);
  filter: none;
  transform: none;
}
.entry-content .btn::after,
.entry-content .btn-wrap a::after,
.cta-button .btn::after,
.entry-content .mw_wp_form button::after {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25) var(--wpc-chevron) 50% 50% / 8px 12px no-repeat;
  flex-shrink: 0;
  box-sizing: border-box;
  animation: wpcArrowBgIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.entry-content .btn:hover::after,
.entry-content .btn-wrap a:hover::after,
.cta-button .btn:hover::after,
.entry-content .mw_wp_form button:hover::after {
  animation: none;
}
.entry-content .btn-m,
.entry-content .btn-s {
  padding: 12px 18px 12px 22px;
  font-size: 14px;
  min-width: 0;
  box-shadow: 0 3px 10px rgba(255, 137, 41, 0.35);
}
.entry-content .btn-m::after,
.entry-content .btn-s::after {
  width: 10px;
  height: 18px;
  padding: 0 0 0 12px;
  box-sizing: content-box;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  background-color: transparent;
  background-origin: content-box;
  background-clip: content-box;
}

/* 「WordPress保守代行とは？」記事：冒頭の資料ダウンロード案内
   ボックス（WPセンター部品 ▶ 資料DL案内ボックス）の中の
   1段落目＝1行目が小見出し・改行後が太字のタイトル、2段落目のリンク＝ボタン */
.entry-content .wpc-lead-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 40px;
  padding: 24px 28px;
  background: var(--wpc-surface);
  border-left: 4px solid var(--wpc-blue);
  border-radius: 10px;
}
.entry-content .wpc-lead-cta > p {
  margin: 0;
}
.entry-content .wpc-lead-cta > p:first-child {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--wpc-heading);
}
.entry-content .wpc-lead-cta > p:first-child::first-line {
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 2.4;
  color: var(--wpc-blue);
}
.entry-content .wpc-lead-cta > p:last-child:not(:first-child) {
  flex-shrink: 0;
}
.entry-content .wpc-lead-cta > p:last-child:not(:first-child) a {
  display: inline-flex;
  align-items: center;
  padding: 14px 20px 14px 24px;
  border-radius: 4px;
  background: var(--wpc-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s;
}
.entry-content .wpc-lead-cta > p:last-child:not(:first-child) a:hover {
  background: var(--wpc-orange-dark);
  color: #fff;
}
/* 区切り線＋右から滑り込む矢印（本文のHTMLに空要素を持たせないため疑似要素で描く） */
.entry-content .wpc-lead-cta > p:last-child:not(:first-child) a::before {
  content: "";
  order: 1;
  width: 1px;
  height: 18px;
  margin-left: 18px;
  background: rgba(255, 255, 255, 0.4);
}
.entry-content .wpc-lead-cta > p:last-child:not(:first-child) a::after {
  content: "";
  order: 2;
  width: 12px;
  height: 14px;
  margin-left: 12px;
  background: var(--wpc-chevron) 50% 50% / 8px 12px no-repeat;
  animation: wpcArrowBgIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.entry-content .wpc-lead-cta > p:last-child:not(:first-child) a:hover::after {
  animation: none;
}

/* 「WordPress保守代行とは？」記事：費用カード（平均・最高・最安）
   表（WPセンター部品 ▶ 費用カード）の1行＝1枚。1列目＝項目、2列目＝金額、3列目＝補足（空欄可）、1行目は青 */
.entry-content .scrollable-table:has(> table.wpc-stats) {
  margin: 0 0 60px;
  overflow: visible;
  border-radius: 0;
}
.entry-content .scrollable-table > table.wpc-stats {
  margin: 0;
}
.entry-content table.wpc-stats {
  display: block;
  width: 100%;
  margin: 0 0 60px;
  border: 0;
  line-height: inherit;
  border-radius: 0;
  overflow: visible;
}
.entry-content table.wpc-stats tbody {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.entry-content table.wpc-stats tr {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border-radius: 10px;
  background: var(--wpc-surface);
  color: var(--wpc-heading);
}
.entry-content table.wpc-stats tr:first-child {
  background: var(--wpc-blue);
  color: #fff;
}
.entry-content table.wpc-stats td,
.entry-content .scrollable-table.stfc-sticky table.wpc-stats tr > :first-child {
  position: static;
  display: block;
  white-space: normal;
  padding: 0;
  border: 0;
  background: none !important; /* 通常の表の1列目・偶数行の背景色を打ち消す */
  box-shadow: none;
  color: inherit;
  text-align: left;
}
.entry-content table.wpc-stats td:nth-child(1) {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wpc-sub);
}
.entry-content table.wpc-stats tr:first-child td:nth-child(1) {
  color: rgba(255, 255, 255, 0.8);
}
.entry-content table.wpc-stats td:nth-child(2) {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.entry-content table.wpc-stats td:nth-child(2) .fz-14px {
  margin-left: 2px;
  font-weight: 700;
  font-style: normal;
}
.entry-content table.wpc-stats td:nth-child(3) {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--wpc-sub);
}
.entry-content table.wpc-stats tr:first-child td:nth-child(3) {
  color: rgba(255, 255, 255, 0.75);
}
.entry-content table.wpc-stats td:empty {
  display: none;
}

/* 「WordPress保守代行とは？」記事：インタビューカード
   箇条書き（WPセンター部品 ▶ インタビューカード）の1項目＝1枚。項目全体にリンクを付けるとカード全体が押せる。太字の部分が会社名 */
.entry-content ul.wpc-voice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 8px 0 40px;
}
.entry-content ul.wpc-voice-list > li {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  border-radius: 10px;
  background: var(--wpc-surface);
  color: var(--wpc-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.75;
  transition: background 0.2s, transform 0.2s;
}
.entry-content ul.wpc-voice-list > li::before {
  content: none;
}
/* 行全体にリンクを付けた場合は、カード全体を押せるようにする */
.entry-content ul.wpc-voice-list > li:has(> a:only-child) {
  padding: 0;
}
.entry-content ul.wpc-voice-list > li > a:only-child {
  flex: 1;
  display: block;
  padding: 22px 22px 24px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}
.entry-content ul.wpc-voice-list > li:has(> a:only-child):hover {
  background: var(--wpc-surface-blue);
  transform: translateY(-2px);
}
.entry-content ul.wpc-voice-list > li > a:only-child:hover {
  background: none;
  color: inherit;
}
/* 太字の部分＝会社名（青・先頭に線）。直後の改行は詰める */
.entry-content ul.wpc-voice-list > li strong {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--wpc-blue);
}
.entry-content ul.wpc-voice-list > li strong::before {
  content: "";
  width: 14px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.entry-content ul.wpc-voice-list > li strong + br {
  display: none;
}

/* 「WordPress保守代行とは？」記事：6つのポイント（2列のカード） */
.entry-content ol.wpc-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 8px 0 40px;
}
.entry-content ol.wpc-points > li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--wpc-line);
  font-size: 14px;
  border-radius: 8px;
  background: #fff;
}
.entry-content ol.wpc-points > li::before {
  content: counter(wpc-n, decimal-leading-zero);
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--wpc-blue);
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  flex-shrink: 0;
}

/* 「WordPress保守代行とは？」記事：6つのポイントの各見出し（丸数字）
   見出しの文字「1.」は目次用に残し、画面では先頭の「1.」を隠して丸数字を表示する（CSSのみ）
   番号は大見出し（H2）ごとに1から振り直す */
.entry-content {
  counter-reset: wpc-point;
}
.entry-content h2 {
  counter-set: wpc-point 0;
}
.entry-content h3.wpc-point-h {
  position: relative;
  min-height: 30px;
  padding: 0 0 0 42px;
  border-left: 0;
  counter-increment: wpc-point;
}
.entry-content h3.wpc-point-h::before {
  content: counter(wpc-point);
  position: absolute;
  left: 0;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--wpc-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0;
}
.entry-content h3.wpc-point-h::first-letter {
  font-size: 0;
}

/* 「WordPress保守代行とは？」記事：お悩みボックス／安心ポイントボックス
   ボックス（WPセンター部品 ▶ お悩みボックス・安心ポイントボックス）の中の1段落目＝タブの見出し、続く箇条書き＝カード */
.entry-content .wpc-worry,
.entry-content .wpc-merit {
  position: relative;
  padding: 52px 28px 28px;
  border-radius: 12px;
}
.entry-content .wpc-worry {
  margin: 0 0 18px;
  background: var(--wpc-surface);
}
.entry-content .wpc-merit {
  margin: 0 0 32px;
  background: var(--wpc-surface-blue);
  border: 1.5px solid var(--wpc-blue);
}
.entry-content .wpc-worry > p:first-child,
.entry-content .wpc-merit > p:first-child {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 6px 18px;
  border-radius: 12px 0 12px 0;
  background: #5a6a7c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.8;
}
.entry-content .wpc-merit > p:first-child {
  top: -1.5px;
  left: -1.5px;
  background: var(--wpc-blue);
}
.entry-content .wpc-worry > ul,
.entry-content .wpc-merit > ul {
  margin: 0;
  gap: 10px;
}
.entry-content .wpc-merit > ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.entry-content .wpc-worry > ul > li,
.entry-content .wpc-merit > ul > li {
  padding: 16px 20px 16px 52px;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--wpc-heading);
}
.entry-content .wpc-worry > ul > li::before,
.entry-content .wpc-merit > ul > li::before {
  left: 20px;
  top: 19px;
  width: 20px;
  height: 20px;
  -webkit-mask: var(--wpc-mark) center / contain no-repeat;
  mask: var(--wpc-mark) center / contain no-repeat;
}
.entry-content .wpc-worry > ul > li::before {
  background: #c3cbd5;
  --wpc-mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill-rule='evenodd' d='M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18zM7 5.6 5.6 7l3 3-3 3L7 14.4l3-3 3 3 1.4-1.4-3-3 3-3L13 5.6l-3 3z' fill='black'/></svg>");
}
.entry-content .wpc-merit > ul > li::before {
  background: var(--wpc-blue);
  --wpc-mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill-rule='evenodd' d='M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18zm4.1 5.6-5.3 5.3-2.6-2.6-1.4 1.4 4 4 6.7-6.7z' fill='black'/></svg>");
}
/* おすすめ文（WPセンター部品 ▶ お悩みボックス＋おすすめ文） */
.entry-content p.wpc-worry-answer {
  position: relative;
  margin: 0 0 24px;
  padding-top: 18px;
  text-align: center;
}
.entry-content p.wpc-worry-answer::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  border: 14px solid transparent;
  border-top: 12px solid var(--wpc-blue);
  border-bottom: 0;
}

/* 「WordPress保守代行とは？」記事：12社比較表の凡例（△はオレンジ） */
.wpc-legend span[style*="#008000"] {
  color: var(--wpc-orange) !important;
}

/* 「WordPress保守代行とは？」記事：12社比較表の記号アイコン */
.wpc-scroll-note {
  margin: 0 0 8px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--wpc-sub);
}
.wpc-scroll-note::after {
  content: "→";
  margin-left: 8px;
}
.entry-content .scrollable-table:has(#hosyu) .scroll-hint-icon-wrap {
  display: none;
}
.entry-content #hosyu tr:first-child > td {
  white-space: normal;
  min-width: 150px;
  line-height: 1.6;
  vertical-align: middle;
}
.entry-content #hosyu tr > td:first-child {
  min-width: 190px;
  white-space: nowrap;
}
.entry-content #hosyu tr:not(:first-child) > td {
  vertical-align: middle;
  padding-top: 14px;
  padding-bottom: 14px;
}
.wpc-mark {
  display: inline-block;
  width: 20px;
  height: 20px;
  font-size: 0;
  vertical-align: middle;
  background: currentColor;
  -webkit-mask: var(--wpc-mark) center / contain no-repeat;
  mask: var(--wpc-mark) center / contain no-repeat;
}
.entry-content #hosyu tr:not(:first-child) > td:not(:first-child) span.wpc-mark.is-ok {
  color: var(--wpc-blue);
  --wpc-mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><circle cx='10' cy='10' r='7.6' fill='none' stroke='black' stroke-width='2'/></svg>");
}
.entry-content #hosyu tr:not(:first-child) > td:nth-child(2) span.wpc-mark.is-ok {
  --wpc-mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill-rule='evenodd' d='M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18zm4.1 5.6-5.3 5.3-2.6-2.6-1.4 1.4 4 4 6.7-6.7z' fill='black'/></svg>");
}
.entry-content #hosyu tr:not(:first-child) > td:not(:first-child) span.wpc-mark.is-fee {
  color: var(--wpc-orange);
  --wpc-mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 3.2 17.6 16.6H2.4z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/></svg>");
}
.entry-content #hosyu tr:not(:first-child) > td:not(:first-child) span.wpc-mark.is-no {
  color: #b4bdc8;
  --wpc-mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 5l10 10M15 5 5 15' stroke='black' stroke-width='1.8' stroke-linecap='round'/></svg>");
}

/* 「WordPress保守代行とは？」記事：サービス紹介枠
   ボックス（WPセンター部品 ▶ サービス紹介枠）の中を
   見出し帯（任意）→ 最初の画像（全幅）→ 本文（左）＋情報の表（右列）→ 詳細リンク（任意・全幅）の順に並べる */
.entry-content .wpc-svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  grid-auto-flow: dense;
  margin: 0 0 48px;
  border: 1px solid var(--wpc-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.entry-content .wpc-svc > * {
  grid-column: 1;
  min-width: 0;
  margin-left: 28px;
  margin-right: 28px;
}
.entry-content .wpc-svc > p.wpc-svc-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 18px 28px;
  background: var(--wpc-blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.95;
}
.entry-content .wpc-svc-head .badge {
  flex-shrink: 0;
  margin: 0;
  padding: 4px 12px;
  border: 0;
  border-radius: 3px;
  background: var(--wpc-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.entry-content .wpc-svc > p:first-child:has(img),
.entry-content .wpc-svc > .wpc-svc-head + p:has(img) {
  grid-column: 1 / -1;
  margin: 0;
}
.entry-content .wpc-svc > p:first-child:has(img) :is(a, img),
.entry-content .wpc-svc > .wpc-svc-head + p:has(img) :is(a, img) {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 0;
}
.entry-content .wpc-svc > p:has(img) + * {
  margin-top: 28px;
}
.entry-content .wpc-svc > :has(+ table.wpc-svc-info),
.entry-content .wpc-svc > :has(+ .scrollable-table > table.wpc-svc-info) {
  margin-bottom: 28px;
}
/* 情報の表：1列目＝項目名、2列目＝内容（箇条書きは「／」区切りで1行に並べる） */
.entry-content .wpc-svc > table.wpc-svc-info,
.entry-content .wpc-svc > .scrollable-table:has(> table.wpc-svc-info) {
  grid-column: 2;
  grid-row-end: span 60;
  margin: 0;
  padding: 28px 24px;
  border: 0;
  border-left: 1px solid var(--wpc-line);
  border-radius: 0;
  overflow: visible;
}
.entry-content table.wpc-svc-info,
.entry-content table.wpc-svc-info tbody,
.entry-content table.wpc-svc-info tr {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.entry-content .scrollable-table > table.wpc-svc-info {
  padding: 0;
}
.entry-content table.wpc-svc-info tr {
  background: none; /* Cocoonの表の縞模様（行の背景色）を打ち消す */
}
.entry-content table.wpc-svc-info td,
.entry-content .scrollable-table.stfc-sticky table.wpc-svc-info tr > :first-child {
  position: static;
  display: block;
  white-space: normal;
  padding: 0;
  border: 0;
  background: none !important; /* 通常の表の1列目・偶数行の背景色を打ち消す */
  box-shadow: none;
  text-align: left;
  vertical-align: baseline;
}
.entry-content table.wpc-svc-info td:first-child {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--wpc-sub);
}
.entry-content table.wpc-svc-info td:last-child:not(:first-child) {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wpc-heading);
}
.entry-content table.wpc-svc-info tr:last-child td:last-child {
  margin-bottom: 0;
}
.entry-content table.wpc-svc-info td span[style] {
  font-weight: inherit !important;
}
.entry-content table.wpc-svc-info td span[style]:not([style*="#ff0000"]) {
  color: inherit !important;
}
.entry-content table.wpc-svc-info td ul {
  display: block;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
.entry-content table.wpc-svc-info td ul > li {
  display: inline;
  padding: 0;
  font-weight: 400;
  color: var(--wpc-sub);
}
.entry-content table.wpc-svc-info td ul > li::before {
  content: none;
}
.entry-content table.wpc-svc-info td ul > li + li::before {
  content: "／";
  position: static;
  width: auto;
  height: auto;
  background: none;
}
.entry-content table.wpc-svc-info td li strong {
  font-weight: inherit;
}
/* サービス紹介枠の一番下の詳細リンク行 */
.entry-content .wpc-svc > p.wpc-svc-foot {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 28px;
  border-top: 1px solid var(--wpc-line);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--wpc-sub);
  overflow-wrap: anywhere;
}

/* 資料DLフォーム（MW WP Form） */
.entry-content .mw_wp_form {
  background: var(--wpc-surface);
  border-radius: 10px;
  padding: 36px 36px 32px;
  margin: 0 0 32px;
}
.entry-content .mw_wp_form br {
  display: none;
}
.entry-content .mw_wp_form p {
  margin: 0;
}
.entry-content .mw_wp_form strong,
.entry-content .mw_wp_form label {
  font-weight: 700;
  color: var(--wpc-heading);
}
.entry-content .mw_wp_form span[style*="font-size: 14px"] {
  font-size: 14px !important;
  letter-spacing: 0.04em;
}
.entry-content .mw_wp_form span[style*="color: #ff0000"] {
  color: var(--wpc-orange) !important;
}
.entry-content .mw_wp_form input[type="text"],
.entry-content .mw_wp_form input[type="email"],
.entry-content .mw_wp_form input[type="tel"],
.entry-content .mw_wp_form textarea,
.entry-content .mw_wp_form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 6px;
  padding: 14px 16px;
  margin: 8px 0 20px;
  font-size: 15px;
  font-family: inherit;
  color: #1a2533;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: 0;
}
.entry-content .mw_wp_form input:focus,
.entry-content .mw_wp_form textarea:focus {
  border-color: var(--wpc-blue);
  box-shadow: 0 0 0 3px rgba(17, 77, 158, 0.12);
}
.entry-content .mw_wp_form ::placeholder {
  color: var(--wpc-sub-3);
}
.entry-content .mw_wp_form .error {
  display: block;
  font-size: 12px;
  color: var(--wpc-alert);
  margin: -12px 0 16px;
}
.entry-content .mw_wp_form button,
.entry-content .mw_wp_form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, #ff9a3d 0%, #ff8929 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  padding: 20px 20px 20px 28px;
  border-radius: 4px;
  min-width: 300px;
  max-width: 100%;
  box-sizing: border-box;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 18px rgba(255, 137, 41, 0.45);
  transition: filter 0.2s, box-shadow 0.2s;
  line-height: 1.4;
  margin-top: 8px;
}
.entry-content .mw_wp_form button:hover,
.entry-content .mw_wp_form input[type="submit"]:hover {
  filter: brightness(0.94);
  box-shadow: 0 10px 24px rgba(255, 137, 41, 0.55);
}
.entry-content .mw_wp_form_confirm button[name="submitBack"] {
  background: #fff;
  color: var(--wpc-heading);
  border: 1px solid var(--wpc-line);
  box-shadow: none;
  margin-right: 12px;
}
.entry-content .mw_wp_form_confirm button[name="submitBack"]::after {
  display: none;
}
/* 資料表紙画像（フォーム直前の2点） */
.entry-content #dl-form + p img {
  width: 100%;
  max-width: 100%;
  border-radius: 6px;
  margin: 8px 0 24px;
  display: block;
}
.entry-content #dl-form + p > span[style*="12px"] {
  font-size: 13px !important;
  font-weight: 700;
  color: var(--wpc-heading);
  display: block;
  margin-top: 12px;
}

/* ---- 記事下 ---- */
.article-footer {
  margin-top: 64px;
}
.entry-categories-tags {
  margin: 0 0 24px;
  padding: 24px 0;
  border-top: 1px solid var(--wpc-line);
  border-bottom: 1px solid var(--wpc-line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.entry-categories-tags > div {
  margin: 0;
}
.cat-link,
.tag-link {
  background: var(--wpc-surface) !important;
  color: var(--wpc-blue) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 2px;
  border: 0;
  margin: 0 6px 0 0;
  display: inline-block;
  transition: background 0.2s;
}
.cat-link:hover,
.tag-link:hover {
  background: #e9eff7 !important;
  color: var(--wpc-blue);
}
.entry-categories-tags .tax-icon {
  display: none;
}
.sns-share.ss-bottom {
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.sns-share.ss-bottom .sns-share-message {
  display: none;
}
.sns-share.ss-bottom .sns-share-buttons::before,
.sns-share.ss-bottom .sns-buttons::before {
  content: "SHARE";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--wpc-sub-2);
  align-self: center;
  margin-right: 6px;
}
/* URLコピーボタンは文字入りのボタンにする */
.sns-share .sns-buttons a.copy-button {
  width: auto;
  padding: 0 14px;
  border-radius: 18px;
  gap: 6px;
}
.sns-share .sns-buttons a.copy-button .social-icon {
  display: none;
}
.sns-share .sns-buttons a.copy-button::after {
  content: "URLをコピー";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
/* 投稿者 */
.footer-meta {
  font-size: 12px;
  color: var(--wpc-sub-2);
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.footer-meta .author-info .fa,
.footer-meta .author-info .fas {
  display: none;
}
.footer-meta .author-info {
  display: flex;
  align-items: center;
  gap: 10px;
  float: none;
  text-align: left;
}
.footer-meta .author-info::before {
  content: "執筆";
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--wpc-sub-2);
}
.footer-meta a {
  color: var(--wpc-text);
  font-weight: 700;
  text-decoration: none;
}
.footer-meta a:hover {
  color: var(--wpc-blue-dark);
  text-decoration: underline;
}
/* 投稿の記事末：カテゴリー（左）とシェア（右）を罫線で挟んだ1行に、その下に投稿者 */
.single .article-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}
.single .article-footer > * {
  grid-column: 1 / -1;
}
.single .article-footer > .entry-categories-tags {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-items: center;
}
.single .article-footer > .sns-share.ss-bottom {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--wpc-line);
  border-bottom: 1px solid var(--wpc-line);
}
.single .article-footer > .footer-meta {
  grid-row: 2;
  margin: 16px 0 0;
}
@media screen and (max-width: 767px) {
  .single .article-footer {
    grid-template-columns: 1fr;
  }
  .single .article-footer > .entry-categories-tags {
    padding-bottom: 16px;
    border-bottom: 0;
  }
  .single .article-footer > .sns-share.ss-bottom {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
    border-top: 0;
  }
  .single .article-footer > .footer-meta {
    grid-row: 3;
  }
}
.publisher {
  display: none;
}
#pager-post-navi {
  display: none;
}

/* 投稿ページのコンテンツ下部エリア（2カラムの外・全幅）：記事下CTA＋関連記事 */
.content-bottom {
  margin-top: 80px;
  margin-bottom: 0;
}
.content-bottom-in.wrap {
  width: auto;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
#content-bottom .widget {
  margin: 0;
}
.content-bottom .related-entries {
  margin: 0;
  padding: 64px 0 0;
}
.content-bottom .widget_cta_box + .related-entries {
  margin-top: 16px;
}

/* 記事下CTA（Cocoon CTAボックス） */
.content-bottom .cta-box{
  background: linear-gradient(115deg, #0e3a78 0%, #114d9e 55%, #1a67c9 100%);
  border-radius: 8px;
  padding: 64px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* スクロールで画面に入る間に全幅へ広がる（対応ブラウザのみ。非対応は角丸カードのまま） */
@keyframes wpcCtaExpand {
  to {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }
}
@supports (animation-timeline: view()) {
  @media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
    .content-bottom .cta-box {
      animation: wpcCtaExpand linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 90%;
    }
  }
}
.content-bottom .cta-heading{
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  line-height: 1.6;
  padding: 0;
  text-wrap: pretty;
}
.content-bottom .cta-left-and-right .cta-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.content-bottom .cta-left-and-right .cta-content div{
  width: 100%;
}
.content-bottom .cta-thumb{
  order: -1;
  max-width: 320px;
  margin: 0 auto;
}
.content-bottom .cta-thumb img{
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: block;
  width: 100%;
  height: auto;
}
.content-bottom .cta-message p{
  color: #b9d2ef;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.content-bottom .cta-message p:last-child{
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.content-bottom .cta-button{
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.content-bottom .cta-button .btn{
  background: linear-gradient(180deg, #ff9a3d 0%, #ff8929 100%);
}
/* コンテンツ下部のCTA：ロゴ → 見出し → 本文 → ボタン2つ（バナー画像は使わない） */
.content-bottom .cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wpc-cta-logo {
  display: inline-flex;
  background: #fff;
  border-radius: 8px;
  padding: 10px 24px;
  margin: 0 0 24px;
}
.wpc-cta-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 32px;
  border-radius: 0;
}
.content-bottom .cta-thumb {
  display: none;
}
.content-bottom .cta-left-and-right .cta-content {
  gap: 0;
}
.content-bottom .cta-message p:last-child {
  line-height: 1.9;
}
.wpc-cta-em {
  background: linear-gradient(transparent 60%, rgba(255, 137, 41, 0.55) 60%);
  padding: 0 2px;
}
.content-bottom .cta-button {
  margin-top: 36px;
  width: 100%;
  max-width: 720px;
  gap: 20px;
  flex-wrap: wrap;
}
.content-bottom .cta-button .btn:hover {
  background: linear-gradient(180deg, #ff9a3d 0%, #ff8929 100%);
  filter: brightness(0.94);
}
.content-bottom .cta-button .btn.wpc-btn-sub {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 19px 20px 19px 28px;
  box-shadow: none;
  transition: background 0.2s;
}
.content-bottom .cta-button .btn.wpc-btn-sub:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  filter: none;
}
.content-bottom .cta-button .btn.wpc-btn-sub::after {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 固定ページ本文下ウィジェット（バナー・新着記事） */
.article-footer .widget-page-content-bottom,
.article-footer .widget-above-page-sns-buttons {
  margin: 0 0 40px;
}
.article-footer .widget-page-content-bottom figure {
  margin: 0;
}
.article-footer .widget-page-content-bottom img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}
.main-widget-label,
.widget-above-page-sns-buttons-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--wpc-heading);
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.main-widget-label::before,
.widget-above-page-sns-buttons-title::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--wpc-blue);
  flex-shrink: 0;
}
.main .widget-entry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.main .widget-entry-cards .a-wrap {
  padding: 0;
  margin: 0;
  background: var(--wpc-surface);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.main .widget-entry-cards .e-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.main .widget-entry-cards figure {
  width: 100%;
  margin: 0;
  float: none;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dbe6f1;
}
.main .widget-entry-cards figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.main .widget-entry-cards .a-wrap:hover figure img {
  transform: scale(1.06);
}
.main .widget-entry-cards .card-content {
  margin: 0;
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s;
}
.main .widget-entry-cards .a-wrap:hover .card-content {
  opacity: 0.7;
}
.main .widget-entry-cards .card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wpc-heading);
  line-height: 1.8;
  transition: color 0.25s;
}
.main .widget-entry-cards .a-wrap:hover .card-title {
  color: var(--wpc-blue);
}
.main .widget-entry-cards .widget-entry-card-date {
  order: -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  font-size: 12px;
  color: var(--wpc-sub-2);
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}
.main .widget-entry-cards .card-content::after {
  content: "";
  align-self: flex-end;
  margin-top: auto;
  width: 32px;
  height: 32px;
  border-top: 16px solid transparent;
  box-sizing: content-box;
  background: var(--wpc-blue) var(--wpc-chevron) 50% 50% / 8px 12px no-repeat;
  background-clip: padding-box;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background-color 0.25s;
  animation: wpcArrowBgIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.main .widget-entry-cards .a-wrap:hover .card-content::after {
  background-color: var(--wpc-navy);
  animation: none;
}

/* 関連記事（カード化） */
.under-entry-content {
  margin-top: 0;
}
.related-entries {
  margin: 64px 0 0;
}
.related-entry-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--wpc-heading);
  margin: 0 0 32px;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1.5;
}
.related-entry-heading::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--wpc-blue);
  flex-shrink: 0;
}
.related-entry-heading .fa,
.related-entry-heading .fas {
  display: none;
}
.related-entry-main-heading {
  font-size: inherit;
}
.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media screen and (max-width: 1023px) {
  .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 600px) {
  .related-list {
    grid-template-columns: 1fr;
  }
}
.related-entry-card-wrap {
  width: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--wpc-surface);
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
  height: 100%;
  border: 0;
  transition: background 0.3s;
}
.related-entry-card-wrap:hover {
  background: var(--wpc-surface);
  color: inherit;
}
.related-entry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 0;
}
.related-entry-card-thumb {
  width: 100%;
  margin: 0;
  float: none;
  aspect-ratio: 16 / 9;
  background: #dbe6f1;
  overflow: hidden;
  position: relative;
}
.related-entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.related-entry-card-wrap:hover .related-entry-card-thumb img {
  transform: scale(1.06);
}
/* カテゴリー名は日付と同じ行（本文側）に表示するため、サムネイル上のラベルは出さない */
.related-entry-card-thumb .cat-label {
  display: none;
}
.related-entry-card-content {
  margin: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: opacity 0.3s;
}
.related-entry-card-wrap:hover .related-entry-card-content {
  opacity: 0.7;
}
.related-entry-card-meta {
  order: -1;
  position: static;
  text-align: left;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  font-size: 12px;
  color: var(--wpc-sub-2);
  letter-spacing: 0.06em;
}
.related-entry-card-meta .fa,
.related-entry-card-meta .fas,
.related-entry-card-meta .far {
  display: none;
}
.related-entry-card-meta .related-entry-card-categorys {
  order: -1;
  display: block;
  min-width: 0;
}
.related-entry-card-categorys .entry-category {
  display: block;
  background: var(--wpc-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 2px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-entry-card-categorys .entry-category + .entry-category {
  display: none;
}
.related-entry-card-info {
  flex-shrink: 0;
  margin-left: auto;
}
.related-entry-card-info > * {
  font-size: inherit;
  padding: 0;
  margin: 0;
}
.article .related-entry-card-title,
.related-entry-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wpc-heading);
  line-height: 1.8;
  text-wrap: pretty;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transition: color 0.25s;
  max-height: none;
  overflow: visible;
}
.related-entry-card-wrap:hover .related-entry-card-title {
  color: var(--wpc-blue);
}
.related-entry-card-snippet {
  display: none;
}
.related-entry-card-content::after {
  content: "";
  align-self: flex-end;
  margin-top: auto;
  width: 32px;
  height: 32px;
  border-top: 16px solid transparent;
  box-sizing: content-box;
  background: var(--wpc-blue) var(--wpc-chevron) 50% 50% / 8px 12px no-repeat;
  background-clip: padding-box;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background-color 0.25s;
  animation: wpcArrowBgIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.related-entry-card-wrap:hover .related-entry-card-content::after {
  background-color: var(--wpc-navy);
  animation: none;
}

/* 関連記事下「もっと見る」ボタン */
.wpc-more-wrap {
  text-align: center;
  margin: 40px 0 0;
}
.wpc-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--wpc-navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 18px 24px 18px 28px;
  border-radius: 4px;
  min-width: 300px;
  max-width: 100%;
  box-sizing: border-box;
  transition: background 0.25s;
  text-decoration: none;
}
.wpc-more-btn:hover {
  background: var(--wpc-blue);
  color: #fff;
}
.wpc-more-btn .wpc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  line-height: 1;
}
.wpc-more-btn .wpc-arrow::before {
  content: "";
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.35);
}

/* ---- お客様の声（category-case-studies） ---- */
.categoryid-18 .entry-content,
body.category-case-studies .entry-content {
  line-height: 2.2;
  letter-spacing: 0.08em;
}
.category-case-studies-post .entry-content p {
  margin: 0 0 24px;
}

/* キービジュアル（全幅・2カラムの上に表示） */
.wpc-kv-section {
  margin: 24px 0 48px;
}
.wpc-kv-section + .content {
  margin-top: 0;
}
.wpc-kv-section-in {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.wpc-kv {
  position: relative;
  width: 100%;
  aspect-ratio: 12 / 5;
  min-height: 340px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--wpc-navy);
  color: #fff;
}
.wpc-kv-img {
  position: absolute;
  inset: 0;
}
.wpc-kv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.wpc-kv-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 24, 38, 0.8) 0%, rgba(14, 24, 38, 0.5) 48%, rgba(14, 24, 38, 0.08) 80%);
}
.wpc-kv-inner {
  position: absolute;
  top: 40px;
  left: 48px;
  right: 48px;
  z-index: 1;
}
.wpc-kv-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.wpc-kv-label {
  background: #fff;
  color: var(--wpc-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.2s;
}
.wpc-kv-label:hover {
  color: var(--wpc-blue);
}
.wpc-kv .date-tags {
  display: flex;
  gap: 12px;
  margin: 0;
}
.wpc-kv .date-tags .post-date,
.wpc-kv .date-tags .post-update {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
}
.wpc-kv .date-tags .fa,
.wpc-kv .date-tags .fas,
.wpc-kv .date-tags .far {
  display: none;
}
/* タイトルの中の薄い文字（先頭の場合は1行目に分ける） */
.wpc-kv .wpc-kv-lead {
  font-size: 21px;
  font-weight: 500;
  color: #dbe6f4;
}
.wpc-kv .wpc-kv-lead.is-top {
  display: block;
  margin: 0 0 10px;
  line-height: 1.6;
}
.wpc-kv .wpc-kv-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0;
  padding: 0;
  max-width: 780px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  /* 行の長さを揃え、文節の切れ目で改行する（デザインの改行位置に近づける。非対応のブラウザは通常の改行） */
  text-wrap: balance;
  word-break: auto-phrase;
}
.wpc-kv-company {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.wpc-kv-company::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--wpc-orange);
  flex-shrink: 0;
}

/* 背景課題／解決策（キービジュアルの下・全幅） */
.wpc-ba-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.wpc-ba {
  border-radius: 10px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.wpc-ba-before {
  background: var(--wpc-surface);
  color: var(--wpc-heading);
}
.wpc-ba-after {
  background: var(--wpc-blue);
  color: #fff;
}
.wpc-ba::after {
  position: absolute;
  bottom: -10px;
  left: 28px;
  font-size: 56px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  color: var(--wpc-navy);
}
.wpc-ba-before::after {
  content: "BEFORE";
}
.wpc-ba-after::after {
  content: "AFTER";
  color: #fff;
  opacity: 0.09;
}
.wpc-ba h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 0 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: inherit;
}
.wpc-ba h2::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--wpc-sub-2);
  flex-shrink: 0;
}
.wpc-ba-after h2::before {
  background: #fff;
}
.wpc-ba ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #4a5866;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wpc-ba-after ul {
  color: #fff;
}
.wpc-ba li {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 18px;
}
.wpc-ba li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: #c6d0dc;
}
.wpc-ba-after li::before {
  background: #fff;
}


/* Q&A 見出し */
.article h2.wpc-qa,
.entry-content h2.wpc-qa {
  border-bottom: 0;
  padding: 0;
}
.article h2.wpc-qa::before,
.entry-content h2.wpc-qa::before {
  display: none;
}
.article h2.wpc-qa,
.entry-content h2.wpc-qa {
  flex-direction: row;
  align-items: baseline;
  gap: 20px;
}
.entry-content h2.wpc-qa span:not(.wpc-q):not(.wpc-q-txt):not(.wpc-q-sep) {
  display: contents;
}
.wpc-q {
  display: block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--wpc-blue);
  flex-shrink: 0;
  border-bottom: 3px solid var(--wpc-blue);
  padding: 0 4px 4px 0;
  font-style: italic;
  line-height: 1;
  position: relative;
}
.wpc-q-sep {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wpc-q-txt {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--wpc-heading);
}

/* インタビュー本文（吹き出しを質問／回答のテキストレイアウトに） */
.category-case-studies-post .entry-content .speech-wrap {
  display: block;
  margin: 0 0 40px;
}
.category-case-studies-post .entry-content .speech-person {
  width: auto;
  min-width: 0;
  text-align: left;
}
.category-case-studies-post .entry-content .speech-icon {
  display: none;
}
.category-case-studies-post .entry-content .speech-name {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--wpc-blue);
  margin: 0 0 14px;
  line-height: 1.6;
}
.category-case-studies-post .entry-content div.speech-balloon {
  max-width: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--wpc-text);
}
.category-case-studies-post .entry-content .speech-balloon::before {
  display: none;
}
.category-case-studies-post .entry-content .speech-wrap.sbp-r div.speech-balloon {
  background: transparent;
  color: var(--wpc-text);
}
.category-case-studies-post .entry-content .speech-wrap.sbp-r .speech-balloon p,
.category-case-studies-post .entry-content .speech-wrap.sbp-r .speech-balloon strong {
  color: var(--wpc-text);
}
.category-case-studies-post .entry-content div.speech-balloon p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 2.2;
}
.category-case-studies-post .entry-content div.speech-balloon p:last-child {
  margin: 0;
}
.category-case-studies-post .entry-content .speech-balloon strong {
  font-weight: 400;
  color: var(--wpc-text);
}
.category-case-studies-post .entry-content .speech-balloon .marker,
.category-case-studies-post .entry-content .speech-balloon .marker-under {
  font-weight: 700;
}
/* 質問（H2直後のWPセンター側吹き出し） */
.category-case-studies-post .entry-content h2 + .speech-wrap.sbp-l {
  margin: 0 0 32px;
}
.category-case-studies-post .entry-content h2 + .speech-wrap.sbp-l .speech-person {
  display: none;
}
.category-case-studies-post .entry-content h2 + .speech-wrap.sbp-l div.speech-balloon {
  display: flex;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--wpc-sub);
  line-height: 2;
}
.category-case-studies-post .entry-content h2 + .speech-wrap.sbp-l div.speech-balloon::before {
  content: "\2015\2015";
  display: block;
  position: static;
  width: auto;
  height: auto;
  border: 0;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: -0.1em;
}
.category-case-studies-post .entry-content h2 + .speech-wrap.sbp-l .speech-balloon p,
.category-case-studies-post .entry-content h2 + .speech-wrap.sbp-l .speech-balloon strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--wpc-sub);
  line-height: 2;
}

/* 企業プロフィール（サイドバー） */
#sidebar .wpc-profile {
  background: var(--wpc-surface);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--wpc-line);
  padding: 0;
}
.wpc-profile-name {
  padding: 24px 24px;
  background: #fff;
  border-bottom: 1px solid var(--wpc-line);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--wpc-heading);
  text-align: center;
}
.wpc-profile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: #fff;
  border-bottom: 1px solid var(--wpc-line);
}
.wpc-profile-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 64px;
}
.wpc-profile dl {
  margin: 0;
  padding: 8px 24px 12px;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.wpc-profile dl > div {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--wpc-line);
}
.wpc-profile dl > div:last-child {
  border-bottom: 0;
}
.wpc-profile dt {
  font-weight: 700;
  color: var(--wpc-sub);
  width: 64px;
  flex-shrink: 0;
  white-space: nowrap;
}
.wpc-profile dd {
  margin: 0;
  color: var(--wpc-text);
  min-width: 0;
  word-break: keep-all; /* 「部署　お名前」は名前の途中で改行せず、空白で改行する */
  overflow-wrap: anywhere;
}
.wpc-profile dd a {
  color: var(--wpc-blue);
}

/* ---- カテゴリーページ ---- */
.wpc-cat-kv {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--wpc-navy);
  color: #fff;
}
.wpc-cat-kv.no-image {
  grid-template-columns: 1fr;
}
.wpc-cat-kv-inner {
  position: relative;
  z-index: 1;
  padding: 48px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.wpc-cat-kv-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #b9d2ef;
}
.wpc-cat-kv-label::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--wpc-orange);
  flex-shrink: 0;
}
.wpc-cat-kv .wpc-cat-kv-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-wrap: pretty;
}
.wpc-cat-kv-desc {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #dbe6f4;
  max-width: 440px;
}
.wpc-cat-kv-desc p {
  margin: 0;
}
.wpc-cat-count {
  font-size: 12px;
  color: var(--wpc-sub-3);
  letter-spacing: 0.06em;
}
.wpc-cat-count b {
  color: #fff;
  font-weight: 700;
}
.wpc-cat-kv-img {
  position: relative;
  min-height: 240px;
}
.wpc-cat-kv-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.wpc-cat-kv-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #151f2c 0%, rgba(21, 31, 44, 0.35) 30%, rgba(21, 31, 44, 0) 60%);
  pointer-events: none;
}
.wpc-kv-section .wpc-cat-chips {
  margin: 28px 0 0;
}
/* 2ページ目以降のカテゴリー見出し（キービジュアルなし） */
.archive-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--wpc-heading);
  margin: 0 0 32px;
  padding: 0;
  border: 0;
  background: transparent;
}
.archive-title .fa,
.archive-title .fas {
  display: none;
}

/* カテゴリー切替チップ */
.wpc-cat-chips {
  margin: 0 0 40px;
}
.wpc-cat-chips ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.wpc-cat-chips li {
  margin: 0;
  padding: 0;
}
.wpc-cat-chips a {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: 2px;
  border: 1px solid var(--wpc-line);
  color: var(--wpc-text);
  background: #fff;
  transition: background 0.2s, color 0.2s;
}
.wpc-cat-chips a:hover {
  background: var(--wpc-surface);
  color: var(--wpc-blue);
}
.wpc-cat-chips li.current-cat > a {
  background: var(--wpc-blue);
  color: #fff;
  border-color: var(--wpc-blue);
  font-weight: 700;
}

/* 一覧（エントリーカード） */
.list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.entry-card-wrap {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  background: var(--wpc-surface);
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
  height: 100%;
  transition: background 0.3s;
}
.entry-card-wrap:hover {
  background: var(--wpc-surface);
  color: inherit;
}
.entry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 0;
}
/* Cocoonの設定CSS（1280px以下でサムネイル幅38%）より優先させる */
.list .entry-card-wrap .entry-card-thumb,
.entry-card-thumb {
  width: 100%;
  margin: 0;
  float: none;
  aspect-ratio: 16 / 9;
  background: #dbe6f1;
  position: relative;
  overflow: hidden;
}
.entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.entry-card-wrap:hover .entry-card-thumb img {
  transform: scale(1.06);
}
/* カテゴリー名は日付と同じ行（本文側）に表示するため、サムネイル上のラベルは出さない */
.entry-card-thumb .cat-label {
  display: none;
}
.entry-card-content {
  margin: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: opacity 0.3s;
}
.entry-card-wrap:hover .entry-card-content {
  opacity: 0.7;
}
/* カテゴリー＋日付の行（タイトルの上） */
.entry-card-meta {
  order: -1;
  position: static;
  text-align: left;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  font-size: 12px;
  color: var(--wpc-sub-2);
  letter-spacing: 0.06em;
}
.entry-card-meta .fa,
.entry-card-meta .fas,
.entry-card-meta .far {
  display: none;
}
.entry-card-meta .entry-card-categorys {
  order: -1;
  display: block;
  min-width: 0;
}
.entry-card-categorys .entry-category {
  display: block;
  background: var(--wpc-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 2px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.entry-card-categorys .entry-category + .entry-category {
  display: none;
}
.entry-card-info {
  flex-shrink: 0;
  margin-left: auto;
}
.entry-card-info > * {
  font-size: inherit;
  padding: 0;
  margin: 0;
}
.article .entry-card-title,
.entry-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wpc-heading);
  line-height: 1.8;
  text-wrap: pretty;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transition: color 0.25s;
  max-height: none;
  overflow: visible;
}
.entry-card-wrap:hover .entry-card-title {
  color: var(--wpc-blue);
}
.entry-card-snippet {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--wpc-sub);
  line-height: 1.8;
  letter-spacing: 0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: none;
}
/* 右下の矢印（上に16pxの余白を空けてカード下端に揃える） */
.entry-card-content::after {
  content: "";
  align-self: flex-end;
  margin-top: auto;
  width: 32px;
  height: 32px;
  border-top: 16px solid transparent;
  box-sizing: content-box;
  background: var(--wpc-blue) var(--wpc-chevron) 50% 50% / 8px 12px no-repeat;
  background-clip: padding-box;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background-color 0.25s;
  animation: wpcArrowBgIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.entry-card-wrap:hover .entry-card-content::after {
  background-color: var(--wpc-navy);
  animation: none;
}
/* PICK UP（カテゴリー一覧1ページ目の先頭の記事は横長カード。どの記事を出すかは functions.php で決める） */
.category:not(.paged) .list > .entry-card-wrap:first-child {
  grid-column: 1 / -1;
}
.category:not(.paged) .list > .entry-card-wrap:first-child .entry-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.category:not(.paged) .list > .entry-card-wrap:first-child .entry-card-thumb {
  aspect-ratio: 16 / 10;
  height: 100%;
  min-height: 200px;
}
.category:not(.paged) .list > .entry-card-wrap:first-child .entry-card-content {
  padding: 28px 28px 24px;
}
.category:not(.paged) .list > .entry-card-wrap:first-child .entry-card-meta {
  justify-content: flex-start;
  margin-bottom: 12px;
}
.category:not(.paged) .list > .entry-card-wrap:first-child .entry-card-info {
  margin-left: 0;
}
.category:not(.paged) .list > .entry-card-wrap:first-child .entry-card-categorys .entry-category {
  display: none;
}
.category:not(.paged) .list > .entry-card-wrap:first-child .entry-card-categorys::before {
  content: "PICK UP";
  display: block;
  font-size: 11px;
  color: #fff;
  background: var(--wpc-orange);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 2px;
  line-height: 1.4;
}
.category:not(.paged) .list > .entry-card-wrap:first-child .entry-card-title {
  font-size: 19px;
  line-height: 1.7;
}
.category:not(.paged) .list > .entry-card-wrap:first-child .entry-card-snippet {
  margin-top: 12px;
  -webkit-line-clamp: 3;
}

/* ページネーション */
.pagination {
  margin: 48px 0 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-numbers {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid var(--wpc-line);
  color: var(--wpc-heading);
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  padding: 0;
  background: #fff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.page-numbers:hover,
.pagination a:hover {
  background: var(--wpc-navy);
  color: #fff;
  border-color: var(--wpc-navy);
}
.pagination .current,
.page-numbers.current {
  background: var(--wpc-blue);
  color: #fff;
  border-color: var(--wpc-blue);
}
.page-numbers.dots {
  border: 0;
  background: transparent;
}
.pagination-next {
  margin: 40px 0 0;
  text-align: center;
}
.pagination-next-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wpc-navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 18px 28px;
  border-radius: 4px;
  min-width: 300px;
  border: 0;
  transition: background 0.25s;
}
.pagination-next-link:hover {
  background: var(--wpc-blue);
  color: #fff;
}

/* ---- サイドバー ---- */
.sidebar .widget,
.sidebar > aside,
#sidebar-scroll > aside {
  background: var(--wpc-surface);
  border-radius: 10px;
  padding: 24px 24px 16px;
  margin: 0 0 32px;
  border: 0;
}
.sidebar .widget > h3,
.sidebar .widget-sidebar-title,
.sidebar .widget-sidebar-scroll-title,
.sidebar h3.widget-title,
.sidebar h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--wpc-sub);
  margin: 0 0 8px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  line-height: 1.6;
}
/* 画像バナーウィジェットは面なし */
#sidebar .widget_media_image,
#sidebar .widget_block.widget_media_image {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.sidebar .widget_media_image figure {
  margin: 0;
}
.sidebar .widget_media_image img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  display: block;
}
/* 「WPセンター提供サービス」見出しブロックは非表示（デザイン上バナーのみ） */
.sidebar > .widget_block:not(.widget_media_image) {
  display: none;
}
/* カテゴリー */
.sidebar .widget_categories ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidebar .widget_categories li {
  border-bottom: 1px solid var(--wpc-line);
  margin: 0;
  padding: 0;
}
.sidebar .widget_categories li:last-child {
  border-bottom: 0;
}
.sidebar .widget_categories li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  color: var(--wpc-text);
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  border: 0;
  background: transparent;
  text-decoration: none;
}
.sidebar .widget_categories li a::after {
  content: "\203A";
  color: var(--wpc-blue);
  font-size: 14px;
}
.sidebar .widget_categories li a:hover {
  color: var(--wpc-blue);
  background: transparent;
}
.sidebar .widget_categories li.current-cat > a {
  color: var(--wpc-blue);
  font-weight: 700;
}
.sidebar .widget_categories .count {
  display: none;
}
/* 人気記事・新着（番号付きサムネリスト） */
.sidebar .widget-entry-cards {
  counter-reset: wpc-side;
}
.sidebar .widget-entry-cards .a-wrap {
  counter-increment: wpc-side;
  border-bottom: 1px solid var(--wpc-line);
  padding: 14px 0;
  margin: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  background: transparent;
  transition: color 0.2s;
}
.sidebar .widget-entry-cards .a-wrap:last-child {
  border-bottom: 0;
}
.sidebar .widget-entry-cards .a-wrap:hover {
  background: transparent;
}
.sidebar .widget-entry-cards .e-card {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
}
.sidebar .widget-entry-cards figure {
  flex-shrink: 0;
  width: 104px;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #dbe6f1;
  margin: 0;
  position: relative;
  float: none;
}
.sidebar .widget-entry-cards figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.sidebar .widget-entry-cards .a-wrap:hover figure img {
  transform: scale(1.08);
}
.sidebar .widget_popular_entries .widget-entry-cards figure::after {
  content: counter(wpc-side);
  position: absolute;
  top: 0;
  left: 0;
  background: var(--wpc-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  font-style: italic;
  padding: 3px 8px 3px 7px;
  border-radius: 0 0 6px 0;
  line-height: 1.2;
}
.sidebar .widget-entry-cards .card-content {
  margin: 0;
  min-width: 0;
  flex: 1;
}
.sidebar .widget-entry-cards .card-title {
  font-weight: 700;
  color: var(--wpc-heading);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s;
}
.sidebar .widget-entry-cards .a-wrap:hover .card-title {
  color: var(--wpc-blue);
}
.sidebar .widget-entry-cards .widget-entry-card-date {
  display: none;
}

/* 追従サイドバー */
.sidebar-scroll {
  position: sticky;
  top: 90px;
}
.admin-bar .sidebar-scroll {
  top: 122px;
}
/* 一覧ページはサイドバー（バナー・人気記事・カテゴリー）が画面より高いため追従させない */
.archive .sidebar-scroll,
.home.blog .sidebar-scroll {
  position: static;
}

/* サイドバー目次 */
#sidebar .wpc-side-toc {
  padding: 24px 24px 20px;
}
.sidebar .wpc-side-toc .toc-widget-box,
.sidebar .wpc-side-toc .toc {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.wpc-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.wpc-toc-head .toc-title {
  margin: 0;
}
.wpc-toc-pct {
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--wpc-blue);
  letter-spacing: 0.04em;
}
.wpc-toc-bar {
  height: 2px;
  background: var(--wpc-line);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 6px;
}
.wpc-toc-bar i {
  display: block;
  height: 100%;
  background: var(--wpc-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s linear;
}
.wpc-side-toc .toc-content {
  padding: 4px 0 0;
}
.wpc-side-toc .toc-content > ol > li > a,
.wpc-side-toc .toc-content > ul > li > a {
  font-size: 13px;
  gap: 12px;
  line-height: 1.7;
}
.wpc-side-toc .toc-content ol ol,
.wpc-side-toc .toc-content ul ul {
  padding-left: 20px;
}
.wpc-side-toc .toc-content ol ol li a,
.wpc-side-toc .toc-content ul ul li a {
  font-size: 12px;
  line-height: 1.7;
}
/* 現在位置 */
.wpc-side-toc .toc-content > ol > li,
.wpc-side-toc .toc-content > ul > li {
  position: relative;
}
.wpc-side-toc .toc-content > ol > li.cur::before,
.wpc-side-toc .toc-content > ul > li.cur::before {
  content: "";
  display: block;
  position: absolute;
  left: -24px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--wpc-blue);
  border-radius: 0 2px 2px 0;
}
.wpc-side-toc .toc-content > ol > li.cur > a,
.wpc-side-toc .toc-content > ul > li.cur > a {
  color: var(--wpc-blue);
}
.wpc-side-toc .toc-content li li.cur > a {
  color: var(--wpc-blue);
  font-weight: 700;
}
.wpc-side-toc .toc-content > ol > li.done > a,
.wpc-side-toc .toc-content > ol > li.done li a,
.wpc-side-toc .toc-content > ul > li.done > a,
.wpc-side-toc .toc-content > ul > li.done li a {
  color: var(--wpc-sub-3);
}
.wpc-side-toc .toc-content > ol > li.done > a::before,
.wpc-side-toc .toc-content > ul > li.done > a::before {
  background: #c6d0dc;
}

/* PC：投稿・固定ページのサイドバー
   追従する部分（プロフィール・バナー・目次）と、その下に続く部分（人気記事・カテゴリー）に分ける。
   追従部分は記事末尾付近で人気記事の手前に止まり、重ならない。 */
@media (min-width: 1024px) {
  .single #sidebar,
  .page #sidebar {
    display: flex;
    flex-direction: column;
  }
  .single #sidebar-scroll,
  .page #sidebar-scroll {
    position: static;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  .wpc-side-sticky {
    flex: 1 1 auto;
  }
  .wpc-side-sticky-in {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 106px);
  }
  .admin-bar .wpc-side-sticky-in {
    top: 122px;
    max-height: calc(100vh - 138px);
  }
  .wpc-side-sticky-in > aside {
    flex-shrink: 0;
  }
  .wpc-side-sticky-in > .wpc-side-toc {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .wpc-side-toc .toc-widget-box,
  .wpc-side-toc .toc {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }
  .wpc-side-toc .toc-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .wpc-side-toc .toc-content::-webkit-scrollbar {
    display: none;
  }
  /* 記事内目次はPCでは非表示（サイドバー目次を使用）。お客様の声はサイドバー目次を出さず、記事内目次を表示する */
  .single .article:not(.category-case-studies-post) .entry-content #toc,
  .page .entry-content #toc {
    display: none;
  }
}

/* ---- フッター ---- */
.footer {
  background: var(--wpc-navy);
  color: var(--wpc-sub-3);
  padding: 32px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-top: 96px;
}
/* カテゴリーページ・トップページはCTAエリアの直下にフッターを続ける */
.category .footer,
.home .footer {
  margin-top: 0;
}
.footer a {
  color: var(--wpc-sub-3);
}
.footer-in.wrap {
  padding-top: 0;
  padding-bottom: 0;
}
.footer-widgets,
.footer-widgets-mobile {
  display: none;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-bottom-logo,
.footer-bottom-content {
  float: none;
  width: auto;
  text-align: center;
}
.footer-bottom-logo .logo-footer {
  margin: 0;
  padding: 0;
}
/* Cocoonの「上下表示」設定ではロゴ欄が非表示になるため表示に戻す */
.footer-bottom.fdt-up-and-down .footer-bottom-logo {
  display: block;
  position: static;
  float: none;
}
.footer-bottom {
  margin-top: 0;
  padding: 0;
}
.footer-bottom-logo .wpc-footer-logo .site-name-text {
  font-size: inherit;
}
.wpc-footer-logo .site-name-text-link {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}
.footer .wpc-footer-logo .site-name-text-link:hover {
  color: #fff;
  opacity: 0.8;
}
.navi-footer {
  display: none;
}
.copyright,
.source-org {
  color: var(--wpc-sub-3);
  font-size: 12px;
  width: auto;
}

/* トップへ戻る */
.go-to-top-button {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--wpc-navy);
  color: #fff;
  font-size: 18px;
  line-height: 44px;
  opacity: 0.9;
  border: 0;
}
.go-to-top-button:hover {
  background: var(--wpc-blue);
  color: #fff;
}
.copy-info {
  background: var(--wpc-navy);
  border-radius: 6px;
  font-size: 13px;
}

/* =====================================================================
   レスポンシブ
   ===================================================================== */
@media screen and (max-width: 1023px) {
  .content {
    margin-top: 24px;
  }
  .content-in {
    display: block;
  }
  main.main,
  div.sidebar {
    width: auto;
    margin: 0;
    padding: 0;
  }
  div.sidebar {
    margin-top: 48px;
  }
  .sidebar-scroll {
    position: static;
  }
  .sidebar .widget,
  .sidebar > aside,
  #sidebar-scroll > aside {
    margin-bottom: 24px;
  }
  /* 記事内目次を表示、サイドバー目次は非表示 */
  .sidebar .wpc-side-toc {
    display: none;
  }
  /* ヘッダー：Cocoonのモバイル用縦積みを解除し、ロゴとCTAを1行に並べる */
  #header-container #header-container-in {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
  }
  #header-container #header {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }
  #header-container .wpc-logo {
    text-align: left;
  }
  #header-container #navi {
    width: auto;
    flex: 0 0 auto;
  }
  /* ヘッダー：ナビ文字非表示、CTAのみ */
  #navi .navi-in > .menu-pc {
    display: flex;
    gap: 12px;
  }
  #navi .navi-in > .menu-pc > li:not(.wpc-nav-cta) {
    display: none;
  }
  .entry-content .mw_wp_form {
    padding: 28px 24px 24px;
  }
  .category:not(.paged) .list > .entry-card-wrap:first-child .entry-card {
    grid-template-columns: 1fr;
  }
  .category:not(.paged) .list > .entry-card-wrap:first-child .entry-card-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --wpc-header-h: 57px;
  }
  #header-container-in.wrap,
  .content-in.wrap,
  .content-bottom-in.wrap,
  .footer-in.wrap,
  .breadcrumb.sbp-main-before,
  .breadcrumb.pbp-main-before {
    padding-left: 16px;
    padding-right: 16px;
  }
  .content-bottom {
    margin-top: 56px;
  }
  .content-bottom .related-entries {
    padding-top: 48px;
  }
  #header-container-in.wrap {
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }
  .wpc-logo .site-name-text {
    gap: 8px;
  }
  .wpc-logo .wpc-brand-icon {
    width: 36px;
    height: 36px;
  }
  .wpc-brand-name {
    font-size: 15px;
  }
  #header-container .wpc-logo .wpc-brand-tagline {
    display: none;
  }
  #navi .navi-in > .menu-pc > li.wpc-nav-cta > a {
    padding: 10px 12px 10px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  .wpc-nav-cta .wpc-arrow {
    gap: 8px;
  }
  .entry-title {
    font-size: 24px;
    line-height: 1.5;
  }
  .article-header {
    margin-bottom: 28px;
  }
  .entry-content {
    font-size: 15px;
  }
  .article h2,
  .entry-content h2 {
    margin: 56px 0 22px;
    font-size: 20px;
  }
  .article h3,
  .entry-content h3 {
    font-size: 17px;
    margin: 40px 0 18px;
  }
  .entry-content h3.wpc-point-h::before {
    top: -1px;
  }
  .toc,
  .entry-content .toc,
  .nwa .toc {
    padding: 22px 20px;
  }
  .entry-content blockquote {
    padding: 26px 22px 22px;
  }
  .entry-content blockquote p {
    font-size: 17px;
  }
  .entry-content .btn,
  .entry-content .btn-wrap a,
  .cta-button .btn,
  .entry-content .mw_wp_form button,
  .wpc-more-btn,
  .pagination-next-link {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .entry-content .btn-m,
  .entry-content .btn-s {
    width: auto;
  }
  .entry-content .wpc-lead-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .entry-content .wpc-lead-cta > p:last-child:not(:first-child) a {
    display: flex;
    justify-content: center;
  }
  .entry-content table.wpc-stats tbody {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .entry-content table.wpc-stats tr:first-child {
    grid-column: 1 / -1;
  }
  .entry-content table.wpc-stats tr {
    padding: 18px 18px 16px;
  }
  .entry-content table.wpc-stats td:nth-child(2) {
    font-size: 26px;
  }
  .entry-content .wpc-worry,
  .entry-content .wpc-merit {
    padding: 48px 16px 16px;
  }
  .entry-content .wpc-worry > ul > li,
  .entry-content .wpc-merit > ul > li {
    padding: 14px 16px 14px 46px;
    font-size: 14px;
  }
  .entry-content .wpc-worry > ul > li::before,
  .entry-content .wpc-merit > ul > li::before {
    left: 16px;
    top: 17px;
  }
  .entry-content ul.wpc-voice-list,
  .entry-content .wpc-merit > ul,
  .entry-content ol.wpc-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .entry-content ul.wpc-voice-list > li,
  .entry-content ul.wpc-voice-list > li > a:only-child {
    padding: 18px 18px 20px;
  }
  .entry-content ul.wpc-voice-list > li:has(> a:only-child) {
    padding: 0;
  }
  .entry-content .wpc-svc {
    grid-template-columns: minmax(0, 1fr);
  }
  .entry-content .wpc-svc > * {
    order: 4;
    margin-left: 20px;
    margin-right: 20px;
  }
  .entry-content .wpc-svc > p.wpc-svc-head {
    order: 1;
  }
  .entry-content .wpc-svc > p:first-child:has(img),
  .entry-content .wpc-svc > .wpc-svc-head + p:has(img) {
    order: 2;
  }
  .entry-content .wpc-svc > p:has(img) + * {
    margin-top: 20px;
  }
  .entry-content .wpc-svc > :has(+ table.wpc-svc-info),
  .entry-content .wpc-svc > :has(+ .scrollable-table > table.wpc-svc-info) {
    margin-bottom: 24px;
  }
  .entry-content .wpc-svc > table.wpc-svc-info,
  .entry-content .wpc-svc > .scrollable-table:has(> table.wpc-svc-info) {
    order: 3;
    grid-column: 1;
    grid-row-end: auto;
    margin: 0;
    padding: 20px;
    border-left: 0;
    border-bottom: 1px solid var(--wpc-line);
    background: var(--wpc-surface);
  }
  .entry-content .wpc-svc > p.wpc-svc-foot {
    order: 5;
    margin: 0;
  }
  .entry-content .information-box,
  .entry-content .blank-box,
  .entry-content .memo-box,
  .entry-content .primary-box,
  .entry-content .secondary-box,
  .entry-content .info-box,
  .entry-content .alert-box,
  .entry-content .warning-box {
    padding: 18px 18px 18px 52px;
  }
  .entry-content .information-box::before,
  .entry-content .blank-box::before,
  .entry-content .memo-box::before,
  .entry-content .primary-box::before,
  .entry-content .secondary-box::before,
  .entry-content .info-box::before,
  .entry-content .alert-box::before,
  .entry-content .warning-box::before {
    left: 16px;
    top: 18px;
  }
  .entry-content .blank-box.bb-tab {
    padding: 52px 22px 24px;
  }
  .entry-content div.speech-balloon {
    max-width: 100%;
  }
  .entry-content .mw_wp_form {
    padding: 26px 20px;
  }
  /* ブログカード：画像をカードの端まで広げ、本文を画像のすぐ下に */
  .blogcard,
  .bct-detail .blogcard {
    grid-template-columns: 1fr;
    grid-template-areas:
      "thumb"
      "content"
      "footer";
    grid-template-rows: auto;
    padding: 0;
    overflow: hidden;
  }
  .blogcard-footer {
    margin: 0;
    padding: 8px 20px 18px;
  }
  .entry-content .bct-detail .blogcard-thumbnail,
  .entry-content .blogcard-thumbnail {
    width: 100%;
    border-radius: 0;
  }
  .entry-content .blogcard-content {
    padding: 14px 20px 0;
  }
  .entry-content #hosyu {
    min-width: 900px;
  }
  .entry-content #hosyu td {
    padding: 10px 10px;
  }
  .entry-content #hosyu td span[style] {
    font-size: 12px !important;
  }
  .entry-content #hosyu tr > td:first-child {
    min-width: 120px;
  }
  /* 記事下CTAはフルブリード */
  .content-bottom .cta-box{
    padding: 44px 22px;
    border-radius: 0;
    margin-left: -16px;
    margin-right: -16px;
  }
  .content-bottom .cta-heading{
    font-size: 21px;
  }
  .content-bottom .cta-thumb{
    max-width: 260px;
  }
  .related-entries {
    margin-top: 48px;
  }
  .related-entry-heading,
  .main-widget-label,
  .widget-above-page-sns-buttons-title {
    font-size: 20px;
  }
  /* キービジュアル：写真を上、テキストを下に */
  .wpc-kv-section {
    margin: 16px 0 32px;
  }
  .wpc-kv-section-in {
    padding: 0 16px;
  }
  .wpc-kv {
    aspect-ratio: auto;
    min-height: 0;
  }
  .wpc-kv-img {
    position: relative;
    aspect-ratio: 16 / 9;
  }
  .wpc-kv-img::after {
    background: linear-gradient(180deg, rgba(21, 31, 44, 0) 40%, #151f2c 100%);
  }
  .wpc-kv-inner {
    position: static;
    padding: 4px 22px 30px;
  }
  .wpc-kv .wpc-kv-lead {
    font-size: 16px;
  }
  /* 編集画面で指定した改行はPCの幅に合わせたものなので、スマホでは使わない */
  .wpc-kv-title br.wpc-kv-br {
    display: none;
  }
  .wpc-kv .wpc-kv-title {
    font-size: 22px;
    line-height: 1.55;
  }
  .wpc-ba-wrap {
    margin-top: 16px;
  }
  .wpc-ba {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 22px;
  }
  .wpc-ba::after {
    font-size: 44px;
    left: auto;
    right: 14px;
  }
  .wpc-cat-kv {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .wpc-cat-kv-img {
    order: -1;
    min-height: 200px;
  }
  .wpc-cat-kv-img::after {
    background: linear-gradient(180deg, rgba(21, 31, 44, 0) 40%, #151f2c 100%);
  }
  .wpc-cat-kv-inner {
    padding: 24px 22px 28px;
  }
  .wpc-cat-kv .wpc-cat-kv-title {
    font-size: 22px;
  }
  .article h2.wpc-qa,
  .entry-content h2.wpc-qa {
    gap: 14px;
  }
  .wpc-q {
    font-size: 24px;
  }
  .wpc-q-txt {
    font-size: 20px;
  }
  .category-case-studies-post .entry-content div.speech-balloon,
  .category-case-studies-post .entry-content div.speech-balloon p {
    font-size: 15px;
    line-height: 2.1;
  }
  .archive-title {
    font-size: 22px;
  }
  .page-numbers {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .footer {
    margin-top: 64px;
    padding: 28px 0;
  }
}

@media screen and (max-width: 420px) {
  .wpc-nav-cta .wpc-arrow {
    display: none;
  }
  #navi .navi-in > .menu-pc > li.wpc-nav-cta > a {
    padding: 9px 12px;
  }
}
