/* =========================================================
 * 全ページ共通：土台・ヘッダー・ナビ・フッター・共通の部品
 * PC → スマホの順に書き、768px以下をスマホのレイアウトにしています。
 * ======================================================= */

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
	margin: 0;
	background: #eef0f4;
	color: var(--ink);
	font-family: var(--font);
	-webkit-font-smoothing: antialiased;
	line-break: strict; /* 「ー」や小さい「っ」などが行の頭に来ないように（日本語の禁則）。text-wrap: pretty は iPhone で切れ方が不自然になったのでやめました（2026-11-03） */
}
/* 言葉の切れ目での折り返し（auto-phrase）は、全体には付けません。英字と日本語がつながった名前（BOOK☆WALKER読み放題 など）が途中で切れるため。必要な所だけ個別に付けます。2026-11-02 */
a { color: inherit; text-decoration: none; }
.nw { white-space: nowrap; } /* ひとまとまりで折り返す（途中で切らない）短い言葉 */
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; vertical-align: middle; }
input, button, select, textarea { font-family: inherit; }
button { color: inherit; }
h1, h2, h3, h4 { word-break: auto-phrase; }
[hidden] { display: none !important; }

.site {
	max-width: 1280px;
	margin: 0 auto;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 2px 24px rgba(0, 0, 0, .06);
	min-height: 100vh;
}

/* PCだけ・スマホだけ */
@media (min-width: 769px) { .sp-only { display: none !important; } }
@media (max-width: 768px) { .pc-only { display: none !important; } }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- いちばん上の帯（トップページ） ---------- */
.topbar {
	background: var(--navy); color: #fff; font-size: 12px;
	padding: 7px var(--gutter); display: flex; justify-content: space-between; gap: 16px;
}
.topbar__links { display: flex; gap: 20px; }
.topbar a { color: #fff; }
.topbar a:hover { text-decoration: underline; }

/* ---------- ヘッダー（PC） ---------- */
.site-header {
	padding: 14px var(--gutter); display: flex; align-items: center; gap: 28px;
	border-bottom: 1px solid var(--bd);
}
.site-header--front { padding: 16px var(--gutter); }

.logo-h { display: contents; margin: 0; font-size: inherit; font-weight: inherit; }
.logo { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; color: var(--ink); }
.logo__img img, .sp-logo__img img { display: block; width: auto; height: 32px; }
.logo:hover { color: var(--ink); }
.logo__mark { font-family: var(--logo); font-size: 28px; line-height: 1.1; display: flex; align-items: center; font-weight: 400; }
.logo__two {
	background: var(--red); color: #fff; border-radius: 7px; padding: 0 7px;
	transform: rotate(-6deg); display: inline-block; margin-right: 4px;
}
.logo__tag { font-size: 10px; color: var(--sub); font-weight: 700; letter-spacing: .18em; }
.site-header--front .logo__mark { font-size: 32px; letter-spacing: .01em; gap: 2px; }
.site-header--front .logo__two { border-radius: 8px; padding: 0 8px; }
.site-header--front .logo__tag { font-size: 11px; padding-left: 2px; }

.hsearch { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.site-header--sub .hsearch { max-width: 520px; }

.search-box { display: flex; border: 2px solid var(--navy); border-radius: 8px; overflow: hidden; background: #fff; }
.search-box input {
	flex: 1; min-width: 0; border: 0; padding: 12px 16px; font-size: 14px; outline: none;
	color: var(--ink); background: transparent;
}
.search-box button {
	border: 0; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
	padding: 0 26px; cursor: pointer; transition: background .15s;
}
.search-box button:hover { background: var(--navy-h); }
.site-header--sub .search-box input { padding: 10px 14px; }
.site-header--sub .search-box button { padding: 0 22px; }

.hotwords { display: flex; gap: 8px; font-size: 12px; align-items: center; flex-wrap: wrap; }
.hotwords__label { color: var(--sub); font-weight: 700; white-space: nowrap; }
.hotwords__chip {
	background: var(--bg1); border-radius: 999px; padding: 3px 10px; white-space: nowrap;
	transition: background .15s;
}
.hotwords__chip:hover { background: #e3e8f2; color: var(--ink); }

.fav-pill {
	display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--gold); color: var(--amber);
	font-size: 13px; font-weight: 900; padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}
.fav-pill:hover { color: var(--amber); background: #fffaf0; }
.fav-pill__count { background: var(--gold); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }

.hside { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.hside__sns { display: flex; gap: 6px; }
.hside__sns > * {
	flex: 1; border: 1px solid var(--bd2); font-size: 11px; font-weight: 700; padding: 5px 10px;
	border-radius: 999px; text-align: center; white-space: nowrap;
}
.hside__sns > a:hover { border-color: var(--ink); color: var(--ink); }
.hright { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.btn-line {
	background: var(--line); color: #fff; font-size: 13px; font-weight: 900; padding: 9px 14px;
	border-radius: 999px; text-align: center; white-space: nowrap; transition: background .15s;
}
.btn-line:hover { background: var(--line-h); color: #fff; }
.site-header--sub .btn-line { padding: 9px 16px; }

/* ---------- グローバルナビ ---------- */
.gnav {
	padding: 0 var(--gutter); display: flex; gap: 4px; font-size: 14px; font-weight: 700;
	overflow-x: auto; white-space: nowrap; scrollbar-width: none;
	box-shadow: inset 0 -3px 0 var(--navy);
}
.gnav::-webkit-scrollbar { display: none; }
.gnav__item { color: var(--ink); flex-shrink: 0; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 1px; transition: all .15s; }
.gnav__item.is-current { color: var(--red); }
.gnav__sub { display: none; }
.gnav__adult { display: none; }

.is-front .gnav { gap: 0; }
.is-front .gnav__item { padding: 12px 10px 13px; }
.is-front .gnav__item:hover { box-shadow: inset 0 -3px 0 var(--red); color: var(--navy); }
.is-front .gnav__sub { display: block; font-size: 10px; color: var(--sub); font-weight: 500; }
.is-front .gnav__adult {
	margin-left: auto; padding: 12px 4px; flex-shrink: 0; display: flex; align-items: center; gap: 6px;
	color: var(--sub); font-weight: 500; font-size: 13px;
}
.r-badge { border: 1px solid #9aa0b0; border-radius: 3px; font-size: 10px; padding: 0 4px; font-weight: 700; line-height: 1.5; }

/* ---------- 管理用の帯 ---------- */
.admin-strip {
	margin: 12px var(--gutter) 0; border: 2px dashed #9aa0b0; border-radius: 10px; background: #fafbfc;
	padding: 9px 14px; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap;
}
.admin-strip__tag { background: var(--ink); color: #fff; font-size: 11px; font-weight: 900; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.admin-strip__item { display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.admin-strip__dot { width: 8px; height: 8px; border-radius: 50%; }
.admin-strip__label, .admin-strip__note { font-weight: 700; }
.admin-strip__link { margin-left: auto; font-size: 12px; font-weight: 900; color: var(--navy); white-space: nowrap; }

/* ---------- パンくず ---------- */
.crumbs { padding: 16px var(--gutter) 0; font-size: 12px; color: var(--sub); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--red); }
.crumbs__current { color: var(--ink); }

/* ---------- フッター ---------- */
.site-footer {
	background: #1d2130; color: #c8ccd8; padding: 40px var(--gutter) 28px;
	display: flex; flex-direction: column; gap: 26px; font-size: 13px;
}
.site-footer a { color: #c8ccd8; }
.site-footer a:hover { color: #fff; }
.fcols { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
.fcol { display: flex; flex-direction: column; gap: 9px; }
.fcol__h { color: #fff; font-weight: 700; }
.flogo { font-family: var(--logo); font-size: 26px; color: #fff !important; }
.flogo span { color: var(--red); }
.fdesc { line-height: 1.8; font-size: 12px; }
.fbottom {
	border-top: 1px solid #343a4d; padding-top: 18px; display: flex; justify-content: space-between;
	gap: 16px; font-size: 11px; color: #9aa0b4;
}
.fbottom__copy { white-space: nowrap; }
.fgrid-sp { display: none; }

/* ---------- 共通の部品 ---------- */

/* 画像の枠（NO IMAGE） */
.thumb { position: relative; overflow: hidden; }
.noimg { background: #eef0f4 var(--noimg) center / 56% auto no-repeat; }
.noimg--40 { background-size: 40% auto; }
.noimg--50 { background-size: 50% auto; }
.noimg--dark { background: #2a3042 var(--noimg-dark) center / 40% auto no-repeat; }
.noimg--sq { background: #eef0f4 var(--noimg-sq) center / 80% auto no-repeat; }
.thumb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb.is-auto .thumb__img { object-fit: contain; } /* 自動で作った画像は文字が入っているので、切らずに見せます */
.thumb--16x9 { aspect-ratio: 16 / 9; }
.thumb--cover { aspect-ratio: 3 / 4; }
.thumb__ph-label {
	position: absolute; font-family: var(--mono); font-size: 9px; color: #7a8090; bottom: 6px; left: 6px;
}
.thumb__img ~ .thumb__ph-label { display: none; }

/* 星 */
.stars {
	position: relative; display: inline-block; color: #e3e6ec; letter-spacing: 1px; line-height: 1;
	font-size: 12px; white-space: nowrap;
	width: max-content; /* 縦並び（flex）の中でも横に引き伸ばさない。伸びると塗る割合がずれて、4.3が★5つに見えます */
}
.stars::before { content: "★★★★★"; }
.stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--star); white-space: nowrap; }
.stars__fill::before { content: "★★★★★"; }

/* サービスのロゴ（仮枠は斜めストライプ） */
.svc-logo {
	width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; overflow: hidden; display: block;
	background: #fff;
}
.svc-logo img { width: 100%; height: 100%; object-fit: contain; }
.svc-logo.is-empty { background: var(--stripe-red); }
/* 横長の文字だけのロゴ（正方形のマークが公式にないサービス）は、高さはそのままで横に2倍の枠にします。白地なので細い線で囲みます */
.svc-logo.is-wordmark { width: auto !important; aspect-ratio: 2 / 1; padding: 0 4px; box-shadow: inset 0 0 0 1px var(--bd); }

/* ラベル */
.lbl-pr { background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.lbl-top { align-self: flex-start; font-size: 10px; font-weight: 900; color: #fff; background: var(--red); padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
.lbl-spoil { background: var(--amber-bg); color: var(--amber); font-size: 10px; font-weight: 900; padding: 1px 7px; border-radius: 3px; white-space: nowrap; }

/* ボタン */
.btn-red {
	display: inline-block; background: var(--btn); color: #fff; text-align: center; font-weight: 900;
	border-radius: 999px; box-shadow: 0 3px 0 var(--btn-sh); cursor: pointer; transition: transform .1s;
}
.btn-red:hover { color: #fff; transform: translateY(-2px); }
.btn-navy {
	display: inline-block; background: var(--navy); color: #fff; text-align: center; font-weight: 700;
	border-radius: 999px; cursor: pointer; transition: background .15s;
}
.btn-navy:hover { background: var(--navy-h); color: #fff; }
.btn-green {
	display: inline-block; background: var(--line); color: #fff; text-align: center; font-weight: 900;
	border-radius: 999px; cursor: pointer; transition: background .15s;
}
.btn-green:hover { background: var(--line-h); color: #fff; }
[data-pending] { cursor: default; }

/* 原作の続き（「続きは原作〇巻から」の枠。記事のブロック otaku/continue と作品ページの結論の下。2026-10-31）
   枠の幅で、スマホの並び（表紙と文を横に、ボタンは横いっぱい）に切り替えます */
.otaku-cont-wrap { container-type: inline-size; }
.otaku-cont {
	background: var(--ebook-bg); border: 1px solid #f5d5d2; border-radius: 12px; padding: 18px 22px 16px;
	display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px 18px; line-height: 1.6;
}
.otaku-cont.is-nocover { grid-template-columns: minmax(0, 1fr); }
.otaku-cont__eyebrow { grid-column: 1 / -1; text-align: center; color: var(--ink); font-weight: 900; font-size: 15px; }
.otaku-cont__cover { width: 84px; border-radius: 4px; background: var(--stripe-red); align-self: start; }
.otaku-cont__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.otaku-cont__txt { display: flex; flex-direction: column; gap: 4px; }
.otaku-cont__lead { font-size: 20px; font-weight: 900; color: var(--ink); }
.otaku-cont__vol { color: var(--red-ink); font-size: 28px; padding: 0 2px; }
.otaku-cont__sub { font-size: 13px; color: var(--body); }
.otaku-cont__btn {
	position: relative; overflow: hidden; display: block; background: var(--bb, var(--btn)); color: var(--bi, #fff) !important; text-align: center; font-weight: 900; font-size: 15px;
	padding: 13px 12px; border-radius: 999px; box-shadow: 0 3px 0 color-mix(in srgb, var(--bb, var(--btn)) 70%, #000); text-decoration: none !important;
}
.otaku-cont__rate { font-size: 12px; color: var(--sub); text-align: center; display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; }
.otaku-cont__star { color: var(--star); }
.otaku-cont__others {
	grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	border-top: 1px dashed #f5d5d2; padding-top: 12px; font-size: 13px;
}
.otaku-cont__others-h { font-weight: 700; color: var(--body); margin-right: 2px; }
.otaku-cont__app {
	background: #fff; border: 1px solid var(--bd); border-radius: 999px; padding: 4px 12px; font-weight: 700;
	color: var(--navy) !important; white-space: nowrap; text-decoration: none !important;
}
.otaku-cont__app:hover { border-color: var(--navy); }
.otaku-cont__app small { color: var(--sub); font-weight: 400; margin-left: 4px; font-size: 12px; }
.otaku-cont__foot { grid-column: 1 / -1; font-size: 11px; color: var(--sub); line-height: 1.6; }
.otaku-cont-bar {
	background: var(--ebook-bg); border: 1px solid #f5d5d2; border-radius: 12px; padding: 12px 16px;
	display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; line-height: 1.5;
}
.otaku-cont-bar.is-nocover { grid-template-columns: minmax(0, 1fr) auto; }
.otaku-cont-bar .otaku-cont__cover { width: 40px; grid-row: span 2; }
.otaku-cont-bar__t { font-weight: 900; font-size: 15px; color: var(--ink); }
.otaku-cont-bar .otaku-cont__vol { font-size: 19px; }
.otaku-cont-bar .otaku-cont__btn { font-size: 14px; padding: 10px 18px; grid-row: span 2; white-space: nowrap; }
.otaku-cont-bar__pr { font-size: 11px; color: var(--sub); white-space: nowrap; }
@container (max-width: 480px) {
	.otaku-cont { grid-template-columns: 64px minmax(0, 1fr); padding: 16px 14px 14px; gap: 12px; }
	.otaku-cont__eyebrow { font-size: 13px; }
	.otaku-cont__cover { width: 64px; }
	.otaku-cont__main { display: contents; }
	.otaku-cont__txt { align-self: center; }
	.otaku-cont__lead { font-size: 17px; }
	.otaku-cont__vol { font-size: 24px; }
	.otaku-cont__sub { font-size: 12px; }
	.otaku-cont__btn { font-size: 14px; }
	.otaku-cont__btn, .otaku-cont__rate { grid-column: 1 / -1; }
	.otaku-cont.is-nocover .otaku-cont__txt { text-align: center; }
	.otaku-cont-bar { grid-template-columns: 36px minmax(0, 1fr); }
	.otaku-cont-bar.is-nocover { grid-template-columns: minmax(0, 1fr); }
	.otaku-cont-bar .otaku-cont__cover { width: 36px; grid-row: auto; }
	.otaku-cont-bar .otaku-cont__btn { grid-column: 1 / -1; grid-row: auto; }
	.otaku-cont-bar__pr { grid-column: 1 / -1; text-align: center; } /* 表紙の細い列に入って2行に折れないように（2026-10-31） */
}

/* 見出し（左の太線） */
.sec-h { display: flex; align-items: center; gap: 16px; border-left: 6px solid var(--navy); padding-left: 12px; flex-wrap: wrap; }
.sec-h--red { border-left-color: var(--red); }
.sec-h h2 { margin: 0; font-size: 22px; font-weight: 900; }
.sec-h__note { font-size: 12px; color: var(--sub); }
.sec-h__more { margin-left: auto; font-size: 13px; color: var(--navy); font-weight: 700; white-space: nowrap; }

/* 切り替えのタブ（丸いボタン） */
.pills { display: flex; gap: 4px; background: var(--bg1); padding: 4px; border-radius: 999px; }
.pills__btn {
	border: 0; background: transparent; color: var(--body); font-weight: 700; font-size: 13px;
	padding: 7px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.pills__btn.is-active { background: var(--navy); color: #fff; cursor: default; }

/* 絞り込みのチップ */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
	border: 1px solid var(--bd2); background: #fff; color: var(--body); font-weight: 700; font-size: 12px;
	padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; cursor: default; }

/* LINE の小さな案内（サイドバー・記事） */
.line-box { background: var(--line-bg); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.line-box__t { font-size: 14px; font-weight: 900; line-height: 1.5; }
.line-box__btn { font-size: 14px; padding: 11px; }

/* 気になるボタン（☆／★） */
.fav-btn { cursor: pointer; white-space: nowrap; font-weight: 900; border-radius: 999px; }
.fav-btn .fav-btn__on { display: none; }
.fav-btn.is-fav .fav-btn__on { display: inline; }
.fav-btn.is-fav .fav-btn__off { display: none; }

/* 横スクロール */
.hscroll { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }

/* ---------- スマホのヘッダー ---------- */
.sp-top { display: none; }
.sp-search-front { display: none; }

@media (max-width: 768px) {
	body { background: #fff; }
	.site { box-shadow: none; }

	.sp-top { display: block; position: sticky; top: 0; z-index: 50; background: #fff; }
	.sp-header {
		border-bottom: 1px solid var(--bd); padding: 10px 12px 10px 16px;
		display: flex; align-items: center; gap: 8px; background: #fff;
	}
	.sp-logo { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--ink); }
	.sp-logo:hover { color: var(--ink); }
	.sp-logo__mark { font-family: var(--logo); font-size: 22px; line-height: 1.15; display: flex; align-items: center; white-space: nowrap; }
	.is-front .sp-logo__mark { font-size: 23px; }
	.sp-logo__two {
		background: var(--red); color: #fff; border-radius: 6px; padding: 0 6px;
		transform: rotate(-6deg); display: inline-block; margin-right: 4px;
	}
	.sp-logo__tag { display: none; font-size: 9px; color: var(--sub); font-weight: 700; letter-spacing: .18em; }
	.is-front .sp-logo__tag { display: block; }

	.sp-icon {
		position: relative; width: 44px; height: 44px; display: flex; flex-direction: column;
		align-items: center; justify-content: center; gap: 2px; font-size: 9px; font-weight: 700;
		color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; flex-shrink: 0;
	}
	.sp-icon:hover { color: var(--ink); }
	.sp-icon__glyph { font-size: 18px; line-height: 1; }
	.sp-icon__glyph--star { color: var(--gold); }
	.sp-icon--search .sp-icon__glyph { font-size: 20px; }
	.sp-icon__badge {
		position: absolute; top: 2px; right: 2px; background: var(--red); color: #fff; border-radius: 999px;
		font-size: 9px; font-weight: 900; min-width: 16px; height: 16px; display: flex; align-items: center;
		justify-content: center; padding: 0 3px;
	}

	.sp-panel { border-bottom: 1px solid var(--bd); background: #fff; max-height: calc(100vh - 66px); overflow-y: auto; }
	.sp-menu { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
	.sp-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.sp-menu__card { display: flex; flex-direction: column; gap: 2px; background: var(--bg2); border-radius: 10px; padding: 12px; color: var(--ink); }
	.sp-menu__t { font-size: 14px; font-weight: 900; }
	.sp-menu__s { font-size: 10px; color: var(--sub); font-weight: 700; }
	.sp-menu__line { font-size: 14px; padding: 13px; }
	.sp-menu__close {
		border: 1.5px solid var(--bd2); background: #fff; color: var(--body); font-weight: 700; font-size: 13px;
		padding: 11px; border-radius: 999px; cursor: pointer;
	}
	.sp-search { padding: 10px 16px 12px; }

	.search-box { border-radius: 10px; }
	.search-box input { padding: 12px; font-size: 16px; }
	.search-box button { padding: 0 16px; min-width: 56px; }

	/* トップページだけ：検索欄とナビをヘッダーの下に */
	.is-front .sp-search-front { display: flex; padding: 10px 16px 0; flex-direction: column; gap: 8px; }
	.sp-hotwords { gap: 6px; padding-bottom: 2px; }
	.sp-hotwords .hotwords__chip { flex-shrink: 0; padding: 7px 12px; font-size: 12px; font-weight: 500; }

	.gnav { display: none; }
	.is-front .gnav {
		display: flex; gap: 4px; padding: 8px 16px 0; box-shadow: inset 0 -1px 0 var(--bd);
	}
	.is-front .gnav__item { padding: 12px 10px; }
	.is-front .gnav__item:hover { box-shadow: none; }
	.is-front .gnav__sub, .is-front .gnav__adult { display: none; }

	.crumbs { padding: 10px 16px 0; font-size: 11px; gap: 5px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }

	/* フッター */
	.site-footer { margin-top: 28px; padding: 24px 16px 28px; gap: 14px; font-size: 12px; }
	.has-fixbar .site-footer { padding-bottom: 96px; }
	.fcols { display: none; }
	.flogo { font-size: 20px; }
	.fgrid-sp { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
	.fgrid-sp a { padding: 6px 0; }
	.fbottom { border-top: 0; padding-top: 0; line-height: 1.7; font-size: 11px; }
	.fbottom__copy { display: none; }

	/* 見出し */
	.sec-h { border-left-width: 5px; padding-left: 10px; gap: 10px; }
	.sec-h h2 { font-size: 18px; }
	.sec-h__more { font-size: 12px; }

	.pills { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: transparent; padding: 0; }
	.pills__btn { background: var(--bg1); padding: 11px 4px; }

	.chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { flex-shrink: 0; padding: 9px 14px; }
}

/* ---------- スマホの下に固定するボタン ---------- */
.fixbar { display: none; }
@media (max-width: 768px) {
	.fixbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		background: rgba(255, 255, 255, .97); border-top: 1px solid var(--bd);
		padding: 8px 12px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 8px;
		grid-template-columns: 1fr 1.3fr;
	}
	.fixbar--wide-right { grid-template-columns: 1fr 1.4fr; }
	.fixbar > :only-child { grid-column: 1 / -1; } /* ボタンが1つだけのときは横いっぱいに（半分の幅で左に寄らないように。2026-11-02） */
	.fixbar__btn {
		color: #fff; font-size: 13px; font-weight: 900; padding: 13px 4px; border-radius: 999px; text-align: center;
		white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	.fixbar__btn:hover { color: #fff; }
	.fixbar__btn--line { background: var(--line); }
	.fixbar__btn--red { background: var(--btn); }
	.fixbar__btn--navy { background: var(--navy); }
}

/* ---------- ページのいちばん上へ戻るボタン（右下。スマホで下の固定ボタンがあるときは、その上に出します） ---------- */
.pagetop {
	position: fixed; right: 20px; bottom: 24px; z-index: 39; width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0;
	background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); cursor: pointer; font-family: inherit; opacity: .92;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pagetop[hidden] { display: none; }
.pagetop:hover { opacity: 1; }
.pagetop:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pagetop__arrow { font-size: 16px; font-weight: 900; line-height: 1; }
.pagetop__t { font-size: 10px; font-weight: 700; line-height: 1.3; }
@media (max-width: 768px) {
	.pagetop { right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
	.has-fixbar .pagetop { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- 一覧ページ（後の段階で作るページの仮の見た目） ---------- */
.plain-wrap { padding: 24px var(--gutter) 64px; max-width: 980px; }
.plain-wrap h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.45; margin: 0 0 16px; }
.plain-list { display: flex; flex-direction: column; border-top: 1px solid var(--bd); }
.plain-list a { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--row); align-items: center; }
.plain-list .thumb { width: 160px; flex-shrink: 0; border-radius: 6px; }
.plain-list__t { font-size: 15px; font-weight: 700; line-height: 1.5; }
.plain-list__d { font-size: 11px; color: var(--sub); }
.pager { display: flex; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pager .page-numbers { border: 1px solid var(--bd2); padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.pager .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.coming {
	border: 2px dashed var(--bd2); border-radius: 12px; padding: 28px; text-align: center; color: var(--sub);
	font-size: 14px; line-height: 1.9; background: #fafbfc;
}
@media (max-width: 768px) {
	.plain-wrap { padding: 18px 16px 0; }
	.plain-list .thumb { width: 104px; }
	.plain-list__t { font-size: 13px; }
}

/* ---------- ネタバレの範囲（記事ページ・作品ハブ） ---------- */
.spoil-range {
	background: var(--amber-bg); border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; gap: 10px;
	flex-wrap: wrap; line-height: normal;
}
.entry-content > .spoil-range { margin-top: 18px; }
.spoil-range__label { font-size: 12px; font-weight: 900; color: var(--amber); white-space: nowrap; }
.spoil-range__tabs { display: flex; gap: 2px; background: #fff; padding: 3px; border-radius: 999px; }
.spoil-range__btn {
	border: 0; background: transparent; color: var(--amber); font-weight: 700; font-size: 12px; padding: 6px 12px;
	border-radius: 999px; white-space: nowrap; cursor: pointer; font-family: inherit;
}
.spoil-range__btn.is-active { background: var(--amber); color: #fff; font-weight: 900; cursor: default; }
.spoil-range__note { font-size: 12px; color: var(--sub); }

@media (max-width: 768px) {
	.spoil-range { padding: 0; background: transparent; }
	.spoil-range__tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; background: var(--amber-bg); }
	.spoil-range__btn { font-size: 11px; padding: 10px 4px; }
}

/* =========================================================
 * 一覧ページの共通部品（アニメ一覧・ランキング・ジャンルなど）
 * ======================================================= */
.lp { padding: 20px var(--gutter) 56px; display: flex; flex-direction: column; gap: 28px; }
.lp-head { display: flex; flex-direction: column; gap: 12px; }
.lp-head__title { margin: 0; font-size: clamp(23px, 2.6vw, 30px); font-weight: 900; line-height: 1.45; }
.lp-head__lead { font-size: 14px; color: var(--body); line-height: 1.8; }
.lp-head__meta { display: flex; gap: 18px; font-size: 13px; color: var(--sub); flex-wrap: wrap; align-items: center; }
.lp-head__by { font-weight: 700; color: var(--ink); }
.lp-head__upd { color: var(--red); font-weight: 700; }
.lp-head__check { display: flex; align-items: center; gap: 6px; }
.lp-head__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.lp .sec-h h2 { font-size: 20px; }

.lp-line {
	background: var(--line-bg); border: 1px solid #bfe9cf; border-radius: 14px; padding: 20px 24px;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
}
.lp-line__text { display: flex; flex-direction: column; gap: 4px; }
.lp-line__eyebrow { font-size: 12px; font-weight: 900; color: var(--line-ink); }
.lp-line__title { font-size: 18px; font-weight: 900; line-height: 1.5; }
.lp-line__btn {
	background: var(--line); color: #fff; font-size: 15px; font-weight: 900; padding: 14px 28px; border-radius: 999px;
	box-shadow: 0 3px 0 var(--line-sh); white-space: nowrap; text-align: center;
}
.lp-line__btn:hover { background: var(--line-h); color: #fff; }

.lp-ebook {
	background: var(--ebook-bg); border: 1px solid #f6d3d0; border-radius: 14px; padding: 22px 24px;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
}
.lp-ebook__text { display: flex; flex-direction: column; gap: 6px; }
.lp-ebook__eyebrow { font-size: 12px; font-weight: 900; color: var(--red); }
.lp-ebook__title { font-size: 18px; font-weight: 900; line-height: 1.5; }
.lp-ebook__pr { font-size: 12px; color: var(--sub); }
.lp-ebook__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-ebook__btn { font-size: 14px; padding: 13px 22px; white-space: nowrap; }
.lp-ebook__sub {
	border: 1.5px solid var(--navy); color: var(--navy); font-size: 14px; font-weight: 700; padding: 12px 18px; border-radius: 999px;
	white-space: nowrap; text-align: center;
}
.lp-ebook__sub:hover { background: var(--navy); color: #fff; }

.lp-faq { display: flex; flex-direction: column; gap: 12px; }
.lp-faq .otaku-faq__q { padding: 13px 18px; }
.lp-faq .otaku-faq__qtext { font-size: 15px; }
.lp-faq .otaku-faq__atext { font-size: 14px; }
.lp-faq .otaku-faq__a { padding: 0 18px 14px; }

@media (max-width: 768px) {
	.lp { padding: 12px 0 0; gap: 0; }
	.lp > * { margin-top: 22px; }
	.lp > :first-child { margin-top: 0; }
	.lp-head { padding: 0 16px; gap: 10px; }
	.lp-head__title { font-size: 21px; line-height: 1.5; }
	.lp-head__meta { gap: 12px; font-size: 11px; }
	.lp .sec-h h2 { font-size: 17px; }
	.lp-line { margin: 20px 16px 0; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
	.lp-line__title { font-size: 14px; }
	.lp-line__btn { font-size: 14px; padding: 13px; box-shadow: none; }
	.lp-ebook { margin: 20px 16px 0; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
	.lp-ebook__text { gap: 8px; }
	.lp-ebook__eyebrow { font-size: 11px; }
	.lp-ebook__title { font-size: 14px; line-height: 1.55; }
	.lp-ebook__ctas { flex-direction: column; gap: 8px; }
	.lp-ebook__btn { padding: 13px; }
	.lp-ebook__sub { font-size: 13px; padding: 11px; }
	.lp-faq { padding: 24px 16px 0; gap: 8px; margin-top: 0 !important; }
	.lp-faq .otaku-faq__q { padding: 12px 14px; }
	.lp-faq .otaku-faq__qtext { font-size: 14px; }
	.lp-faq .otaku-faq__atext { font-size: 13px; }
	.lp-faq .otaku-faq__a { padding: 0 14px 14px; }
}

/* ---------- 編集部のひとこと（表の中の小さい版・メモのアイコン。本文の大きい版は content.css の .otaku-exp） ---------- */
.ed-note {
	display: block; margin-top: 6px; padding: 6px 10px 6px 32px; border: 1.5px dashed #b9c2d3; border-radius: 8px; background: #fbfcfe;
	font-size: 12px; line-height: 1.6; color: var(--ink); position: relative;
}
.ed-note::before { content: ""; position: absolute; left: 8px; top: 7px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231f3a6e'/%3E%3Cpath d='M7 5.5h7.2L17 8.3V18.5H7z' fill='%23fff'/%3E%3Cpath d='M14.2 5.5v2.8H17' fill='%23c9d3e6'/%3E%3Cpath d='M9 10.6h5.6M9 13.1h5.6M9 15.6h3.2' stroke='%231f3a6e' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M14.6 18.9l.5-2 4.3-4.3 1.5 1.5-4.3 4.3z' fill='%23f0a000'/%3E%3C/svg%3E") no-repeat center / contain; }
.ed-note b { display: block; font-size: 11px; font-weight: 900; color: var(--navy); }

/* ---------- 20秒診断（トップページ・電子書籍アプリ比較） ---------- */
.diag {
	background: #fff; border-radius: 10px; border: 2px dashed #f3b8b2; padding: 20px 22px;
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center;
}
.diag__q { display: flex; flex-direction: column; gap: 14px; }
.diag__title { font-size: 17px; font-weight: 900; }
.diag__block { display: flex; flex-direction: column; gap: 8px; }
.diag__label { font-size: 12px; font-weight: 700; color: var(--sub); }
.diag__opts { display: flex; gap: 6px; flex-wrap: wrap; }
.diag__opt {
	border: 1.5px solid #d5dae5; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; /* 選択肢は紺。赤は結果のボタンだけにして、押す場所を1つにしぼる */
	padding: 7px 14px; border-radius: 999px; cursor: pointer;
}
.diag__opt:hover { border-color: var(--navy); }
.diag__opt.is-active { border-color: var(--navy); background: var(--navy); color: #fff; cursor: default; }
.diag__result { background: #fff4f2; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.diag__result-label { font-size: 12px; font-weight: 700; color: var(--red-ink); }
.diag__name { font-size: 22px; font-weight: 900; word-break: auto-phrase; }
.diag__reason { font-size: 13px; color: var(--body); line-height: 1.7; }
.diag__btn {
	margin-top: 4px; background: var(--btn); color: #fff; text-align: center; font-weight: 900; font-size: 14px;
	padding: 11px; border-radius: 999px;
}
.diag__btn:hover { color: #fff; background: var(--btn-h); }
.diag__opts--q3 { flex-direction: column; align-items: flex-start; }
.diag__type { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--body); line-height: 1.6; }
.diag__type b { background: var(--navy); color: #fff; font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.diag__cmp { align-self: center; font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: underline; }
.diag__cmp[hidden], .diag__works[hidden] { display: none; }
.diag__works { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px dashed #f3c9c3; }
.diag__works-label { font-size: 12px; font-weight: 700; color: var(--sub); }
.diag__works-list { display: flex; flex-wrap: wrap; gap: 6px; }
.diag__work { font-size: 12px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid #d5dae5; border-radius: 999px; padding: 4px 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.diag__work:hover { border-color: var(--navy); }
@media (max-width: 768px) {
	.diag { border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
	.diag__q { gap: 12px; }
	.diag__block { gap: 12px; }
	.diag__title { font-size: 15px; }
	.diag__opts--q1 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
	.diag__opts--q2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
	.diag__opts--q3 { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
	.diag__opt { word-break: auto-phrase; }
	.diag__opts--q3 .diag__opt { font-size: 12px; padding: 11px 8px; }
	/* 1問ずつ（使う人だけ進める） */
	.diag__nav { display: flex; align-items: center; justify-content: space-between; margin-top: -4px; }
	.diag__step { font-size: 12px; font-weight: 900; color: var(--navy); }
	.diag__back { border: 0; background: none; padding: 4px 0; font-size: 12px; font-weight: 700; color: var(--sub); font-family: inherit; cursor: pointer; }
	.diag__back[hidden] { display: none; }
	.diag.is-stepper .diag__block { display: none; }
	.diag.is-stepper[data-step="1"] .diag__block[data-step="1"],
	.diag.is-stepper[data-step="2"] .diag__block[data-step="2"],
	.diag.is-stepper[data-step="3"] .diag__block[data-step="3"] { display: flex; }
	.diag.is-stepper:not([data-step="4"]) .diag__result { display: none; }
	.diag.is-stepper[data-step="4"] .diag__nav { display: none; }
	.diag__summary { font-size: 11px; color: var(--sub); line-height: 1.6; }
	.diag__again { align-self: center; border: 0; background: none; font-size: 12px; font-weight: 700; color: var(--navy); text-decoration: underline; font-family: inherit; cursor: pointer; padding: 4px; }
	.diag__opt { padding: 11px 4px; }
	.diag__result { padding: 14px; gap: 6px; }
	.diag__result-label { font-size: 11px; }
	.diag__name { font-size: 19px; }
	.diag__reason { line-height: 1.6; }
	.diag__btn { padding: 12px; }
}

/* ---------- 設定画面で選んだときだけ使う部品 ---------- */
/* サイドバーを出さない（PCだけ。スマホはもともと1列です） */
@media (min-width: 769px) {
	.no-side .single-wrap, .no-side .hub-wrap, .no-side .rk-wrap, .no-side .ex-wrap,
	.no-side .tp-wrap, .no-side .ev-wrap, .no-side .cmp-wrap { grid-template-columns: minmax(0, 1fr); }
	.no-side .post-side, .no-side .hub-side, .no-side .rk-side, .no-side .ex-side,
	.no-side .tp-side, .no-side .ev-side, .no-side .cmp-side { display: none; }
	.no-side .single-wrap > .post, .no-side .cmp-main { max-width: 860px; width: 100%; margin: 0 auto; }
}
/* 横の欄を追従させない */
.no-sticky .post-side__sticky, .no-sticky .hub-side, .no-sticky .rk-side, .no-sticky .ex-side,
.no-sticky .tp-side, .no-sticky .ev-side, .no-sticky .cmp-side { position: static; }
/* 広告 */
.otaku-ad { margin: 24px 0; text-align: center; }
.otaku-ad__label { display: block; font-size: 11px; color: var(--sub); margin-bottom: 4px; }
/* 気になるリストを開いているときのヘッダーのボタン */
.fav-pill.is-current { background: var(--gold); border-color: var(--gold); color: #fff; }
.fav-pill.is-current .fav-pill__count { background: #fff; color: var(--amber); }

/* 表のタグ（table）で作った比較表など。行ごとの grid の見た目のまま、中身は表として読めるようにします（README_追加_SEO_運用.md の 9） */
:where(table.otaku-grid-table) { display: block; border-collapse: separate; border-spacing: 0; }
:where(.otaku-grid-table) :where(thead, tbody, tfoot) { display: contents; }
:where(.otaku-grid-table) :where(th, td) { padding: 0; font-weight: inherit; text-align: inherit; vertical-align: inherit; }
:where(.otaku-grid-table) .otaku-td-contents { display: contents; }

/* LINE・X の「準備中」（README_追加2_サイトの穴.md の 15）。薄く出して、リンクにしません */
.is-sns-soon { opacity: .45; cursor: default; pointer-events: none; }


/* トピックとイベントのページの上のタブ（inc/list-parts.php の otaku_topic_tab_nav） */
.tt-tabs { position: relative; display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid var(--bd); margin-bottom: 18px; }
.tt-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; margin-bottom: -2px; border-bottom: 3px solid transparent; color: var(--body); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tt-tab span { font-size: 11px; font-weight: 700; color: var(--sub); background: var(--bg1); padding: 1px 7px; border-radius: 999px; }
.tt-tab:hover { color: var(--ink); }
.tt-tab.is-active { color: var(--ink); font-weight: 900; border-bottom-color: var(--ink); }
.tt-tab.is-active span { background: var(--ink); color: #fff; }
@media (max-width: 768px) {
	.tt-tabs { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
	.tt-tabs::-webkit-scrollbar { display: none; }
	.tt-tab { padding: 10px 12px; font-size: 13px; }
}

/* 記事の図の拡大（common.js。2026-11-01）：図の下の「クリックで拡大／タップで拡大」と、ページの上に重ねる大きな表示 */
.entry-content figure.is-zoomable { position: relative; }
.entry-content figure.is-zoomable > a { cursor: zoom-in; display: block; }
.zoom-hint {
	display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 4px;
	font-size: 12px; color: var(--sub); line-height: 1.5;
}
.zoom-hint::before { content: "⤢"; font-size: 13px; }
.is-zoom-open, .is-zoom-open body { overflow: hidden; }
.zoom {
	position: fixed; inset: 0; z-index: 100001; background: rgba(15, 18, 28, .86); /* WordPress の管理バー（99999）より上 */
	display: flex; align-items: center; justify-content: center; cursor: zoom-out;
	padding: max(48px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}
.zoom__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 6px; cursor: default; box-shadow: 0 8px 32px rgba(0, 0, 0, .4); }
.zoom__close {
	position: absolute; top: max(8px, env(safe-area-inset-top, 0px)); right: max(8px, env(safe-area-inset-right, 0px));
	width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; color: var(--ink);
	font-size: 26px; line-height: 1; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}
.zoom__close:hover { background: var(--bg1); }
.zoom__close:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* 楽天ブックスの最新刊の表紙（「続きは原作〇巻から」の枠。押すと楽天ブックスへ。楽天の決まりで、画像はリンクと一緒に出します。2026-11-02） */
.otaku-rkv { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none !important; }
.otaku-cont__cover.otaku-rkv { background: none; }
.otaku-rkv img { display: block; width: 100%; height: auto; border-radius: 4px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.otaku-rkv__cap { font-size: 9px; color: var(--sub); line-height: 1.3; white-space: nowrap; text-align: center; }

/* ---------- 「続きは原作」の枠：呼びかけのマーカー・沈むボタン・電子／紙のタブ・紙の単行本・新刊の帯（2026-11-02 ユーザーの決定。見本：第3案） ---------- */
/* 呼びかけ：黒い字に黄色のマーカー。枠が画面に入ったら、左から引きます（common.js。動きを減らす設定の端末では、最初から引いたまま） */
.otaku-mark { background: linear-gradient(transparent 58%, #ffe14d 58%) no-repeat 0 0 / 100% 100%; padding: 0 2px; }
.otaku-mark.is-wait { background-size: 0% 100%; }
.otaku-mark.is-in { background-size: 100% 100%; transition: background-size .9s cubic-bezier(.3, .8, .3, 1); }
/* ボタン：カーソルを近づける・押すと沈む */
.otaku-cont__btn, .otaku-btn-rk, .otaku-btn-amz { transition: transform .12s ease, box-shadow .12s ease; }
.otaku-cont__btn:hover, .otaku-cont__btn:focus-visible { transform: translateY(2px); box-shadow: 0 1px 0 color-mix(in srgb, var(--bb, var(--btn)) 70%, #000); }
.otaku-cont__btn:active { transform: translateY(3px); box-shadow: none; }
/* いちばんのボタン：数秒おきに光が流れる */
@media (prefers-reduced-motion: no-preference) {
	.otaku-cont__btn::after { content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: otaku-shine 3.6s 1.2s ease-in-out infinite; pointer-events: none; }
	@keyframes otaku-shine { 0% { left: -40%; } 22% { left: 120%; } 100% { left: 120%; } }
}
@media (prefers-reduced-motion: reduce) { .otaku-cont__btn, .otaku-btn-rk, .otaku-btn-amz, .otaku-mark.is-in { transition: none; } }
/* 電子／紙のタブ */
.otaku-cont__tabs { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #fff; border: 1px solid #f5d5d2; border-radius: 999px; max-width: 440px; width: 100%; justify-self: center; }
.otaku-cont__tab { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 400; color: var(--sub); padding: 9px 6px; border-radius: 999px; cursor: pointer; } /* 太字にしない（2026-11-02 ユーザーの決定） */
.otaku-cont__tab[aria-selected="true"] { background: var(--ink); color: #fff; } /* 選ばれている側は黒（新刊の帯の枠とそろえる） */
.otaku-cont__tab:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.otaku-cont__panel { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.otaku-cont__panel[hidden] { display: none; }
.otaku-cont__panel .otaku-cont__others { display: block; border: 0; padding: 0; font-size: 12px; color: var(--sub); text-align: center; line-height: 1.8; }
.otaku-cont__panel .otaku-cont__others a { color: var(--navy); font-weight: 700; }
/* 紙の単行本：楽天は楽天の赤に白い字、Amazon は「カートに入れる」の山吹色に黒い字（各社の公式の色） */
.otaku-cont__paper { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.otaku-btn-rk, .otaku-btn-amz { display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; padding: 11px 10px; border-radius: 999px; text-decoration: none !important; white-space: nowrap; }
.otaku-btn-rk { background: #bf0000; color: #fff !important; box-shadow: 0 3px 0 #8f0000; }
.otaku-btn-amz { background: #ffd814; color: #0f1111 !important; box-shadow: 0 3px 0 #e0b700; }
.otaku-btn-rk:hover, .otaku-btn-rk:focus-visible { transform: translateY(2px); box-shadow: 0 1px 0 #8f0000; }
.otaku-btn-amz:hover, .otaku-btn-amz:focus-visible { transform: translateY(2px); box-shadow: 0 1px 0 #e0b700; }
.otaku-btn-rk:active, .otaku-btn-amz:active { transform: translateY(3px); box-shadow: none; }
.otaku-btn-rk.is-sm, .otaku-btn-amz.is-sm { font-size: 12px; padding: 7px 12px; }
.otaku-cont__paper-note { font-size: 12px; color: var(--sub); text-align: center; }
/* 新刊の帯：呼びかけの枠から離して、下に置きます */
.otaku-release { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bd); }
.otaku-release__h { font-size: 13px; font-weight: 900; color: var(--sub); }
.otaku-release__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 2.5px solid var(--ink); } /* 白い地に黒の太枠（色を目立たせすぎない。2026-11-02 ユーザーの決定） */
.otaku-release__tag { font-size: 11px; font-weight: 900; background: var(--ink); color: #ffd400; padding: 3px 8px; border-radius: 6px; }
.otaku-release__tag { color: #fff; }
.otaku-release__t { font-size: 14px; font-weight: 400; flex: 1 1 12em; min-width: 0; color: var(--ink); } /* 太字にしない */
.otaku-release__t b { color: var(--red-ink); font-weight: inherit; }

/* 原作の漫画のカード（ブロック otaku/book-cards。ユーザーの決定 2026-11-03。見本どおり） */
.otaku-bks { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.otaku-bks__eyebrow { margin: 0; text-align: center; font-weight: 900; font-size: 15px; color: var(--ink); }
.otaku-bks__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.otaku-bk { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px 12px; align-content: start; margin: 0; padding: 12px; border: 1px solid var(--bd2); border-radius: 12px; background: #fff; }
.otaku-bk__cover { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none !important; }
.otaku-bk__cover img { width: 72px; height: auto; aspect-ratio: 72 / 102; object-fit: cover; border-radius: 4px; box-shadow: 0 1px 4px rgba(29, 33, 48, .25); max-width: 100%; }
.otaku-bk__cap { font-size: 10px; color: var(--sub); line-height: 1.3; }
.otaku-bk__cover.is-none { align-self: start; }
.otaku-bk__noimg { display: flex; align-items: center; justify-content: center; width: 72px; aspect-ratio: 72 / 102; border-radius: 4px; background: var(--bg1); color: var(--sub); font-size: 11px; font-weight: 700; text-align: center; line-height: 1.3; }
.otaku-bk__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.otaku-bk__t { font-size: 15px; font-weight: 900; color: var(--ink); line-height: 1.5; text-decoration: none; }
a.otaku-bk__t:hover { text-decoration: underline; }
.otaku-bk__copy { margin: 0 !important; font-size: 13px; line-height: 1.65; color: var(--ink); }
.otaku-bk__chips { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 2px; }
.otaku-bk__chip { font-size: 11.5px; line-height: 1.4; padding: 3px 7px; border-radius: 6px; background: var(--bg1); color: var(--ink); white-space: nowrap; }
.otaku-bk__chip.is-new { background: var(--ink); color: #fff; font-weight: 700; }
.otaku-bk__chip.is-air { background: #fff; border: 1px solid var(--bd2); color: var(--sub); }
.otaku-bk__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: end; }
.otaku-bk__btns .otaku-btn-rk, .otaku-bk__btns .otaku-btn-amz { font-size: 13px; padding: 10px 6px; }
.otaku-bks__note { margin: 0; font-size: 12px; color: var(--sub); line-height: 1.7; }
/* 本文の中では、箇条書きの余白・リンクの色と下線を打ち消します */
.entry-content ul.otaku-bks__list { padding: 0; margin: 0; list-style: none; }
.entry-content .otaku-bks__list > li.otaku-bk { margin: 0; padding: 12px; }
.entry-content .otaku-bks__list > li.otaku-bk::before { content: none; }
.entry-content a.otaku-bk__t { color: var(--ink); text-decoration: none; }
.entry-content a.otaku-bk__t:hover { text-decoration: underline; }
.entry-content p.otaku-bks__eyebrow, .entry-content p.otaku-bks__note, .entry-content p.otaku-bk__copy { margin: 0; }
@media (max-width: 768px) {
	.otaku-bks__eyebrow { font-size: 14px; }
	.otaku-bks__list { grid-template-columns: minmax(0, 1fr); }
}
/* 本文の、アニメの公式サイトへのリンク（新しいタブ）。作品名のあとに小さく「公式サイト ↗」 */
.entry-content a.otaku-official { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a.otaku-official::after { content: "公式サイト ↗"; display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--sub); text-decoration: none; }
.otaku-release__btns { display: flex; gap: 6px; flex-wrap: wrap; }

