/* =========================================================
   日本事件データベース｜追加CSS 整理版
   SWELL / HOME・ハブページ・投稿ページ共通
   ========================================================= */

/* =========================================================
   0. 共通変数
   ========================================================= */

:root {
  --jdb-bg: #f7f0e4;
  --jdb-paper: #fffaf0;
  --jdb-paper-2: #fbf4e8;
  --jdb-line: #d4c5ad;
  --jdb-text: #1c1b18;
  --jdb-muted: #686257;
  --jdb-red: #9d1714;
  --jdb-red-dark: #74100e;
  --jdb-shadow: 0 10px 26px rgba(48, 34, 18, .12);
  --jdb-shadow-soft: 0 5px 14px rgba(48, 34, 18, .10);
}

/* =========================================================
   1. HOME：SWELL基本調整
   ========================================================= */

body.home,
body.front-page {
  background: #101010;
}

body.home .c-pageTitle,
body.home .p-breadcrumb,
body.home .p-articleHead,
body.home .entry-title,
body.front-page .c-pageTitle,
body.front-page .p-breadcrumb,
body.front-page .p-articleHead,
body.front-page .entry-title {
  display: none !important;
}

body.home .l-content,
body.front-page .l-content,
body.home .l-mainContent,
body.front-page .l-mainContent {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.home .post_content,
body.front-page .post_content {
  margin-top: 0 !important;
}

/* =========================================================
   2. HOME：全体
   ========================================================= */

.jdb-home {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 14px 108px;
  color: var(--jdb-text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.85), transparent 36%),
    linear-gradient(180deg, #fbf4e8 0%, #f6efe3 45%, #f3ecdf 100%);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif;
  overflow: hidden;
}

.jdb-home::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(60, 40, 20, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 40, 20, .04) 1px, transparent 1px);
  background-size: 18px 18px;
}

.jdb-home * {
  box-sizing: border-box;
}

.jdb-home a {
  color: inherit;
  text-decoration: none;
}

.jdb-home svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* HOME内のSWELL見出し装飾リセット */
.post_content .jdb-home h1,
.post_content .jdb-home h2,
.post_content .jdb-home h3 {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  line-height: 1.35;
  box-shadow: none;
}

.post_content .jdb-home h1::before,
.post_content .jdb-home h1::after,
.post_content .jdb-home h2::before,
.post_content .jdb-home h2::after,
.post_content .jdb-home h3::before,
.post_content .jdb-home h3::after {
  display: none !important;
  content: none !important;
}

/* =========================================================
   3. HOME：HERO
   ========================================================= */

.jdb-hero {
  position: relative;
  z-index: 1;
  min-height: 430px;
  padding: 44px 12px 30px;
  overflow: hidden;
}

.jdb-hero__image {
  position: absolute;
  top: 34px;
  right: -42px;
  z-index: 1;
  width: 330px;
  height: 240px;
  display: block;
  background-image: url("https://jiken-db.com/wp-content/uploads/2026/06/hero画像.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .82;
  transform: rotate(1.5deg);
  filter: drop-shadow(0 14px 22px rgba(60, 40, 20, .14));
  pointer-events: none;
}

.jdb-hero__paper,
.jdb-paper,
.jdb-stamp {
  display: none !important;
}

.jdb-hero__lead {
  position: relative;
  z-index: 3;
  margin: 0 0 24px;
  color: var(--jdb-red-dark);
  font-size: clamp(15px, 4vw, 20px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: .05em;
}

.jdb-hero__title {
  position: relative;
  z-index: 3;
  margin: 0;
  color: #0d0d0d;
  font-size: clamp(43px, 12vw, 78px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: .03em;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}

.jdb-home .jdb-red-line {
  position: relative;
  z-index: 3;
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 22px;
  background: var(--jdb-red);
  border-radius: 999px;
}

/* =========================================================
   4. HOME：検索
   ========================================================= */

.jdb-search {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 0;
  padding: 10px 10px 10px 18px;
  min-height: 66px;
  background: rgba(255, 252, 245, .94);
  border: 1px solid rgba(112, 93, 64, .28);
  border-radius: 18px;
  box-shadow: var(--jdb-shadow);
  backdrop-filter: blur(8px);
}

.jdb-search__icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: #333;
}

.jdb-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--jdb-text);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
}

.jdb-search input::placeholder {
  color: #777063;
}

.jdb-search button {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: none;
  border-radius: 12px;
  background: var(--jdb-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

/* =========================================================
   5. HOME：共通セクション
   ========================================================= */

.jdb-section {
  position: relative;
  z-index: 2;
  margin-top: 34px;
}

.jdb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}

.jdb-section-head h2 {
  position: relative;
  padding-left: 18px !important;
  color: var(--jdb-text);
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 800;
  letter-spacing: .03em;
}

.jdb-section-head h2::before {
  content: "";
  display: block !important;
  position: absolute;
  left: 0;
  top: .18em;
  width: 5px;
  height: 1.05em;
  background: var(--jdb-red);
  border-radius: 999px;
}

.jdb-section-head a {
  flex: 0 0 auto;
  color: var(--jdb-red);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.jdb-section-head a::after {
  content: "›";
  display: inline-block;
  margin-left: 9px;
  font-size: 26px;
  line-height: 1;
  transform: translateY(2px);
}

/* =========================================================
   6. HOME：カテゴリカード
   ========================================================= */

.jdb-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.jdb-cat-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  min-height: 118px;
  padding: 15px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(250,242,228,.92));
  border: 1px solid rgba(126, 101, 64, .36);
  border-radius: 13px;
  box-shadow:
    0 7px 18px rgba(48, 34, 18, .10),
    inset 0 1px 0 rgba(255,255,255,.65);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.jdb-cat-card:active {
  transform: scale(.985);
  background: rgba(248, 238, 222, .96);
}

.jdb-cat-card:hover {
  border-color: rgba(157, 23, 20, .42);
  box-shadow: 0 10px 24px rgba(48, 34, 18, .14);
}

.jdb-cat-icon,
.jdb-cat-icon img {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}

.jdb-cat-icon {
  display: grid;
  place-items: center;
}

.jdb-cat-icon svg,
.jdb-cat-icon--question {
  display: none !important;
}

.jdb-cat-text {
  min-width: 0;
  display: block;
}

.jdb-cat-text strong {
  display: block;
  margin-bottom: 5px;
  color: #111;
  font-size: clamp(17px, 4.5vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .03em;
}

.jdb-cat-text em {
  display: block;
  margin-top: 4px;
  color: #5f584e;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: clamp(11px, 3.2vw, 14px);
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}

.jdb-arrow {
  color: var(--jdb-red);
  font-size: 31px;
  font-family: serif;
  line-height: 1;
  opacity: .95;
}

.jdb-sub-pc {
  display: inline;
}

.jdb-sub-sp {
  display: none;
}

/* =========================================================
   7. HOME：新着・人気リスト
   ========================================================= */

.jdb-news-list--swell,
.jdb-rank-clean {
  overflow: hidden !important;
  padding: 0 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(250,242,228,.9)) !important;
  border: 1px solid rgba(126, 101, 64, .34) !important;
  border-radius: 14px !important;
  box-shadow:
    0 8px 22px rgba(48, 34, 18, .10),
    inset 0 1px 0 rgba(255,255,255,.6) !important;
}

.jdb-news-list--swell .p-postList,
.jdb-rank-clean .p-postList {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.jdb-news-list--swell .p-postList__item,
.jdb-rank-clean .p-postList__item {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(126, 101, 64, .22) !important;
  background: rgba(255, 250, 240, .58) !important;
}

.jdb-news-list--swell .p-postList__item:last-child,
.jdb-rank-clean .p-postList__item:last-child {
  border-bottom: none !important;
}

.jdb-news-list--swell .p-postList__link,
.jdb-rank-clean .p-postList__link {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 82px !important;
  padding: 10px 34px 10px 12px !important;
  color: inherit !important;
  text-decoration: none !important;
}

.jdb-news-list--swell .p-postList__thumb,
.jdb-news-list--swell .c-postThumb,
.jdb-rank-clean .p-postList__thumb,
.jdb-rank-clean .c-postThumb {
  flex: 0 0 94px !important;
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  margin: 0 !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  box-shadow: 0 4px 10px rgba(48, 34, 18, .10) !important;
  filter: none !important;
}

.jdb-news-list--swell .c-postThumb__figure,
.jdb-news-list--swell .c-postThumb__img,
.jdb-news-list--swell .p-postList__thumb img,
.jdb-rank-clean .c-postThumb__figure,
.jdb-rank-clean .c-postThumb__img,
.jdb-rank-clean .p-postList__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: none !important;
}

.jdb-news-list--swell .p-postList__body,
.jdb-rank-clean .p-postList__body {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: center !important;
  display: block !important;
}

.jdb-news-list--swell .p-postList__title,
.jdb-rank-clean .p-postList__title {
  display: -webkit-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  text-overflow: clip !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.jdb-news-list--swell .p-postList__title::before,
.jdb-rank-clean .p-postList__title::before,
.jdb-rank-clean .p-postList__link::before,
.jdb-rank-clean .p-postList__item::before {
  display: none !important;
  content: none !important;
}

.jdb-news-list--swell .c-postThumb__cat,
.jdb-news-list--swell .p-postList__cat,
.jdb-news-list--swell .c-categoryList,
.jdb-news-list--swell .c-categoryList__item,
.jdb-news-list--swell .post-categories,
.jdb-news-list--swell .p-postList__meta,
.jdb-news-list--swell .p-postList__times,
.jdb-news-list--swell .p-postList__date,
.jdb-news-list--swell .p-postList__excerpt,
.jdb-rank-clean .c-postThumb__cat,
.jdb-rank-clean .p-postList__cat,
.jdb-rank-clean .c-categoryList,
.jdb-rank-clean .c-categoryList__item,
.jdb-rank-clean .post-categories,
.jdb-rank-clean .p-postList__meta,
.jdb-rank-clean .p-postList__times,
.jdb-rank-clean .p-postList__date,
.jdb-rank-clean .p-postList__excerpt {
  display: none !important;
}

.jdb-news-list--swell .p-postList__link::after,
.jdb-rank-clean .p-postList__link::after {
  content: "›" !important;
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--jdb-red) !important;
  font-family: serif !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

.jdb-rank-clean .p-postList,
.jdb-rank-clean .p-postList__item {
  counter-reset: none !important;
  counter-increment: none !important;
}

.jdb-popular-list--swell {
  all: unset;
}

/* =========================================================
   8. HOME：特集・ABOUT・下部ナビ
   ========================================================= */

.jdb-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.jdb-feature-card {
  position: relative;
  display: block;
  padding: 15px 44px 15px 16px;
  border: 1px solid rgba(126, 101, 64, .32);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(250,242,228,.92));
  box-shadow:
    0 6px 16px rgba(48, 34, 18, .09),
    inset 0 1px 0 rgba(255,255,255,.65);
  color: var(--jdb-text);
  text-decoration: none;
}

.jdb-feature-card:active {
  transform: scale(.99);
  background: rgba(248, 238, 222, .96);
}

.jdb-feature-card__kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 7px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(157, 23, 20, .10);
  color: var(--jdb-red);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .05em;
}

.jdb-feature-card strong {
  display: block;
  margin: 0 0 5px;
  color: #111;
  font-size: clamp(18px, 4.8vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .03em;
}

.jdb-feature-card em {
  display: block;
  color: #5f584e;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}

.jdb-feature-card__arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--jdb-red);
  font-family: serif;
  font-size: 34px;
  line-height: 1;
}

.jdb-section--about {
  margin-top: 36px;
  margin-bottom: 20px;
}

.jdb-about-card {
  position: relative;
  padding: 22px 18px 20px;
  border: 1px solid rgba(126, 101, 64, .34);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(250,242,228,.94));
  box-shadow:
    0 8px 22px rgba(48, 34, 18, .10),
    inset 0 1px 0 rgba(255,255,255,.65);
}

.jdb-about-card__label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(157, 23, 20, .10);
  color: var(--jdb-red);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .08em;
}

.jdb-about-card h2 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  color: #111;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif;
  font-size: clamp(22px, 5.6vw, 30px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .03em;
}

.jdb-about-card h2::before,
.jdb-about-card h2::after {
  display: none !important;
  content: none !important;
}

.jdb-about-card p {
  margin: 0 0 12px;
  color: #3b372f;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .02em;
}

.jdb-about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.jdb-about-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(126, 101, 64, .30);
  border-radius: 999px;
  background: rgba(255, 250, 240, .78);
  color: #2a2520;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(48, 34, 18, .07);
}

.jdb-about-links a::after {
  content: "›";
  margin-left: 6px;
  color: var(--jdb-red);
  font-family: serif;
  font-size: 18px;
  line-height: 1;
}

.jdb-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  max-width: 760px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 250, 240, .96);
  border-top: 1px solid rgba(126, 101, 64, .28);
  box-shadow: 0 -8px 22px rgba(48, 34, 18, .14);
  backdrop-filter: blur(12px);
}

.jdb-bottom-nav a {
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 0;
  color: #5d564b;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.jdb-bottom-nav__icon,
.jdb-bottom-nav__icon img {
  width: 27px;
  height: 27px;
  display: block;
  object-fit: contain;
}

.jdb-bottom-nav__icon {
  display: grid;
  place-items: center;
}

.jdb-bottom-nav svg {
  display: none !important;
}

.jdb-bottom-nav a.is-active,
.jdb-bottom-nav a.is-active span:last-child {
  color: var(--jdb-red);
}

.jdb-bottom-nav a:active {
  transform: scale(.94);
  opacity: .75;
}

.jdb-section--hub,
.jdb-hub-list,
.jdb-hub-cards {
  display: none !important;
}

/* =========================================================
   9. ハブページ：共通
   ========================================================= */

.jdb-hub-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 16px 60px;
  color: var(--jdb-text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.8), transparent 36%),
    linear-gradient(180deg, #fbf4e8 0%, #f6efe3 50%, #f3ecdf 100%);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif;
}

.jdb-hub-page * {
  box-sizing: border-box;
}

.jdb-hub-page a {
  color: inherit;
  text-decoration: none;
}

.jdb-hub-page .jdb-red-line {
  display: none !important;
}

/* ハブページ内のSWELL見出し装飾リセット */
.post_content .jdb-hub-page h1,
.post_content .jdb-hub-page h2,
.post_content .jdb-hub-page h3 {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  line-height: 1.35;
  box-shadow: none;
}

.post_content .jdb-hub-page h1::before,
.post_content .jdb-hub-page h1::after,
.post_content .jdb-hub-page h2::before,
.post_content .jdb-hub-page h2::after,
.post_content .jdb-hub-page h3::before,
.post_content .jdb-hub-page h3::after {
  display: none !important;
  content: none !important;
}

.jdb-hub-hero {
  position: relative;
  padding: 28px 18px 30px;
  border: 1px solid rgba(126, 101, 64, .28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(250,242,228,.94));
  box-shadow:
    0 8px 22px rgba(48, 34, 18, .10),
    inset 0 1px 0 rgba(255,255,255,.65);
  overflow: hidden;
}

.jdb-hub-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157,23,20,.08), transparent 65%);
  pointer-events: none;
}

.jdb-hub-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(157, 23, 20, .10);
  color: var(--jdb-red);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.jdb-hub-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px !important;
  color: #111;
  font-size: clamp(30px, 7vw, 48px);
  font-weight: 800;
  letter-spacing: .03em;
}

.jdb-hub-hero p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  color: #3b372f;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
}

/* =========================================================
   10. ハブページ：セクション・カード
   ========================================================= */

.jdb-hub-section {
  margin-top: 34px;
}

.jdb-hub-section-head {
  margin-bottom: 14px;
}

.jdb-hub-section-head h2 {
  position: relative;
  padding-left: 16px !important;
  color: var(--jdb-text);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 800;
  letter-spacing: .03em;
}

.jdb-hub-section-head h2::before {
  content: "";
  display: block !important;
  position: absolute;
  left: 0;
  top: .18em;
  width: 5px;
  height: 1.05em;
  background: var(--jdb-red);
  border-radius: 999px;
}

.jdb-hub-card-grid,
.jdb-case-card-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

.jdb-hub-link-card,
.jdb-case-card {
  position: relative !important;
  display: block !important;
  min-height: 130px !important;
  padding: 16px 44px 16px 16px !important;
  border: 1px solid rgba(126, 101, 64, .32) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(250,242,228,.94)) !important;
  box-shadow:
    0 6px 16px rgba(48, 34, 18, .09),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
  color: var(--jdb-text) !important;
  text-decoration: none !important;
}

.jdb-hub-link-card:hover,
.jdb-case-card:hover {
  border-color: rgba(157, 23, 20, .42) !important;
  box-shadow: 0 10px 24px rgba(48, 34, 18, .13) !important;
  transform: translateY(-1px);
}

.jdb-hub-link-card span,
.jdb-case-card__meta {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  margin: 0 0 9px !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  background: rgba(157, 23, 20, .10) !important;
  color: var(--jdb-red) !important;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .04em !important;
}

.jdb-hub-link-card strong,
.jdb-case-card strong {
  display: block !important;
  margin: 0 0 7px !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: .02em !important;
}

.jdb-hub-link-card em,
.jdb-case-card em {
  display: -webkit-box !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #5f584e !important;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

.jdb-hub-link-card b,
.jdb-case-card__arrow {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: block !important;
  color: var(--jdb-red) !important;
  font-family: serif !important;
  font-size: 34px !important;
  line-height: 1 !important;
}

.jdb-hub-lead {
  display: block !important;
  margin: 0 0 14px !important;
  color: #4c463d !important;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
}

/* =========================================================
   11. ハブページ：概要・導入文・本文
   ========================================================= */

.jdb-hub-overview {
  margin-top: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(126, 101, 64, .32) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(250,242,228,.96)) !important;
  box-shadow:
    0 8px 22px rgba(48, 34, 18, .09),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

.jdb-hub-overview__row {
  display: grid !important;
  grid-template-columns: 110px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: start !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(126, 101, 64, .22) !important;
}

.jdb-hub-overview__row:last-child {
  border-bottom: none !important;
}

.jdb-hub-overview__row strong {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  background: rgba(157, 23, 20, .10) !important;
  color: var(--jdb-red) !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}

.jdb-hub-overview__row span {
  color: #33302a !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  letter-spacing: .01em !important;
}

.jdb-hub-intro,
.jdb-hub-article {
  position: relative !important;
  padding: 22px !important;
  border: 1px solid rgba(126, 101, 64, .30) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(250,242,228,.94)) !important;
  box-shadow:
    0 8px 22px rgba(48, 34, 18, .08),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

.jdb-hub-intro::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 18px !important;
  bottom: 18px !important;
  width: 5px !important;
  border-radius: 999px !important;
  background: rgba(157, 23, 20, .85) !important;
}

.jdb-hub-intro p,
.jdb-hub-article p {
  max-width: 760px !important;
  margin: 0 0 15px !important;
  color: #33302a !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 2.05 !important;
  letter-spacing: .02em !important;
  text-align: left !important;
}

.jdb-hub-intro p:last-child,
.jdb-hub-article p:last-child {
  margin-bottom: 0 !important;
}

.jdb-hub-article h2 {
  position: relative !important;
  margin: 30px 0 12px !important;
  padding: 0 0 0 15px !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: .02em !important;
}

.jdb-hub-article h2:first-child {
  margin-top: 0 !important;
}

.jdb-hub-article h2::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: .18em !important;
  width: 5px !important;
  height: 1.05em !important;
  background: var(--jdb-red) !important;
  border-radius: 999px !important;
}

.jdb-hub-article h2:not(:first-child) {
  padding-top: 20px !important;
  border-top: 1px solid rgba(126, 101, 64, .22) !important;
}

/* =========================================================
   12. ハブページ：記事一覧・関連リンク
   ========================================================= */

.jdb-hub-post-list {
  overflow: hidden;
  border: 1px solid rgba(126, 101, 64, .34);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(250,242,228,.9));
  box-shadow:
    0 8px 22px rgba(48, 34, 18, .10),
    inset 0 1px 0 rgba(255,255,255,.6);
}

.jdb-hub-post-list .p-postList {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.jdb-hub-post-list .p-postList__item {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(126, 101, 64, .22) !important;
  background: rgba(255, 250, 240, .58);
}

.jdb-hub-post-list .p-postList__item:last-child {
  border-bottom: none !important;
}

.jdb-hub-post-list .p-postList__link {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 82px !important;
  padding: 10px 34px 10px 12px !important;
  color: inherit !important;
  text-decoration: none !important;
}

.jdb-hub-post-list .p-postList__thumb,
.jdb-hub-post-list .c-postThumb {
  flex: 0 0 94px !important;
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  margin: 0 !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  box-shadow: 0 4px 10px rgba(48, 34, 18, .10) !important;
}

.jdb-hub-post-list .p-postList__thumb img,
.jdb-hub-post-list .c-postThumb__img,
.jdb-hub-post-list .c-postThumb__figure {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.jdb-hub-post-list .p-postList__body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.jdb-hub-post-list .p-postList__title {
  display: -webkit-box !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.jdb-hub-post-list .p-postList__link::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--jdb-red);
  font-family: serif;
  font-size: 28px;
}

.jdb-hub-post-list .c-postThumb__cat,
.jdb-hub-post-list .p-postList__cat,
.jdb-hub-post-list .p-postList__meta,
.jdb-hub-post-list .p-postList__times,
.jdb-hub-post-list .p-postList__date,
.jdb-hub-post-list .p-postList__excerpt {
  display: none !important;
}

.jdb-hub-related {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.jdb-hub-related a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(126, 101, 64, .30);
  border-radius: 999px;
  background: rgba(255, 250, 240, .78);
  color: #2a2520;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(48, 34, 18, .07);
}

.jdb-hub-related a::after {
  content: "›";
  margin-left: 7px;
  color: var(--jdb-red);
  font-family: serif;
  font-size: 18px;
}

.jdb-simple-link-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

.jdb-simple-link-list a {
  position: relative !important;
  display: block !important;
  padding: 10px 34px 10px 12px !important;
  border: 1px solid rgba(126,101,64,.24) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.56) !important;
  color: #2b2620 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

.jdb-simple-link-list a::after {
  content: "›" !important;
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--jdb-red) !important;
  font-family: serif !important;
  font-size: 24px !important;
}

.jdb-hub-note {
  margin-top: 34px;
  padding: 16px;
  border: 1px solid rgba(126, 101, 64, .26);
  border-radius: 13px;
  background: rgba(255, 250, 240, .64);
}

.jdb-hub-note p {
  margin: 0;
  color: #4c463d;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}

/* =========================================================
   13. ハブページ：年代・都道府県・固定ページ用
   ========================================================= */

.jdb-era-list,
.jdb-pref-region-list,
.jdb-pref-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  margin-top: 16px !important;
}

.jdb-era-block {
  padding: 18px !important;
  border: 1px solid rgba(126, 101, 64, .30) !important;
  border-radius: 15px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(250,242,228,.94)) !important;
  box-shadow: 0 6px 16px rgba(48,34,18,.08) !important;
}

.jdb-era-block h3 {
  position: relative !important;
  display: block !important;
  margin: 0 0 10px !important;
  padding-left: 18px !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.38 !important;
}

.jdb-era-block h3::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 5px !important;
  height: 1.12em !important;
  background: var(--jdb-red) !important;
  border-radius: 999px !important;
}

.jdb-era-desc {
  margin: 0 !important;
  color: #4b453c !important;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
}

.jdb-pref-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 9px !important;
  margin-top: 12px !important;
}

.jdb-pref-grid a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 9px 8px !important;
  border: 1px solid rgba(126,101,64,.28) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg,rgba(255,255,255,.70),rgba(250,242,228,.95)) !important;
  color: #251f18 !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(48,34,18,.07) !important;
}

.jdb-pref-grid a:hover {
  border-color: rgba(157,23,20,.45) !important;
  color: var(--jdb-red) !important;
  transform: translateY(-1px) !important;
}

.jdb-policy-list {
  margin: 14px 0 22px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(126,101,64,.28) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg,rgba(255,255,255,.70),rgba(250,242,228,.95)) !important;
}

.jdb-policy-list ul {
  margin: 0 !important;
  padding-left: 1.2em !important;
}

.jdb-policy-list li {
  margin: 0 0 8px !important;
  color: #33302a !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
}

.jdb-policy-list li:last-child {
  margin-bottom: 0 !important;
}

.jdb-contact-form-box {
  padding: 22px !important;
  border: 1px solid rgba(126,101,64,.30) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg,rgba(255,255,255,.74),rgba(250,242,228,.96)) !important;
  box-shadow:
    0 8px 22px rgba(48,34,18,.09),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

.jdb-contact-form-box input,
.jdb-contact-form-box textarea,
.jdb-contact-form-box select {
  width: 100% !important;
  border: 1px solid rgba(126,101,64,.32) !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.92) !important;
  color: #251f18 !important;
  font-size: 15px !important;
}

.jdb-contact-form-box textarea {
  min-height: 180px !important;
}

.jdb-contact-form-box input[type="submit"],
.jdb-contact-form-box button {
  width: auto !important;
  min-width: 180px !important;
  padding: 12px 22px !important;
  border: none !important;
  border-radius: 999px !important;
  background: var(--jdb-red) !important;
  color: #fff !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 18px rgba(157,23,20,.22) !important;
}

/* =========================================================
   14. 投稿記事下部：カテゴリ別内部リンクブログパーツ
   ========================================================= */

.jdb-auto-hub-parts {
  margin: 34px 0 28px !important;
}

.jdb-post-hub-links {
  padding: 20px !important;
  border: 1px solid rgba(126,101,64,.30) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(157,23,20,.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.74), rgba(250,242,228,.96)) !important;
  box-shadow:
    0 10px 24px rgba(48,34,18,.09),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

.jdb-post-hub-links__head {
  margin: 0 0 14px !important;
}

.jdb-post-hub-links__head span {
  display: inline-flex !important;
  margin: 0 0 8px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(157,23,20,.10) !important;
  color: var(--jdb-red) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
}

.jdb-post-hub-links__head strong {
  display: block !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.jdb-post-hub-links__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.jdb-post-hub-links__grid a {
  position: relative !important;
  display: block !important;
  min-height: 112px !important;
  padding: 14px 36px 14px 14px !important;
  border: 1px solid rgba(126,101,64,.26) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(250,242,228,.95)) !important;
  color: #241f18 !important;
  text-decoration: none !important;
  box-shadow: 0 5px 14px rgba(48,34,18,.07) !important;
}

.jdb-post-hub-links__grid a::after {
  content: "›" !important;
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--jdb-red) !important;
  font-family: serif !important;
  font-size: 30px !important;
  line-height: 1 !important;
}

.jdb-post-hub-links__grid a:hover {
  border-color: rgba(157,23,20,.45) !important;
  box-shadow: 0 9px 22px rgba(48,34,18,.12) !important;
  transform: translateY(-1px) !important;
}

.jdb-post-hub-links__grid a span {
  display: inline-flex !important;
  margin: 0 0 7px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(157,23,20,.09) !important;
  color: var(--jdb-red) !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.jdb-post-hub-links__grid a strong {
  display: block !important;
  margin: 0 0 6px !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.38 !important;
}

.jdb-post-hub-links__grid a em {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: #5f584e !important;
  font-size: 12.5px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

/* =========================================================
   15. [related_posts] 関連記事カード
   ========================================================= */

.jdb-related-posts {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 18px 0 30px !important;
}

.jdb-related-posts__item {
  position: relative !important;
  display: flex !important;
  gap: 14px !important;
  align-items: stretch !important;
  min-height: 112px !important;
  padding: 12px 44px 12px 12px !important;
  border: 1px solid rgba(126, 101, 64, .30) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(250,242,228,.96)) !important;
  color: #241f18 !important;
  text-decoration: none !important;
  box-shadow:
    0 7px 18px rgba(48, 34, 18, .08),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
  overflow: hidden !important;
}

.jdb-related-posts__item:hover {
  border-color: rgba(157, 23, 20, .45) !important;
  box-shadow: 0 10px 24px rgba(48, 34, 18, .13) !important;
  transform: translateY(-1px) !important;
}

.jdb-related-posts__thumb {
  flex: 0 0 120px !important;
  width: 120px !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: rgba(30, 24, 18, .08) !important;
}

.jdb-related-posts__thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.jdb-related-posts__body {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.jdb-related-posts__label {
  display: inline-flex !important;
  margin: 0 0 6px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(157, 23, 20, .10) !important;
  color: var(--jdb-red) !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.jdb-related-posts__body strong {
  display: -webkit-box !important;
  margin: 0 0 6px !important;
  overflow: hidden !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.jdb-related-posts__body em {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: #5f584e !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.jdb-related-posts__arrow {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--jdb-red) !important;
  font-family: serif !important;
  font-size: 34px !important;
  line-height: 1 !important;
}

/* =========================================================
   16. 投稿ページ：HOME・ハブページ寄せ
   ========================================================= */

/*
   重要：
   body.single などで拾えない環境があったため、
   投稿本文の直下要素を .post_content > で指定しています。
   .jdb-home / .jdb-hub-page の中は対象外になりやすく、固定ページへの干渉を抑えています。
*/

body:not(.home):not(.front-page) {
  background:
    radial-gradient(circle at 18% 0%, rgba(157,23,20,.06), transparent 32%),
    linear-gradient(180deg, #f7efe2 0%, #f4ead8 100%) !important;
}

.post_content > h1,
.post_content > .wp-block-heading:first-child {
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  letter-spacing: .02em !important;
}

.post_content > p {
  color: #2f2a24 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 2.05 !important;
  letter-spacing: .01em !important;
}

/* 投稿本文のH2：囲み線なし・資料見出し風 */
.post_content > h2,
.post_content > h2.wp-block-heading {
  position: relative !important;
  display: block !important;
  margin: 44px 0 18px !important;
  padding: 0 0 12px 18px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #12100d !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  letter-spacing: .02em !important;
}

.post_content > h2::before,
.post_content > h2.wp-block-heading::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: .2em !important;
  width: 5px !important;
  height: 1.2em !important;
  border-radius: 999px !important;
  background: var(--jdb-red) !important;
  border: none !important;
  box-shadow: none !important;
}

.post_content > h2::after,
.post_content > h2.wp-block-heading::after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    rgba(157,23,20,.42),
    rgba(126,101,64,.22),
    rgba(126,101,64,0)
  ) !important;
  border: none !important;
  box-shadow: none !important;
}

/* 投稿本文のH3 */
.post_content > h3,
.post_content > h3.wp-block-heading {
  position: relative !important;
  display: block !important;
  margin: 32px 0 14px !important;
  padding: 0 0 0 16px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1a1511 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

.post_content > h3::before,
.post_content > h3.wp-block-heading::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: .35em !important;
  width: 4px !important;
  height: 1.1em !important;
  border-radius: 999px !important;
  background: rgba(157,23,20,.85) !important;
  border: none !important;
  box-shadow: none !important;
}

.post_content > h3::after,
.post_content > h3.wp-block-heading::after {
  content: none !important;
}

/* 投稿本文テーブル */
.post_content > table,
.post_content > .wp-block-table table {
  overflow: hidden !important;
  width: 100% !important;
  margin: 18px 0 28px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid rgba(126,101,64,.28) !important;
  border-radius: 15px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(250,242,228,.96)) !important;
  box-shadow: 0 8px 22px rgba(48,34,18,.08) !important;
}

.post_content > table th,
.post_content > table td,
.post_content > .wp-block-table table th,
.post_content > .wp-block-table table td {
  padding: 13px 15px !important;
  border-bottom: 1px solid rgba(126,101,64,.20) !important;
  border-right: none !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  vertical-align: top !important;
}

.post_content > table th,
.post_content > .wp-block-table table th {
  width: 30% !important;
  background: rgba(157,23,20,.09) !important;
  color: var(--jdb-red) !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.post_content > table td,
.post_content > .wp-block-table table td {
  color: #312b24 !important;
  font-weight: 500 !important;
}

.post_content > blockquote,
.post_content > .wp-block-quote {
  margin: 24px 0 !important;
  padding: 18px 20px !important;
  border-left: 5px solid var(--jdb-red) !important;
  border-radius: 14px !important;
  background: rgba(250,242,228,.82) !important;
  color: #40382f !important;
  box-shadow: 0 6px 16px rgba(48,34,18,.07) !important;
}

/* =========================================================
   17. PC / スマホ調整
   ========================================================= */

@media (min-width: 761px) {
  .jdb-home {
    border-left: 1px solid rgba(126, 101, 64, .18);
    border-right: 1px solid rgba(126, 101, 64, .18);
    box-shadow: 0 0 40px rgba(48, 34, 18, .10);
  }
}

@media (min-width: 640px) {
  .jdb-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .jdb-hero__image {
    top: 28px;
    right: -72px;
    width: 310px;
    height: 230px;
    opacity: .78;
  }

  .jdb-related-posts {
    gap: 10px !important;
    margin: 16px 0 26px !important;
  }

  .jdb-related-posts__item {
    gap: 10px !important;
    min-height: 96px !important;
    padding: 10px 34px 10px 10px !important;
    border-radius: 14px !important;
  }

  .jdb-related-posts__thumb {
    flex-basis: 86px !important;
    width: 86px !important;
    border-radius: 10px !important;
  }

  .jdb-related-posts__thumb img {
    min-height: 76px !important;
  }

  .jdb-related-posts__body strong {
    font-size: 15px !important;
    line-height: 1.42 !important;
  }

  .jdb-related-posts__body em {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .jdb-related-posts__arrow {
    right: 12px !important;
    font-size: 28px !important;
  }

  .jdb-post-hub-links__grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .jdb-post-hub-links {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .jdb-post-hub-links__head strong {
    font-size: 19px !important;
  }

  .jdb-post-hub-links__grid a {
    min-height: auto !important;
    padding: 13px 34px 13px 13px !important;
  }

  .jdb-post-hub-links__grid a strong {
    font-size: 16px !important;
  }

  .jdb-post-hub-links__grid a em {
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .jdb-home {
    padding-left: 10px;
    padding-right: 10px;
  }

  .jdb-section {
    margin-top: 32px;
  }

  .jdb-section-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  .jdb-section-head h2 {
    font-size: 28px;
    line-height: 1.25;
    padding-left: 14px !important;
    letter-spacing: .01em;
  }

  .jdb-section-head h2::before {
    width: 4px;
  }

  .jdb-section-head a {
    font-size: 13px;
  }

  .jdb-section-head a::after {
    font-size: 22px;
    margin-left: 6px;
  }

  .jdb-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .jdb-cat-card {
    grid-template-columns: 48px minmax(0, 1fr) 14px !important;
    gap: 8px !important;
    min-height: 82px !important;
    padding: 10px 9px !important;
    border-radius: 9px !important;
  }

  .jdb-cat-icon,
  .jdb-cat-icon img {
    width: 44px !important;
    height: 44px !important;
  }

  .jdb-cat-text strong {
    display: block !important;
    margin: 0 0 3px !important;
    font-size: 16px !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: keep-all !important;
  }

  .jdb-cat-text em {
    display: -webkit-box !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    overflow: hidden !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .jdb-sub-pc {
    display: none !important;
  }

  .jdb-sub-sp {
    display: inline !important;
  }

  .jdb-cat-card .jdb-arrow {
    font-size: 23px !important;
  }

  .jdb-news-list--swell .p-postList__link,
  .jdb-rank-clean .p-postList__link {
    display: grid !important;
    grid-template-columns: 86px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    min-height: 82px !important;
    padding: 10px 30px 10px 10px !important;
  }

  .jdb-news-list--swell .p-postList__thumb,
  .jdb-news-list--swell .c-postThumb,
  .jdb-rank-clean .p-postList__thumb,
  .jdb-rank-clean .c-postThumb {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
  }

  .jdb-news-list--swell .p-postList__title,
  .jdb-rank-clean .p-postList__title {
    font-size: 13.4px !important;
    line-height: 1.42 !important;
  }

  .jdb-news-list--swell .p-postList__link::after,
  .jdb-rank-clean .p-postList__link::after {
    right: 9px !important;
    font-size: 25px !important;
  }

  .jdb-feature-card {
    padding: 13px 38px 13px 13px;
  }

  .jdb-feature-card strong {
    font-size: 17px;
  }

  .jdb-feature-card em {
    font-size: 12px;
  }

  .jdb-about-card {
    padding: 18px 14px 17px;
  }

  .jdb-about-card p {
    font-size: 13px;
    line-height: 1.85;
  }

  .jdb-about-links a {
    font-size: 11.5px;
  }

  .jdb-bottom-nav a {
    font-size: 10px;
  }

  .jdb-bottom-nav__icon,
  .jdb-bottom-nav__icon img {
    width: 24px;
    height: 24px;
  }

  .jdb-hero {
    min-height: 410px;
    padding-top: 38px;
  }

  .jdb-hero__image {
    top: 24px;
    right: -92px;
    width: 300px;
    height: 220px;
    opacity: .74;
  }

  .jdb-hub-page {
    padding: 20px 10px 50px;
  }

  .jdb-hub-hero {
    padding: 22px 15px 24px;
    border-radius: 15px;
  }

  .jdb-hub-hero h1 {
    font-size: 29px;
  }

  .jdb-hub-hero p {
    font-size: 13px;
    line-height: 1.8;
  }

  .jdb-hub-section {
    margin-top: 30px;
  }

  .jdb-hub-section-head h2 {
    font-size: 25px;
  }

  .jdb-hub-card-grid,
  .jdb-case-card-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .jdb-hub-link-card,
  .jdb-case-card {
    min-height: auto !important;
    padding: 14px 38px 14px 14px !important;
    border-radius: 13px !important;
  }

  .jdb-hub-link-card strong,
  .jdb-case-card strong {
    font-size: 17px !important;
  }

  .jdb-hub-link-card em,
  .jdb-case-card em {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .jdb-hub-link-card b,
  .jdb-case-card__arrow {
    right: 14px !important;
    font-size: 30px !important;
  }

  .jdb-hub-overview {
    border-radius: 14px !important;
  }

  .jdb-hub-overview__row {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 13px 14px !important;
  }

  .jdb-hub-overview__row strong {
    justify-content: flex-start !important;
    width: fit-content !important;
    min-height: 26px !important;
    font-size: 11.5px !important;
  }

  .jdb-hub-overview__row span {
    font-size: 13px !important;
    line-height: 1.75 !important;
  }

  .jdb-hub-intro,
  .jdb-hub-article {
    padding: 18px 15px 20px !important;
    border-radius: 14px !important;
  }

  .jdb-hub-intro::before {
    top: 16px !important;
    bottom: 16px !important;
    width: 4px !important;
  }

  .jdb-hub-intro p,
  .jdb-hub-article p {
    font-size: 14px !important;
    line-height: 1.95 !important;
    letter-spacing: .01em !important;
    margin-bottom: 13px !important;
  }

  .jdb-hub-article h2 {
    margin: 26px 0 10px !important;
    padding-left: 13px !important;
    font-size: 21px !important;
    line-height: 1.4 !important;
  }

  .jdb-hub-post-list .p-postList__link {
    display: grid !important;
    grid-template-columns: 86px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    min-height: 82px !important;
    padding: 10px 30px 10px 10px !important;
  }

  .jdb-hub-post-list .p-postList__thumb,
  .jdb-hub-post-list .c-postThumb {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
  }

  .jdb-hub-post-list .p-postList__title {
    font-size: 13.4px !important;
    line-height: 1.42 !important;
  }

  .jdb-hub-post-list .p-postList__link::after {
    right: 9px;
    font-size: 25px;
  }

  .jdb-pref-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .jdb-pref-grid a {
    min-height: 38px !important;
    padding: 8px 6px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }

  .jdb-policy-list {
    padding: 14px 15px !important;
    border-radius: 13px !important;
  }

  .jdb-policy-list li {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  .jdb-contact-form-box {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  .jdb-contact-form-box input[type="submit"],
  .jdb-contact-form-box button {
    width: 100% !important;
  }

  .post_content > p {
    font-size: 15px !important;
    line-height: 1.95 !important;
  }

  .post_content > h2,
  .post_content > h2.wp-block-heading {
    margin: 38px 0 16px !important;
    padding: 0 0 10px 15px !important;
    font-size: 22px !important;
    line-height: 1.45 !important;
  }

  .post_content > h2::before,
  .post_content > h2.wp-block-heading::before {
    width: 4px !important;
  }

  .post_content > h2::after,
  .post_content > h2.wp-block-heading::after {
    left: 15px !important;
  }

  .post_content > h3,
  .post_content > h3.wp-block-heading {
    font-size: 18px !important;
    padding-left: 14px !important;
  }

  .post_content > .wp-block-table {
    overflow-x: auto !important;
  }

  .post_content > .wp-block-table table th {
    width: 112px !important;
    min-width: 112px !important;
  }
}

/* =========================================================
   18. 投稿ページ：タイトル黒化・パンくず補正
   ========================================================= */

body:not(.home):not(.front-page) .l-content,
body:not(.home):not(.front-page) .l-mainContent,
body:not(.home):not(.front-page) .l-mainContent__inner,
body:not(.home):not(.front-page) .l-topTitleArea,
body:not(.home):not(.front-page) .l-topTitleArea__body,
body:not(.home):not(.front-page) .p-articleHead,
body:not(.home):not(.front-page) .c-postTitle,
body:not(.home):not(.front-page) .c-pageTitle,
body:not(.home):not(.front-page) .c-pageTitle__inner {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

body:not(.home):not(.front-page) h1,
body:not(.home):not(.front-page) h1 *,
body:not(.home):not(.front-page) .c-postTitle,
body:not(.home):not(.front-page) .c-postTitle *,
body:not(.home):not(.front-page) .c-postTitle__ttl,
body:not(.home):not(.front-page) .c-postTitle__ttl *,
body:not(.home):not(.front-page) .entry-title,
body:not(.home):not(.front-page) .entry-title *,
body:not(.home):not(.front-page) .p-articleHead h1,
body:not(.home):not(.front-page) .p-articleHead h1 *,
body:not(.home):not(.front-page) .l-topTitleArea h1,
body:not(.home):not(.front-page) .l-topTitleArea h1 * {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
}

body:not(.home):not(.front-page) .p-breadcrumb,
body:not(.home):not(.front-page) .p-breadcrumb *,
body:not(.home):not(.front-page) .p-breadcrumb a {
  color: rgba(60, 52, 43, .75) !important;
  -webkit-text-fill-color: rgba(60, 52, 43, .75) !important;
  opacity: 1 !important;
}

/* =========================================================
   19. SWELLサムネイル右上カテゴリラベル非表示
   ※画像・figure・比率指定には触らない
   ========================================================= */

.p-postList__thumb > .c-postThumb__cat,
.c-postThumb > .c-postThumb__cat,
.p-postList__thumb > span.c-postThumb__cat,
.c-postThumb > span.c-postThumb__cat,
.p-postList__thumb > span.icon-folder,
.c-postThumb > span.icon-folder,
.p-postList__thumb > span[data-cat-id],
.c-postThumb > span[data-cat-id] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

.p-postList__thumb > .c-postThumb__cat::before,
.p-postList__thumb > .c-postThumb__cat::after,
.c-postThumb > .c-postThumb__cat::before,
.c-postThumb > .c-postThumb__cat::after,
.p-postList__thumb > span.icon-folder::before,
.p-postList__thumb > span.icon-folder::after,
.c-postThumb > span.icon-folder::before,
.c-postThumb > span.icon-folder::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* =========================================================
   20. TOP上部スライダー復旧・タイトル黒化
   通常記事一覧CSSの干渉を受けないようにする
   ========================================================= */

body.home .p-postSlider .p-postList__title,
body.home .p-postSlider .p-postList__title *,
body.home .c-postSlider .p-postList__title,
body.home .c-postSlider .p-postList__title *,
body.home .p-postList.-type-slider .p-postList__title,
body.home .p-postList.-type-slider .p-postList__title *,
body.home .p-postList.is-style-slider .p-postList__title,
body.home .p-postList.is-style-slider .p-postList__title *,
body.home .swiper-slide .p-postList__title,
body.home .swiper-slide .p-postList__title *,
body.front-page .p-postSlider .p-postList__title,
body.front-page .p-postSlider .p-postList__title *,
body.front-page .c-postSlider .p-postList__title,
body.front-page .c-postSlider .p-postList__title *,
body.front-page .p-postList.-type-slider .p-postList__title,
body.front-page .p-postList.-type-slider .p-postList__title *,
body.front-page .p-postList.is-style-slider .p-postList__title,
body.front-page .p-postList.is-style-slider .p-postList__title *,
body.front-page .swiper-slide .p-postList__title,
body.front-page .swiper-slide .p-postList__title * {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

body.home .p-postSlider .p-postList__title,
body.home .c-postSlider .p-postList__title,
body.home .p-postList.-type-slider .p-postList__title,
body.home .p-postList.is-style-slider .p-postList__title,
body.home .swiper-slide .p-postList__title,
body.front-page .p-postSlider .p-postList__title,
body.front-page .c-postSlider .p-postList__title,
body.front-page .p-postList.-type-slider .p-postList__title,
body.front-page .p-postList.is-style-slider .p-postList__title,
body.front-page .swiper-slide .p-postList__title {
  display: -webkit-box !important;
  overflow: hidden !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  letter-spacing: .01em !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

@media (max-width: 768px) {
  body.home .p-postSlider,
  body.front-page .p-postSlider,
  body.home .c-postSlider,
  body.front-page .c-postSlider,
  body.home .swiper,
  body.front-page .swiper,
  body.home .swiper-container,
  body.front-page .swiper-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.home .p-postSlider .p-postList,
  body.front-page .p-postSlider .p-postList,
  body.home .c-postSlider .p-postList,
  body.front-page .c-postSlider .p-postList,
  body.home .p-postList.-type-slider,
  body.front-page .p-postList.-type-slider,
  body.home .p-postList.is-style-slider,
  body.front-page .p-postList.is-style-slider,
  body.home .swiper-wrapper,
  body.front-page .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.home .p-postSlider .p-postList__item,
  body.front-page .p-postSlider .p-postList__item,
  body.home .c-postSlider .p-postList__item,
  body.front-page .c-postSlider .p-postList__item,
  body.home .p-postList.-type-slider .p-postList__item,
  body.front-page .p-postList.-type-slider .p-postList__item,
  body.home .p-postList.is-style-slider .p-postList__item,
  body.front-page .p-postList.is-style-slider .p-postList__item,
  body.home .swiper-slide,
  body.front-page .swiper-slide {
    display: block !important;
    flex: 0 0 auto !important;
    width: 72vw !important;
    max-width: 280px !important;
    min-width: 220px !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    opacity: 1 !important;
    filter: none !important;
  }

  body.home .p-postSlider .p-postList__link,
  body.front-page .p-postSlider .p-postList__link,
  body.home .c-postSlider .p-postList__link,
  body.front-page .c-postSlider .p-postList__link,
  body.home .p-postList.-type-slider .p-postList__link,
  body.front-page .p-postList.-type-slider .p-postList__link,
  body.home .p-postList.is-style-slider .p-postList__link,
  body.front-page .p-postList.is-style-slider .p-postList__link,
  body.home .swiper-slide .p-postList__link,
  body.front-page .swiper-slide .p-postList__link {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    text-decoration: none !important;
  }

  body.home .p-postSlider .p-postList__thumb,
  body.home .p-postSlider .c-postThumb,
  body.front-page .p-postSlider .p-postList__thumb,
  body.front-page .p-postSlider .c-postThumb,
  body.home .c-postSlider .p-postList__thumb,
  body.home .c-postSlider .c-postThumb,
  body.front-page .c-postSlider .p-postList__thumb,
  body.front-page .c-postSlider .c-postThumb,
  body.home .p-postList.-type-slider .p-postList__thumb,
  body.home .p-postList.-type-slider .c-postThumb,
  body.front-page .p-postList.-type-slider .p-postList__thumb,
  body.front-page .p-postList.-type-slider .c-postThumb,
  body.home .p-postList.is-style-slider .p-postList__thumb,
  body.home .p-postList.is-style-slider .c-postThumb,
  body.front-page .p-postList.is-style-slider .p-postList__thumb,
  body.front-page .p-postList.is-style-slider .c-postThumb,
  body.home .swiper-slide .p-postList__thumb,
  body.home .swiper-slide .c-postThumb,
  body.front-page .swiper-slide .p-postList__thumb,
  body.front-page .swiper-slide .c-postThumb {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 0 8px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  body.home .p-postSlider .c-postThumb__figure,
  body.front-page .p-postSlider .c-postThumb__figure,
  body.home .c-postSlider .c-postThumb__figure,
  body.front-page .c-postSlider .c-postThumb__figure,
  body.home .p-postList.-type-slider .c-postThumb__figure,
  body.front-page .p-postList.-type-slider .c-postThumb__figure,
  body.home .p-postList.is-style-slider .c-postThumb__figure,
  body.front-page .p-postList.is-style-slider .c-postThumb__figure,
  body.home .swiper-slide .c-postThumb__figure,
  body.front-page .swiper-slide .c-postThumb__figure {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.home .p-postSlider .c-postThumb__img,
  body.home .p-postSlider .p-postList__thumb img,
  body.front-page .p-postSlider .c-postThumb__img,
  body.front-page .p-postSlider .p-postList__thumb img,
  body.home .c-postSlider .c-postThumb__img,
  body.home .c-postSlider .p-postList__thumb img,
  body.front-page .c-postSlider .c-postThumb__img,
  body.front-page .c-postSlider .p-postList__thumb img,
  body.home .p-postList.-type-slider .c-postThumb__img,
  body.home .p-postList.-type-slider .p-postList__thumb img,
  body.front-page .p-postList.-type-slider .c-postThumb__img,
  body.front-page .p-postList.-type-slider .p-postList__thumb img,
  body.home .p-postList.is-style-slider .c-postThumb__img,
  body.home .p-postList.is-style-slider .p-postList__thumb img,
  body.front-page .p-postList.is-style-slider .c-postThumb__img,
  body.front-page .p-postList.is-style-slider .p-postList__thumb img,
  body.home .swiper-slide .c-postThumb__img,
  body.home .swiper-slide .p-postList__thumb img,
  body.front-page .swiper-slide .c-postThumb__img,
  body.front-page .swiper-slide .p-postList__thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    filter: none !important;
  }

  body.home .p-postSlider .p-postList__body,
  body.front-page .p-postSlider .p-postList__body,
  body.home .c-postSlider .p-postList__body,
  body.front-page .c-postSlider .p-postList__body,
  body.home .p-postList.-type-slider .p-postList__body,
  body.front-page .p-postList.-type-slider .p-postList__body,
  body.home .p-postList.is-style-slider .p-postList__body,
  body.front-page .p-postList.is-style-slider .p-postList__body,
  body.home .swiper-slide .p-postList__body,
  body.front-page .swiper-slide .p-postList__body {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    filter: none !important;
  }

  body.home .p-postSlider .p-postList__title,
  body.home .p-postSlider .p-postList__title *,
  body.front-page .p-postSlider .p-postList__title,
  body.front-page .p-postSlider .p-postList__title *,
  body.home .c-postSlider .p-postList__title,
  body.home .c-postSlider .p-postList__title *,
  body.front-page .c-postSlider .p-postList__title,
  body.front-page .c-postSlider .p-postList__title *,
  body.home .p-postList.-type-slider .p-postList__title,
  body.home .p-postList.-type-slider .p-postList__title *,
  body.front-page .p-postList.-type-slider .p-postList__title,
  body.front-page .p-postList.-type-slider .p-postList__title *,
  body.home .p-postList.is-style-slider .p-postList__title,
  body.home .p-postList.is-style-slider .p-postList__title *,
  body.front-page .p-postList.is-style-slider .p-postList__title,
  body.front-page .p-postList.is-style-slider .p-postList__title *,
  body.home .swiper-slide .p-postList__title,
  body.home .swiper-slide .p-postList__title *,
  body.front-page .swiper-slide .p-postList__title,
  body.front-page .swiper-slide .p-postList__title * {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
}

/* =========================================================
   21. SWELL標準関連記事：タイトル黒化・スマホ2列
   ※投稿ページ内だけに限定し、TOPスライダーには干渉させない
   ========================================================= */

body.single .p-postList__title,
body.single-post .p-postList__title,
body.post-template-default .p-postList__title,
body.single .p-postList__title *,
body.single-post .p-postList__title *,
body.post-template-default .p-postList__title * {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

body.single .p-postList__title,
body.single-post .p-postList__title,
body.post-template-default .p-postList__title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  letter-spacing: .01em !important;
}

@media (max-width: 768px) {
  body.single .p-postList,
  body.single-post .p-postList,
  body.post-template-default .p-postList {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }

  body.single .p-postList__item,
  body.single-post .p-postList__item,
  body.post-template-default .p-postList__item {
    width: 100% !important;
    margin: 0 !important;
  }

  body.single .p-postList__link,
  body.single-post .p-postList__link,
  body.post-template-default .p-postList__link {
    display: block !important;
    width: 100% !important;
  }

  body.single .p-postList__thumb,
  body.single-post .p-postList__thumb,
  body.post-template-default .p-postList__thumb,
  body.single .c-postThumb,
  body.single-post .c-postThumb,
  body.post-template-default .c-postThumb {
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    margin: 0 0 7px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    opacity: 1 !important;
    filter: none !important;
  }

  body.single .c-postThumb__figure,
  body.single-post .c-postThumb__figure,
  body.post-template-default .c-postThumb__figure {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 3 / 2 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    filter: none !important;
  }

  body.single .c-postThumb__figure::before,
  body.single-post .c-postThumb__figure::before,
  body.post-template-default .c-postThumb__figure::before {
    padding-top: 66.6666667% !important;
  }

  body.single .c-postThumb__img,
  body.single-post .c-postThumb__img,
  body.post-template-default .c-postThumb__img,
  body.single .p-postList__thumb img,
  body.single-post .p-postList__thumb img,
  body.post-template-default .p-postList__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    filter: none !important;
  }

  body.single .p-postList__title,
  body.single-post .p-postList__title,
  body.post-template-default .p-postList__title {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-size: 12.8px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
  }
}

/* =========================================================
   22. [related_posts] 関連事件カード：アイキャッチ拡大＋スマホ比率修正
   ========================================================= */

.jdb-related-posts .jdb-related-posts__item {
  min-height: 138px !important;
  padding: 14px 48px 14px 14px !important;
  gap: 18px !important;
  align-items: center !important;
}

.jdb-related-posts .jdb-related-posts__thumb {
  flex: 0 0 170px !important;
  width: 170px !important;
  height: auto !important;
  min-width: 170px !important;
  max-width: 170px !important;
  aspect-ratio: 3 / 2 !important;
  margin: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: rgba(30,24,18,.08) !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  box-shadow: 0 5px 14px rgba(48,34,18,.12) !important;
}

.jdb-related-posts .jdb-related-posts__thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  opacity: 1 !important;
  filter: none !important;
}

.jdb-related-posts .jdb-related-posts__body strong {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}

.jdb-related-posts .jdb-related-posts__body em {
  color: #4f463c !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

@media (max-width: 768px) {
  .jdb-related-posts .jdb-related-posts__item {
    min-height: 118px !important;
    padding: 12px 40px 12px 12px !important;
    gap: 12px !important;
  }

  .jdb-related-posts .jdb-related-posts__thumb {
    flex: 0 0 124px !important;
    width: 124px !important;
    height: auto !important;
    min-width: 124px !important;
    max-width: 124px !important;
    aspect-ratio: 3 / 2 !important;
    border-radius: 10px !important;
  }

  .jdb-related-posts .jdb-related-posts__body strong {
    font-size: 15px !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 2 !important;
  }

  .jdb-related-posts .jdb-related-posts__body em {
    font-size: 12px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 2 !important;
  }
}

@media (max-width: 480px) {
  .jdb-related-posts {
    gap: 10px !important;
  }

  .jdb-related-posts .jdb-related-posts__item {
    display: grid !important;
    grid-template-columns: 116px minmax(0, 1fr) !important;
    column-gap: 11px !important;
    align-items: center !important;
    min-height: 96px !important;
    padding: 10px 32px 10px 10px !important;
  }

  .jdb-related-posts .jdb-related-posts__thumb {
    grid-column: 1 !important;
    width: 116px !important;
    height: auto !important;
    min-width: 116px !important;
    max-width: 116px !important;
    aspect-ratio: 3 / 2 !important;
    margin: 0 !important;
    border-radius: 9px !important;
  }

  .jdb-related-posts .jdb-related-posts__body {
    grid-column: 2 !important;
    min-width: 0 !important;
  }

  .jdb-related-posts .jdb-related-posts__label {
    margin-bottom: 4px !important;
    padding: 3px 7px !important;
    font-size: 10px !important;
  }

  .jdb-related-posts .jdb-related-posts__body strong {
    font-size: 13.5px !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 2 !important;
  }

  .jdb-related-posts .jdb-related-posts__body em {
    display: none !important;
  }

  .jdb-related-posts .jdb-related-posts__arrow {
    right: 10px !important;
    font-size: 26px !important;
  }
}

@media (max-width: 390px) {
  .jdb-related-posts .jdb-related-posts__item {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    column-gap: 10px !important;
  }

  .jdb-related-posts .jdb-related-posts__thumb {
    width: 104px !important;
    height: auto !important;
    min-width: 104px !important;
    max-width: 104px !important;
    aspect-ratio: 3 / 2 !important;
  }

  .jdb-related-posts .jdb-related-posts__body strong {
    font-size: 13px !important;
  }
}

/* =========================================================
   23. スマホ投稿本文：FAQ本文黒化・H2見出し生成り化・カテゴリタグ修正
   ========================================================= */

@media (max-width: 768px) {
  /* 投稿本文の薄さだけ解除。H2は下の見出し指定で制御する */
  body.single .post_content,
  body.single-post .post_content,
  body.post-template-default .post_content,
  body.single .entry-content,
  body.single-post .entry-content,
  body.post-template-default .entry-content {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    text-shadow: none !important;
  }

  body.single .post_content p,
  body.single .post_content p *,
  body.single .post_content li,
  body.single .post_content li *,
  body.single .post_content h3,
  body.single .post_content h3 *,
  body.single .post_content h4,
  body.single .post_content h4 *,
  body.single-post .post_content p,
  body.single-post .post_content p *,
  body.single-post .post_content li,
  body.single-post .post_content li *,
  body.single-post .post_content h3,
  body.single-post .post_content h3 *,
  body.single-post .post_content h4,
  body.single-post .post_content h4 *,
  body.post-template-default .post_content p,
  body.post-template-default .post_content p *,
  body.post-template-default .post_content li,
  body.post-template-default .post_content li *,
  body.post-template-default .post_content h3,
  body.post-template-default .post_content h3 *,
  body.post-template-default .post_content h4,
  body.post-template-default .post_content h4 * {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    text-shadow: none !important;
  }

  body.single .post_content h2,
  body.single-post .post_content h2,
  body.post-template-default .post_content h2,
  body.single .entry-content h2,
  body.single-post .entry-content h2,
  body.post-template-default .entry-content h2,
  body.single h2.wp-block-heading,
  body.single-post h2.wp-block-heading,
  body.post-template-default h2.wp-block-heading {
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(157, 23, 20, .35) !important;
    border-left: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 10px 18px !important;
    margin: 38px 0 18px !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
  }

  body.single .post_content h2 *,
  body.single-post .post_content h2 *,
  body.post-template-default .post_content h2 *,
  body.single .entry-content h2 *,
  body.single-post .entry-content h2 *,
  body.post-template-default .entry-content h2 *,
  body.single h2.wp-block-heading *,
  body.single-post h2.wp-block-heading *,
  body.post-template-default h2.wp-block-heading * {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
  }

  body.single .post_content h2::before,
  body.single-post .post_content h2::before,
  body.post-template-default .post_content h2::before,
  body.single .entry-content h2::before,
  body.single-post .entry-content h2::before,
  body.post-template-default .entry-content h2::before,
  body.single h2.wp-block-heading::before,
  body.single-post h2.wp-block-heading::before,
  body.post-template-default h2.wp-block-heading::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: .22em !important;
    width: 5px !important;
    height: 1.15em !important;
    border-radius: 999px !important;
    background: #9d1714 !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.single .post_content h2::after,
  body.single-post .post_content h2::after,
  body.post-template-default .post_content h2::after,
  body.single .entry-content h2::after,
  body.single-post .entry-content h2::after,
  body.post-template-default .entry-content h2::after,
  body.single h2.wp-block-heading::after,
  body.single-post h2.wp-block-heading::after,
  body.post-template-default h2.wp-block-heading::after {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgba(157,23,20,.42), rgba(126,101,64,.20), rgba(126,101,64,0)) !important;
    border: none !important;
  }

  body.single .p-articleFoot,
  body.single .p-articleFoot *,
  body.single-post .p-articleFoot,
  body.single-post .p-articleFoot *,
  body.post-template-default .p-articleFoot,
  body.post-template-default .p-articleFoot *,
  body.single .c-tagList,
  body.single .c-tagList *,
  body.single-post .c-tagList,
  body.single-post .c-tagList *,
  body.post-template-default .c-tagList,
  body.post-template-default .c-tagList *,
  body.single .c-categoryList,
  body.single .c-categoryList *,
  body.single-post .c-categoryList,
  body.single-post .c-categoryList *,
  body.post-template-default .c-categoryList,
  body.post-template-default .c-categoryList * {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    text-shadow: none !important;
  }

  body.single .p-articleFoot a,
  body.single-post .p-articleFoot a,
  body.post-template-default .p-articleFoot a,
  body.single .c-tagList a,
  body.single-post .c-tagList a,
  body.post-template-default .c-tagList a,
  body.single .c-categoryList a,
  body.single-post .c-categoryList a,
  body.post-template-default .c-categoryList a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    margin: 3px 4px 3px 0 !important;
    padding: 5px 10px !important;
    border: 1px solid rgba(126,101,64,.26) !important;
    border-radius: 4px !important;
    background: rgba(255,250,240,.92) !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(48,34,18,.06) !important;
  }

  body.single .p-articleFoot a *,
  body.single-post .p-articleFoot a *,
  body.post-template-default .p-articleFoot a *,
  body.single .c-tagList a *,
  body.single-post .c-tagList a *,
  body.post-template-default .c-tagList a *,
  body.single .c-categoryList a *,
  body.single-post .c-categoryList a *,
  body.post-template-default .c-categoryList a * {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    opacity: 1 !important;
  }
}

/* =========================================================
   収益化ハブ：マッチングアプリ・出会い系・SNS関連事件
   ========================================================= */

.jdb-aff-disclosure {
  margin: 14px 0 0 !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(126,101,64,.24) !important;
  border-radius: 12px !important;
  background: rgba(255,250,240,.72) !important;
  color: #5b5146 !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
}

.jdb-check-list {
  margin: 16px 0 22px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(126,101,64,.28) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(250,242,228,.95)) !important;
  box-shadow: 0 6px 16px rgba(48,34,18,.07) !important;
}

.jdb-check-list ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.jdb-check-list li {
  position: relative !important;
  margin: 0 0 10px !important;
  padding-left: 24px !important;
  color: #302a23 !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.75 !important;
}

.jdb-check-list li:last-child {
  margin-bottom: 0 !important;
}

.jdb-check-list li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: .62em !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: var(--jdb-red) !important;
  box-shadow: 0 0 0 4px rgba(157,23,20,.10) !important;
}

.jdb-aff-box {
  margin: 18px 0 30px !important;
  padding: 20px !important;
  border: 1px solid rgba(126,101,64,.30) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(157,23,20,.10), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.76), rgba(250,242,228,.96)) !important;
  box-shadow:
    0 10px 24px rgba(48,34,18,.10),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

.jdb-aff-box__label {
  display: inline-flex !important;
  margin: 0 0 10px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(157,23,20,.12) !important;
  color: var(--jdb-red) !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
}

.jdb-aff-box__body strong {
  display: block !important;
  margin: 0 0 8px !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.jdb-aff-box__body p {
  margin: 0 0 16px !important;
  color: #3b372f !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
}

.jdb-aff-service-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 16px 0 14px !important;
}

.jdb-aff-service-card {
  position: relative !important;
  display: block !important;
  min-height: 168px !important;
  padding: 16px !important;
  border: 1px solid rgba(126,101,64,.28) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(250,242,228,.96)) !important;
  color: #241f18 !important;
  text-decoration: none !important;
  box-shadow:
    0 7px 18px rgba(48,34,18,.08),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

.jdb-aff-service-card:hover {
  border-color: rgba(157,23,20,.45) !important;
  box-shadow: 0 10px 24px rgba(48,34,18,.13) !important;
  transform: translateY(-1px) !important;
}

.jdb-aff-service-card span {
  display: inline-flex !important;
  margin: 0 0 8px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(157,23,20,.10) !important;
  color: var(--jdb-red) !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.jdb-aff-service-card strong {
  display: block !important;
  margin: 0 0 7px !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.38 !important;
}

.jdb-aff-service-card em {
  display: block !important;
  margin: 0 0 14px !important;
  color: #5f584e !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
}

.jdb-aff-service-card b {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  margin-top: auto !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  background: var(--jdb-red) !important;
  color: #fff !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  box-shadow: 0 8px 18px rgba(157,23,20,.20) !important;
}

.jdb-aff-service-card b::after {
  content: "›" !important;
  margin-left: 7px !important;
  font-family: serif !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.jdb-aff-note {
  margin: 12px 0 0 !important;
  color: #665d52 !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
}

@media (max-width: 600px) {
  .jdb-aff-disclosure {
    font-size: 11.5px !important;
    line-height: 1.7 !important;
  }

  .jdb-check-list {
    padding: 14px 15px !important;
    border-radius: 13px !important;
  }

  .jdb-check-list li {
    font-size: 13.5px !important;
    line-height: 1.7 !important;
  }

  .jdb-aff-box {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .jdb-aff-box__body strong {
    font-size: 18px !important;
  }

  .jdb-aff-box__body p {
    font-size: 13.5px !important;
    line-height: 1.8 !important;
  }

  .jdb-aff-service-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .jdb-aff-service-card {
    min-height: auto !important;
    padding: 15px !important;
    border-radius: 14px !important;
  }

  .jdb-aff-service-card strong {
    font-size: 18px !important;
  }

  .jdb-aff-service-card em {
    font-size: 12.5px !important;
    line-height: 1.6 !important;
  }

  .jdb-aff-service-card b {
    min-height: 42px !important;
    font-size: 13px !important;
  }

  .jdb-aff-note {
    font-size: 11.5px !important;
  }
}

/* =========================================================
   ネット上の出会い系ハブ：安全チェック・PR枠
   ========================================================= */

.jdb-aff-disclosure {
  margin: 14px 0 0 !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(126,101,64,.24) !important;
  border-radius: 12px !important;
  background: rgba(255,250,240,.72) !important;
  color: #5b5146 !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
}

.jdb-check-list {
  margin: 16px 0 22px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(126,101,64,.28) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(250,242,228,.95)) !important;
  box-shadow: 0 6px 16px rgba(48,34,18,.07) !important;
}

.jdb-check-list ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.jdb-check-list li {
  position: relative !important;
  margin: 0 0 10px !important;
  padding-left: 24px !important;
  color: #302a23 !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.75 !important;
}

.jdb-check-list li:last-child {
  margin-bottom: 0 !important;
}

.jdb-check-list li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: .62em !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: var(--jdb-red) !important;
  box-shadow: 0 0 0 4px rgba(157,23,20,.10) !important;
}

.jdb-aff-box {
  margin: 18px 0 30px !important;
  padding: 20px !important;
  border: 1px solid rgba(126,101,64,.30) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(157,23,20,.10), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.76), rgba(250,242,228,.96)) !important;
  box-shadow:
    0 10px 24px rgba(48,34,18,.10),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

.jdb-aff-box__label {
  display: inline-flex !important;
  margin: 0 0 10px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(157,23,20,.12) !important;
  color: var(--jdb-red) !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
}

.jdb-aff-box__body strong {
  display: block !important;
  margin: 0 0 8px !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.jdb-aff-box__body p {
  margin: 0 0 16px !important;
  color: #3b372f !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
}

.jdb-aff-service-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 16px 0 14px !important;
}

.jdb-aff-service-card {
  position: relative !important;
  display: block !important;
  min-height: 168px !important;
  padding: 16px !important;
  border: 1px solid rgba(126,101,64,.28) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(250,242,228,.96)) !important;
  color: #241f18 !important;
  text-decoration: none !important;
  box-shadow:
    0 7px 18px rgba(48,34,18,.08),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

.jdb-aff-service-card:hover {
  border-color: rgba(157,23,20,.45) !important;
  box-shadow: 0 10px 24px rgba(48,34,18,.13) !important;
  transform: translateY(-1px) !important;
}

.jdb-aff-service-card span {
  display: inline-flex !important;
  margin: 0 0 8px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(157,23,20,.10) !important;
  color: var(--jdb-red) !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.jdb-aff-service-card strong {
  display: block !important;
  margin: 0 0 7px !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.38 !important;
}

.jdb-aff-service-card em {
  display: block !important;
  margin: 0 0 14px !important;
  color: #5f584e !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
}

.jdb-aff-service-card b {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  margin-top: auto !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  background: var(--jdb-red) !important;
  color: #fff !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  box-shadow: 0 8px 18px rgba(157,23,20,.20) !important;
}

.jdb-aff-service-card b::after {
  content: "›" !important;
  margin-left: 7px !important;
  font-family: serif !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.jdb-aff-note {
  margin: 12px 0 0 !important;
  color: #665d52 !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
}

@media (max-width: 600px) {
  .jdb-aff-disclosure {
    font-size: 11.5px !important;
    line-height: 1.7 !important;
  }

  .jdb-check-list {
    padding: 14px 15px !important;
    border-radius: 13px !important;
  }

  .jdb-check-list li {
    font-size: 13.5px !important;
    line-height: 1.7 !important;
  }

  .jdb-aff-box {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .jdb-aff-box__body strong {
    font-size: 18px !important;
  }

  .jdb-aff-box__body p {
    font-size: 13.5px !important;
    line-height: 1.8 !important;
  }

  .jdb-aff-service-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .jdb-aff-service-card {
    min-height: auto !important;
    padding: 15px !important;
    border-radius: 14px !important;
  }

  .jdb-aff-service-card strong {
    font-size: 18px !important;
  }

  .jdb-aff-service-card em {
    font-size: 12.5px !important;
    line-height: 1.6 !important;
  }

  .jdb-aff-service-card b {
    min-height: 42px !important;
    font-size: 13px !important;
  }

  .jdb-aff-note {
    font-size: 11.5px !important;
  }
}

/* =========================================================
   日本事件データベース｜独自ヘッダー
   ========================================================= */

/* SWELL標準ヘッダーを非表示 */
.l-header,
#header,
.l-fixHeader {
  display: none !important;
}

/* 独自ヘッダー全体 */
.jdb-site-header {
  position: sticky;
  top: 0;
  z-index: 9998;
  width: 100%;
  background:
    linear-gradient(180deg, #101010 0%, #070707 100%) !important;
  color: #fffaf0;
  border-bottom: 1px solid rgba(157, 23, 20, .55);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif;
}

.admin-bar .jdb-site-header {
  top: 32px;
}

/* 上部キャッチコピー */
.jdb-head-top {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 5px 12px;
  background:
    linear-gradient(90deg, rgba(157,23,20,.24), rgba(0,0,0,.18), rgba(157,23,20,.24));
  color: #fff3df;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .08em;
  text-align: center;
  border-bottom: 1px solid rgba(255,250,240,.08);
}

/* メインヘッダー */
.jdb-head-main {
  width: 100%;
  max-width: 1180px;
  min-height: 78px;
  margin: 0 auto;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 220px minmax(360px, 1fr) 330px;
  align-items: center;
  gap: 22px;
}

/* ロゴ */
.jdb-head-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fffaf0 !important;
  text-decoration: none !important;
  min-width: 0;
}

.jdb-head-logo__stamp {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(157,23,20,.95);
  border-radius: 50%;
  color: #d72b25;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
  transform: rotate(-8deg);
  background: rgba(157,23,20,.08);
  box-shadow:
    0 0 0 4px rgba(157,23,20,.06),
    inset 0 0 10px rgba(157,23,20,.12);
}

.jdb-head-logo__text {
  display: block;
  color: #fffaf0;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .05em;
  text-shadow: 0 2px 0 rgba(0,0,0,.55);
}

/* ナビ */
.jdb-head-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.jdb-head-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: #fffaf0 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .03em;
  white-space: nowrap;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.jdb-head-nav a:hover {
  background: rgba(157,23,20,.22);
  color: #fff !important;
}

.jdb-head-nav a:active {
  transform: scale(.97);
}

/* 検索フォーム */
.jdb-head-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  max-width: 330px;
  margin: 0;
  padding: 0;
  background: rgba(255,250,240,.96);
  border: 1px solid rgba(212,197,173,.42);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 7px 18px rgba(0,0,0,.22);
}

.jdb-head-search input,
.jdb-head-search select {
  width: 100%;
  min-height: 37px;
  margin: 0 !important;
  padding: 8px 11px !important;
  border: none !important;
  border-radius: 0 !important;
  background: #fffaf0 !important;
  color: #1c1b18 !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  outline: none !important;
}

.jdb-head-search input {
  border-bottom: 1px solid rgba(126,101,64,.22) !important;
}

.jdb-head-search input::placeholder {
  color: #7a7064;
}

.jdb-head-search__row {
  display: grid;
  grid-template-columns: 1fr 58px;
}

.jdb-head-search button {
  display: grid;
  place-items: center;
  min-height: 37px;
  margin: 0 !important;
  padding: 0 10px !important;
  border: none !important;
  border-left: 1px solid rgba(126,101,64,.22) !important;
  border-radius: 0 !important;
  background: #f1e7d8 !important;
  color: #251f18 !important;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer;
}

.jdb-head-search button:hover {
  background: var(--jdb-red) !important;
  color: #fff !important;
}

/* PCで本文がヘッダー下に詰まりすぎる場合の保険 */
body:not(.home):not(.front-page) .l-content {
  padding-top: 18px;
}

/* タブレット */
@media (max-width: 1024px) {
  .jdb-head-main {
    grid-template-columns: 190px 1fr;
    grid-template-areas:
      "logo search"
      "nav nav";
    gap: 10px 16px;
    padding: 11px 14px 10px;
  }

  .jdb-head-logo {
    grid-area: logo;
  }

  .jdb-head-nav {
    grid-area: nav;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }

  .jdb-head-nav::-webkit-scrollbar {
    display: none;
  }

  .jdb-head-search {
    grid-area: search;
    justify-self: end;
    max-width: 360px;
  }

  .jdb-head-nav a {
    padding: 0 11px;
    font-size: 13px;
  }
}

/* スマホ */
@media (max-width: 600px) {
  .admin-bar .jdb-site-header {
    top: 0;
  }

  .jdb-head-top {
    min-height: 25px;
    padding: 5px 10px;
    font-size: 10.5px;
    letter-spacing: .04em;
  }

  .jdb-head-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "search"
      "nav";
    gap: 9px;
    padding: 10px 12px 9px;
  }

  .jdb-head-logo {
    justify-content: center;
  }

  .jdb-head-logo__stamp {
    width: 39px;
    height: 39px;
    font-size: 11px;
  }

  .jdb-head-logo__text {
    font-size: 20px;
    line-height: 1.12;
  }

  .jdb-head-search {
    width: 100%;
    max-width: none;
  }

  .jdb-head-search input,
  .jdb-head-search select,
  .jdb-head-search button {
    min-height: 36px;
    font-size: 13px !important;
  }

  .jdb-head-search__row {
    grid-template-columns: 1fr 56px;
  }

  .jdb-head-nav {
    justify-content: flex-start;
    gap: 6px;
    padding: 2px 0 0;
  }

  .jdb-head-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 10px;
    background: rgba(255,250,240,.07);
    border: 1px solid rgba(255,250,240,.10);
    color: #fffaf0 !important;
    font-size: 12px;
    border-radius: 999px;
  }

  body:not(.home):not(.front-page) .l-content {
    padding-top: 12px;
  }
}

/* =========================================================
   スマホ：独自ヘッダーの追従を解除
   ========================================================= */

@media (max-width: 600px) {
  .jdb-site-header {
    position: static !important;
    top: auto !important;
  }

  .admin-bar .jdb-site-header {
    top: auto !important;
  }
}

/* =========================================================
   スマホ：ハブページ記事一覧をHOME新着記事と同じ横並びに強制
   ========================================================= */

@media (max-width: 600px) {

  .post_content .jdb-hub-page .jdb-hub-post-list {
    overflow: hidden !important;
  }

  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList,
  .post_content .jdb-hub-page .jdb-hub-post-list ul.p-postList {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(126,101,64,.22) !important;
  }

  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__link {
    display: grid !important;
    grid-template-columns: 94px minmax(0, 1fr) 18px !important;
    align-items: center !important;
    column-gap: 12px !important;
    width: 100% !important;
    min-height: 92px !important;
    padding: 12px 10px !important;
    color: inherit !important;
    text-decoration: none !important;
  }

  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__thumb,
  .post_content .jdb-hub-page .jdb-hub-post-list .c-postThumb {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 94px !important;
    min-width: 94px !important;
    max-width: 94px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    border-radius: 7px !important;
    overflow: hidden !important;
  }

  .post_content .jdb-hub-page .jdb-hub-post-list .c-postThumb__figure,
  .post_content .jdb-hub-page .jdb-hub-post-list .c-postThumb__img,
  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__title {
    display: -webkit-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #111 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    line-height: 1.48 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    text-overflow: clip !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__link::after {
    content: "›" !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    position: static !important;
    transform: none !important;
    display: block !important;
    color: var(--jdb-red) !important;
    font-family: serif !important;
    font-size: 28px !important;
    line-height: 1 !important;
    text-align: right !important;
  }

  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__meta,
  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__times,
  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__date,
  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__excerpt,
  .post_content .jdb-hub-page .jdb-hub-post-list .p-postList__cat,
  .post_content .jdb-hub-page .jdb-hub-post-list .c-postThumb__cat {
    display: none !important;
  }
}

/* =========================================================
   スマホ：カテゴリページ記事タイトルを黒に固定
   ========================================================= */

@media (max-width: 600px) {

  body.category .p-postList__title,
  body.archive .p-postList__title,
  body.category .p-postList__title a,
  body.archive .p-postList__title a,
  body.category .p-postList__link,
  body.archive .p-postList__link {
    color: #111 !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    text-shadow: none !important;
  }

  body.category .p-postList__body,
  body.archive .p-postList__body {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  body.category .p-postList__item,
  body.archive .p-postList__item {
    opacity: 1 !important;
    filter: none !important;
  }
}

/* =========================================================
   24. アイキャッチ比率統一：1200×800px（3:2）
   対象：
   ・カテゴリ／アーカイブ記事一覧
   ・固定ページのメインアイキャッチ
   ・投稿ページの関連記事（[related_posts]）
   ※HOMEスライダー、HOME新着、人気、ハブ記事一覧には干渉しない
   ========================================================= */

/* ---------- カテゴリ／アーカイブ記事一覧 ---------- */
body.category .l-mainContent .p-postList__thumb,
body.category .l-mainContent .c-postThumb,
body.archive .l-mainContent .p-postList__thumb,
body.archive .l-mainContent .c-postThumb {
  position: relative !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  overflow: hidden !important;
}

body.category .l-mainContent .c-postThumb__figure,
body.archive .l-mainContent .c-postThumb__figure {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 3 / 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.category .l-mainContent .c-postThumb__figure::before,
body.archive .l-mainContent .c-postThumb__figure::before {
  padding-top: 66.6666667% !important;
}

body.category .l-mainContent .c-postThumb__img,
body.category .l-mainContent .p-postList__thumb img,
body.archive .l-mainContent .c-postThumb__img,
body.archive .l-mainContent .p-postList__thumb img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* ---------- 固定ページのメインアイキャッチ ---------- */
body.page .p-articleThumb {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
}

body.page .p-articleThumb__figure {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 3 / 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.page .p-articleThumb__figure::before {
  padding-top: 66.6666667% !important;
}

body.page .p-articleThumb__img,
body.page .p-articleThumb img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* ---------- [related_posts] 独自関連記事 ---------- */
.jdb-related-posts .jdb-related-posts__thumb {
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  overflow: hidden !important;
}

.jdb-related-posts .jdb-related-posts__thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* スマホでも3:2を維持 */
@media (max-width: 768px) {
  body.category .l-mainContent .p-postList__thumb,
  body.category .l-mainContent .c-postThumb,
  body.archive .l-mainContent .p-postList__thumb,
  body.archive .l-mainContent .c-postThumb,
  body.page .p-articleThumb {
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
  }
}

/* =========================================================
   追加修正：PCカテゴリページ記事一覧レイアウト最終版
   目的：PCのみ、左にアイキャッチ／右に記事タイトルを上下中央・横中央配置
   ※スマホ版は変更しない
   ========================================================= */

@media screen and (min-width: 769px) {

  body.category .l-mainContent .p-postList,
  body.archive .l-mainContent .p-postList {
    width: 100% !important;
    max-width: none !important;
  }

  body.category .l-mainContent .p-postList__item,
  body.archive .l-mainContent .p-postList__item {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
  }

  body.category .l-mainContent .p-postList__link,
  body.archive .l-mainContent .p-postList__link,
  body.category .l-mainContent .p-postList__item > a,
  body.archive .l-mainContent .p-postList__item > a {
    display: grid !important;
    grid-template-columns: 410px minmax(0, 1fr) !important;
    column-gap: 48px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 250px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #111 !important;
    text-decoration: none !important;
  }

  body.category .l-mainContent .p-postList__thumb,
  body.category .l-mainContent .c-postThumb,
  body.archive .l-mainContent .p-postList__thumb,
  body.archive .l-mainContent .c-postThumb {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    width: 410px !important;
    min-width: 410px !important;
    max-width: 410px !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body.category .l-mainContent .p-postList__body,
  body.archive .l-mainContent .p-postList__body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 250px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  body.category .l-mainContent .p-postList__title,
  body.archive .l-mainContent .p-postList__title {
    display: block !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.75 !important;
    letter-spacing: .02em !important;
    text-align: center !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    text-shadow: none !important;
  }

  body.category .l-mainContent .p-postList__title a,
  body.category .l-mainContent .p-postList__title a:link,
  body.category .l-mainContent .p-postList__title a:visited,
  body.archive .l-mainContent .p-postList__title a,
  body.archive .l-mainContent .p-postList__title a:link,
  body.archive .l-mainContent .p-postList__title a:visited {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    text-align: center !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    text-shadow: none !important;
  }

  body.category .l-mainContent .p-postList__meta,
  body.category .l-mainContent .p-postList__times,
  body.category .l-mainContent .p-postList__date,
  body.category .l-mainContent .p-postList__excerpt,
  body.category .l-mainContent .p-postList__cat,
  body.category .l-mainContent .c-postThumb__cat,
  body.archive .l-mainContent .p-postList__meta,
  body.archive .l-mainContent .p-postList__times,
  body.archive .l-mainContent .p-postList__date,
  body.archive .l-mainContent .p-postList__excerpt,
  body.archive .l-mainContent .p-postList__cat,
  body.archive .l-mainContent .c-postThumb__cat {
    display: none !important;
  }
}

/* =========================================================
   25. 全投稿共通：アフィリエイトPR枠
   ========================================================= */

.jdb-global-aff-box {
  position: relative !important;
  margin: 34px 0 30px !important;
  padding: 20px !important;

  border: 1px solid rgba(126, 101, 64, .30) !important;
  border-radius: 18px !important;

  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(157, 23, 20, .09),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .78),
      rgba(250, 242, 228, .97)
    ) !important;

  box-shadow:
    0 10px 24px rgba(48, 34, 18, .10),
    inset 0 1px 0 rgba(255, 255, 255, .68) !important;

  color: #241f18 !important;
  overflow: hidden !important;
}


/* ---------- 見出し ---------- */

.jdb-global-aff-box__head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;

  margin: 0 0 10px !important;
}

.jdb-global-aff-box__pr {
  flex: 0 0 auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 25px !important;

  padding: 4px 9px !important;

  border-radius: 999px !important;

  background: var(--jdb-red) !important;

  color: #fff !important;
  -webkit-text-fill-color: #fff !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .06em !important;
}

.jdb-global-aff-box__head strong {
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #111 !important;
  -webkit-text-fill-color: #111 !important;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    serif !important;

  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}


/* ---------- 説明 ---------- */

.jdb-global-aff-box__lead {
  margin: 0 0 16px !important;

  color: #4a433a !important;
  -webkit-text-fill-color: #4a433a !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
}


/* ---------- サービス一覧 ---------- */

.jdb-global-aff-box__services {
  display: grid !important;

  grid-template-columns:
    repeat(2, minmax(0, 1fr)) !important;

  gap: 12px !important;

  margin: 0 !important;
}


/* ---------- サービスカード ---------- */

.jdb-global-aff-service {
  position: relative !important;

  display: flex !important;
  flex-direction: column !important;

  min-width: 0 !important;
  min-height: 172px !important;

  padding: 15px !important;

  border:
    1px solid rgba(126, 101, 64, .28) !important;

  border-radius: 15px !important;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .78),
      rgba(250, 242, 228, .97)
    ) !important;

  color: #241f18 !important;
  -webkit-text-fill-color: #241f18 !important;

  text-decoration: none !important;

  box-shadow:
    0 6px 16px rgba(48, 34, 18, .08),
    inset 0 1px 0 rgba(255, 255, 255, .65) !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease !important;
}

.jdb-global-aff-service:hover {
  border-color:
    rgba(157, 23, 20, .45) !important;

  box-shadow:
    0 10px 24px rgba(48, 34, 18, .13) !important;

  transform: translateY(-1px) !important;
}


/* PRラベル */

.jdb-global-aff-service > span {
  display: inline-flex !important;

  align-self: flex-start !important;

  margin: 0 0 8px !important;

  padding: 3px 8px !important;

  border-radius: 999px !important;

  background:
    rgba(157, 23, 20, .10) !important;

  color: var(--jdb-red) !important;
  -webkit-text-fill-color:
    var(--jdb-red) !important;

  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}


/* サービス名 */

.jdb-global-aff-service > strong {
  display: block !important;

  margin: 0 0 6px !important;

  color: #111 !important;
  -webkit-text-fill-color: #111 !important;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    serif !important;

  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}


/* 補足 */

.jdb-global-aff-service > em {
  display: block !important;

  margin: 0 0 14px !important;

  color: #62594f !important;
  -webkit-text-fill-color: #62594f !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 12.5px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}


/* ボタン */

.jdb-global-aff-service > b {
  display: flex !important;

  align-items: center !important;
  justify-content: center !important;

  min-height: 42px !important;

  margin-top: auto !important;

  padding: 10px 12px !important;

  border-radius: 999px !important;

  background: var(--jdb-red) !important;

  color: #fff !important;
  -webkit-text-fill-color: #fff !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;

  box-shadow:
    0 7px 16px rgba(157, 23, 20, .20) !important;
}

.jdb-global-aff-service > b::after {
  content: "›" !important;

  margin-left: 7px !important;

  font-family: serif !important;
  font-size: 21px !important;
  line-height: 1 !important;
}


/* ---------- 注意書き ---------- */

.jdb-global-aff-box__note {
  margin: 13px 0 0 !important;

  color: #6b6258 !important;
  -webkit-text-fill-color: #6b6258 !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
}


/* =========================================================
   スマホ
   ========================================================= */

@media (max-width: 600px) {

  .jdb-global-aff-box {
    margin:
      30px 0 26px !important;

    padding: 15px !important;

    border-radius: 16px !important;
  }

  .jdb-global-aff-box__head {
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .jdb-global-aff-box__head strong {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  .jdb-global-aff-box__lead {
    margin-bottom: 13px !important;

    font-size: 12.5px !important;
    line-height: 1.75 !important;
  }

  .jdb-global-aff-box__services {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .jdb-global-aff-service {
    min-height: 0 !important;

    padding: 13px !important;

    border-radius: 13px !important;
  }

  .jdb-global-aff-service > strong {
    font-size: 17px !important;
  }

  .jdb-global-aff-service > em {
    margin-bottom: 11px !important;

    font-size: 12px !important;
  }

  .jdb-global-aff-service > b {
    min-height: 40px !important;

    font-size: 12.5px !important;
  }

  .jdb-global-aff-box__note {
    font-size: 11px !important;
  }
}

/* =========================================================
   26. 全投稿共通PR枠 v2
   安全対策 → 内部リンク → PRサービス
   ========================================================= */

.jdb-global-aff-v2 {
  position: relative !important;
  margin: 38px 0 32px !important;
  padding: 0 !important;
  overflow: hidden !important;

  border: 1px solid rgba(126, 101, 64, .32) !important;
  border-radius: 18px !important;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.80),
      rgba(250,242,228,.98)
    ) !important;

  box-shadow:
    0 10px 26px rgba(48,34,18,.11),
    inset 0 1px 0 rgba(255,255,255,.70) !important;

  color: #241f18 !important;
}


/* =========================================================
   上部
   ========================================================= */

.jdb-global-aff-v2__top {
  position: relative !important;
  padding: 20px 20px 17px !important;

  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(157,23,20,.11),
      transparent 38%
    ) !important;
}


/* ---------- ラベル ---------- */

.jdb-global-aff-v2__labels {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  margin: 0 0 11px !important;
}

.jdb-global-aff-v2__label {
  display: inline-flex !important;
  align-items: center !important;

  padding: 4px 10px !important;

  border-radius: 999px !important;

  background:
    rgba(157,23,20,.10) !important;

  color: var(--jdb-red) !important;
  -webkit-text-fill-color:
    var(--jdb-red) !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .05em !important;
}

.jdb-global-aff-v2__pr {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-width: 34px !important;
  min-height: 23px !important;

  padding: 3px 8px !important;

  border:
    1px solid rgba(126,101,64,.24) !important;

  border-radius: 999px !important;

  background:
    rgba(255,250,240,.84) !important;

  color: #746b60 !important;
  -webkit-text-fill-color:
    #746b60 !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif !important;

  font-size: 9.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}


/* ---------- タイトル ---------- */

.jdb-global-aff-v2__title {
  display: block !important;

  margin: 0 0 9px !important;

  color: #111 !important;
  -webkit-text-fill-color: #111 !important;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    serif !important;

  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: .02em !important;
}


/* ---------- 導入文 ---------- */

.jdb-global-aff-v2__lead {
  margin: 0 !important;

  color: #494137 !important;
  -webkit-text-fill-color: #494137 !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
}


/* =========================================================
   3つの安全チェック
   ========================================================= */

.jdb-global-aff-v2__checks {
  display: grid !important;

  grid-template-columns:
    repeat(3, minmax(0, 1fr)) !important;

  gap: 8px !important;

  padding: 0 20px 18px !important;
}

.jdb-global-aff-v2__check {
  position: relative !important;

  min-width: 0 !important;

  padding: 12px !important;

  border:
    1px solid rgba(126,101,64,.22) !important;

  border-radius: 12px !important;

  background:
    rgba(255,250,240,.72) !important;
}

.jdb-global-aff-v2__check span {
  display: block !important;

  margin: 0 0 5px !important;

  color: var(--jdb-red) !important;
  -webkit-text-fill-color:
    var(--jdb-red) !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif !important;

  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.jdb-global-aff-v2__check strong {
  display: block !important;

  color: #2b251f !important;
  -webkit-text-fill-color: #2b251f !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}


/* =========================================================
   内部リンク：安全ガイド
   ========================================================= */

.jdb-global-aff-v2__guide {
  position: relative !important;

  display: grid !important;
  grid-template-columns:
    auto minmax(0, 1fr) auto !important;

  align-items: center !important;

  gap: 10px !important;

  margin: 0 20px 20px !important;
  padding: 13px 14px !important;

  border:
    1px solid rgba(157,23,20,.24) !important;

  border-radius: 13px !important;

  background:
    rgba(157,23,20,.06) !important;

  color: #241f18 !important;
  text-decoration: none !important;
}

.jdb-global-aff-v2__guide > span {
  display: inline-flex !important;

  align-items: center !important;
  justify-content: center !important;

  padding: 4px 8px !important;

  border-radius: 999px !important;

  background:
    var(--jdb-red) !important;

  color: #fff !important;
  -webkit-text-fill-color: #fff !important;

  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

.jdb-global-aff-v2__guide > strong {
  min-width: 0 !important;

  color: #221d18 !important;
  -webkit-text-fill-color:
    #221d18 !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

.jdb-global-aff-v2__guide > b {
  color: var(--jdb-red) !important;
  -webkit-text-fill-color:
    var(--jdb-red) !important;

  font-family: serif !important;
  font-size: 27px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}


/* =========================================================
   サービス見出し
   ========================================================= */

.jdb-global-aff-v2__service-head {
  padding: 17px 20px 12px !important;

  border-top:
    1px solid rgba(126,101,64,.20) !important;
}

.jdb-global-aff-v2__service-head span {
  display: inline-flex !important;

  margin: 0 0 6px !important;
  padding: 3px 8px !important;

  border-radius: 999px !important;

  background:
    rgba(157,23,20,.09) !important;

  color: var(--jdb-red) !important;
  -webkit-text-fill-color:
    var(--jdb-red) !important;

  font-size: 10px !important;
  font-weight: 800 !important;
}

.jdb-global-aff-v2__service-head strong {
  display: block !important;

  color: #111 !important;
  -webkit-text-fill-color: #111 !important;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    serif !important;

  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}


/* =========================================================
   サービスカード
   ========================================================= */

.jdb-global-aff-v2__services {
  display: grid !important;

  grid-template-columns:
    repeat(2, minmax(0, 1fr)) !important;

  gap: 10px !important;

  padding: 0 20px 18px !important;
}

.jdb-global-aff-v2__service {
  display: flex !important;
  flex-direction: column !important;

  min-width: 0 !important;
  min-height: 150px !important;

  padding: 14px !important;

  border:
    1px solid rgba(126,101,64,.27) !important;

  border-radius: 14px !important;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.80),
      rgba(250,242,228,.98)
    ) !important;

  color: #241f18 !important;
  text-decoration: none !important;

  box-shadow:
    0 5px 14px rgba(48,34,18,.07) !important;
}

.jdb-global-aff-v2__service:hover {
  border-color:
    rgba(157,23,20,.42) !important;

  box-shadow:
    0 9px 20px rgba(48,34,18,.12) !important;

  transform:
    translateY(-1px) !important;
}


/* ---------- サービス上部 ---------- */

.jdb-global-aff-v2__service-top {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

  margin: 0 0 8px !important;
}

.jdb-global-aff-v2__service-top span {
  display: inline-flex !important;

  padding: 3px 7px !important;

  border-radius: 999px !important;

  background:
    rgba(157,23,20,.10) !important;

  color: var(--jdb-red) !important;
  -webkit-text-fill-color:
    var(--jdb-red) !important;

  font-size: 9.5px !important;
  font-weight: 800 !important;
}

.jdb-global-aff-v2__service-top strong {
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    serif !important;

  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}


/* ---------- 説明 ---------- */

.jdb-global-aff-v2__service > em {
  display: block !important;

  margin: 0 0 12px !important;

  color: #635a50 !important;
  -webkit-text-fill-color:
    #635a50 !important;

  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}


/* ---------- CTA ---------- */

.jdb-global-aff-v2__service > b {
  display: flex !important;

  align-items: center !important;
  justify-content: center !important;

  min-height: 40px !important;

  margin-top: auto !important;
  padding: 9px 12px !important;

  border-radius: 999px !important;

  background:
    var(--jdb-red) !important;

  color: #fff !important;
  -webkit-text-fill-color:
    #fff !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif !important;

  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  box-shadow:
    0 7px 15px rgba(157,23,20,.19) !important;
}

.jdb-global-aff-v2__service > b::after {
  content: "›" !important;

  margin-left: 6px !important;

  font-family: serif !important;
  font-size: 20px !important;
  line-height: 1 !important;
}


/* =========================================================
   注意書き
   ========================================================= */

.jdb-global-aff-v2__note {
  margin: 0 !important;
  padding: 0 20px 18px !important;

  color: #70675d !important;
  -webkit-text-fill-color:
    #70675d !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 10.5px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
}


/* =========================================================
   スマホ
   ========================================================= */

@media (max-width: 600px) {

  .jdb-global-aff-v2 {
    margin:
      30px 0 27px !important;

    border-radius:
      15px !important;
  }

  .jdb-global-aff-v2__top {
    padding:
      16px 15px 14px !important;
  }

  .jdb-global-aff-v2__labels {
    margin-bottom:
      9px !important;
  }

  .jdb-global-aff-v2__label {
    max-width: 78% !important;

    font-size:
      9.5px !important;
  }

  .jdb-global-aff-v2__title {
    font-size:
      18px !important;

    line-height:
      1.5 !important;
  }

  .jdb-global-aff-v2__lead {
    font-size:
      12.5px !important;

    line-height:
      1.8 !important;
  }


  /* 安全チェック */
  .jdb-global-aff-v2__checks {
    grid-template-columns:
      1fr !important;

    gap: 6px !important;

    padding:
      0 15px 14px !important;
  }

  .jdb-global-aff-v2__check {
    display: grid !important;

    grid-template-columns:
      28px minmax(0,1fr) !important;

    align-items: center !important;

    gap: 8px !important;

    padding:
      9px 11px !important;
  }

  .jdb-global-aff-v2__check span {
    margin:
      0 !important;
  }

  .jdb-global-aff-v2__check strong {
    font-size:
      11.5px !important;
  }


  /* ガイド */
  .jdb-global-aff-v2__guide {
    margin:
      0 15px 16px !important;

    padding:
      11px 12px !important;

    grid-template-columns:
      auto minmax(0,1fr) auto !important;
  }

  .jdb-global-aff-v2__guide > strong {
    font-size:
      12px !important;
  }


  /* サービス見出し */
  .jdb-global-aff-v2__service-head {
    padding:
      15px 15px 10px !important;
  }

  .jdb-global-aff-v2__service-head strong {
    font-size:
      16px !important;
  }


  /* サービス */
  .jdb-global-aff-v2__services {
    grid-template-columns:
      1fr !important;

    gap: 8px !important;

    padding:
      0 15px 15px !important;
  }

  .jdb-global-aff-v2__service {
    min-height:
      0 !important;

    padding:
      12px !important;

    border-radius:
      12px !important;
  }

  .jdb-global-aff-v2__service-top {
    margin-bottom:
      6px !important;
  }

  .jdb-global-aff-v2__service-top strong {
    font-size:
      16px !important;
  }

  .jdb-global-aff-v2__service > em {
    margin-bottom:
      10px !important;

    font-size:
      11.5px !important;
  }

  .jdb-global-aff-v2__service > b {
    min-height:
      39px !important;

    font-size:
      12px !important;
  }


  /* 注意 */
  .jdb-global-aff-v2__note {
    padding:
      0 15px 15px !important;

    font-size:
      10px !important;
  }
}

/* =========================================================
   投稿本文｜この記事でわかること
   日本事件データベース 資料カード風
   ========================================================= */

.jdb-article-points {
  position: relative;
  width: 100%;
  margin: 28px 0 38px !important;
  padding: 32px 36px 26px !important;

  border: 1px solid rgba(157, 23, 20, .14) !important;
  border-radius: 18px !important;

  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(255, 255, 255, .88),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(255, 252, 246, .98) 0%,
      rgba(252, 246, 237, .98) 100%
    ) !important;

  box-shadow:
    0 12px 28px rgba(48, 34, 18, .12),
    inset 0 1px 0 rgba(255, 255, 255, .85) !important;

  color: #1c1b18 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* 微細な紙感 */
.jdb-article-points::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;

  opacity: .16 !important;

  background-image:
    linear-gradient(
      rgba(90, 65, 40, .035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(90, 65, 40, .025) 1px,
      transparent 1px
    ) !important;

  background-size: 20px 20px !important;
}

/* ヘッダー */
.jdb-article-points__head {
  position: relative !important;
  z-index: 1 !important;

  display: grid !important;
  grid-template-columns: 74px 5px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 20px !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* 左アイコン円 */
.jdb-article-points__icon {
  display: grid !important;
  place-items: center !important;

  width: 74px !important;
  height: 74px !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 50% !important;

  background:
    linear-gradient(
      180deg,
      rgba(157, 23, 20, .07),
      rgba(157, 23, 20, .035)
    ) !important;

  color: var(--jdb-red, #9d1714) !important;
}

/* SVG */
.jdb-article-points__icon svg {
  display: block !important;
  width: 36px !important;
  height: 36px !important;

  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* 縦赤ライン */
.jdb-article-points__bar {
  display: block !important;

  width: 5px !important;
  height: 78px !important;

  border-radius: 999px !important;

  background:
    linear-gradient(
      180deg,
      #b52823 0%,
      #8d1512 100%
    ) !important;

  box-shadow:
    0 1px 4px rgba(157, 23, 20, .18) !important;
}

/* タイトル領域 */
.jdb-article-points__title {
  display: block !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* POINTS */
.jdb-article-points__label {
  display: block !important;

  margin: 0 0 8px !important;
  padding: 0 !important;

  color: var(--jdb-red, #9d1714) !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .22em !important;
}

/* 見出し */
.post_content .jdb-article-points__title h2,
.jdb-article-points__title h2 {
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  border: none !important;
  border-radius: 0 !important;

  background: none !important;
  box-shadow: none !important;

  color: #1a1916 !important;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    serif !important;

  font-size: clamp(27px, 4vw, 40px) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: .055em !important;
}

/* SWELL見出し装飾を完全解除 */
.post_content .jdb-article-points__title h2::before,
.post_content .jdb-article-points__title h2::after,
.jdb-article-points__title h2::before,
.jdb-article-points__title h2::after {
  display: none !important;
  content: none !important;
}

/* 横線 */
.jdb-article-points__line {
  position: relative !important;
  z-index: 1 !important;

  display: block !important;

  width: 100% !important;
  height: 1px !important;

  margin: 24px 0 10px !important;

  background:
    linear-gradient(
      90deg,
      rgba(157, 23, 20, .58) 0%,
      rgba(157, 23, 20, .28) 48%,
      rgba(157, 23, 20, .12) 100%
    ) !important;
}

/* リスト */
.jdb-article-points__list {
  position: relative !important;
  z-index: 1 !important;

  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

/* 各項目 */
.jdb-article-points__list li {
  position: relative !important;

  display: flex !important;
  align-items: flex-start !important;

  min-height: 48px !important;

  margin: 0 !important;
  padding: 13px 8px 13px 34px !important;

  border-bottom:
    1px dashed rgba(157, 23, 20, .14) !important;

  color: #24221e !important;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    serif !important;

  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  letter-spacing: .025em !important;
}

/* 最終項目 */
.jdb-article-points__list li:last-child {
  border-bottom: none !important;
}

/* 赤丸 */
.jdb-article-points__list li::before {
  content: "" !important;

  position: absolute !important;
  left: 7px !important;
  top: 1.35em !important;

  width: 9px !important;
  height: 9px !important;

  border-radius: 50% !important;

  background:
    linear-gradient(
      180deg,
      #c12b25,
      #981713
    ) !important;

  box-shadow:
    0 1px 3px rgba(157, 23, 20, .18) !important;
}

/* =========================================================
   スマホ
   ========================================================= */

@media (max-width: 600px) {

  .jdb-article-points {
    margin: 22px 0 30px !important;
    padding: 20px 16px 14px !important;

    border-radius: 15px !important;

    box-shadow:
      0 8px 20px rgba(48, 34, 18, .10),
      inset 0 1px 0 rgba(255, 255, 255, .82) !important;
  }

  .jdb-article-points__head {
    grid-template-columns: 52px 4px minmax(0, 1fr) !important;
    column-gap: 12px !important;
  }

  .jdb-article-points__icon {
    width: 52px !important;
    height: 52px !important;
  }

  .jdb-article-points__icon svg {
    width: 27px !important;
    height: 27px !important;
  }

  .jdb-article-points__bar {
    width: 4px !important;
    height: 58px !important;
  }

  .jdb-article-points__label {
    margin-bottom: 5px !important;

    font-size: 10px !important;
    letter-spacing: .18em !important;
  }

  .post_content .jdb-article-points__title h2,
  .jdb-article-points__title h2 {
    font-size: 23px !important;
    line-height: 1.4 !important;
    letter-spacing: .035em !important;
  }

  .jdb-article-points__line {
    margin: 18px 0 6px !important;
  }

  .jdb-article-points__list li {
    min-height: 0 !important;

    padding:
      12px 3px
      12px 27px !important;

    font-size: 15px !important;
    line-height: 1.7 !important;
    letter-spacing: .015em !important;
  }

  .jdb-article-points__list li::before {
    left: 5px !important;
    top: 1.35em !important;

    width: 8px !important;
    height: 8px !important;
  }
}

/* =========================================================
   固定ページ・ハブページ｜FAQ専用デザイン
   日本事件データベース
   ========================================================= */

.jdb-hub-faq {
  margin-top: 38px !important;
}

/* 見出し下の導入文 */
.jdb-hub-faq__lead {
  margin: 0 0 18px !important;
  color: #4a443b !important;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
  letter-spacing: .01em !important;
}

/* FAQ全体 */
.jdb-hub-faq__list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 11px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 1項目 */
.jdb-hub-faq__item {
  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid rgba(126, 101, 64, .28) !important;
  border-radius: 15px !important;

  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(255, 255, 255, .82),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 252, 246, .96),
      rgba(250, 242, 228, .96)
    ) !important;

  box-shadow:
    0 6px 16px rgba(48, 34, 18, .075),
    inset 0 1px 0 rgba(255, 255, 255, .72) !important;

  overflow: hidden !important;
}

/* details標準マーカー削除 */
.jdb-hub-faq__item > summary {
  list-style: none !important;
}

.jdb-hub-faq__item > summary::-webkit-details-marker {
  display: none !important;
}

/* 質問行 */
.jdb-hub-faq__question {
  position: relative !important;

  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) 22px !important;
  align-items: center !important;
  column-gap: 12px !important;

  min-height: 68px !important;

  margin: 0 !important;
  padding: 14px 17px !important;

  color: #171511 !important;

  cursor: pointer !important;
  user-select: none !important;

  box-sizing: border-box !important;
}

/* Qマーク */
.jdb-hub-faq__mark {
  display: grid !important;
  place-items: center !important;

  width: 38px !important;
  height: 38px !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 50% !important;

  background:
    linear-gradient(
      180deg,
      #aa211c 0%,
      #861411 100%
    ) !important;

  color: #fffaf0 !important;

  font-family:
    Georgia,
    "Times New Roman",
    serif !important;

  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  box-shadow:
    0 4px 10px rgba(157, 23, 20, .18) !important;
}

/* 質問文 */
.jdb-hub-faq__question-text {
  display: block !important;

  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #171511 !important;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    serif !important;

  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  letter-spacing: .02em !important;
}

/* 右側＋アイコン */
.jdb-hub-faq__toggle {
  position: relative !important;

  display: block !important;

  width: 20px !important;
  height: 20px !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* 横線 */
.jdb-hub-faq__toggle::before {
  content: "" !important;

  position: absolute !important;
  left: 50% !important;
  top: 50% !important;

  width: 14px !important;
  height: 2px !important;

  transform:
    translate(-50%, -50%) !important;

  border-radius: 999px !important;

  background:
    var(--jdb-red, #9d1714) !important;
}

/* 縦線 */
.jdb-hub-faq__toggle::after {
  content: "" !important;

  position: absolute !important;
  left: 50% !important;
  top: 50% !important;

  width: 2px !important;
  height: 14px !important;

  transform:
    translate(-50%, -50%) !important;

  border-radius: 999px !important;

  background:
    var(--jdb-red, #9d1714) !important;

  transition:
    opacity .18s ease,
    transform .18s ease !important;
}

/* 開いているとき縦線を消す */
.jdb-hub-faq__item[open]
.jdb-hub-faq__toggle::after {
  opacity: 0 !important;

  transform:
    translate(-50%, -50%)
    rotate(90deg) !important;
}

/* 開いている質問 */
.jdb-hub-faq__item[open]
.jdb-hub-faq__question {
  background:
    linear-gradient(
      180deg,
      rgba(157, 23, 20, .035),
      rgba(157, 23, 20, .015)
    ) !important;
}

/* 回答 */
.jdb-hub-faq__answer {
  position: relative !important;

  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  column-gap: 12px !important;
  align-items: start !important;

  margin: 0 17px !important;
  padding: 17px 0 19px !important;

  border-top:
    1px solid rgba(157, 23, 20, .16) !important;
}

/* Aマーク */
.jdb-hub-faq__answer-mark {
  display: grid !important;
  place-items: center !important;

  width: 38px !important;
  height: 38px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid rgba(157, 23, 20, .24) !important;
  border-radius: 50% !important;

  background:
    rgba(157, 23, 20, .07) !important;

  color:
    var(--jdb-red, #9d1714) !important;

  font-family:
    Georgia,
    "Times New Roman",
    serif !important;

  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* 回答本文 */
.jdb-hub-faq__answer p {
  display: block !important;

  margin: 1px 0 0 !important;
  padding: 0 !important;

  color: #383229 !important;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif !important;

  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.95 !important;
  letter-spacing: .015em !important;

  text-align: left !important;
}

/* hover */
@media (hover: hover) {

  .jdb-hub-faq__item:hover {
    border-color:
      rgba(157, 23, 20, .34) !important;

    box-shadow:
      0 9px 22px rgba(48, 34, 18, .11),
      inset 0 1px 0 rgba(255, 255, 255, .74) !important;
  }

  .jdb-hub-faq__question:hover
  .jdb-hub-faq__question-text {
    color:
      var(--jdb-red-dark, #74100e) !important;
  }
}

/* =========================================================
   スマホ
   ========================================================= */

@media (max-width: 600px) {

  .jdb-hub-faq {
    margin-top: 30px !important;
  }

  .jdb-hub-faq__lead {
    margin-bottom: 14px !important;

    font-size: 13px !important;
    line-height: 1.8 !important;
  }

  .jdb-hub-faq__list {
    gap: 9px !important;
  }

  .jdb-hub-faq__item {
    border-radius: 13px !important;
  }

  .jdb-hub-faq__question {
    grid-template-columns:
      32px minmax(0, 1fr) 20px !important;

    column-gap: 9px !important;

    min-height: 60px !important;

    padding:
      12px 12px !important;
  }

  .jdb-hub-faq__mark {
    width: 32px !important;
    height: 32px !important;

    font-size: 15px !important;
  }

  .jdb-hub-faq__question-text {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
    letter-spacing: .01em !important;
  }

  .jdb-hub-faq__toggle {
    width: 18px !important;
    height: 18px !important;
  }

  .jdb-hub-faq__toggle::before {
    width: 12px !important;
  }

  .jdb-hub-faq__toggle::after {
    height: 12px !important;
  }

  .jdb-hub-faq__answer {
    grid-template-columns:
      32px minmax(0, 1fr) !important;

    column-gap: 9px !important;

    margin:
      0 12px !important;

    padding:
      14px 0 16px !important;
  }

  .jdb-hub-faq__answer-mark {
    width: 32px !important;
    height: 32px !important;

    font-size: 15px !important;
  }

  .jdb-hub-faq__answer p {
    margin-top: 0 !important;

    font-size: 13.5px !important;
    line-height: 1.85 !important;
  }
}

/* =========================================================
   都道府県別ページ｜カード後の次県見出しに余白を追加
   ========================================================= */

.jdb-hub-page--prefecture
.jdb-case-card-list + h3[id^="pref-"] {
  margin-top: 20px !important;
}

/* JDB taxonomy archive introduction: shares the V3 archive palette and container. */
@supports selector(body:has(*)) {
  #body_wrap:has(.jdb-taxonomy-archive) {
    background: #0e1116;
  }

  #body_wrap:has(.jdb-taxonomy-archive) #breadcrumb.p-breadcrumb {
    box-sizing: border-box;
    max-width: 1200px;
    margin-inline: auto;
    padding: 16px 20px;
    color: #7f8b99;
    background: transparent;
    border-bottom: 1px solid #27313d;
    font-size: 13px;
    line-height: 1.5;
  }

  #body_wrap:has(.jdb-taxonomy-archive) #breadcrumb.p-breadcrumb a {
    color: #b4bdc8;
  }

  #body_wrap:has(.jdb-taxonomy-archive) #breadcrumb.p-breadcrumb a:hover,
  #body_wrap:has(.jdb-taxonomy-archive) #breadcrumb.p-breadcrumb a:focus-visible {
    color: #d55360;
  }

  #body_wrap:has(.jdb-taxonomy-archive) #main_content.l-mainContent,
  #body_wrap:has(.jdb-taxonomy-archive) #main_content .l-mainContent__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .jdb-taxonomy-archive {
    --jdb-tax-canvas: #0e1116;
    --jdb-tax-surface: #151a21;
    --jdb-tax-elevated: #1d242d;
    --jdb-tax-border: #27313d;
    --jdb-tax-border-strong: #374454;
    --jdb-tax-text: #f5f7fa;
    --jdb-tax-text-secondary: #b4bdc8;
    --jdb-tax-text-muted: #7f8b99;
    --jdb-tax-accent: #a92432;
    color: var(--jdb-tax-text);
    background: var(--jdb-tax-canvas);
  }

  .jdb-taxonomy-archive__container {
    box-sizing: border-box;
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
  }

  .jdb-taxonomy-archive__intro {
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--jdb-tax-border);
    background-color: var(--jdb-tax-canvas);
    background-image: linear-gradient(rgba(127, 139, 153, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 139, 153, 0.045) 1px, transparent 1px);
    background-size: 32px 32px;
  }

  .jdb-taxonomy-archive__intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    align-items: end;
    gap: 48px;
  }

  .jdb-taxonomy-archive__intro-copy,
  .jdb-taxonomy-archive__stat {
    min-width: 0;
  }

  .jdb-taxonomy-archive__eyebrow,
  .jdb-taxonomy-archive__records-head > p,
  .jdb-taxonomy-archive__stat > span,
  .jdb-taxonomy-archive__classification > span {
    margin: 0;
    color: var(--jdb-tax-accent);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
  }

  .jdb-taxonomy-archive h1,
  .jdb-taxonomy-archive h2 {
    color: var(--jdb-tax-text);
    -webkit-text-fill-color: var(--jdb-tax-text);
  }

  .jdb-taxonomy-archive h1 {
    max-width: 800px;
    margin: 14px 0 0;
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  #body_wrap:has(.jdb-taxonomy-archive) .jdb-taxonomy-archive h1#jdb-taxonomy-archive-title {
    color: var(--jdb-tax-text) !important;
    -webkit-text-fill-color: var(--jdb-tax-text) !important;
  }

  .jdb-taxonomy-archive__description {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--jdb-tax-text-secondary);
    font-size: 16px;
    line-height: 1.9;
  }

  .jdb-taxonomy-archive__classification {
    display: grid;
    gap: 6px;
    margin: 28px 0 0;
    padding-top: 18px;
    color: var(--jdb-tax-text-secondary);
    border-top: 1px solid var(--jdb-tax-border);
    font-size: 13px;
    line-height: 1.6;
  }

  .jdb-taxonomy-archive__classification > span {
    color: var(--jdb-tax-text-muted);
    font-size: 10px;
  }

  .jdb-taxonomy-archive__stat {
    display: grid;
    grid-template-columns: auto min-content;
    align-items: baseline;
    gap: 4px 12px;
    padding-left: 40px;
    border-left: 1px solid var(--jdb-tax-border-strong);
  }

  .jdb-taxonomy-archive__stat > span {
    grid-column: 1 / -1;
    color: var(--jdb-tax-text-muted);
    font-size: 10px;
  }

  .jdb-taxonomy-archive__stat > strong {
    color: var(--jdb-tax-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(40px, 4.5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .jdb-taxonomy-archive__stat > small {
    color: var(--jdb-tax-text-secondary);
    font-size: 15px;
  }

  .jdb-taxonomy-archive__records {
    padding: 48px 0 96px;
    background: var(--jdb-tax-canvas);
  }

  .jdb-taxonomy-archive__records-head {
    display: grid;
    gap: 8px;
    margin-bottom: 28px;
  }

  .jdb-taxonomy-archive__records-head > h2 {
    margin: 0;
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 500;
    line-height: 1.35;
  }

  .jdb-taxonomy-archive .p-postList {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .jdb-taxonomy-archive .p-postList__item {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .jdb-taxonomy-archive .p-postList.-pc-col3 .p-postList__item,
  .jdb-taxonomy-archive .p-postList.-pc-col2 .p-postList__item,
  .jdb-taxonomy-archive .p-postList.-sp-col1 .p-postList__item {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .jdb-taxonomy-archive .p-postList__link {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    color: var(--jdb-tax-text);
    background: var(--jdb-tax-surface);
    border: 1px solid var(--jdb-tax-border);
    border-radius: 0;
    text-decoration: none;
  }

  .jdb-taxonomy-archive .p-postList__link:hover {
    border-color: var(--jdb-tax-border-strong);
    background: var(--jdb-tax-elevated);
  }

  .jdb-taxonomy-archive .p-postList__link:focus-visible,
  .jdb-taxonomy-archive .page-numbers:focus-visible,
  #body_wrap:has(.jdb-taxonomy-archive) #breadcrumb.p-breadcrumb a:focus-visible {
    outline: 3px solid var(--jdb-tax-accent);
    outline-offset: 2px;
  }

  .jdb-taxonomy-archive .p-postList__thumb {
    flex: 0 0 auto;
    width: 43%;
    max-width: 360px;
    height: auto !important;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    background: var(--jdb-tax-canvas);
  }

  .jdb-taxonomy-archive .p-postList__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .jdb-taxonomy-archive .p-postList__thumb .c-postThumb__figure {
    height: 100% !important;
    min-height: 0;
    margin: 0;
    padding: 0 !important;
    aspect-ratio: 1200 / 630;
  }

  .jdb-taxonomy-archive .p-postList__body {
    display: flex;
    min-width: 0;
    padding: 20px;
    flex: 1;
    flex-direction: column;
  }

  .jdb-taxonomy-archive .p-postList__title,
  .jdb-taxonomy-archive .p-postList__title * {
    margin: 0;
    color: var(--jdb-tax-text);
    -webkit-text-fill-color: var(--jdb-tax-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
  }

  .jdb-taxonomy-archive .p-postList__meta {
    color: var(--jdb-tax-text-muted);
  }

  .jdb-taxonomy-archive__empty {
    margin: 0;
    padding: 28px;
    color: var(--jdb-tax-text-secondary);
    background: var(--jdb-tax-surface);
    border: 1px solid var(--jdb-tax-border);
  }

  @media (min-width: 600px) {
    .jdb-taxonomy-archive .p-postList {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jdb-taxonomy-archive .p-postList__link {
      display: block;
    }

    .jdb-taxonomy-archive .p-postList__thumb {
      width: 100%;
      max-width: none;
      height: auto !important;
      aspect-ratio: 1200 / 630;
    }

    .jdb-taxonomy-archive .p-postList__thumb img {
      width: 100%;
      height: 100% !important;
      object-fit: contain !important;
    }
  }

  @media (min-width: 1024px) {
    .jdb-taxonomy-archive .p-postList {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 768px) {
    #body_wrap:has(.jdb-taxonomy-archive) #breadcrumb.p-breadcrumb {
      padding-block: 14px;
      font-size: 12px;
    }

    .jdb-taxonomy-archive__container {
      width: min(100% - 32px, 1200px);
    }

    .jdb-taxonomy-archive__intro {
      padding: 44px 0 40px;
    }

    .jdb-taxonomy-archive__intro-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .jdb-taxonomy-archive__description {
      font-size: 15px;
    }

    .jdb-taxonomy-archive__stat {
      grid-template-columns: auto min-content;
      padding: 20px 0 0;
      border-top: 1px solid var(--jdb-tax-border-strong);
      border-left: 0;
    }

    .jdb-taxonomy-archive__records {
      padding: 36px 0 72px;
    }
  }
}

/* =========================================================
   JDB site header: compact archive navigation
   ========================================================= */
.jdb-site-header {
  background:
    linear-gradient(rgba(255, 255, 255, .014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .014) 1px, transparent 1px),
    rgba(8, 11, 15, .985) !important;
  background-size: 32px 32px, 32px 32px, auto;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
  color: #f5f1e8;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

.jdb-site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(202, 44, 48, .64), transparent);
  content: "";
  pointer-events: none;
}

.jdb-head-top {
  display: none;
}

.jdb-head-main {
  width: min(calc(100% - 40px), 1200px);
  max-width: 1200px;
  min-height: 76px;
  margin-inline: auto;
  padding: 10px 0;
  grid-template-columns: minmax(270px, 300px) minmax(400px, 1fr) minmax(260px, 320px);
  grid-template-areas: "logo nav search";
  gap: 20px;
  box-sizing: border-box;
}

.jdb-head-logo {
  gap: 12px;
  min-height: 56px;
}

.jdb-head-logo__mark {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.jdb-head-logo__text {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #f5f1e8;
  text-shadow: none;
}

.jdb-head-logo__name {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .06em;
  white-space: nowrap;
}

.jdb-head-logo__label {
  color: #929cab;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .19em;
  white-space: nowrap;
}

.jdb-head-nav {
  justify-content: flex-start;
  gap: 2px;
}

.jdb-head-nav a,
.jdb-head-nav a:visited {
  min-height: 44px;
  padding: 0 10px;
  border-radius: 0;
  color: #d9dde3 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.jdb-head-nav a::after {
  position: absolute;
  right: 11px;
  bottom: 5px;
  left: 11px;
  height: 2px;
  background: #d52b34;
  content: "";
  opacity: 0;
  transform: scaleX(.3);
  transform-origin: left center;
  transition: opacity .18s ease, transform .18s ease;
}

.jdb-head-nav a:hover {
  background: transparent;
  color: #fff !important;
}

.jdb-head-nav a:hover::after,
.jdb-head-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.jdb-head-logo:focus-visible,
.jdb-head-nav a:focus-visible {
  outline: 3px solid #ef4149 !important;
  outline-offset: 2px !important;
}

.jdb-head-search input:focus-visible,
.jdb-head-search select:focus-visible,
.jdb-head-search button:focus-visible {
  outline: none !important;
}

.jdb-head-search:focus-within {
  border-color: #d9dde3;
  box-shadow: 0 0 0 2px #d9dde3;
}

.jdb-head-search {
  max-width: 320px;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 2px;
  background: #11161d;
  box-shadow: none;
}

.jdb-head-search input,
.jdb-head-search select {
  min-width: 0;
  min-height: 46px;
  padding: 0 12px !important;
  background: #11161d !important;
  color: #f5f1e8 !important;
  font-size: 13px !important;
}

.jdb-head-search input {
  border-right: 1px solid rgba(255, 255, 255, .12) !important;
  border-bottom: 0 !important;
}

.jdb-head-search input::placeholder {
  color: #8993a1;
}

.jdb-head-search__row {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 46px;
}

.jdb-head-search select {
  padding-right: 24px !important;
}

.jdb-head-search button {
  min-width: 46px;
  min-height: 46px;
  padding: 0 8px !important;
  border-left: 1px solid rgba(255, 255, 255, .12) !important;
  background: #98191f !important;
  color: #fff !important;
  font-size: 12px !important;
}

.jdb-head-search button:hover {
  background: #c4262f !important;
}

@media (max-width: 1100px) {
  .jdb-head-main {
    grid-template-columns: minmax(270px, 1fr) minmax(260px, 320px);
    grid-template-areas:
      "logo search"
      "nav nav";
    gap: 4px 20px;
    padding-block: 10px 8px;
  }

  .jdb-head-logo { grid-area: logo; }
  .jdb-head-search { grid-area: search; justify-self: end; }
  .jdb-head-nav { grid-area: nav; }
}

@media (max-width: 767px) {
  .jdb-head-main {
    width: min(calc(100% - 32px), 1200px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "search"
      "nav";
    gap: 9px;
    padding-block: 12px 10px;
  }

  .jdb-head-logo {
    justify-content: flex-start;
  }

  .jdb-head-logo__mark {
    width: 44px;
    height: 44px;
  }

  .jdb-head-logo__name {
    font-size: 17px;
  }

  .jdb-head-logo__label {
    font-size: 8px;
  }

  .jdb-head-search {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .jdb-head-search__row {
    grid-template-columns: 46px;
  }

  .jdb-head-search select {
    display: none;
  }

  .jdb-head-nav {
    width: 100%;
    gap: 2px;
    padding: 0 28px 2px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), rgba(0, 0, 0, .3) 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), rgba(0, 0, 0, .3) 100%);
  }

  .jdb-head-nav a,
  .jdb-head-nav a:visited {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 12px;
  }
}

@media (max-width: 359px) {
  .jdb-head-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jdb-head-nav a::after {
    transition: none;
  }
}

/* =========================================================
   Taxonomy archives: JDB 3.0 visual alignment
   Only applies when SWELL's term archive container exists.
   ========================================================= */
@supports selector(body:has(*)) {
  body:has(#main_content .p-termContent) {
    --jdb-tax-canvas: #0e1116;
    --jdb-tax-surface: #151a21;
    --jdb-tax-elevated: #1d242d;
    --jdb-tax-border: #27313d;
    --jdb-tax-border-strong: #374454;
    --jdb-tax-text: #f5f7fa;
    --jdb-tax-secondary: #b4bdc8;
    --jdb-tax-muted: #7f8b99;
    --jdb-tax-accent: #a92432;
    background: var(--jdb-tax-canvas) !important;
  }

  body:has(#main_content .p-termContent) #body_wrap,
  body:has(#main_content .p-termContent) #content,
  body:has(#main_content .p-termContent) #main_content,
  body:has(#main_content .p-termContent) #main_content .l-mainContent__inner {
    background: var(--jdb-tax-canvas) !important;
  }

  body:has(#main_content .p-termContent) #breadcrumb.p-breadcrumb {
    margin: 0 !important;
    padding: 18px max(20px, calc((100% - 1200px) / 2)) !important;
    border-bottom: 1px solid var(--jdb-tax-border) !important;
    background: var(--jdb-tax-elevated) !important;
    color: var(--jdb-tax-muted) !important;
  }

  body:has(#main_content .p-termContent) #breadcrumb.p-breadcrumb a {
    color: var(--jdb-tax-secondary) !important;
  }

  body:has(#main_content .p-termContent) #main_content.l-mainContent {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 20px 96px !important;
  }

  body:has(#main_content .p-termContent) #main_content .l-mainContent__inner {
    width: min(100%, 1200px) !important;
    max-width: 1200px !important;
    margin-inline: auto !important;
    padding: 0 !important;
  }

  body:has(#main_content .p-termContent) #main_content .c-pageTitle {
    margin: 0 -20px 48px !important;
    padding: 56px max(20px, calc((100% - 1200px) / 2)) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--jdb-tax-border) !important;
    background: radial-gradient(circle at 10% 0%, rgba(169, 36, 50, .18), transparent 40%), var(--jdb-tax-elevated) !important;
  }

  body:has(#main_content .p-termContent) #main_content .c-pageTitle::before,
  body:has(#main_content .p-termContent) #main_content .c-pageTitle::after {
    display: none !important;
  }

  body:has(#main_content .p-termContent) #main_content .c-pageTitle__inner {
    display: block !important;
    width: min(100%, 1200px) !important;
    margin-inline: auto !important;
    color: var(--jdb-tax-text) !important;
    -webkit-text-fill-color: var(--jdb-tax-text) !important;
    font-size: clamp(32px, 5vw, 50px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
  }

  body:has(#main_content .p-termContent) #main_content .c-pageTitle__subTitle {
    display: block !important;
    margin-top: 12px !important;
    color: #d65b66 !important;
    -webkit-text-fill-color: #d65b66 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
  }

  body:has(#main_content .p-termContent) #main_content .p-postList {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body:has(#main_content .p-termContent) #main_content .p-postList__item {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
    margin: 0 !important;
    border: 1px solid var(--jdb-tax-border) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: var(--jdb-tax-surface) !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .24) !important;
  }

  body:has(#main_content .p-termContent) #main_content .p-postList__link {
	display: flex !important;
	width: 100% !important;
    height: 100% !important;
    flex-direction: column !important;
    color: var(--jdb-tax-text) !important;
    text-decoration: none !important;
  }

  body:has(#main_content .p-termContent) #main_content .p-postList__thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1200 / 630 !important;
    overflow: hidden !important;
    background: var(--jdb-tax-canvas) !important;
  }

  body:has(#main_content .p-termContent) #main_content .p-postList__thumb .c-postThumb__figure,
  body:has(#main_content .p-termContent) #main_content .p-postList__thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
  }

  body:has(#main_content .p-termContent) #main_content .p-postList__thumb .c-postThumb__cat {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    display: inline-flex !important;
    min-height: 24px !important;
    align-items: center !important;
    padding: 4px 8px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--jdb-tax-accent) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  body:has(#main_content .p-termContent) #main_content .p-postList__body {
    display: flex !important;
    min-width: 0 !important;
    padding: 16px !important;
    flex: 1 !important;
    flex-direction: column !important;
  }

  body:has(#main_content .p-termContent) #main_content .p-postList__title,
  body:has(#main_content .p-termContent) #main_content .p-postList__title * {
    margin: 0 !important;
    color: var(--jdb-tax-text) !important;
    -webkit-text-fill-color: var(--jdb-tax-text) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
  }

  body:has(#main_content .p-termContent) #main_content .p-postList__link:focus-visible,
  body:has(#main_content .p-termContent) #main_content .page-numbers:focus-visible {
    outline: 3px solid var(--jdb-tax-accent) !important;
    outline-offset: -3px !important;
  }

  @media (min-width: 600px) {
    body:has(#main_content .p-termContent) #main_content .p-postList {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  }

  @media (min-width: 1024px) {
    body:has(#main_content .p-termContent) #main_content .p-postList {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
  }

  @media (max-width: 599px) {
    body:has(#main_content .p-termContent) #main_content.l-mainContent { padding-inline: 16px !important; }
    body:has(#main_content .p-termContent) #main_content .c-pageTitle { margin-inline: -16px !important; padding: 40px 16px !important; }
    body:has(#main_content .p-termContent) #breadcrumb.p-breadcrumb { padding-inline: 16px !important; }
  }
}
