/*
Theme Name: グラビア情報局
Theme URI: https://gravure-joho.com/
Description: グラビア情報局の専用テーマ。雑誌のつくり（表紙・特集・袋とじ・目次・奥付）をそのままページの構成にしたデザイン。外部への依存はGoogle Fonts（見出しの明朝1書体のみ）。
Version: 4.1.29
Requires at least: 6.4
Requires PHP: 7.4
Author: site owner
License: GPL-2.0-or-later
Text Domain: gravure-joho
*/

:root {
	--paper: #f4e7e3;      /* 素肌のような薄紅の背景紙 */
	--paper-2: #ecd5ce;
	--paper-3: #dcb3aa;    /* 背景紙の床に落ちる影（肌の陰） */
	--sheet: #fbf3f0;      /* 刷り上がった表紙の紙 */
	--ink: #3b0d1c;        /* 赤ワインのような臙脂の墨 */
	--velvet: #2a0813;     /* ベルベットの影 */
	--on-ink: #f6e2dd;     /* 臙脂の上の文字 */
	--on-ink-2: #d9aeb7;
	--ink-2: #7b4652;
	--lip: #d4154b;        /* 濡れた口紅の紅（差し色はこれだけ） */
	--lip-deep: #a80f3a;
	--line: rgba(59, 13, 28, 0.16);
	--mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Noto Serif JP", serif;
	--gothic: "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", sans-serif;
	--wrap: 1180px;
	--gut: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--gothic);
	font-size: 16px;
	line-height: 1.8;
	font-feature-settings: "palt" 1;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lip); outline-offset: 3px; border-radius: 2px; }
.gj-skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.gj-skip:focus { left: 8px; top: 8px; }

/* ---------- プラグイン（site-basics）の見た目をテーマに合わせる ---------- */
body .sb-pr-banner { background: var(--paper-2); color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 12px; }
body .sb-pr-inline { background: var(--paper-2); color: var(--ink-2); border-left-color: var(--lip); }
html.sb-locked #sb-age-gate { background: var(--velvet); }
#sb-age-gate .sb-box { background: radial-gradient(120% 90% at 30% 0%, #5a1529, var(--velvet)); font-family: var(--gothic); border-radius: 4px; }
#sb-age-gate h2 { font-family: var(--mincho); font-weight: 900; font-size: 26px; letter-spacing: 0.08em; }
#sb-age-gate .sb-yes { background: var(--lip); border-radius: 4px; }
#sb-age-gate .sb-no { background: transparent; color: var(--on-ink-2); border: 1px solid rgba(246, 226, 221, 0.3); border-radius: 4px; }

/* ---------- ヘッダー ---------- */
.gj-head { position: relative; z-index: 2; }
.gj-head__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gut);
	display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.gj-logo { font-family: var(--mincho); font-weight: 900; font-size: 21px; text-decoration: none; }
.gj-nav { margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.gj-nav::-webkit-scrollbar { display: none; }
.gj-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; white-space: nowrap; }
.gj-nav__list a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.gj-nav__list a:hover, .gj-nav__list .current-menu-item a { color: var(--ink); text-decoration: underline; }
body:not(.home) .gj-head { border-bottom: 1px solid var(--line); }

.gj-main { display: block; }

/* =========================================================
   ヒーロー：作品パッケージの帯が上下で逆向きに流れ、間に誌名の帯
   パッケージ画像は加工しない（DMMの画像ルール：拡大・縮小のみ）。
   切り抜き・傾き・色変え・画像の上に重ねる表示はしない。
   ========================================================= */
.gj-hero {
	--tile: clamp(132px, 15vw, 210px);
	position: relative;
	display: flex; flex-direction: column; gap: 14px;
	padding: 14px 0;
	overflow: hidden;
	background: var(--velvet); color: var(--on-ink);
}
.gj-hero__strip { overflow: hidden; }
.gj-hero__track { display: flex; align-items: center; gap: 14px; width: max-content; animation: gj-flow 90s linear infinite; will-change: transform; }
.gj-hero__strip--1 .gj-hero__track { animation-duration: 75s; animation-direction: reverse; }
.gj-hero.is-off .gj-hero__track { animation-play-state: paused; }
@keyframes gj-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.gj-hero__pk { flex: none; display: block; height: var(--tile); border-radius: 3px; overflow: hidden; background: #4a1022; }
/* 画像は元の縦横比のまま、高さだけそろえる（切り抜かない） */
.gj-hero__pk img { display: block; height: 100%; width: auto; max-width: none; }
/* 作品がまだ無いときの、色見本のパッケージ */
.gj-hero__pk--blank {
	width: calc(var(--tile) * 0.75);
	background:
		linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.35) 62% 64%, transparent 64%),
		radial-gradient(70% 55% at 70% 30%, rgba(255, 220, 228, calc(0.18 + var(--h) * 0.004)), transparent 70%),
		linear-gradient(160deg, hsl(calc(332deg + var(--h) * 1deg) 62% 38%), hsl(calc(345deg + var(--h) * 0.5deg) 70% 16%));
}

/* 誌名の帯（画像とは重ならない） */
.gj-hero__band {
	--mx: 50%; --my: 50%;
	position: relative; isolation: isolate;
	padding: clamp(36px, 6vw, 72px) var(--gut);
	background:
		radial-gradient(60% 120% at 50% 50%, #4a0f24 0%, var(--velvet) 70%);
	border-block: 1px solid rgba(246, 226, 221, 0.12);
}
.gj-hero__light {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(380px 260px at var(--mx) var(--my), rgba(232, 41, 95, 0.32), rgba(232, 41, 95, 0) 70%);
}
.gj-hero__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gj-hero__title {
	margin: 0;
	font-family: var(--mincho); font-weight: 900;
	font-size: clamp(46px, 8vw, 116px); line-height: 1.02; letter-spacing: 0.01em;
	color: #fff4f1;
	text-shadow: 0 0 40px rgba(232, 41, 95, 0.45), 0 2px 0 rgba(0, 0, 0, 0.3);
}
.gj-hero__title span { display: inline-block; }
.gj-hero__sub { margin: 16px 0 0; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: 0.08em; line-height: 1.9; color: var(--on-ink-2); }
.gj-hero__cta { margin-top: 28px; }
.gj-hero__btn {
	appearance: none; cursor: pointer;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 15px 24px; border-radius: 999px;
	background: var(--lip); color: #fff; border: 1px solid var(--lip);
	font: 700 15px/1.2 var(--gothic); text-decoration: none;
	box-shadow: 0 10px 30px -8px rgba(212, 21, 75, 0.7);
	transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.gj-hero__btn:hover { transform: translateY(-2px); background: #e8295f; box-shadow: 0 16px 36px -8px rgba(212, 21, 75, 0.85); }
.gj-hero__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 最初の表示：誌名が一文字ずつ浮かび上がる */
@media (prefers-reduced-motion: no-preference) {
	.gj-hero__title span { animation: gj-rise 0.9s calc(0.15s + var(--i) * 0.07s) var(--ease) both; }
	.gj-hero__sub, .gj-hero__cta { animation: gj-fade 0.8s 0.7s both; }
	.gj-hero__strip { animation: gj-fade 1.2s both; }
}
@media (prefers-reduced-motion: reduce) {
	.gj-hero__track { animation: none; }
	.gj-hero__strip { overflow-x: auto; }
}
@keyframes gj-rise { from { opacity: 0; transform: translateY(0.4em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes gj-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- セクション共通 ---------- */
.gj-sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gut); }
.gj-sec__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.gj-sec__title { margin: 0; font-family: var(--mincho); font-weight: 900; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; }
.gj-sec__more { margin-left: auto; font-size: 14px; color: var(--ink-2); }

/* ---------- 記事のカード ---------- */
.gj-card__link { display: block; text-decoration: none; }
.gj-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.gj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gj-card__link:hover .gj-media img { transform: none; }
/* 画像がないときのゲラ（題名を刷った校正紙） */
.gj-media--type {
	background: var(--sheet);
	box-shadow: inset 0 0 0 1px var(--line);
	display: flex; justify-content: center; align-items: center;
	padding: 12% 10%;
	text-align: center;
}
.gj-media--type::before {
	content: ""; position: absolute; inset: 10px;
	border: 1px solid var(--line);
	pointer-events: none;
}
.gj-media__name {
	font-family: var(--mincho); font-weight: 900;
	font-size: clamp(18px, 2vw, 26px);
	line-height: 1.45; letter-spacing: 0.02em;
	text-wrap: balance;
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
	overflow: hidden;
}
.gj-media__cat { position: absolute; left: 20px; bottom: 16px; font-size: 11px; font-weight: 700; color: var(--lip); }
.gj-card__body { padding-top: 12px; }
.gj-card__cat { display: block; font-size: 12px; font-weight: 700; color: var(--lip); }
.gj-card__title { margin: 2px 0 4px; font-size: 16px; font-weight: 700; line-height: 1.6; }
.gj-card__link:hover .gj-card__title { text-decoration: underline; }
.gj-card__date { font-size: 12px; color: var(--ink-2); }

/* 写真集レビュー：大きな1枚＋右に3枚 */
.gj-bento { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: repeat(3, min-content) 1fr; gap: 20px clamp(24px, 4vw, 48px); }
.gj-bento .gj-card--lead { grid-row: 1 / span 4; }
.gj-bento .gj-card--lead .gj-media { aspect-ratio: 4 / 5; max-height: 640px; }
.gj-bento .gj-card--lead .gj-media__name { font-size: clamp(32px, 4vw, 52px); }
.gj-bento .gj-card--lead .gj-card__title { font-family: var(--mincho); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; }
.gj-bento .gj-card:not(.gj-card--lead) .gj-card__link { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.gj-bento .gj-card:not(.gj-card--lead) .gj-media { aspect-ratio: 3 / 4; }
.gj-bento .gj-card:not(.gj-card--lead) .gj-card__body { padding-top: 0; }
.gj-bento .gj-card:not(.gj-card--lead) .gj-media__name { font-size: 16px; }
.gj-bento .gj-card:not(.gj-card--lead) .gj-media__cat { display: none; }
.gj-bento .gj-card:not(.gj-card--lead) .gj-media--type::before { inset: 6px; }

.gj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 28px; }
.gj-grid--3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ---------- 人物から探す：名前を索引のように組む ---------- */
.gj-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; font-family: var(--mincho); font-weight: 900; font-size: clamp(22px, 3vw, 34px); line-height: 1.7; }
.gj-names li:not(:last-child)::after { content: "／"; margin: 0 0.35em; color: var(--paper-3); font-weight: 600; }
.gj-names a { text-decoration: none; background-image: linear-gradient(var(--lip), var(--lip)); background-size: 0 2px; background-position: 0 92%; background-repeat: no-repeat; transition: background-size 0.3s var(--ease); }
.gj-names a:hover, .gj-names a:focus-visible { background-size: 100% 2px; }

/* ---------- 見放題ガイド（墨の帯） ---------- */
.gj-stream { background: radial-gradient(70% 120% at 85% 0%, #5a1529 0%, var(--ink) 45%, var(--velvet) 100%); color: var(--on-ink); padding: clamp(56px, 8vw, 104px) 0; }
.gj-stream__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.gj-stream__title { margin: 0; font-family: var(--mincho); font-weight: 900; font-size: clamp(28px, 3.8vw, 48px); line-height: 1.3; }
.gj-stream__body p { margin: 0 0 14px; max-width: 34em; }
.gj-stream__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-bottom: 16px; margin-bottom: 18px !important; border-bottom: 1px solid rgba(246, 226, 221, 0.22); }
.gj-stream__price span { font-size: 14px; color: var(--on-ink-2); }
.gj-stream__price strong { font-family: var(--mincho); font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); color: #fff; line-height: 1.2; }
.gj-stream__note { font-size: 12px; color: #c0919c; }
.gj-btn { display: inline-block; margin-top: 8px; padding: 13px 24px; border-radius: 2px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.gj-btn--light { background: var(--paper); color: var(--ink); }
.gj-btn--light:hover { background: var(--lip); color: #fff; }

/* ---------- セール情報 ---------- */
.gj-list { list-style: none; margin: 0; padding: 0; }
.gj-list li { border-bottom: 1px solid var(--line); }
.gj-list a { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 18px 0; text-decoration: none; align-items: baseline; }
.gj-list time { font-size: 13px; color: var(--lip); font-weight: 700; }
.gj-list span { font-family: var(--mincho); font-weight: 600; font-size: 18px; line-height: 1.55; }
.gj-list a:hover span { text-decoration: underline; }

/* =========================================================
   袋とじ：成人向け作品は、ミシン目を切って開くまで見せない
   ========================================================= */
.gj-fukuro { max-width: var(--wrap); margin: clamp(24px, 4vw, 48px) auto; padding: 0 var(--gut); }
.gj-fukuro__seal {
	position: relative;
	background: radial-gradient(80% 140% at 100% 0%, #5a1529 0%, var(--ink) 50%, var(--velvet) 100%); color: var(--on-ink);
	padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 64px) clamp(40px, 6vw, 68px);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 8px clamp(20px, 4vw, 48px);
	align-items: center;
}
/* 綴じ側の斜線（袋とじの糊しろ） */
.gj-fukuro__seal::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
	background: repeating-linear-gradient(135deg, var(--lip) 0 6px, transparent 6px 12px);
	opacity: 0.85;
}
/* ミシン目 */
.gj-fukuro__seal::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
	background: repeating-linear-gradient(90deg, var(--on-ink) 0 8px, transparent 8px 14px);
	transition: opacity 0.4s;
}
.gj-fukuro__tag {
	grid-row: 1 / span 2;
	margin: 0;
	align-self: center;
	padding: 10px 14px;
	border: 2px solid var(--lip); border-radius: 2px;
	transform: rotate(-6deg);
	font-family: var(--mincho); font-weight: 900; font-size: clamp(22px, 2.8vw, 30px); letter-spacing: 0.12em; line-height: 1;
	color: var(--lip);
}
.gj-fukuro__title { margin: 0; font-family: var(--mincho); font-weight: 900; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.3; }
.gj-fukuro__note { grid-column: 2; margin: 0; font-size: 14px; color: var(--on-ink-2); max-width: 36em; }
.gj-fukuro__open {
	grid-column: 3; grid-row: 1 / span 2;
	appearance: none; cursor: pointer;
	padding: 14px 22px;
	background: transparent; color: var(--on-ink);
	border: 1px dashed rgba(246, 226, 221, 0.6); border-radius: 2px;
	font: 700 15px/1.4 var(--gothic);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gj-fukuro__open:hover { background: var(--on-ink); color: var(--ink); border-style: solid; }
.gj-fukuro__body { background: var(--sheet); padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px); }
.gj-fukuro__more { margin: 32px 0 0; font-size: 14px; }
.gj-fukuro__empty { margin: 0; color: var(--ink-2); }
/* JavaScriptが動くときだけ閉じておく */
.gj-js .gj-fukuro__body { display: none; }
.gj-js .gj-fukuro.is-open .gj-fukuro__body { display: block; }
.gj-js .gj-fukuro.is-open .gj-fukuro__seal::after { opacity: 0; }
html:not(.gj-js) .gj-fukuro__open { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.gj-fukuro.is-open .gj-fukuro__body { animation: gj-tear 0.6s var(--ease) both; }
}
@keyframes gj-tear { from { clip-path: inset(0 0 100% 0); opacity: 0.4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }

/* ---------- 新着記事：目次のように組む ---------- */
.gj-toc__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 64px); }
.gj-toc__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.gj-toc__cat { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--lip); }
.gj-toc__title { font-family: var(--mincho); font-weight: 600; font-size: 17px; line-height: 1.55; }
.gj-toc__date { font-size: 13px; color: var(--ink-2); align-self: end; font-variant-numeric: tabular-nums; }
.gj-toc__list a:hover .gj-toc__title { text-decoration: underline; }

/* ---------- 一覧ページ ---------- */
.gj-archive__head { margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.gj-archive__title { margin: 0; font-family: var(--mincho); font-weight: 900; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.25; }
.gj-archive__desc { color: var(--ink-2); margin-top: 10px; max-width: 40em; }
.gj-empty { color: var(--ink-2); }
.nav-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; text-decoration: none; font-size: 14px; }
.nav-links .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- 記事ページ ---------- */
.gj-entry { max-width: calc(42rem + 2 * var(--gut)); margin: 0 auto; padding: clamp(36px, 7vw, 72px) var(--gut) 24px; }
.gj-entry__head { margin-bottom: 32px; }
.gj-entry__cat { display: inline-block; font-size: 13px; font-weight: 700; color: var(--lip); text-decoration: none; }
.gj-entry__title { margin: 10px 0 14px; font-family: var(--mincho); font-weight: 900; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.38; text-wrap: pretty; }
.gj-entry__meta { margin: 0; font-size: 13px; color: var(--ink-2); }
.gj-entry__adult { margin: 16px 0 0; padding: 10px 14px; font-size: 13px; background: var(--ink); color: var(--on-ink); }
.gj-entry__thumb { margin: 0 0 36px; }

.gj-entry__body { font-size: 17px; line-height: 1.95; }
.gj-entry__body > * { margin-top: 0; margin-bottom: 1.4em; }
.gj-entry__body h2 { margin: 2.8em 0 1em; padding-top: 0.8em; border-top: 1px solid var(--ink); font-family: var(--mincho); font-weight: 900; font-size: clamp(23px, 3vw, 28px); line-height: 1.45; }
.gj-entry__body h3 { margin: 2em 0 0.8em; font-size: 19px; font-weight: 700; line-height: 1.6; }
.gj-entry__body ul, .gj-entry__body ol { padding-left: 1.4em; }
.gj-entry__body li { margin-bottom: 0.3em; }
.gj-entry__body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; background: var(--sheet); }
.gj-entry__body th, .gj-entry__body td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.gj-entry__body th { width: 9em; white-space: nowrap; font-weight: 700; color: var(--ink-2); }
.gj-entry__body small { color: var(--ink-2); }
.gj-entry__body blockquote { margin-left: 0; padding-left: 1em; border-left: 2px solid var(--line); color: var(--ink-2); }
/* 購入・登録ボタン（rel="sponsored" のリンク） */
.gj-entry__body p:has(> a[rel~="sponsored"]:only-child) { text-align: center; }
.gj-entry__body a[rel~="sponsored"] {
	display: inline-block; min-width: min(100%, 22em);
	padding: 15px 24px; border-radius: 2px;
	background: var(--lip); color: #fff; text-decoration: none; font-weight: 700; line-height: 1.5;
	transition: background 0.2s;
}
.gj-entry__body a[rel~="sponsored"]:hover { background: var(--lip-deep); }
.gj-entry__foot { margin-top: 64px; }
.gj-entry__foot .gj-sec__title { font-size: 24px; }
.gj-entry--page .gj-entry__body h2 { font-size: 21px; }

/* ---------- 関連作品（site-basicsのショートコード） ---------- */
body .sb-related-title { font-family: var(--mincho); font-weight: 900; font-size: 20px; }
body .sb-related a { border-color: var(--line); background: var(--sheet); border-radius: 2px; }

/* ---------- 奥付（フッター） ---------- */
.gj-foot { margin-top: clamp(48px, 8vw, 96px); background: var(--paper-2); }
.gj-foot__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 64px) var(--gut) 40px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 80px); }
.gj-foot__name { grid-row: 1 / span 3; margin: 0; font-family: var(--mincho); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: 0.06em; }
.gj-colophon { margin: 0; border-top: 1px solid var(--ink); font-size: 13px; }
.gj-colophon div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gj-colophon dt { font-weight: 700; }
.gj-colophon dd { margin: 0; color: var(--ink-2); }
.gj-foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }
.gj-foot__copy { margin: 0; font-size: 12px; color: var(--ink-2); }

/* ---------- スマホ ---------- */
@media (max-width: 760px) {
	.gj-head__inner { gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
	.gj-nav { margin-left: 0; width: 100%; }
	.gj-hero { min-height: 0; }
	.gj-hero { --tile: 112px; gap: 10px; padding: 10px 0; }
	.gj-hero__band { padding: 40px 16px; }
	.gj-hero__btn { padding: 13px 20px; font-size: 14px; }
	.gj-bento { grid-template-columns: minmax(0, 1fr); }
	.gj-bento .gj-card--lead { grid-row: auto; }
	.gj-bento .gj-card--lead .gj-media { aspect-ratio: 4 / 3; }
	.gj-bento .gj-card:not(.gj-card--lead) .gj-card__link { grid-template-columns: 92px minmax(0, 1fr); }
	.gj-stream__inner { grid-template-columns: minmax(0, 1fr); }
	.gj-list a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.gj-fukuro__seal { grid-template-columns: auto minmax(0, 1fr); padding-left: 32px; }
	.gj-fukuro__open { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 12px; }
	.gj-fukuro__note { grid-column: 1 / -1; }
	.gj-toc__list { grid-template-columns: minmax(0, 1fr); }
	.gj-foot__inner { grid-template-columns: minmax(0, 1fr); }
	.gj-foot__name { grid-row: auto; font-size: 22px; }
	.gj-entry__body { font-size: 16px; }
	.gj-entry__body th { width: 7em; white-space: normal; }
}

::selection { background: var(--lip); color: #fff; }

/* =========================================================
   スクロールで読み進める
   ========================================================= */
/* 自動読み込み（読み込み中は紅い線が流れる） */
.gj-more { grid-column: 1 / -1; display: flex; justify-content: center; padding: 28px 0 8px; min-height: 60px; position: relative; }
.gj-more.is-loading::before {
	content: ""; position: absolute; left: 50%; top: 28px; width: 120px; height: 2px; margin-left: -60px;
	background: linear-gradient(90deg, transparent, var(--lip), transparent);
	background-size: 200% 100%;
	animation: gj-load 1s linear infinite;
}
@keyframes gj-load { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.gj-more__btn {
	appearance: none; cursor: pointer;
	padding: 12px 28px; border: 1px solid var(--ink); border-radius: 2px;
	background: transparent; color: var(--ink);
	font: 700 15px/1.4 var(--gothic);
}
.gj-more__btn:hover { background: var(--ink); color: var(--on-ink); }
.gj-toc .gj-more { padding-top: 32px; }

/* 記事の続きを読む */
.gj-continue__sep {
	margin: 72px 0 0; padding-top: 18px;
	border-top: 3px double var(--ink);
	font-family: var(--mincho); font-weight: 900; font-size: 15px; letter-spacing: 0.2em; color: var(--lip);
}
.gj-entry--next { padding: 24px 0 0; max-width: none; }

/* 作品のサンプル画像：横にスワイプして見る */
.gj-entry__body .wp-block-gallery,
.gj-entry__body .gj-samples {
	display: flex !important; flex-wrap: nowrap !important; gap: 10px !important;
	overflow-x: auto; scroll-snap-type: x mandatory;
	margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut));
	padding: 0 var(--gut) 10px;
	scrollbar-width: thin; scrollbar-color: var(--lip) transparent;
}
.gj-entry__body .wp-block-gallery > figure,
.gj-entry__body .gj-samples > * {
	flex: 0 0 auto !important; width: auto !important; max-width: none !important;
	scroll-snap-align: start; margin: 0 !important;
}
.gj-entry__body .wp-block-gallery img,
.gj-entry__body .gj-samples img { height: min(52vh, 420px) !important; width: auto !important; object-fit: contain; }

/* 購入ボタンの追従表示 */
.gj-ctabar {
	position: fixed; left: 50%; bottom: 14px; z-index: 50;
	width: min(560px, calc(100% - 24px));
	display: flex; align-items: center; gap: 10px;
	padding: 8px 8px 8px 14px;
	background: radial-gradient(120% 140% at 100% 0%, #5a1529, var(--velvet));
	color: var(--on-ink); border-radius: 4px;
	box-shadow: 0 10px 30px rgba(42, 8, 19, 0.35);
	transform: translate(-50%, 140%); opacity: 0;
	transition: transform 0.35s var(--ease), opacity 0.35s;
}
.gj-ctabar.is-shown { transform: translate(-50%, 0); opacity: 1; }
.gj-ctabar__pr { font-size: 11px; font-weight: 700; color: var(--on-ink-2); border: 1px solid rgba(246, 226, 221, 0.35); padding: 1px 6px; border-radius: 2px; }
.gj-ctabar a {
	flex: 1; text-align: center; padding: 11px 14px; border-radius: 2px;
	background: var(--lip); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gj-ctabar a:hover { background: var(--lip-deep); }
@media (prefers-reduced-motion: reduce) { .gj-ctabar { transition: none; } }

/* =========================================================
   人気サイトの定番要素
   ========================================================= */
/* ヘッダーの検索 */
.gj-search { display: flex; flex: 1 1 260px; max-width: 340px; margin-left: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--sheet); overflow: hidden; }
.gj-search:focus-within { border-color: var(--lip); }
.gj-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gj-search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 14px; font: 500 14px/1.4 var(--gothic); color: var(--ink); }
.gj-search__input:focus { outline: none; }
.gj-search__btn { border: 0; background: var(--ink); color: var(--on-ink); padding: 0 16px; font: 700 13px/1 var(--gothic); cursor: pointer; }
.gj-search__btn:hover { background: var(--lip); }

/* 気分で探す（横にスクロールするタグ） */
.gj-mood { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gut) 44px; display: flex; align-items: center; gap: 16px; }
.gj-mood__label { margin: 0; flex: none; font-family: var(--mincho); font-weight: 900; font-size: 15px; }
.gj-mood__list { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.gj-mood__list::-webkit-scrollbar { display: none; }
.gj-mood__list a { display: block; white-space: nowrap; padding: 7px 16px; border-radius: 999px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; text-decoration: none; transition: background 0.2s, color 0.2s; }
.gj-mood__list a::before { content: "#"; color: var(--lip); margin-right: 2px; }
.gj-mood__list a:hover { background: var(--ink); color: var(--on-ink); }

/* ランキング（順位は意味のある番号なので大きく） */
.gj-rank__list { list-style: none; margin: 0 0 0 -10px; padding: 16px 0 8px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; counter-reset: gj-rank; scrollbar-width: thin; scrollbar-color: var(--lip) transparent; }
.gj-rank__item { counter-increment: gj-rank; scroll-snap-align: start; }
.gj-rank__item a { display: block; position: relative; text-decoration: none; }
.gj-rank__item a::before {
	content: counter(gj-rank); position: absolute; z-index: 1; left: -4px; top: -14px;
	font-family: var(--mincho); font-weight: 900; font-size: 56px; line-height: 1;
	color: var(--ink); -webkit-text-stroke: 2px var(--sheet); paint-order: stroke fill;
}
.gj-rank__item:nth-child(-n+3) a::before { color: var(--lip); }
.gj-rank .gj-media { aspect-ratio: 3 / 4; }
.gj-rank__title { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gj-rank__item a:hover .gj-rank__title { text-decoration: underline; }

/* セール・残り日数のバッジ */
.gj-card__visual { position: relative; }
.gj-badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.gj-badge { padding: 3px 8px; border-radius: 2px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.gj-badge--off { background: var(--lip); color: #fff; }
.gj-badge--time { background: var(--ink); color: var(--on-ink); }

/* 評価の★ */
.gj-card__score { display: flex; align-items: center; gap: 6px; margin: 2px 0 4px; }
.gj-stars { position: relative; display: inline-block; font-size: 13px; letter-spacing: 1px; color: var(--paper-3); line-height: 1; }
.gj-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--gj-score) * 100%); overflow: hidden; color: var(--lip); white-space: nowrap; }
.gj-stars__num { font-size: 12px; font-weight: 700; color: var(--ink-2); }

@media (max-width: 760px) {
	.gj-search { order: 2; max-width: none; flex-basis: 100%; margin-left: 0; }
	.gj-nav { order: 3; }
	.gj-mood { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; }
	.gj-mood__list { width: 100%; }
	.gj-rank__list { grid-auto-columns: 44%; }
}

/* =========================================================
   アイコン（オリジナル。線の太さと角の丸みを統一）
   ========================================================= */
.gj-ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.gj-nav__list a { display: inline-flex; align-items: center; gap: 6px; }
.gj-nav__list .gj-ic { color: var(--lip); width: 17px; height: 17px; }
.gj-search__btn { display: inline-flex; align-items: center; gap: 4px; }
.gj-search__btn .gj-ic { width: 16px; height: 16px; }
.gj-feature__cat, .gj-lines__cat, .gj-card__cat, .gj-entry__cat { display: inline-flex; align-items: center; gap: 4px; }
.gj-card__cat { display: flex; }
.gj-lines__cat .gj-ic { color: var(--lip); }
.gj-sec__title { display: flex; align-items: center; gap: 12px; }
.gj-sec__title .gj-ic { width: 0.9em; height: 0.9em; color: var(--lip); stroke-width: 1.4; }
.gj-rank__crown { position: absolute; z-index: 2; left: 30px; top: -16px; width: 26px; height: 26px; color: var(--lip); fill: #f6c84c; }
.gj-badge { display: inline-flex; align-items: center; gap: 3px; }
.gj-badge .gj-ic { width: 13px; height: 13px; }
.gj-btn { display: inline-flex; align-items: center; gap: 8px; }
.gj-fukuro__title { display: flex; align-items: center; gap: 12px; }
.gj-fukuro__title .gj-ic { width: 0.95em; height: 0.95em; color: var(--lip); fill: var(--lip); }
.gj-fukuro__open { display: inline-flex; align-items: center; gap: 8px; }
.gj-fukuro__open .gj-ic { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
	.gj-fukuro__open:hover .gj-ic { animation: gj-snip 0.5s ease-in-out 2; }
}
@keyframes gj-snip { 50% { transform: translateX(4px) rotate(-8deg); } }
.gj-colophon dt { display: flex; align-items: center; gap: 6px; }
.gj-colophon dt .gj-ic { color: var(--lip); }

/* 購入ボタンに再生マーク */
.gj-entry__body a[rel~="sponsored"]::before,
.gj-ctabar a::before {
	content: ""; display: inline-block; width: 0.95em; height: 0.95em; margin-right: 6px; vertical-align: -0.12em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* 年齢確認の画面に唇のマーク */
#sb-age-gate h2::before {
	content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 12px;
	background: linear-gradient(#e8295f, #b80e3f);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.8 12.2c1.9-2.6 4-4 5.9-3.8 1.3.1 2.4.8 3.3 1.5.9-.7 2-1.4 3.3-1.5 1.9-.2 4 1.2 5.9 3.8-1.6 3.6-5 5.4-9.2 5.4s-7.6-1.8-9.2-5.4Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.8 12.2c1.9-2.6 4-4 5.9-3.8 1.3.1 2.4.8 3.3 1.5.9-.7 2-1.4 3.3-1.5 1.9-.2 4 1.2 5.9 3.8-1.6 3.6-5 5.4-9.2 5.4s-7.6-1.8-9.2-5.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (min-width: 761px) and (max-width: 1100px) {
	.gj-search { margin-left: auto; }
	.gj-nav { order: 3; width: 100%; margin-left: 0; }
}

/* =========================================================
   v3：情報量を増やしたトップページ
   ========================================================= */
.gj-sec__lead { margin: 0; font-size: 13px; color: var(--ink-2); flex-basis: 100%; }

/* 人気の写真集が流れる帯 */
.gj-marquee { overflow: hidden; padding: 18px 0; background: var(--ink); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gj-marquee__track { display: flex; gap: 12px; width: max-content; animation: gj-mq 60s linear infinite; }
.gj-marquee:hover .gj-marquee__track { animation-play-state: paused; }
.gj-marquee__item { display: block; width: 120px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(246, 226, 221, 0.12); }
.gj-marquee__item img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform 0.4s var(--ease); }
.gj-marquee__item:hover img { transform: none; }
@keyframes gj-mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gj-marquee__track { animation: none; } .gj-marquee { overflow-x: auto; } }

/* タブ */
.gj-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.gj-sec__head .gj-tabs { margin-left: auto; }
.gj-tab { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: transparent; color: var(--ink-2); font: 700 14px/1.2 var(--gothic); transition: background 0.2s, color 0.2s; }
.gj-tab .gj-ic { width: 16px; height: 16px; }
.gj-tab[aria-selected="true"], .gj-tab[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.gj-tabs--sub .gj-tab[aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* 推し名鑑 */
.gj-oshi__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 18px; }
.gj-oshi__card { display: block; text-decoration: none; text-align: center; }
.gj-oshi__frame { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: radial-gradient(90% 70% at 50% 26%, #f8ebe6, var(--paper-2) 60%, var(--paper-3)); box-shadow: inset 0 0 0 1px var(--line); }
.gj-oshi__frame::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255, 255, 255, 0.55); pointer-events: none; }
.gj-oshi__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gj-oshi__card:hover .gj-oshi__frame img { transform: none; }
.gj-oshi__initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mincho); font-weight: 900; font-size: 64px; color: var(--ink); opacity: 0.85; }
.gj-oshi__no { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; background: rgba(42, 8, 19, 0.82); color: var(--on-ink); font-family: var(--mincho); font-size: 11px; letter-spacing: 0.08em; }
.gj-oshi__new { position: absolute; right: 8px; top: 8px; padding: 2px 8px; background: var(--lip); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
.gj-oshi__name { display: block; margin-top: 10px; font-family: var(--mincho); font-weight: 900; font-size: 15px; line-height: 1.4; }
.gj-oshi__size { display: block; margin-top: 2px; font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* 今夜の一冊をめくる */
.gj-flip { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.gj-flip__inner {
	position: relative; overflow: hidden;
	padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
	background: radial-gradient(70% 140% at 100% 0%, #5a1529 0%, var(--ink) 50%, var(--velvet) 100%);
	color: var(--on-ink);
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center;
}
.gj-flip__inner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(246, 226, 221, 0.12); box-shadow: 0 0 0 30px rgba(246, 226, 221, 0.03), 0 0 0 60px rgba(246, 226, 221, 0.02); }
.gj-flip__kicker { grid-column: 1; margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--lip); }
.gj-flip__title { grid-column: 1; margin: 0; font-family: var(--mincho); font-weight: 900; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.3; }
.gj-flip__text { grid-column: 1; margin: 0; font-size: 14px; color: var(--on-ink-2); max-width: 36em; }
.gj-flip__btn { grid-column: 2; grid-row: 1 / span 3; position: relative; appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border: 0; border-radius: 2px; background: var(--lip); color: #fff; font: 700 16px/1.3 var(--gothic); box-shadow: 0 10px 30px rgba(212, 21, 75, 0.35); transition: background 0.2s, transform 0.2s; }
.gj-flip__btn:hover { background: var(--lip-deep); transform: translateY(-2px); }
.gj-flip__btn .gj-ic { width: 22px; height: 22px; }

/* 右下の「めくる」ボタン */
.gj-fab {
	position: fixed; right: 16px; bottom: 16px; z-index: 40;
	width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
	background: radial-gradient(120% 120% at 30% 20%, #e8295f, var(--lip-deep)); color: #fff;
	box-shadow: 0 10px 26px rgba(168, 15, 58, 0.4), 0 0 0 3px var(--sheet);
	transform: scale(0.6); opacity: 0; pointer-events: none;
	transition: transform 0.3s var(--ease), opacity 0.3s;
}
.gj-fab.is-shown { transform: scale(1); opacity: 1; pointer-events: auto; }
.gj-fab .gj-ic { width: 24px; height: 24px; }
.gj-fab__l { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; }
body.single .gj-fab { display: none; }

/* めくった結果のモーダル */
html.gj-modal-open { overflow: hidden; }
.gj-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(42, 8, 19, 0.72); backdrop-filter: blur(4px); }
.gj-modal[hidden] { display: none; }
.gj-modal__box { position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px 24px 22px; background: var(--sheet); border-radius: 4px; text-align: center; }
.gj-modal__close { position: absolute; right: 8px; top: 6px; appearance: none; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--ink-2); cursor: pointer; padding: 6px 10px; }
.gj-modal__kicker { margin: 0 0 12px; font-family: var(--mincho); font-weight: 900; font-size: 15px; letter-spacing: 0.2em; color: var(--lip); }
.gj-modal__page { perspective: 900px; margin: 0 auto; width: min(240px, 70%); }
.gj-modal__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: right center; box-shadow: 0 14px 30px rgba(59, 13, 28, 0.25); transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
	.gj-modal__page.is-turn .gj-modal__img { animation: gj-turn 0.7s var(--ease) both; }
}
@keyframes gj-turn { from { transform: rotateY(-75deg); opacity: 0.2; } to { transform: rotateY(0); opacity: 1; } }
.gj-modal__t { margin: 16px 0 4px; font-family: var(--mincho); font-weight: 900; font-size: 17px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gj-modal__c { margin: 0 0 16px; font-size: 13px; color: var(--ink-2); }
.gj-modal__act { display: grid; gap: 8px; }
.gj-modal__go { display: block; padding: 13px; border-radius: 2px; background: var(--lip); color: #fff; font-weight: 700; text-decoration: none; }
.gj-modal__go:hover { background: var(--lip-deep); }
.gj-modal__again { appearance: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font: 700 14px/1.3 var(--gothic); }
.gj-modal__pr { margin: 10px 0 0; font-size: 11px; color: var(--ink-2); }

/* 新作・人気作品 */
.gj-works__tabs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 24px; }
.gj-works__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 28px 18px; }
.gj-works__grid--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(168px, 200px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-top: 24px; scrollbar-width: thin; scrollbar-color: var(--lip) transparent; }
.gj-works__grid--rail .gj-work { scroll-snap-align: start; }
.gj-works__more { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.gj-btn--line { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.gj-btn--line:hover { background: var(--ink); color: var(--on-ink); }
.gj-fukuro--inline { max-width: none; margin: 0 0 8px; padding: 0; }
.gj-works.is-torn [data-panel]:not([hidden]) { animation: gj-tear 0.6s var(--ease) both; }

.gj-work { display: flex; flex-direction: column; }
.gj-work__img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.gj-work__img img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform 0.5s var(--ease); }
.gj-work__img:hover img { transform: none; }
.gj-work__rank { position: absolute; right: 0; top: 0; min-width: 32px; padding: 4px 8px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; background: var(--ink); color: var(--on-ink); font-family: var(--mincho); font-weight: 900; font-size: 15px; line-height: 1.2; }
.gj-work__rank.is-top { background: var(--lip); color: #fff; }
.gj-work__rank .gj-ic { width: 14px; height: 14px; fill: #f6c84c; }
.gj-work__b { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; flex: 1; }
.gj-work__t { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gj-work__cast { margin: 0; display: flex; align-items: center; gap: 4px; font-family: var(--mincho); font-weight: 900; font-size: 13px; color: var(--ink); }
.gj-work__cast .gj-ic { color: var(--lip); width: 14px; height: 14px; }
.gj-work__meta { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); }
.gj-work__price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.gj-work__price s { font-size: 11px; color: var(--ink-2); }
.gj-work__price strong { font-size: 15px; color: var(--lip); }
.gj-work__go { margin-top: auto; display: block; text-align: center; padding: 9px 8px; border-radius: 2px; background: var(--lip); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.gj-work__go:hover { background: var(--lip-deep); }

/* 記事カード */
.gj-articles__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 24px; margin-bottom: 36px; }
.gj-ac { display: flex; flex-direction: column; text-decoration: none; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.2s, transform 0.2s; }
.gj-ac:hover { box-shadow: inset 0 0 0 1px var(--lip); transform: translateY(-2px); }
.gj-ac__visual { position: relative; display: block; }
.gj-ac__visual .gj-media { aspect-ratio: 16 / 10; }
.gj-ac__tag { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 700; }
.gj-ac__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.gj-ac__date { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gj-ac__t { font-family: var(--mincho); font-weight: 900; font-size: 18px; line-height: 1.5; }
.gj-ac:hover .gj-ac__t { text-decoration: underline; }
.gj-ac__ex { font-size: 13px; line-height: 1.8; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* フッター（段組み） */
.gj-foot__inner { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; align-items: start; }
.gj-foot__brand .gj-foot__name { font-size: 24px; }
.gj-foot__tag { margin: 8px 0 0; font-size: 12px; color: var(--ink-2); }
.gj-foot__h { margin: 0 0 10px; font-family: var(--mincho); font-weight: 900; font-size: 14px; letter-spacing: 0.1em; }
.gj-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; white-space: normal; }
.gj-foot__col a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.gj-foot__col a:hover { color: var(--ink); text-decoration: underline; }
.gj-foot__col .gj-ic { color: var(--lip); width: 15px; height: 15px; }
.gj-foot__age { font-size: 12px; color: var(--ink-2); }
.gj-foot__age p { margin: 0; }
.gj-foot__18 { margin-bottom: 8px !important; }
.gj-foot__18 span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--lip); color: var(--lip); font-weight: 900; font-size: 14px; }
.gj-foot__inner .gj-colophon { grid-column: 1 / -1; }
.gj-foot__bot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.gj-credit { margin: 0; font-size: 12px; }
.gj-credit a { color: var(--ink-2); }

@media (max-width: 760px) {
	.gj-sec__head .gj-tabs { margin-left: 0; }
	.gj-marquee__item { width: 92px; }
	.gj-oshi__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
	.gj-oshi__name { font-size: 13px; }
	.gj-flip__inner { grid-template-columns: minmax(0, 1fr); }
	.gj-flip__btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
	.gj-works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.gj-works__grid--rail { grid-template-columns: none; grid-auto-columns: 44%; }
	.gj-articles__grid { grid-template-columns: minmax(0, 1fr); }
	.gj-foot__inner { grid-template-columns: 1fr 1fr; }
	.gj-foot__brand, .gj-foot__age { grid-column: 1 / -1; }
}
.gj-foot__brand .gj-foot__name { grid-row: auto; margin: 0; }

/* =========================================================
   v3.2 DMMの画像ルール対応
   作品画像は「拡大・縮小のみ」。切り抜き（object-fit: cover）、傾き、
   色の変更、画像の上に文字やバッジを重ねる表示をしない。
   ========================================================= */
.gj-media img,
.gj-work__img img,
.gj-oshi__frame img,
.gj-marquee__item img,
.gj-modal__img { object-fit: contain; object-position: center; filter: none; }
.gj-media, .gj-work__img, .gj-oshi__frame { background: var(--paper-2); }
/* バッジ類は画像の下に置く */
.gj-badges { position: static; margin: 8px 0 0; }
.gj-ac__tag { position: static; display: inline-flex; margin: 8px 18px 0; align-self: flex-start; }
.gj-ac__visual .gj-badges { margin: 8px 18px 0; }
.gj-work__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.gj-work__tags:empty { display: none; }
.gj-work__tags .gj-badges { margin: 0; }
.gj-work__rank { position: static; }
.gj-oshi__frame::after { content: none; }
.gj-oshi__meta { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.gj-oshi__no, .gj-oshi__new { position: static; }
.gj-rank__item a::before { position: static; display: block; margin: 0 0 6px; font-size: 40px; -webkit-text-stroke: 0; }
.gj-rank__crown { position: static; }
/* 「今夜の一冊」は回転させず、ふわっと出す */
@keyframes gj-turn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* カードは画像を傾けず、全体を少し持ち上げるだけ */
.gj-work, .gj-ac, .gj-oshi__card { transition: transform 0.25s var(--ease); }
@media (hover: hover) {
	.gj-work:hover, .gj-oshi__card:hover { transform: translateY(-3px); }
}


/* =========================================================
   v4.0 「100点版」：作品が最初に見えるトップ／作品ページ／人物ページ／発売カレンダー
   ========================================================= */

/* ---------- トップの帯：パッケージ1列＋今日の数字 ---------- */
.gj-top { background: var(--velvet); color: var(--on-ink); }
.gj-top .gj-hero__strip { padding: 12px 0 0; }
.gj-top .gj-hero__pk { height: clamp(112px, 12vw, 168px); }
.gj-top .gj-hero__pk--blank { width: calc(clamp(112px, 12vw, 168px) * 0.75); }
.gj-top__bar { border-top: 1px solid rgba(246, 226, 221, 0.12); margin-top: 12px; }
.gj-top__inner { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut) 20px; display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.gj-top__h { margin: 0; font-family: var(--mincho); font-weight: 900; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.4; color: #fff4f1; }
.gj-top__h span { display: block; margin-top: 4px; font-family: var(--gothic); font-weight: 400; font-size: 13px; color: var(--on-ink-2); letter-spacing: 0.02em; }
.gj-top__stats { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.gj-top__stats a { display: flex; align-items: baseline; gap: 6px; padding: 8px 12px; border: 1px solid rgba(246, 226, 221, 0.22); border-radius: 4px; font-size: 13px; color: var(--on-ink); text-decoration: none; transition: border-color .2s, background .2s; }
.gj-top__stats a:hover { border-color: var(--lip); background: rgba(212, 21, 75, 0.12); }
.gj-top__stats b { font-family: var(--mincho); font-weight: 900; font-size: 20px; color: #fff; line-height: 1; }
.gj-top__stats b .gj-ic { width: 16px; height: 16px; color: var(--lip); }
.gj-top__flip { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0; background: var(--lip); color: #fff; font: 700 14px/1 var(--gothic); }
.gj-top__flip:hover { background: #e8295f; }
.gj-top__flips { display: flex; flex-wrap: wrap; gap: 8px; }
.gj-top__flip--gv { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); }
.gj-top__flip--gv:hover { background: rgba(255, 255, 255, 0.12); }

.gj-sec--tight { padding-top: 32px; padding-bottom: 40px; }
.gj-sec--tint { max-width: none; background: var(--paper-2); }
.gj-sec--tint > * { max-width: calc(var(--wrap) - 2 * var(--gut)); margin-left: auto; margin-right: auto; }
.gj-rail__h { display: flex; align-items: center; gap: 8px; margin: 22px 0 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.gj-rail__h .gj-ic { color: var(--lip); }
.gj-rail__h:first-of-type { margin-top: 0; }
.gj-works__grid--rail { margin-top: 0; }
.gj-work__t a, .gj-work__cast a { text-decoration: none; color: inherit; }
.gj-work__t a:hover, .gj-work__cast a:hover { text-decoration: underline; }
.gj-badge--mv { background: var(--ink); color: var(--on-ink); }
.gj-badge--mv .gj-ic { width: 11px; height: 11px; }

/* ---------- 売れ筋ランキング（グラビア／AVの2列） ---------- */
.gj-ranks { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px 40px; }
.gj-rk { list-style: none; margin: 0; padding: 0; counter-reset: rk; }
.gj-rk__i { display: grid; grid-template-columns: 34px 72px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gj-rk__n { font-family: var(--mincho); font-weight: 900; font-size: 22px; text-align: center; color: var(--ink-2); }
.gj-rk__i.is-top .gj-rk__n { color: var(--lip); font-size: 28px; }
.gj-rk__img { display: block; background: var(--paper-2); aspect-ratio: 3 / 4; overflow: hidden; }
.gj-rk__img img { width: 100%; height: 100%; object-fit: contain; }
.gj-rk__b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gj-rk__t { font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gj-rk__t:hover { text-decoration: underline; }
.gj-rk__c { font-size: 12px; color: var(--ink-2); }
.gj-rk__p { font-size: 13px; font-weight: 700; }
.gj-rk__p em { font-style: normal; margin-left: 6px; padding: 1px 6px; background: var(--lip); color: #fff; font-size: 11px; border-radius: 2px; }

/* ---------- 人物名鑑 ---------- */
.gj-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 20px 14px; }
.gj-people__card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.gj-people__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; background: var(--paper-2); border: 2px solid var(--sheet); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.gj-people__card:hover .gj-people__img { box-shadow: 0 0 0 2px var(--lip); }
.gj-people__img img { width: 100%; height: 100%; object-fit: contain; }
.gj-people__ini { display: grid; place-items: center; height: 100%; font-family: var(--mincho); font-weight: 900; font-size: 40px; color: var(--ink-2); }
.gj-people__name { text-align: center; font-weight: 700; font-size: 14px; }
.gj-people__name em { font-style: normal; margin-left: 4px; font-size: 10px; color: var(--lip); }
.gj-people__size { text-align: center; font-size: 11px; color: var(--ink-2); line-height: 1.5; }

/* ---------- パンくず ---------- */
.gj-crumb { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gut) 0; font-size: 12px; color: var(--ink-2); }
.gj-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.gj-crumb li + li::before { content: "›"; margin-right: 4px; opacity: .6; }
.gj-crumb a { color: inherit; }
.gj-wp .gj-crumb, .gj-ap .gj-crumb, .gj-cal .gj-crumb, .gj-ai .gj-crumb { padding-left: 0; padding-right: 0; }

/* ---------- 作品ページ ---------- */
.gj-wp, .gj-ap, .gj-cal { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 72px; }
.gj-wp__pr { margin: 10px 0 18px; font-size: 12px; color: var(--ink-2); }
.gj-wp__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.gj-wp__pkg { margin: 0; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.gj-wp__pkg img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; margin: 0 auto; }
.gj-wp__kind { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 12px; font-weight: 700; color: var(--lip); }
.gj-wp__title { margin: 0; font-family: var(--mincho); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; }
.gj-wp__cast { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.gj-wp__cast a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; background: var(--sheet); border: 1px solid var(--line); font-size: 14px; font-weight: 700; text-decoration: none; }
.gj-wp__cast a:hover { border-color: var(--lip); color: var(--lip); }
.gj-wp__tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 0; min-height: 0; }
.gj-wp__tags:empty { display: none; }
.gj-wp__buy { margin-top: 20px; padding: 20px; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; gap: 10px; }
.gj-wp__price { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.gj-wp__price s { color: var(--ink-2); font-size: 15px; }
.gj-wp__price strong { font-size: 28px; font-weight: 700; color: var(--lip-deep); }
.gj-wp__until { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--lip); }
.gj-wp__go { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 16px; border-radius: 4px; background: var(--lip); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 8px 22px -10px rgba(212, 21, 75, 0.8); transition: background .2s, transform .2s; }
.gj-wp__go:hover { background: #e8295f; transform: translateY(-1px); }
.gj-wp__go--wide { margin-top: 18px; max-width: 420px; margin-left: auto; margin-right: auto; }
.gj-wp__movie { appearance: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 16px; border-radius: 4px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 15px/1.2 var(--gothic); }
.gj-wp__movie:hover { background: var(--ink); color: var(--on-ink); }
.gj-wp__score { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.gj-wp__sec { margin-top: 48px; }
.gj-wp__h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-family: var(--mincho); font-weight: 900; font-size: clamp(20px, 2.2vw, 26px); }
.gj-wp__h span { font-family: var(--gothic); font-weight: 400; font-size: 13px; color: var(--ink-2); }
.gj-wp__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gj-wp__table th, .gj-wp__table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.gj-wp__table th { width: 9em; color: var(--ink-2); font-weight: 500; background: rgba(236, 213, 206, 0.45); }
.gj-wp__genre a { display: inline-block; margin: 0 6px 6px 0; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; text-decoration: none; }
.gj-wp__genre a:hover { border-color: var(--lip); color: var(--lip); }
.gj-wp__note { margin: 10px 0 0; font-size: 12px; color: var(--ink-2); }
.gj-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.gj-gallery__item { display: block; background: var(--paper-2); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.gj-gallery__item img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); }
.gj-gallery__item:hover img { transform: none; }
.gj-pcard { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 16px; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: inherit; max-width: 640px; }
.gj-pcard:hover { border-color: var(--lip); }
.gj-pcard__img { display: block; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.gj-pcard__img img { width: 100%; height: 100%; object-fit: contain; }
.gj-pcard__b { display: flex; flex-direction: column; gap: 6px; }
.gj-pcard__name { font-family: var(--mincho); font-weight: 900; font-size: 22px; }
.gj-pcard__size { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.gj-pcard__more { font-size: 13px; color: var(--lip); font-weight: 700; }
.gj-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px var(--gut); background: rgba(42, 8, 19, 0.96); color: var(--on-ink); transform: translateY(110%); transition: transform .3s var(--ease); backdrop-filter: blur(6px); }
.gj-sticky.is-shown { transform: none; }
.gj-sticky__t { flex: 1; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gj-sticky__p { font-weight: 700; font-size: 15px; color: #fff; }
.gj-sticky__go { padding: 10px 16px; border-radius: 4px; background: var(--lip); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.gj-dlg { width: min(960px, 94vw); padding: 0; border: 0; border-radius: 6px; background: var(--velvet); color: var(--on-ink); }
.gj-dlg::backdrop { background: rgba(20, 3, 9, 0.82); }
.gj-dlg__close { position: absolute; top: 6px; right: 8px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.4); color: #fff; font-size: 22px; cursor: pointer; }
.gj-dlg__body { padding: 10px; }
.gj-dlg__img { width: 100%; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.gj-dlg__movie { display: block; width: 100%; aspect-ratio: 3 / 2; border: 0; background: #000; }
.gj-mv { position: relative; width: 100%; aspect-ratio: var(--ar, 3 / 2); max-height: 78vh; overflow: hidden; background: #000; }
.gj-mv__f { position: absolute; left: 50%; top: 50%; border: 0; transform-origin: center; transform: translate(-50%, -50%); }
.gj-mv:fullscreen { width: 100vw; height: 100vh; max-height: none; aspect-ratio: auto; }
.gj-mv:-webkit-full-screen { width: 100vw; height: 100vh; max-height: none; }
.gj-mv__full { display: block; margin: 10px auto 2px; padding: 9px 18px; border: 1px solid rgba(246, 226, 221, 0.4); border-radius: 4px; background: transparent; color: #fff; font: 700 14px/1.2 var(--gothic); cursor: pointer; }
.gj-mv__full:hover { background: rgba(255, 255, 255, 0.12); }
.gj-dlg.is-full { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; border-radius: 0; background: #000; }
.gj-dlg.is-full .gj-dlg__body { display: flex; flex-direction: column; height: 100%; padding: 0; }
.gj-dlg.is-full .gj-mv { flex: 1; height: auto; max-height: none; aspect-ratio: auto; }
.gj-dlg.is-full .gj-mv__full { margin: 6px auto; }
.gj-dlg__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 10px 0 4px; font-size: 13px; }
.gj-dlg__nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(246, 226, 221, 0.3); background: transparent; color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- 人物ページ ---------- */
.gj-ap__head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; margin-top: 18px; padding: 24px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; }
.gj-ap__img { margin: 0; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.gj-ap__img img { width: 100%; height: 100%; object-fit: contain; }
.gj-ap__name { margin: 0 0 14px; font-family: var(--mincho); font-weight: 900; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; }
.gj-ap__name span { display: block; margin-top: 4px; font-family: var(--gothic); font-weight: 400; font-size: 13px; color: var(--ink-2); }
.gj-ap__spec { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px 20px; }
.gj-ap__spec div { border-top: 1px solid var(--line); padding-top: 8px; }
.gj-ap__spec dt { font-size: 12px; color: var(--ink-2); }
.gj-ap__spec dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; }
.gj-ap__spec--big { grid-column: 1 / -1; }
.gj-ap__spec--big dd { font-family: var(--mincho); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); color: var(--lip-deep); }
.gj-ap__src { margin: 14px 0 0; font-size: 12px; color: var(--ink-2); }
.gj-pager { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.gj-pager a { padding: 12px 22px; border: 1px solid var(--ink); border-radius: 2px; text-decoration: none; font-weight: 700; }
.gj-pager a:hover { background: var(--ink); color: var(--on-ink); }
.gj-wfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.gj-wfilter a { padding: 8px 14px; border: 1px solid var(--line, rgba(0, 0, 0, 0.18)); border-radius: 999px; text-decoration: none; font: 700 13px/1.2 var(--gothic); color: var(--ink); }
.gj-wfilter a:hover { border-color: var(--ink); }
.gj-genre__page { margin-left: 10px; font-size: 0.5em; font-weight: 400; opacity: 0.7; }
.gj-genre .gj-wfilter { margin-top: 14px; }
.gj-wfilter a span { margin-left: 6px; font-weight: 400; opacity: 0.7; }
.gj-wfilter a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

/* ---------- 発売カレンダー ---------- */
.gj-cal__head { margin: 18px 0 8px; }
.gj-cal__head p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }
.gj-cal__days { display: flex; gap: 6px; overflow-x: auto; margin-top: 18px; padding-bottom: 6px; position: sticky; top: 0; z-index: 5; background: var(--paper); }
.gj-cal__days a { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-size: 11px; color: var(--ink-2); background: var(--sheet); }
.gj-cal__days b { font-size: 15px; color: var(--ink); }
.gj-cal__day { margin-top: 40px; scroll-margin-top: 80px; }
.gj-cal__date { margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-family: var(--mincho); font-weight: 900; font-size: 24px; }
.gj-cal__date span { font-size: 16px; }
.gj-cal__date em { font-style: normal; margin-left: 10px; padding: 2px 8px; background: var(--lip); color: #fff; font-family: var(--gothic); font-size: 12px; border-radius: 2px; vertical-align: middle; }
.gj-cal__kind { display: flex; align-items: center; gap: 6px; margin: 16px 0 10px; font-size: 14px; }
.gj-cal__kind span { font-weight: 400; color: var(--ink-2); font-size: 12px; }

@media (max-width: 760px) {
	.gj-top__inner { padding-top: 14px; padding-bottom: 14px; }
	.gj-top__stats { margin-left: 0; width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
	.gj-top__stats a { flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: 11px; text-align: center; }
	.gj-top__flip { width: 100%; justify-content: center; }
	.gj-top__flips { width: 100%; }
	.gj-top__flips .gj-top__flip { flex: 1 1 0; width: auto; padding-left: 8px; padding-right: 8px; }
	.gj-ranks { grid-template-columns: minmax(0, 1fr); }
	.gj-rk__i { grid-template-columns: 28px 60px 1fr; gap: 10px; }
	.gj-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gj-wp__top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.gj-wp__pkg img { max-height: 46vh; }
	.gj-wp__table th { width: 6.5em; }
	.gj-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gj-pcard { grid-template-columns: 84px 1fr; }
	.gj-ap__head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 18px; }
	.gj-ap__img { width: 160px; }
	.gj-ap__spec { text-align: left; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- v4.0.4 人物名鑑の一覧（/actress/） ---------- */
.gj-ai { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gut) 72px; }
.gj-ai__head p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; max-width: 46em; }
.gj-ai__nav { margin: 24px 0 8px; padding: 16px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; display: grid; gap: 10px; }
.gj-ai__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gj-ai__row--sub { padding-left: 4.5em; }
.gj-ai__lab { width: 4em; flex: none; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.gj-ai__chip { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; }
.gj-ai__chip--kana { min-width: 38px; padding: 4px 0; font-family: var(--mincho); font-weight: 900; font-size: 15px; }
.gj-ai__chip:hover { border-color: var(--lip); color: var(--lip-deep); }
.gj-ai__chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.gj-ai__h { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-family: var(--mincho); font-weight: 900; font-size: 22px; }
.gj-ai__h span { font-family: var(--gothic); font-weight: 400; font-size: 13px; color: var(--ink-2); }
.gj-ai__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 16px; }
.gj-ai__card { position: relative; display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: inherit; }
.gj-ai__rank { position: static; align-self: flex-start; order: -1; margin-bottom: 4px; min-width: 28px; padding: 3px 6px; border-radius: 2px; background: var(--ink); color: var(--on-ink); font-family: var(--mincho); font-weight: 900; font-size: 14px; text-align: center; line-height: 1.2; }
.gj-ai__rank.is-top { background: var(--lip); }
.gj-ai__img { display: block; aspect-ratio: 3 / 4; margin-bottom: 6px; overflow: hidden; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); }
.gj-ai__img img { width: 100%; height: 100%; object-fit: contain; }
.gj-ai__card:hover .gj-ai__img { border-color: var(--lip); }
.gj-ai__name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.gj-ai__card:hover .gj-ai__name { color: var(--lip-deep); text-decoration: underline; }
.gj-ai__ruby { font-size: 11px; color: var(--ink-2); }
.gj-ai__cup { align-self: flex-start; margin-top: 2px; padding: 1px 8px; border-radius: 2px; background: var(--lip); color: #fff; font-size: 11px; font-weight: 700; }
.gj-ai__size { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gj-pager__n { align-self: center; font-size: 13px; color: var(--ink-2); }
.gj-people__more { margin: 20px 0 0; text-align: center; }
.gj-people__more a { display: inline-block; padding: 12px 24px; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); text-decoration: none; font-weight: 700; }
.gj-people__more a:hover { background: var(--ink); color: var(--on-ink); }
@media (max-width: 640px) {
	.gj-ai__nav { padding: 12px; }
	.gj-ai__lab { width: 100%; }
	.gj-ai__row--sub { padding-left: 0; }
	.gj-ai__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}

/* ---------- v4.1.4 AV／グラビアの切り替えタブ ---------- */
.gj-ftabs { position: sticky; top: 0; z-index: 20; display: flex; justify-content: center; gap: 0; max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gut); background: var(--paper); border-bottom: 1px solid var(--line); }
.gj-ftabs__b { appearance: none; cursor: pointer; flex: 1 1 0; max-width: 260px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--ink); background: var(--sheet); color: var(--ink); font: 700 15px/1 var(--gothic); }
.gj-ftabs__b:first-child { border-radius: 4px 0 0 4px; }
.gj-ftabs__b:last-child { border-radius: 0 4px 4px 0; border-left: 0; }
.gj-ftabs__b .gj-ic { color: var(--lip); }
.gj-f-av .gj-ftabs__b[data-gj-feed="av"], .gj-f-gv .gj-ftabs__b[data-gj-feed="gv"] { background: var(--ink); color: var(--on-ink); }
.gj-f-av .gj-ftabs__b[data-gj-feed="av"] .gj-ic, .gj-f-gv .gj-ftabs__b[data-gj-feed="gv"] .gj-ic { color: #fff; }
.gj-f-av [data-feed="gv"], .gj-f-gv [data-feed="av"] { display: none !important; }
.gj-f-av .gj-cal__day:not([data-has~="av"]), .gj-f-gv .gj-cal__day:not([data-has~="gv"]),
.gj-f-av .gj-cal__days a:not([data-has~="av"]), .gj-f-gv .gj-cal__days a:not([data-has~="gv"]) { display: none; }
.gj-cal .gj-ftabs { margin: 0 0 8px; padding-left: 0; padding-right: 0; }
.gj-ai .gj-ftabs { margin: 0 0 12px; padding-left: 0; padding-right: 0; }
@media (min-width: 900px) {
	.gj-f-av .gj-ranks .gj-rk, .gj-f-gv .gj-ranks .gj-rk { columns: 2; column-gap: 40px; }
	.gj-f-av .gj-ranks .gj-rk__i, .gj-f-gv .gj-ranks .gj-rk__i { break-inside: avoid; }
}

/* お問い合わせフォーム */
.gj-cf { max-width: 640px; margin: 24px 0; }
.gj-cf p { margin: 0 0 16px; }
.gj-cf label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.gj-cf input[type=text], .gj-cf input[type=email], .gj-cf select, .gj-cf textarea { box-sizing: border-box; width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #222; font: 16px/1.6 var(--gothic); }
.gj-cf input:focus, .gj-cf select:focus, .gj-cf textarea:focus { outline: 2px solid var(--lip); outline-offset: 1px; }
.gj-cf__req { margin-left: 8px; padding: 1px 6px; border-radius: 3px; background: var(--lip); color: #fff; font-size: 11px; font-weight: 700; }
.gj-cf__agree label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.gj-cf__btn { appearance: none; cursor: pointer; padding: 13px 28px; border: 0; border-radius: 4px; background: var(--ink); color: var(--on-ink); font: 700 15px/1.2 var(--gothic); }
.gj-cf__btn:hover { opacity: 0.85; }
.gj-cf__err { padding: 12px 14px; border-left: 4px solid var(--lip); background: rgba(200, 30, 70, 0.08); }
.gj-cf__done { padding: 16px 18px; border-left: 4px solid var(--ink); background: rgba(0, 0, 0, 0.04); }
.gj-cf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
