/* FANZA Doujin Poster */
.fdp-item { margin-bottom: 2em; }
.fdp-package { text-align: center; }
.fdp-package img { max-width: 100%; height: auto; }

.fdp-btn-wrap { text-align: center; margin: 1.2em 0; }
.fdp-btn {
	display: inline-block;
	padding: .9em 2.4em;
	background: #e8364d;
	color: #fff !important;
	font-weight: bold;
	text-decoration: none !important;
	border-radius: 999px;
	box-shadow: 0 3px 0 #b3182c;
	transition: transform .1s, box-shadow .1s;
}
.fdp-btn:hover { transform: translateY(2px); box-shadow: 0 1px 0 #b3182c; }
.fdp-btn-s { padding: .45em 1.2em; font-size: .85em; margin-top: .4em; }

.fdp-info { width: 100%; border-collapse: collapse; }
.fdp-info th, .fdp-info td { border: 1px solid #ddd; padding: .6em .8em; text-align: left; vertical-align: top; }
.fdp-info th { width: 8em; background: #f6f6f6; white-space: nowrap; }

.fdp-samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.fdp-samples img { width: 100%; height: auto; display: block; border-radius: 4px; }

.fdp-note { font-size: .8em; color: #888; }

.fdp-ranking { list-style: none; margin: 0; padding: 0; }
.fdp-rank-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #eee; }
.fdp-rank-no {
	flex: 0 0 2.2em; height: 2.2em; line-height: 2.2em; text-align: center;
	border-radius: 50%; background: #999; color: #fff; font-weight: bold;
}
.fdp-rank-1 { background: #d4a017; }
.fdp-rank-2 { background: #9ea7ad; }
.fdp-rank-3 { background: #b87333; }
.fdp-rank-img { flex: 0 0 110px; }
.fdp-rank-img img { width: 110px; height: auto; display: block; border-radius: 4px; }
.fdp-rank-body { flex: 1; min-width: 0; }
.fdp-rank-title { font-weight: bold; display: block; line-height: 1.5; }
.fdp-rank-meta { font-size: .85em; color: #666; margin-top: .2em; }

.fdp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0; }
.fdp-chip {
	display: inline-block; padding: .4em .9em; border: 1px solid #e8364d; border-radius: 999px;
	color: #e8364d !important; text-decoration: none !important; font-size: .9em; background: #fff;
}
.fdp-chip:hover { background: #e8364d; color: #fff !important; }
.fdp-chip span { font-size: .8em; opacity: .7; }

.fdp-error { color: #c00; font-size: .9em; }

@media (max-width: 480px) {
	.fdp-rank-img { flex-basis: 80px; }
	.fdp-rank-img img { width: 80px; }
	.fdp-info th { width: 6em; }
}
