/* 人物DB スライダー検索（色はSWELLのメインカラーに合わせる） */
.pdb-search {
	--pdb-accent: var(--color_main, #d6336c);
	margin: 0 0 1.5em;
}

.pdb-search__panel {
	padding: 20px;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	background: #fafafa;
}

.pdb-search__name {
	margin-top: 18px;
}

.pdb-search__name input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	font-size: 16px; /* iPhoneで拡大されないように */
}

.pdb-search__ranges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 32px;
}

/* ---------- スライダー ---------- */

.pdb-range__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 14px;
}

.pdb-range__label {
	font-weight: 700;
}

.pdb-range__label small {
	margin-left: 2px;
	color: #888;
	font-weight: 400;
}

.pdb-range__value {
	color: #888;
	font-size: 13px;
}

.pdb-range.is-active .pdb-range__value {
	color: var(--pdb-accent);
	font-weight: 700;
}

.pdb-range__slider {
	position: relative;
	height: 28px;
}

.pdb-range__track,
.pdb-range__fill {
	position: absolute;
	top: 50%;
	height: 4px;
	margin-top: -2px;
	border-radius: 2px;
}

.pdb-range__track {
	left: 11px;
	right: 11px;
	background: #ddd;
}

.pdb-range__fill {
	background: var(--pdb-accent);
}

.pdb-range input[type="range"] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 28px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
	z-index: 2;
}

.pdb-range input[type="range"]:focus {
	outline: none;
}

.pdb-range input[type="range"]::-webkit-slider-runnable-track {
	height: 28px;
	background: none;
	border: 0;
}

.pdb-range input[type="range"]::-moz-range-track {
	background: none;
	border: 0;
}

.pdb-range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: auto;
	width: 22px;
	height: 22px;
	margin-top: 3px;
	border: 2px solid var(--pdb-accent);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	cursor: pointer;
}

.pdb-range input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 18px;
	height: 18px;
	border: 2px solid var(--pdb-accent);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	cursor: pointer;
}

.pdb-range input[type="range"]:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.15);
}

.pdb-range__ticks {
	position: relative;
	height: 16px;
	font-size: 11px;
	color: #999;
}

.pdb-range__ticks span {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	line-height: 1;
}

/* ---------- ジャンル・オプション ---------- */

.pdb-search__genres {
	margin-top: 18px;
}

.pdb-search__sub {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
}

.pdb-search__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pdb-chip {
	padding: 4px 12px;
	border: 1px solid #ccc;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: 13px;
	cursor: pointer;
}

.pdb-chip[aria-pressed="true"] {
	border-color: var(--pdb-accent);
	background: var(--pdb-accent);
	color: #fff;
}

.pdb-search__opts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-top: 18px;
	font-size: 14px;
}

.pdb-search__sort {
	padding: 6px 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
}

.pdb-search__reset {
	margin-left: auto;
	padding: 6px 14px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}

/* カテゴリー・タグの選択欄 */
.pdb-search__selects {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 32px;
	margin-top: 18px;
}

.pdb-search__select {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	font-weight: 700;
}

.pdb-search__select select {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	font-weight: 400;
}

/* ---------- 並び方（PC・スマホとも、条件 → 結果の縦並び） ---------- */

.pdb-search__filters,
.pdb-search__bar {
	display: none; /* スマホだけ */
}

.pdb-search__main {
	scroll-margin-top: 70px; /* 固定ヘッダーに隠れないように */
}

/* 条件の欄はトップページの検索（[pdb_search_mini layout="wide"]）と同じ形：
   年齢・身長・カップだけ見せ、残りは「詳しい条件」に折りたたむ */
.pdb-search__panel {
	padding: 16px;
}

.pdb-search__panel .pdb-search__toggle {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 8px;
	border: 1px dashed #ccc;
	border-radius: 6px;
	background: #fff;
	color: #555;
	font-size: 13px;
	cursor: pointer;
}

.pdb-search__panel .pdb-search__toggle::after {
	content: " ▼";
	font-size: 10px;
}

.pdb-search__panel .pdb-search__toggle[aria-expanded="true"]::after {
	content: " ▲";
}

.pdb-search__extracount {
	color: var(--pdb-accent);
	font-weight: 700;
}

.pdb-search__panel .pdb-search__extra:not(.is-open) {
	display: none;
}

.pdb-search__extra > .pdb-search__ranges {
	margin-top: 14px;
}

.pdb-search__extra .pdb-search__unk {
	display: block;
	margin-top: 14px;
	font-size: 14px;
}

.pdb-search__panel .pdb-search__opts {
	flex-wrap: nowrap;
	gap: 8px;
	margin-top: 12px;
}

.pdb-search__panel .pdb-search__sort {
	flex: 0 1 auto;
	min-width: 0;
}

.pdb-search__panel .pdb-search__reset {
	flex: none;
	margin-left: auto;
}

@media (max-width: 599px) {
	/* スマホではボタンを1行に収めるため、説明の（3サイズ・キーワード・ジャンル）を省く */
	.pdb-search__togglesub {
		display: none;
	}
}

@media (min-width: 600px) {
	/* 年齢・身長・カップを横に3つ、3サイズも3つ並べる */
	.pdb-search__panel .pdb-search__ranges {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px 24px;
	}
}

/* ---------- 結果 ---------- */

.pdb-search__count {
	margin: 18px 0 12px;
	font-size: 15px;
}

.pdb-search__count strong {
	color: var(--pdb-accent);
	font-size: 1.3em;
}

.pdb-search__count span {
	margin-left: 4px;
	color: #888;
	font-size: 13px;
}

.pdb-search__results {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 16px;
}

.pdb-search__divider,
.pdb-search__empty {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	padding-top: 12px;
	border-top: 1px dashed #ccc;
	color: #888;
	font-size: 13px;
}

.pdb-search__empty {
	border-top: 0;
}

.pdb-card {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	font-size: 12px;
	line-height: 1.5;
}

.pdb-card:hover .pdb-card__name {
	color: var(--pdb-accent);
}

.pdb-card__img {
	display: block;
	aspect-ratio: 1 / 1;
	margin-bottom: 6px;
	overflow: hidden;
	border-radius: 6px;
	background: #eee;
}

.pdb-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pdb-card__noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #bbb;
	font-size: 32px;
}

.pdb-card__name {
	font-size: 14px;
	font-weight: 700;
}

.pdb-card__types {
	display: inline-flex;
	gap: 3px;
	margin-left: 4px;
	white-space: nowrap;
	vertical-align: 2px;
}

.pdb-card__type {
	padding: 0 6px;
	border-radius: 3px;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.7;
}

.pdb-card__type--av {
	background: var(--pdb-accent);
}

.pdb-card__type--gravure {
	background: #e67e22;
}

.pdb-card__meta {
	color: #666;
}

.pdb-card__cnt {
	color: #999;
}

.pdb-card__vote {
	margin-left: 6px;
	color: #e2457a;
	font-weight: 700;
}

.pdb-card__cnt .pdb-card__vote {
	margin-left: 6px;
}

/* ---------- 条件まとめ（[pdb_list]） ---------- */

.pdb-list {
	--pdb-accent: var(--color_main, #d6336c);
	margin: 1.5em 0;
}

.pdb-list__empty {
	color: #888;
}

.pdb-list__more {
	margin: 14px 0 0;
	text-align: right;
	font-size: 14px;
	font-weight: 700;
}

/* ---------- 似ている女優（[pdb_similar]・人物ページ） ---------- */

.pdb-similar {
	--pdb-accent: var(--color_main, #d6336c);
	margin: 1.5em 0;
}

/* ---------- 新作・発売予定（[pdb_new]・人物ページの最新作） ---------- */

.pdb-new {
	--pdb-accent: var(--color_main, #d6336c);
	margin: 0 0 1.5em;
}

.pdb-new__person {
	margin: 1.5em 0 0.6em;
	font-size: 1.05em;
	font-weight: 700;
}

.pdb-new-wrap > .pdb-new__person:first-child {
	margin-top: 0;
}

.pdb-new__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.pdb-new__tabs {
	display: flex;
	gap: 4px;
	margin: 0 0 14px;
	border-bottom: 2px solid var(--pdb-accent);
}

.pdb-new__tab {
	padding: 6px 20px;
	border-radius: 6px 6px 0 0;
	background: #f0f0f0;
	color: #666;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.pdb-new__input--a:checked ~ .pdb-new__tabs .pdb-new__tab--a,
.pdb-new__input--b:checked ~ .pdb-new__tabs .pdb-new__tab--b,
.pdb-new__input--c:checked ~ .pdb-new__tabs .pdb-new__tab--c {
	background: var(--pdb-accent);
	color: #fff;
}

.pdb-new__input:focus-visible ~ .pdb-new__tabs {
	outline: 2px solid var(--pdb-accent);
	outline-offset: 2px;
}

.pdb-new__panel {
	display: none;
}

.pdb-new__input--a:checked ~ .pdb-new__panel--a,
.pdb-new__input--b:checked ~ .pdb-new__panel--b,
.pdb-new__input--c:checked ~ .pdb-new__panel--c {
	display: block;
}

.pdb-new__empty {
	color: #888;
}

.pdb-new__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px 16px;
	margin: 0 0 1.5em;
}

.pdb-work {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 12px;
	line-height: 1.5;
}

.pdb-work p {
	margin: 0;
}

.pdb-work__img {
	display: block;
	aspect-ratio: 800 / 538;
	margin-bottom: 6px;
	overflow: hidden;
	border-radius: 6px;
	background: #eee;
}

.pdb-work__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pdb-work__meta {
	display: flex;
	flex-wrap: wrap; /* 入りきらないときは、日付ごと次の行へ（バッジや日付の途中で折り返さない） */
	align-items: center;
	gap: 2px 6px;
	color: #888;
}

.pdb-work__badge {
	flex: none;
	padding: 0 6px;
	border-radius: 3px;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.7;
	white-space: nowrap;
}

.pdb-work__date {
	white-space: nowrap;
}

.pdb-work__badge--new {
	background: #e2457a;
}

.pdb-work__badge--soon {
	background: #2b8a3e;
}

.pdb-work__title {
	display: -webkit-box;
	margin-top: 2px !important;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pdb-work__title a {
	color: inherit;
	text-decoration: none;
}

.pdb-work__people {
	margin-top: 2px !important;
	color: #666;
}

.pdb-work__buy {
	margin-top: 6px !important;
}

.pdb-work__buy a {
	display: inline-block;
	padding: 3px 12px;
	border: 1px solid var(--pdb-accent, #d6336c);
	border-radius: 999px;
	color: var(--pdb-accent, #d6336c);
	font-weight: 700;
	text-decoration: none;
}

.pdb-new__grid--person {
	--pdb-accent: var(--color_main, #d6336c);
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

@media (max-width: 599px) {
	.pdb-new__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 10px;
	}

	/* タブ3つを横幅いっぱいに均等に並べ、「新作（30）」などを1行に収める */
	.pdb-new__tab {
		flex: 1 1 0;
		min-width: 0;
		padding: 6px 2px;
		font-size: 12px;
		letter-spacing: -0.02em;
		text-align: center;
		white-space: nowrap;
	}
}

@media (max-width: 359px) {
	.pdb-new__tab {
		font-size: 11px;
	}
}

/* ---------- 月間ランキング（[pdb_ranking]） ---------- */

.pdb-ranking {
	--pdb-accent: var(--color_main, #d6336c);
	margin: 0 0 1.5em;
	scroll-margin-top: 100px; /* 固定ヘッダーに隠れないように */
	transition: opacity 0.25s ease;
}

/* 切り替え中（ランキングの部分だけ入れ替えている間） */
.pdb-ranking.is-loading {
	opacity: 0.35;
	pointer-events: none;
}

.pdb-ranking__groups {
	display: flex;
	gap: 6px;
	margin: 0 0 10px;
}

.pdb-ranking__groups a {
	padding: 4px 18px;
	border: 1px solid #ccc;
	border-radius: 999px;
	background: #fff;
	color: #666;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.pdb-ranking__groups a.is-active {
	border-color: var(--pdb-accent);
	background: var(--pdb-accent);
	color: #fff;
}

.pdb-ranking__tabs {
	display: flex;
	gap: 4px;
	margin: 0 0 14px;
	border-bottom: 2px solid var(--pdb-accent);
}

.pdb-ranking__tabs a {
	padding: 6px 20px;
	border-radius: 6px 6px 0 0;
	background: #f0f0f0;
	color: #666;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.pdb-ranking__tabs a.is-active {
	background: var(--pdb-accent);
	color: #fff;
}

.pdb-card__vote small {
	margin-left: 2px;
	color: #999;
	font-size: 11px;
	font-weight: 400;
}

.pdb-ranking__title {
	margin: 0 0 12px;
	font-size: 1.1em;
	font-weight: 700;
}

.pdb-ranking__note {
	margin: -4px 0 16px;
	padding: 10px 14px;
	border: 1px solid #f5c2d4;
	border-radius: 8px;
	background: #fff2f6;
	color: #b0305e;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.pdb-ranking__empty {
	color: #888;
}

.pdb-ranking .pdb-card__vote {
	margin-left: 0;
}

.pdb-card__img {
	position: relative;
}

.pdb-card__rank {
	position: absolute;
	top: 6px;
	left: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	padding: 0 4px;
	border-radius: 13px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.pdb-card__rank--1 {
	background: #d4a017;
}

.pdb-card__rank--2 {
	background: #9aa3ad;
}

.pdb-card__rank--3 {
	background: #b87333;
}

/* 21位以降の折りたたみ（[pdb_ranking show="20"]） */
.pdb-ranking__fold {
	margin: 16px 0 0;
}

.pdb-ranking__fold > summary {
	display: block;
	width: fit-content;
	margin: 0 auto;
	padding: 10px 32px;
	border: 2px solid var(--pdb-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--pdb-accent);
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.pdb-ranking__fold > summary::-webkit-details-marker {
	display: none;
}

.pdb-ranking__fold > summary::after {
	content: " ▼";
	font-size: 11px;
}

.pdb-ranking__fold[open] > summary {
	margin-bottom: 16px;
	background: var(--pdb-accent);
	color: #fff;
}

.pdb-ranking__fold[open] > summary::after {
	content: " ▲";
}

.pdb-ranking__more {
	margin: 20px 0 0;
	text-align: center;
}

.pdb-ranking__more a {
	display: inline-block;
	padding: 10px 32px;
	border: 2px solid var(--pdb-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--pdb-accent);
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.pdb-ranking__more a:hover {
	background: var(--pdb-accent);
	color: #fff;
}

/* もう一方のランキング（読者 ⇔ FANZA）へのボタン。スマホでは1行に収まるよう横幅いっぱいに */
.pdb-ranking__more--other {
	margin-top: 12px;
}

@media (max-width: 599px) {
	.pdb-ranking__more--other a {
		display: block;
		padding: 10px 8px;
		font-size: 14px;
		white-space: nowrap;
	}
}

.pdb-ranking__nav {
	display: flex;
	justify-content: space-between;
	margin: 20px 0 0;
}

.pdb-search__morewrap {
	margin: 20px 0 0;
	text-align: center;
}

.pdb-search__more {
	padding: 10px 40px;
	border: 1px solid var(--pdb-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--pdb-accent);
	font-weight: 700;
	cursor: pointer;
}

.pdb-search__loading,
.pdb-search__error {
	color: #888;
}

/* ---------- スマホ ---------- */

@media (max-width: 599px) {
	.pdb-search__panel {
		padding: 16px;
	}

	/* スライダーを詰めて表示（検索ページ・サイドバー共通） */
	.pdb-search .pdb-search__ranges {
		gap: 6px;
	}

	.pdb-range__slider,
	.pdb-range input[type="range"],
	.pdb-range input[type="range"]::-webkit-slider-runnable-track {
		height: 24px;
	}

	.pdb-range input[type="range"]::-webkit-slider-thumb {
		margin-top: 1px;
	}

	.pdb-range__ticks {
		height: 13px;
	}

	.pdb-range__ticks span:not(:first-child):not(:last-child) {
		display: none; /* 目盛りは両端だけ */
	}

	/* サイドバー：3サイズ・キーワード・カテゴリー・タグは折りたたむ */
	.pdb-search--mini .pdb-search__ranges,
	.pdb-search--mini .pdb-search__selects {
		gap: 6px;
	}

	.pdb-search--mini .pdb-search__extra > .pdb-search__ranges {
		margin-top: 6px;
	}

	.pdb-search--mini .pdb-search__toggle {
		display: block;
		width: 100%;
		margin-top: 10px;
		padding: 8px;
		border: 1px dashed #ccc;
		border-radius: 6px;
		background: #fafafa;
		color: #555;
		font-size: 13px;
		cursor: pointer;
	}

	.pdb-search--mini .pdb-search__toggle::after {
		content: " ▼";
		font-size: 10px;
	}

	.pdb-search--mini .pdb-search__toggle[aria-expanded="true"]::after {
		content: " ▲";
	}

	.pdb-search--mini .pdb-search__extra:not(.is-open) {
		display: none;
	}

	.pdb-search--mini .pdb-search__submit {
		margin-top: 10px;
	}

	.pdb-search__ranges,
	.pdb-search__selects {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.pdb-search__results {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px 10px;
	}

	.pdb-search__reset {
		margin-left: 0;
	}

	/* 条件の欄を開く／閉じるボタン */
	.pdb-search__filters {
		display: block;
		width: 100%;
		margin: 0 0 10px;
		padding: 10px;
		border: 1px solid var(--pdb-accent);
		border-radius: 6px;
		background: #fff;
		color: var(--pdb-accent);
		font-weight: 700;
		cursor: pointer;
	}

	.pdb-search__filters::after {
		content: " ▲";
		font-size: 10px;
	}

	.pdb-search__side.is-closed .pdb-search__filters::after {
		content: " ▼";
	}

	.pdb-search__side.is-closed .pdb-search__panel {
		display: none;
	}

	/* 画面の下に固定する件数バー */
	.pdb-search__bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: flex;
		align-items: center;
		gap: 4px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
		font-size: 14px;
		transform: translateY(110%);
		transition: transform 0.2s ease;
	}

	.pdb-search__bar.is-visible {
		transform: translateY(0);
	}

	.pdb-search__bar strong {
		color: var(--pdb-accent);
		font-size: 1.3em;
	}

	.pdb-search__bartop {
		margin-left: auto;
		padding: 8px 18px;
		border: 0;
		border-radius: 999px;
		background: var(--pdb-accent);
		color: #fff;
		font-weight: 700;
		cursor: pointer;
	}
}

/* ---------- サイドバー用（[pdb_search_mini]） ---------- */

.pdb-search__toggle {
	display: none; /* PCでは折りたたまない */
}

.pdb-search--mini .pdb-search__extra > .pdb-search__ranges {
	margin-top: 12px;
}

.pdb-search--mini .pdb-search__ranges,
.pdb-search--mini .pdb-search__selects {
	grid-template-columns: 1fr;
	gap: 12px;
}

.pdb-search--mini .pdb-search__name,
.pdb-search--mini .pdb-search__selects {
	margin-top: 14px;
}

.pdb-search--mini .pdb-search__name input {
	padding: 8px 10px;
}

.pdb-search--mini .pdb-range__ticks {
	font-size: 10px;
}

.pdb-search__submit {
	margin: 14px 0 0;
	text-align: right;
}

.pdb-search__submit button {
	padding: 8px 24px;
	border: 0;
	border-radius: 6px;
	background: var(--pdb-accent);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

/* ---------- 本文用のコンパクトな検索（[pdb_search_mini layout="wide"]） ---------- */

.pdb-search--wide {
	padding: 16px;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	background: #fafafa;
}

/* PCでも「3サイズ・キーワードで絞る」は折りたたむ */
.pdb-search--wide .pdb-search__toggle {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 8px;
	border: 1px dashed #ccc;
	border-radius: 6px;
	background: #fff;
	color: #555;
	font-size: 13px;
	cursor: pointer;
}

.pdb-search--wide .pdb-search__toggle::after {
	content: " ▼";
	font-size: 10px;
}

.pdb-search--wide .pdb-search__toggle[aria-expanded="true"]::after {
	content: " ▲";
}

.pdb-search--wide .pdb-search__extra:not(.is-open) {
	display: none;
}

.pdb-search--wide .pdb-search__name input {
	background: #fff;
}

.pdb-search--wide .pdb-search__submit {
	margin-top: 12px;
	text-align: center;
}

.pdb-search--wide .pdb-search__submit button {
	width: 100%;
	max-width: 360px;
	padding: 12px 16px;
	border-radius: 999px;
	font-size: 15px;
}

@media (min-width: 600px) {
	/* 年齢・身長・カップを横に3つ、3サイズも3つ並べる */
	.pdb-search--wide .pdb-search__ranges {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px 24px;
	}

	.pdb-search--wide .pdb-search__selects {
		grid-template-columns: 1fr 1fr;
	}
}

/* ---------- 新作一覧の検索（キーワード＋ジャンルのボタン） ---------- */

.pdb-new__search {
	margin: 0 0 14px;
}

.pdb-new__q {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	font-size: 16px; /* iPhoneで拡大されないように */
}

/* ジャンルのボタンは1行（スマホは横にスクロール） */
.pdb-new__chips {
	display: flex;
	gap: 6px;
	margin-top: 8px;
	padding-bottom: 4px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.pdb-new__chips::-webkit-scrollbar {
	display: none;
}

.pdb-new__chips .pdb-chip {
	flex: none;
	white-space: nowrap;
}

/* 絞り込み中は折りたたみの見出し（「残り〇作品を見る」）を隠す */
.pdb-new__fold.is-filtering > summary {
	display: none;
}

.pdb-new__fold.is-filtering {
	margin-top: 20px;
}

.pdb-work[hidden] {
	display: none;
}

/* 新作一覧の列数を固定して、10作品・20作品で端数（空白）が出ないようにする：スマホ・タブレットは2列、PCは5列 */
@media (max-width: 767px) {
	.pdb-new .pdb-new__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 10px;
	}
}

@media (min-width: 768px) {
	.pdb-new .pdb-new__grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 20px 14px;
	}
}

/* 過去作品の下の「もっと前の作品はFANZAで見る →」 */
.pdb-new__fanza {
	margin-top: 20px;
}

/* セール中の作品（画像の左上に「〇%OFF」と終了日） */
.pdb-work__img {
	position: relative;
}

.pdb-work__sale {
	position: absolute;
	top: 6px;
	left: 6px;
	padding: 2px 6px;
	border-radius: 4px;
	background: #e03131;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.pdb-work__sale small {
	margin-left: 4px;
	font-size: 10px;
	font-weight: 400;
}

/* 新作一覧：取得前のタブ（文字の一覧）と、読み込み中・失敗の表示 */
.pdb-new__lite {
	margin: 0 0 8px;
	padding-left: 1.4em;
	font-size: 13px;
	line-height: 1.7;
}

.pdb-new__lite-sub {
	display: block;
	font-size: 12px;
	color: #666;
}

.pdb-new__part.is-loading,
.pdb-new.is-loading .pdb-new__panel {
	opacity: .5;
	pointer-events: none;
	transition: opacity .2s;
}

.pdb-new__part.is-loading::after {
	content: "読み込み中…";
	display: block;
	text-align: center;
	font-size: 13px;
	color: #666;
	padding: 8px 0;
}

.pdb-new__error {
	margin: 8px 0 0;
	text-align: center;
}

.pdb-new__error[hidden] {
	display: none;
}

.pdb-new__retry {
	padding: 8px 18px;
	border: 1px solid var(--pdb-accent);
	border-radius: 4px;
	background: #fff;
	color: var(--pdb-accent);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

/* 新作一覧：「もっと見る」（続きを取得） */
.pdb-new__morerow {
	margin: 8px 0 0;
	text-align: center;
}

.pdb-new__morebtn {
	padding: 8px 18px;
	border: 1px solid var(--pdb-accent);
	border-radius: 4px;
	background: #fff;
	color: var(--pdb-accent);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.pdb-new__morebtn[hidden] {
	display: none;
}

/* ---------- トップの「みんなの推しランキング」（[pdb_oshi_top]） ---------- */
.pdb-oshi {
	--pdb-accent: var(--color_main, #d6336c);
	margin: 0 0 24px;
	padding: 16px 14px 14px;
	border: 1px solid #ead9ee;
	border-radius: 12px;
	background: #fcf8fd;
}

.pdb-oshi__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--pdb-accent);
}

.pdb-oshi__lead {
	margin: 4px 0 10px;
	font-size: 13px;
	color: #555;
}

.pdb-oshi__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.pdb-oshi__tabs {
	display: flex;
	gap: 6px;
	margin: 0 0 8px;
}

.pdb-oshi__tab {
	padding: 4px 16px;
	border: 1px solid var(--pdb-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--pdb-accent);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.pdb-oshi__input--m:checked ~ .pdb-oshi__tabs .pdb-oshi__tab--m,
.pdb-oshi__input--t:checked ~ .pdb-oshi__tabs .pdb-oshi__tab--t {
	background: var(--pdb-accent);
	color: #fff;
}

.pdb-oshi__input:focus-visible ~ .pdb-oshi__tabs {
	outline: 2px solid var(--pdb-accent);
	outline-offset: 2px;
}

.pdb-oshi__panel {
	display: none;
}

.pdb-oshi__input--m:checked ~ .pdb-oshi__panel--m,
.pdb-oshi__input--t:checked ~ .pdb-oshi__panel--t {
	display: block;
}

.pdb-oshi__period {
	margin: 0 0 6px;
	font-size: 12px;
	color: #777;
}

.pdb-oshi__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pdb-oshi__row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	padding: 8px 10px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.pdb-oshi__rank {
	flex: 0 0 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: #999;
}

.pdb-oshi__rank--1,
.pdb-oshi__rank--2,
.pdb-oshi__rank--3 {
	border-radius: 50%;
	color: #fff;
}

.pdb-oshi__rank--1 {
	background: #d4a017;
}

.pdb-oshi__rank--2 {
	background: #9aa3ad;
}

.pdb-oshi__rank--3 {
	background: #b87333;
}

.pdb-oshi__img {
	text-decoration: none;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	background: #eee;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pdb-oshi__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.pdb-oshi__info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.pdb-oshi__name {
	font-size: 16px;
	font-weight: 700;
	color: #222;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pdb-oshi__name:hover {
	color: var(--pdb-accent);
}

.pdb-oshi__age {
	font-size: 12px;
	color: #777;
}

.pdb-oshi__act {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.pdb-oshi__votes {
	font-size: 13px;
	color: var(--pdb-accent);
	white-space: nowrap;
}

.pdb-oshi__votes b {
	font-size: 15px;
}

.pdb-oshi__btn {
	padding: 4px 12px;
	border: 1px solid var(--pdb-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--pdb-accent);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}

.pdb-oshi__btn:disabled {
	opacity: .6;
	cursor: default;
}

.pdb-oshi__btn.is-voted {
	opacity: 1;
	border-color: #ccc;
	background: #f3f3f3;
	color: #888;
}

.pdb-oshi__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 14px;
	margin: 10px 0 0;
}

.pdb-oshi__more {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--pdb-accent);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.pdb-oshi__find {
	font-size: 13px;
	color: var(--pdb-accent);
}

.pdb-oshi__empty {
	margin: 0;
	padding: 12px 0;
	font-size: 13px;
	color: #777;
}

/* 取得前の文字の一覧は、JavaScriptが動くときは画面から隠す（HTMLには残るので、検索エンジンはたどれる） */
.pdb-new.is-js .pdb-new__lite {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* 取得中の枠（カードと同じ形） */
.pdb-new__sk {
	margin: 0;
}

.pdb-work--sk i {
	display: block;
	height: 10px;
	margin-top: 8px;
	border-radius: 4px;
	background: #eee;
}

.pdb-work--sk i.is-short {
	width: 60%;
}

.pdb-work--sk .pdb-work__img {
	animation: pdb-sk 1.2s ease-in-out infinite;
}

@keyframes pdb-sk {
	50% {
		opacity: .5;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pdb-work--sk .pdb-work__img {
		animation: none;
	}
}

/* 枠を出しているあいだは、「読み込み中…」の文字と薄くする表示は使わない */
.pdb-new__part.is-loading.has-sk {
	opacity: 1;
}

.pdb-new__part.is-loading.has-sk::after {
	display: none;
}

/* ---------- トップページのデザイン（セクション共通の見出し・各ブロックの見た目） ---------- */
.pdb-sec__head,
.pdb-find,
.pdb-new--home {
	--pdb-accent: var(--color_main, #d6336c);
}

.pdb-sec__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px 12px;
	margin: 0 0 12px;
}

.pdb-sec__titlebox {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.pdb-sec__icon {
	flex: 0 0 auto;
	display: inline-flex;
}

.pdb-sec__icon--crown { color: #d4a017; }
.pdb-sec__icon--heart { color: #e8548c; }
.pdb-sec__icon--search,
.pdb-sec__icon--film { color: var(--pdb-accent); }

.pdb-sec__title {
	margin: 0;
	color: #2b1b3d;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.pdb-sec__sub {
	margin: 2px 0 0;
	color: #777;
	font-size: 12px;
	line-height: 1.4;
}

.pdb-sec__right {
	flex: 0 0 auto;
}

@media (max-width: 599px) {
	.pdb-sec__title {
		font-size: 17px;
	}
}

/* 新作情報：見出しの右に検索欄・タブは塗りつぶし・カードは白・ジャンルのボタンは出さない */
.pdb-new--home .pdb-sec__head {
	align-items: center;
}

.pdb-new--home .pdb-new__tabs {
	flex-wrap: wrap;
	align-items: center;
}

.pdb-new--home .pdb-new__search {
	width: 260px;
	margin: 0 0 0 auto; /* タブと同じ行の右端 */
}

.pdb-new--home .pdb-new__q {
	padding: 7px 12px;
	font-size: 14px;
}

.pdb-new--home .pdb-new__chips {
	display: none;
}

.pdb-new--home .pdb-new__tabs {
	gap: 8px;
	border-bottom: 0;
}

.pdb-new--home .pdb-new__tab {
	border-radius: 6px;
	padding: 6px 22px;
}

@media (min-width: 600px) {
	.pdb-new--home .pdb-new__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.pdb-new--home .pdb-work {
	padding: 0 0 10px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.pdb-new--home .pdb-work__img {
	margin-bottom: 8px;
	border-radius: 10px 10px 0 0;
}

.pdb-new--home .pdb-work > p {
	padding: 0 10px;
}

.pdb-new--home .pdb-work__buy a {
	display: block;
	padding: 6px 0;
	border-radius: 6px;
	text-align: center;
}

.pdb-new--home .pdb-new__morerow {
	margin-top: 4px;
}

.pdb-new--home .pdb-new__morebtn {
	width: 100%;
	border-radius: 8px;
}

@media (max-width: 599px) {
	.pdb-new--home .pdb-sec__head {
		flex-direction: column;
		align-items: stretch;
	}

	.pdb-new--home .pdb-new__search {
		width: 100%;
		margin: 4px 0 0; /* スマホはタブの下の行 */
	}

	.pdb-new--home .pdb-new__q {
		padding: 10px 12px;
		font-size: 16px; /* iPhoneで拡大されないように */
	}
}

/* ---------- タブをそろえる（新作情報・月間ランキング・推しランキング・詳しい検索）。枠は付けない ---------- */
.pdb-box,
.pdb-new--home,
.pdb-oshi,
.pdb-find {
	--pdb-accent: var(--color_main, #d6336c);
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

/* 推しランキング [pdb_ranking]（0.44.1〜）・検索へのボタンの欄 [pdb_search_mini layout="link"]（0.46.0〜）・新作情報 [pdb_new] の全員分の一覧（0.50.0〜）のアウトライン。PC版の検索欄・FANZAランキングと同じ */
.pdb-ranking.pdb-box,
.pdb-searchlink.pdb-box,
.pdb-new--home {
	padding: 18px 20px;
	border: 1px solid #e4dfe1;
	border-radius: 12px;
	background: #fff;
}

@media (max-width: 599px) {
	.pdb-ranking.pdb-box,
	.pdb-searchlink.pdb-box,
	.pdb-new--home {
		padding: 14px 12px;
	}
}

/* 枠の中の最後のボタン（button・button_url。0.45.0〜） */
.pdb-box__btnwrap {
	margin: 16px 0 0 !important;
	text-align: center;
}

.pdb-box .pdb-box__btn {
	display: inline-block;
	box-sizing: border-box;
	width: min(100%, 320px);
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--pdb-accent, #d6336c);
	color: #fff !important;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: opacity .15s;
}

@media (hover: hover) {
	.pdb-box .pdb-box__btn:hover {
		opacity: .85;
	}
}

.pdb-box .pdb-box__btn:focus-visible {
	outline: 2px solid var(--pdb-accent, #d6336c);
	outline-offset: 2px;
}

/* 枠の中のブロックは、さらに枠を付けない */
.pdb-box .pdb-find,
.pdb-find .pdb-search--wide {
	padding: 0;
	border: 0;
	background: transparent;
}

/* タブ：塗りつぶしの四角（新作情報と同じ） */
.pdb-box .pdb-new__tabs,
.pdb-oshi__tabs,
.pdb-ranking__tabs,
.pdb-ranking__groups {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	border-bottom: 0;
}

.pdb-box .pdb-new__tab,
.pdb-oshi__tab,
.pdb-ranking__tabs a,
.pdb-ranking__groups a {
	padding: 6px 22px;
	border: 0;
	border-radius: 6px;
	background: #f0f0f0;
	color: #666;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.pdb-oshi__input--m:checked ~ .pdb-oshi__tabs .pdb-oshi__tab--m,
.pdb-oshi__input--t:checked ~ .pdb-oshi__tabs .pdb-oshi__tab--t,
.pdb-ranking__tabs a.is-active,
.pdb-ranking__groups a.is-active {
	background: var(--pdb-accent);
	color: #fff;
}

@media (max-width: 599px) {
	.pdb-box .pdb-new__tab,
	.pdb-oshi__tab,
	.pdb-ranking__tabs a,
	.pdb-ranking__groups a {
		padding: 6px 14px;
		font-size: 13px;
	}
}

/* 読者ランキング（[pdb_ranking]）のカードも、1枚ずつの枠（白い角丸・薄い影） */
.pdb-ranking .pdb-search__results > .pdb-card {
	padding: 0 0 10px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.pdb-ranking .pdb-search__results > .pdb-card .pdb-card__img {
	margin-bottom: 8px;
	border-radius: 10px 10px 0 0;
}

.pdb-ranking .pdb-search__results > .pdb-card > span:not(.pdb-card__img) {
	padding: 0 8px;
}

/* 上位3位のカード：金・銀・銅の枠（2px）と薄い背景色（月間ランキング・AV作品ランキング・読者ランキング共通） */
.pdb-rank-1 {
	background: #fffaf0 !important;
	box-shadow: 0 0 0 2px #d4a017, 0 2px 6px rgba(212, 160, 23, .25) !important;
}

.pdb-rank-2 {
	background: #f7f8fa !important;
	box-shadow: 0 0 0 2px #9aa3ad, 0 2px 6px rgba(120, 128, 138, .22) !important;
}

.pdb-rank-3 {
	background: #fff6ee !important;
	box-shadow: 0 0 0 2px #b87333, 0 2px 6px rgba(184, 115, 51, .25) !important;
}

/* 「〇位〜〇位を見る」のボタンは四角（角を丸くしない） */
.pdb-ranking__fold > summary,
.pdb-ranking__more a {
	border-radius: 0;
}

/* 検索の年齢・身長・カップ・3サイズ：ドロップダウン（候補）＋手入力。スライダーは見えなくして、値の入れ物にだけ使う */
.pdb-range__slider,
.pdb-range__ticks,
.pdb-range__value {
	display: none;
}

.pdb-range__inputs {
	display: flex;
	align-items: center;
	gap: 6px;
}

.pdb-combo {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	max-width: 7em;
}

.pdb-range__inputs {
	gap: 4px;
}

.pdb-range__inputs input {
	box-sizing: border-box;
	width: 100%;
	padding: 8px 22px 8px 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	font-size: 13px;
}

.pdb-combo__btn {
	position: absolute;
	top: 1px;
	right: 1px;
	bottom: 1px;
	width: 22px;
	padding: 0;
	border: 0;
	border-radius: 0 5px 5px 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.500'/%3E%3C/svg%3E") no-repeat center;
	cursor: pointer;
}

.pdb-combo__list {
	position: absolute;
	z-index: 30;
	top: 100%;
	left: 0;
	min-width: max(100%, 5.5em);
	max-height: 220px;
	margin: 2px 0 0;
	padding: 4px 0;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
	list-style: none;
	overscroll-behavior: contain;
}

.pdb-combo__list[hidden] {
	display: none;
}

.pdb-combo__list li {
	margin: 0;
	padding: 9px 12px;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	touch-action: manipulation;
}

.pdb-combo__list li:hover {
	background: #f3eefb;
}

.pdb-combo__list li[aria-selected="true"] {
	background: var(--pdb-accent, #d6336c);
	color: #fff;
}

.pdb-range__inputs input:focus {
	border-color: var(--pdb-accent, #d6336c);
	outline: none;
}

.pdb-range__inputs i,
.pdb-range__unit {
	color: #666;
	font-size: 13px;
	font-style: normal;
	white-space: nowrap;
}

@media (max-width: 599px) {
	.pdb-range__inputs input {
		font-size: 16px; /* iPhoneで拡大されないように */
	}
}

/* 「もっと見る」「〇位〜〇位を見る」「ランキングをもっと見る」などのボタンをそろえる：
   ふだんは白い背景＋色つきの枠、触れた（マウスが乗った・押した）ときに色が付く。角は四角 */
.pdb-ranking__fold > summary,
.pdb-ranking__fold[open] > summary,
.pdb-ranking__more a,
.pdb-new__morebtn,
.pdb-new--home .pdb-new__morebtn,
.pdb-new__retry,
.pdb-oshi__more {
	padding: 10px 32px;
	border: 2px solid var(--pdb-accent, #d6336c);
	border-radius: 0;
	background: #fff;
	color: var(--pdb-accent, #d6336c) !important;
	font-weight: 700;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .15s, color .15s;
}

.pdb-ranking__fold > summary:active,
.pdb-ranking__fold[open] > summary:active,
.pdb-ranking__more a:active,
.pdb-new__morebtn:active,
.pdb-new--home .pdb-new__morebtn:active,
.pdb-new__retry:active,
.pdb-oshi__more:active {
	background: var(--pdb-accent, #d6336c);
	color: #fff !important;
}

@media (hover: hover) {
	.pdb-ranking__fold > summary:hover,
	.pdb-ranking__fold[open] > summary:hover,
	.pdb-ranking__more a:hover,
	.pdb-new__morebtn:hover,
	.pdb-new--home .pdb-new__morebtn:hover,
	.pdb-new__retry:hover,
	.pdb-oshi__more:hover {
		background: var(--pdb-accent, #d6336c);
		color: #fff !important;
	}
}

.pdb-ranking__fold > summary:focus-visible,
.pdb-new__morebtn:focus-visible,
.pdb-new__retry:focus-visible {
	outline: 2px solid var(--pdb-accent, #d6336c);
	outline-offset: 2px;
}

.pdb-new__morebtn {
	cursor: pointer;
}

/* 読者ランキング：PCは10位まで、スマホは6位まで並べる（7〜10位はPCでは並び、スマホでは折りたたみの中） */
@media (min-width: 600px) {
	.pdb-ranking .pdb-ranking__sp {
		display: none;
	}
}

@media (max-width: 599px) {
	.pdb-ranking .pdb-ranking__pc {
		display: none;
	}
}

/* ---------- 50音順の女優一覧 [pdb_kana]（v0.31.0〜） ---------- */
.pdb-kana__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
}

.pdb-kana__tab {
	min-width: 2.6em;
	padding: 6px 10px;
	border-radius: 6px;
	background: #f0f0f0;
	color: #666 !important;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}

.pdb-kana__tab.is-active {
	background: var(--pdb-accent);
	color: #fff !important;
}

.pdb-kana__tab.is-empty {
	opacity: .4;
}

@media (hover: hover) {
	a.pdb-kana__tab:not(.is-active):hover {
		background: #e2e2e2;
	}
}

.pdb-kana__count {
	margin: 0 0 8px;
	color: #666;
	font-size: 13px;
}

.pdb-kana__head {
	margin: 18px 0 10px !important;
	padding: 0 0 4px 10px !important;
	border: 0 !important;
	border-left: 4px solid var(--pdb-accent) !important;
	background: none !important;
	font-size: 17px !important;
	line-height: 1.3;
}

.pdb-kana__head::before,
.pdb-kana__head::after {
	display: none !important; /* SWELLの見出しの飾りを消す */
}

.pdb-kana .pdb-search__results > .pdb-card {
	padding: 0 0 10px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.pdb-kana .pdb-search__results > .pdb-card .pdb-card__img {
	margin-bottom: 8px;
	border-radius: 10px 10px 0 0;
}

.pdb-kana .pdb-search__results > .pdb-card > span:not(.pdb-card__img) {
	padding: 0 8px;
}

.pdb-kana__empty {
	color: #888;
}

/* ページ送り：ほかの「見る」ボタンと同じ、白い背景＋色つきの枠、触れると色が付く */
.pdb-kana__pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 22px 0 0;
}

.pdb-kana__pager a,
.pdb-kana__pager span {
	min-width: 2.6em;
	padding: 8px 12px;
	border: 2px solid var(--pdb-accent);
	background: #fff;
	color: var(--pdb-accent) !important;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .15s, color .15s;
}

.pdb-kana__pager .is-active,
.pdb-kana__pager a:active {
	background: var(--pdb-accent);
	color: #fff !important;
}

@media (hover: hover) {
	.pdb-kana__pager a:hover {
		background: var(--pdb-accent);
		color: #fff !important;
	}
}

@media (max-width: 599px) {
	.pdb-kana__tabs {
		display: grid;
		grid-template-columns: repeat(6, 1fr); /* スマホは6個ずつ2段 */
	}

	.pdb-kana__tab {
		min-width: 0;
		padding: 8px 0;
	}

	.pdb-kana__prev,
	.pdb-kana__next {
		flex-basis: 100%;
	}
}

/* ---------- 検索の「名前の50音」と、50音順の一覧からの連携（v0.32.0〜） ---------- */
.pdb-search__kana {
	margin-top: 18px;
}

.pdb-search__kana .pdb-search__sub {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
}

.pdb-search__kanalink {
	color: var(--pdb-accent, #d6336c) !important;
	font-size: 12px;
	font-weight: 400;
}

.pdb-kchip {
	min-width: 2.4em;
	padding: 4px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	color: #333;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.pdb-kchip[aria-pressed="true"] {
	border-color: var(--pdb-accent);
	background: var(--pdb-accent);
	color: #fff;
}

.pdb-kana__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 8px;
}

.pdb-kana__bar .pdb-kana__count {
	margin: 0;
}

.pdb-kana__search {
	padding: 6px 14px;
	border: 2px solid var(--pdb-accent);
	background: #fff;
	color: var(--pdb-accent) !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .15s, color .15s;
}

.pdb-kana__search:active {
	background: var(--pdb-accent);
	color: #fff !important;
}

@media (hover: hover) {
	.pdb-kana__search:hover {
		background: var(--pdb-accent);
		color: #fff !important;
	}
}

@media (max-width: 599px) {
	.pdb-kana__search {
		width: 100%;
		text-align: center;
	}

	.pdb-kchip {
		min-width: 0;
		flex: 0 0 calc((100% - 30px) / 6); /* スマホは6個ずつ2段 */
		padding: 7px 0;
	}
}

/* ---------- ミニ検索の「その場で検索」（[pdb_search_mini inline="1"]、v0.33.0〜） ---------- */
.pdb-search__inline {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #eee;
}

.pdb-search__inline[hidden] {
	display: none;
}

.pdb-search__inline .pdb-search__count {
	margin: 0 0 10px;
}

.pdb-search__inline .pdb-search__results {
	grid-template-columns: repeat(5, 1fr);
}

.pdb-search__inline .pdb-search__morewrap {
	margin: 14px 0 0;
	text-align: center;
}

.pdb-search__inline .pdb-search__more {
	padding: 10px 32px;
	border: 2px solid var(--pdb-accent, #d6336c);
	border-radius: 0;
	background: #fff;
	color: var(--pdb-accent, #d6336c);
	font-weight: 700;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.pdb-search__inline .pdb-search__more:active {
	background: var(--pdb-accent, #d6336c);
	color: #fff;
}

@media (hover: hover) {
	.pdb-search__inline .pdb-search__more:hover {
		background: var(--pdb-accent, #d6336c);
		color: #fff;
	}
}

@media (max-width: 599px) {
	.pdb-search__inline .pdb-search__results {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- 1人の女優の出演作品まとめ [pdb_works]（v0.34.0〜）：大きめのカードを記事の幅いっぱいに ---------- */
.pdb-allworks {
	width: 100%;
}

.pdb-allworks__years {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
}

.pdb-allworks__year {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	padding: 6px 12px;
	border: 2px solid var(--pdb-accent);
	background: #fff;
	color: var(--pdb-accent) !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .15s, color .15s;
}

.pdb-allworks__year small {
	font-size: 11px;
	font-weight: 400;
	opacity: .8;
}

.pdb-allworks__year:not(.is-here) {
	border-style: dashed; /* ほかのページにある年 */
}

.pdb-allworks__year:active {
	background: var(--pdb-accent);
	color: #fff !important;
}

@media (hover: hover) {
	.pdb-allworks__year:hover {
		background: var(--pdb-accent);
		color: #fff !important;
	}
}

.pdb-allworks__range {
	margin: 0 0 8px;
	color: #666;
	font-size: 13px;
}

.pdb-allworks__head {
	scroll-margin-top: 80px; /* 固定ヘッダーに隠れないように */
}

.pdb-allworks__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px 18px;
	margin: 0 0 28px;
}

.pdb-allworks .pdb-work {
	padding: 0 0 12px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
	font-size: 14px;
}

.pdb-allworks .pdb-work__img {
	margin-bottom: 10px;
	border-radius: 10px 10px 0 0;
}

.pdb-allworks .pdb-work > p {
	padding: 0 12px;
}

.pdb-allworks .pdb-work__title {
	margin: 4px 0 8px;
	font-weight: 700;
	line-height: 1.5;
}

.pdb-allworks .pdb-work__buy {
	margin-top: auto;
}

.pdb-allworks .pdb-work__buy a {
	display: block;
	padding: 8px 0;
	border-radius: 0;
	border: 2px solid var(--pdb-accent);
	background: #fff;
	color: var(--pdb-accent) !important;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}

.pdb-allworks .pdb-work__buy a:active {
	background: var(--pdb-accent);
	color: #fff !important;
}

@media (hover: hover) {
	.pdb-allworks .pdb-work__buy a:hover {
		background: var(--pdb-accent);
		color: #fff !important;
	}
}

.pdb-allworks__note {
	padding: 8px 12px;
	background: #fff3cd;
	color: #664d03;
	font-size: 13px;
}

@media (max-width: 767px) {
	.pdb-allworks__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 12px;
	}

	.pdb-allworks .pdb-work {
		font-size: 13px;
	}
}

@media (max-width: 420px) {
	.pdb-allworks__grid {
		grid-template-columns: 1fr; /* 小さいスマホは1列で大きく */
	}
}

/* ---------- ボタンの形を「♥ 推し」のボタンに合わせる：角を丸く（両端が半円）。色はサイトのメインカラーのまま（v0.35.0〜） ---------- */
.pdb-ranking__fold > summary,
.pdb-ranking__fold[open] > summary,
.pdb-ranking__more a,
.pdb-new__morebtn,
.pdb-new--home .pdb-new__morebtn,
.pdb-new__retry,
.pdb-oshi__more,
.pdb-search__inline .pdb-search__more,
.pdb-search__submit button,
.pdb-search__reset,
.pdb-search__panel .pdb-search__reset,
.pdb-work__buy a,
.pdb-new--home .pdb-work__buy a,
.pdb-allworks .pdb-work__buy a,
.pdb-allworks__year,
.pdb-kana__search,
.pdb-kana__pager a,
.pdb-kana__pager span {
	border-radius: 999px;
}

/* 推し女優の案内の形：[pdb_oshi_top layout="cta"]（0.39.0〜） */
.pdb-oshi--cta {
	padding: 14px 12px;
}

.pdb-oshi__list--cta {
	margin: 12px 0 0;
}

.pdb-oshi__cta {
	margin-top: 12px;
	padding: 18px 14px;
	border: 1px solid #ead9ee;
	border-radius: 12px;
	background: #fff;
	text-align: center;
}

.pdb-oshi__cta-icon {
	display: block;
	color: var(--pdb-accent);
	font-size: 26px;
	line-height: 1;
}

.pdb-oshi__cta-title {
	margin: 8px 0 2px;
	font-size: 15px;
	font-weight: 700;
}

.pdb-oshi__cta-sub {
	margin: 0 0 12px;
	color: #777;
	font-size: 12px;
}

.pdb-oshi__cta-btn {
	display: inline-block;
	padding: 9px 22px;
	border-radius: 999px;
	background: var(--pdb-accent);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

/* 新作のスマホ向けの形：[pdb_new layout="compact"]（0.40.0〜）。2列・画像は横長の全体・タイトル1行・女優の写真と名前・発売日 */
.pdb-work__who {
	display: none;
}

.pdb-new-wrap--compact .pdb-new__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.pdb-new-wrap--compact .pdb-work__meta,
.pdb-new-wrap--compact .pdb-work__people,
.pdb-new-wrap--compact .pdb-work__buy {
	display: none;
}

.pdb-new-wrap--compact .pdb-work__title {
	display: block;
	overflow: hidden;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
	-webkit-line-clamp: unset;
}

.pdb-new-wrap--compact .pdb-work__who {
	display: flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
	margin-top: 3px;
	color: #888;
	font-size: 11px;
}

.pdb-work__face {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
}

.pdb-work__whotext {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pdb-work__whotext a {
	color: var(--pdb-accent);
}

/* ------------------------------------------------------------
 * 検索ページ（[pdb_search]）のスマホ向けの形（0.41.0〜）
 * キーワード → 基本条件（年齢・身長・カップ）→ 50音 → 3サイズ → カテゴリー・タグ → 検索ボタン → 詳細検索
 * 動きは今までどおり（条件を変えると、下の結果がそのつど絞り込まれる）。PC（600px以上）は変えない
 * ------------------------------------------------------------ */
.pdb-search__mhead,
.pdb-search__go,
.pdb-search__detail {
	display: none;
}

@media (max-width: 599px) {
	.pdb-search:not(.pdb-search--mini) .pdb-search__mhead {
		display: block;
		margin: 0 0 12px;
	}

	.pdb-search__mtitle {
		margin: 0;
		font-size: 17px;
		font-weight: 700;
	}

	.pdb-search__msub {
		margin: 2px 0 0;
		color: #888;
		font-size: 12px;
	}

	/* 条件の欄は、いつも開いたままの1つのフォーム */
	.pdb-search:not(.pdb-search--mini) .pdb-search__filters {
		display: none;
	}

	.pdb-search:not(.pdb-search--mini) .pdb-search__side.is-closed .pdb-search__panel {
		display: flex;
	}

	.pdb-search:not(.pdb-search--mini) .pdb-search__panel {
		display: flex;
		flex-direction: column;
		gap: 14px;
		padding: 16px 14px;
		border-radius: 14px;
		background: #fff;
	}

	.pdb-search:not(.pdb-search--mini) .pdb-search__toggle {
		display: none;
	}

	/* 詳しい条件の中身（キーワード・3サイズ・カテゴリー・タグ…）も、フォームの並びに出す */
	.pdb-search:not(.pdb-search--mini) .pdb-search__panel .pdb-search__extra,
	.pdb-search:not(.pdb-search--mini) .pdb-search__panel .pdb-search__extra:not(.is-open) {
		display: contents;
	}

	/* 並び順 */
	.pdb-search:not(.pdb-search--mini) .pdb-search__name { order: 1; margin: 0; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__panel > .pdb-search__ranges { order: 2; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__kana { order: 3; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__extra > .pdb-search__ranges { order: 4; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__selects { order: 5; margin: 0; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__go { order: 6; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__detail { order: 7; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__genres,
	.pdb-search:not(.pdb-search--mini) .pdb-search__unk,
	.pdb-search:not(.pdb-search--mini) .pdb-search__opts { order: 8; }

	/* ジャンル・数値が未登録の人・並び順・リセットは「詳細検索」を押したときだけ */
	.pdb-search:not(.pdb-search--mini) .pdb-search__side:not(.is-detail) .pdb-search__genres,
	.pdb-search:not(.pdb-search--mini) .pdb-search__side:not(.is-detail) .pdb-search__unk,
	.pdb-search:not(.pdb-search--mini) .pdb-search__side:not(.is-detail) .pdb-search__opts {
		display: none;
	}

	/* 各まとまりの見出し */
	.pdb-search:not(.pdb-search--mini) .pdb-search__name::before,
	.pdb-search:not(.pdb-search--mini) .pdb-search__panel > .pdb-search__ranges::before,
	.pdb-search:not(.pdb-search--mini) .pdb-search__extra > .pdb-search__ranges::before,
	.pdb-search:not(.pdb-search--mini) .pdb-search__selects::before {
		display: block;
		grid-column: 1 / -1;
		margin: 0 0 2px;
		font-size: 13px;
		font-weight: 700;
	}

	.pdb-search:not(.pdb-search--mini) .pdb-search__name::before { content: "キーワード検索"; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__panel > .pdb-search__ranges::before { content: "基本条件"; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__extra > .pdb-search__ranges::before { content: "3サイズで絞り込む"; }
	.pdb-search:not(.pdb-search--mini) .pdb-search__selects::before { content: "カテゴリー・タグ"; }

	/* キーワード：虫めがねつきの丸い枠 */
	.pdb-search:not(.pdb-search--mini) .pdb-search__name input {
		width: 100%;
		box-sizing: border-box;
		height: 44px;
		padding: 0 14px 0 40px;
		border: 1px solid #ddd;
		border-radius: 12px;
		background: #f7f5f6 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 24 24%27%3E%3Ccircle cx=%2710.5%27 cy=%2710.5%27 r=%276.5%27 fill=%27none%27 stroke=%27%23999%27 stroke-width=%272.2%27/%3E%3Cpath d=%27M15.5 15.5L21 21%27 stroke=%27%23999%27 stroke-width=%272.2%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") no-repeat 13px center;
		font-size: 16px;
	}

	/* 3サイズ：3列（バスト・ウエスト・ヒップ）。入力は上限・下限を縦に */
	.pdb-search:not(.pdb-search--mini) .pdb-search__extra > .pdb-search__ranges {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.pdb-search:not(.pdb-search--mini) .pdb-search__extra > .pdb-search__ranges .pdb-range__inputs {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.pdb-search:not(.pdb-search--mini) .pdb-search__extra > .pdb-search__ranges .pdb-range__inputs i {
		display: none;
	}

	.pdb-search:not(.pdb-search--mini) .pdb-search__extra > .pdb-search__ranges .pdb-range__unit {
		color: #888;
		font-size: 11px;
		text-align: center;
	}

	/* カテゴリー・タグは2つ並べる */
	.pdb-search:not(.pdb-search--mini) .pdb-search__selects {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.pdb-search:not(.pdb-search--mini) .pdb-search__selects:empty {
		display: none; /* カテゴリー・タグが無いときは見出しも出さない */
	}

	/* 大きい検索ボタンと、詳細検索 */
	.pdb-search:not(.pdb-search--mini) .pdb-search__go {
		display: block;
		width: 100%;
		padding: 14px 10px;
		border: 0;
		border-radius: 12px;
		background: var(--pdb-accent);
		color: #fff;
		font-size: 15px;
		font-weight: 700;
		cursor: pointer;
	}

	.pdb-search:not(.pdb-search--mini) .pdb-search__detail {
		display: block;
		padding: 2px 0;
		border: 0;
		background: none;
		color: var(--pdb-accent);
		font-size: 13px;
		font-weight: 700;
		text-align: center;
		cursor: pointer;
	}

	.pdb-search__side.is-detail .pdb-search__detail span {
		display: inline-block;
		transform: rotate(90deg);
	}
}

/* ------------------------------------------------------------
 * トップページ用の短縮版：[pdb_search_mini layout="home"]（0.42.0〜）
 * 最初は「名前の欄・50音・条件を指定して探す（閉じた状態）」。開くと年齢・身長・カップ・B・W・H・カテゴリー・タグ
 * ------------------------------------------------------------ */
.pdb-search--home {
	padding: 16px 14px;
	border: 1px solid #e4e4e4;
	border-radius: 14px;
	background: #fff;
}

.pdb-search--home .pdb-home__head {
	margin: 0 0 10px;
}

.pdb-home__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
}

.pdb-home__sub {
	margin: 2px 0 0;
	color: #888;
	font-size: 12px;
}

/* 名前の欄：虫めがねつきの丸い枠 */
.pdb-search--home .pdb-home__q {
	margin: 0 0 12px;
}

.pdb-search--home .pdb-home__q input {
	width: 100%;
	box-sizing: border-box;
	height: 44px;
	padding: 0 14px 0 40px;
	border: 1px solid #ddd;
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 24 24%27%3E%3Ccircle cx=%2710.5%27 cy=%2710.5%27 r=%276.5%27 fill=%27none%27 stroke=%27%23999%27 stroke-width=%272.2%27/%3E%3Cpath d=%27M15.5 15.5L21 21%27 stroke=%27%23999%27 stroke-width=%272.2%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") no-repeat 14px center;
	font-size: 16px;
}

/* 50音：6列 */
.pdb-search--home .pdb-search__kana .pdb-search__chips {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 6px;
}

.pdb-search--home .pdb-kchip {
	width: 100%;
	padding: 8px 0;
}

/* 「条件を指定して探す」（閉じた状態のボタン） */
.pdb-home__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 14px 0 0;
	padding: 11px 10px;
	border: 1px solid #ddd;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.pdb-home__toggle[hidden],
.pdb-home__hint[hidden],
.pdb-home__cond[hidden] {
	display: none;
}

.pdb-home__toggleicon {
	display: inline-block;
	width: 16px;
	height: 12px;
	background: linear-gradient(currentColor, currentColor) 0 1px / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 5px / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 9px / 100% 2px no-repeat;
	opacity: .6;
}

.pdb-home__chev {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 2px solid #888;
	border-bottom: 2px solid #888;
	transform: rotate(45deg) translateY(-2px);
}

.pdb-home__hint {
	margin: 6px 0 12px;
	color: #888;
	font-size: 11px;
	text-align: center;
}

/* 開いたとき：条件の欄 */
.pdb-home__cond {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid #eee;
}

.pdb-home__ctitle {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.pdb-home__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 10px;
}

.pdb-home__cell,
.pdb-search--home .pdb-search__selects,
.pdb-search--home .pdb-search__select {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	margin: 0;
}

.pdb-search--home .pdb-search__selects {
	display: contents;
}

.pdb-home__flabel,
.pdb-search--home .pdb-search__select > span {
	color: #666;
	font-size: 11px;
	font-weight: 700;
}

.pdb-home__field,
.pdb-search--home .pdb-search__select select {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	padding: 0 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background-color: #f7f5f6;
	color: #555;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
}

.pdb-home__field.is-active {
	border-color: var(--pdb-accent);
	color: var(--pdb-accent);
	font-weight: 700;
}

.pdb-home__field[aria-expanded="true"] {
	border-color: var(--pdb-accent);
	background-color: #fff;
}

/* 項目をその場で入力欄に変える（0.48.0〜）：押した項目のボタンが、下限・上限の入力欄になる。PC版トップ・スマホ用トップで共通 */
.pdb-fedit {
	position: relative;
	min-width: 0;
}

.pdb-fedit__panel {
	display: none;
}

.pdb-fedit.is-editing > .pdb-fedit__panel {
	display: block;
}

.pdb-fedit:not(.pdb-fedit--multi).is-editing > .pdb-home__field {
	visibility: hidden; /* ボタンの幅は残す（まわりの並びを動かさない） */
}

.pdb-fedit .pdb-range {
	margin: 0;
}

.pdb-fedit .pdb-range__value {
	display: none;
}

/* スマホ用トップ：押した項目が、その場で横いっぱいに広がる。ラベルは上にあるので、1つの範囲のときは入力欄の見出しを隠す */
.pdb-search--home .pdb-home__cell.is-editing {
	grid-column: 1 / -1;
}

.pdb-search--home .pdb-fedit.is-editing > .pdb-home__field {
	display: none;
}

.pdb-search--home .pdb-fedit__panel {
	padding: 8px 10px;
	border: 1px solid var(--pdb-accent);
	border-radius: 8px;
	background: #fff;
}

.pdb-search--home .pdb-fedit:not(.pdb-fedit--multi) .pdb-range__head {
	display: none;
}

/* B・W・H：見出しを上に、入力欄を下に（狭い画面で「指定なし」が切れないよう、入力欄に横幅を使う） */
.pdb-search--home .pdb-fedit--multi .pdb-range {
	margin: 0 0 10px;
}

.pdb-search--home .pdb-fedit--multi .pdb-range:last-child {
	margin-bottom: 0;
}

.pdb-search--home .pdb-fedit--multi .pdb-range__head {
	margin: 0 0 4px;
}

.pdb-home__note {
	margin: 10px 0 0;
	color: #888;
	font-size: 11px;
}

/* 検索ボタンと詳細へのリンク */
.pdb-search--home .pdb-search__submit {
	margin: 14px 0 0;
	text-align: center;
}

.pdb-search--home .pdb-search__submit button {
	width: 100%;
	padding: 13px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--pdb-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.pdb-home__detail {
	margin: 10px 0 0;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
}

.pdb-home__detail a {
	color: var(--pdb-accent);
}

.pdb-search--home .pdb-kchip {
	border-color: #f0d6df;
	background: #fbeff3;
	color: var(--pdb-accent);
}

.pdb-search--home .pdb-kchip[aria-pressed="true"] {
	border-color: var(--pdb-accent);
	background: var(--pdb-accent);
	color: #fff;
}

.pdb-home__detail a {
	text-decoration: none;
}

/* ------------------------------------------------------------
 * PC版のトップ用：[pdb_search_mini layout="pc"]（0.43.0〜）
 * 見出しと名前の欄を横に並べ、その下に50音と詳細条件の行。項目を押すと、下に下限・上限が開く
 * ------------------------------------------------------------ */
.pdb-search--pc {
	padding: 20px 22px 14px;
	border: 1px solid #e4dfe1;
	border-radius: 12px;
	background: #fff;
}

.pdb-pc__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}

.pdb-pc__head {
	flex: 0 1 auto;
}

.pdb-pc__head p {
	margin: 0;
}

.pdb-pc__eyebrow {
	color: var(--pdb-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
}

.pdb-search--pc .pdb-pc__title {
	margin: 2px 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
}

.pdb-pc__sub {
	color: #777;
	font-size: 13px;
}

.pdb-pc__bar {
	display: flex;
	flex: 1 1 320px;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.pdb-search--pc .pdb-search__name {
	flex: 1;
	min-width: 0;
	margin: 0;
}

.pdb-search--pc .pdb-search__name input {
	width: 100%;
	box-sizing: border-box;
	height: 44px;
	padding: 0 14px 0 40px;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 24 24%27%3E%3Ccircle cx=%2710.5%27 cy=%2710.5%27 r=%276.5%27 fill=%27none%27 stroke=%27%23999%27 stroke-width=%272.2%27/%3E%3Cpath d=%27M15.5 15.5L21 21%27 stroke=%27%23999%27 stroke-width=%272.2%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") no-repeat 13px center;
	font-size: 15px;
}

.pdb-search--pc .pdb-search__submit {
	flex: 0 0 auto;
	margin: 0;
}

.pdb-search--pc .pdb-search__submit button {
	height: 44px;
	padding: 0 26px;
	border: 0;
	border-radius: 8px;
	background: var(--pdb-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.pdb-pc__row {
	display: flex;
	align-items: center;
	gap: 8px 16px;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

.pdb-pc__row + .pdb-pc__row {
	border-bottom: 0;
}

.pdb-search--pc .pdb-pc__label {
	flex: 0 0 132px;
	margin: 0;
	padding-left: 10px;
	border-left: 3px solid var(--pdb-accent);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.pdb-search--pc .pdb-search__kana {
	flex: 1;
	min-width: 0;
	margin: 0;
}

.pdb-search--pc .pdb-search__kana .pdb-search__sub {
	justify-content: flex-end;
	margin: 0 0 6px;
}

.pdb-search--pc .pdb-search__kana .pdb-search__sub:empty {
	display: none;
}

.pdb-search--pc .pdb-search__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pdb-search--pc .pdb-kchip {
	flex: 1 1 2.6em;
	min-width: 2.6em;
	max-width: 64px;
	padding: 5px 0;
	border-color: #dcc9d0;
}

.pdb-pc__fields {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.pdb-search--pc .pdb-search__selects {
	display: contents;
}

.pdb-search--pc .pdb-search__select {
	display: block;
	margin: 0;
}

.pdb-search--pc .pdb-search__select > span {
	display: none;
}

.pdb-search--pc .pdb-home__field,
.pdb-search--pc .pdb-search__select select {
	box-sizing: border-box;
	width: auto;
	max-width: 180px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background-color: #fff;
	color: #444;
	font-size: 13px;
}

.pdb-search--pc .pdb-home__field {
	gap: 8px;
}

.pdb-pc__detail {
	margin-left: auto;
	color: var(--pdb-accent) !important;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

/* 年齢・身長・カップ：ボタンの上に重なる、ボタンと同じ高さの入力欄に変わる（0.48.0〜。並びは動かさない） */
.pdb-search--pc .pdb-fedit:not(.pdb-fedit--multi) > .pdb-fedit__panel {
	position: absolute;
	z-index: 25;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: max-content;
	height: 34px;
	padding: 0 8px 0 10px;
	border: 1px solid var(--pdb-accent);
	border-radius: 6px;
	background: #fff;
}

.pdb-search--pc .pdb-fedit .pdb-range {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 100%;
}

.pdb-search--pc .pdb-fedit .pdb-range__head {
	flex: 0 0 auto;
	font-size: 13px;
}

.pdb-search--pc .pdb-fedit .pdb-combo {
	flex: 0 0 5em;
	max-width: none;
}

.pdb-search--pc .pdb-fedit .pdb-range__inputs {
	flex-wrap: nowrap;
}

.pdb-search--pc .pdb-fedit .pdb-range__unit,
.pdb-search--pc .pdb-fedit .pdb-range__inputs i {
	flex: 0 0 auto;
}

.pdb-search--pc .pdb-fedit.is-right > .pdb-fedit__panel {
	right: 0;
	left: auto;
}

.pdb-search--pc .pdb-fedit .pdb-range__inputs input {
	height: 26px;
	padding: 0 22px 0 8px;
}

/* B・W・H：3つの範囲を、ボタンの真下に浮かぶ小さな枠に並べる（下の内容は押し下げない） */
.pdb-search--pc .pdb-fedit--multi > .pdb-fedit__panel {
	position: absolute;
	z-index: 25;
	top: calc(100% + 4px);
	left: 0;
	width: max-content;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
}

.pdb-search--pc .pdb-fedit--multi .pdb-range {
	height: auto;
	margin: 0 0 8px;
}

.pdb-search--pc .pdb-fedit--multi .pdb-range:last-child {
	margin-bottom: 0;
}

.pdb-search--pc .pdb-fedit--multi .pdb-range__head {
	flex: 0 0 8.5em;
	white-space: nowrap;
}

.pdb-search--pc .pdb-fedit--multi .pdb-range__inputs input {
	height: 30px;
}

.pdb-search--pc .pdb-fedit--multi .pdb-home__field[aria-expanded="true"] {
	border-color: var(--pdb-accent);
}

/* 欄の下：ピックアップと結果（5人まで。写真は 125px なので大きくしすぎない） */
.pdb-pc__pick,
.pdb-search--pc .pdb-search__inline,
.pdb-search--home .pdb-search__inline {
	padding: 14px 0 6px;
	border-top: 1px solid #eee;
}

.pdb-search--pc .pdb-pc__picktitle,
.pdb-search--home .pdb-pc__picktitle {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
}

/* スマホ用の短縮版のピックアップ（[pdb_search_mini layout="home" pick="4"]・0.52.0〜）：2列で並べる。記事の数は出さない */
.pdb-search--home .pdb-pc__pick {
	margin-top: 14px;
}

.pdb-search--home .pdb-pc__pick .pdb-search__results,
.pdb-search--home .pdb-search__inline .pdb-search__results {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.pdb-search--home .pdb-pc__pick .pdb-card__cnt,
.pdb-search--home .pdb-search__inline .pdb-card__cnt {
	display: none;
}

/* コンパクト版の inline="1"（0.53.0〜）：結果の欄は PC版と同じ */
.pdb-search--home .pdb-search__inline {
	margin-top: 14px;
}

.pdb-search--home .pdb-search__count {
	margin: 0;
}

.pdb-search--home .pdb-search__morewrap {
	margin: 14px 0 4px;
}

.pdb-pc__reshead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
}

.pdb-search--pc .pdb-search__count {
	margin: 0;
}

.pdb-pc__clear {
	padding: 0;
	border: 0;
	background: none;
	color: var(--pdb-accent);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.pdb-search--pc .pdb-search__results {
	grid-template-columns: repeat(5, minmax(0, 150px));
	justify-content: space-between;
	gap: 12px;
}

.pdb-search--pc .pdb-card__cnt {
	display: none;
}

.pdb-search--pc .pdb-search__morewrap {
	margin: 14px 0 4px;
}

@media (max-width: 899px) {
	.pdb-search--pc .pdb-search__results {
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	}

	.pdb-pc__row {
		align-items: flex-start;
		flex-direction: column;
	}

	.pdb-search--pc .pdb-pc__label {
		flex: 0 0 auto;
	}

	.pdb-search--pc .pdb-search__kana,
	.pdb-pc__fields {
		width: 100%;
	}
}

@media (max-width: 599px) {
	/* PC版の検索欄をスマホ幅でも使う（0.49.0〜）：検索ボタンは名前の欄の下に横いっぱい。押した項目は画面の外に出ないよう、横いっぱいに広げる（重ねない） */
	.pdb-pc__bar {
		flex-wrap: wrap;
	}

	.pdb-search--pc .pdb-search__name,
	.pdb-search--pc .pdb-search__submit {
		flex: 1 1 100%;
	}

	.pdb-search--pc .pdb-search__submit button {
		width: 100%;
	}

	.pdb-search--pc .pdb-fedit.is-editing {
		flex: 0 0 100%;
	}

	.pdb-search--pc .pdb-fedit.is-editing > .pdb-home__field {
		display: none;
	}

	.pdb-search--pc .pdb-fedit > .pdb-fedit__panel,
	.pdb-search--pc .pdb-fedit:not(.pdb-fedit--multi) > .pdb-fedit__panel,
	.pdb-search--pc .pdb-fedit--multi > .pdb-fedit__panel {
		position: static;
		box-sizing: border-box;
		width: auto;
		height: auto;
		padding: 8px 10px;
		border: 1px solid var(--pdb-accent);
		border-radius: 8px;
		background: #fff;
		box-shadow: none;
	}

	.pdb-search--pc .pdb-fedit .pdb-range {
		display: block;
		height: auto;
	}

	.pdb-search--pc .pdb-fedit:not(.pdb-fedit--multi) .pdb-range {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.pdb-search--pc .pdb-fedit--multi .pdb-range {
		margin: 0 0 10px;
	}

	.pdb-search--pc .pdb-fedit--multi .pdb-range:last-child {
		margin-bottom: 0;
	}

	.pdb-search--pc .pdb-fedit--multi .pdb-range__head {
		margin: 0 0 4px;
		white-space: normal;
	}

	.pdb-search--pc .pdb-fedit .pdb-combo {
		flex: 1 1 0;
		max-width: none;
	}

	.pdb-search--pc .pdb-fedit .pdb-range__inputs input {
		height: 36px;
	}
}
