@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ============================================================
   共通変数 — SWELLのカスタマイザー設定を継承する
   ============================================================ */
:root {
  --mc-accent:  var(--color_main,   #c0392b);
  --mc-text:    var(--color_text,   #333);
  --mc-bg:      var(--color_bg,     #f8f8f8);
  --mc-link:    var(--color_link,   #c0392b);
  --mc-border:  #e0e0e0;
  --mc-muted:   #777;
  --mc-radius:  6px;
  --mc-shadow:  0 2px 6px rgba(0,0,0,.08);
}

/* ============================================================
   原作作品 single ページ全体
   SWELLのコンテンツ幅（サイドバーあり約790px）に合わせ
   max-widthは指定しない（SWELLに任せる）
   ============================================================ */
.mc-comic-single {
  padding-bottom: 48px;
  color: var(--mc-text);
}
.mc-page-title {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mc-border);
}

/* ── ヒーローエリア ── */
.mc-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}
@media (max-width: 560px) {
  .mc-hero { grid-template-columns: 1fr; }
}

/* カバー画像 */
.mc-hero__cover {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mc-cover-img {
  width: 100%;
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow);
  display: block;
}

/* CTA ボタン群 */
.mc-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ヒーロー内のタイトルは使わない（ページタイトルに統一） */

/* バッジ */
.mc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.mc-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: bold;
}
.mc-badge--collab { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.mc-badge--video  { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }

/* レビュー星 */
.mc-review {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: .9rem;
}
.star--full  { color: #f39c12; }
.star--half  { color: #f39c12; opacity: .6; }
.star--empty { color: #ccc; }
.mc-review__score { font-weight: bold; color: #f39c12; }
.mc-review__count { color: var(--mc-muted); font-size: .8rem; }

/* 情報テーブル */
.mc-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin-bottom: 14px;
}
.mc-info-table th,
.mc-info-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--mc-border);
  text-align: left;
  vertical-align: top;
}
.mc-info-table th {
  width: 90px;
  color: var(--mc-muted);
  white-space: nowrap;
  font-weight: normal;
}
.mc-info-table code {
  font-size: .82rem;
  background: #f0f0f0;
  padding: 1px 5px;
  border-radius: 3px;
}

/* ジャンルタグ */
.mc-genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.mc-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: .78rem;
  color: var(--mc-text);
  text-decoration: none;
  transition: background .2s;
}
.mc-tag:hover { background: #e0e0e0; }

/* ── ボタン ── */
.mc-btn {
  display: block;
  padding: 10px 16px;
  border-radius: var(--mc-radius);
  font-weight: bold;
  font-size: .9rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
}
.mc-btn:hover { opacity: .85; }
.mc-btn--buy    { background: var(--mc-accent); color: #fff; }
.mc-btn--sample { background: #fff; color: var(--mc-accent); border: 2px solid var(--mc-accent); }
.mc-btn--sm     { display: inline-block; padding: 5px 12px; font-size: .8rem; }
.mc-btn--submit { background: #555; color: #fff; padding: 8px 24px; }

/* ── セクション共通 ── */
.mc-section {
  margin-bottom: 40px;
}
.mc-section__title {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 8px 14px;
  border-left: 4px solid var(--mc-accent);
  background: var(--mc-bg);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc-section__count {
  font-size: .8rem;
  background: var(--mc-accent);
  color: #fff;
  border-radius: 20px;
  padding: 2px 10px;
}

/* あらすじ */
.mc-summary {
  font-size: .92rem;
  line-height: 1.8;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
}

/* ── リアクションバー ── */
.mc-reaction-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  margin-bottom: 32px;
}
.mc-btn-like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #fff;
  border: 2px solid var(--mc-accent);
  border-radius: 24px;
  color: var(--mc-accent);
  font-size: .95rem;
  font-weight: bold;
  cursor: pointer;
  transition: all .2s;
}
.mc-btn-like:hover,
.mc-btn-like.is-liked { background: var(--mc-accent); color: #fff; }
.mc-btn-like__icon { font-size: 1.1rem; }

.mc-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mc-muted);
  font-size: .9rem;
}

/* ── 動画グリッド ── */
.mc-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
@media (max-width: 480px) {
  .mc-video-grid { grid-template-columns: 1fr; }
}

.mc-video-card {
  background: #fff;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  overflow: hidden;
  box-shadow: var(--mc-shadow);
  display: flex;
  flex-direction: column;
}

/* サムネイル */
.mc-video-card__media {
  position: relative;
  background: #000;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.mc-video-card__thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.mc-video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .2s;
}
.mc-video-card__thumb-link:hover .mc-video-card__thumb { opacity: .8; }
.mc-video-card__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: rgba(255,255,255,.85);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  pointer-events: none;
}
.mc-video-card__player {
  width: 100%;
  height: 100%;
}
.mc-video-card__player video,
.mc-video-card__player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 動画カード本文 */
.mc-video-card__body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mc-video-card__title {
  font-size: .88rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mc-video-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: .78rem;
  color: var(--mc-muted);
}
.mc-meta-item a { color: inherit; text-decoration: underline dotted; }

.mc-video-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.mc-btn-react {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 1px solid var(--mc-border);
  border-radius: 20px;
  background: #fff;
  font-size: .82rem;
  cursor: pointer;
  transition: all .2s;
}
.mc-btn-react--like.is-active    { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; }
.mc-btn-react--dislike.is-active { background: #fce4ec; border-color: #e91e63; color: #c2185b; }

/* ── 2ch風コメント ── */
.mc-comments-2ch {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mc-comment-2ch {
  padding: 8px 10px;
  border-bottom: 1px solid var(--mc-border);
  transition: background .3s;
}
.mc-comment-2ch.is-highlighted {
  background: #fffde7;
}

/* ヘッダー行 */
.mc-comment-2ch__header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: .8rem;
  margin-bottom: 4px;
}
.mc-comment-2ch__num {
  color: var(--mc-muted);
  font-weight: bold;
  min-width: 1.8em;
  flex-shrink: 0;
}
.mc-comment-2ch__name {
  color: #228b22;   /* 緑 */
  font-weight: bold;
  flex-shrink: 0;
}
.mc-comment-2ch__date {
  color: var(--mc-muted);
  flex-shrink: 0;
}

/* コメント本文（青） */
.mc-comment-2ch__body {
  color: #1a4fa0;
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: 6px;
  word-break: break-word;
}

/* >>X アンカー */
.mc-comment-ref {
  color: #c0392b;
  text-decoration: none;
  font-weight: bold;
}
.mc-comment-ref:hover { text-decoration: underline; }

/* 返信ボタン（ヘッダー内・右端） */
.mc-comment-reply-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: #e8717a;
  font-size: .78rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
  transition: color .15s;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.mc-comment-reply-btn:hover {
  color: #c0392b;
}

/* フッター（like/dislike を右端へ） */
.mc-comment-2ch__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* like/dislike セット */
.mc-comment-reacts {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: .8rem;
}

.mc-comment-react-btn {
  border: none;
  cursor: pointer;
  font-size: .8rem;
  font-weight: bold;
  padding: 3px 10px;
  transition: opacity .15s;
  line-height: 1.4;
}
.mc-comment-like-btn {
  background: #e8717a;
  color: #fff;
  border-radius: 3px 0 0 3px;
}
.mc-comment-like-btn.is-active,
.mc-comment-like-btn:hover {
  background: #c0392b;
}
.mc-comment-dislike-btn {
  background: #ccc;
  color: #555;
  border-radius: 0 3px 3px 0;
}
.mc-comment-dislike-btn.is-active,
.mc-comment-dislike-btn:hover {
  background: #999;
  color: #fff;
}

/* like数に応じて幅が変わるバー */
.mc-react-bar {
  display: inline-block;
  /* width は PHP側の style属性で動的にセット */
  min-width: 100px;
  max-width: 500px;
  height: 18px;
  background: #ddd;
  vertical-align: middle;
  overflow: hidden;
  transition: width .3s;
}
.mc-react-bar__fill {
  display: block;
  height: 100%;
  background: #e8717a;
  transition: width .3s;
}

/* コメントフォーム */
.mc-comment-form-title {
  font-size: 1rem;
  margin-bottom: 10px;
}
.mc-cf-name-wrap { margin-bottom: 0; }
.mc-cf-name {
  width: 220px;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  font-size: .9rem;
}
.mc-cf-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  font-size: .92rem;
  resize: vertical;
  box-sizing: border-box;
}

/* ============================================================
   クリエイターカード（circle / manga-author 共通）
   ============================================================ */
.mangacolab-creator-card {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mangacolab-creator-card__link {
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 120px;
  border-radius: var(--mc-radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  padding: 12px 14px;
  box-sizing: border-box;
  transition: opacity .2s;
  background-size: cover;
  background-position: center;
}
.mangacolab-creator-card__link--no-thumb {
  align-items: center;
  justify-content: center;
}
.mangacolab-creator-card__link:hover { opacity: .88; }

.mangacolab-creator-card__body {
  width: 100%;
}

.mangacolab-creator-card__name {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
}

.mangacolab-creator-card__badge {
  display: inline-block;
  font-size: .72rem;
  background: rgba(255,255,255,.22);
  color: #fff;
  border-radius: 3px;
  padding: 1px 7px;
}

/* グリッドレイアウト（クリエイター：3列固定） */
.mc-creator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 560px) {
  .mc-creator-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   サークルカード（ブラー背景 + 中央テキスト）
   ============================================================ */
.mc-circle-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  text-decoration: none;
}
.mc-circle-card__bg {
  position: absolute;
  inset: -3px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mc-circle-card__bg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(1px);
}
.mc-circle-card__body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.mc-circle-card__name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  line-height: 1.4;
  text-shadow:
     1px  1px 0 #000,
    -1px  1px 0 #000,
     1px -1px 0 #000,
    -1px -1px 0 #000,
     2px  0   0 #000,
    -2px  0   0 #000,
     0    2px 0 #000,
     0   -2px 0 #000;
}
.mc-circle-card:hover { opacity: .88; }

/* グリッド内のカードを均等高さにする */
.mc-comic-grid > li,
.mc-video-grid > li,
.mc-actress-grid > li,
.mangacolab-comic-card,
.mangacolab-actress-card {
  display: flex;
}

/* メインコンテンツ・サイドバーの上部余白削減 */
.mc-top { padding-top: 8px; }
#sidebar.l-sidebar { padding-top: 8px; }
.l-sidebar__inner { padding-top: 0 !important; }

/* ============================================================
   関連セクション共通
   ============================================================ */
.mc-section {
  margin-top: 24px;
}
.mc-section:first-child {
  margin-top: 0;
}
.mc-section__title {
  font-size: 1.05rem;
  font-weight: bold;
  border-left: 4px solid var(--mc-accent);
  padding: 2px 0 2px 10px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mc-section__more {
  display: block;
  text-align: right;
  font-size: .85rem;
  color: var(--mc-accent);
  text-decoration: none;
  margin-top: 10px;
}
.mc-section__more:hover { text-decoration: underline; }

/* ============================================================
   統一カード（mc-card）
   ============================================================ */
.mc-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--mc-text);
  background: #fff;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s, opacity .2s;
}
.mc-card:hover {
  box-shadow: var(--mc-shadow);
  opacity: .92;
  color: var(--mc-text);
}

/* サムネイル — 幅233px・高さ175px固定・引き延ばしてぴったり収める */
.mc-card__thumb {
  width: 233px;
  height: 175px;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
}
.mc-card__thumb img {
  width: 233px;
  height: 175px;
  object-fit: fill;
  display: block !important;
}
.mc-card__nothumb {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--mc-border);
}

/* 本文エリア */
.mc-card__body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

/* タイトル：2行で切り捨て */
.mc-card__title {
  margin: 0;
  font-size: .82rem;
  font-weight: bold;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* サブテキスト（サークル名・レーベルなど）：1行 */
.mc-card__sub {
  margin: 0;
  font-size: .72rem;
  color: var(--mc-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 日付：YYYY-MM-DD のみ */
.mc-card__date {
  margin: auto 0 0;
  padding-top: 4px;
  font-size: .70rem;
  color: var(--mc-muted);
}

/* 作品カードグリッド（3列固定 → sp 2列） */
.mc-comic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 560px) {
  .mc-comic-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 動画カードグリッド（3列固定 → tablet 2列 → sp 1列） */
.mc-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 900px) {
  .mc-video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mc-video-grid { grid-template-columns: 1fr; }
}

/* 女優カードグリッド（4列固定） */
.mc-actress-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 560px) {
  .mc-actress-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ジャンルタグ（TOPページ）
   ============================================================ */
.mc-genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mc-genre-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--mc-bg);
  border: 1px solid var(--mc-border);
  border-radius: 20px;
  text-decoration: none;
  color: var(--mc-text);
  font-size: .85rem;
  transition: background .15s, border-color .15s;
}
.mc-genre-tag:hover {
  background: var(--mc-accent);
  border-color: var(--mc-accent);
  color: #fff;
}
.mc-genre-tag__count {
  font-size: .75rem;
  color: var(--mc-muted);
  background: rgba(0,0,0,.06);
  padding: 1px 5px;
  border-radius: 10px;
}
.mc-genre-tag:hover .mc-genre-tag__count {
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.2);
}

/* ============================================================
   クリエイターヒーロー（single-circle / single-manga-author）
   ============================================================ */
.mc-creator-hero {
  min-height: 200px;
  border-radius: var(--mc-radius);
  display: flex;
  align-items: flex-end;
  padding: 24px 20px;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.mc-creator-hero__body {
  color: #fff;
}

.mc-creator-hero__name {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  color: #fff;
}

.mc-creator-hero__badge {
  display: inline-block;
  font-size: .8rem;
  background: rgba(255,255,255,.22);
  color: #fff;
  border-radius: 3px;
  padding: 2px 10px;
  margin-bottom: 8px;
}

.mc-creator-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.mc-creator-hero__link {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
  text-decoration: none;
  font-size: .82rem;
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  transition: background .15s;
}
.mc-creator-hero__link:hover { background: rgba(255,255,255,.35); }

/* ============================================================
   動画ページ（single-video）
   ============================================================ */
.mc-video-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .mc-video-hero { grid-template-columns: 1fr; }
}

.mc-video-hero__embed,
.mc-video-hero__thumb {
  border-radius: var(--mc-radius);
  overflow: hidden;
  background: #000;
}

.mc-video-hero__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.mc-video-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}

.mc-btn-react {
  padding: 8px 16px;
  border: none;
  border-radius: var(--mc-radius);
  cursor: pointer;
  font-size: .9rem;
  font-weight: bold;
  transition: opacity .15s;
}
.mc-btn-react--like    { background: #e8717a; color: #fff; }
.mc-btn-react--dislike { background: #ccc; color: #555; }
.mc-btn-react.is-active { opacity: .75; }
.mc-btn-react:hover { opacity: .85; }

.mc-btn--affiliate {
  display: inline-block;
  padding: 9px 18px;
  background: #e60033;
  color: #fff;
  text-decoration: none;
  border-radius: var(--mc-radius);
  font-size: .9rem;
  font-weight: bold;
  transition: background .15s;
}
.mc-btn--affiliate:hover { background: #c0002a; color: #fff; }

/* ============================================================
   女優プロフィール（single-actress）
   ============================================================ */
.mc-actress-profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.mc-actress-profile__image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mc-bg);
}

.mc-actress-profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-actress-profile__name {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 6px;
}

.mc-actress-profile__kana {
  font-size: .9rem;
  font-weight: normal;
  color: var(--mc-muted);
}

.mc-actress-profile__stats {
  font-size: .85rem;
  color: var(--mc-muted);
  margin: 4px 0 0;
}

/* ============================================================
   情報テーブル（single-video）
   ============================================================ */
.mc-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin-bottom: 12px;
}
.mc-info-table th,
.mc-info-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--mc-border);
  text-align: left;
  vertical-align: top;
}
.mc-info-table th {
  width: 80px;
  font-weight: bold;
  color: var(--mc-muted);
  white-space: nowrap;
}

/* ============================================================
   TOPページ全体（SWELLのコンテンツ幅に任せる）
   ============================================================ */
.mc-top {
  padding-bottom: 2rem;
}

.mc-page-title__count {
  font-size: .7em;
  font-weight: normal;
  color: var(--mc-muted);
  margin-left: .5em;
}

.mc-no-posts {
  color: var(--mc-muted);
  padding: 20px 0;
  text-align: center;
}

/* ============================================================
   アーカイブ共通
   ============================================================ */
.mc-archive {
  padding: 16px 0;
}

.mc-archive-filter {
  margin-bottom: 20px;
}
.mc-archive-filter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.mc-archive-filter__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  font-size: .9rem;
  background: var(--mc-bg);
  color: var(--mc-text);
}
.mc-archive-filter__select {
  padding: 8px 10px;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  font-size: .9rem;
  background: var(--mc-bg);
  color: var(--mc-text);
  cursor: pointer;
}
.mc-archive-filter__btn {
  padding: 8px 18px;
  background: var(--mc-accent);
  color: #fff;
  border: none;
  border-radius: var(--mc-radius);
  font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
}
.mc-archive-filter__btn:hover {
  opacity: .85;
}
.mc-archive-filter__reset {
  font-size: .85rem;
  color: var(--mc-muted);
  text-decoration: underline;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .mc-archive-filter__input { flex-basis: 100%; }
}

/* ============================================================
   ページネーション
   ============================================================ */
.mc-pagination {
  margin: 16px 0;
}
.mc-pagination__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.mc-pagination__item,
.mc-pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  font-size: .9rem;
  text-decoration: none;
  color: var(--mc-text);
  background: var(--mc-bg);
  transition: background .15s, border-color .15s, color .15s;
}
a.mc-pagination__item:hover,
a.mc-pagination__arrow:hover {
  background: var(--mc-accent);
  border-color: var(--mc-accent);
  color: #fff;
}
.mc-pagination__item--current {
  background: var(--mc-accent);
  border-color: var(--mc-accent);
  color: #fff;
  font-weight: bold;
  cursor: default;
}
.mc-pagination__ellipsis {
  padding: 0 4px;
  color: var(--mc-muted);
  font-size: .9rem;
}

/* ============================================================
   サイドバー
   ============================================================ */
.mc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mc-sidebar-widget__title {
  font-size: .95rem;
  font-weight: bold;
  border-bottom: 2px solid var(--mc-border);
  padding-bottom: 6px;
  margin: 0 0 10px;
}

.mc-sidebar-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ランキングリスト */
.mc-sidebar-widget__list--rank {
  counter-reset: rank-counter;
}

.mc-sidebar-rank-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mc-sidebar-rank-item__num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--mc-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: bold;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.mc-sidebar-rank-item__link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: var(--mc-text);
  font-size: .82rem;
  line-height: 1.4;
}
.mc-sidebar-rank-item__link:hover { color: var(--mc-accent); }

.mc-sidebar-rank-item__title,
.mc-sidebar-comic-item__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .80rem;
  line-height: 1.45;
}

.mc-sidebar-rank-item__thumb {
  flex-shrink: 0;
  width: 44px;
  height: auto;      /* アフィリエイト規約：トリミング禁止 */
  display: block;
  border-radius: 2px;
}

/* コミック/動画一覧（サイドバー） */
.mc-sidebar-comic-item__link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: var(--mc-text);
  font-size: .82rem;
  line-height: 1.4;
}
.mc-sidebar-comic-item__link:hover { color: var(--mc-accent); }

.mc-sidebar-comic-item__thumb {
  flex-shrink: 0;
  width: 44px;
  height: auto;      /* アフィリエイト規約：トリミング禁止 */
  display: block;
  border-radius: 2px;
}

/* ============================================================
   横スクロールカルーセル（新着同人誌）
   ============================================================ */
.mc-scroll-wrap {
  position: relative;
  overflow: hidden;
}
.mc-comic-grid--scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding-bottom: 4px;
  list-style: none;
  margin: 0;
  padding-left: 0;
  will-change: transform;
}
.mc-comic-grid--scroll > li {
  flex: 0 0 calc(33.333% - 8px);
  min-width: 0;
}
.mc-comic-grid--scroll.mc-cols-4 > li {
  flex: 0 0 calc(25% - 9px);
  min-width: 0;
}
.mc-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  background: rgba(0,0,0,.35);
  border: none;
  color: #fff;
  width: 36px;
  height: 64px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  padding: 0;
}
.mc-scroll-btn:hover { background: rgba(0,0,0,.6); }
.mc-scroll-btn--prev { left: 4px; }
.mc-scroll-btn--next { right: 4px; }

/* ============================================================
   サイドバー（SWELL l-sidebar 内）
   ============================================================ */
.mc-sw-widget {
  margin-bottom: 24px;
}
.mc-sw-widget__title {
  font-size: .9rem;
  font-weight: bold;
  border-left: 3px solid var(--mc-accent);
  padding-left: 8px;
  margin: 0 0 10px;
}

/* 画像グリッド（2列、自然比率表示） */
.mc-sw-thumbgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.mc-sw-thumb {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  line-height: 0;
}
.mc-sw-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity .2s;
}
.mc-sw-thumb:hover img { opacity: .82; }
