:root {
	--hd-accent: #5aa9e6;
	--hd-bg: #1e232b;
	--hd-panel: #29313d;
	--hd-text: #f0f0f0;
	--hd-muted: rgba(255, 255, 255, 0.55);
}

html {
	background: var(--hd-bg);
}
body {
	background: var(--hd-bg) !important;
	color: var(--hd-text);
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif !important;

	overflow-x: hidden;
}

#hd-header {
	width: 100%;
	height: 50px;
	background: #29313d;
	text-align: center;
}
#hd-header-in {
	max-width: 1024px;
	margin: 0 auto;
	position: relative;
}
#hd-logo img {
	display: block;
	height: 35px;
	width: auto;
	margin-top: 8px;
}
#hd-logo {
	display: inline-block;
	line-height: 50px;
	color: #fff !important;
	font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 1px;
	text-decoration: none !important;
}
#hd-logo span {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
}

#hd-container {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
}
#hd-main {
	margin: 20px 16px 40px;
}

#hd-main.hd-light-panel {
	background: #fff;
	color: #333;
	border-radius: 12px;
	padding: 28px 22px;
}
@media (min-width: 600px) {
	#hd-main.hd-light-panel { padding: 36px 40px; }
}

.hd-hero {
	background: #000;
	border-radius: 12px;
	text-align: center;
	padding: 34px 16px;
	margin-bottom: 30px;
}
.hd-hero-catch {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
}
.hd-hero-desc {
	font-size: 13px;
	color: var(--hd-muted);
	margin: 0;
}

.hd-section-title {
	color: var(--hd-accent);
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 18px;
}

.hd-front-note {
	font-size: 11.5px;
	color: var(--hd-muted);
	text-align: center;
	margin-top: 30px;
}

.post-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 12px;
	margin-bottom: 30px;
}
@media (min-width: 700px) {
	.post-list { grid-template-columns: repeat(4, 1fr); gap: 34px 16px; }
}
.post-list > a {
	display: block;
	color: var(--hd-text) !important;
	text-decoration: none !important;
}
.post-list-image {
	position: relative;
	width: 100%;

	padding-bottom: 75%;
	background: var(--hd-panel);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 7px;
}
.post-list-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.post-list-image .pl-bg {
	object-fit: cover;
	filter: blur(16px) brightness(0.55) saturate(1.1);
	transform: scale(1.15);
}

.post-list-image .pl-main {
	object-fit: contain;
	object-position: center;
	transition: transform 0.15s ease;
}
.post-list > a:hover .post-list-image .pl-main { transform: scale(1.03); }
.post-list > a > span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
	line-height: 1.4;
	font-size: 13.5px;
}
.post-list-time {
	font-size: 10px;
	color: var(--hd-muted);
	text-align: right;
	margin-top: 3px;
}

.post-list--ranked { counter-reset: hd-rank; }
.post-list--ranked > a { position: relative; }
.post-list--ranked > a::before {
	counter-increment: hd-rank;
	content: counter(hd-rank);
	position: absolute;
	top: -8px;
	left: -6px;
	z-index: 2;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background: var(--hd-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.post-list--ranked > a:nth-child(n+4)::before {
	background: #333;
	color: rgba(255, 255, 255, 0.85);
}

.hd-section-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 36px 0 18px;
}
.hd-section-head .hd-section-title { margin: 0; }
.hd-section-sub {
	font-size: 12px;
	color: var(--hd-muted);
}

.hd-banner-area {
	margin: 0 0 26px;
	text-align: center;
}
.hd-banner-area img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.hdl-hub {
	max-width: 1024px;
	margin: 0 auto;
	line-height: 1.8;
}
.hdl-hub .hdl-breadcrumb {
	font-size: 12px;
	color: var(--hd-muted);
	margin-bottom: 12px;
}
.hdl-hub .hdl-breadcrumb a { color: var(--hd-muted) !important; }
.hdl-hub .hdl-breadcrumb .sep { margin: 0 6px; }
.hdl-hub-title {
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 4px;
}
.hdl-hub-meta {
	font-size: 12.5px;
	color: var(--hd-muted);
	margin: 0 0 14px;
}
.hdl-hub-profile {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
	background: #222;
	border-radius: 10px;
	padding: 14px 16px;
	margin: 0 0 18px;
}
.hdl-hub .hd-section-title { margin-top: 34px; }
.hdl-hub .hdl-genre-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.hdl-genre-chips a.chip {
	background: #2b2b2b;
	border-radius: 999px;
	font-size: 12.5px;
	padding: 4px 12px;
	color: rgba(255, 255, 255, 0.8) !important;
	text-decoration: none !important;
}
.hdl-genre-chips a.chip:hover {
	background: var(--hd-accent);
	color: #fff !important;
}

#hd-footer {
	background: #000;
	text-align: center;
	padding: 30px 16px 40px;
	margin-top: 40px;
}
#hd-footer-nav ul {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
}
#hd-footer-nav a {
	color: rgba(255, 255, 255, 0.75) !important;
	font-size: 12.5px;
	text-decoration: none;
}
#hd-footer-nav a:hover { color: #fff !important; }
.hd-footer-note {
	font-size: 11px;
	color: var(--hd-muted);
	margin: 0 0 6px;
}
.hd-footer-copy {
	font-size: 11px;
	color: var(--hd-muted);
	margin: 0;
}

#hd-header-nav {
	position: absolute;
	right: 8px;
	top: 0;
	height: 50px;
	display: flex;
	align-items: center;
	gap: 2px;
}
#hd-header-nav a {
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	padding: 8px 10px;
	border-radius: 6px;
}
#hd-header-nav a:hover { background: rgba(255, 255, 255, 0.18); }
@media (max-width: 640px) {
	#hd-logo { margin-right: 150px; }
	#hd-logo span { display: none; }
	#hd-header-nav a { font-size: 11px; padding: 8px 5px; }
}

.hd-section-more {
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
	color: var(--hd-accent) !important;
	text-decoration: none !important;
	white-space: nowrap;
}
.hd-section-more:hover { text-decoration: underline !important; }

.hd-archive-head { margin: 26px 0 20px; }
.hd-archive-head h1 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 8px;
}
.hd-archive-desc {
	font-size: 13px;
	color: var(--hd-muted);
	margin: 0;
}
.hd-archive-date { margin-left: 8px; }

.post-list--ranked > a:nth-child(n+100)::before { font-size: 11px; }

.hd-search {
	display: flex;
	gap: 8px;
	max-width: 560px;
	margin: 0 0 24px;
}
.hd-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	color: #f0f0f0;
	font-size: 15px;
}
.hd-search input[type="search"]::placeholder { color: rgba(255, 255, 255, 0.35); }
.hd-search input[type="search"]:focus {
	outline: none;
	border-color: var(--hd-accent);
}
.hd-search button {
	padding: 10px 22px;
	border: none;
	border-radius: 8px;
	background: var(--hd-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.hd-search-hero { margin: 18px auto 0; }
.hd-search-count {
	margin-left: 10px;
	font-size: 12px;
	font-weight: 400;
	color: var(--hd-muted);
}
.hd-search-empty { color: var(--hd-muted); }

.hdl-banner {
	text-align: center;
	margin: 30px 0;
}

.hdl-banner-inner { display: block; margin: 0 auto; }
.hdl-banner ins.widget-banner { display: block; text-decoration: none; }
.hdl-banner img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
	margin: 0 auto;
}

.hdl-banner--home_top { margin: 0 0 26px; }
.hdl-banner--list_mid { margin: 6px 0 36px; }

.post-list--ranked-cont > a::before {
	background: #333;
	color: rgba(255, 255, 255, 0.85);
}
.post-list--ranked-cont > a:nth-child(n+80)::before { font-size: 11px; }

.jinr-article h2{margin:32px 0 14px !important}
.jinr-article h3{margin:24px 0 10px !important}
.jinr-article p{margin:0 0 14px !important;line-height:1.9 !important}
.jinr-article ul{list-style:disc !important;padding:0 0 0 1.3em !important;margin:0 0 18px !important}
.jinr-article ul li{list-style:disc !important;margin:0 0 10px !important;line-height:1.8}
.jinr-article dl{margin:0 0 18px !important}
.jinr-article dl dt{font-weight:700;margin:14px 0 4px}
.jinr-article dl dd{margin:0 !important;line-height:1.8}
.jinr-article table{width:100%;border-collapse:collapse;margin:8px 0 26px !important;table-layout:auto !important}
.jinr-article th{width:1% !important;white-space:nowrap;padding:10px 8px !important;text-align:left}
.jinr-article td{padding:10px 10px !important;line-height:1.7}

/* === 2026-09-21 light gallery skin === */
:root { --hd-bg: #eceef1; --hd-panel: #fff; --hd-text: #444455; --hd-muted: #777788; --hd-accent: #663334; }
body { background: #eceef1 !important; color: #444455; font-family: Arial, "Hiragino Sans", "Yu Gothic", sans-serif; }
#hd-header { height: 44px; background: #29313d; }
#hd-header-in { max-width: 1060px; display: flex; align-items: center; gap: 22px; padding: 0 14px; height: 44px; }
#hd-logo { line-height: 1; margin: 0 !important; }
#hd-logo img { height: 30px; margin-top: 0; }
#hd-header-nav { position: static; height: 44px; gap: 18px; }
#hd-header-nav a { font-size: 17px; font-weight: 400; padding: 0; }
#hd-header-search { margin-left: auto; display: flex; }
#hd-header-search input { height: 28px; width: 230px; border: 1px solid #889; padding: 0 8px; font-size: 14px; background: #fff; color: #333; border-radius: 0; }
#hd-header-search button { height: 28px; border: 0; background: #dfe3ea; color: #222; padding: 0 12px; font-size: 14px; cursor: pointer; }
#hd-container { max-width: 1060px; background: #fff; border-left: 1px solid #c9ccd3; border-right: 1px solid #c9ccd3; padding: 0 10px 40px; min-height: 80vh; }
#hd-main, #hd-main.hd-dark, #hd-main.hd-light-panel { background: transparent; color: #444455; box-shadow: none; border-radius: 0; }
.hd-section-head, .hd-archive-head { position: relative; margin: 26px 0 30px; background: #777a9a; border: 1px solid #33364d; min-height: 38px; display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; }
.hd-section-head .hd-section-title, .hd-archive-head h1 { position: absolute; left: 96px; top: -16px; margin: 0; font-size: 32px; line-height: 1.2; color: #fff !important; -webkit-text-stroke: 1.2px #2c2f45; paint-order: stroke fill; text-shadow: 2px 2px 0 #2c2f45; }
.hd-section-sub, .hd-archive-desc { color: #e8e9f2 !important; font-size: 12px; margin: 0 12px 0 0; }
.hd-section-more { color: #fff !important; font-weight: 700; font-size: 13px; text-decoration: none; }
.hd-archive-page { font-size: 16px; }
.hd-gl { position: relative; margin: 0 0 22px; border: 1px solid #d4a5a6; border-radius: 3px; background: #fafafa; min-height: 176px; padding-left: 300px; }
.hd-gl__title { margin: 0 0 0 -300px; padding: 3px 10px 3px 300px; background: #cc9a9b; font-size: 21px; line-height: 28px; min-height: 34px; }
.hd-gl__title a { color: #fff !important; text-decoration: none; -webkit-text-stroke: .9px #5a3334; paint-order: stroke fill; text-shadow: 1px 1px 0 #5a3334; }
.hd-gl__rank { display: inline-block; min-width: 30px; margin-right: 8px; padding: 0 6px; background: #5a3334; color: #fff; border-radius: 3px; text-align: center; font-size: 17px; }
.hd-gl__by { margin-left: -300px; padding: 2px 10px 2px 300px; background: #fccfcf; font-weight: 700; font-size: 18px; min-height: 30px; }
.hd-gl__by a { color: #663334 !important; text-decoration: none; }
.hd-gl__info { border-collapse: collapse; margin: 6px 10px 0 0; font-size: 16px; width: auto; border: 0; }
.hd-gl__info th { text-align: left; vertical-align: top; color: #666; font-weight: 700; width: 96px; padding: 2px 0; border: 0; background: none; white-space: nowrap; }
.hd-gl__info td { color: #663334; font-weight: 700; padding: 2px 0; line-height: 1.5; border: 0; background: none; }
.hd-gl__text td { font-weight: 400; color: #444455; font-size: 15px; }
.hd-chip { display: inline-block; background: #999; color: #fff !important; font-size: 12px; font-weight: 700; border-radius: 3px; padding: 1px 6px; margin: 0 6px 5px 0; text-decoration: none; }
.hd-chip--more { background: #aaa; }
.hd-gl__date { margin: 8px 0 10px; color: #d09a9b; font-weight: 700; font-size: 16px; }
.hd-stack { position: absolute; left: 4px; top: -8px; width: 292px; height: 160px; perspective: 900px; display: block; }
.hd-stack img { position: absolute; top: 0; width: 196px; height: 147px; object-fit: contain; background: #25252f; border: 1px solid #5a3334; transform: rotateY(16deg); transform-origin: left center; box-shadow: -2px 2px 6px rgba(0,0,0,.25); }
.hd-stack img:nth-child(1) { left: 0; } .hd-stack img:nth-child(2) { left: 48px; } .hd-stack img:nth-child(3) { left: 96px; }
/* 奥の2枚（サンプル）は左端の48pxしか見えない。縦長のページを contain で入れると見える部分が余白（暗い地）だけになって
   「画像が出ていない」ように見えるので（2026-09-22 実害）、奥の2枚は cover で左寄せに切り出す。手前の表紙は全体を見せる contain のまま */
.hd-stack img:nth-child(1), .hd-stack img:nth-child(2) { object-fit: cover; object-position: left center; }
.hd-gl--cg { border-color: #9fb6cc; }
.hd-gl--cg .hd-gl__title { background: #8fa9c4; } .hd-gl--cg .hd-gl__title a { -webkit-text-stroke-color: #2f4560; text-shadow: 1px 1px 0 #2f4560; }
.hd-gl--cg .hd-gl__by { background: #d3e2f1; } .hd-gl--cg .hd-gl__by a, .hd-gl--cg .hd-gl__info td { color: #2f4560 !important; }
.hd-gl--cg .hd-gl__text td { color: #444455 !important; } .hd-gl--cg .hd-gl__date { color: #8fa9c4; } .hd-gl--cg .hd-stack img { border-color: #2f4560; }
.hd-pagination { text-align: center; font-weight: 700; font-size: 18px; margin: 30px 0; }
.hd-pagination a, .hd-pagination span { color: #333344 !important; background: none !important; border: 0 !important; margin: 0 4px; padding: 2px 4px; text-decoration: none; }
.hd-pagination .current, .hd-pagination span.hd-page-current { color: #aab !important; }
#hd-footer { background: #29313d; }
@media (max-width: 720px) {
	#hd-header-in { gap: 12px; padding: 0 8px; } #hd-header-nav a { font-size: 14px; } #hd-header-search input { width: 110px; }
	.hd-section-head .hd-section-title, .hd-archive-head h1 { left: 12px; font-size: 24px; top: -12px; }
	.hd-gl { padding-left: 0; padding-top: 168px; } .hd-gl__title, .hd-gl__by { margin-left: 0; padding-left: 10px; } .hd-gl__info, .hd-gl__date { margin-left: 10px; }
	.hd-stack { left: 50%; margin-left: -146px; top: 8px; }
}
/* light skin: polish */
#hd-container { margin-top: 0; padding-top: 26px; }
.hd-section-sub { display: none; }
#hd-main h1, #hd-main h2, #hd-main h3 { color: #663334; }
.hd-gl__title a, .hd-section-head .hd-section-title, .hd-archive-head h1 { color: #fff !important; }
#hd-main a { color: #8a3a40; }
#hd-main img { max-width: 100%; height: auto; }
.hd-stack img { height: 147px !important; }
/* light skin: mobile header */
#hd-header-nav a, #hd-header-search button { white-space: nowrap; }
@media (max-width: 720px) {
	#hd-header-search { display: none; }
	#hd-header-nav { margin-left: auto; gap: 14px; }
	#hd-header-nav a { font-size: 15px; }
	#hd-container { padding-left: 8px; padding-right: 8px; border: 0; }
}
/* light skin: parody and character hubs */
.hd-hub-chips { margin: 0 0 12px; line-height: 2.1; }
.hd-hub-chips__label { display: inline-block; min-width: 96px; color: #666; font-weight: 700; font-size: 15px; }
.hd-hub-chips .hd-chip, .hd-index-list .hd-chip { font-size: 14px; padding: 2px 9px; }
.hd-chip__n { margin-left: 6px; font-weight: 400; opacity: .85; }
.hd-index-list { margin: 0 0 26px; line-height: 2.2; }
.hd-index-group { margin: 0 0 8px; }
.hd-index-group h2 { font-size: 18px; margin: 22px 0 6px; }
.hd-index-group h2 a { text-decoration: none; }
.hd-index-group__n { margin-left: 8px; font-size: 13px; font-weight: 400; color: #777788; }
.hd-index-empty { color: #777788; }
.hd-gl__info td a:not(.hd-chip) { color: #663334 !important; text-decoration: none; }
.hd-gl__info td a:not(.hd-chip):hover, .hd-wk__info td a:not(.hd-chip):hover { text-decoration: underline; }
.hd-gl--cg .hd-gl__info td a:not(.hd-chip) { color: #2f4560 !important; }
@media (max-width: 720px) {
	.hd-hub-chips__label { display: block; min-width: 0; }
}
/* light skin: hubs */
.hdl-hub-title { margin: 8px 0 6px; font-size: 26px; color: #663334 !important; }
.hdl-hub-meta { color: #777788 !important; }
.hdl-hub-profile { background: #fafafa !important; color: #444455 !important; border: 1px solid #e3d2d2; border-radius: 3px; padding: 12px 14px; box-shadow: none; }
.hdl-hub-profile p, .hdl-hub-profile a { color: #444455 !important; }
.hdl-hub .hd-section-title, .hdl-hub h2 { margin: 30px 0 24px; background: #777a9a; border: 1px solid #33364d; color: #fff !important; font-size: 19px; line-height: 1.5; padding: 5px 12px; -webkit-text-stroke: .8px #2c2f45; paint-order: stroke fill; text-shadow: 1px 1px 0 #2c2f45; position: static; }

/* 2026-09-22 ガイドページ（/guide/・page-guide.php）。カードの見た目はプラグインの book.css */
.hd-guide__intro { font-size: 14.5px; line-height: 1.8; margin: 0 0 8px; }
.hd-guide__links { margin: 26px 0 0; font-size: 14px; line-height: 2; }
.hd-guide__links a { color: #a0454a !important; text-decoration: underline; }

/* 2026-09-23 トップのロゴを包む h1（見出しの箱をレイアウトから消して、見た目は従来どおり） */
.hd-logo-h1{display:contents}
