@import url('/board.css?v=20261005-2');

:root {
  --ink: #292929;
  --muted: #696969;
  --line: #dcdcdc;
  --blue: #3474e8;
  --orange: #e69b40;
  --dark: #292929;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #484848;
  color: var(--ink);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
.site-frame { width: min(1200px, 100%); min-height: 100vh; margin: 0 auto; background: #fff; }
.utility-bar {
  min-height: 35px;
  padding: 5px 14px;
  display: flex;
  gap: 24px;
  align-items: center;
  background: #3d3d3d;
  color: #e5e5e5;
  font-size: 12px;
}
.utility-bar a:hover { color: #fff; }
.site-header {
  min-height: 98px;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark);
  color: #f8f8f8;
}
.brand { display: inline-block; font-size: 34px; font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.brand span { display: block; margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: .36em; }
.header-symbol { width: 42px; height: 42px; border: 2px solid #dedede; border-radius: 50%; display: grid; place-items: center; color: #dedede; font-size: 14px; font-weight: 700; }
.primary-nav { position: relative; min-height: 50px; display: flex; background: #242424; border-top: 1px solid #4e4e4e; border-bottom: 2px solid #484848; z-index: 20; }
.primary-nav a { min-width: 150px; padding: 12px 20px; border-right: 1px solid #4b4b4b; color: #f4f4f4; text-align: center; font-size: 15px; font-weight: 700; }
.primary-nav a::before { content: '◆'; color: var(--orange); font-size: 10px; margin-right: 9px; vertical-align: 2px; }
.primary-nav a:hover { background: #383838; }
.nav-dropdown { position: relative; min-width: 150px; border-right: 1px solid #4b4b4b; color: #f4f4f4; }
.nav-dropdown-trigger { display: block; width: 100%; padding: 12px 20px; border: 0; background: transparent; color: inherit; text-align: center; font-size: 15px; font-weight: 700; cursor: pointer; }
.nav-dropdown-trigger::before { content: '◆'; color: var(--orange); font-size: 10px; margin-right: 9px; vertical-align: 2px; }
.nav-dropdown-trigger::after { content: '▾'; margin-left: 8px; color: #c5c5c5; font-size: 12px; }
.nav-dropdown.is-open > .nav-dropdown-trigger,.nav-dropdown-trigger:hover { background: #383838; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; max-width: min(340px, 80vw); max-height: min(65vh, 420px); overflow-y: auto; padding: 6px 0; background: #242424; border: 1px solid #4b4b4b; border-top: 2px solid var(--orange); box-shadow: 0 8px 18px rgb(0 0 0 / 24%); }
.nav-dropdown.is-open > .nav-dropdown-menu,.nav-dropdown:hover > .nav-dropdown-menu,.nav-dropdown:focus-within > .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a,.nav-dropdown-menu .nav-empty { display: block; min-width: 0; padding: 9px 16px; border: 0; color: #f4f4f4; text-align: left; font-size: 14px; font-weight: 500; }
.nav-dropdown-menu a::before { content: none; }
.nav-dropdown-menu a:hover { background: #383838; color: #fff; }
.nav-dropdown-menu .nav-empty { color: #b8b8b8; }
.back-to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 30; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #555; border-radius: 50%; background: rgb(40 40 40 / 88%); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #111; }
.back-to-top:focus-visible { outline: 3px solid #3474e8; outline-offset: 3px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 324px; align-items: stretch; min-height: 640px; }
.main-column { min-width: 0; padding: 24px 32px 70px; background: #fff; }
.side-column { min-width: 0; padding: 22px 12px 60px; background: #efefef; }
.quick-links { display: flex; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.quick-links span { flex: 1; padding: 15px 20px; background: #22262a; color: #fff; font-size: 16px; font-weight: 700; }
.quick-links span:first-child { flex: 0 0 120px; text-align: center; }
.listing-section { margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 8px; border-bottom: 2px solid #333; }
.section-heading h1, .section-heading h2 { margin: 0 0 10px; font-size: 23px; font-weight: 700; line-height: 1.4; }
.section-heading span { color: #868686; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.post { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding: 30px 0 36px; border-bottom: 1px solid var(--line); }
.post-cover { position: relative; display: block; width: 190px; height: 264px; overflow: hidden; isolation: isolate; background: #ededed; }
.post-cover img, .image-placeholder { display: block; width: 190px; height: 264px; object-fit: cover; background: #ededed; }
.post-cover .post-cover-backdrop { position: absolute; z-index: 0; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); filter: blur(12px); opacity: .78; }
.post-cover .post-cover-main { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: #555; font-size: 14px; }
.post-meta span { color: #888; }
.post h2 { margin: 15px 0 14px; color: var(--blue); font-size: 28px; line-height: 1.4; font-weight: 700; }
.post h2 a:hover, .post-more:hover { text-decoration: underline; }
.post p { margin: 0 0 18px; font-size: 16px; line-height: 1.7; }
.post-more { color: var(--blue); font-size: 14px; font-weight: 700; }
.empty-state { margin: 0; padding: 42px 8px; color: #777; font-size: 15px; }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; }
.category-list .empty-state { width: 100%; }
.category-pill { padding: 7px 12px; background: #f1f1f1; border: 1px solid #ddd; font-size: 14px; }
.side-block { margin: 0 0 25px; }
.fanza-widget-block { min-width: 0; overflow: hidden; }
.fanza-widget-block .dmm-widget-placement { display: block; width: 300px; min-height: 250px; max-width: 100%; }
.fanza-widget-block .dmm-widget-placement iframe { display: block; width: 300px; max-width: 100%; }
.side-block h2 { margin: 0 0 15px; padding: 0 0 7px; border-bottom: 1px solid #d4d4d4; font-size: 17px; font-weight: 700; }
.side-block h2::before { content: '◆'; margin-right: 8px; color: #333; font-size: 10px; vertical-align: 2px; }
.side-block .empty-state { padding: 5px 2px 14px; font-size: 13px; }
.side-block a, .side-block span { display: block; margin-bottom: 9px; font-size: 14px; }
.side-block a { color: var(--blue); }
.search-row { display: flex; height: 40px; }
.search-row input { min-width: 0; width: 100%; padding: 8px 10px; border: 1px solid #ddd; background: #fff; font-size: 14px; }
.search-row button { width: 45px; flex: 0 0 45px; border: 0; background: var(--blue); color: white; cursor: pointer; font-size: 27px; line-height: 1; }
#search-results { margin-top: 12px; }
#search-results .empty-state { padding: 7px 0; }
#profile-block strong { font-size: 14px; }
#profile-block p { font-size: 13px; }
footer { min-height: 65px; padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #292929; color: #d3d3d3; font-size: 13px; }
footer small { font-size: 12px; }
footer a { color: inherit; }
.article-body { color: #333; line-height: 1.9; }
.article-body h2 { margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 20px; }
.article-body p { margin: 0 0 16px; }

@media (max-width: 850px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 324px; }
  .post { grid-template-columns: 150px minmax(0, 1fr); }
  .post-cover { width: 150px; height: 210px; }
  .post-cover img, .image-placeholder { width: 150px; height: 210px; }
  .post h2 { font-size: 23px; }
}
@media (max-width: 650px) {
  body { background: #fff; }
  .utility-bar { font-size: 11px; }
  .site-header { min-height: 77px; padding: 12px 16px; }
  .brand { font-size: 27px; }
  .brand span { font-size: 8px; }
  .header-symbol { width: 35px; height: 35px; font-size: 11px; }
  .primary-nav { overflow-x: auto; }
  .primary-nav a { min-width: 125px; white-space: nowrap; font-size: 13px; }
  .page-layout { display: block; }
  .main-column { padding: 20px 18px 48px; }
  .quick-links span { padding: 11px; font-size: 13px; }
  .quick-links span:first-child { flex-basis: 94px; }
  .section-heading h1, .section-heading h2 { font-size: 21px; }
  .post { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .post-cover { width: 96px; height: 138px; }
  .post-cover img, .image-placeholder { width: 96px; height: 138px; }
  .post-meta { font-size: 12px; gap: 7px; }
  .post h2 { margin: 6px 0 8px; font-size: 17px; }
  .post p { margin-bottom: 8px; font-size: 13px; }
  .post-more { font-size: 12px; }
  .side-column { padding: 25px 10px 35px; }
  .back-to-top { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 44px; height: 44px; }
  footer { padding: 18px; font-size: 12px; }
}
