/* 風俗ポータル・雑誌風（huzoku.adultgif.net） */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@500;600;700&display=swap");

:root {
  --huzoku-accent: #b83b5e;
  --huzoku-accent-dark: #8f2d49;
  --huzoku-accent-soft: #fce8ee;
  --huzoku-link: #1a5fb4;
  --huzoku-bg: #f6f3ef;
  --huzoku-bg-card: #fff;
  --huzoku-border: #e4ddd4;
  --huzoku-border-light: #eee8e0;
  --huzoku-text: #2a2522;
  --huzoku-text-muted: #6b6560;
  --huzoku-font-title: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --huzoku-font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --huzoku-shadow: 0 8px 24px rgba(42, 37, 34, 0.08);
}

body.huzoku-theme {
  background: var(--huzoku-bg);
  color: var(--huzoku-text);
  font-family: var(--huzoku-font-body);
}

body.huzoku-theme .main.huzoku-page {
  background: var(--huzoku-bg);
}

/* グローバルヘッダー（Cocoon #header / #navi） */
body.huzoku-theme .header-container {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(135deg, #2a2522 0%, #4a2c35 45%, #8f2d49 100%);
  border-bottom: none;
  box-shadow: 0 4px 18px rgba(42, 37, 34, 0.16);
}

body.huzoku-theme .header-container::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #fce8ee, #fff 50%, #fce8ee);
}

body.huzoku-theme .header-container-in,
body.huzoku-theme #header,
body.huzoku-theme #navi,
body.huzoku-theme #navi-in {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.huzoku-theme #header {
  padding: 0.85rem 0 0.55rem !important;
}

body.huzoku-theme #header .tagline {
  display: none !important;
}

body.huzoku-theme .logo-header {
  float: none !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body.huzoku-theme .logo-header::before {
  content: 'FUUZOKU PORTAL';
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.35rem;
}

body.huzoku-theme .logo-header .site-name-text-link {
  text-decoration: none !important;
}

body.huzoku-theme .logo-header .site-name-text {
  font-family: var(--huzoku-font-title) !important;
  font-size: clamp(1.1rem, 3vw, 1.55rem) !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

body.huzoku-theme #navi.huzoku-portal-global-navi {
  padding: 0 0 0.8rem;
}

body.huzoku-theme .huzoku-portal-header-nav-wrap {
  width: 100%;
}

body.huzoku-theme .huzoku-portal-header-nav {
  margin: 0 auto;
  justify-content: center;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1040px;
  padding: 0 0.5rem;
}

body.huzoku-theme .huzoku-portal-header-nav::-webkit-scrollbar {
  display: none;
}

body.huzoku-theme .huzoku-portal-header-nav-link.is-active {
  background: #fff;
  color: var(--huzoku-accent) !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

body.huzoku-theme .breadcrumb {
  margin-top: 0.5rem;
}

.huzoku-portal-hero-tagline--lead {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.94;
}

/* ヒーロー */
.huzoku-portal-hero {
  background: linear-gradient(135deg, #2a2522 0%, #4a2c35 45%, #b83b5e 100%);
  color: #fff;
  padding: 2.5rem 1.25rem 2rem;
  margin: 0 0 1.5rem;
  border-radius: 0 0 24px 24px;
  box-shadow: var(--huzoku-shadow);
}

.huzoku-portal-hero-inner {
  max-width: 1040px;
  margin: 0 auto 1.25rem;
}

.huzoku-portal-hero-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  opacity: 0.85;
}

.huzoku-portal-hero-title,
.huzoku-first-view-title.huzoku-portal-hero-title {
  margin: 0;
  font-family: var(--huzoku-font-title);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.huzoku-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.85rem;
}

.huzoku-portal-hero-tagline {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 36em;
}

.huzoku-portal-search,
.huzoku-portal-cta-row {
  max-width: 1040px;
  margin: 0 auto;
}

/* ヒーロー内は wiki-page 用スタイルより優先 */
.huzoku-portal-hero .huzoku-search-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.huzoku-portal-hero .huzoku-search-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  margin: 0;
  border: none;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.huzoku-portal-hero .huzoku-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  padding: 0.65rem 0.5rem 0.65rem 0;
  color: var(--huzoku-text);
}

.huzoku-portal-hero .huzoku-search-input::placeholder {
  color: var(--huzoku-text-muted);
}

.huzoku-portal-hero .huzoku-search-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--huzoku-accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.huzoku-portal-hero .huzoku-search-submit:hover {
  background: var(--huzoku-accent-dark);
  filter: none;
  box-shadow: none;
}

.huzoku-portal-hero .huzoku-search-form:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ヒーローメニュー（5項目・統一ピル型） */
.huzoku-portal-hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 1040px;
  margin: 1.1rem auto 0;
  padding: 0;
}

.huzoku-portal-hero-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--huzoku-accent-dark) !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.huzoku-portal-hero-nav-link:hover {
  background: #fff;
  color: var(--huzoku-accent) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.huzoku-portal-hero-nav-link i {
  font-size: 0.9em;
  opacity: 0.9;
}

/* 女優個別：スティッキー・ページ内メニューバー */
.huzoku-actress-page-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: -0.5rem 0 1.5rem;
}

.huzoku-actress-page-nav {
  padding: 0.75rem 1rem 0.85rem;
  background: linear-gradient(135deg, #2a2522 0%, #4a2c35 50%, #8f2d49 100%);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 6px 20px rgba(42, 37, 34, 0.14);
}

.huzoku-actress-page-nav .huzoku-portal-hero-nav {
  margin: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: flex-start;
}

.huzoku-actress-page-nav .huzoku-portal-hero-nav::-webkit-scrollbar {
  display: none;
}

body.huzoku-theme .huzoku-portal-header-nav .huzoku-portal-hero-nav-link,
body.huzoku-theme .huzoku-actress-page-nav .huzoku-portal-hero-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--huzoku-accent-dark) !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.huzoku-theme .huzoku-portal-header-nav .huzoku-portal-hero-nav-link:hover,
body.huzoku-theme .huzoku-actress-page-nav .huzoku-portal-hero-nav-link:hover {
  background: #fff;
  color: var(--huzoku-accent) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.huzoku-portal-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.huzoku-portal-cta-row .huzoku-cta {
  flex: 1 1 140px;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.huzoku-cta-primary {
  background: #fff;
  color: var(--huzoku-accent-dark);
}

.huzoku-cta-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* 本文レイアウト */
.huzoku-portal-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 3rem;
}

.huzoku-portal-masthead {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--huzoku-bg-card);
  border: 1px solid var(--huzoku-border-light);
  border-left: 4px solid var(--huzoku-accent);
  border-radius: 12px;
  box-shadow: var(--huzoku-shadow);
}

.huzoku-portal-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--huzoku-accent);
  font-weight: 700;
}

.huzoku-portal-headline {
  margin: 0.35rem 0 0;
  font-family: var(--huzoku-font-title);
  font-size: 1.45rem;
  line-height: 1.35;
}

.huzoku-portal-lead {
  margin: 0.65rem 0 0;
  color: var(--huzoku-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.huzoku-portal-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}

.huzoku-portal-chip {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--huzoku-bg-card);
  border: 1px solid var(--huzoku-border);
  color: var(--huzoku-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.huzoku-portal-chip:hover {
  background: var(--huzoku-accent);
  border-color: var(--huzoku-accent);
  color: #fff;
}

.huzoku-portal-section {
  margin: 2.25rem 0;
  padding: 1.5rem;
  background: var(--huzoku-bg-card);
  border: 1px solid var(--huzoku-border-light);
  border-radius: 16px;
  box-shadow: var(--huzoku-shadow);
}

.huzoku-portal-section-head {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--huzoku-border-light);
}

.huzoku-section-title,
.huzoku-portal-section .huzoku-section-title {
  margin: 0;
  font-family: var(--huzoku-font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--huzoku-text);
}

.huzoku-front-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--huzoku-text-muted);
}

/* 新着グリッド */
.huzoku-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.huzoku-portal-card .huzoku-front-update-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--huzoku-border-light);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.huzoku-portal-card .huzoku-front-update-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(42, 37, 34, 0.1);
}

.huzoku-front-update-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.huzoku-front-update-thumb--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  background: var(--huzoku-accent-soft);
  color: var(--huzoku-text-muted);
  font-size: 0.75rem;
}

.huzoku-front-update-body {
  padding: 0.55rem 0.65rem 0.7rem;
}

.huzoku-update-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.huzoku-update-time {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--huzoku-text-muted);
}

/* 出勤カード */
.huzoku-portal-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.huzoku-portal-schedule-card {
  padding: 1rem;
  border: 1px solid var(--huzoku-border-light);
  border-radius: 12px;
  background: #faf8f5;
}

.huzoku-portal-schedule-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-family: var(--huzoku-font-title);
}

.huzoku-portal-schedule-title a {
  color: var(--huzoku-accent-dark);
  text-decoration: none;
}

.huzoku-portal-schedule-title a:hover {
  text-decoration: underline;
}

.huzoku-front-schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.huzoku-front-schedule-list li a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--huzoku-border-light);
  text-decoration: none;
  color: var(--huzoku-text);
  font-size: 0.86rem;
}

.huzoku-portal-schedule-empty {
  margin: 0;
  font-size: 0.85rem;
  color: var(--huzoku-text-muted);
}

/* ランキング */
.huzoku-portal-ranking {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.huzoku-portal-ranking .huzoku-ranking-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--huzoku-border-light);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #faf8f5;
}

.huzoku-ranking-rank {
  flex: 0 0 2rem;
  font-family: var(--huzoku-font-title);
  font-weight: 700;
  color: var(--huzoku-accent);
  font-size: 1.1rem;
}

.huzoku-ranking-thumb-wrap img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.huzoku-front-more-link {
  display: inline-block;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--huzoku-accent);
  color: var(--huzoku-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.huzoku-front-more-link:hover {
  background: var(--huzoku-accent);
  color: #fff;
}

.huzoku-data-empty {
  margin: 0;
  padding: 1rem;
  background: var(--huzoku-accent-soft);
  border-radius: 8px;
  color: var(--huzoku-text-muted);
  font-size: 0.9rem;
}

/* Wiki トップの余計な余白を抑える */
body.huzoku-front-page .content-in,
body.huzoku-front-page .entry-content {
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 640px) {
  .huzoku-portal-hero {
    border-radius: 0 0 16px 16px;
    padding: 1.75rem 1rem 1.5rem;
  }
  .huzoku-portal-section {
    padding: 1rem;
  }
  .huzoku-portal-hero-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .huzoku-portal-hero-nav-link {
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.5rem 0.65rem;
  }
  .huzoku-portal-hero-nav-link:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 12rem;
    margin: 0 auto;
    width: 100%;
  }
}

/* 地域別出勤（/schedule/{slug}/） */
.huzoku-schedule-region .huzoku-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.huzoku-schedule-region-desc {
  color: var(--huzoku-text-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.huzoku-schedule-region-empty {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--huzoku-bg-card);
  border: 1px solid var(--huzoku-border-light);
  border-radius: 8px;
  color: var(--huzoku-text-muted);
}

.huzoku-schedule-region-empty a {
  color: var(--huzoku-accent);
}

.huzoku-schedule-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1rem 0 1.25rem;
}

.huzoku-schedule-tab {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--huzoku-bg-card);
  border: 1px solid var(--huzoku-border-light);
  border-radius: 6px;
  color: var(--huzoku-text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.huzoku-schedule-tab:hover {
  border-color: var(--huzoku-accent);
  color: var(--huzoku-accent-dark);
}

.huzoku-schedule-tab--active {
  border-color: var(--huzoku-accent);
  background: var(--huzoku-accent);
  color: #fff;
}

.huzoku-schedule-tab--active:hover {
  background: var(--huzoku-accent-dark);
  border-color: var(--huzoku-accent-dark);
  color: #fff;
}

.huzoku-schedule-day--hidden {
  display: none !important;
}

.huzoku-schedule-day {
  margin: 2rem 0;
}

.huzoku-schedule-day-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--huzoku-accent);
}

.huzoku-schedule-day-count,
.huzoku-schedule-day-empty {
  font-size: 0.95rem;
  color: var(--huzoku-text-muted);
}

.huzoku-schedule-entries {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.huzoku-schedule-entry {
  margin: 0;
}

.huzoku-schedule-entry-card {
  display: flex;
  flex-direction: column;
  width: 100px;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--huzoku-border-light);
  background: var(--huzoku-bg-card);
  box-shadow: var(--huzoku-shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.huzoku-schedule-entry-card:hover {
  border-color: var(--huzoku-accent);
}

.huzoku-schedule-entry-thumb-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--huzoku-border-light);
}

.huzoku-schedule-entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.huzoku-schedule-entry-thumb--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.huzoku-schedule-entry-noimg {
  font-size: 0.6rem;
  color: var(--huzoku-text-muted);
}

.huzoku-schedule-entry-body {
  padding: 0.4rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.huzoku-schedule-entry-name {
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.huzoku-schedule-entry-meta {
  font-size: 0.65rem;
  color: var(--huzoku-text-muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.huzoku-schedule-entry-card:hover .huzoku-schedule-entry-name {
  color: var(--huzoku-accent-dark);
}

@media (min-width: 640px) {
  .huzoku-schedule-entry-card {
    width: 120px;
  }
}

@media (min-width: 960px) {
  .huzoku-schedule-entry-card {
    width: 140px;
  }
}

html.mgs-dark-mode .huzoku-schedule-entry-card {
  background: #1e1e1e;
  border-color: #444;
}

html.mgs-dark-mode .huzoku-schedule-tab {
  background: #1e1e1e;
  border-color: #444;
  color: #eee;
}

/* もっと探す♡（全ポータルページ共通） */
body.huzoku-theme .huzoku-bottom-cta {
  margin: 2rem auto 0;
  max-width: 1100px;
  padding: 2rem 1rem 2.5rem;
  border-top: 1px solid var(--huzoku-border-light);
  background: var(--huzoku-bg);
  text-align: center;
}

body.huzoku-theme .huzoku-bottom-cta-title {
  margin: 0 0 1.25rem;
  font-family: var(--huzoku-font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--huzoku-text);
  letter-spacing: 0.04em;
}

body.huzoku-theme .huzoku-bottom-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.75rem;
  margin-bottom: 1.25rem;
}

body.huzoku-theme a.huzoku-bottom-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: var(--huzoku-bg-card);
  color: var(--huzoku-accent);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--huzoku-accent);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: var(--huzoku-shadow);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.huzoku-theme a.huzoku-bottom-btn:hover {
  background: var(--huzoku-accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

body.huzoku-theme .huzoku-bottom-btn i {
  font-size: 0.95em;
  opacity: 0.92;
}

body.huzoku-theme .huzoku-sitemap-wrap {
  margin: 0;
}

body.huzoku-theme a.huzoku-sitemap-link {
  color: var(--huzoku-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

body.huzoku-theme a.huzoku-sitemap-link:hover {
  color: var(--huzoku-accent-dark);
  text-decoration: underline;
}

@media (max-width: 640px) {
  body.huzoku-theme .huzoku-bottom-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  body.huzoku-theme a.huzoku-bottom-btn {
    justify-content: center;
    white-space: normal;
    font-size: 0.8rem;
    padding: 0.5rem 0.65rem;
  }
}

html.mgs-dark-mode body.huzoku-theme a.huzoku-bottom-btn {
  background: #1e1e1e;
  border-color: #b83b5e;
  color: #f5c6d4;
}

html.mgs-dark-mode body.huzoku-theme a.huzoku-bottom-btn:hover {
  background: var(--huzoku-accent);
  color: #fff;
}

/* 女優ページ・HTML未同期フォールバック */
.huzoku-actress-fallback-card {
  margin: 0 0 2rem;
  padding: 1.5rem;
  background: var(--huzoku-bg-card);
  border: 1px solid var(--huzoku-border-light);
  border-radius: 16px;
  box-shadow: var(--huzoku-shadow);
}

.huzoku-actress-fallback-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.huzoku-actress-fallback-thumb-wrap {
  width: 100px;
  max-width: 100px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--huzoku-border-light);
}

.huzoku-actress-fallback-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.huzoku-actress-fallback-thumb--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--huzoku-text-muted);
  font-size: 0.85rem;
}

.huzoku-actress-fallback-name {
  margin: 0;
  font-family: var(--huzoku-font-title);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.huzoku-actress-fallback-area,
.huzoku-actress-fallback-updated {
  margin: 0.5rem 0 0;
  color: var(--huzoku-text-muted);
  font-size: 0.9rem;
}

.huzoku-actress-fallback-notice {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: var(--huzoku-accent-soft);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.huzoku-actress-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.huzoku-actress-fallback-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--huzoku-accent);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
}

.huzoku-actress-fallback-btn--ghost {
  background: transparent;
  color: var(--huzoku-accent-dark) !important;
  border: 1px solid var(--huzoku-accent);
}

.huzoku-actress-fallback-schedule {
  margin: 0 0 2rem;
}

.huzoku-actress-fallback-schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.huzoku-actress-fallback-schedule-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 0.75rem 1rem;
  background: var(--huzoku-bg-card);
  border: 1px solid var(--huzoku-border-light);
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit !important;
}

.huzoku-actress-fallback-schedule-link:hover {
  border-color: var(--huzoku-accent);
}

.huzoku-actress-fallback-schedule-date {
  font-weight: 700;
  color: var(--huzoku-accent-dark);
}

.huzoku-actress-fallback-schedule-region {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 0.88rem;
  color: var(--huzoku-text-muted);
}

.huzoku-actress-fallback-schedule-meta {
  font-size: 0.85rem;
  color: var(--huzoku-text-muted);
}

@media (max-width: 640px) {
  .huzoku-actress-fallback-hero {
    grid-template-columns: 1fr;
  }

  .huzoku-actress-fallback-thumb-wrap {
    max-width: 100px;
    margin: 0 auto;
  }
}

/* 女優個別ヒーロー */
.huzoku-actress-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  margin: 0 0 2rem;
  padding: 1.5rem;
  background: var(--huzoku-bg-card);
  border: 1px solid var(--huzoku-border-light);
  border-radius: 16px;
  box-shadow: var(--huzoku-shadow);
}

.huzoku-actress-hero-media {
  width: 100px;
  max-width: 100px;
  flex-shrink: 0;
}

.huzoku-actress-hero-img {
  width: 100px;
  height: 100px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: var(--huzoku-border-light);
}

.huzoku-actress-hero-img--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  color: var(--huzoku-text-muted);
  font-size: 0.85rem;
}

.huzoku-actress-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--huzoku-accent);
  font-weight: 700;
}

.huzoku-actress-hero-name {
  margin: 0;
  font-family: var(--huzoku-font-title);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
}

.huzoku-actress-hero-area,
.huzoku-actress-hero-schedule,
.huzoku-actress-hero-notice {
  margin: 0.65rem 0 0;
  color: var(--huzoku-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.huzoku-actress-hero-notice {
  padding: 0.65rem 0.85rem;
  background: var(--huzoku-accent-soft);
  border-radius: 8px;
  color: var(--huzoku-text);
}

.huzoku-actress-hero-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.75rem;
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.huzoku-actress-hero-specs dt {
  margin: 0;
  color: var(--huzoku-text-muted);
  font-weight: 600;
}

.huzoku-actress-hero-specs dd {
  margin: 0;
}

.huzoku-actress-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.huzoku-actress-hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--huzoku-accent);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 700;
}

.huzoku-actress-hero-btn--ghost {
  background: transparent;
  color: var(--huzoku-accent-dark) !important;
  border: 1px solid var(--huzoku-accent);
}

/* 女優個別：スティッキーメニューバー（トップのピル型ナビと統一） */
.huzoku-actress-page-nav-link.is-active {
  background: #fff;
  color: var(--huzoku-accent) !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.huzoku-actress-hero-yomi {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: var(--huzoku-text-muted);
  letter-spacing: 0.08em;
}

.huzoku-actress-hero-schedule-label {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--huzoku-accent-soft);
  color: var(--huzoku-accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.huzoku-actress-page-nav-sister {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.huzoku-actress-page-nav-sister-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.huzoku-actress-page-nav-sister-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.huzoku-actress-page-nav-sister-link {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.huzoku-actress-page-nav-sister-link:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
}

.huzoku-actress-scraped-body {
  margin-bottom: 2rem;
}

/* 女優個別：テンプレートセクション */
.huzoku-actress-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.huzoku-actress-body-notice {
  margin: 0;
}

.huzoku-actress-section {
  padding: 1.25rem 1.35rem;
  background: var(--huzoku-bg-card);
  border: 1px solid var(--huzoku-border-light);
  border-radius: 14px;
  box-shadow: var(--huzoku-shadow);
}

.huzoku-section-title {
  margin: 0 0 1rem;
  font-family: var(--huzoku-font-title);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  color: var(--huzoku-text);
}

.huzoku-actress-profile-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.huzoku-actress-profile-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.huzoku-actress-profile-table,
.huzoku-actress-residency-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.huzoku-actress-profile-table th,
.huzoku-actress-profile-table td,
.huzoku-actress-residency-table th,
.huzoku-actress-residency-table td {
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid var(--huzoku-border-light);
  text-align: left;
  vertical-align: top;
}

.huzoku-actress-profile-table th,
.huzoku-actress-residency-table th {
  width: 28%;
  color: var(--huzoku-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.huzoku-actress-schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.huzoku-actress-schedule-link {
  display: grid;
  grid-template-columns: minmax(100px, 140px) 1fr auto;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: var(--huzoku-accent-soft);
  color: inherit !important;
  text-decoration: none !important;
  font-size: 0.9rem;
}

.huzoku-actress-schedule-date {
  font-weight: 700;
}

.huzoku-actress-schedule-region {
  color: var(--huzoku-accent-dark);
  font-weight: 600;
}

.huzoku-actress-schedule-meta {
  color: var(--huzoku-text-muted);
  font-size: 0.85rem;
}

.huzoku-actress-video-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.huzoku-actress-video-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.huzoku-actress-video-link {
  display: block;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--huzoku-bg);
  border: 1px solid var(--huzoku-border-light);
  color: inherit !important;
  text-decoration: none !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.huzoku-actress-video-link:hover {
  border-color: var(--huzoku-accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.huzoku-actress-video-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.huzoku-actress-video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.35rem 0.45rem 0;
}

.huzoku-actress-video-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--huzoku-accent);
  color: #fff;
}

.huzoku-actress-video-title {
  margin: 0;
  padding: 0.5rem 0.55rem 0.65rem;
  font-size: 0.78rem;
  line-height: 1.45;
}

.huzoku-actress-residency-intro {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--huzoku-accent-soft);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.huzoku-actress-residency-table + .huzoku-actress-residency-table {
  margin-top: 1rem;
}

.huzoku-actress-av-group + .huzoku-actress-av-group {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--huzoku-border-light);
}

.huzoku-actress-av-site {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.huzoku-actress-av-genre {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--huzoku-text-muted);
  font-weight: 600;
}

@media (max-width: 640px) {
  .huzoku-actress-profile-grid {
    grid-template-columns: 1fr;
  }

  .huzoku-actress-profile-media {
    text-align: center;
  }

  .huzoku-actress-schedule-link {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 768px) {
  .huzoku-actress-hero {
    grid-template-columns: 1fr;
  }

  .huzoku-actress-hero-media {
    max-width: 100px;
    margin: 0 auto;
  }

  .huzoku-actress-page-nav {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    border-radius: 0 0 14px 14px;
  }

  body.huzoku-theme .logo-header .site-name-text {
    font-size: 1.05rem !important;
  }

  body.huzoku-theme .huzoku-portal-header-nav .huzoku-portal-hero-nav-link,
  .huzoku-actress-page-nav .huzoku-portal-hero-nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* 女優個別：Cocoon 親テーマの ul/table リセット上書き */
body.huzoku-actress-immersive {
  background: var(--huzoku-bg);
  color: var(--huzoku-text);
}

body.huzoku-actress-immersive .huzoku-actress-immersive-wrap {
  background: var(--huzoku-bg);
}

body.huzoku-actress-immersive .main.huzoku-actress-main {
  background: transparent;
  padding-top: 0;
}

body.huzoku-actress-immersive .huzoku-actress-body ul,
body.huzoku-actress-immersive .huzoku-actress-schedule-list,
body.huzoku-actress-immersive .huzoku-actress-video-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.huzoku-actress-immersive .huzoku-actress-body ul li {
  list-style: none;
  margin: 0;
}

body.huzoku-actress-immersive .huzoku-actress-profile-table,
body.huzoku-actress-immersive .huzoku-actress-residency-table {
  border-collapse: collapse;
  width: 100%;
}

body.huzoku-actress-immersive .huzoku-actress-profile-table th,
body.huzoku-actress-immersive .huzoku-actress-profile-table td,
body.huzoku-actress-immersive .huzoku-actress-residency-table th,
body.huzoku-actress-immersive .huzoku-actress-residency-table td {
  border: 1px solid var(--huzoku-border-light);
}

body.huzoku-actress-immersive .huzoku-actress-video-link {
  text-decoration: none;
}

body.huzoku-actress-immersive .huzoku-actress-video-title {
  color: var(--huzoku-text);
}

body.huzoku-actress-immersive .entry-content,
body.huzoku-actress-immersive .article {
  margin: 0;
  padding: 0;
  max-width: none;
}
