/* ===== カラーパレット =====
   ベース: #FFF7F8 (ほんのりピンクがかった白)
   ヘッダー/フッター: #C46B7E (落ち着いたローズ)
   アクセント: #F0B8BF (テーマ既存ピンク)
   テキスト濃: #5A3040 (ローズブラウン)
   テキスト薄: rgba(255,255,255,0.7)
   ===== */

/* ===== サイトヘッダー ===== */
.navbar.is-fixed-top {
  pointer-events: none !important;
}
.navbar.is-fixed-top .navbar-burger {
  pointer-events: auto !important;
}
.navbar.is-fixed-top .navbar-burger span {
  background-color: rgba(255,255,255,0.8) !important;
}
.navbar.is-fixed-top .navbar-burger:hover span {
  background-color: #fff !important;
}

/* 言語切替（ナビバー） */
.navbar.is-fixed-top .lang-switch {
  pointer-events: auto !important;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
  transition: color 0.2s, border-color 0.2s;
}
.navbar.is-fixed-top .lang-switch:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

/* ヘッダー背景 */
section.hero.kadlu-bgcolor1 {
  background: linear-gradient(135deg, #D4808F 0%, #C46B7E 50%, #B05A6D 100%) !important;
}

header .hero {
  border-bottom: none;
  margin-bottom: 0;
}

.site-header-body {
  padding: 1.8rem 0 1rem;
}

.site-header-link {
  text-decoration: none;
  color: inherit;
}

.site-header-link:hover {
  opacity: 0.9;
}

.site-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 3px rgba(100, 30, 50, 0.2);
}

.site-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

/* ヘッダー内ナビ */
.site-header-nav {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
}

.site-header-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-header-nav a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* 言語切替（モーダルメニュー） */
.lang-switch-modal {
  color: #C46B7E;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid #C46B7E;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.lang-switch-modal:hover {
  background: #C46B7E;
  color: #fff;
}

/* フッター言語切替セパレータ */
.site-footer-nav-sep {
  color: rgba(255,255,255,0.3);
  margin: 0 0.2rem;
}

/* ===== フッター ===== */
.site-footer {
  background: linear-gradient(135deg, #D4808F 0%, #C46B7E 50%, #B05A6D 100%) !important;
  padding: 1.5rem 1.5rem 1.2rem;
}

.site-footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  margin-bottom: 0.8rem;
}

.site-footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.site-footer-nav a:hover {
  color: #fff;
}

.site-footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  margin: 0;
}

.site-footer .kadlu-page-top-button .button {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 0.7rem;
}

.site-footer .kadlu-page-top-button .button:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ===== パンくずリスト ===== */
.breadcrumb-nav {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0;
}

.breadcrumb-nav a {
  color: #999;
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: #701722;
}

.breadcrumb-sep {
  margin: 0 0.3em;
  color: #ccc;
}

/* 記事本文の余白調整 */
.kadlu-article p {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.kadlu-article > div {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.kadlu-article h2 {
  margin-top: 3rem;
}

.kadlu-article h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.kadlu-article h4 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.kadlu-article ul,
.kadlu-article ol {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  padding-left: 1.5em;
}

.kadlu-article ul {
  list-style: disc;
}

.kadlu-article ol {
  list-style: decimal;
}

.kadlu-article ul ul {
  list-style: circle;
}

.kadlu-article ul ul ul {
  list-style: square;
}

.kadlu-article blockquote {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.kadlu-article table {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.kadlu-article hr {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

/* 記事内画像の統一サイズ制御 */
.kadlu-article img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* カバー画像（単一記事） */
.kadlu-article .entry-cover {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

/* ===== ピックアップセクション ===== */
.pickup-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #eee;
}

.pickup-section .kadlu-title1 {
  position: relative;
  padding-left: 1em;
}

.pickup-section .kadlu-title1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 4px;
  height: 1em;
  background: #e74c3c;
  border-radius: 2px;
}

/* ===== 一覧カード（横長1カラム） ===== */
.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-card {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.summary-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.summary-card-thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  overflow: hidden;
  margin: 0;
}

.summary-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.summary-card-body {
  flex: 1;
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.summary-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
}

.summary-card-tags li {
  font-size: 0.7rem;
  color: #888;
  background: #f5f5f5;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.summary-card-tag-category {
  color: #701722;
  background: #fce8ec;
  font-weight: 600;
}

@media (min-width: 769px) {
  .summary-card-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
  }

  .summary-card-title {
    font-size: 1.1rem;
  }
}

/* 画像を含むテーブル: 均等列幅で崩れ防止 */
.kadlu-article table:has(td img) {
  width: 100%;
  table-layout: fixed;
}

/* テーブル内の比較画像を均等サイズに */
.kadlu-article table img {
  width: 100%;
}

.kadlu-article table td,
.kadlu-article table th {
  text-align: center;
  vertical-align: top;
  padding: 4px;
  word-break: break-word;
}

/* テーブル内 code の折り返し */
.kadlu-article table code {
  word-break: break-all;
  white-space: pre-wrap;
  font-size: 0.8em;
}

/* 複数画像が並ぶpタグ: flexboxで均等配置 */
.kadlu-article p:has(> img + img) {
  display: flex;
  gap: 4px;
}

.kadlu-article p:has(> img + img) > img {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
}

/* モバイル: テーブルの余白を詰める */
@media (max-width: 768px) {
  .kadlu-article table td,
  .kadlu-article table th {
    padding: 2px;
    font-size: 0.85em;
  }
}

/* プロンプトブロック */
.prompt-block {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 1.5em 0;
  overflow: hidden;
  background: #f8f8f8;
}

.prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: #eee;
  border-bottom: 1px solid #ddd;
}

.prompt-label {
  font-weight: 700;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prompt-copy-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
}

.prompt-copy-btn:hover {
  opacity: 0.8;
}

.prompt-content {
  padding: 16px;
  font-family: monospace;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  font-size: 0.9em;
}

/* アフィリエイトカード（コンパクト1行） */
.affiliate-card {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 6px 12px;
  margin: 1.5em 0;
  background: #fafafa;
  font-size: 0.8em;
  line-height: 1.3;
}

.affiliate-badge,
.dmm-pr-badge {
  flex-shrink: 0;
  display: inline-block;
  background: #aaa;
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.affiliate-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
}

.affiliate-link:hover {
  opacity: 0.75;
}

.affiliate-name {
  font-weight: 600;
  color: #333;
}

.affiliate-desc {
  color: #888;
}

.affiliate-cta {
  color: #555;
  white-space: nowrap;
}

/* DMMレコメンドカード（サイドバー） */
.dmm-actress-card {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.dmm-actress-card:last-child {
  border-bottom: none;
}

.dmm-actress-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.dmm-actress-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85em;
}

.dmm-actress-name {
  font-weight: 600;
  color: #333;
}

.dmm-actress-spec {
  color: #888;
  font-size: 0.85em;
}

.dmm-actress-link {
  color: #d4380d;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 500;
}

.dmm-actress-link:hover {
  text-decoration: underline;
}

/* DMM個別商品カード（記事内インライン） */
.dmm-inline-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px;
  margin: 1em 0;
  background: #fafafa;
}

.dmm-inline-label {
  display: block;
  font-size: 0.85em;
  color: #666;
  margin: 4px 0 8px;
}

.dmm-inline-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.dmm-inline-link:hover {
  opacity: 0.8;
}

.dmm-inline-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.dmm-inline-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dmm-inline-name {
  font-weight: 600;
  color: #333;
}

.dmm-inline-spec {
  color: #888;
  font-size: 0.85em;
}

.dmm-inline-cta {
  color: #d4380d;
  font-size: 0.85em;
  font-weight: 500;
}

/* DMM作品カード（サイドバー） */
.dmm-product-card {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.dmm-product-card:last-child {
  border-bottom: none;
}

.dmm-product-img {
  width: 80px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.dmm-product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82em;
}

.dmm-product-title {
  font-weight: 600;
  color: #333;
  text-decoration: none;
  line-height: 1.3;
}

.dmm-product-title:hover {
  text-decoration: underline;
}

.dmm-product-actress {
  color: #888;
  font-size: 0.85em;
}

.dmm-product-cta {
  color: #d4380d;
  font-size: 0.85em;
  font-weight: 500;
}

/* DMMメインコンテンツレコメンド */
.dmm-recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .dmm-recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.dmm-recommend-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.dmm-recommend-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.dmm-recommend-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.dmm-recommend-img--actress {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.dmm-recommend-info {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dmm-recommend-title {
  font-size: 0.85em;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dmm-recommend-actress,
.dmm-recommend-spec {
  font-size: 0.75em;
  color: #666;
}
.dmm-recommend-cta {
  font-size: 0.8em;
  color: #d4380d;
  font-weight: 500;
  margin-top: 4px;
}

/* サイドバー RunPod */
.sidebar-affiliate-card {
  padding: 10px 0;
}
.sidebar-affiliate-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.sidebar-affiliate-name {
  font-weight: 600;
  font-size: 0.95em;
}
.sidebar-affiliate-desc {
  font-size: 0.85em;
  color: #666;
}
.sidebar-affiliate-cta {
  color: #6c3baa;
  font-size: 0.85em;
  font-weight: 500;
}

/* NSFWラッパー */
.nsfw-wrapper {
  position: relative;
  cursor: pointer;
  margin: 1.5em 0;
  border-radius: 8px;
  overflow: hidden;
}

.nsfw-wrapper .nsfw-content {
  filter: blur(20px);
  transition: filter 0.3s;
}

.nsfw-wrapper.nsfw-revealed .nsfw-content {
  filter: none;
}

.nsfw-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s;
}

.nsfw-wrapper.nsfw-revealed .nsfw-overlay {
  opacity: 0;
  pointer-events: none;
}

.nsfw-label {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
}

/* 年齢確認ゲート */
.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-gate-modal {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
}

.age-gate-modal h2 {
  margin-top: 0;
}

.age-gate-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.age-gate-yes {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 600;
}

.age-gate-no {
  background: #ddd;
  color: #333;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
}

/* 関連記事（summary-card で統一） */
