@charset "UTF-8";

/* =========================================================
   お金の相談ノート  共通スタイル
   モノトーン基調 + 差し色 #bcddff(背景の面・マーカーのみ)
   文字・枠線には差し色を使わない(コントラスト比が基準に届かないため)
   ========================================================= */

:root {
  --white: #ffffff;
  --bg-soft: #f4f4f4;
  --text: #111111;
  --muted: #555555;
  --line: #949494;
  --line-soft: #d4d4d4;

  --acc: #bcddff;
  --accent-tint: var(--acc);

  --cta-bg: #111111;
  --cta-hover: #333333;

  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --container: 1120px;
  --wrap: 760px;
  --radius: 6px;

  /* 旧変数名(シミュレーター等、ページ内スタイルが参照している) */
  --paper: var(--bg-soft);
  --paper-deep: var(--white);
  --paper-card: var(--white);
  --ink: var(--text);
  --ink-soft: var(--muted);
  --ledger-line: var(--line);
  --navy: var(--text);
  --navy-deep: var(--text);
  --gold: var(--text);
  --gold-ink: var(--text);
  --accent: var(--text);
  --accent-deep: var(--text);
  --accent-hover: var(--cta-hover);
  --accent-line: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { background: var(--acc); }
img { max-width: 100%; height: auto; }

.hl { background: linear-gradient(transparent 58%, var(--acc) 58%); padding: 0 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- フォーカス ---------- */
:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--white);
}

/* ---------- スキップリンク ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  background: var(--text);
  color: var(--white);
  font-size: 0.9rem;
  padding: 10px 16px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 上部ナビ ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 2px solid var(--text);
}
.site-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__logo:hover { background: none; }
.site-nav__logo::before {
  content: "";
  width: 32px;
  height: 22px;
  background: url("logo-book.svg") center / contain no-repeat;
}
.site-nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.site-nav__links a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  white-space: nowrap;
}
.site-nav__links a:hover { background: var(--acc); }
.site-nav__links a.site-nav__cta {
  margin-left: 6px;
  padding: 9px 20px;
  background: var(--cta-bg);
  color: var(--white);
  border-radius: 999px;
}
.site-nav__links a.site-nav__cta:hover { background: var(--cta-hover); }
.site-nav__toggle {
  display: none;
  margin-left: auto;
  border: 2px solid var(--text);
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  padding: 6px 12px;
  cursor: pointer;
  min-height: 44px;
}
@media (max-width: 720px) {
  .site-nav__toggle { display: block; }
  .site-nav__links {
    display: none;
    width: 100%;
    margin: 8px 0 2px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-nav.is-open .site-nav__links { display: flex; }
  .site-nav__inner { flex-wrap: wrap; }
  .site-nav__links a { padding: 12px 10px; }
  .site-nav__links a.site-nav__cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- 記事ページ:レイアウト ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 20px 72px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--text);
  font-weight: 800;
  background: var(--acc);
  padding: 2px 12px;
  margin-bottom: 14px;
}

h1 {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 4.2vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.crumb { font-size: 0.875rem; color: var(--muted); margin-bottom: 24px; }

/* ---------- 記事ページ本文 ---------- */
article { padding: 8px 0 4px; }

article h2 {
  position: relative;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.5;
  margin: 52px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
}
article h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 8px;
  background: var(--acc);
}
article h2:first-child,
article h2:first-of-type { margin-top: 28px; }
article h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 28px 0 10px;
}
article p { font-size: 1rem; margin: 0 0 16px; line-height: 1.85; }
article ul, article ol { font-size: 1rem; margin: 0 0 18px; padding-left: 1.4em; line-height: 1.85; }
article li { margin-bottom: 8px; }
article strong { font-weight: 800; }

/* 目次 */
.toc {
  background: var(--white);
  border: 2px solid var(--text);
  padding: 20px 24px;
  margin-bottom: 30px;
}
.toc-title { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.toc ul { margin: 0; padding-left: 1.3em; font-size: 0.95rem; }
.toc li { margin-bottom: 4px; }

/* 表 */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 20px;
  border: 2px solid var(--text);
}
table.ledger {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0;
  background: var(--white);
}
table.ledger th, table.ledger td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}
table.ledger th:last-child, table.ledger td:last-child { border-right: none; }
table.ledger tr:last-child td { border-bottom: none; }
table.ledger th { background: var(--acc); font-weight: 800; color: var(--text); }
table.ledger--wide th, table.ledger--wide td { white-space: nowrap; padding: 10px 10px; font-size: 0.9rem; }

/* 注記ボックス */
.note {
  margin: 22px 0;
  padding: 16px 20px;
  background: var(--acc);
  border-left: 6px solid var(--text);
  font-size: 0.97rem;
}
.note strong { display: block; margin-bottom: 4px; }

/* PR / 広告表示 */
.pr-banner {
  margin: 4px 0 26px;
  padding: 10px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* おすすめ枠(FP相談・会計ソフト等) */
.callout {
  margin-top: 22px;
  padding: 20px 24px;
  background: var(--acc);
  border: 2px solid var(--text);
  font-size: 0.97rem;
}
.callout .rec-eyebrow { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.callout a { font-weight: 800; text-decoration-thickness: 2px; }
.callout a:hover { background: var(--white); }

/* note 埋め込み */
.note-promo {
  margin-top: 22px;
  padding: 20px 24px;
  background: var(--white);
  border: 2px solid var(--text);
}
.note-promo .rec-eyebrow { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.note-promo iframe { max-width: 100%; }

/* ---------- CTAボタン(共通) ---------- */
.tool-cta,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 30px;
  background: var(--cta-bg);
  color: var(--white);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 2px solid var(--cta-bg);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.tool-cta { margin-top: 8px; }
.tool-cta:hover,
.cta-btn:hover {
  background: var(--cta-hover);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--acc);
}
.tool-cta:active, .cta-btn:active { transform: none; box-shadow: none; }
.cta-btn--ghost {
  background: var(--white);
  color: var(--text);
  border-color: var(--text);
}
.cta-btn--ghost:hover { background: var(--acc); color: var(--text); box-shadow: 4px 4px 0 var(--text); }

/* 関連記事 */
.related {
  margin-top: 40px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 2px solid var(--text);
}
.related-title { font-size: 1rem; font-weight: 800; margin-bottom: 10px; }
.related a { display: block; font-size: 0.95rem; margin-bottom: 8px; }

/* 運営者情報のテーブル行 */
.row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.row:last-child { border-bottom: none; }
.row .label { color: var(--muted); font-weight: 800; }

/* お問い合わせフォーム埋め込み */
.contact-form { margin: 24px 0 8px; display: grid; gap: 22px; }
.contact-form__field { display: grid; gap: 8px; }
.contact-form label { font-weight: 800; font-size: 0.95rem; }
.contact-form__req { display: inline-block; margin-left: 8px; padding: 1px 8px; background: var(--acc); border: 1px solid var(--text); font-size: 0.75rem; font-weight: 800; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text); background: var(--white);
  border: 2px solid var(--text); border-radius: 0;
}
.contact-form textarea { min-height: 220px; resize: vertical; line-height: 1.7; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form button:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.contact-form__hint { margin: 0; font-size: 0.85rem; color: var(--muted); }
.contact-form__submit {
  justify-self: start; min-height: 56px; padding: 0 40px;
  font: inherit; font-size: 1.05rem; font-weight: 800; color: var(--white);
  background: var(--text); border: 2px solid var(--text); border-radius: 999px; cursor: pointer;
}
.contact-form__submit:hover { background: var(--white); color: var(--text); }
.contact-form__submit:disabled { opacity: .55; cursor: wait; }
.contact-form__error { margin: 0; padding: 12px 14px; border: 2px solid var(--text); background: var(--bg-soft); font-weight: 700; }
.contact-form__error[hidden], .contact-done[hidden], .contact-form[hidden] { display: none; }
.contact-done { margin: 24px 0 8px; padding: 26px 24px; border: 2px solid var(--text); background: var(--acc); }
.contact-done h2 { margin: 0 0 8px; padding: 0; border: 0; background: none; font-size: 1.25rem; }
.contact-done h2::before, .contact-done h2::after { content: none; }
.contact-done p { margin: 0 0 14px; }
.contact-done a { font-weight: 800; }

/* ページ末の注記 */
.post-note,
footer:not(.site-footer) {
  display: block;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
  text-align: left;
}

/* ---------- フッター ---------- */
.site-footer {
  border-top: 2px solid var(--text);
  background: var(--bg-soft);
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 34px 20px 44px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.9;
}
.site-footer__nav {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
}
.site-footer__nav a {
  padding: 0 12px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}
.site-footer__nav a:last-child { border-right: none; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer small { display: block; margin-top: 14px; }
.site-footer__sister { margin: 14px 0 0; font-size: 0.8125rem; }
.site-footer__sister a { color: var(--muted); }

/* =========================================================
   トップページ(枠線ボックス型)
   ========================================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.hero { padding: 52px 20px 34px; }
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 0 14px;
}
.hero__sub { font-size: 1.1rem; font-weight: 500; color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__cta .cta-btn { min-height: 56px; padding: 0 32px; font-size: 1.05rem; }

.hero-book {
  display: flex;
  width: 100%;
  max-width: 820px;
  align-items: stretch;
  background: var(--white);
  border: 2px solid var(--text);
  color: var(--text);
}
.hero-book__main { flex: 1; display: flex; align-items: center; gap: 24px; padding: 18px 24px 18px 18px; min-width: 0; color: var(--text); text-decoration: none; }
.hero-book__main:hover { background: var(--acc); }
.hero-book__img { flex: none; width: 92px; height: auto; border: 1px solid var(--line); }
.hero-book__text { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.hero-book__label { font-size: 0.9rem; font-weight: 800; }
.hero-book__text b { font-size: 1.3rem; font-weight: 800; }
.hero-book__text small { font-size: 0.95rem; color: var(--muted); }
.hero-book__links { display: flex; flex-direction: column; flex: none; border-left: 2px solid var(--text); }
.hero-book__links a { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px 28px; font-size: 1.05rem; font-weight: 800; white-space: nowrap; color: var(--text); text-decoration: none; }
.hero-book__links a + a { border-top: 2px solid var(--text); background: var(--text); color: var(--white); }
.hero-book__links a:hover { background: var(--acc); color: var(--text); }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 48px; grid-template-rows: auto auto 1fr; align-items: start; }
  .hero > h1, .hero > .hero__sub, .hero > .hero__cta { grid-column: 1; }
  .hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
  .hero > .hero__cta { margin-bottom: 0; }
  .hero > .hero-book { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; flex-direction: column; width: 100%; max-width: none; }
  .hero-book__main { flex: 1; flex-direction: row; text-align: left; gap: 20px; padding: 14px 22px; }
  .hero-book__img { width: 92px; }
  .hero-book__text b { font-size: 1.1rem; text-wrap: balance; }
  .hero-book__links { flex-direction: row; border-left: 0; border-top: 2px solid var(--text); }
  .hero-book__links a { flex: 1 1 0; padding: 16px 8px; font-size: 0.95rem; }
  .hero-book__links a + a { border-top: 0; border-left: 2px solid var(--text); }
}
@media (max-width: 640px) {
  .hero-book { flex-direction: column; }
  .hero-book__main { gap: 14px; padding: 12px 14px; }
  .hero-book__img { width: 56px; }
  .hero-book__text b { font-size: 1.02rem; }
  .hero-book__links { flex-direction: row; border-left: 0; border-top: 2px solid var(--text); }
  .hero-book__links a { flex: 1 1 0; min-width: 0; padding: 12px 6px; font-size: 0.9rem; }
  .hero-book__links a + a { border-top: 0; border-left: 2px solid var(--text); }
}

/* ランキング帯 */
.box { border: 2px solid var(--text); background: var(--white); }
.box__head {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 10px 18px;
  border-bottom: 2px solid var(--text);
  font-weight: 900;
  font-size: 1.1rem;
  background: var(--acc);
}
.box__head small { font-weight: 500; font-size: 0.875rem; }
.box--band { margin: 10px 20px 0; }
.rank { display: grid; grid-template-columns: repeat(5, 1fr); }
.rank a {
  display: block;
  padding: 16px 16px 18px;
  border-right: 2px solid var(--text);
  text-decoration: none;
  color: var(--text);
}
.rank a:last-child { border-right: none; }
.rank a:hover { background: var(--acc); }
.rank em { display: block; font-style: normal; font-weight: 900; font-size: 2.8rem; line-height: 1; }
.rank b { display: block; margin-top: 8px; font-size: 0.95rem; font-weight: 800; line-height: 1.55; }
@media (max-width: 860px) {
  .rank { grid-template-columns: 1fr; }
  .rank a { border-right: none; border-bottom: 2px solid var(--text); display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 8px; padding: 12px 16px; }
  .rank a:last-child { border-bottom: none; }
  .rank em { font-size: 2rem; }
  .rank b { margin: 0; }
}

.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin: 24px 20px 0; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.upd { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--text); color: var(--text); text-decoration: none; }
.upd:last-child { border-bottom: none; }
.upd:hover { background: var(--acc); }
.upd time { padding: 14px 16px; border-right: 1px solid var(--text); font-weight: 800; font-size: 0.95rem; background: var(--bg-soft); }
.upd:hover time { background: var(--acc); }
.upd div { padding: 12px 18px; }
.upd b { display: block; font-weight: 800; line-height: 1.6; }
.chip {
  display: inline-block;
  border: 1.5px solid var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0 8px;
  margin-bottom: 4px;
  background: var(--white);
  line-height: 1.6;
}
.chip--acc { background: var(--acc); }
.tools-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--text);
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
  min-height: 56px;
}
.tools-list a:last-child { border-bottom: none; }
.tools-list a:hover { background: var(--acc); }
.tools-list svg { flex: none; }
@media (max-width: 480px) { .upd { grid-template-columns: 1fr; } .upd time { border-right: none; border-bottom: 1px solid var(--text); padding: 6px 16px; } }

/* セクション */
.section { padding: 64px 0 24px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section__title { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 900; margin: 0 0 6px; line-height: 1.4; }
.section__lead { font-size: 1rem; color: var(--muted); margin: 0; max-width: 42em; }

/* 対象フィルター */
.audience-filter { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.audience-filter button {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 8px 20px;
  min-height: 44px;
  border: 2px solid var(--text);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}
.audience-filter button:hover { background: var(--acc); }
.audience-filter button.active { background: var(--text); color: var(--white); }

/* カード群 */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  background: var(--white);
  border: 2px solid var(--text);
  padding: 20px 20px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.card-link:hover { background: var(--white); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--acc), 5px 5px 0 1px var(--text); }
.card-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--acc);
  border: 1.5px solid var(--text);
  padding: 0 10px;
  margin-bottom: 12px;
  line-height: 1.7;
}
.card-tag--audience[data-aud="kyuyo"] { background: var(--white); }
.card-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 8px; line-height: 1.6; }
.card-desc { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.75; }

/* ツールカード(未使用のトップ旧版との互換) */
.tool-card__icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--acc); border: 2px solid var(--text); margin-bottom: 18px; }
.card-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--cta-bg); color: var(--white); font-weight: 800; }

/* 記事グループ */
.topic-block + .topic-block { margin-top: 52px; }
.topic-title { font-size: 1.3rem; font-weight: 900; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.topic-title::before { content: ""; width: 28px; height: 20px; background: url("logo-book.svg") center / contain no-repeat; flex: none; }

/* 下部CTA */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--acc);
  border: 2px solid var(--text);
  padding: 40px 44px;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 900; margin: 0 0 8px; line-height: 1.5; }
.cta-band p { margin: 0; font-size: 1rem; }
.cta-band .cta-btn { min-height: 58px; padding: 0 36px; font-size: 1.08rem; }
@media (max-width: 860px) { .section { padding: 48px 0 16px; } .cta-band { padding: 28px 22px; } }

/* ---------- 書籍の告知(記事ページの書影) ---------- */
.book-cover { margin: 4px 0 30px; text-align: center; }
.book-cover img { display: inline-block; width: min(320px, 100%); height: auto; border: 2px solid var(--text); }

/* ---------- おすすめの本(楽天ブックス・もしも経由) ---------- */
.book-reco { margin-top: 22px; }
.book-reco .rec-eyebrow { font-size: 1rem; font-weight: 800; margin-bottom: 10px; }
.book-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--white);
  border: 2px solid var(--text);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease;
}
.book-card:hover { background: var(--acc); }
.book-card__img { flex: none; width: 104px; height: 128px; object-fit: contain; }
.book-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.book-card__title { font-size: 1rem; font-weight: 800; line-height: 1.6; }
.book-card__author { font-size: 0.9rem; color: var(--muted); }
.book-card__cta { margin-top: 6px; font-size: 0.9rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) {
  .book-card { gap: 14px; padding: 14px; }
  .book-card__img { width: 80px; height: 104px; }
}

/* ---------- 広告バナー(もしも経由・728×90) ---------- */
.banner-ad { margin-top: 14px; line-height: 0; }
.banner-ad a { display: inline-block; max-width: 100%; text-decoration: none; }
.banner-ad a:hover { background: none; opacity: 0.9; }
.banner-ad img { max-width: 100%; height: auto; }
.banner-ad--sq img { max-width: 280px; }

/* 主な出典ブロック */
.sources { margin-top: 40px; padding: 18px 22px; border: 2px solid var(--text); background: var(--white); font-size: 0.9rem; line-height: 1.8; }
.sources__title { font-weight: 800; font-size: 1rem; margin-bottom: 8px; }
.sources__sub { font-weight: 700; margin: 10px 0 4px; }
.sources ul { margin: 0 0 8px; padding-left: 1.3em; }
.sources li { margin-bottom: 4px; }
.sources a { overflow-wrap: anywhere; }
.sources__note { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); }
