/* ==========================================================
   エロヤバ（eroyaba.com） 公開側スタイル
   色・幅は :root の変数でまとめて調整できます
   ========================================================== */
:root {
  --pink: #ff88ca;                      /* メインカラー（ヘッダー・ラベル） */
  --pink-a: rgba(255, 136, 202, .85);   /* サムネイル上のラベル */
  --pink-hover: rgba(255, 136, 202, .35);
  --pink-dark: #e0569f;
  --text: #000;
  --sub: #333;
  --link: #6b6b6b;
  --muted: #999;
  --border: #ccc;
  --line: #e4e4e4;
  --btn-bg: #f0f0f0;
  --btn-border: #d3d3d3;
  --btn-on: #d5d5d5;
  --max-w: 1240px;
  --left-w: 160px;
  --right-w: 300px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 13px/1.5 "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Hiragino Sans", "メイリオ", Meiryo, sans-serif;
  word-wrap: break-word;
}
body.gated { overflow: hidden; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--pink-dark); }
img { border: 0; vertical-align: top; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }

/* ---------- ヘッダー ---------- */
#header { background: var(--pink); margin-bottom: 15px; }
#inner-header {
  max-width: var(--max-w); margin: 0 auto; padding: 8px 10px;
  display: flex; align-items: center; gap: 14px; min-height: 55px;
}
.logo { font-size: 22px; line-height: 1.1; letter-spacing: -.5px; white-space: nowrap; }
.logo a, .logo a:visited { color: #fff; font-weight: bold; text-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.logo a:hover { color: #fff; opacity: .85; }
.tagline { color: #fff; font-size: 11px; opacity: .95; flex: 1; min-width: 0; }
.search { display: flex; flex-shrink: 0; }
.search input {
  width: 240px; height: 30px; padding: 2px 8px; font-size: 13px;
  border: 1px solid #fff; border-radius: 2px 0 0 2px; outline: none;
}
.search button {
  height: 30px; padding: 0 14px; font-size: 12px; font-weight: bold; cursor: pointer;
  background: #fff; color: var(--pink-dark); border: 1px solid #fff; border-left: 1px solid var(--line); border-radius: 0 2px 2px 0;
}
.search button:hover { background: #ffeef7; }

/* ---------- 3カラム ---------- */
#content {
  max-width: var(--max-w); margin: 0 auto 15px; padding: 0 10px;
  display: flex; align-items: flex-start; gap: 15px;
}
#left { width: var(--left-w); flex-shrink: 0; }
#main { flex: 1; min-width: 0; border: 1px solid var(--border); padding: 10px 5px; }
#right { width: var(--right-w); flex-shrink: 0; }
#content.one #main { max-width: 900px; margin: 0 auto; }

/* ---------- 左カラム ---------- */
.widget { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.wt { font-size: 14px; color: var(--sub); line-height: 30px; margin-bottom: 4px; padding-left: 26px; position: relative; }
.wt::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 3px; background: var(--pink);
}
.wt-menu::after, .wt-cat::after, .wt-tag::after {
  position: absolute; left: 0; top: 6px; width: 18px; line-height: 18px; text-align: center; color: #fff; font-size: 11px; font-weight: bold;
}
.wt-menu::after { content: "≡"; }
.wt-cat::after { content: "▤"; font-size: 10px; }
.wt-tag::after { content: "#"; }
.wl li { padding: 3px 0 3px 2px; font-size: 12px; line-height: 1.4; }
.wl li a::before { content: "› "; color: var(--pink); }
.wl.tags li { display: inline-block; padding: 2px 6px 2px 0; }
.wl.tags li a::before { content: ""; }
.cnt { color: var(--muted); font-size: 11px; }

/* ---------- 一覧 ---------- */
.lhead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 0 5px 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.lt { font-size: 15px; color: var(--sub); }
.total { font-size: 12px; color: var(--link); }
.total strong { color: var(--pink-dark); }
.sort { margin-left: auto; font-size: 12px; color: var(--muted); }
.sort strong { color: var(--sub); }
.lead { padding: 4px 5px; font-size: 12px; color: var(--link); }
.empty { padding: 30px; text-align: center; color: var(--muted); }

.plist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; padding: 5px; }
.plist.mini { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.post { border: 1px solid var(--border); min-width: 0; overflow: hidden; transition: background-color .3s; }
.post:hover { background: var(--pink-hover); }
.ah { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #eee; }
.ah .th, .ah img { display: block; width: 100%; height: 100%; }
.ah img { object-fit: cover; }
.pc, .pc:visited, .mt, .rk {
  position: absolute; padding: 4px 7px 3px; background: var(--pink-a); color: #fff; font-size: 12px; line-height: 1.2;
}
.mini .pc, .mini .mt, .mini .rk { padding: 3px 5px 2px; font-size: 11px; }
.pc { top: 0; left: 0; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc:hover { color: #fff; background: var(--pink-dark); }
.mt { right: 0; bottom: 0; }
.rk { top: 0; right: 0; background: rgba(0, 0, 0, .65); font-weight: bold; }
.rk1 { background: #d9a400; } .rk2 { background: #9a9a9a; } .rk3 { background: #b06a33; }
.pt {
  height: 66px; padding: 6px 6px 0; font-size: 14px; font-weight: normal; line-height: 1.5; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.pt a, .pt a:visited { color: var(--sub); }
.post:hover .pt a { color: #000; }
.new { display: inline-block; background: #ff3d7f; color: #fff; font-size: 9px; font-weight: bold; line-height: 1; padding: 2px 3px; margin-right: 3px; vertical-align: 1px; }
.af { display: flex; justify-content: space-between; padding: 4px 6px 6px; font-size: 12px; color: var(--muted); }
.mini .pt { height: 60px; padding: 4px 4px 0; font-size: 13px; }
.mini .af { padding: 4px; font-size: 11px; }

/* ---------- ページネーション ---------- */
.pager { clear: both; text-align: center; padding: 12px 0 6px; }
.pager a, .pager span.cur, .pager .gap {
  display: inline-block; height: 28px; min-width: 32px; margin: 2px; padding: 0 10px;
  font-size: 11px; font-weight: 700; line-height: 26px; color: #333;
  border: 1px solid var(--btn-border); background: var(--btn-bg); border-radius: 2px; box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}
.pager a:hover { background: var(--btn-on); color: #333; }
.pager span.cur { border-color: #c6c6c6; background: var(--btn-on); }
.pager .gap { border-color: transparent; background: none; box-shadow: none; }
.pinfo { display: none; }

/* ---------- 右カラム ---------- */
.rbox { margin-bottom: 15px; }
.rt { font-size: 14px; color: #fff; background: var(--pink); padding: 5px 10px; margin-bottom: 6px; }
.slist li { position: relative; padding: 5px 0; border-bottom: 1px solid var(--line); }
.slist a { display: flex; gap: 8px; align-items: flex-start; color: var(--sub); }
.slist a:hover { color: var(--pink-dark); }
.s-th { position: relative; flex-shrink: 0; width: 120px; height: 68px; background: #eee; }
.s-th img { width: 120px; height: 68px; object-fit: cover; }
.s-dur { position: absolute; right: 0; bottom: 0; background: var(--pink-a); color: #fff; font-size: 10px; padding: 1px 4px; }
.s-ti { font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.s-vw { position: absolute; right: 0; bottom: 4px; font-size: 10px; color: var(--muted); }
.slist .no {
  position: absolute; left: 0; top: 5px; z-index: 1; width: 20px; height: 20px; line-height: 20px; text-align: center;
  font-size: 11px; font-weight: bold; color: #fff; background: rgba(0, 0, 0, .6);
}
.slist .no1 { background: #d9a400; } .slist .no2 { background: #9a9a9a; } .slist .no3 { background: #b06a33; }
.rmore { text-align: right; font-size: 12px; padding-top: 5px; }
.notice dt { font-size: 11px; color: var(--pink-dark); font-weight: bold; }
.notice dd { font-size: 12px; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.about { font-size: 12px; color: var(--link); line-height: 1.6; }

/* ---------- FANZA（アフィリエイト）：控えめなテキストリンク ---------- */
.pr { display: inline-block; padding: 0 4px; font-size: 10px; font-weight: normal; line-height: 15px; border: 1px solid currentColor; border-radius: 2px; vertical-align: 1px; opacity: .85; }
.fanza .rt { background: #f3f3f3; color: var(--sub); }
.flist { display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 2px 0; }
.flist a { display: inline-block; padding: 2px 8px; font-size: 12px; border: 1px solid var(--line); border-radius: 2px; color: var(--link); }
.flist a:hover { border-color: var(--pink); color: var(--pink-dark); }
.fanza-rel { margin: 0 0 10px; padding: 6px 8px; font-size: 12px; color: var(--muted); background: #fafafa; border: 1px solid var(--line); }
.fanza-rel .pr { color: var(--muted); margin-right: 2px; }
.fanza-rel a { color: var(--link); text-decoration: underline; text-decoration-color: var(--line); }

/* ---------- 広告枠 ---------- */
.ad { text-align: center; margin: 0 auto 10px; overflow: hidden; }
.ad-ph { display: flex; align-items: center; justify-content: center; background: #fafafa; border: 1px dashed #ccc; color: #bbb; font-size: 11px; }
.ad-header_below.ad-ph, .ad-list_middle.ad-ph { height: 90px; max-width: 728px; }
.ad-list_middle { margin: 5px; }
.ad-sidebar.ad-ph, .ad-video_below.ad-ph { height: 250px; width: 300px; max-width: 100%; }
.ad-sidebar { margin-bottom: 15px; }

/* ---------- パンくず ---------- */
.bc { font-size: 12px; margin: 0 5px 8px; color: var(--muted); }
.bc a { padding: 2px 3px; }
.bc a:hover { background: var(--pink); color: #fff; }

/* ---------- 動画詳細 ---------- */
.single { padding: 0 5px; }
.vtitle { font-size: 20px; line-height: 1.4; color: var(--sub); margin: 0 0 8px; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; margin-bottom: 10px; }
/* 個別ページの大きなサムネイル（クリックで配信元の動画ページへ） */
.poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; margin-bottom: 10px; overflow: hidden; }
.poster img { width: 100%; height: 100%; object-fit: contain; }
.poster .play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: rgba(255, 136, 202, .9); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); transition: transform .2s, background-color .2s;
}
.poster .play::after {
  content: ""; position: absolute; left: 33px; top: 24px; border-style: solid; border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent #fff;
}
.poster .go {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; text-align: center; color: #fff; font-size: 14px; font-weight: bold;
  background: rgba(0, 0, 0, .55);
}
.poster:hover .play { transform: scale(1.08); background: var(--pink-dark); }
.poster:hover { color: #fff; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-ng { display: flex; align-items: center; justify-content: center; color: #ccc; text-align: center; }
.vinfo { position: relative; display: flex; gap: 8px; margin-bottom: 10px; font-size: 12px; min-height: 80px; }
.vthumb { flex-shrink: 0; border: 1px solid var(--border); padding: 3px; }
.vthumb img { width: 100px; height: 75px; object-fit: cover; }
.vmeta { flex: 1; min-width: 0; padding-right: 90px; }
.vmeta p { margin-bottom: 3px; }
.vviews { position: absolute; right: 0; bottom: 0; font-size: 12px; color: var(--link); }
.vviews strong { font-size: 18px; color: var(--sub); }
.chip, .tg {
  display: inline-block; padding: 1px 7px; margin: 0 2px 2px 0; font-size: 11px;
  border: 1px solid var(--border); border-radius: 2px; background: #fafafa; color: var(--link);
}
.chip:hover, .tg:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.vlinks { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.srcbtn, .srcbtn:visited {
  display: inline-block; padding: 0 14px; height: 30px; line-height: 28px; font-size: 12px; font-weight: bold; color: #333;
  border: 1px solid var(--btn-border); background: var(--btn-bg); border-radius: 2px;
}
.srcbtn:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.rpt { font-size: 11px; color: var(--muted) !important; }
.vdesc { font-size: 13px; line-height: 1.8; color: var(--sub); padding: 10px 0; border-top: 1px solid var(--line); }

/* SNS シェアボタン */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; }
.share-l { font-size: 12px; color: var(--muted); margin-right: 2px; }
.sh, .sh:visited {
  display: inline-block; height: 28px; padding: 0 12px; line-height: 28px; font-size: 12px; font-weight: bold;
  color: #fff; border: 0; border-radius: 2px; cursor: pointer; font-family: inherit;
}
.sh:hover { color: #fff; opacity: .85; }
.sh-x { background: #111; }
.sh-line { background: #06c755; }
.sh-bsky { background: #1185fe; }
.sh-hatena { background: #00a4de; }
.sh-copy { background: #888; }

/* タブ（関連・人気・新着）：JSなしで切り替え */
.tabs { margin: 15px 0 5px; padding-top: 15px; border-top: 1px solid var(--line); }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tabs label {
  display: inline-block; margin-right: 4px; padding: 5px 12px 3px; font-size: 14px; color: var(--link); cursor: pointer;
  border: 1px solid var(--border); border-bottom: 0; border-radius: 5px 5px 0 0;
}
.tabs input:checked + label { background: var(--pink); border-color: var(--pink); color: #fff; }
.tabs input:focus-visible + label { outline: 2px solid var(--pink-dark); }
.tab-body { display: none; border: 1px solid var(--border); }
#tab-rel:checked ~ .tb-rel, #tab-pop:checked ~ .tb-pop, #tab-new:checked ~ .tb-new { display: block; }

/* ---------- 汎用ボックス（カテゴリ一覧・フォーム・規約など） ---------- */
.box { margin: 0 5px 12px; }
.box > .hd { position: relative; font-size: 15px; color: var(--sub); padding: 0 0 6px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.box > .hd .more { position: absolute; right: 0; top: 2px; font-size: 11px; font-weight: normal; }
.cattable { width: 100%; border-collapse: collapse; font-size: 12px; }
.cattable th, .cattable td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.cattable th { white-space: nowrap; font-size: 13px; background: #fafafa; }
.cattable .num { white-space: nowrap; text-align: right; color: var(--muted); }
.taglist { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.count { display: none; }

.ftable { width: 100%; border-collapse: collapse; margin: 8px 0; }
.ftable th, .ftable td { border: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; }
.ftable th { width: 170px; background: #fafafa; font-weight: normal; }
.ftable input[type=text], .ftable input[type=email], .ftable textarea, .ftable select {
  width: 100%; max-width: 520px; padding: 4px 6px; font-size: 13px; border: 1px solid var(--border); border-radius: 2px;
}
.ftable .radio { display: block; margin: 1px 0; }
.req { display: inline-block; background: var(--pink); color: #fff; font-size: 10px; padding: 0 4px; margin-left: 3px; border-radius: 2px; }
.fbtn { text-align: center; margin: 12px 0; }
.fbtn button {
  padding: 0 34px; height: 34px; font-size: 14px; font-weight: bold; cursor: pointer; color: #fff;
  background: var(--pink); border: 1px solid var(--pink-dark); border-radius: 2px;
}
.fbtn button:hover { background: var(--pink-dark); }
.msg { padding: 8px 10px; margin: 6px 0 10px; border: 1px solid; }
.msg ul { padding-left: 1.2em; list-style: disc; }
.msg-err { background: #fff0f0; border-color: #e99; color: #b00; }
.msg-ok { background: #f2fff2; border-color: #8c8; color: #262; font-weight: bold; }
.small { font-size: 11px; color: var(--muted); }
.dot { padding-left: 1.4em; list-style: disc; margin: 6px 0; }
.dot li { margin: 3px 0; }
.doc { line-height: 1.8; }
.doc h3 { font-size: 13px; margin: 14px 0 4px; padding-left: 8px; border-left: 3px solid var(--pink); }
.doc p { margin: 4px 0; }
.right { text-align: right; }
.tolinks { margin-top: 8px; font-size: 12px; }

/* ---------- フッター ---------- */
#footer { border-top: 4px solid var(--pink); background: #f7f7f7; padding: 14px 10px 18px; font-size: 11px; color: var(--link); }
#footer .inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.flinks { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 8px; }
.flinks li { padding: 0 8px; border-right: 1px solid var(--border); line-height: 1.2; margin: 2px 0; }
.flinks li:last-child { border-right: 0; }
.disc { line-height: 1.7; margin-bottom: 6px; }
.copy { color: var(--muted); }

/* ---------- 年齢確認 ---------- */
.agegate { position: fixed; inset: 0; z-index: 1000; background: #fff; overflow: auto; padding: 40px 12px; }
.ag-box { max-width: 520px; margin: 0 auto; border: 1px solid var(--border); border-top: 6px solid var(--pink); padding: 20px; text-align: center; }
.ag-logo { color: var(--pink-dark); font-size: 22px; font-weight: bold; margin-bottom: 6px; }
.ag-box h2 { font-size: 16px; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 10px; }
.ag-box p { margin: 8px 0; line-height: 1.7; }
.ag-q { font-weight: bold; font-size: 14px; }
.ag-yes { width: 100%; padding: 11px; font-size: 15px; font-weight: bold; color: #fff; background: var(--pink); border: 1px solid var(--pink-dark); border-radius: 2px; cursor: pointer; }
.ag-yes:hover { background: var(--pink-dark); }
.ag-no { display: block; padding: 9px; border: 1px solid var(--btn-border); background: var(--btn-bg); color: #444 !important; border-radius: 2px; }
.ag-note { font-size: 11px; color: var(--muted); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1180px) {
  :root { --right-w: 260px; }
  .plist.mini { grid-template-columns: repeat(3, 1fr); }
  .tagline { display: none; }
}
@media (max-width: 960px) {
  #content { flex-wrap: wrap; }
  #left { order: 3; width: 100%; }
  #main { order: 1; flex-basis: 100%; }
  #right { order: 2; width: 100%; }
  #left .widget { border: 1px solid var(--line); padding: 8px 10px; }
}
@media (max-width: 768px) {
  #header { margin-bottom: 8px; }
  #inner-header { flex-wrap: wrap; gap: 6px; padding: 8px; }
  .logo { font-size: 19px; }
  .search { width: 100%; }
  .search input { flex: 1; width: auto; height: 34px; font-size: 16px; }
  .search button { height: 34px; }
  #content { padding: 0 6px; gap: 10px; }
  #main { border: 0; padding: 0; }
  .plist, .plist.mini { grid-template-columns: repeat(2, 1fr); gap: 10px 8px; padding: 0; }
  .pt { height: 60px; font-size: 13px; }
  .sort { margin-left: 0; width: 100%; }
  .vtitle { font-size: 17px; }
  .vmeta { padding-right: 0; }
  .vviews { position: static; }
  .vinfo { flex-wrap: wrap; }
  .ftable th, .ftable td { display: block; width: auto; border-bottom: 0; }
  .ftable tr:last-child td { border-bottom: 1px solid var(--line); }
  .ad-header_below.ad-ph, .ad-list_middle.ad-ph { height: 60px; }
  .tabs label { padding: 5px 8px 3px; font-size: 13px; }
}
