/* ============================================================
   RESET & COLOR PALETTE
   寸法・余白・文字サイズは 参考資料\video-theme-1_5_0.zip の assets\css\style.css が正本（2-4-1）。
   色だけローズ系に置換する。画面構成・要素の並びは docs\actress-theme-mock.html のまま。
   ============================================================ */
:root {
	--bg-page: #fdf5f7;
	--bg-header: #4a1428;
	--header-text: #f5d0d8;
	--header-sub: #c48ca0;
	--card-bg: #ffffff;
	--card-border: #f0d8e0;
	--text-main: #1a1a2e;
	--text-sub: #444444;
	--text-aux: #8a5a6a;
	--accent: #d43060;
	--accent-hover: #b02040;
	--h2-bg: #fff5f7;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
	background: var(--bg-page);
	color: var(--text-main);
	font-size: 14px;
	line-height: 1.9;
}
a {
	color: var(--accent);
	text-decoration: none;
}
a:hover {
	color: var(--accent-hover);
}

/* ============================================================
   SITE WRAPPER
   ============================================================ */
.site {
	background: var(--bg-page);
	position: relative;
	min-height: 100vh;
}

/* ============================================================
   ヘッダー（video同様センター寄せ）
   ============================================================ */
header.site-header {
	background: var(--bg-header);
	color: var(--header-text);
	text-align: center;
	position: relative;
	border-bottom: 1px solid #692e4d;
}
.site-head-utils {
	position: absolute;
	top: 8px;
	right: max(12px, calc((100% - 1278px) / 2));
	display: flex;
	align-items: center;
	gap: 6px;
}
.site-head-rss {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--header-sub);
	font-size: 16px;
	text-decoration: none;
	transition: color .2s;
}
.site-head-rss:hover {
	color: var(--header-text);
}
/* 旧 .container を畳んでここに寄せた（2-1）。詳細度が同じで後ろに書いてある
   .site-title-row の padding が勝つため、.container の padding は元から効いていなかった。
   生きていたのは max-width と margin の2行だけで、使用箇所もここ1つだった */
.site-title-row {
	max-width: 1278px;
	margin: 0 auto;
	padding: 14px 16px 12px;
}
.site-title {
	font-size: 20px;
	font-weight: 500;
	color: var(--header-text);
	margin: 0;
	letter-spacing: .04em;
}
.site-title a {
	color: inherit;
	text-decoration: none;
	display: block;
}
.site-title small {
	display: block;
	font-size: 12px;
	color: var(--header-sub);
	font-weight: normal;
	margin-top: 3px;
}

/* videoと同じ：.cat-tabs 自身に padding-inline を入れて中身を1278pxに収める。
   内側にラッパー要素を挟まないのは、挟むとスクロール対象がその要素になり
   ::-webkit-scrollbar が効かなくなるため */
.cat-tabs {
	background: var(--bg-header);
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid #692e4d;
	overflow-x: auto;
	padding-inline: max(0px, calc((100% - 1278px) / 2));
}
.cat-tabs::-webkit-scrollbar {
	display: none;
}
.cat-tabs a {
	display: flex;
	align-items: center;
	color: var(--header-text);
	padding: 10px 16px;
	font-size: 13px;
	white-space: nowrap;
	border-right: 0.5px solid #692e4d;
	border-bottom: 2px solid transparent;
	text-decoration: none;
}
.cat-tabs a.current {
	background: var(--accent);
	border-bottom-color: #f5b0c8;
	color: #fff;
}
/* video には無いが、リンクである以上ホバーのフィードバックは要るため残す（揃えない例外） */
.cat-tabs a:hover {
	color: #fff;
	background: rgba(255,255,255,0.06);
}
.cat-tabs .util {
	margin-left: auto;
	display: flex;
}
.cat-tabs .util a {
	color: var(--header-sub);
	padding: 10px 12px;
	font-size: 12px;
	border-right: none;
	border-left: 0.5px solid #692e4d;
}

/* ============================================================
   フッター（年齢ピル＋コピーライト＋Powered by）
   ============================================================ */
footer.site-footer {
	background: var(--bg-header);
	text-align: center;
	padding: 10px 16px;
	margin-top: 0;
	border-top: 1px solid #6b2440;
}
.footer-age {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: var(--header-text);
	border: 1px solid rgba(245,208,216,.3);
	border-radius: 999px;
	padding: 4px 14px;
	margin-bottom: 8px;
}
.footer-util {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 11px;
	color: var(--header-sub);
	margin-bottom: 8px;
}
.footer-util a {
	color: var(--header-sub);
	text-decoration: underline;
}
/* 区切りの「|」。footer.php が出しているのに当たるCSSが無く、本文色のまま出ていた */
.footer-util-sep {
	color: var(--header-sub);
	margin: 0 4px;
}
.footer-copy {
	font-size: 10px;
	color: var(--header-sub);
}
.footer-copy a {
	color: var(--header-sub);
	text-decoration: none;
}
.footer-copy a:hover {
	text-decoration: underline;
}
.footer-powered {
	margin-left: 10px;
}

/* ============================================================
   下部固定ナビ（video同様：どのページでも同じ表示。アイコンは Tabler）
   ============================================================ */
.bottom-nav {
	position: fixed;
	bottom: 16px;
	right: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 200;
}
.bottom-nav-item {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(212,48,96,0.6);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.2s;
}
.bottom-nav-item i {
	font-size: 18px;
}
.bottom-nav-item:hover,
.bottom-nav-item:active {
	background: rgba(212,48,96,0.9);
	color: #fff;
}

/* ============================================================
   PAGE BODY
   ============================================================ */
.page-body {
	max-width: 1278px;
	margin: 0 auto;
	padding: 12px 14px;
}

/* ============================================================
   パンくず（video に合わせる。区切りはアイコン）
   ============================================================ */
.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 12px;
	font-size: 12px;
	color: var(--text-aux);
}
.breadcrumb a {
	color: var(--accent);
	text-decoration: none;
}
.breadcrumb i {
	font-size: 11px;
}
.breadcrumb .current {
	color: var(--text-main);
	font-weight: 500;
}

/* ============================================================
   先頭ブロック（女優ページ・ジャンルページ）
   枠は video の .series-info に揃え、中身はモックの値（2-4-1 の例外規定）
   ============================================================ */
.actress-info,
.genre-info {
	background: var(--card-bg);
	border: 0.5px solid var(--card-border);
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 12px;
	display: flex;
	gap: 14px;
}
.actress-info {
	/* 56pxの円と1行のテキストではベースラインが揃わないため center */
	align-items: center;
}
.genre-info {
	align-items: baseline;
}
.actress-info .avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.actress-info .name,
.genre-info .name {
	font-size: 24px;
	font-weight: bold;
	color: var(--text-main);
	margin: 0;
}
.actress-info .count,
.genre-info .count {
	font-size: 13px;
	color: var(--text-aux);
}

/* ============================================================
   .cards-header（video の値をそのまま。色だけローズ系）
   ============================================================ */
.cards-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
.cards-label {
	font-size: 13px;
	color: var(--text-aux);
}
.cards-count {
	font-size: 13px;
	color: var(--accent);
	font-weight: 500;
}

/* ============================================================
   カードグリッド（video の justified レイアウト。列数はJSが決める）
   ============================================================ */
.cards-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 14px;
}

/* ============================================================
   カード
   ============================================================ */
/* width は assets\js\main.js の initCardGrid() がセットする。
   min-width:0 はどの器に置いても要るのでカード自身に持たせる */
.card {
	min-width: 0;
	background: var(--card-bg);
	border: 0.5px solid var(--card-border);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.card-thumb-link {
	display: block;
}
/* 画像はトリミングしない。原寸比のまま。幅はJSがセットする */
.card-thumb {
	width: 100%;
	height: auto;
	display: block;
}
.card-thumb--no-image {
	aspect-ratio: 3/2;
	background: var(--h2-bg);
	display: flex;
	align-items: center;
	justify-content: center;
}
.card-thumb--no-image i {
	color: var(--text-aux);
	font-size: 32px;
}
.card-body {
	padding: 10px 12px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1 1 auto;
}
.card-title {
	font-size: 13px;
	font-weight: 500;
	color: var(--text-main);
	line-height: 1.5;
	text-decoration: none;
	display: block;
}
.card-title:hover {
	color: var(--accent);
}
.card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 8px;
	margin-top: auto;
}
.card-date {
	font-size: 12px;
	color: var(--text-aux);
}

/* ============================================================
   バッジ（女優バッジは fanza 固有。white文字・太字で揃えない）
   ============================================================ */
.actress-badge {
	display: inline-flex;
	align-items: flex-start;
	align-self: flex-start;
	gap: 3px;
	background: var(--accent-hover);
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 3px;
	text-decoration: none;
}
.actress-badge i {
	font-size: 11px;
	margin-top: 2px;
}
/* グローバルの a:hover{color:var(--accent-hover)} のほうが詳細度で勝つため、
   指定しないと文字色が背景（--accent-hover）と同色になって消える */
.actress-badge:hover {
	color: #fff;
}
.genre-badge {
	display: inline-block;
	background: var(--h2-bg);
	color: var(--accent-hover);
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 3px;
	border: 0.5px solid var(--card-border);
	text-decoration: none;
	white-space: nowrap;
}
.genre-badge:hover {
	background: var(--card-border);
}
.genre-row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

/* ============================================================
   ボタン
   ============================================================ */
.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	padding: 5px 14px;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
}
.btn-primary:hover {
	background: var(--accent-hover);
	color: #fff;
}
.btn-primary-lg {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var(--accent);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	padding: 14px;
	border-radius: 6px;
	text-decoration: none;
	width: 100%;
	margin: 20px 0;
}
.btn-primary-lg:hover {
	background: var(--accent-hover);
	color: #fff;
}

/* ============================================================
   ページネーション
   ============================================================ */
.pager {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-top: 14px;
}
.pg {
	min-width: 34px;
	height: 34px;
	border: 0.5px solid var(--card-border);
	background: var(--card-bg);
	border-radius: 6px;
	font-size: 13px;
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.pg a {
	color: var(--accent);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0 6px;
}
.pg.active,
.pg .current {
	background: var(--accent);
	color: #fff;
}
.pg:hover {
	background: var(--h2-bg);
}

/* ============================================================
   前後ナビ（浮きボタン）
   サイト幅1278pxの左右端に置く。画面端固定ではない（4-3）
   ============================================================ */
.float-btn {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 52px;
	background: rgba(74,20,40,0.85);
	color: #fff;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: 0.5px solid rgba(255,255,255,0.15);
	z-index: 100;
}
.float-btn i {
	font-size: 18px;
}
/* グローバルの a:hover{color:var(--accent-hover)} が詳細度で勝つため color を明示する */
.float-btn:hover {
	background: var(--accent-hover);
	color: #fff;
}
.float-btn.left {
	left: calc(50% - 639px);
}
.float-btn.right {
	right: calc(50% - 639px);
}
/* 画面がサイト幅より狭い場合は画面端に（スマホ用ではなく画面幅の分岐） */
@media (max-width: 1278px) {
	.float-btn.left {
		left: 0;
	}
	.float-btn.right {
		right: 0;
	}
}

/* ============================================================
   記事の枠（枠は本文だけを囲む。送客・関連ブロックは <article> の外）
   ============================================================ */
.article {
	background: var(--card-bg);
	border: 0.5px solid var(--card-border);
	border-radius: 10px;
	padding: 16px;
	margin-bottom: 10px;
}
.art-h1 {
	font-size: 28px;
	font-weight: 600;
	color: var(--text-main);
	line-height: 1.55;
	margin-bottom: 10px;
}
.art-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
}

/* ============================================================
   過去記事（legacy）互換
   post_content に完成品のHTMLが入っている記事のためのCSS。
   Luxeritas が効かせていたCSS/JSを新テーマ側で持ち直したもの（段9）。
   ギャラリーの横並び・2カラムのflex・781pxの折り返しは core のブロックCSSが持つ
   （inc\enqueue.php の actress_dequeue_block_library() を legacy では通さない）。
   セレクタは全部 .article--legacy 起点。新形式（parts）は
   .article--parts を付けて別に書くので、ここの値を引き継がない。
   最後の legacy 記事が入れ替わればブロックごと削除できる。

   本文の値は Luxeritas の実測値（検証環境 themes\luxech\style.min.css）。
   色は #111 #999 のリテラルで書く。CSS変数に置き換えない
   （このブロックごと消すときの手間が増えるだけのため）。
   ============================================================ */

/* --- 本文の基本 --- */
.article--legacy {
	font-size: 16px;
	line-height: 1.9;
	color: #111;
}
.article--legacy p {
	margin: 1.3em 0 0;
}
.article--legacy h2 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	margin: 50px 0 30px;
	padding: 8px 20px;
	border-left: 8px solid #999;
}
.article--legacy h3 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	margin: 50px 0 30px 5px;
	padding: 2px 15px;
	border-left: 2px solid #999;
}
.article--legacy h2:first-child,
.article--legacy h3:first-child {
	margin-top: 30px;
}
.article--legacy img {
	max-width: 100%;
	height: auto;
}

/* --- Luxeritas のクラス。本文HTMLが参照しているうち実際に使われている2つだけ持つ
       （検証環境 themes\luxeritas\styles\luxe-blocks-style.min.css の原文）。
       span.font-size の 42px はインラインの style が実体で、打ち消しをやめれば
       元どおり効くためCSSルールは要らない --- */
.article--legacy .luxe-hilight-pink {
	background: linear-gradient(transparent 60%, #f5b2b2 60%);
}
.article--legacy .serif-font {
	font-family: serif;
}

/* ============================================================
   新記事（parts）本文（4-7）
   テンプレートが素材から直接組み立てるので、wp-block-* の打ち消しも
   インラインの style を上書きする !important も要らない。
   セレクタは全部 .article--parts 起点。上の legacy互換ブロックの値は1行も引き継がない。
   値は 画面仕様 4-7「CSSの値」と docs\actress-parts-mock.html が正本。
   ============================================================ */

/* --- 冒頭の定型文（女優名・シリーズ・収録時間） --- */
.article--parts .desc-lead {
	font-size: 13px;
	color: var(--text-sub);
	line-height: 1.75;
	background: var(--h2-bg);
	border-left: 3px solid var(--card-border);
	padding: 10px 12px;
	border-radius: 0 4px 4px 0;
	margin-bottom: 14px;
}

/* --- 本文 --- */
.article--parts .body-p {
	font-size: 14px;
	color: var(--text-sub);
	line-height: 1.9;
	margin-bottom: 14px;
}
.article--parts .art-h2 {
	font-size: 20px;
	font-weight: 600;
	color: var(--text-main);
	line-height: 1.5;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1.5px solid var(--card-border);
}
.article--parts .art-h3 {
	font-size: 18px;
	font-weight: 600;
	color: var(--accent-hover);
	background: var(--h2-bg);
	border-left: 3px solid var(--accent);
	padding: 6px 10px;
	border-radius: 0 4px 4px 0;
	margin: 20px 0 8px;
	line-height: 1.4;
}

/* --- サンプル画像。幅と高さは JS が行ごとに入れる（legacy と同じ方式） --- */
.article--parts .sample-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 14px 0;
}
.article--parts .sample-gallery > * {
	display: block;
	overflow: hidden;
}
.article--parts .sample-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --- 動画＋購入の2カラム。右が最大200px・左が残り全部（4-7） --- */
.article--parts .video-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 200px);
	gap: 12px;
	margin: 14px 0 16px;
}
/* サンプル動画が無い作品。右カラムだけを 200px で置く */
.article--parts .video-cta--no-video {
	grid-template-columns: 1fr;
	max-width: 200px;
}
/* 768px は legacy の .wp-block-columns と同じ分岐値（video の .video-cta 由来） */
@media (max-width: 768px) {
	.article--parts .video-cta {
		grid-template-columns: 1fr;
	}
}
.article--parts .video-box {
	background: #000;
	border-radius: 7px;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 4/3;
	/* DMM のプレイヤーは「幅の4:3・高さは最大720px」の領域を上寄せで描き、映像をその上下中央に置く。枠をこれにそろえる */
	max-height: 720px;
	position: relative;
}
.article--parts .purchase-box {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
}
/* ps.jpg は 147x200px しかなく、width:100% だと 1.4倍に伸びてボケる。原寸で出す */
.article--parts .purchase-box img {
	width: auto;
	max-width: 100%;
	height: auto;
	border-radius: 5px;
	border: 0.5px solid var(--card-border);
}
.article--parts .btn-cta-sm {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	padding: 10px;
	border-radius: 5px;
	line-height: 1.3;
	text-decoration: none;
	width: 100%;
}
.article--parts .btn-cta-sm:hover {
	background: var(--accent-hover);
	color: #fff;
}

/* --- 末尾のパッケージ画像とCTA --- */
.article--parts .package-link {
	text-align: center;
	margin: 16px 0;
}
.article--parts .package-link img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}
/* 下は 0。<article> の最後の子なので、ボタンの下の余白は .article の padding-bottom だけでよい */
.article--parts .btn-primary-lg {
	margin: 20px 0 0;
}

/* ============================================================
   送客ブロック（video へ。4-5）
   クラス名も値も video の .fanza-block に揃える。色はローズ系に置換（2-4-1）
   ============================================================ */
.fanza-block {
	background: var(--bg-header);
	border: 0.5px solid #6a2a44;
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 10px;
}
.fanza-block-title {
	font-size: 13px;
	color: var(--header-sub);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 4px;
}
.fanza-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.fanza-chip {
	font-size: 13px;
	color: var(--header-text);
	background: rgba(255,255,255,0.08);
	border: 0.5px solid rgba(245,208,216,0.35);
	padding: 4px 12px;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
}
/* グローバルの a:hover{color:var(--accent-hover)} が詳細度で勝つため color を明示する */
.fanza-chip:hover {
	background: rgba(255,255,255,0.18);
	color: #fff;
}

/* ============================================================
   関連ブロック（4-4）
   ============================================================ */
/* 枠は記事枠と同じ白（--card-bg）にし、白の上で沈まないようカードの中だけを
   ページ背景と同じ色にする（2026-08-24 変更。4-4）。
   .card はトップ・女優ページ・ジャンルページと共通なので、トップのカードを白のまま
   残すため .block の中に限定して当てる。素の .card は変えない */
.block {
	background: var(--card-bg);
	border: 0.5px solid var(--card-border);
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 10px;
}
.block .card {
	background: var(--bg-page);
}
.block-title {
	font-size: 13px;
	font-weight: 500;
	color: var(--accent);
	margin-bottom: 10px;
}
.block-title a {
	color: var(--accent);
	text-decoration: none;
}
.block-title a:hover {
	color: var(--accent-hover);
}
/* カードの器はトップと同じ .cards-grid（4-4）。gap も justified 配置もそのまま効く。
   ブロックの内側は下に「もっと見る」ボタンが続くので下余白は要らない */
.block .cards-grid {
	margin-bottom: 0;
}
/* ブロック内の「もっと見る」。単独で置く .btn-primary-lg の margin: 20px 0 を詰める */
.block .btn-primary-lg {
	margin: 12px 0 0;
}

/* ============================================================
   女優一覧 ④-a（6-2）
   video の .cat-tabs / .genre-panel と同じ操作だが、あちらは暗いナビ帯の中の配色で
   作られている。こちらは明るい本文（--bg-page）の上に置くため値はモックのものを使う
   （2-4-1 の「video に対応物が無い」例外）。
   ============================================================ */
/* 下マージン 12px は、行を閉じているとき（下は .cards-header）と開いているとき（下は
   .kana-panel）の両方に効く。隣接する兄弟のマージンは相殺されるので、開いているときも
   max(12px, .kana-panel の 8px) = 12px。開閉で余白は動かない。
   .kana-panel の margin を 12px より大きくすると、開いたときだけ広がる */
.kana-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 14px 0 12px;
}
.kana-tab {
	display: flex;
	align-items: center;
	gap: 5px;
	background: var(--h2-bg);
	border: 1px solid var(--card-border);
	color: var(--accent-hover);
	font-weight: bold;
	font-size: 14px;
	padding: 9px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-family: inherit;
}
/* ▽ △ は CSS で出す。HTML に <span class="arrow"> を持たせると差し替えに JS が要る */
.kana-tab::after {
	content: '▽';
	font-size: 9px;
	opacity: 0.7;
	margin-left: 5px;
}
.kana-tab.open {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
.kana-tab.open::after {
	content: '△';
	opacity: 1;
}
/* <button> なので a:hover は当たらないが、背景に --accent を敷いて白文字を載せるものは
   :hover にも color を書く規則に揃える（2-4） */
.kana-tab.open:hover {
	color: #fff;
}
.kana-panel {
	display: none;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 8px;
	padding: 12px 14px;
	margin: 8px 0;
	gap: 8px;
	flex-wrap: wrap;
}
.kana-panel.open {
	display: flex;
}
.kana-chip {
	background: var(--h2-bg);
	border: 1px solid var(--card-border);
	color: var(--accent-hover);
	font-weight: bold;
	font-size: 15px;
	padding: 8px 16px;
	border-radius: 6px;
	min-width: 44px;
	text-align: center;
}
/* グローバルの a:hover{color:var(--accent-hover)} と同値だが、背景が変わる hover で
   色指定を省くと後から見て意図が読めないため明示する */
.kana-chip:hover {
	background: var(--card-border);
	color: var(--accent-hover);
}
/* 表示中の文字（④-b。6-4）。値の出どころは video の .genre-chip.current。
   .kana-* の他の値をモックから採ったのと違うのは、モックが「選択中」を描いていないため。
   **.kana-chip:hover より後に書く。** 同じ詳細度なので、順番が逆だと hover 中に色が消える */
.kana-chip.current {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
/* 背景に --accent を敷いて白文字を載せるものは :hover にも color を書く（2-4） */
.kana-chip.current:hover {
	color: #fff;
}

/* ============================================================
   女優一覧 ④-b（6-4）
   意味のあるまとまりを枠で囲う器。値はモックから
   ============================================================ */
.panel-box {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 10px;
	padding: 16px 18px;
	margin: 12px 0;
}
/* モックの 4列 / 20px / 13px から変えている（6-4）。名前は5〜6文字しかなく、4列だと
   1列 288px に対して 90px ほどしか使っていなかった。列を増やして gap を詰める。
   15px は .kana-chip に合わせた大きさ。太字にはしない（チップは押す対象、名前は読む対象）。
   .badge-new は 11px のまま縮めず、名前を大きくして差を作る */
/* columns を `5` 固定にせず `200px 5`（1列の目安200px・最大5列）にしてある。
   固定だとスマホ幅で1列が50px程度まで潰れ、名前が数文字ごとに折り返して読めなくなる。
   広い画面の見え方は変わらない（1278px では今までどおり 5列 × 233px）。
   メディアクエリを足さずに列数を幅へ追随させるための書き方（保留事項 #5 の例外を増やさない） */
.name-list {
	columns: 200px 5;
	column-gap: 12px;
	font-size: 15px;
}
.name-list a {
	display: block;
	padding: 4px 0;
	color: var(--text-main);
	break-inside: avoid;
}
.name-list a:hover {
	color: var(--accent);
}
/* NEW マーク（6-2-1）。④-b の一覧にだけ出す。<a> の中に入れる */
.badge-new {
	font-size: 11px;
	font-weight: bold;
	color: #fff;
	background: var(--accent);
	padding: 1px 5px;
	border-radius: 3px;
	margin-left: 5px;
	vertical-align: middle;
}
/* 親の <a> が hover で --accent になっても、バッジは白文字のまま（2-4） */
.name-list a:hover .badge-new {
	color: #fff;
}

/* ============================================================
   静的ページ共通（⑥ 固定ページ・⑦ 404。8章）
   .page-title は ④-a ④-b でも使う。固定ページ専用にしない
   ============================================================ */
.static-page {
	max-width: 720px;
	margin: 0 auto;
}
/* video の .page-title にある display:flex はアイコン前提の指定なので落とす */
.page-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--text-main);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--card-border);
}
/* ④-a ④-b 用（6-2）。すぐ下に五十音タブという横一列の帯が来るため、下線があると
   線が2本重なって見える。⑥固定ページ・⑦404 は下に帯が来ないので素の .page-title のまま */
.page-title--plain {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

/* ============================================================
   スマホ表示のメディアクエリ（2-13。video の「① スマホ対応」節を移植）
   .article--legacy h2 / h3 / p は 4-2 の凍結ラインの内側なので触らない
   ============================================================ */
@media (max-width: 768px) {
	/* 768px以下ではグローバルナビの util 2本を隠し、フッター側に出す（2-2／2-3） */
	.cat-tabs .util {
		display: none;
	}
	.footer-util {
		display: flex;
	}
	.page-body {
		padding: 10px;
	}
	.cat-tabs a {
		font-size: 12px;
		padding: 8px 10px;
	}
	.kana-panel {
		padding: 8px 10px;
	}
	.breadcrumb {
		font-size: 11px;
	}
	.card-title {
		font-size: 12px;
	}
	.card-date {
		font-size: 10px;
	}
	.actress-badge {
		font-size: 11px;
		padding: 2px 7px;
	}
	.genre-badge {
		font-size: 10px;
		padding: 1px 5px;
	}
	.actress-info {
		flex-direction: column;
		gap: 8px;
	}
	.art-h1 {
		font-size: 20px;
	}
}
@media (max-width: 480px) {
	.page-body {
		padding: 8px;
	}
	.cards-grid {
		gap: 6px;
	}
	.art-h1 {
		font-size: 18px;
	}
}

/* ============================================================
   SWIPE NAVIGATION（スワイプによるページ送りの演出。段20）
   ・離脱時：スワイプ方向にわずかに移動しながらフェードアウト
   ・進入時：遷移元と逆方向から現れながらフェードイン
   ============================================================ */
.swipe-leave-left,
.swipe-leave-right,
.swipe-enter-left,
.swipe-enter-right {
	will-change: transform, opacity;
}
.swipe-leave-left  { animation: actress-swipe-leave-left  0.18s ease-in forwards; }
.swipe-leave-right { animation: actress-swipe-leave-right 0.18s ease-in forwards; }
.swipe-enter-left  { animation: actress-swipe-enter-left  0.18s ease-out; }
.swipe-enter-right { animation: actress-swipe-enter-right 0.18s ease-out; }

@keyframes actress-swipe-leave-left {
	to { transform: translateX(-32px); opacity: 0.4; }
}
@keyframes actress-swipe-leave-right {
	to { transform: translateX(32px); opacity: 0.4; }
}
@keyframes actress-swipe-enter-left {
	from { transform: translateX(-32px); opacity: 0.4; }
	to   { transform: translateX(0); opacity: 1; }
}
@keyframes actress-swipe-enter-right {
	from { transform: translateX(32px); opacity: 0.4; }
	to   { transform: translateX(0); opacity: 1; }
}
