/*
  方向性（unslop: Damir Sokolovsky, CC BY 4.0 の手順に沿って設計）
  - 用途: AV女優を顔写真から探し、FANZAの出演作とセール価格を確かめる名鑑サイト
  - 性格: 明るく清潔、写真が主役、値段に正確（2026-11-27 白基調に変更）
  - 世界: 白い紙の名鑑・カタログと、手書きの値札
  - 見せ場: パッケージ画像そのもの（周りは静かにする）
  - 目印: 割引率と終了日だけを書いた小さな値札タグ
*/
:root {
  --bg: #ffffff;
  --bg-deep: #f7f6f4;
  --card: #ffffff;
  --raised: #f2f0ed;
  --raised-hover: #e9e6e2;
  --line: rgba(27, 26, 24, 0.1);
  --line-strong: rgba(27, 26, 24, 0.2);
  --text: #1b1a18;
  --text-2: #57534d;
  --text-3: #736e67;
  --accent: #c2521f;
  --accent-hover: #a9461a;
  --accent-ink: #b04a1a;
  --on-accent: #ffffff;
  --focus: #c2521f;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2 {
  word-break: auto-phrase;
}

.phrase {
  display: inline-block;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--raised);
  border-radius: 8px;
  z-index: 10;
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: 100%;
  max-width: 1840px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ヘッダー */
.site-header {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.wordmark {
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: var(--raised);
}

.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--raised);
}

.nav-search {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.nav-search svg {
  flex: none;
}

/* スマホではナビを1行で横に送れるようにする（折り返して高さが変わらないように） */
@media (max-width: 599px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
    padding-left: 0;
    padding-right: 0;
  }
  .wordmark {
    padding: 0 16px;
  }
  .site-header nav {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-header nav::-webkit-scrollbar {
    display: none;
  }
  .nav {
    gap: 0;
    padding: 4px 8px 8px;
    width: max-content;
  }
  .nav a {
    padding: 8px;
  }
}

.sample-banner {
  margin-top: 16px;
  padding: 8px 0 8px 12px;
  color: var(--text-2);
  font-size: 13px;
  border-left: 2px solid var(--accent);
}

main {
  padding-top: 32px;
  padding-bottom: 64px;
}

/* 導入 */
.intro {
  max-width: 40rem;
  margin-bottom: 40px;
}

.intro h1 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 12px;
}

.intro p,
.page-head p {
  color: var(--text-2);
}

.page-head {
  margin-bottom: 24px;
}

.page-head h1 {
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 4px;
}

.page-head a {
  color: var(--accent-ink);
}

/* セクション */
.block {
  margin-top: 48px;
}

.block:first-child {
  margin-top: 0;
}

.block h2 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 500;
}

.block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.block-head + .grid,
.block-head + .chips {
  margin-top: 16px;
}

.block-lead {
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 16px;
}

.more {
  color: var(--text-2);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.more:hover {
  color: var(--text);
  text-decoration: underline;
}

/* 作品グリッド */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 24px 16px;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 32px 20px;
  }
}

.card {
  position: relative;
}

.card-link {
  display: block;
  text-decoration: none;
}

.cover {
  display: block;
  aspect-ratio: 300 / 420;
  overflow: hidden;
  border-radius: 8px;
  background: var(--raised);
  border: 1px solid var(--line);
  transition: border-color 150ms var(--ease);
}

/* 実データの大きい画像は横長（右半分が表面）なので右寄せで切り抜く */
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.card-link:hover .cover {
  border-color: var(--line-strong);
}

.card-link:hover .card-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-body {
  display: block;
  padding-top: 8px;
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
}

.card-meta {
  display: block;
  margin-top: 2px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 値段 */
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.price-now {
  color: var(--text);
  font-size: 14px;
}

.price-now .num {
  font-family: var(--mono);
  font-size: 15px;
}

.price-now .unit {
  font-size: 12px;
  color: var(--text-2);
  margin-left: 1px;
}

.price-list {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
}

.price-lg .price-now .num {
  font-size: 28px;
  line-height: 1.2;
}

.price-lg .price-now .unit {
  font-size: 14px;
}

.price-lg .price-list {
  font-size: 14px;
}

/* 値札タグ（このサイトの目印） */
.tag {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  pointer-events: none;
}

.tag-off,
.tag-end {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-off {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
}

.tag-end {
  background: rgba(27, 26, 24, 0.86);
  color: #ffffff;
}

/* チップ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}

.chips a:hover {
  background: var(--raised);
}

.count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

.chips-lg a {
  min-height: 40px;
  padding: 8px 14px;
}

.empty {
  color: var(--text-2);
}

/* パンくず */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
}

.crumbs li {
  display: flex;
  gap: 4px;
  flex: none;
}

/* 現在のページ名は1行に収め、長いときは末尾を省略する */
.crumbs ol {
  flex-wrap: nowrap;
}

.crumbs li + li::before {
  content: "/";
  color: var(--text-3);
}

.crumbs li[aria-current] {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 32em;
  color: var(--text-2);
}

.crumbs li[aria-current]::after {
  content: none;
}

.crumbs .crumb-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crumbs a {
  color: var(--text-2);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

/* 作品ページ */
.work {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .work {
    grid-template-columns: minmax(240px, 340px) 1fr;
    gap: 40px;
    align-items: start;
  }
}

.work-cover {
  max-width: 340px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--raised);
}

@media (max-width: 767px) {
  .work-cover {
    max-width: 180px;
  }
}

.work-cover img {
  width: 100%;
  aspect-ratio: 300 / 420;
  object-fit: cover;
  object-position: right center;
}

.work-main h1 {
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.45;
  font-weight: 500;
}

.buy {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
}

.buy-sale {
  margin-top: 4px;
  color: var(--accent-ink);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms var(--ease), transform 120ms var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--raised);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--raised-hover);
}

.btn-buy {
  width: 100%;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .btn-buy {
    width: auto;
  }
}

.buy-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-3);
}

.spec {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.spec > div {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.spec dt {
  color: var(--text-3);
}

.spec dd a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--text-3);
}

.spec dd a:hover {
  text-decoration-color: currentColor;
}

.note {
  max-width: 40rem;
}

.note h2 {
  margin-bottom: 12px;
}

.note p + p,
.prose p + p {
  margin-top: 12px;
}

.samples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .samples {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }
}

.samples a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.samples img {
  width: 100%;
  aspect-ratio: 560 / 376;
  object-fit: cover;
}

.prose {
  max-width: 40rem;
}

.prose h2 {
  font-size: 17px;
  font-weight: 500;
  margin-top: 32px;
  margin-bottom: 8px;
}

.prose > p {
  color: var(--text-2);
}

.prose a {
  color: var(--accent-ink);
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  margin: 12px 0;
  padding-left: 1.4em;
  color: var(--text-2);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 4px;
}

.prose li::marker {
  color: var(--text-3);
}

.prose strong {
  color: var(--text);
  font-weight: 500;
}

.prose h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 24px 0 4px;
}

.prose .spec {
  margin-top: 0;
  margin-bottom: 24px;
}

/* ガイド一覧（番号つき） */
.guides {
  border-top: 1px solid var(--line);
  max-width: 48rem;
}

.block-head + .guides {
  margin-top: 16px;
}

.guide-item a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 150ms var(--ease);
}

.guide-item a:hover .guide-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-no {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 24px;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}

.guide-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.guide-title {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.guide-desc {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

.guides-compact .guide-item a {
  padding: 12px 0;
}

.guides-compact .guide-title {
  font-size: 15px;
  font-weight: 400;
}

/* 掲載予定 */
.plan {
  margin-top: 16px;
  max-width: 48rem;
  border-top: 1px solid var(--line);
}

.plan > div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.plan dt {
  color: var(--text);
}

.plan dd {
  color: var(--text-2);
}

@media (max-width: 479px) {
  .plan > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* 記事 */
.article {
  max-width: 40rem;
}

.article-head h1 {
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.45;
  font-weight: 500;
}

.article-meta {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.toc {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
}

.toc h2 {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
  margin-bottom: 8px;
}

.toc ol {
  list-style: decimal;
  padding-left: 1.4em;
  font-size: 14px;
}

.toc .toc-plain {
  list-style: none;
  padding-left: 0;
}

.toc li + li {
  margin-top: 4px;
}

.toc li::marker {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
}

.toc a {
  color: var(--text-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 19px;
  line-height: 1.45;
  margin-top: 40px;
  margin-bottom: 8px;
  scroll-margin-top: 16px;
}

.article-body > p:first-child {
  margin-top: 24px;
}

.next-read {
  max-width: 40rem;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
}

.next-label {
  color: var(--text-3);
  font-size: 13px;
}

.next-link {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.next-link:hover {
  text-decoration-color: currentColor;
}

.buy-note a {
  color: var(--text-2);
  text-underline-offset: 3px;
}

/* ページ送り */
.pager ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 40px;
  font-variant-numeric: tabular-nums;
}

.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
}

.pager a {
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}

.pager a:hover {
  background: var(--raised);
  color: var(--text);
}

.pager [aria-current] {
  background: var(--text);
  color: var(--bg);
}

.pager-gap {
  display: inline-flex;
  align-items: center;
  color: var(--text-3);
  padding: 0 4px;
}

/* 検索 */
.search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  max-width: 40rem;
}

.search-input {
  flex: 1 1 280px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.search-input::placeholder {
  color: var(--text-3);
}

.search-input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: transparent;
}

.search-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
}

.search-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.search-status {
  margin: 16px 0 20px;
  color: var(--text-2);
  font-size: 14px;
}

/* 出演者の顔写真グリッド */
.faces {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 20px 12px;
}

@media (min-width: 768px) {
  .faces {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 28px 16px;
  }
}

.block-head + .faces,
.face-search + .faces {
  margin-top: 16px;
}

.face[hidden] {
  display: none;
}

.face a {
  display: block;
  text-decoration: none;
}

.face-img {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--raised);
  border: 1px solid var(--line);
  transition: border-color 150ms var(--ease);
}

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

.face-initial {
  font-size: 32px;
  color: var(--text-3);
}

.face a:hover .face-img {
  border-color: var(--line-strong);
}

.face a:hover .face-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.face-name {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.face-meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.face-search {
  margin-top: 16px;
}

.face-search {
  flex-wrap: nowrap;
  gap: 8px;
}

.face-search .search-input {
  flex: 1 1 auto;
  min-width: 0;
}

.face-search .btn {
  flex: none;
  min-height: 44px;
}

#search-faces:not(:empty) {
  margin-bottom: 32px;
}

/* 出演者一覧の操作 */
.face-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 4px;
}

.kana,
.sort {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kana-btn,
.sort-btn {
  min-width: 40px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}

.kana-btn:hover,
.sort-btn:hover {
  background: var(--raised);
  color: var(--text);
}

.kana-btn[aria-pressed="true"],
.sort-btn[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.sort-btn {
  font-size: 13px;
  min-height: 32px;
  padding: 4px 10px;
}

.face-tools .search-status {
  margin: 4px 0 12px;
}

/* 出演者ページ */
.actress-head {
  display: grid;
  gap: 20px;
  grid-template-columns: 120px 1fr;
  align-items: start;
}

@media (min-width: 768px) {
  .actress-head {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }
}

.actress-face {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--raised);
  border: 1px solid var(--line);
}

.actress-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.actress-info h1 {
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.35;
  font-weight: 500;
}

.spec-compact {
  margin-top: 12px;
}

.spec-compact > div {
  grid-template-columns: 5.5em 1fr;
  padding: 6px 0;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 479px) {
  .actress-head {
    grid-template-columns: 1fr;
  }
  .actress-face {
    width: 128px;
  }
}

.actress-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.btn-ghost {
  color: var(--text-2);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--raised);
}

.list-title {
  margin: 40px 0 16px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 500;
  scroll-margin-top: 16px;
}

/* 特集リンク */
.feature-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.feature-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  text-decoration: none;
  font-size: 15px;
  transition: background-color 150ms var(--ease);
}

.feature-links a:hover {
  background: var(--raised);
}

.feature-links-lg {
  grid-template-columns: 1fr;
  max-width: 48rem;
}

.feature-links-lg a {
  padding: 16px 20px;
}

.feature-text {
  display: grid;
  gap: 2px;
}

.feature-lead {
  color: var(--text-2);
  font-size: 13px;
}

/* フッター */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 32px 0 40px;
  font-size: 13px;
  color: var(--text-2);
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-note {
  max-width: 44rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a,
.credit a {
  color: var(--text-2);
  text-underline-offset: 3px;
}

.footer-links a:hover,
.credit a:hover {
  color: var(--text);
}

.credit {
  color: var(--text-3);
  font-size: 12px;
}

/* 年齢確認 */
.age-gate {
  width: min(440px, calc(100% - 32px));
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
}

/* 年齢確認の後ろは何も見えないようにする（ページに入る前に確認する） */
.age-gate::backdrop {
  background: #f7f6f4;
}

.age-pending .skip,
.age-pending .site-header,
.age-pending main,
.age-pending .site-footer,
.age-pending .sample-banner {
  visibility: hidden;
}

.age-gate h2 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 8px;
}

.age-gate p {
  color: var(--text-2);
  font-size: 14px;
}

.age-gate-actions {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.age-gate[open] {
  animation: gate-in 300ms var(--ease);
}

@keyframes gate-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

/* ---------- 人気ランキング・プロフィール区分 ---------- */
ol.faces {
  list-style: none;
  padding: 0;
  margin: 0;
}

.face-img {
  position: relative;
}

.rank-badge {
  position: absolute;
  left: 6px;
  top: 6px;
  min-width: 28px;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(27, 26, 24, 0.82);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  text-align: center;
}

.face-ranked:nth-child(-n + 3) .rank-badge {
  background: var(--accent);
  color: var(--on-accent);
}

.rank-unit {
  font-size: 10px;
  margin-left: 1px;
}

.chips a[aria-current="page"] {
  background: var(--raised);
  border-color: var(--line-strong);
}

.actress-links {
  margin: 0 0 20px;
}

.more-line {
  margin-top: 24px;
}

.block-head + .block-lead + .grid,
.block-lead + .faces {
  margin-top: 12px;
}

/* ---------- 公式SNS ---------- */
.sns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.sns-note {
  margin: 12px 0 0;
  color: var(--text-3);
  font-size: 13px;
}

/* ---------- 広い画面では左右の余白を広げ、横幅いっぱいに並べる ---------- */
@media (min-width: 1024px) {
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1440px) {
  .wrap {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (min-width: 1280px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 28px 20px;
  }

  .faces {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

/* トップの一覧は、決まった行数で切って半端な行を出さない */
.grid.clamp,
.faces.clamp {
  --rows: 4;
  grid-template-rows: repeat(var(--rows), auto);
  grid-auto-rows: 0;
  overflow: hidden;
  row-gap: 0;
}

.grid.clamp > li,
.faces.clamp > li {
  margin-bottom: 24px;
}

.faces.clamp {
  --rows: 3;
}

@media (min-width: 768px) {
  .grid.clamp {
    --rows: 2;
  }

  .faces.clamp {
    --rows: 2;
  }
}

#face-remote:not(:empty) {
  margin-bottom: 32px;
}

/* ---------- サンプル動画 ---------- */
.movie {
  margin-top: 16px;
  max-width: 720px;
}

.movie-play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--raised);
  cursor: pointer;
  aspect-ratio: 800 / 538;
}

.movie-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  transition: transform 150ms var(--ease);
}

.movie-play:hover .movie-icon {
  transform: scale(1.06);
}

.movie-play:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.movie-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(27, 26, 24, 0.82);
  color: #ffffff;
  font-size: 13px;
}

.movie.is-playing {
  width: 100%;
  max-width: var(--movie-w);
  overflow: hidden;
  border-radius: 12px;
}

.movie.is-playing iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.movie-note {
  margin: 8px 0 0;
  color: var(--text-3);
  font-size: 13px;
}

.movie-note a {
  color: var(--accent-ink);
}

.movie-label-narrow {
  display: none;
}

@media (max-width: 507px) {
  .movie-label-wide {
    display: none;
  }

  .movie-label-narrow {
    display: inline;
  }
}

/* =========================================================
   2026-11-27 画面いっぱいを使うレイアウトへの作り直し
   ========================================================= */

/* ---------- ヘッダー：上に固定し、検索をいつでも使えるように ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 246, 244, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.header-search {
  display: none;
  position: relative;
  flex: 1;
  max-width: 420px;
  margin: 0 16px;
  color: var(--text-3);
}

.header-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.header-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.header-search input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

@media (min-width: 1180px) {
  .header-search {
    display: block;
  }

  .nav .nav-search {
    display: none !important;
  }
}

/* ---------- 画面の端まで広がる帯 ---------- */
body {
  overflow-x: clip; /* 100vw の帯がスクロールバー分はみ出さないように */
}

.hero {
  position: relative;
  display: grid;
  gap: 32px;
  /* 中身の列はページ本文とそろえ、背景だけ画面の端まで広げる */
  margin: 0 calc(50% - 50vw) 8px;
  padding: 32px calc(50vw - 50%) 40px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 48px;
    min-height: min(640px, calc(100vh - 57px));
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.hero h1 {
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 34em;
  color: var(--text-2);
  font-size: 16px;
}

.hero-search {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 24px;
  max-width: 520px;
  color: var(--text-3);
}

.hero-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.hero-search input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.hero-search .btn {
  height: 48px;
  padding: 0 24px;
  white-space: nowrap;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 28px 0 0;
}

.hero-stats div {
  display: grid;
  gap: 2px;
}

.hero-stats dt {
  color: var(--text-3);
  font-size: 12px;
}

.hero-stats dd {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

.hero-stats .num {
  margin-right: 2px;
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--text-3);
  font-size: 12px;
}

/* 見せ場：人気上位の顔写真のモザイク */
.hero-faces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-faces li:nth-child(n + 7) {
  display: none;
}

@media (min-width: 600px) {
  .hero-faces {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .hero-faces li:nth-child(n + 7) {
    display: block;
  }

  .hero-faces li:nth-child(n + 11) {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero-faces li:nth-child(n + 11) {
    display: block;
  }
}

.hero-faces a {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--raised);
  text-decoration: none;
}

.hero-faces img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 300ms var(--ease);
}

.hero-faces a:hover img {
  transform: scale(1.04);
}

.hero-face-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 24px 8px 8px;
  background: linear-gradient(to top, rgba(27, 26, 24, 0.72), rgba(27, 26, 24, 0));
  color: #ffffff;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-face-rank {
  flex: none;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

.hero-faces a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- 女優ページ：左にプロフィール、右に内容 ---------- */
.actress-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .actress-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .actress-aside {
    position: sticky;
    top: 76px;
    /* 画面が低くても公式SNSまで見られるよう、左の列だけスクロールできる */
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-bottom: 8px;
  }
}

@media (min-width: 1440px) {
  .actress-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 56px;
  }
}

.actress-aside {
  display: grid;
  gap: 20px;
  grid-template-columns: 120px 1fr;
  align-items: start;
}

@media (min-width: 600px) and (max-width: 1023px) {
  .actress-aside {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }
}

@media (min-width: 1024px) {
  .actress-aside {
    grid-template-columns: 1fr;
  }
}

.actress-ruby {
  margin: 2px 0 0;
  color: var(--text-3);
  font-size: 14px;
}

.actress-actions {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.actress-actions .btn {
  justify-content: center;
  width: 100%;
}

.actress-aside .sns-block {
  margin-top: 20px;
}

.actress-aside .sns-block h2 {
  font-size: 15px;
}

.actress-aside .sns-links {
  margin-top: 8px;
}

.actress-aside .sns-note {
  font-size: 12px;
}

.actress-main > .block:first-child {
  margin-top: 0;
}

.actress-main .note {
  max-width: none;
}

.actress-main .note p {
  max-width: 42em;
}

@media (max-width: 599px) {
  .actress-aside {
    grid-template-columns: 112px 1fr;
    gap: 16px;
  }

  .actress-aside .sns-block,
  .actress-actions {
    grid-column: 1 / -1;
  }
}

/* ---------- 作品ページ：横長のパッケージを大きく、購入をいつでも ---------- */
@media (min-width: 900px) {
  .work {
    grid-template-columns: minmax(360px, 46%) minmax(0, 1fr);
    gap: 48px;
  }

  .work-cover {
    position: sticky;
    top: 80px;
  }
}

.work-cover {
  max-width: none;
}

.work-cover img {
  aspect-ratio: 800 / 538;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .work-cover {
    max-width: none;
  }
}

.more-cast {
  margin-left: 4px;
  color: var(--accent-ink);
}

.buy-bar {
  display: none;
}

@media (max-width: 767px) {
  .buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .buy-bar .price {
    margin: 0;
  }

  .buy-bar .btn {
    flex: none;
    height: 44px;
    padding: 0 20px;
  }

  body:has(.buy-bar) .site-footer {
    padding-bottom: 96px;
  }
}

/* ---------- フッター：画面幅いっぱいの帯に、主なページを並べる ---------- */
.site-footer {
  margin-top: 64px;
  padding: 48px 0 40px;
}

.footer-inner {
  gap: 24px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-head {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.footer-nav ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--text-2);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- カード：押したときに少し沈む、写真は軽く寄る ---------- */
.card-link .cover img {
  transition: transform 300ms var(--ease);
}

.card-link:hover .cover img {
  transform: scale(1.03);
}

.card-link:active,
.face a:active,
.hero-faces a:active {
  transform: scale(0.985);
  transition: transform 80ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .hero-faces img,
  .card-link .cover img {
    transition: none;
  }

  .card-link:hover .cover img,
  .hero-faces a:hover img {
    transform: none;
  }
}

/* ヒーローはヘッダーの直下から始める */
main > .hero:first-child {
  margin-top: -32px;
}

/* 女優ページ左列：写真と名前（スマホでは横並び）、その下に詳細 */
.actress-aside {
  grid-template-columns: 1fr !important;
  gap: 16px;
}

.actress-top {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
}

@media (min-width: 600px) {
  .actress-top {
    grid-template-columns: 180px 1fr;
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .actress-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.actress-name h1 {
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.35;
  font-weight: 500;
}

.actress-info .spec-compact {
  margin-top: 0;
}

/* =========================================================
   2026-11-28 背景はすべて白、余計な線をなくし、顔写真は高画質の円形に
   ========================================================= */
:root {
  --bg-deep: #ffffff;
  --line: transparent; /* 区切り線・枠線はすべて消す（入力欄の枠は --line-strong で残す） */
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(27, 26, 24, 0.04);
}

.hero {
  border-bottom: 0;
}

/* 枠線で囲んでいた部品は、薄い面で示す */
.chips a,
.kana-btn,
.sort-btn,
.pager a,
.feature-links a,
.next-read,
.btn-secondary,
.btn-ghost,
.sns-links .btn {
  border-color: transparent !important;
  background: var(--raised);
}

.btn-ghost:hover,
.chips a:hover,
.feature-links a:hover {
  background: var(--raised-hover);
}

.kana-btn[aria-pressed="true"],
.sort-btn[aria-pressed="true"] {
  background: var(--text);
  color: var(--bg);
}

/* ---------- 顔写真：円形 ---------- */
.face-img,
.actress-face,
.hero-faces a {
  border: 0 !important;
  border-radius: 50% !important;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--raised);
}

/* パッケージ画像（横800×縦538、右半分が表紙）から、表紙の上のほう＝顔のあたりを切り出す */
img.face-crop {
  position: absolute;
  /* 位置と大きさは顔検出の結果をHTMLのstyleで指定する */
  max-width: none;
  height: auto;
  object-fit: initial;
  transition: transform 300ms var(--ease);
}

.face a:hover img.face-crop,
.hero-faces a:hover img.face-crop {
  transform: none;
}

.face a:hover .face-img,
.hero-faces a:hover {
  filter: brightness(1.04);
}

.face-name,
.face-meta {
  text-align: center;
}

.face-name {
  margin-top: 8px;
}

/* ヒーローのモザイク：円形の写真の下に順位と名前 */
.hero-faces {
  gap: 20px 16px;
}

.hero-faces li {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.hero-faces a {
  width: 100%;
}

.hero-face-name {
  position: static;
  display: block;
  padding: 0;
  background: none;
  color: var(--text);
  font-size: 13px;
  text-align: center;
  max-width: 100%;
}

.hero-face-rank {
  margin-right: 4px;
  color: var(--accent-ink);
  opacity: 1;
}

/* 名前はリンクの外に出したので、写真とまとめて押せるように */
.hero-faces li > a + .hero-face-name {
  pointer-events: none;
}

/* 作品カード・パッケージの角は少しだけ丸く、枠なし */
.cover,
.work-cover,
.movie-play {
  border: 0 !important;
}

.buy {
  border: 0;
  background: var(--bg-deep);
  padding: 0;
}

.spec > div {
  border-bottom: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  img.face-crop {
    transition: none;
  }
}

/* 名前が長くても列の幅をそろえる */
.hero-faces {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 600px) {
  .hero-faces {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.hero-faces li {
  min-width: 0;
}

.hero-face-name {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 書のロゴ（Codexで生成した05番） */
.wordmark {
  display: block;
  flex: none;
  line-height: 0;
}

.wordmark img {
  display: block;
  height: 32px;
  width: auto;
}

@media (min-width: 768px) {
  .wordmark img {
    height: 36px;
  }
}
