/* このファイルはCMSが自動生成します。直接編集しないでください。 */
:root {
  /* ===== 管理画面のテーマ設定から出力される基本色 ===== */
  --primary-color: #D9480F;
  --accent-color: #0B7285;
  --background-color: #FFF8F0;
  --text-color: #2B2118;
  --link-color: #B8400C;
  --header-color: #FFFDF9;
  --footer-color: #3B2A20;
  --card-color: #FFFFFF;
  --button-color: #D9480F;

  /* ===== 基本色から自動生成する派生トークン ===== */
  /* 文字の濃淡（ダークテーマでも破綻しないよう透過で作る） */
  --text-muted: color-mix(in srgb, var(--text-color) 62%, transparent);
  --text-faint: color-mix(in srgb, var(--text-color) 42%, transparent);
  /* 罫線・区切り */
  --line: color-mix(in srgb, var(--text-color) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--text-color) 20%, transparent);
  /* カード上に重ねる淡い面（画像プレースホルダなど） */
  --surface-sunken: color-mix(in srgb, var(--text-color) 7%, var(--card-color));
  /* アクセント面（差し色は「主役の青」だけにして、色数を増やさない） */
  --brand: var(--primary-color);
  --brand-soft: color-mix(in srgb, var(--primary-color) 8%, var(--card-color));
  /* 影（色を混ぜず、ニュートラルなグレーだけで作る） */
  --shadow-sm: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --shadow-md: 0 2px 6px rgba(16,24,40,.05), 0 8px 20px rgba(16,24,40,.07);
  --shadow-lg: 0 4px 10px rgba(16,24,40,.06), 0 16px 36px rgba(16,24,40,.10);
  /* 角丸 */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ===== リセット・基本 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link-color); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent-color) 70%, transparent); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--accent-color) 35%, transparent); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--header-color) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--card-color) 40%, transparent), 0 8px 24px rgba(0,0,0,.05);
}
/* 上端のアクセントライン */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--brand);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px 20px;
  padding-top: 14px; padding-bottom: 14px;
}

/* ブランド（ロゴ） */
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-mark {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand:hover .brand-mark { transform: scale(1.05); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-title {
  font-size: 1.22rem; font-weight: 800; line-height: 1.3; letter-spacing: .02em;
  color: var(--text-color);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-sub {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint); line-height: 1.4; font-weight: 700;
}

/* グローバルナビ */
.site-nav {
  display: flex; align-items: center; gap: 2px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  max-width: 100%; margin: 0 -4px; padding: 0 4px;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  position: relative; flex: 0 0 auto;
  color: var(--text-color); font-size: .92rem; font-weight: 700;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; border-radius: 2px; background: var(--brand);
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}
.site-nav a:hover {
  text-decoration: none; color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 9%, transparent);
}
.site-nav a:hover::after { width: 42%; }
.site-nav a.is-active { color: var(--primary-color); background: color-mix(in srgb, var(--primary-color) 12%, transparent); }
.site-nav a.is-active::after { width: 42%; }
/* 「検索」だけボタン風に */
.site-nav a.nav-cta { color: #fff; background: var(--brand); margin-left: 6px; }
.site-nav a.nav-cta:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.site-nav a.nav-cta::after { display: none; }

/* ハンバーガーボタン（スマホ幅だけ表示） */
.nav-toggle {
  display: none; flex: 0 0 auto; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card-color);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text-color);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .brand { flex: 1 1 auto; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; margin: 0; padding: 3px 0 0; overflow: visible;
    border-top: 1px solid var(--line);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { font-size: .93rem; padding: 6.5px 13px; line-height: 1.5; border-radius: 9px; }
  .site-nav a::after { display: none; }
  .site-nav a.nav-cta { margin: 3px 0 0; padding: 8px 12px; text-align: center; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand-title { font-size: 1.08rem; }
}

/* ===== レイアウト ===== */
.page-body { display: block; padding: 28px 0 56px; }
main { min-width: 0; }
.sidebar { margin-top: 36px; }
@media (min-width: 900px) {
  .page-body.has-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
  .sidebar { margin-top: 0; position: sticky; top: 96px; }
}

/* ===== パンくずリスト ===== */
.breadcrumb {
  font-size: .8rem; color: var(--text-faint);
  padding: 14px 0 0; overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb ol { list-style: none; display: flex; align-items: center; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-color); text-decoration: none; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; color: var(--text-faint); }

/* ===== ヒーロー（トップページ） ===== */
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  margin-bottom: 28px;
  background: var(--card-color);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 800;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--primary-color); background: var(--brand-soft);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 10px;
}
.hero-title {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 900;
  line-height: 1.3; letter-spacing: .01em; margin-bottom: 8px;
  color: var(--text-color);
}
.hero-lead {
  font-size: .92rem; color: var(--text-muted); max-width: 38em;
  margin: 0 auto 16px; line-height: 1.7;
}
.hero-actions .btn { padding: 9px 24px; font-size: .86rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 16px;
}
.hero-stats > div {
  flex: 1 1 100px; max-width: 140px;
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 6px 10px;
}
.hero-stats dt { font-size: .72rem; letter-spacing: .1em; color: var(--text-faint); font-weight: 700; }
.hero-stats dd {
  font-size: 1.3rem; font-weight: 900; line-height: 1.2;
  color: var(--primary-color); font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  .hero { padding: 20px 16px 18px; border-radius: var(--radius); }
  .hero-stats dd { font-size: 1.15rem; }
}

/* ===== 下層ページの見出しバンド ===== */
.page-head { margin-bottom: 30px; }
.page-head .page-title { margin-bottom: 6px; }
.page-title {
  position: relative; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900;
  line-height: 1.45; letter-spacing: .01em; margin-bottom: 10px;
  padding-top: 16px;
}
.page-title::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 44px; height: 4px; border-radius: 999px; background: var(--brand);
}
.page-lead { color: var(--text-muted); font-size: .94rem; }
/* タグ詳細の「#」 */
.tag-mark { color: var(--text-faint); margin-right: 2px; }

/* ===== 見出し ===== */
.section-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.3rem; font-weight: 800; letter-spacing: .02em;
  margin: 48px 0 20px;
}
.section-title::before {
  content: ""; flex: 0 0 auto;
  width: 5px; height: 1.1em; border-radius: 999px;
  background: var(--brand);
}
.section-title::after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: linear-gradient(to right, var(--line), transparent);
}
.section-title:first-child { margin-top: 0; }

/* ===== カード共通 ===== */
.card {
  position: relative;
  background: var(--card-color);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
a.card-link { color: inherit; display: block; }
a.card-link:hover { text-decoration: none; }
a.card-link:hover .card {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
}

/* ===== 書籍カードグリッド ===== */
.book-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}
@media (min-width: 600px) {
  .book-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
}
.book-card .info { padding: 12px 14px 14px; }
.book-card .title {
  font-size: .92rem; font-weight: 700; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s var(--ease);
}
a.card-link:hover .book-card .title { color: var(--primary-color); }
.book-card .author { font-size: .76rem; color: var(--text-faint); margin-top: 5px; }

/* ===== レビューカード ===== */
.review-list { display: grid; gap: 28px; }
.date-heading {
  font-size: 1.05rem; font-weight: 800; margin: 0 0 10px;
  padding-left: 12px; border-left: 4px solid var(--primary-color); line-height: 1.4;
}
.date-heading a { color: var(--text-color); }
.date-heading a:hover { color: var(--primary-color); text-decoration: none; }
.date-reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.date-reviews a {
  display: block; padding: 12px 18px; line-height: 1.6; font-weight: 700;
  background: var(--card-color); color: var(--text-color);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.date-reviews a:hover {
  color: var(--primary-color); text-decoration: none;
  border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
  box-shadow: var(--shadow-lg);
}

/* ===== クリエイターカード ===== */
.author-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.author-card {
  display: flex; align-items: center; gap: 12px;
  text-align: left; padding: 16px 18px;
  border-left: 4px solid var(--primary-color);
}
.author-card .info { flex: 1; min-width: 0; }
.author-card::after {
  content: "›"; font-size: 1.5rem; line-height: 1; color: var(--text-faint);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
a.card-link:hover .author-card::after { transform: translateX(4px); color: var(--primary-color); }
.type-badge {
  display: inline-block; font-size: .68rem; font-weight: 700; padding: 1px 9px;
  border-radius: 999px; margin-bottom: 4px; color: var(--primary-color);
  background: var(--brand-soft);
}
.author-card .name { font-weight: 800; font-size: .98rem; }
.author-card .kana { font-size: .74rem; color: var(--text-faint); margin-top: 2px; }
.author-card .count {
  display: inline-block; font-size: .74rem; color: var(--primary-color);
  padding: 2px 12px; border-radius: 999px; margin-top: 10px; font-weight: 700;
  background: var(--brand-soft);
}

.card-link[hidden] { display: none; }
.target-book .url { font-size: .84rem; line-height: 1.7; margin-top: 12px; word-break: break-all; color: var(--text-faint); }
.target-book .chip-list { margin-top: 24px; gap: 14px; }
.target-book .chip {
  padding: 10px 22px; font-size: .92rem; font-weight: 700;
  background: var(--accent-color); border-color: transparent; color: #fff;
  text-decoration: none;
}
.target-book .chip::before { content: none; }
.target-book .chip:hover { background: var(--accent-color); color: #fff; opacity: .85; }
.target-book .label { margin-bottom: 8px; }
.target-book .title { line-height: 1.6; }
.target-book .author { margin-top: 0; }

/* ===== チップ（タグ） ===== */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--card-color); border: 1px solid var(--line-strong);
  font-size: .84rem; font-weight: 700; color: var(--text-color);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.chip::before { content: "#"; color: var(--text-faint); font-weight: 700; }
.chip:hover {
  border-color: transparent; color: #fff; background: var(--brand);
  text-decoration: none;
}
.chip:hover::before { color: rgba(255,255,255,.75); }
.chip .num { color: var(--text-faint); font-size: .74rem; margin-left: 2px; }
.chip:hover .num { color: rgba(255,255,255,.8); }

/* ===== 詳細ページ共通 ===== */
.detail-card { padding: 24px; margin-bottom: 28px; }
@media (min-width: 600px) { .detail-card { padding: 32px; } }


/* 書籍詳細ヘッダ */
.book-detail-head { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 600px) { .book-detail-head { flex-direction: row; gap: 32px; } }
.book-detail-head .meta { flex: 1; min-width: 0; }
.book-detail-head .meta dt {
  font-size: .7rem; letter-spacing: .12em; font-weight: 800;
  color: var(--text-faint); margin-top: 16px;
}
.book-detail-head .meta dd { font-size: .96rem; margin-top: 2px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-weight: 700; font-size: .93rem; letter-spacing: .02em;
  text-align: center; border: 1px solid transparent;
  transition: filter .2s var(--ease), background-color .2s var(--ease);
}
.btn:hover { text-decoration: none; color: #fff; filter: brightness(1.08); }
.btn.accent { background: var(--accent-color); }
/* 枠線だけの控えめボタン */
.btn.ghost {
  background: transparent; color: var(--primary-color);
  border-color: var(--line-strong);
}
.btn.ghost:hover { color: var(--primary-color); background: var(--brand-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* 作家プロフィール */
.author-profile { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.author-profile .avatar {
  flex: 0 0 104px; width: 104px; height: 104px; border-radius: 50%;
  overflow: hidden; background: var(--surface-sunken);
  display: flex; align-items: center; justify-content: center;
}
.author-profile > div:last-child { flex: 1 1 260px; min-width: 0; }
.author-profile .page-title { padding-top: 0; }
.author-profile .page-title::before { display: none; }
.author-profile .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.author-profile .links a {
  font-size: .8rem; font-weight: 700; padding: 6px 16px;
  border: 1px solid var(--line-strong);
  color: var(--primary-color); border-radius: 999px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.author-profile .links a:hover {
  background: var(--primary-color); border-color: transparent; color: #fff; text-decoration: none;
}
.profile-text {
  margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line-strong);
  font-size: .94rem; white-space: pre-wrap; color: var(--text-muted);
}

/* ===== レビュー記事本文 ===== */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-size: .82rem; color: var(--text-faint); margin-top: 6px; margin-bottom: 36px;
}
.article-body { font-size: 1.02rem; }
.article-body h1, .article-body h2 {
  position: relative; font-size: 1.24rem; font-weight: 800;
  margin: 44px 0 18px; padding: 2px 0 2px 16px;
}
.article-body h1::before, .article-body h2::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  border-radius: 999px; background: var(--brand);
}
.article-body h3 {
  font-size: 1.08rem; font-weight: 800; margin: 34px 0 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--line);
  position: relative;
}

.article-body p { margin: 0 0 1.4em; }
.article-body ul, .article-body ol { margin: 0 0 1.4em 1.6em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote {
  margin: 0 0 1.4em; padding: 16px 20px;
  border-left: 3px solid var(--line-strong);
  background: var(--surface-sunken); color: var(--text-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body code {
  background: var(--surface-sunken); padding: 2px 7px;
  border-radius: 5px; font-size: .9em;
}
.article-body pre {
  background: #22262d; color: #e6e6e6; padding: 18px;
  border-radius: var(--radius-sm); overflow-x: auto; margin: 0 0 1.4em;
}
.article-body pre code { background: none; padding: 0; }
.article-body img { border-radius: var(--radius); margin: 0 auto 1.4em; box-shadow: var(--shadow-sm); max-width: 100%; height: auto; }
.eyecatch, .book-cover { margin: 0 0 1.6em; }
.eyecatch img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.book-cover { text-align: center; }
.book-cover img { max-width: min(100%, 320px); height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.book-thumb { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.book-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }

/* 良かった点・気になった点・まとめ */
.point-box {
  position: relative; border-radius: var(--radius);
  padding: 20px 22px; margin: 26px 0; overflow: hidden;
}
.point-box .box-title {
  display: flex; align-items: center; gap: 6px;
  font-weight: 800; margin-bottom: 10px; font-size: .98rem; letter-spacing: .02em;
}
.point-box ul { margin-left: 1.4em; }
.point-box li { margin-bottom: .3em; }
/* 3種類とも同じ見た目にして、区別はアイコンと見出しだけに任せる */
.point-box.good, .point-box.bad, .point-box.recommend {
  background: var(--card-color); border: 1px solid var(--line-strong);
}
.point-box .box-title { color: var(--text-color); }
.summary-box {
  position: relative;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 22px 24px; margin: 32px 0;
}
.summary-box .box-title {
  font-weight: 800; color: var(--primary-color); margin-bottom: 8px;
  font-size: 1rem; letter-spacing: .04em;
}

/* 対象書籍の紹介カード（レビュー詳細） */
.target-book { display: flex; gap: 24px; padding: 36px 32px; align-items: center; margin-bottom: 40px; }
.target-book .label {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  color: var(--text-faint); margin-bottom: 4px;
}
.target-book .title { font-weight: 800; line-height: 1.5; }
.target-book .author { font-size: 1.1rem; font-weight: 700; color: var(--text-faint); margin-top: 4px; }

/* 関連書籍（書籍詳細・レビュー詳細） */
.related-books { display: grid; gap: 14px; }
@media (min-width: 720px) {
  .related-books { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
.related-book { height: 100%; padding: 14px; }
.related-link { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
.related-link .url {
  font-size: .78rem; color: var(--text-faint);
  overflow-wrap: anywhere; word-break: break-all;
}

/* YouTube埋め込み */
.video-embed {
  position: relative; aspect-ratio: 16 / 9; margin: 26px 0;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link {
  display: inline-block; margin: 32px 0 36px; padding: 12px 24px;
  background: var(--accent-color); color: #fff; font-weight: 700;
  border-radius: 999px; text-decoration: none;
}
.video-link:hover { opacity: .85; }

/* X（Twitter）ポスト埋め込み */
.x-embed { display: flex; justify-content: center; margin: 26px 0; }
.x-embed .twitter-tweet { margin: 0 auto !important; }

/* ===== 検索ページ ===== */
.search-box {
  width: 100%; padding: 16px 20px; font-size: 1rem;
  border: 2px solid var(--line-strong); border-radius: 999px;
  background: var(--card-color); color: var(--text-color);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-box::placeholder { color: var(--text-faint); }
.search-box:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-color) 18%, transparent);
}
.search-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; font-size: .86rem; }
.search-filters label {
  display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card-color);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.search-filters label:hover { border-color: var(--primary-color); color: var(--primary-color); }
.search-filters input { accent-color: var(--primary-color); }
.search-count { font-size: .86rem; color: var(--text-faint); margin-bottom: 14px; }
.search-results { display: grid; gap: 12px; }
.search-result { padding: 16px 18px; }
.search-result .type {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 999px;
  background: var(--brand); color: #fff; margin-right: 10px; vertical-align: middle;
}
.search-result .title { font-weight: 800; }
.search-result .snippet { font-size: .84rem; color: var(--text-muted); margin-top: 6px; }

/* ===== 広告スロット ===== */
.ad-slot { margin: 24px auto; text-align: center; overflow: hidden; }
.ad-slot:empty { display: none; margin: 0; }

/* ===== その他 ===== */
.more-link { text-align: center; margin-top: 28px; }
.empty-note {
  color: var(--text-faint); font-size: .9rem; padding: 32px 20px; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}

/* ===== フッター ===== */
.site-footer {
  position: relative;
  background: var(--footer-color); color: rgba(255,255,255,.82);
  margin-top: 56px; padding: 44px 0 28px; font-size: .86rem;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--brand);
}
.footer-top {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand:hover { text-decoration: none; }
.footer-brand .brand-mark { box-shadow: none; }
.footer-brand .brand-name { display: block; font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-brand .brand-desc { display: block; font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 2px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer .footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .footer-nav a {
  font-weight: 700; position: relative; padding-bottom: 2px;
  transition: color .2s var(--ease);
}
.site-footer .footer-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: rgba(255,255,255,.6); transition: width .25s var(--ease);
}
.site-footer .footer-nav a:hover { color: #fff; text-decoration: none; }
.site-footer .footer-nav a:hover::after { width: 100%; }
.site-footer .copyright {
  color: rgba(255,255,255,.5); font-size: .78rem; padding-top: 20px; text-align: center;
}

/* 404 */
.notfound { text-align: center; padding: 80px 0 60px; }
.notfound .code {
  font-size: clamp(4.5rem, 18vw, 8rem); font-weight: 900; line-height: 1;
  color: var(--primary-color);
}
.notfound p { color: var(--text-muted); margin-top: 12px; }

/* ===== 書籍・連載 ===== */
.book-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.book-card { padding: 20px 22px; border-left: 4px solid var(--primary-color); text-align: left; }
.book-card .title { font-weight: 800; font-size: 1.02rem; line-height: 1.5; }
.book-card .author { font-size: .8rem; color: var(--text-faint); margin-top: 4px; }
.book-card .desc { font-size: .86rem; color: var(--text-muted); margin: 10px 0 0; line-height: 1.7; }
.book-card .count {
  display: inline-block; font-size: .74rem; color: var(--primary-color); font-weight: 700;
  padding: 2px 12px; border-radius: 999px; margin-top: 12px; background: var(--brand-soft);
}
.from-book { display: block; font-size: .74rem; font-weight: 400; color: var(--text-faint); margin-top: 2px; }
.toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc-list a {
  display: flex; gap: 14px; align-items: baseline; padding: 12px 18px; line-height: 1.6; font-weight: 700;
  background: var(--card-color); color: var(--text-color);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.toc-list a:hover { color: var(--primary-color); text-decoration: none; border-color: var(--primary-color); }
.toc-no { flex: none; font-size: .78rem; color: var(--primary-color); font-weight: 800; min-width: 3.4em; }
.series-label { font-size: .82rem; font-weight: 700; color: var(--primary-color); margin: 0 0 6px; }
/* 記事末尾の書籍紹介（Kindleリンク） */
.book-promo {
  margin: 32px 0 8px; padding: 18px 20px 20px;
  background: var(--brand-soft); border: 1px solid var(--line); border-radius: var(--radius);
}
.book-promo .box-title { font-size: .8rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; }
.book-promo .promo-main { display: flex; gap: 18px; align-items: flex-start; }
.book-promo .promo-cover { margin: 0; flex: 0 0 96px; }
.book-promo .promo-cover img { width: 96px; height: auto; border-radius: 6px; box-shadow: var(--shadow-sm); display: block; }
.book-promo .promo-body { flex: 1 1 auto; min-width: 0; }
.book-promo .promo-title { font-weight: 800; line-height: 1.5; margin-bottom: 6px; }
.book-promo .promo-intro { font-size: .92rem; }
.book-promo .promo-intro p { margin: 0 0 .8em; }
.book-promo .btn-row { margin-top: 12px; }
@media (max-width: 520px) { .book-promo .promo-main { flex-direction: column; } }
.series-box { margin-top: 28px; }
.series-box .title { font-weight: 800; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 32px 0 8px; }
.pager a {
  flex: 1; max-width: 48%; padding: 12px 16px; font-size: .88rem; font-weight: 700; line-height: 1.5;
  background: var(--card-color); border: 1px solid var(--line); border-radius: var(--radius);
}
.pager a:hover { border-color: var(--primary-color); text-decoration: none; }
.pager .pager-next { text-align: right; margin-left: auto; }
@media (max-width: 600px) { .pager { flex-direction: column; } .pager a { max-width: none; } }

/* ===== 表示アニメーション ===== */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero, .page-head, .card, .chip-list, .detail-card {
  animation: rise-in .5s var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* 入力欄の改行をそのまま表示する */
.profile-text, .summary-box p { white-space: pre-line; }

/* ================================================================
 * テーマ1：ブログ型（サイドバー付き）
 * ================================================================ */
body.design-theme1 {
  --t1-radius: 6px;
  --t1-gap: 24px;
  --t1-soft: color-mix(in srgb, var(--primary-color) 7%, var(--card-color));
  --t1-soft-2: color-mix(in srgb, var(--primary-color) 14%, var(--card-color));
  --t1-ink-2: color-mix(in srgb, var(--primary-color) 70%, #000);
  font-size: 15.5px;
  line-height: 1.95;
  background: var(--background-color);
}
.design-theme1 .container { max-width: 1160px; }

/* ===== ヘッダー（白地・ロゴ左／メニュー右・細い上部帯） ===== */
.design-theme1 .site-header {
  position: sticky; top: 0;
  background: var(--header-color);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.design-theme1 .site-header::before { display: none; }
.design-theme1 .t1-topbar {
  background: var(--t1-ink-2); color: rgba(255,255,255,.88);
  font-size: .72rem; letter-spacing: .06em; line-height: 1;
}
.design-theme1 .t1-topbar .container { padding-top: 7px; padding-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.design-theme1 .header-inner { padding-top: 12px; padding-bottom: 12px; }
.design-theme1 .brand-mark {
  width: 36px; height: 36px; border-radius: 6px;
  background: var(--brand);
}
.design-theme1 .brand-mark svg { width: 20px; height: 20px; }
.design-theme1 .brand-title { font-size: 1.12rem; font-weight: 800; }
.design-theme1 .brand-sub { letter-spacing: .22em; }
.design-theme1 .site-nav { gap: 0; }
.design-theme1 .site-nav a {
  border-radius: 0; padding: 10px 14px; font-size: .88rem; font-weight: 700;
  background: transparent !important; color: var(--text-color);
  border-bottom: 3px solid transparent;
}
.design-theme1 .site-nav a::after { display: none; }
.design-theme1 .site-nav a:hover { color: var(--primary-color); border-bottom-color: color-mix(in srgb, var(--primary-color) 45%, transparent); text-decoration: none; }
.design-theme1 .site-nav a.is-active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.design-theme1 .site-nav a.nav-cta {
  color: #fff; background: var(--brand) !important; border-bottom-color: transparent;
  border-radius: 4px; margin-left: 10px; padding: 8px 16px;
}
.design-theme1 .site-nav a.nav-cta:hover { filter: brightness(1.08); transform: none; }
@media (max-width: 720px) {
  .design-theme1 .site-nav a { border-bottom: 0; border-left: 3px solid transparent; padding: 9px 12px; }
  .design-theme1 .site-nav a.is-active { border-left-color: var(--primary-color); background: var(--t1-soft) !important; }
  .design-theme1 .site-nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .design-theme1 .nav-toggle { border-radius: 6px; }
}

/* ===== 2カラム（本文＋右サイドバー） ===== */
.design-theme1 .page-body { padding: 26px 0 60px; }
@media (min-width: 960px) {
  .design-theme1 .page-body.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .design-theme1 .sidebar { top: 110px; }
}
.design-theme1 .breadcrumb { padding-top: 12px; }

/* ===== トップのバナー ===== */
.design-theme1 .hero {
  text-align: left; border: 0; border-radius: var(--t1-radius);
  padding: 34px 30px 30px; margin-bottom: 34px; color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent-color) 60%, transparent), transparent 55%),
    linear-gradient(135deg, var(--primary-color), var(--t1-ink-2));
  box-shadow: 0 6px 20px color-mix(in srgb, var(--primary-color) 28%, transparent);
}
.design-theme1 .hero-eyebrow { color: #fff; background: rgba(255,255,255,.18); border-radius: 3px; letter-spacing: .26em; }
.design-theme1 .hero-title { color: #fff; font-size: clamp(1.45rem, 4vw, 2rem); }
.design-theme1 .hero-lead { color: rgba(255,255,255,.9); margin-left: 0; margin-right: 0; max-width: 34em; }
.design-theme1 .hero-actions { justify-content: flex-start; }
.design-theme1 .hero .btn { background: #fff; color: var(--t1-ink-2); border-radius: 4px; }
.design-theme1 .hero-stats { justify-content: flex-start; }
.design-theme1 .hero-stats > div { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); border-radius: 4px; }
.design-theme1 .hero-stats dt { color: rgba(255,255,255,.75); }
.design-theme1 .hero-stats dd { color: #fff; }

/* ===== セクション見出し ===== */
.design-theme1 .section-title {
  display: block; position: relative; margin: 44px 0 20px; padding: 0 0 10px;
  font-size: 1.18rem; font-weight: 800; letter-spacing: .04em;
  border-bottom: 2px solid var(--line);
}
.design-theme1 .section-title::before {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px;
  border-radius: 0; background: var(--brand);
}
.design-theme1 .section-title::after { display: none; }
.design-theme1 .page-title { padding-top: 0; font-size: clamp(1.4rem, 3.6vw, 1.85rem); line-height: 1.5; }
.design-theme1 .page-title::before { display: none; }
.design-theme1 .page-head { padding-bottom: 14px; border-bottom: 2px solid var(--line); margin-bottom: 26px; position: relative; }
.design-theme1 .page-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--brand); }

/* ===== 記事カード（サムネイル付き） ===== */
.design-theme1 .t1-cards { display: grid; gap: var(--t1-gap); grid-template-columns: 1fr; }
@media (min-width: 560px) { .design-theme1 .t1-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .design-theme1 .t1-cards.is-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.design-theme1 .t1-card {
  display: flex; flex-direction: column; color: inherit; height: 100%;
  background: var(--card-color); border: 1px solid var(--line); border-radius: var(--t1-radius);
  overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.design-theme1 .t1-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary-color) 35%, transparent); }
.design-theme1 .t1-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-sunken); }
.design-theme1 .t1-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .5s var(--ease); }
.design-theme1 .t1-card:hover .t1-thumb img { transform: scale(1.05); }
.design-theme1 .t1-thumb.is-cover { background: var(--t1-soft-2); }
.design-theme1 .t1-thumb.is-cover img { object-fit: contain; object-position: center; padding: 6px 0; }
.design-theme1 .t1-ph {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 14px 16px; color: #fff; position: relative;
}
.design-theme1 .t1-ph::before {
  content: ""; position: absolute; right: -24px; top: -24px; width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.design-theme1 .t1-ph-no { font-size: 1.7rem; font-weight: 900; letter-spacing: .02em; line-height: 1.1; position: relative; }
.design-theme1 .t1-ph-book { font-size: .72rem; opacity: .9; margin-top: 4px; position: relative; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.design-theme1 .t1-ph-0 { background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); }
.design-theme1 .t1-ph-1 { background: linear-gradient(135deg, var(--t1-ink-2), var(--primary-color)); }
.design-theme1 .t1-ph-2 { background: linear-gradient(135deg, var(--accent-color), var(--t1-ink-2)); }
.design-theme1 .t1-ph-3 { background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 60%, var(--accent-color)), color-mix(in srgb, var(--accent-color) 70%, #000)); }
.design-theme1 .t1-label {
  position: absolute; left: 0; top: 12px; max-width: 86%;
  background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; line-height: 1;
  padding: 6px 10px 6px 12px; border-radius: 0 3px 3px 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.design-theme1 .t1-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.design-theme1 .t1-card-title {
  font-size: .98rem; font-weight: 800; line-height: 1.6; color: var(--text-color);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.design-theme1 .t1-card:hover .t1-card-title { color: var(--primary-color); }
.design-theme1 .t1-meta { margin-top: auto; font-size: .74rem; color: var(--text-faint); display: flex; gap: 12px; align-items: center; }
.design-theme1 .t1-meta .t1-no { color: var(--primary-color); font-weight: 700; }

/* ===== 書籍カード ===== */
.design-theme1 .book-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--t1-gap); }
.design-theme1 .card { border-radius: var(--t1-radius); box-shadow: none; }
.design-theme1 a.card-link:hover .card { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.design-theme1 .book-card .title { font-size: .95rem; }

/* ===== サイドバーのウィジェット ===== */
.design-theme1 .sidebar { display: grid; gap: 26px; align-content: start; }
.design-theme1 .t1-widget { background: var(--card-color); border: 1px solid var(--line); border-radius: var(--t1-radius); padding: 0 0 16px; overflow: hidden; }
.design-theme1 .t1-widget-title {
  margin: 0 0 14px; padding: 11px 16px; font-size: .9rem; font-weight: 800; letter-spacing: .08em;
  background: var(--t1-soft); border-bottom: 2px solid var(--primary-color); color: var(--t1-ink-2);
}
.design-theme1 .t1-widget > *:not(.t1-widget-title) { margin-left: 16px; margin-right: 16px; }
.design-theme1 .t1-search { display: flex; }
.design-theme1 .t1-search input {
  flex: 1; min-width: 0; font: inherit; font-size: .88rem; padding: 9px 12px;
  border: 1px solid var(--line-strong); border-right: 0; border-radius: 4px 0 0 4px;
  background: var(--card-color); color: var(--text-color);
}
.design-theme1 .t1-search button {
  font: inherit; font-size: .84rem; font-weight: 700; padding: 0 16px; cursor: pointer;
  border: 0; background: var(--brand); color: #fff; border-radius: 0 4px 4px 0;
}
.design-theme1 .t1-about { font-size: .86rem; line-height: 1.8; color: var(--text-muted); }
.design-theme1 .t1-about a { font-weight: 700; }
.design-theme1 .t1-mini { list-style: none; padding: 0; display: grid; gap: 12px; }
.design-theme1 .t1-mini a { display: grid; grid-template-columns: 78px 1fr; gap: 10px; color: var(--text-color); align-items: center; }
.design-theme1 .t1-mini a:hover { text-decoration: none; color: var(--primary-color); }
.design-theme1 .t1-mini .t1-thumb { border-radius: 4px; aspect-ratio: 4 / 3; }
.design-theme1 .t1-mini .t1-ph { padding: 6px 8px; align-items: center; justify-content: center; }
.design-theme1 .t1-mini .t1-ph::before { display: none; }
.design-theme1 .t1-mini .t1-ph-no { font-size: .9rem; }
.design-theme1 .t1-mini .t1-ph-book { display: none; }
.design-theme1 .t1-mini-title { font-size: .82rem; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.design-theme1 .t1-mini-date { display: block; font-size: .7rem; color: var(--text-faint); font-weight: 400; margin-top: 2px; }
.design-theme1 .t1-booklist { list-style: none; padding: 0; }
.design-theme1 .t1-booklist li + li { border-top: 1px dashed var(--line-strong); }
.design-theme1 .t1-booklist a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: .85rem; font-weight: 700; color: var(--text-color); }
.design-theme1 .t1-booklist a:hover { color: var(--primary-color); text-decoration: none; }
.design-theme1 .t1-booklist .t1-count { flex: 0 0 auto; font-size: .72rem; color: var(--primary-color); background: var(--t1-soft); padding: 1px 9px; border-radius: 999px; align-self: center; }
.design-theme1 .t1-widget .chip-list { gap: 8px; }
.design-theme1 .t1-widget .chip { padding: 4px 12px; font-size: .78rem; border-radius: 4px; }

/* ===== 記事ページ ===== */
.design-theme1 .t1-article-head { margin-bottom: 22px; }
.design-theme1 .t1-article-cat { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.design-theme1 .t1-article-cat a, .design-theme1 .t1-article-cat span {
  font-size: .74rem; font-weight: 700; line-height: 1; padding: 6px 12px; border-radius: 3px;
}
.design-theme1 .t1-article-cat a { background: var(--brand); color: #fff; }
.design-theme1 .t1-article-cat span { background: var(--t1-soft-2); color: var(--t1-ink-2); }
.design-theme1 .t1-article .page-title { margin-bottom: 10px; }
.design-theme1 .t1-article .article-meta { color: var(--text-faint); font-size: .8rem; margin-bottom: 18px; }
.design-theme1 .t1-article .eyecatch img { border-radius: var(--t1-radius); box-shadow: none; }
.design-theme1 .t1-toc {
  background: var(--t1-soft); border: 1px solid var(--t1-soft-2); border-radius: var(--t1-radius);
  padding: 16px 20px 14px; margin: 0 0 32px;
}
.design-theme1 .t1-toc-title { font-size: .86rem; font-weight: 800; letter-spacing: .1em; color: var(--t1-ink-2); margin-bottom: 8px; }
.design-theme1 .t1-toc ol { margin: 0; padding-left: 1.5em; font-size: .9rem; line-height: 1.7; }
.design-theme1 .t1-toc li { margin: 0 0 3px; }
.design-theme1 .t1-toc a { color: var(--text-color); font-weight: 700; }
.design-theme1 .t1-toc a:hover { color: var(--primary-color); }

.design-theme1 .article-body { font-size: 1.01rem; }
.design-theme1 .article-body h2 {
  margin: 2.6em 0 1.1em; padding: .65em .9em .65em 1em; font-size: 1.22rem; line-height: 1.55;
  background: var(--t1-soft); border-left: 6px solid var(--primary-color); border-radius: 0 4px 4px 0;
  scroll-margin-top: 90px;
}
.design-theme1 .article-body h2::before { display: none; }
.design-theme1 .article-body h3 {
  margin: 2em 0 .9em; padding: 0 0 .35em; font-size: 1.08rem; line-height: 1.55;
  border-bottom: 2px dotted color-mix(in srgb, var(--primary-color) 55%, transparent);
}
.design-theme1 .article-body h3::before { content: "■"; color: var(--primary-color); font-size: .7em; margin-right: .5em; vertical-align: .12em; }
.design-theme1 .article-body strong { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent-color) 22%, transparent) 62%); }
.design-theme1 .article-body ul { list-style: none; margin-left: 0; padding-left: 0; }
.design-theme1 .article-body ul > li { position: relative; padding-left: 1.3em; }
.design-theme1 .article-body ul > li::before { content: ""; position: absolute; left: .25em; top: .8em; width: .5em; height: .5em; border-radius: 50%; background: var(--primary-color); }
.design-theme1 .article-body ol { margin-left: 1.5em; }
.design-theme1 .article-body ol > li::marker { color: var(--primary-color); font-weight: 800; }
.design-theme1 .article-body blockquote { border-left: 4px solid var(--accent-color); background: var(--surface-sunken); border-radius: 0 4px 4px 0; }

.design-theme1 .summary-box {
  border: 2px solid var(--primary-color); border-radius: var(--t1-radius); background: var(--card-color);
  padding: 22px 20px 16px; margin: 36px 0; position: relative;
}
.design-theme1 .summary-box .box-title {
  position: absolute; top: -.85em; left: 14px; padding: 0 10px; background: var(--card-color);
  color: var(--primary-color); font-weight: 800; font-size: .88rem; letter-spacing: .06em;
}
.design-theme1 .book-promo { border: 1px solid var(--line-strong); border-radius: var(--t1-radius); background: var(--t1-soft); }
.design-theme1 .pager { gap: 14px; }
.design-theme1 .pager a { border-radius: var(--t1-radius); border: 1px solid var(--line-strong); background: var(--card-color); }
.design-theme1 .pager a:hover { border-color: var(--primary-color); text-decoration: none; color: var(--primary-color); }
.design-theme1 .series-box { border-left: 5px solid var(--primary-color); }

/* ===== 連載の目次（書籍ページ） ===== */
.design-theme1 .toc-list a { border-radius: var(--t1-radius); }

/* ===== ボタン・チップ ===== */
.design-theme1 .btn { border-radius: 4px; padding: 11px 26px; }
.design-theme1 .btn.ghost { border-radius: 4px; }
.design-theme1 .chip { border-radius: 4px; }

/* ===== フッター ===== */
.design-theme1 .site-footer { margin-top: 0; }
.design-theme1 .site-footer::before { height: 4px; background: var(--brand); }

@media (max-width: 600px) {
  .design-theme1 .hero { padding: 26px 18px 22px; }
  .design-theme1 .article-body h2 { font-size: 1.12rem; }
}
