/*
Theme Name: Love Juice GeneratePress Child
Description: love-juice.jp 固定トップ用のGeneratePress子テーマです。
Author: love-juice.jp
Version: 1.3.7
Template: generatepress
Text Domain: love-juice
*/

:root {
	--lj-background: #111114;
	--lj-surface: #1b1b20;
	--lj-surface-strong: #24242b;
	--lj-text: #f7f7fa;
	--lj-muted: #aaaab5;
	--lj-accent: #ff278f;
	--lj-accent-alt: #5de4e7;ess Ch
	--lj-border: rgba(255, 255, 255, 0.1);
}

.home {
	background: var(--lj-background);
	color: var(--lj-text);
}

.home .site-header,
.home .main-navigation,
.home .site-footer {
	background-color: #0b0b0e;
	color: var(--lj-text);
}

.home .site-header {
	border-top: 4px solid var(--lj-accent);
	border-bottom: 1px solid var(--lj-border);
}

.home .site-branding a,
.home .main-navigation a,
.home .site-footer a {
	color: var(--lj-text);
}

/* Keep navigation readable on every template and in every menu state. */
.main-navigation,
.main-navigation .main-nav ul ul,
.main-navigation.toggled .main-nav > ul {
	background-color: #0b0b0e;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items,
.main-navigation .menu-bar-item > a {
	color: #f7f7fa;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus-within > a,
.main-navigation .main-nav ul li a:focus-visible {
	background-color: #292930;
	color: #ffffff;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li[class*="current_page_"] > a {
	background-color: transparent;
	color: #f7f7fa;
}

.main-navigation .main-nav ul li a:focus-visible,
.main-navigation .menu-toggle:focus-visible {
	outline: 2px solid var(--lj-accent);
	outline-offset: -3px;
}

.site-footer,
.site-info {
	background-color: #0b0b0e;
	color: #d7d7df;
}

.site-footer a,
.site-info a {
	color: #f7f7fa;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-info a:hover,
.site-info a:focus-visible {
	color: var(--lj-accent-alt);
}

.home .site-content {
	display: block;
	max-width: 1480px;
	padding: clamp(28px, 5vw, 72px) clamp(16px, 3vw, 48px);
}

.home #primary {
	float: none;
	width: 100%;
}

.lj-home__header {
	margin-bottom: clamp(28px, 4vw, 52px);
	text-align: center;
}

.lj-home__eyebrow {
	color: var(--lj-accent);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	margin: 0;
	text-transform: uppercase;
}

.lj-lanes {
	display: grid;
	gap: clamp(18px, 2vw, 30px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lj-lane {
	min-width: 0;
}

.lj-lane__header {
	align-items: end;
	border-bottom: 2px solid var(--lj-accent);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 10px;
}

.lj-lane:nth-child(2) .lj-lane__header {
	border-color: var(--lj-accent-alt);
}

.lj-lane__title {
	color: var(--lj-text);
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	line-height: 1.2;
	margin: 0;
}

.lj-lane__more {
	color: var(--lj-muted);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.lj-lane__more:hover,
.lj-lane__more:focus-visible {
	color: var(--lj-accent);
}

.lj-lane__cards {
	display: grid;
	gap: 16px;
}

.lj-card {
	background: var(--lj-surface);
	border: 1px solid var(--lj-border);
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 160ms ease, transform 160ms ease;
}

.lj-card:hover,
.lj-card:focus-within {
	border-color: rgba(255, 39, 143, 0.7);
	transform: translateY(-2px);
}

.lj-card__link {
	color: inherit;
	display: block;
	height: 100%;
	text-decoration: none;
}

.lj-card__images {
	background: var(--lj-surface-strong);
	display: grid;
	grid-template-columns: 54% 54%;
	min-height: 190px;
	overflow: hidden;
	padding: 12px;
}

.lj-card__images img {
	align-self: center;
	background: #09090b;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
	display: block;
	height: 100%;
	max-height: 250px;
	object-fit: contain;
	width: 100%;
}

.lj-card__images img + img {
	margin-left: -14%;
	transform: translateY(8px);
}

.lj-card__images--single {
	display: block;
}

.lj-card__images--single img {
	height: 240px;
	margin: 0 auto;
	max-width: 100%;
	width: auto;
}

.lj-card__placeholder {
	align-items: center;
	background: linear-gradient(135deg, rgba(255, 39, 143, 0.24), rgba(93, 228, 231, 0.14));
	color: var(--lj-muted);
	display: flex;
	font-size: 0.8rem;
	height: 210px;
	justify-content: center;
	letter-spacing: 0.08em;
}

.lj-card__body {
	padding: 14px 15px 16px;
}

.lj-card__title {
	color: var(--lj-text);
	display: -webkit-box;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 10px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.lj-card__meta {
	color: var(--lj-muted);
	display: flex;
	font-size: 0.72rem;
	gap: 8px;
	justify-content: space-between;
}

.lj-lane__empty {
	background: var(--lj-surface);
	border: 1px dashed var(--lj-border);
	border-radius: 10px;
	color: var(--lj-muted);
	margin: 0;
	padding: 32px 16px;
	text-align: center;
}

@media (max-width: 980px) {
	.lj-lanes {
		grid-template-columns: 1fr;
	}

	.lj-lane__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.home .site-content {
		padding-left: 12px;
		padding-right: 12px;
	}

	.lj-lane__cards {
		grid-template-columns: 1fr;
	}

	.lj-card__images {
		min-height: 220px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lj-card {
		transition: none;
	}
}

.lj-breadcrumbs {
	font-size: 0.82rem;
	margin: 0 auto 20px;
	max-width: 1180px;
	padding: 0 20px;
}

.lj-breadcrumbs a {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.lj-footer-links {
	margin-top: 0.65rem;
}

.site-info nav.lj-footer-links {
	display: block;
}

.lj-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 1rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lj-footer-links a {
	text-decoration: none;
}

.site-info nav.lj-footer-links a {
	text-decoration: none;
}

.lj-copyright {
	margin-top: 0.85rem;
}


/* Authorised Uminobon work-page presentation. */
.lj-work-post,
.lj-work-post #page,
.lj-work-post .site-content {
	background: #0b0b0e;
}

.lj-work-post .site-content {
	padding-top: 24px;
	padding-bottom: 56px;
}

.lj-work-post .content-area,
.lj-work-post .site-main,
.lj-work-post .inside-article,
.lj-work-post .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
}

.lj-work-post .entry-header,
.lj-work-post .entry-meta,
.lj-work-post .comments-area {
	display: none;
}

.lj-work-shell {
	position: relative;
	max-width: 850px;
	margin: 0 auto;
	padding: 28px;
	border: 1px solid #303038;
	border-radius: 15px;
	background: #17171c;
	color: #f7f7f8;
	box-shadow: 0 22px 54px rgba( 0, 0, 0, .22 );
}

.lj-work-shell *,
.lj-work-shell *::before,
.lj-work-shell *::after {
	box-sizing: border-box;
}

.lj-work-pr {
	position: absolute;
	top: 0;
	left: 0;
	padding: 4px 10px;
	border-radius: 13px 0 5px 0;
	background: #f4f4f5;
	color: #333;
	font-size: 12px;
	line-height: 1.4;
}

.lj-work-title {
	margin: 16px 0 22px;
	color: #fff;
	font-size: clamp( 24px, 3.2vw, 34px );
	line-height: 1.45;
}

.lj-work-hero {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) 150px;
	align-items: center;
	gap: 30px;
	min-height: 220px;
	padding: 18px;
	border: 1px solid #34343c;
	border-radius: 12px;
}

.lj-work-hero__meta {
	padding-left: 2px;
	color: #c9c9d0;
}

.lj-work-hero__meta p {
	margin: 10px 0;
}

.lj-work-hero__meta strong {
	color: #fff;
}

.lj-work-hero__meta ul {
	margin: 12px 0;
	padding: 0;
	list-style: none;
}

.lj-work-hero__meta li {
	position: relative;
	margin: 5px 0;
	padding-left: 20px;
}

.lj-work-hero__meta li::before {
	content: "—";
	position: absolute;
	left: 0;
	color: #6e6e78;
}

.lj-work-cover {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 22px rgba( 0, 0, 0, .3 );
}

.lj-work-cover__image,
.lj-work-gallery__image {
	display: block;
	width: 100%;
	height: auto;
}

.lj-work-gallery {
	margin-top: 24px;
}

.lj-work-gallery figure {
	margin: 0 0 8px;
}

.lj-work-next,
.lj-work-read {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 58px;
	margin: 26px 0 18px;
	border: 1px solid #ff2d7d;
	border-radius: 8px;
	background: linear-gradient( 135deg, #ff2474, #d90b58 );
	color: #fff !important;
	font-weight: 800;
	letter-spacing: .08em;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba( 255, 25, 105, .2 );
	transition: transform .18s ease, filter .18s ease;
}

.lj-work-next:hover,
.lj-work-next:focus-visible,
.lj-work-read:hover,
.lj-work-read:focus-visible {
	transform: translateY( -2px );
	filter: brightness( 1.08 );
}

.lj-work-next span {
	margin-left: 10px;
	font-size: 24px;
}

.lj-work-favorite {
	display: block;
	margin: 18px auto 4px;
	padding: 8px 16px;
	border: 0;
	background: transparent;
	color: #ddd;
	font-size: 14px;
	cursor: pointer;
}

.lj-work-favorite > span[aria-hidden="true"] {
	font-size: 22px;
}

.lj-work-favorite[aria-pressed="true"] {
	color: #ff4b8b;
}

.lj-work-favorite__status {
	min-height: 1.5em;
	margin: 0;
	text-align: center;
	color: #bcbcc4;
	font-size: 13px;
}

.lj-work-information {
	margin: 24px 0 34px;
	border: 1px solid #34343c;
	border-radius: 10px;
	background: #121216;
	overflow: hidden;
}

.lj-work-information summary {
	display: grid;
	grid-template-columns: 34px minmax( 0, 1fr ) auto;
	align-items: center;
	gap: 12px;
	padding: 18px;
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.lj-work-information summary::-webkit-details-marker {
	display: none;
}

.lj-work-information summary::after {
	content: "+";
	font-size: 24px;
	font-weight: 300;
}

.lj-work-information[open] summary::after {
	content: "−";
}

.lj-work-information summary small {
	grid-column: 2;
	color: #8f8f99;
	font-size: 11px;
	letter-spacing: .16em;
}

.lj-work-information__icon {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid #ff2d7d;
	border-radius: 50%;
	color: #ff4b8b;
}

.lj-work-information__content {
	padding: 4px 22px 24px;
	border-top: 1px solid #2c2c34;
}

.lj-work-information__content h2 {
	margin: 26px 0 12px;
	color: #fff;
	font-size: 20px;
}

.lj-work-information__content p {
	color: #d2d2d8;
	line-height: 1.9;
}

.lj-work-table-wrap {
	overflow-x: auto;
}

.lj-work-information table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.lj-work-information th,
.lj-work-information td {
	padding: 11px 13px;
	border: 1px solid #383842;
	text-align: left;
}

.lj-work-information th {
	width: 30%;
	background: #222229;
	color: #fff;
}

.lj-work-information td {
	color: #d4d4da;
}

.lj-work-related {
	margin-top: 34px;
	padding-top: 25px;
	border-top: 1px solid #34343c;
}

.lj-work-related > h2 {
	margin: 0 0 18px;
	color: #fff;
	font-size: 22px;
}

.lj-work-related__grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 14px;
}

.lj-work-related__card {
	margin: 0;
}

.lj-work-related__card a {
	display: block;
	color: #fff;
	text-decoration: none;
}

.lj-work-related__card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 7px;
}

.lj-work-related__card h3 {
	margin: 8px 0 0;
	color: #eee;
	font-size: 14px;
	line-height: 1.5;
}

@media ( max-width: 768px ) {
	.lj-work-post .site-content {
		padding-top: 12px;
	}

	.lj-work-shell {
		padding: 20px 14px;
		border-radius: 0;
	}

	.lj-work-title {
		margin-top: 20px;
		font-size: 23px;
	}

	.lj-work-hero {
		grid-template-columns: minmax( 0, 1fr ) 110px;
		gap: 16px;
		padding: 14px;
	}

	.lj-work-related__grid {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
		gap: 8px;
	}

	.lj-work-related__card h3 {
		font-size: 12px;
	}
}

@media ( max-width: 430px ) {
	.lj-work-hero {
		grid-template-columns: minmax( 0, 1fr ) 92px;
	}

	.lj-work-hero__meta {
		font-size: 13px;
	}

	.lj-work-information summary {
		padding: 14px;
	}
}



/* Remove GeneratePress duplicates on imported work pages. */
.lj-work-post .post-image,
.lj-work-post .featured-image,
.lj-work-post .rank-math-breadcrumb {
	display: none !important;
}


/* Editable Gutenberg blocks for work-page bodies. */
.lj-work-post .inside-article {
	max-width: 850px;
	margin: 0 auto;
	padding: 28px;
	border: 1px solid #303038;
	border-radius: 15px;
	background: #17171c;
	color: #f7f7f8;
	box-shadow: 0 22px 54px rgba( 0, 0, 0, .22 );
}

.lj-work-post .lj-work-shell {
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.lj-work-post .lj-work-cta,
.lj-work-post .lj-work-read-cta {
	margin: 26px 0 18px;
}

.lj-work-post .lj-work-cta .wp-block-button,
.lj-work-post .lj-work-read-cta .wp-block-button {
	width: 100%;
}

.lj-work-post .lj-work-cta .wp-block-button__link,
.lj-work-post .lj-work-read-cta .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 58px;
	padding: 12px 18px;
	border: 1px solid #ff2d7d;
	border-radius: 8px;
	background: linear-gradient( 135deg, #ff2474, #d90b58 );
	color: #fff !important;
	font-weight: 800;
	letter-spacing: .08em;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba( 255, 25, 105, .2 );
	transition: transform .18s ease, filter .18s ease;
}

.lj-work-post .lj-work-cta .wp-block-button__link:hover,
.lj-work-post .lj-work-cta .wp-block-button__link:focus-visible,
.lj-work-post .lj-work-read-cta .wp-block-button__link:hover,
.lj-work-post .lj-work-read-cta .wp-block-button__link:focus-visible {
	transform: translateY( -2px );
	filter: brightness( 1.08 );
}

.lj-work-post .lj-work-information > summary {
	display: block;
	padding: 18px;
	color: #fff;
}

.lj-work-post .lj-work-information > .wp-block-heading,
.lj-work-post .lj-work-information > p,
.lj-work-post .lj-work-information > figure,
.lj-work-post .lj-work-information > .wp-block-buttons {
	margin-right: 22px;
	margin-left: 22px;
}

.lj-work-post .lj-work-information > .wp-block-heading:first-of-type {
	margin-top: 26px;
}

@media ( max-width: 768px ) {
	.lj-work-post .inside-article {
		padding: 20px 14px;
		border-radius: 0;
	}
}


/* Keep the PR disclosure above the work title without overlap. */
.lj-work-post .lj-work-pr {
	position: static;
	display: inline-block;
	margin: 0 0 8px;
	border-radius: 5px;
	vertical-align: top;
}

.lj-work-post .lj-work-title {
	margin-top: 0;
}


/* The child theme can emit the same breadcrumb wrapper twice on archives. */
.lj-breadcrumbs + .lj-breadcrumbs {
	display: none;
}


/* Present cover and first-page images as an unmodified two-page spread. */
.lj-card__images {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	padding: 12px;
}

.lj-card__images img {
	height: auto;
	max-height: none;
	object-fit: contain;
}

.lj-card__images img + img {
	margin-left: 0;
	transform: none;
}


/* Let sample-image galleries use the full work-panel width only. */
.lj-work-post .entry-content > .lj-work-gallery {
	width: calc( 100% + 56px );
	max-width: none;
	margin-right: -28px;
	margin-left: -28px;
}

.lj-work-post .entry-content > .lj-work-gallery > .wp-block-group__inner-container {
	max-width: none;
}

@media ( max-width: 768px ) {
	.lj-work-post .entry-content > .lj-work-gallery {
		width: calc( 100% + 28px );
		margin-right: -14px;
		margin-left: -14px;
	}
}

/* Sample images intentionally reach the gallery edges without inner spacing. */
.lj-work-post .entry-content > .lj-work-gallery > .wp-block-group__inner-container {
    padding: 0;
}

/* A two-page card keeps rounding only on the outer corners. */
.lj-card__images > img:first-child {
    border-radius: 10px 0 0 10px;
}

.lj-card__images > img:nth-child(2) {
    border-radius: 0 10px 10px 0;
}

.lj-card__images > img:only-child {
    border-radius: 10px;
}


/* 鬼畜野郎ブランドアーカイブ：fixed page only. */
body.page-kichiku-yaro,
body.page-kichiku-yaro #page,
body.page-kichiku-yaro .site-content {
	background: var(--lj-background);
	color: var(--lj-text);
}

body.page-kichiku-yaro .site-content {
	padding: clamp(18px, 3vw, 42px) clamp(12px, 3vw, 30px) clamp(44px, 6vw, 76px);
}

body.page-kichiku-yaro .content-area,
body.page-kichiku-yaro .site-main {
	float: none;
	width: 100%;
}

body.page-kichiku-yaro .lj-kichiku-main,
body.page-kichiku-yaro .lj-kichiku-archive {
	max-width: 1180px;
	margin: 0 auto;
}

body.page-kichiku-yaro .lj-kichiku-archive *,
body.page-kichiku-yaro .lj-kichiku-archive *::before,
body.page-kichiku-yaro .lj-kichiku-archive *::after {
	box-sizing: border-box;
}

body.page-kichiku-yaro .lj-kichiku-breadcrumbs {
	max-width: none;
	margin: 0 0 16px;
	padding: 0;
	color: var(--lj-muted);
}

body.page-kichiku-yaro .lj-kichiku-breadcrumbs a {
	color: var(--lj-text);
}

body.page-kichiku-yaro .lj-kichiku-hero {
	position: relative;
	overflow: hidden;
	margin: 0 0 clamp(22px, 4vw, 42px);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 16px;
	background: linear-gradient(125deg, #1c1723 0%, #171b25 52%, #142127 100%);
	box-shadow: 0 18px 46px rgba(0, 0, 0, .26);
}

body.page-kichiku-yaro .lj-kichiku-hero::after {
	position: absolute;
	right: -16%;
	bottom: -72%;
	width: min(620px, 70vw);
	aspect-ratio: 1;
	border: 1px solid rgba(93, 228, 231, .2);
	border-radius: 50%;
	box-shadow: 0 0 0 48px rgba(255, 39, 143, .035), 0 0 0 97px rgba(93, 228, 231, .025);
	content: "";
}

body.page-kichiku-yaro .lj-kichiku-hero__grid {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.22) .8px, transparent .8px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
	background-position: 0 0, 0 0, 0 0;
	background-size: 14px 14px, 44px 44px, 44px 44px;
	opacity: .38;
	pointer-events: none;
}

body.page-kichiku-yaro .lj-kichiku-hero__content {
	position: relative;
	z-index: 1;
	max-width: 850px;
	padding: clamp(28px, 6vw, 68px) clamp(20px, 6vw, 68px);
}

body.page-kichiku-yaro .lj-kichiku-eyebrow,
body.page-kichiku-yaro .lj-kichiku-section__label {
	margin: 0 0 10px;
	color: var(--lj-accent-alt);
	font-size: .73rem;
	font-weight: 800;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
}

body.page-kichiku-yaro .lj-kichiku-brand {
	margin: 0 0 10px;
	color: #f4dce9;
	font-size: clamp(.9rem, 1.5vw, 1.08rem);
	font-weight: 700;
	letter-spacing: .05em;
}

body.page-kichiku-yaro .lj-kichiku-brand span { color: var(--lj-accent); }

body.page-kichiku-yaro .lj-kichiku-hero h1 {
	max-width: 800px;
	margin: 0;
	color: #fff;
	font-size: clamp(1.8rem, 4.8vw, 3.5rem);
	letter-spacing: .015em;
	line-height: 1.25;
}

body.page-kichiku-yaro .lj-kichiku-hero__lead {
	max-width: 700px;
	margin: 20px 0 0;
	color: #e0e0e8;
	font-size: clamp(.94rem, 1.6vw, 1.08rem);
	line-height: 1.85;
}

body.page-kichiku-yaro .lj-kichiku-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 25px;
}

body.page-kichiku-yaro .lj-kichiku-hero__facts span {
	display: inline-flex;
	gap: 7px;
	align-items: baseline;
	padding: 8px 10px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 5px;
	background: rgba(9, 9, 13, .35);
	color: #d9d9e0;
	font-size: .72rem;
}

body.page-kichiku-yaro .lj-kichiku-hero__facts b {
	color: #fff;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .83rem;
}

body.page-kichiku-yaro .lj-kichiku-content { color: var(--lj-text); }

body.page-kichiku-yaro .lj-kichiku-overview {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: clamp(34px, 5vw, 58px);
}

body.page-kichiku-yaro .lj-kichiku-overview > div {
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--lj-border);
	border-top: 2px solid var(--lj-accent);
	border-radius: 8px;
	background: var(--lj-surface);
}

body.page-kichiku-yaro .lj-kichiku-overview > div:nth-child(even) { border-top-color: var(--lj-accent-alt); }
body.page-kichiku-yaro .lj-kichiku-overview span { display: block; color: var(--lj-muted); font-size: .77rem; }
body.page-kichiku-yaro .lj-kichiku-overview strong { display: block; margin-top: 5px; color: #fff; font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.35; }

body.page-kichiku-yaro .lj-kichiku-editable {
	margin-bottom: clamp(34px, 5vw, 58px);
	padding: 20px clamp(18px, 3vw, 30px);
	border-left: 2px solid var(--lj-accent-alt);
	background: rgba(93, 228, 231, .055);
}
body.page-kichiku-yaro .lj-kichiku-editable > :first-child { margin-top: 0; }
body.page-kichiku-yaro .lj-kichiku-editable > :last-child { margin-bottom: 0; }

body.page-kichiku-yaro .lj-kichiku-section { margin: clamp(44px, 7vw, 76px) 0; }
body.page-kichiku-yaro .lj-kichiku-section h2,
body.page-kichiku-yaro .lj-kichiku-summary h2 { margin: 0 0 18px; color: #fff; font-size: clamp(1.35rem, 3.2vw, 2rem); line-height: 1.35; }
body.page-kichiku-yaro .lj-kichiku-section p { color: #d8d8df; line-height: 1.9; }

body.page-kichiku-yaro .lj-kichiku-title-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.page-kichiku-yaro .lj-kichiku-title-list a { display: flex; gap: 12px; align-items: baseline; min-height: 48px; padding: 12px; border: 1px solid var(--lj-border); border-radius: 7px; background: var(--lj-surface); color: #fff; line-height: 1.5; text-decoration: none; }
body.page-kichiku-yaro .lj-kichiku-title-list a:hover, body.page-kichiku-yaro .lj-kichiku-title-list a:focus-visible { border-color: var(--lj-accent); color: #fff; }
body.page-kichiku-yaro .lj-kichiku-title-list span { flex: 0 0 auto; color: var(--lj-accent-alt); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }

body.page-kichiku-yaro .lj-kichiku-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(15px, 2.5vw, 28px); }
body.page-kichiku-yaro .lj-kichiku-work-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--lj-border); border-radius: 12px; background: var(--lj-surface); }
body.page-kichiku-yaro .lj-kichiku-placeholder { display: flex; aspect-ratio: 16 / 9; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; border-bottom: 1px solid var(--lj-border); background: linear-gradient(140deg, rgba(255,39,143,.17), rgba(93,228,231,.1)); color: #e7e7ed; text-align: center; }
body.page-kichiku-yaro .lj-kichiku-placeholder span { color: var(--lj-accent-alt); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .69rem; font-weight: 700; letter-spacing: .18em; }
body.page-kichiku-yaro .lj-kichiku-placeholder strong { color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.35rem, 3vw, 2.1rem); letter-spacing: .05em; }
body.page-kichiku-yaro .lj-kichiku-placeholder small { color: #dedee5; font-size: .79rem; }
body.page-kichiku-yaro .lj-kichiku-work-card__body { display: flex; height: 100%; flex-direction: column; padding: clamp(17px, 3vw, 25px); }
body.page-kichiku-yaro .lj-kichiku-work-card__year { margin: 0 0 5px; color: var(--lj-accent-alt); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; letter-spacing: .1em; }
body.page-kichiku-yaro .lj-kichiku-work-card h3 { margin: 0; color: #fff; font-size: clamp(1.08rem, 2.3vw, 1.4rem); line-height: 1.5; }
body.page-kichiku-yaro .lj-kichiku-work-card__position { min-height: 2.8em; margin: 8px 0 18px; color: #cbcbd3; font-size: .87rem; line-height: 1.6; }
body.page-kichiku-yaro .lj-kichiku-work-card dl { margin: 0; }
body.page-kichiku-yaro .lj-kichiku-work-card dl > div { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
body.page-kichiku-yaro .lj-kichiku-work-card dt { color: var(--lj-muted); font-size: .77rem; }
body.page-kichiku-yaro .lj-kichiku-work-card dd { min-width: 0; margin: 0; color: #ededf2; font-size: .84rem; line-height: 1.55; overflow-wrap: anywhere; }
body.page-kichiku-yaro .lj-kichiku-work-card__cta { margin-top: auto; padding-top: 22px; }
body.page-kichiku-yaro .lj-kichiku-work-card__cta a { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border: 1px solid #ff4e9f; border-radius: 7px; background: linear-gradient(135deg, #ff2474, #d90b58); color: #fff; font-weight: 800; line-height: 1.35; text-align: center; text-decoration: none; }
body.page-kichiku-yaro .lj-kichiku-work-card__cta a:hover, body.page-kichiku-yaro .lj-kichiku-work-card__cta a:focus-visible { filter: brightness(1.12); color: #fff; }
body.page-kichiku-yaro .lj-kichiku-work-card__cta a span { font-size: 1.1rem; }
body.page-kichiku-yaro .lj-kichiku-work-card__cta p { margin: 9px 0 0; color: var(--lj-muted); font-size: .75rem; line-height: 1.55; text-align: center; }

body.page-kichiku-yaro .lj-kichiku-timeline { position: relative; margin: 0; padding: 0 0 0 25px; list-style: none; }
body.page-kichiku-yaro .lj-kichiku-timeline::before { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 1px; background: rgba(255,255,255,.25); content: ""; }
body.page-kichiku-yaro .lj-kichiku-timeline li { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 15px; padding: 0 0 21px; color: #e4e4eb; line-height: 1.6; }
body.page-kichiku-yaro .lj-kichiku-timeline li::before { position: absolute; top: 6px; left: -24px; width: 10px; height: 10px; border: 2px solid var(--lj-accent-alt); border-radius: 50%; background: var(--lj-background); content: ""; }
body.page-kichiku-yaro .lj-kichiku-timeline li:nth-child(odd)::before { border-color: var(--lj-accent); }
body.page-kichiku-yaro .lj-kichiku-timeline time { color: var(--lj-accent-alt); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }

body.page-kichiku-yaro .lj-kichiku-comparison { overflow: hidden; border: 1px solid var(--lj-border); border-radius: 10px; background: var(--lj-surface); }
body.page-kichiku-yaro .lj-kichiku-comparison table { width: 100%; margin: 0; border-collapse: collapse; font-size: .9rem; }
body.page-kichiku-yaro .lj-kichiku-comparison th, body.page-kichiku-yaro .lj-kichiku-comparison td { padding: 14px; border: 1px solid rgba(255,255,255,.1); color: #e8e8ee; line-height: 1.55; text-align: left; vertical-align: top; }
body.page-kichiku-yaro .lj-kichiku-comparison thead th, body.page-kichiku-yaro .lj-kichiku-comparison tbody th { background: #24242b; color: #fff; }
body.page-kichiku-yaro .lj-kichiku-comparison tbody th { width: 22%; color: #dedeE6; font-size: .82rem; }

body.page-kichiku-yaro .lj-kichiku-staff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.page-kichiku-yaro .lj-kichiku-staff article { padding: 19px; border: 1px solid var(--lj-border); border-radius: 9px; background: linear-gradient(135deg, rgba(255,39,143,.08), var(--lj-surface) 55%); }
body.page-kichiku-yaro .lj-kichiku-staff article:nth-child(2) { background: linear-gradient(135deg, rgba(93,228,231,.1), var(--lj-surface) 55%); }
body.page-kichiku-yaro .lj-kichiku-staff h3 { margin: 0; color: #fff; font-size: 1.05rem; }
body.page-kichiku-yaro .lj-kichiku-staff p { margin: 8px 0 0; font-size: .84rem; }

body.page-kichiku-yaro .lj-kichiku-related-link { color: var(--lj-accent-alt); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
body.page-kichiku-yaro .lj-kichiku-related-link:hover, body.page-kichiku-yaro .lj-kichiku-related-link:focus-visible { color: #fff; }

body.page-kichiku-yaro .lj-kichiku-faq { border-top: 1px solid var(--lj-border); }
body.page-kichiku-yaro .lj-kichiku-faq details { border-bottom: 1px solid var(--lj-border); }
body.page-kichiku-yaro .lj-kichiku-faq summary { position: relative; min-height: 55px; padding: 16px 42px 16px 0; color: #fff; cursor: pointer; font-weight: 700; line-height: 1.55; list-style: none; }
body.page-kichiku-yaro .lj-kichiku-faq summary::-webkit-details-marker { display: none; }
body.page-kichiku-yaro .lj-kichiku-faq summary::after { position: absolute; top: 50%; right: 4px; width: 24px; height: 24px; transform: translateY(-50%); border: 1px solid var(--lj-accent-alt); border-radius: 50%; color: var(--lj-accent-alt); content: "+"; font-size: 19px; font-weight: 400; line-height: 21px; text-align: center; }
body.page-kichiku-yaro .lj-kichiku-faq details[open] summary::after { content: "−"; }
body.page-kichiku-yaro .lj-kichiku-faq p { margin: 0 0 18px; color: #d7d7df; }
body.page-kichiku-yaro .lj-kichiku-faq summary:focus-visible, body.page-kichiku-yaro a:focus-visible { outline: 2px solid var(--lj-accent-alt); outline-offset: 3px; }

body.page-kichiku-yaro .lj-kichiku-summary { margin: clamp(45px, 7vw, 76px) 0 0; padding: clamp(22px, 4vw, 38px); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: linear-gradient(135deg, rgba(255,39,143,.13), rgba(93,228,231,.08)); }
body.page-kichiku-yaro .lj-kichiku-summary h2 { margin-bottom: 10px; }
body.page-kichiku-yaro .lj-kichiku-summary p { margin: 0; color: #e1e1e8; line-height: 1.85; }

@media (max-width: 780px) {
	body.page-kichiku-yaro .lj-kichiku-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.page-kichiku-yaro .lj-kichiku-work-grid { grid-template-columns: 1fr; }
	body.page-kichiku-yaro .lj-kichiku-staff { grid-template-columns: 1fr; }
	body.page-kichiku-yaro .lj-kichiku-title-list { grid-template-columns: 1fr; }
	body.page-kichiku-yaro .lj-kichiku-comparison { border: 0; background: transparent; }
	body.page-kichiku-yaro .lj-kichiku-comparison table, body.page-kichiku-yaro .lj-kichiku-comparison tbody, body.page-kichiku-yaro .lj-kichiku-comparison tr, body.page-kichiku-yaro .lj-kichiku-comparison th, body.page-kichiku-yaro .lj-kichiku-comparison td { display: block; width: 100%; }
	body.page-kichiku-yaro .lj-kichiku-comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	body.page-kichiku-yaro .lj-kichiku-comparison tr { overflow: hidden; margin: 0 0 12px; border: 1px solid var(--lj-border); border-radius: 8px; background: var(--lj-surface); }
	body.page-kichiku-yaro .lj-kichiku-comparison tbody th { width: auto; padding: 11px 13px; border: 0; border-bottom: 1px solid var(--lj-border); }
	body.page-kichiku-yaro .lj-kichiku-comparison td { display: grid; grid-template-columns: minmax(88px, .72fr) minmax(0, 1.28fr); gap: 10px; padding: 11px 13px; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .84rem; }
	body.page-kichiku-yaro .lj-kichiku-comparison td:last-child { border-bottom: 0; }
	body.page-kichiku-yaro .lj-kichiku-comparison td::before { color: var(--lj-muted); content: attr(data-label); font-size: .74rem; font-weight: 700; }
}

@media (max-width: 430px) {
	body.page-kichiku-yaro .lj-kichiku-hero { border-radius: 10px; }
	body.page-kichiku-yaro .lj-kichiku-hero__facts { display: grid; grid-template-columns: 1fr; }
	body.page-kichiku-yaro .lj-kichiku-hero__facts span { justify-content: space-between; }
	body.page-kichiku-yaro .lj-kichiku-work-card__body { padding: 16px; }
	body.page-kichiku-yaro .lj-kichiku-work-card dl > div { grid-template-columns: 4.6em minmax(0, 1fr); gap: 7px; }
	body.page-kichiku-yaro .lj-kichiku-comparison td { grid-template-columns: 82px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	body.page-kichiku-yaro .lj-kichiku-archive *, body.page-kichiku-yaro .lj-kichiku-archive *::before, body.page-kichiku-yaro .lj-kichiku-archive *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Archive contrast correction. */
body.page-kichiku-yaro .inside-article { background:#111114; color:#f7f7fa; box-shadow:none; }
body.page-kichiku-yaro .entry-content, body.page-kichiku-yaro .entry-content p, body.page-kichiku-yaro .entry-content li { color:#e2e2e9; }
body.page-kichiku-yaro .lj-kichiku-breadcrumbs, body.page-kichiku-yaro .lj-kichiku-breadcrumbs span { color:#d6d6df; }
body.page-kichiku-yaro .lj-kichiku-breadcrumbs a { color:#8deef0; }
body.page-kichiku-yaro .lj-kichiku-breadcrumbs a:hover, body.page-kichiku-yaro .lj-kichiku-breadcrumbs a:focus-visible { color:#fff; }


/* 鬼畜野郎：カード内サンプル画像とビューアー */
body.page-kichiku-yaro .lj-kichiku-work-card__media {
  height: clamp(250px, 28vw, 330px);
  display: grid;
  place-items: center;
  padding: 12px;
  background: #101116;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
body.page-kichiku-yaro .lj-kichiku-work-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.page-kichiku-yaro .lj-kichiku-inline-samples {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 7px;
  margin: 18px 0;
}
body.page-kichiku-yaro button.lj-kichiku-sample {
  appearance: none;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  background: #08090b;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
}
body.page-kichiku-yaro button.lj-kichiku-sample:focus-visible {
  outline: 3px solid #8deef0;
  outline-offset: 2px;
}
body.page-kichiku-yaro .lj-kichiku-sample img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .2s ease;
}
body.page-kichiku-yaro .lj-kichiku-sample:hover img { transform: scale(1.04); }
body.page-kichiku-yaro .lj-kichiku-viewer {
  width: min(94vw, 980px);
  height: min(90vh, 820px);
  padding: 0;
  color: #f7f7fa;
  background: #0c0d10;
  border: 1px solid rgba(141,238,240,.5);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.7);
}
body.page-kichiku-yaro .lj-kichiku-viewer::backdrop { background: rgba(0,0,0,.8); }
body.page-kichiku-yaro .lj-kichiku-viewer__frame {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto auto;
  gap: 12px;
  padding: 14px;
}
body.page-kichiku-yaro .lj-kichiku-viewer__top,
body.page-kichiku-yaro .lj-kichiku-viewer__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.page-kichiku-yaro .lj-kichiku-viewer__top p { margin: 0; color: #fff; font-weight: 700; }
body.page-kichiku-yaro .lj-kichiku-viewer button {
  min-width: 46px;
  min-height: 42px;
  color: #fff;
  background: #20232a;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 5px;
  font-size: 1.05rem;
  cursor: pointer;
}
body.page-kichiku-yaro .lj-kichiku-viewer button:disabled { opacity: .38; cursor: default; }
body.page-kichiku-yaro .lj-kichiku-viewer__image {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050506;
}
body.page-kichiku-yaro .lj-kichiku-viewer__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.page-kichiku-yaro .lj-kichiku-viewer__progress {
  height: 4px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
  border-radius: 10px;
}
body.page-kichiku-yaro .lj-kichiku-viewer__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg,#ee7199,#8deef0);
  transition: width .15s ease;
}
@media (max-width: 680px) {
  body.page-kichiku-yaro .lj-kichiku-inline-samples { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.page-kichiku-yaro .lj-kichiku-work-card__media { height: 280px; }
}
@media (max-width: 360px) {
  body.page-kichiku-yaro .lj-kichiku-inline-samples { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  body.page-kichiku-yaro .lj-kichiku-sample img,
  body.page-kichiku-yaro .lj-kichiku-viewer__progress span { transition: none; }
}


/* Trinityのアイキャッチは院内巨乳天使斬りと同じ固定枠に収め、本文へ重ねない。 */
body.page-kichiku-yaro #innai .lj-kichiku-work-card__media,
body.page-kichiku-yaro #trinity .lj-kichiku-work-card__media {
  height: clamp(250px, 28vw, 330px) !important;
  min-height: clamp(250px, 28vw, 330px) !important;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
body.page-kichiku-yaro #trinity .lj-kichiku-product-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}
body.page-kichiku-yaro #trinity .lj-kichiku-work-card__body {
  position: relative;
  z-index: 1;
  clear: both;
}


/* 画像は切り抜かず、共通高さの枠内で中央表示する。 */
body.page-kichiku-yaro #trinity .lj-kichiku-work-card__media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
body.page-kichiku-yaro #trinity .lj-kichiku-product-image {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  flex: 0 0 auto !important;
  object-fit: unset !important;
  object-position: center center !important;
}
/* ダイアログの内側を画面高へ収め、画像全体を常に表示する。 */
body.page-kichiku-yaro .lj-kichiku-viewer {
  box-sizing: border-box;
  height: min(90dvh, 820px);
  max-height: 90dvh;
  overflow: hidden;
}
body.page-kichiku-yaro .lj-kichiku-viewer__frame {
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
}
body.page-kichiku-yaro .lj-kichiku-viewer__image {
  min-height: 0;
  overflow: hidden;
}
body.page-kichiku-yaro .lj-kichiku-viewer__image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* 進捗は単色＋現在位置を示すつまみで表示する。 */
body.page-kichiku-yaro .lj-kichiku-viewer__progress span {
  position: relative;
  background: #8deef0;
}
body.page-kichiku-yaro .lj-kichiku-viewer__progress span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(50%,-50%);
  background: #8deef0;
  border: 2px solid #0c0d10;
  box-shadow: 0 0 0 1px rgba(141,238,240,.55);
}


/* ビューアーの操作部を含む全体をダイアログ枠の内側へ固定する。 */
body.page-kichiku-yaro .lj-kichiku-viewer {
  position: fixed;
  inset: 5dvh auto auto 50%;
  transform: translateX(-50%);
}
body.page-kichiku-yaro .lj-kichiku-viewer__frame {
  position: absolute;
  inset: 0;
  height: auto !important;
  width: auto;
}


/* 鬼畜野郎 FAQ：質問番号と状態が明確なアーカイブ用アコーディオン */
body.page-kichiku-yaro #faq {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(141,238,240,.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(93,228,231,.12), transparent 33rem),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}
body.page-kichiku-yaro #faq > h2 {
  max-width: 18ch;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(1.45rem, 3.4vw, 2.25rem);
  line-height: 1.35;
}
body.page-kichiku-yaro #faq > h2::before {
  content: "FAQ / ARCHIVE GUIDE";
  display: block;
  margin-bottom: 10px;
  color: #8deef0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}
body.page-kichiku-yaro #faq .lj-kichiku-faq {
  display: grid;
  gap: 10px;
  counter-reset: lj-faq;
}
body.page-kichiku-yaro #faq .lj-kichiku-faq details {
  position: relative;
  counter-increment: lj-faq;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(7,8,11,.62);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
body.page-kichiku-yaro #faq .lj-kichiku-faq details:hover {
  border-color: rgba(141,238,240,.52);
  background: rgba(14,17,22,.88);
}
body.page-kichiku-yaro #faq .lj-kichiku-faq details[open] {
  border-color: rgba(141,238,240,.65);
  background: rgba(18,24,29,.94);
}
body.page-kichiku-yaro #faq .lj-kichiku-faq summary {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 30px;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 15px 18px;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
body.page-kichiku-yaro #faq .lj-kichiku-faq summary::-webkit-details-marker { display: none; }
body.page-kichiku-yaro #faq .lj-kichiku-faq summary::before {
  content: "Q" counter(lj-faq, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 42px;
  height: 32px;
  color: #8deef0;
  border: 1px solid rgba(141,238,240,.38);
  border-radius: 4px;
  background: rgba(141,238,240,.08);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
}
body.page-kichiku-yaro #faq .lj-kichiku-faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform .2s ease, background .2s ease;
}
body.page-kichiku-yaro #faq .lj-kichiku-faq details[open] summary::after {
  content: "−";
  color: #101116;
  border-color: #8deef0;
  background: #8deef0;
}
body.page-kichiku-yaro #faq .lj-kichiku-faq summary:focus-visible {
  outline: 3px solid #ff278f;
  outline-offset: -3px;
}
body.page-kichiku-yaro #faq .lj-kichiku-faq details p {
  margin: 0;
  padding: 0 18px 20px 74px;
  color: #e5e8ed;
  font-size: .96rem;
  line-height: 1.8;
}
@media (max-width: 480px) {
  body.page-kichiku-yaro #faq { padding: 24px 16px; border-radius: 10px; }
  body.page-kichiku-yaro #faq .lj-kichiku-faq summary { grid-template-columns: 36px minmax(0,1fr) 26px; gap: 10px; padding: 14px 12px; font-size: .94rem; }
  body.page-kichiku-yaro #faq .lj-kichiku-faq summary::before { width: 36px; font-size: .65rem; }
  body.page-kichiku-yaro #faq .lj-kichiku-faq summary::after { width: 26px; height: 26px; }
  body.page-kichiku-yaro #faq .lj-kichiku-faq details p { padding: 0 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-kichiku-yaro #faq .lj-kichiku-faq details,
  body.page-kichiku-yaro #faq .lj-kichiku-faq summary::after { transition: none; }
}


/* FAQ見出しはデスクトップでは自然幅で表示し、狭い画面のみ折り返す。 */
body.page-kichiku-yaro #faq > h2 {
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 620px) {
  body.page-kichiku-yaro #faq > h2 {
    white-space: normal;
  }
}


/* 鬼畜野郎：作品紹介を情報表の前に整理する。 */
body.page-kichiku-yaro .lj-kichiku-work-card__pre-meta {
  min-width: 0;
}
body.page-kichiku-yaro .lj-kichiku-work-intro {
  display: grid;
  gap: 16px;
  margin: 22px 0 24px;
}
body.page-kichiku-yaro .lj-kichiku-work-intro > p,
body.page-kichiku-yaro .lj-kichiku-character p,
body.page-kichiku-yaro .lj-kichiku-highlight p {
  margin: 0;
  color: #dfe3e9;
  font-size: .91rem;
  line-height: 1.82;
}
body.page-kichiku-yaro .lj-kichiku-work-intro__lead {
  padding: 14px 15px;
  color: #f5f8fb !important;
  border-left: 3px solid #8deef0;
  background: linear-gradient(90deg, rgba(141,238,240,.12), rgba(141,238,240,0));
  font-weight: 650;
}
body.page-kichiku-yaro .lj-kichiku-character-grid {
  display: grid;
  gap: 12px;
}
body.page-kichiku-yaro .lj-kichiku-character {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  background: rgba(8,10,14,.44);
}
body.page-kichiku-yaro .lj-kichiku-character__index,
body.page-kichiku-yaro .lj-kichiku-highlight__label {
  margin-bottom: 7px !important;
  color: #8deef0 !important;
  font-size: .67rem !important;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2 !important;
}
body.page-kichiku-yaro .lj-kichiku-character h4,
body.page-kichiku-yaro .lj-kichiku-highlight h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.4;
}
body.page-kichiku-yaro .lj-kichiku-character__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 6px;
  margin: 0 0 13px;
  padding: 0;
  list-style: none;
}
body.page-kichiku-yaro .lj-kichiku-character__stats li {
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid rgba(141,238,240,.18);
  border-radius: 4px;
  background: rgba(141,238,240,.055);
}
body.page-kichiku-yaro .lj-kichiku-character__stats span,
body.page-kichiku-yaro .lj-kichiku-character__stats strong {
  display: block;
  overflow-wrap: anywhere;
}
body.page-kichiku-yaro .lj-kichiku-character__stats span {
  margin-bottom: 3px;
  color: #a9b2bd;
  font-size: .66rem;
  font-weight: 700;
}
body.page-kichiku-yaro .lj-kichiku-character__stats strong {
  color: #fff;
  font-size: .75rem;
  line-height: 1.35;
}
body.page-kichiku-yaro .lj-kichiku-character p + p,
body.page-kichiku-yaro .lj-kichiku-highlight p + p {
  margin-top: 10px;
}
body.page-kichiku-yaro .lj-kichiku-highlight {
  padding: 17px;
  border: 1px solid rgba(255,39,143,.30);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255,39,143,.10), rgba(255,39,143,0) 62%),
    rgba(13,12,17,.74);
}
body.page-kichiku-yaro .lj-kichiku-highlight__label {
  color: #ff9bc8 !important;
}
body.page-kichiku-yaro .lj-kichiku-work-card__body > dl {
  margin-top: 0;
  border-top: 1px solid rgba(141,238,240,.34);
}
@media (min-width: 881px) {
  body.page-kichiku-yaro .lj-kichiku-work-card__pre-meta {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  body.page-kichiku-yaro .lj-kichiku-work-intro { margin: 18px 0 21px; gap: 12px; }
  body.page-kichiku-yaro .lj-kichiku-character,
  body.page-kichiku-yaro .lj-kichiku-highlight { padding: 14px; }
  body.page-kichiku-yaro .lj-kichiku-character__stats { grid-template-columns: 1fr; gap: 5px; }
  body.page-kichiku-yaro .lj-kichiku-character__stats li {
    display: grid;
    grid-template-columns: 4.5em minmax(0,1fr);
    align-items: baseline;
    gap: 8px;
    padding: 7px 9px;
  }
  body.page-kichiku-yaro .lj-kichiku-character__stats span { margin: 0; }
}


/* モバイルでは固定ページ本文の外側余白を外し、コンテンツ幅を確保する。 */
@media (max-width: 768px) {
  body.page-kichiku-yaro .inside-article {
    padding: 0;
  }
}


/* 鬼畜野郎：全H2を章見出しとして統一する。 */
body.page-kichiku-yaro .entry-content {
  counter-reset: lj-kichiku-chapter;
}
body.page-kichiku-yaro .lj-kichiku-section {
  counter-increment: lj-kichiku-chapter;
}
body.page-kichiku-yaro .lj-kichiku-section > h2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  max-width: none;
  min-height: 76px;
  margin: 0 0 25px;
  padding: 0 0 16px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(141,238,240,.95), rgba(255,39,143,.62), rgba(255,255,255,0)) left bottom / 100% 1px no-repeat;
  font-size: clamp(1.55rem, 2.9vw, 2.45rem);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: .01em;
  white-space: normal;
}
body.page-kichiku-yaro .lj-kichiku-section > h2::before {
  content: none;
}
body.page-kichiku-yaro .lj-kichiku-section > h2::after {
  content: counter(lj-kichiku-chapter, decimal-leading-zero);
  align-self: end;
  color: rgba(141,238,240,.24);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 750;
  line-height: .78;
  letter-spacing: -.08em;
  pointer-events: none;
}
body.page-kichiku-yaro .lj-kichiku-section > .lj-kichiku-section__label + h2 {
  margin-top: -2px;
}
body.page-kichiku-yaro #faq > h2 {
  max-width: none;
  margin: 0 0 25px;
  padding: 0 0 16px;
  color: #fff;
  white-space: normal;
}
body.page-kichiku-yaro #faq > h2::before {
  content: none;
}
body.page-kichiku-yaro #faq > h2::after {
  content: counter(lj-kichiku-chapter, decimal-leading-zero);
  color: rgba(141,238,240,.24);
  border: 0;
  border-radius: 0;
  background: none;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: .78;
  transform: none;
}
@media (max-width: 680px) {
  body.page-kichiku-yaro .lj-kichiku-section > h2 {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 57px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }
  body.page-kichiku-yaro .lj-kichiku-section > h2::after,
  body.page-kichiku-yaro #faq > h2::after {
    font-size: 2.65rem;
  }
}


/* まとめセクションも同じ章見出しシステムに含める。 */
body.page-kichiku-yaro .lj-kichiku-summary {
  counter-increment: lj-kichiku-chapter;
}
body.page-kichiku-yaro .lj-kichiku-summary > h2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  max-width: none;
  min-height: 76px;
  margin: 0 0 25px;
  padding: 0 0 16px;
  color: #fff;
  background: linear-gradient(90deg, rgba(141,238,240,.95), rgba(255,39,143,.62), rgba(255,255,255,0)) left bottom / 100% 1px no-repeat;
  font-size: clamp(1.55rem, 2.9vw, 2.45rem);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: .01em;
}
body.page-kichiku-yaro .lj-kichiku-summary > h2::after {
  content: counter(lj-kichiku-chapter, decimal-leading-zero);
  align-self: end;
  color: rgba(141,238,240,.24);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 750;
  line-height: .78;
  letter-spacing: -.08em;
  pointer-events: none;
}
@media (max-width: 680px) {
  body.page-kichiku-yaro .lj-kichiku-summary > h2 {
    gap: 12px;
    min-height: 57px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }
  body.page-kichiku-yaro .lj-kichiku-summary > h2::after { font-size: 2.65rem; }
}


/* 章番号は表示しない。 */
body.page-kichiku-yaro .lj-kichiku-section > h2,
body.page-kichiku-yaro .lj-kichiku-summary > h2 {
  grid-template-columns: minmax(0, 1fr);
}
body.page-kichiku-yaro .lj-kichiku-section > h2::after,
body.page-kichiku-yaro .lj-kichiku-summary > h2::after,
body.page-kichiku-yaro #faq > h2::after {
  content: none;
  display: none;
}


/* 商品画像とカード本文を明確に分離し、年号が画像へ重ならないようにする。 */
body.page-kichiku-yaro .lj-kichiku-work-card__media {
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(141,238,240,.28);
}
body.page-kichiku-yaro .lj-kichiku-work-card__body {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 28px;
  background: #111114;
}
body.page-kichiku-yaro .lj-kichiku-work-card__year {
  position: static;
  clear: both;
  margin-top: 0;
}


/* アイキャッチは共通枠いっぱいに表示し、内側余白を設けない。 */
body.page-kichiku-yaro .lj-kichiku-work-card__media {
  padding: 0;
}


/* 第1作詳細ページ */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero{padding:clamp(28px,5vw,62px);margin:0 0 28px;border:1px solid rgba(141,238,240,.3);background:linear-gradient(135deg,rgba(28,68,74,.72),rgba(21,19,32,.88));}
body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{margin:.35em 0 0;font-size:clamp(1.65rem,4vw,3.2rem);line-height:1.25}
body.lj-gakuen-detail-page .lj-kichiku-detail-cover{margin:28px 0;border:1px solid rgba(141,238,240,.3);background:#101116;padding:0;text-align:center}
body.lj-gakuen-detail-page .lj-kichiku-detail-cover img{display:block;width:100%;max-height:560px;object-fit:contain;margin:auto}
body.lj-gakuen-detail-page .lj-gakuen-character__meta{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
body.lj-gakuen-detail-page .lj-gakuen-character__meta span{padding:7px 10px;border:1px solid rgba(141,238,240,.28);border-radius:4px;background:#151c20;color:#e2e2e9;font-weight:700;font-size:.88rem}
body.lj-gakuen-detail-page .lj-gakuen-work-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid rgba(141,238,240,.25);background:rgba(141,238,240,.18)}
body.lj-gakuen-detail-page .lj-gakuen-work-info div{padding:13px 15px;background:#111114}.lj-gakuen-detail-page .lj-gakuen-work-info dt{color:#83e8ec;font-size:.78rem;font-weight:700}.lj-gakuen-detail-page .lj-gakuen-work-info dd{margin:5px 0 0;color:#f1f1f4;font-weight:700}
body.lj-gakuen-detail-page .lj-kichiku-samples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.lj-gakuen-detail-page .lj-kichiku-sample{padding:0;border:1px solid rgba(141,238,240,.3);background:#101116;cursor:zoom-in}.lj-gakuen-detail-page .lj-kichiku-sample img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
body.lj-gakuen-detail-page .lj-gakuen-detail-cta,.lj-gakuen-detail-page .lj-gakuen-series-link__button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;margin-top:22px;border:1px solid #8deef0;background:#8deef0;color:#111114!important;font-weight:800;text-decoration:none}
body.lj-gakuen-detail-page .lj-gakuen-series-link__button{background:transparent;color:#8deef0!important}
@media(max-width:640px){body.lj-gakuen-detail-page .lj-gakuen-work-info{grid-template-columns:1fr}body.lj-gakuen-detail-page .lj-kichiku-samples{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.page-kichiku-yaro #gakuen.lj-kichiku-work-card--summary .lj-gakuen-parent-summary{margin-top:18px;color:#e2e2e9}body.page-kichiku-yaro #gakuen.lj-kichiku-work-card--summary h4{margin:24px 0 10px;color:#8deef0;font-size:1rem}body.page-kichiku-yaro #gakuen .lj-gakuen-parent-summary__cast{display:grid;gap:7px;padding:0;margin:0;list-style:none}body.page-kichiku-yaro #gakuen .lj-gakuen-parent-summary__cast li,body.page-kichiku-yaro #gakuen .lj-gakuen-parent-summary__facts div{padding:10px 12px;border:1px solid rgba(141,238,240,.22);background:#15191d}body.page-kichiku-yaro #gakuen .lj-gakuen-parent-summary__facts{display:grid;gap:7px;margin:0}body.page-kichiku-yaro #gakuen .lj-gakuen-parent-summary__facts dt{color:#8deef0;font-size:.78rem}body.page-kichiku-yaro #gakuen .lj-gakuen-parent-summary__facts dd{margin:3px 0 0;font-weight:700}body.page-kichiku-yaro #gakuen .lj-gakuen-parent-detail-link{margin:22px 0 0}body.page-kichiku-yaro #gakuen .lj-gakuen-parent-detail-link a{color:#8deef0;font-weight:800;text-decoration:underline;text-underline-offset:4px}

/* Detail page repair */
body.lj-gakuen-detail-page .lj-gakuen-work-info{display:block!important;width:100%;box-sizing:border-box;padding:clamp(20px,3vw,34px);margin:28px 0;background:#111114;border:1px solid rgba(141,238,240,.28);border-radius:12px}
body.lj-gakuen-detail-page .lj-gakuen-work-info>h2{display:block!important;width:100%;margin:0 0 18px!important;padding:0 0 14px;border-bottom:1px solid rgba(255,78,159,.35);font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.35;color:#f7f7fa}
body.lj-gakuen-detail-page .lj-gakuen-work-info .lj-kichiku-work-card__body{display:block!important;width:100%;padding:0!important;background:transparent!important}
body.lj-gakuen-detail-page .lj-gakuen-work-info dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0;padding:0}
body.lj-gakuen-detail-page .lj-gakuen-work-info dl>div{display:grid;grid-template-columns:6.5em minmax(0,1fr);gap:10px;align-items:start;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.12);min-width:0}
body.lj-gakuen-detail-page .lj-gakuen-work-info dt{margin:0;color:#8deef0;font-size:.78rem;font-weight:700;line-height:1.5}
body.lj-gakuen-detail-page .lj-gakuen-work-info dd{margin:0;color:#f1f1f4;font-size:.92rem;font-weight:700;line-height:1.55;overflow-wrap:anywhere}
body.lj-gakuen-detail-page .lj-gakuen-samples{display:block!important;width:100%;box-sizing:border-box;padding:clamp(20px,3vw,34px);margin:28px 0;background:#111114;border:1px solid rgba(141,238,240,.2);border-radius:12px}
body.lj-gakuen-detail-page .lj-gakuen-samples>h2{display:block!important;margin:0 0 18px!important;color:#f7f7fa}
body.lj-gakuen-detail-page .lj-kichiku-inline-samples{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;margin:0!important}
body.lj-gakuen-detail-page .lj-kichiku-sample{display:block!important;width:100%;min-width:0;min-height:0;padding:0;border:1px solid rgba(141,238,240,.3);border-radius:8px;overflow:hidden;background:#050506;cursor:zoom-in}
body.lj-gakuen-detail-page .lj-kichiku-sample img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;background:#050506}
body.lj-gakuen-detail-page .lj-gakuen-detail-cta{display:block!important;width:100%;margin:26px 0 0!important;padding:0!important;text-align:center}
body.lj-gakuen-detail-page .lj-gakuen-detail-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 30px;border:1px solid #ff4e9f;border-radius:8px;background:linear-gradient(135deg,#ff2474,#d90b58);box-shadow:0 8px 20px rgba(255,36,116,.22);color:#fff!important;font-size:1rem;font-weight:800;line-height:1.2;text-decoration:none}
body.lj-gakuen-detail-page dialog.lj-kichiku-viewer{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;width:min(94vw,980px);max-width:94vw;max-height:92vh;overflow:hidden;z-index:100000;padding:0;border:1px solid rgba(141,238,240,.45);border-radius:12px;background:#101116;color:#f7f7fa;box-shadow:0 24px 80px rgba(0,0,0,.65)}
body.lj-gakuen-detail-page dialog.lj-kichiku-viewer[open]{display:block}
body.lj-gakuen-detail-page dialog.lj-kichiku-viewer::backdrop{background:rgba(0,0,0,.82)}
body.lj-gakuen-detail-page .lj-kichiku-viewer__image{height:min(72vh,680px)!important;min-height:0!important;background:#050506}
body.lj-gakuen-detail-page .lj-kichiku-viewer__image img{width:100%;height:100%;object-fit:contain!important}
@media (max-width:640px){body.lj-gakuen-detail-page .lj-gakuen-work-info dl{grid-template-columns:1fr}body.lj-gakuen-detail-page .lj-kichiku-inline-samples{grid-template-columns:repeat(2,minmax(0,1fr))}body.lj-gakuen-detail-page .lj-gakuen-work-info dl>div{grid-template-columns:5.5em minmax(0,1fr)}}
@media (max-width:360px){body.lj-gakuen-detail-page .lj-kichiku-inline-samples{grid-template-columns:1fr}}


/* First-work detail refinements */
body.lj-gakuen-detail-page .lj-kichiku-detail-cover{display:block;width:100%;height:auto!important;max-height:none!important;margin:28px 0;background:#101116;border:1px solid rgba(141,238,240,.28);border-radius:12px;overflow:hidden;padding:0!important;line-height:0;text-align:center}
body.lj-gakuen-detail-page .lj-kichiku-detail-cover img{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;margin:0 auto}
body.lj-gakuen-detail-page .lj-gakuen-character__meta{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 22px}
body.lj-gakuen-detail-page .lj-gakuen-character__meta span{display:block;min-width:0;padding:10px 12px;border:1px solid rgba(141,238,240,.24);border-radius:6px;background:#1a2024;color:#f4f6f8;font-size:.86rem;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
body.lj-gakuen-detail-page .lj-gakuen-character__meta span::first-line{color:#8deef0}
body.lj-gakuen-detail-page .lj-gakuen-character__eyebrow{margin:0 0 8px;color:#8deef0;font:700 .72rem/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.16em;text-transform:uppercase}
body.lj-gakuen-detail-page .lj-gakuen-detail-cta{background:transparent!important;box-shadow:none!important}
@media (max-width:640px){body.lj-gakuen-detail-page .lj-gakuen-character__meta{grid-template-columns:1fr;gap:7px;margin-bottom:20px}}


/* Detail page sample gallery sizing and parent-page label treatment */
body.lj-gakuen-detail-page .lj-gakuen-character__eyebrow{margin:0 0 7px!important;color:#8deef0!important;font-size:.67rem!important;font-weight:800;letter-spacing:.12em;line-height:1.2;text-transform:uppercase}
body.lj-gakuen-detail-page .lj-kichiku-inline-samples{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:start}
body.lj-gakuen-detail-page .lj-kichiku-sample{height:auto!important;aspect-ratio:auto!important;overflow:hidden;background:#050506;border:1px solid rgba(141,238,240,.3);padding:0!important}
body.lj-gakuen-detail-page .lj-kichiku-sample img{display:block;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;background:#050506}
body.lj-gakuen-detail-page .lj-gakuen-detail-cta{border:0!important;outline:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
@media (max-width:640px){body.lj-gakuen-detail-page .lj-kichiku-inline-samples{grid-template-columns:1fr!important;gap:12px!important}}


/* Detail page visual refinement */
body.lj-gakuen-detail-page .lj-kichiku-inline-samples{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body.lj-gakuen-detail-page .lj-kichiku-detail-hero{position:relative;isolation:isolate;overflow:hidden;margin:0 0 clamp(28px,5vw,52px);padding:clamp(28px,5vw,58px) clamp(22px,5vw,64px);border:1px solid rgba(141,238,240,.28);border-radius:16px;background:radial-gradient(circle at 90% 10%,rgba(255,78,159,.16),transparent 36%),radial-gradient(circle at 10% 90%,rgba(141,238,240,.13),transparent 42%),linear-gradient(135deg,#11161b,#17121b 72%,#111114);box-shadow:0 18px 44px rgba(0,0,0,.24)}
body.lj-gakuen-detail-page .lj-kichiku-detail-hero::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.22;background-image:linear-gradient(rgba(141,238,240,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(141,238,240,.18) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(135deg,black,transparent 78%)}
body.lj-gakuen-detail-page .lj-kichiku-detail-hero::after{content:"01 / WORK DETAIL";position:absolute;right:clamp(16px,4vw,48px);bottom:clamp(16px,3vw,30px);color:rgba(255,255,255,.2);font:800 clamp(1.2rem,4vw,2.6rem)/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;pointer-events:none}
body.lj-gakuen-detail-page .lj-kichiku-detail-hero .lj-kichiku-eyebrow{display:inline-flex;margin:0 0 14px;padding:6px 10px;border:1px solid rgba(141,238,240,.45);border-radius:999px;background:rgba(9,18,22,.5);color:#8deef0;font:800 .68rem/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.14em}
body.lj-gakuen-detail-page .lj-kichiku-detail-hero .lj-kichiku-brand{margin:0 0 14px;color:#ff9ac8;font-size:.9rem;font-weight:700;letter-spacing:.08em}
body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{position:relative;z-index:1;max-width:20ch;margin:0;color:#fff;font-size:clamp(1.8rem,4.2vw,3.2rem);line-height:1.22;letter-spacing:.01em;text-wrap:balance}
body.lj-gakuen-detail-page .lj-gakuen-series-link{text-align:center}
body.lj-gakuen-detail-page .lj-gakuen-series-link>p:last-child{margin-top:24px;text-align:center}
body.lj-gakuen-detail-page .lj-gakuen-series-link__button{display:inline-flex!important;align-items:center;justify-content:center;min-height:50px;padding:12px 26px;border:1px solid rgba(141,238,240,.55);border-radius:8px;background:linear-gradient(135deg,#15252a,#1d1721);color:#f7f7fa!important;font-weight:800;text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,.2)}
@media (max-width:640px){body.lj-gakuen-detail-page .lj-kichiku-inline-samples{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}body.lj-gakuen-detail-page .lj-kichiku-detail-hero{padding:28px 20px}body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{max-width:none;font-size:clamp(1.55rem,7vw,2.2rem)}body.lj-gakuen-detail-page .lj-kichiku-detail-hero::after{font-size:1rem}}


/* Keep detail hero marker clear of the title */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero{padding-top:clamp(38px,6vw,72px)}
body.lj-gakuen-detail-page .lj-kichiku-detail-hero::after{top:18px;right:clamp(16px,4vw,48px);bottom:auto;font-size:clamp:.72rem,1.5vw,1rem;letter-spacing:.12em;white-space:nowrap}
body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{max-width:min(18ch,100%);padding-right:0}
@media (max-width:640px){body.lj-gakuen-detail-page .lj-kichiku-detail-hero{padding-top:54px}body.lj-gakuen-detail-page .lj-kichiku-detail-hero::after{top:18px;right:20px;font-size:.72rem}body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{max-width:100%}}

/* Final marker overlap override */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero::after{top:18px!important;right:clamp(16px,4vw,48px)!important;bottom:auto!important;font-size:1rem!important;line-height:1!important;white-space:nowrap!important}
@media (max-width:640px){body.lj-gakuen-detail-page .lj-kichiku-detail-hero::after{top:18px!important;right:20px!important;font-size:.72rem!important}}

/* Remove redundant detail marker; keep WORK DETAIL / SERIES 01 eyebrow */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero::after{content:none!important;display:none!important}

/* Remove spacing reserved for deleted marker */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero{padding-top:clamp(28px,5vw,58px)!important}
@media (max-width:640px){body.lj-gakuen-detail-page .lj-kichiku-detail-hero{padding-top:28px!important}}

/* Use the full title column; remove artificial right whitespace */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{display:block;width:100%;max-width:none!important;padding-right:0!important;margin-right:0!important}

/* Trim unused right space around detail title text */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{width:fit-content!important;max-width:100%!important}

/* Let the title box hug its text while staying responsive */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{display:inline-block!important;width:auto!important;max-width:100%!important}


/* Retry: let Japanese title wrap naturally instead of balancing short lines */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{display:block!important;width:100%!important;max-width:none!important;text-wrap:wrap!important;overflow-wrap:normal!important;word-break:normal!important}

/* Fit the work title across two readable lines on desktop */
body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{font-size:clamp(1.75rem,3vw,2.35rem)!important;line-height:1.3!important}

/* Keep the long Japanese work title to two lines on narrow phones */
@media (max-width:640px){body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{font-size:1.05rem!important;line-height:1.42!important;letter-spacing:-.025em!important}}

/* Keep the long Japanese work title to two lines on narrow phones */
@media (max-width:640px){body.lj-gakuen-detail-page .lj-kichiku-detail-hero h1{font-size:1.05rem!important;line-height:1.42!important;letter-spacing:-.025em!important}}


/* Parent archive: let each cover image define its mobile media frame without cropping. */
@media (max-width:768px){
  body.page-kichiku-yaro .lj-kichiku-work-card__media{display:block!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;padding:0!important;line-height:0;overflow:hidden}
  body.page-kichiku-yaro .lj-kichiku-work-card__media img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;margin:0 auto}
}

/* Prevent the flex card from shrinking cover media below its image height on phones. */
@media (max-width:768px){body.page-kichiku-yaro .lj-kichiku-work-card__media{flex:0 0 auto!important;align-self:stretch!important;block-size:fit-content!important;overflow:visible!important}body.page-kichiku-yaro .lj-kichiku-work-card__media img{position:static!important}}

/* Explicitly apply the intrinsic mobile media sizing to every archive work card. */
@media (max-width:768px){body.page-kichiku-yaro .lj-kichiku-work-card .lj-kichiku-work-card__media{display:block!important;flex:0 0 auto!important;width:100%!important;height:fit-content!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important}body.page-kichiku-yaro .lj-kichiku-work-card .lj-kichiku-work-card__media>img{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;margin:0 auto!important}}

/* Override the legacy fixed media height for the third work and Trinity on phones. */
@media (max-width:768px){body.page-kichiku-yaro #innai .lj-kichiku-work-card__media,body.page-kichiku-yaro #trinity .lj-kichiku-work-card__media{display:block!important;flex:0 0 auto!important;width:100%!important;height:fit-content!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important}body.page-kichiku-yaro #innai .lj-kichiku-work-card__media>img,body.page-kichiku-yaro #trinity .lj-kichiku-work-card__media>.lj-kichiku-product-image{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;margin:0 auto!important}}


/* First-work detail breadcrumb */
body.lj-gakuen-detail-page .lj-gakuen-detail-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 clamp(18px,3vw,30px);padding:10px 0;border-bottom:1px solid rgba(141,238,240,.22);color:#a9b7bd;font-size:.78rem;line-height:1.5}
body.lj-gakuen-detail-page .lj-gakuen-detail-breadcrumbs a{color:#8deef0;text-decoration:none}
body.lj-gakuen-detail-page .lj-gakuen-detail-breadcrumbs a:hover,body.lj-gakuen-detail-page .lj-gakuen-detail-breadcrumbs a:focus-visible{text-decoration:underline}
body.lj-gakuen-detail-page .lj-gakuen-detail-breadcrumbs span[aria-hidden="true"]{color:#ff82b8}
body.lj-gakuen-detail-page .lj-gakuen-detail-breadcrumbs span[aria-current="page"]{color:#e2e2e9}

/* Series detail parity and responsive refinements */
body.lj-gakuen-detail-page .lj-kichiku-viewer__image{display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden}
body.lj-gakuen-detail-page .lj-kichiku-viewer__image img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100vh - 180px)!important;object-fit:contain!important}
body.lj-gakuen-detail-page .lj-gakuen-series-link__copy{text-align:left!important}
body.lj-gakuen-detail-page .lj-gakuen-series-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;margin-top:24px}
body.lj-gakuen-detail-page .lj-gakuen-series-links>p{display:flex;align-items:stretch;margin:0}
body.lj-gakuen-detail-page .lj-gakuen-series-links .lj-gakuen-series-link__button{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:50px;box-sizing:border-box;text-align:center}
body.page-kichiku-yaro .lj-kichiku-work-card--summary .lj-kichiku-work-card__body{display:flex;flex-direction:column}
body.page-kichiku-yaro .lj-kichiku-work-card--summary .lj-gakuen-parent-summary{display:flex;flex-direction:column;height:100%}
body.page-kichiku-yaro .lj-kichiku-work-card--summary .lj-gakuen-parent-cta{margin-top:auto!important}
@media (max-width:640px){
 body.lj-gakuen-detail-page .lj-gakuen-series-links{grid-template-columns:1fr}
}

body.page-kichiku-yaro .lj-kichiku-work-card--summary .lj-gakuen-parent-detail-link{margin-top:22px!important;margin-bottom:0!important}

/* Make the second work card use the exact first-work summary treatment */
body.page-kichiku-yaro #miko.lj-kichiku-work-card--summary .lj-gakuen-parent-summary{margin-top:18px;color:#e2e2e9}
body.page-kichiku-yaro #miko.lj-kichiku-work-card--summary h4{margin:24px 0 10px;color:#8deef0;font-size:1rem}
body.page-kichiku-yaro #miko .lj-gakuen-parent-summary__cast{display:grid;gap:7px;padding:0;margin:0;list-style:none}
body.page-kichiku-yaro #miko .lj-gakuen-parent-summary__cast li,body.page-kichiku-yaro #miko .lj-gakuen-parent-summary__facts div{padding:10px 12px;border:1px solid rgba(141,238,240,.22);background:#15191d}
body.page-kichiku-yaro #miko .lj-gakuen-parent-summary__facts{display:grid;gap:7px;margin:0}
body.page-kichiku-yaro #miko .lj-gakuen-parent-summary__facts dt{color:#8deef0;font-size:.78rem}
body.page-kichiku-yaro #miko .lj-gakuen-parent-summary__facts dd{margin:3px 0 0;font-weight:700}
body.page-kichiku-yaro #miko .lj-gakuen-parent-detail-link{margin:22px 0 0}
body.page-kichiku-yaro #miko .lj-gakuen-parent-detail-link a{color:#8deef0;font-weight:800;text-decoration:underline;text-underline-offset:4px}



/* Trinity収録作品カード */
body.page-id-174 .lj-trinity-included__heading{
	display:flex;
	align-items:center;
	gap:14px;
	margin:36px 0 18px;
	color:#f7f7fa;
	font-size:clamp(1.15rem,2vw,1.4rem);
	letter-spacing:.03em;
}
body.page-id-174 .lj-trinity-included__heading::after{
	content:"";
	flex:1;
	height:1px;
	background:linear-gradient(90deg,rgba(141,238,240,.55),rgba(255,78,159,.08));
}
body.page-id-174 .lj-trinity-included{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:12px;
	margin:0;
	padding:0;
	list-style:none;
}
body.page-id-174 .lj-trinity-included li{min-width:0;margin:0}
body.page-id-174 .lj-trinity-included a{
	position:relative;
	display:flex;
	flex-direction:column;
	min-height:174px;
	box-sizing:border-box;
	overflow:hidden;
	padding:22px 20px 20px;
	border:1px solid rgba(141,238,240,.25);
	border-radius:12px;
	background:radial-gradient(circle at 100% 0,rgba(255,78,159,.16),transparent 48%),linear-gradient(145deg,#141c21,#17131a);
	box-shadow:0 12px 30px rgba(0,0,0,.2);
	color:#f7f7fa;
	text-decoration:none;
	transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
body.page-id-174 .lj-trinity-included a::before{
	content:"";
	position:absolute;
	inset:0 0 auto;
	height:3px;
	background:linear-gradient(90deg,#8deef0,#ff4e9f);
	opacity:.8;
}
body.page-id-174 .lj-trinity-included__number{
	position:absolute;
	top:10px;
	right:14px;
	color:rgba(255,255,255,.09);
	font:900 3.5rem/1 ui-monospace,SFMono-Regular,Consolas,monospace;
	letter-spacing:-.08em;
	pointer-events:none;
}
body.page-id-174 .lj-trinity-included__meta{
	position:relative;
	z-index:1;
	margin:0 0 18px;
	color:#8deef0;
	font:800 .67rem/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;
	letter-spacing:.12em;
}
body.page-id-174 .lj-trinity-included strong{
	position:relative;
	z-index:1;
	display:block;
	max-width:16em;
	padding-right:10px;
	color:#fff;
	font-size:.98rem;
	line-height:1.65;
}
body.page-id-174 .lj-trinity-included__arrow{
	position:relative;
	z-index:1;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:34px;
	height:34px;
	margin-top:auto;
	border:1px solid rgba(255,78,159,.55);
	border-radius:999px;
	background:rgba(255,78,159,.08);
	color:#ff9ac8;
	font-size:1.05rem;
	transition:transform .22s ease,background .22s ease,color .22s ease;
}
body.page-id-174 .lj-trinity-included a:hover,
body.page-id-174 .lj-trinity-included a:focus-visible{
	transform:translateY(-4px);
	border-color:rgba(141,238,240,.7);
	box-shadow:0 18px 38px rgba(0,0,0,.32),0 0 0 1px rgba(255,78,159,.14);
	outline:none;
}
body.page-id-174 .lj-trinity-included a:hover .lj-trinity-included__arrow,
body.page-id-174 .lj-trinity-included a:focus-visible .lj-trinity-included__arrow{
	transform:translateX(4px);
	background:#ff4e9f;
	color:#fff;
}
@media(max-width:700px){
	body.page-id-174 .lj-trinity-included{grid-template-columns:1fr;gap:10px}
	body.page-id-174 .lj-trinity-included a{min-height:132px;padding:19px 18px 17px}
	body.page-id-174 .lj-trinity-included__meta{margin-bottom:10px}
	body.page-id-174 .lj-trinity-included strong{max-width:none;padding-right:52px}
	body.page-id-174 .lj-trinity-included__arrow{position:absolute;right:18px;bottom:17px}
}



/* Trinity親ページサマリーカード：第1〜第3弾と同一装飾 */
body.page-kichiku-yaro #trinity.lj-kichiku-work-card--summary .lj-gakuen-parent-summary{margin-top:18px;color:#e2e2e9}
body.page-kichiku-yaro #trinity.lj-kichiku-work-card--summary h4{margin:24px 0 10px;color:#8deef0;font-size:1rem}
body.page-kichiku-yaro #trinity .lj-gakuen-parent-summary__cast{display:grid;gap:7px;padding:0;margin:0;list-style:none}
body.page-kichiku-yaro #trinity .lj-gakuen-parent-summary__cast li,
body.page-kichiku-yaro #trinity .lj-gakuen-parent-summary__facts div{padding:10px 12px;border:1px solid rgba(141,238,240,.22);background:#15191d}
body.page-kichiku-yaro #trinity .lj-gakuen-parent-summary__facts{display:grid;gap:7px;margin:0}
body.page-kichiku-yaro #trinity .lj-gakuen-parent-summary__facts dt{color:#8deef0;font-size:.78rem}
body.page-kichiku-yaro #trinity .lj-gakuen-parent-summary__facts dd{margin:3px 0 0;font-weight:700}
body.page-kichiku-yaro #trinity .lj-gakuen-parent-detail-link{margin:22px 0 0}
body.page-kichiku-yaro #trinity .lj-gakuen-parent-detail-link a{color:#8deef0;font-weight:800;text-decoration:underline;text-underline-offset:4px}



/* TAKE OUT archive: mobile-first work cards and compact comparison table (2026-08-11) */
@media (max-width: 520px) {
    body.page-ljpa .ljv .ljv-work__inner {
        display: block;
        padding: 14px;
    }

    body.page-ljpa .ljv .ljv-work img {
        display: block;
        width: 100%;
        height: clamp(230px, 76vw, 310px);
        margin: 0 0 14px;
        object-fit: contain;
        border-radius: 10px;
    }

    body.page-ljpa .ljv .ljv-work h2 {
        margin: 4px 0 8px;
        font-size: 1.12rem;
        line-height: 1.4;
    }

    body.page-ljpa .ljv .ljv-work p {
        margin: 8px 0 0;
        font-size: .9rem;
        line-height: 1.65;
    }

    body.page-ljpa .ljv .ljv-work .ljv-tags {
        gap: 6px;
        margin-top: 12px;
    }

    body.page-ljpa .ljv .ljv-work .ljv-tag {
        padding: 5px 9px;
        font-size: .75rem;
    }

    body.page-ljpa .ljv .ljv-work .ljv-more {
        margin-top: 10px;
    }
}

@media (max-width: 720px) {
    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec:has(> .ljv-table) {
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--panel);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--accent) var(--panel2);
    }

    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec:has(> .ljv-table) > h2 {
        position: sticky;
        left: 0;
        width: calc(100vw - 34px);
        margin: 0;
        padding: 14px 12px 5px;
        font-size: 1.25rem;
        background: var(--panel);
    }

    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec:has(> .ljv-table) > h2::after {
        display: block;
        margin-top: 5px;
        color: var(--muted);
        content: "横にスワイプして比較できます →";
        font-size: .68rem;
        font-weight: 400;
        line-height: 1.25;
        letter-spacing: .03em;
    }

    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table {
        width: 680px;
        min-width: 680px;
        margin: 0;
        table-layout: fixed;
        font-size: .78rem;
    }

    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table th,
    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table td {
        padding: 7px 9px;
        line-height: 1.35;
        white-space: nowrap;
    }

    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table th:nth-child(1),
    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table td:nth-child(1) {
        position: sticky;
        left: 0;
        z-index: 1;
        width: 170px;
    }

    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table th:nth-child(1) {
        z-index: 2;
        background: var(--panel2);
    }

    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table td:nth-child(1) {
        background: var(--panel);
        font-weight: 700;
    }

    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table th:nth-child(2),
    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table td:nth-child(2) {
        width: 165px;
    }

    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table th:nth-child(3),
    body.page-ljpa .ljv .ljv-hero--archive ~ .ljv-sec > .ljv-table td:nth-child(3) {
        width: 345px;
    }
}


/* TAKE OUT refinements: natural mobile images, larger viewer, equal desktop check cards (2026-08-11) */
@media (max-width: 520px) {
    body.page-ljpa .ljv .ljv-work img {
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        object-fit: initial;
        background: transparent;
    }
}

body.page-ljpa .ljv-viewer {
    width: min(96vw, 1440px);
    height: min(94dvh, 1000px);
    max-width: 96vw;
    max-height: 94dvh;
}

body.page-ljpa .ljv-viewer__image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

@media (min-width: 821px) {
    body.page-ljpa .ljv .ljv-split > div {
        display: flex;
        min-width: 0;
        flex-direction: column;
    }

    body.page-ljpa .ljv .ljv-split > div > .ljv-list {
        width: 100%;
        flex: 1 1 auto;
    }
}


/* Keep enlarged viewer images inside the available stage. */
body.page-ljpa .ljv-viewer__image {
    position: relative;
}

body.page-ljpa .ljv-viewer__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/* TAKE OUT archive: remove letterbox space around card images at every viewport. */
body.page-ljpa .ljv .ljv-work img {
    align-self: start;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: initial;
    background: transparent;
}


/* Official FANZA affiliate-link presentation for commercial work pages. */
.lj-work-post .lj-work-cover > a,
.lj-work-post .lj-work-cover > a > img {
	display: block;
	width: 100%;
}
.lj-work-post .lj-work-cta {
	width: min(100%, 400px);
	margin: 26px auto 18px;
}
.lj-work-post .lj-work-cta > a {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 58px;
	min-height: 58px;
	padding: 12px 18px;
	border: 1px solid #ff2d7d;
	border-radius: 8px;
	background: linear-gradient(135deg, #ff2474, #d90b58);
	color: #fff !important;
	font-weight: 800;
	letter-spacing: .08em;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(255, 25, 105, .2);
	transition: transform .18s ease, filter .18s ease;
}
.lj-work-post .lj-work-cta > a:hover,
.lj-work-post .lj-work-cta > a:focus-visible {
	transform: translateY(-2px);
	filter: brightness(1.08);
}
.lj-work-post .lj-work-read-cta {
	width: auto;
	margin: 26px 0 24px;
	text-align: center;
}
.lj-work-post .lj-work-read-cta > a {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: min(100%, 400px);
	min-width: 0;
	height: 58px;
	margin-right: auto;
	margin-left: auto;
	min-height: 58px;
	padding: 12px 18px;
	border: 1px solid #dc7400;
	border-radius: 8px;
	background: #f39800;
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}
.lj-work-post .lj-work-read-cta > a:hover,
.lj-work-post .lj-work-read-cta > a:focus-visible {
	background: #df8700;
}


/* Keep doujin sample images at the full article width, including 560px source files. */
body.lj-work-post article.category-doujin .lj-work-gallery .lj-work-sample {
	width: 100%;
	max-width: none;
}
body.lj-work-post article.category-doujin .lj-work-gallery .lj-work-sample > img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}


/* Doujin category cards: show one cover image. Commercial cards keep two images. */
body.category-doujin .lj-card__images {
	grid-template-columns: minmax( 0, 1fr );
	place-items: center;
}
body.category-doujin .lj-card__images > img:first-child {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
body.category-doujin .lj-card__images > img:not(:first-child) {
	display: none !important;
}

/* Tighter category-card spacing on mobile for eroge and doujin only. */
@media ( max-width: 768px ) {
	body.category-eroge .lj-category-grid,
	body.category-doujin .lj-category-grid {
		gap: 8px;
	}
}

/* Remove the space below doujin card images on mobile only. */
@media ( max-width: 768px ) {
	body.category-doujin .lj-card__images {
		height: auto;
		min-height: 0;
	}
	body.category-doujin .lj-card__images > img:first-child {
		height: auto;
	}
	body.category-doujin .lj-card__body {
		padding-top: 0;
	}
}


/* Match doujin cards to game cards on mobile; keep meta text unchanged. */
@media ( max-width: 768px ) {
	body.category-doujin .lj-card__body {
		padding: 16px;
	}
	body.category-doujin .lj-card__title {
		font-size: 16px;
		line-height: 1.55;
	}
	body.category-doujin .lj-card__images > img:first-child {
		border-bottom-right-radius: 10px;
	}
}


/* Match restored-game publication dates to the other category cards. */
body.category-eroge .lj-restored-game-card__body > p {
	display: flex !important;
	justify-content: flex-end !important;
	margin: 10px 0 0 !important;
	color: #aaaab5 !important;
	font-size: .72rem !important;
	line-height: 1.5 !important;
	text-align: right !important;
}
body.category-eroge .lj-restored-game-card__body > p time {
	color: #aaaab5 !important;
	font-size: .72rem !important;
	line-height: 1.5 !important;
}

/* Stack doujin circle and publication date on mobile only. */
@media ( max-width: 768px ) {
	body.category-doujin .lj-card__meta {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 2px;
	}
	body.category-doujin .lj-card__meta time {
		align-self: flex-start;
	}
}

/* Match related-card image spacing on legacy fixed pages. */
body.page .lj-discovery__grid .lj-card__images--single {
	min-height: 0;
}
