/* マンガ紹介ブログ共通スタイル (picks.html と posts/*.html で使用) */
:root {
  --ink: #1B1B1E; --paper: #FBFAF6; --red: #E7332B;
  --yellow: #FFD52E; --gray: #8B8B90; --line: #D8D6CF;
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--paper); color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
a { color: inherit; }

header { background: var(--ink); color: #fff; padding: 18px 20px 16px; }
.wrap { max-width: 860px; margin: 0 auto; }
.masthead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
h1 { font-size: 26px; font-weight: 900; letter-spacing: 1px; }
h1 em { color: var(--yellow); font-style: italic; }
h1 a { text-decoration: none; }
.meta { font-size: 12px; color: #B9B9BF; }

nav.tabs {
  background: var(--paper); border-bottom: 1.5px solid var(--ink);
  padding: 10px 20px; position: sticky; top: 0; z-index: 10;
}
nav.tabs .wrap { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 800;
  text-decoration: none; border: 1.5px solid var(--line); background: #fff;
}
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab:focus-visible, a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

main { max-width: 860px; margin: 0 auto; padding: 24px 20px 60px; }
.lead { font-size: 14px; line-height: 1.9; margin-bottom: 8px; }
.lead b { background: linear-gradient(transparent 62%, var(--yellow) 62%); }

.cover {
  width: 92px; height: 132px; flex-shrink: 0; border-radius: 3px;
  border: 1px solid var(--ink); display: flex; align-items: center;
  justify-content: center; padding: 0; overflow: hidden; position: relative;
  background: #fff;
}
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover .vtitle {
  writing-mode: vertical-rl; font-weight: 900; font-size: 14px;
  line-height: 1.15; max-height: 118px; overflow: hidden; padding: 6px;
}

.byline { font-size: 12px; color: var(--gray); margin-top: 4px; }
.genre { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
}
.tag.award { background: var(--yellow); border-color: var(--ink); font-weight: 800; }
.sale-badge {
  display: none; font-size: 11px; font-weight: 900; padding: 3px 9px;
  background: var(--red); color: #fff; border-radius: 3px;
}
.sale-badge.show { display: inline-block; }

.point {
  margin-top: 14px; padding: 12px 14px; background: var(--paper);
  border-left: 4px solid var(--yellow); border-radius: 0 4px 4px 0;
  font-size: 13px; line-height: 1.9;
}
.point b { display: block; font-size: 12px; margin-bottom: 4px; }

.pick-links { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 18px 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; text-decoration: none;
  padding: 9px 16px; border-radius: 6px; border: 1.5px solid var(--ink);
}
.btn.primary { background: var(--yellow); }
.btn.amazon { background: var(--ink); color: #fff; }
.btn small { font-weight: 700; font-size: 10px; color: inherit; opacity: .75; }

footer { margin-top: 48px; font-size: 10px; color: var(--gray); line-height: 1.8; }

/* ---- 記事一覧 (picks.html) ---- */
.section-head { display: flex; align-items: center; gap: 10px; margin: 40px 0 18px; }
.section-head h2 {
  font-size: 19px; font-weight: 900; letter-spacing: .5px;
  padding: 4px 14px; background: var(--ink); color: #fff; border-radius: 4px;
}
.section-head .rule { flex: 1; height: 3px; background: var(--ink); border-radius: 2px; }
.section-note { font-size: 12px; color: var(--gray); margin: -10px 0 18px; line-height: 1.8; }

.post-card {
  display: flex; gap: 14px; background: #fff; border: 1.5px solid var(--ink);
  border-radius: 6px; box-shadow: 3px 3px 0 rgba(27,27,30,.12);
  padding: 16px; margin-bottom: 18px; text-decoration: none;
  scroll-margin-top: 70px; transition: transform .1s, box-shadow .1s;
}
.post-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(27,27,30,.16);
}
.post-card .cover { width: 84px; height: 120px; }
.post-card .info { min-width: 0; }
.post-card .date { font-size: 11px; color: var(--gray); font-weight: 700; }
.post-card h3 { font-size: 18px; font-weight: 900; line-height: 1.3; margin-top: 2px; }
.post-card .sub { font-size: 12px; color: var(--gray); font-weight: 700; margin-top: 2px; }
.post-card .excerpt { font-size: 13px; line-height: 1.8; margin-top: 8px; }
.post-card .genre { margin-top: 8px; }
.read-more { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--red); }

/* ---- 個別記事 (posts/*.html) ---- */
.breadcrumb { font-size: 12px; color: var(--gray); font-weight: 700; margin-bottom: 14px; }
.breadcrumb a { text-decoration: underline; }

article.post {
  background: #fff; border: 1.5px solid var(--ink); border-radius: 6px;
  box-shadow: 3px 3px 0 rgba(27,27,30,.12); overflow: hidden;
}
.post-date { font-size: 12px; color: var(--gray); font-weight: 700; padding: 18px 18px 0; }
.pick-head { display: flex; gap: 16px; padding: 14px 18px 0; }
article.post .cover { width: 110px; height: 158px; }
article.post .cover .vtitle { max-height: 144px; }
.post-title { font-size: 24px; font-weight: 900; line-height: 1.3; }
.post-sub { font-size: 13px; font-weight: 700; color: var(--gray); margin-top: 4px; }

.post-body { padding: 6px 18px 18px; font-size: 14px; line-height: 1.95; }
.post-body h3 {
  font-size: 15px; font-weight: 900; margin: 24px 0 10px;
  padding: 2px 0 2px 10px; border-left: 5px solid var(--yellow);
}
.post-body p + p { margin-top: 10px; }
.reco { margin: 0; padding-left: 22px; }
.reco li { line-height: 2; }

.post-nav { display: flex; gap: 10px; margin: 26px 0; }
.pn {
  flex: 1; background: #fff; border: 1.5px solid var(--ink); border-radius: 6px;
  padding: 10px 14px; text-decoration: none;
  box-shadow: 3px 3px 0 rgba(27,27,30,.12); min-width: 0;
}
.pn.empty { visibility: hidden; }
.pn.next { text-align: right; }
.pn small { display: block; font-size: 10px; color: var(--gray); font-weight: 700; margin-bottom: 2px; }
.pn b { font-size: 13px; overflow-wrap: anywhere; }

/* 特集記事内のミニ作品紹介ブロック */
.mini-pick { margin: 20px 0 28px; }
.mini-head { display: flex; gap: 14px; margin-bottom: 10px; }
.mini-head .cover { width: 72px; height: 104px; }
.mini-head .cover .vtitle { font-size: 12px; max-height: 92px; }
.mini-head h4 { font-size: 17px; font-weight: 900; line-height: 1.3; }
.mini-pick > p { margin-top: 8px; }
.mini-buy { text-align: right; }
.mini-buy a { font-size: 12px; font-weight: 800; color: var(--red); }

.related h3 { font-size: 15px; font-weight: 900; margin-bottom: 10px; }
.rel-card {
  display: block; background: #fff; border: 1.5px solid var(--ink); border-radius: 6px;
  padding: 10px 14px; margin-bottom: 8px; text-decoration: none;
  box-shadow: 3px 3px 0 rgba(27,27,30,.12);
}
.rel-card b { display: block; font-size: 14px; }
.rel-card span { font-size: 12px; color: var(--gray); font-weight: 700; }

.backtop { display: block; text-align: center; font-size: 13px; font-weight: 800; margin-top: 10px; }
