
:root{--bg:#f5f5f6;--panel:#fff;--text:#1f2328;--sub:#68707c;--line:#e7e9ed;--accent:#b21d42;--accent2:#7c1630;--chip:#f7e8ed;--shadow:0 8px 24px rgba(20,20,30,.07)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.wrap{width:min(1180px,calc(100% - 28px));margin:auto}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.head{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:66px}.brand{font-weight:900;font-size:21px;color:var(--accent)}.site-nav{display:flex;gap:16px;font-size:14px;color:#4e5661}.site-nav a:hover{color:var(--accent)}
.hero{padding:38px 0 24px}.hero-box,.category-hero{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:22px;padding:32px;box-shadow:var(--shadow)}.eyebrow{font-size:12px;letter-spacing:.12em;opacity:.68}.hero h1,.category-hero h1{font-size:clamp(26px,4vw,42px);line-height:1.25;margin:8px 0 12px}.hero p,.category-hero p{max-width:820px;color:var(--sub)}.hero-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.stat{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);padding:9px 13px;border-radius:999px;font-size:13px}
.section{padding:20px 0}.section-title{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:13px}.section-title h2{font-size:22px;margin:0}.section-title p{font-size:13px;color:var(--sub);margin:0}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.topic{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}.topic:hover{border-color:var(--accent);transform:translateY(-1px)}.topic b{display:block;margin-bottom:4px}.topic span{font-size:12px;color:var(--sub)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 2px 8px rgba(10,20,30,.03);transition:.2s}.card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.thumb{background:#ddd;aspect-ratio:4/3;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.body{padding:14px}.meta{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:8px}.chip{background:var(--chip);color:var(--accent2);font-size:11px;border-radius:999px;padding:4px 8px}.card h2,.card h3{font-size:16px;line-height:1.5;margin:0 0 9px}.facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);margin-top:12px;padding-top:10px;gap:6px}.fact{text-align:center}.fact b{display:block;font-size:13px;word-break:break-all}.fact span{font-size:10px;color:var(--sub)}
.guide{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.panel h2,.panel h3{margin-top:0}.list{display:grid;gap:10px}.list a{padding:11px 0;border-bottom:1px solid var(--line)}.list small{display:block;color:var(--sub)}
.category-page{padding-top:24px}.category-hero{margin-bottom:16px}.sort-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px}.sort-nav a,.filter{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-size:13px}.sort-nav a.active,.sort-nav a:hover,.filter:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.related-categories{margin:30px 0}.filters{display:flex;flex-wrap:wrap;gap:8px}
.breadcrumb{width:min(1180px,calc(100% - 28px));margin:14px auto}.breadcrumb ol{list-style:none;display:flex;gap:8px;padding:0;margin:0;font-size:12px;color:var(--sub);flex-wrap:wrap}.breadcrumb li+li:before{content:'›';margin-right:8px}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;padding-top:8px}.article h1{font-size:clamp(23px,3vw,34px);line-height:1.4}.article-categories{margin:-4px 0 18px;color:var(--sub)}.article-categories a{display:inline-block;background:var(--chip);color:var(--accent2);padding:4px 9px;border-radius:999px;margin:3px}.article-body{font-size:16px;margin:22px 0}.main-image img{border-radius:12px;width:100%}.extra-images{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.info-table{width:100%;border-collapse:collapse;margin:18px 0}.info-table th,.info-table td{border:1px solid var(--line);padding:8px;text-align:left}.info-table th{background:#fafafa;width:125px}.product-link a,.sample-video-cta a{display:block;background:var(--accent);color:#fff;text-align:center;border-radius:10px;padding:12px;font-weight:700}.sample-video iframe{display:block;width:100%;aspect-ratio:4/3;height:auto;border:0}.block-category-list{list-style:none;padding:0}.block-category-list li{border-bottom:1px solid var(--line);padding:7px 0}.block-new-posts ul,.block-related ul{padding-left:20px}.site-footer{margin-top:40px;background:#1c1d20;color:#c8cbd1;padding:28px 0;font-size:12px}
.watch-nav{display:inline-flex!important;align-items:center;gap:5px;font-weight:700;color:#555}.watch-nav-heart{font-size:22px;line-height:1;color:#777}.watch-later-count{min-width:16px;font-size:12px;text-align:left;color:#777}.thumb>a{display:block;width:100%;height:100%}.card-title-row,.post-title-row{display:flex;align-items:flex-start;gap:10px}.card-title-link,.post-title-row>a{flex:1;min-width:0}.card-title-row h2,.card-title-row h3{margin-bottom:9px}.card-facts-link{display:block}.card-heart{position:static;flex:0 0 34px;width:34px;height:34px;border:1px solid #e5e5e5;border-radius:50%;background:#fff;color:#777;font-size:25px;line-height:31px;padding:0;cursor:pointer;box-shadow:none;font-family:Arial,sans-serif}.card-heart:hover{transform:scale(1.06);border-color:#d5d5d5}.watch-later-btn.is-saved,.card-heart.is-saved{color:#ff4f91}.card-heart.is-saved{background:#fff0f6;border-color:#ffbdd5}.post-title-row{margin-top:10px;align-items:flex-start}.post-title-row strong{display:block;line-height:1.5}.sample-video-watch-later{margin:10px 0}.sample-video-watch-later .watch-later-btn{display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;border:1px solid #e2e2e2;background:#fff;color:#666;border-radius:999px;padding:7px 14px;font-weight:700;cursor:pointer}.sample-video-watch-later .watch-later-btn.is-saved{border-color:#ffbdd5;background:#fff0f6;color:#ff4f91}.watch-later-page{padding-top:26px}.watch-later-page h1{margin:0 0 18px}.watch-later-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.watch-later-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.watch-later-card-link{display:block}.watch-later-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.watch-later-card span{display:block;padding:11px 42px 12px 12px;font-weight:700;font-size:14px;line-height:1.5}.watch-later-remove{position:absolute;right:8px;bottom:8px;width:28px;height:28px;border:1px solid #ddd;background:#fff;border-radius:50%;color:#777;font-size:19px;line-height:24px;cursor:pointer}.watch-later-clear{border:1px solid #ddd;background:#fff;border-radius:999px;padding:8px 14px;color:#666;cursor:pointer}.watch-later-empty{color:var(--sub)}.search-form{display:flex;gap:6px}.search-form input{flex:1;padding:8px}.search-form button{padding:8px 12px}.search-form .search-submit-icon{display:inline-flex;align-items:center;justify-content:center;min-width:42px;font-size:18px;line-height:1;cursor:pointer}.search-form .search-submit-icon span{display:block;line-height:1}
@media(max-width:900px){.watch-later-list{grid-template-columns:repeat(2,1fr)}.topic-grid{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.article-layout{grid-template-columns:1fr}.article-side{display:none}}
@media(max-width:560px){.watch-later-list{grid-template-columns:1fr}.watch-nav{display:inline-flex!important}.watch-nav-heart{font-size:21px}.wrap{width:min(100% - 20px,1180px)}.site-nav{display:flex}.site-nav>a:not(.watch-nav){display:none}.hero{padding-top:20px}.hero-box,.category-hero{padding:22px 18px;border-radius:16px}.grid{grid-template-columns:1fr}.topic-grid{grid-template-columns:1fr 1fr}.section-title{align-items:start;flex-direction:column;gap:2px}.card h2,.card h3{font-size:15px}}


/* Article image lightbox */
.article-lightbox-image{cursor:zoom-in}
.image-lightbox{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.88)}
.image-lightbox.is-open{display:flex}
.image-lightbox img{display:block;max-width:min(96vw,1400px);max-height:92vh;width:auto;height:auto;object-fit:contain;border-radius:6px;box-shadow:0 12px 40px rgba(0,0,0,.4);cursor:zoom-out}
.image-lightbox-close{position:fixed;top:14px;right:18px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:32px;line-height:40px;cursor:pointer}
body.lightbox-open{overflow:hidden}
@media(max-width:560px){.image-lightbox{padding:10px}.image-lightbox img{max-width:98vw;max-height:88vh}.image-lightbox-close{top:8px;right:8px}}

/* v0.9.8.15 display filters */
.display-settings{margin:16px 0 20px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px}.display-settings-title{font-weight:800;margin-bottom:10px}.display-filter-group{display:grid;grid-template-columns:90px 1fr;gap:10px;align-items:start;padding:8px 0;border-top:1px solid #f0f0f0}.display-filter-group:first-of-type{border-top:0}.display-filter-label{font-size:13px;font-weight:700;padding-top:7px}.display-filter-options{display:flex;gap:7px;flex-wrap:wrap}.display-filter-options a{display:inline-block;background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 11px;font-size:12px}.display-filter-options a.active,.display-filter-options a:hover{background:var(--accent);border-color:var(--accent);color:#fff}.thumb{position:relative}.duration-badge{position:absolute;right:7px;bottom:7px;background:rgba(0,0,0,.72);color:#fff;border-radius:5px;padding:3px 7px;font-size:11px;line-height:1.3;pointer-events:none}.result-count{font-size:13px;color:var(--sub);margin:-8px 0 12px}
@media(max-width:560px){.display-settings{padding:13px}.display-filter-group{grid-template-columns:1fr;gap:5px}.display-filter-label{padding-top:0}.display-filter-options{gap:6px}.display-filter-options a{padding:6px 9px}}

/* compact display settings */
.display-settings-compact{margin:10px 0 14px;font-size:12px;color:var(--sub)}
.display-current{display:flex;flex-wrap:wrap;gap:5px 14px;align-items:center;margin-bottom:6px}
.display-current div{display:flex;gap:4px;align-items:center;white-space:nowrap}
.display-current span{color:var(--sub)}
.display-current b{font-weight:700;color:var(--text)}
.display-settings-details{display:inline-block}
.display-settings-details>summary{display:inline-block;cursor:pointer;list-style:none;font-size:13px;font-weight:700;color:var(--text);border:1px solid var(--line);border-radius:6px;padding:4px 8px;background:#fff;user-select:none}
.display-settings-details>summary::-webkit-details-marker{display:none}
.display-settings-details[open]>summary{margin-bottom:7px}
.display-settings-panel{min-width:300px;max-width:100%;padding:9px 10px;background:#fff;border:1px solid var(--line);border-radius:9px}
.display-settings-panel .display-filter-group{display:grid;grid-template-columns:72px 1fr;gap:7px;align-items:start;padding:6px 0;border-top:1px solid #f2f2f2}
.display-settings-panel .display-filter-group:first-child{border-top:0}
.display-settings-panel .display-filter-label{font-size:13px;font-weight:700;padding-top:5px}
.display-settings-panel .display-filter-options{gap:5px}
.display-settings-panel .display-filter-options a{padding:4px 8px;font-size:12px}
@media(max-width:560px){.display-current{gap:4px 10px}.display-settings-panel{min-width:0;width:min(92vw,360px)}.display-settings-panel .display-filter-group{grid-template-columns:1fr;gap:4px}.display-settings-panel .display-filter-label{padding-top:0}}

/* duration filter state fix */
.display-settings-panel .display-filter-options a.active{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
.display-filter-notice{margin:4px 0 7px;color:#a34b00;font-size:12px;line-height:1.5}

/* block management layout */
.cms-block-layout{display:grid;gap:18px;align-items:start;padding-top:8px}.cms-block-main,.cms-block-layout>.article{min-width:0}.cms-block-side{min-width:0}.cms-block-layout.layout-1{grid-template-columns:minmax(0,1fr)}.cms-block-layout.layout-1>.cms-block-left,.cms-block-layout.layout-1>.cms-block-right{display:none}.cms-block-layout.layout-2{grid-template-columns:220px minmax(0,1fr)}.cms-block-layout.layout-2>.cms-block-right{display:none}.cms-block-layout.layout-3{grid-template-columns:220px minmax(0,1fr) 280px}.cms-block-layout .search-form{margin:10px 0}.cms-block-layout .block-category-list-wrap,.cms-block-layout .block-new-posts,.cms-block-layout .block-related,.cms-block-layout .free-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:14px}.search-page{padding-top:24px}.search-panel{margin-bottom:18px}.search-panel h1{margin-top:0}.search-results{margin-bottom:30px}.post-date{font-size:12px;color:var(--sub);margin-top:8px}
@media(max-width:900px){.cms-block-layout.layout-3,.cms-block-layout.layout-2{grid-template-columns:minmax(0,1fr)}.cms-block-layout.layout-3>.cms-block-left,.cms-block-layout.layout-3>.cms-block-right,.cms-block-layout.layout-2>.cms-block-left{display:block}.cms-block-side{order:2}.cms-block-main,.cms-block-layout>.article{order:1}.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.grid{grid-template-columns:1fr}.search-form{flex-wrap:wrap}.search-form input{min-width:0;width:100%}}

/* v0.9.8.28 listing display items */
.listing-facts{grid-template-columns:repeat(auto-fit,minmax(68px,1fr))}.listing-facts .fact-no-label{display:flex;align-items:center;justify-content:center;min-height:32px}.listing-facts .fact-no-label b{line-height:1.35}

/* 新着記事・関連記事：小サムネイル付きコンパクトリスト */
.post-mini-list{list-style:none!important;margin:0!important;padding:0!important}.post-mini-item{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line)}.post-mini-item:last-child{border-bottom:0}.post-mini-thumb{display:block;flex:0 0 103px;width:103px}.post-mini-thumb img{display:block;width:103px;height:140px;object-fit:cover;border-radius:7px}.post-mini-text{min-width:0;flex:1}.post-mini-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:13px;font-weight:700;line-height:1.45;color:inherit}.post-mini-title:hover{color:var(--accent)}.post-mini-date{margin-top:5px;font-size:11px;color:var(--sub)}@media(max-width:520px){.post-mini-thumb{flex-basis:103px;width:103px}.post-mini-thumb img{width:103px;height:140px}.post-mini-title{font-size:12.5px}}


/* 公開一覧: PC/スマホ別の横並び数 + ページネーション */
.grid.public-grid{grid-template-columns:repeat(var(--public-grid-pc,2),minmax(0,1fr))}
.pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin:24px 0 8px}
.page-link,.page-gap{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 11px;border-radius:9px}
.page-link{background:#fff;border:1px solid var(--line);color:var(--text);text-decoration:none}
.page-link:hover{border-color:var(--accent);color:var(--accent)}
.page-link.is-current{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700}
.page-gap{color:var(--sub)}
@media(max-width:620px){
  .page-link,.page-gap{min-width:34px;height:34px;padding:0 9px}
}


/* 記事の一番下に移動したカテゴリ表示 */
.article .article-categories-bottom{margin:24px 0 4px;padding-top:12px;border-top:1px solid var(--line);}
.post-card .meta{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0 10px;}

/* Top page: compact search/list header */
.home-listing-section{padding-top:20px}
.home-listing-controls{position:relative;margin:0 0 18px}
.home-listing-titlebar{
  min-height:70px;
  display:flex;
  align-items:center;
  background:#f3f3f3;
  border:1px solid #efefef;
  padding:14px 150px 14px 16px;
}
.home-listing-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-size:22px;
  line-height:1.35;
  font-weight:800;
  color:var(--text);
}
.home-listing-search-icon{width:22px;height:22px;flex:0 0 22px;color:#000}
.home-listing-controls .display-settings-compact{
  margin:20px 0 0;
  font-size:15px;
  color:var(--text);
}
.home-listing-controls .display-current{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:8px 14px;
  margin:0;
  padding:12px 14px;
  border:1px solid #ddd;
  background:#fff;
  box-shadow:0 2px 0 rgba(0,0,0,.03);
}
.home-listing-controls .display-current span{color:var(--text)}
.home-listing-controls .display-current b{font-size:16px;color:#000}
.home-listing-controls .display-settings-details{
  position:absolute;
  top:14px;
  right:14px;
  z-index:20;
}
.home-listing-controls .display-settings-details>summary{
  font-size:14px;
  font-weight:800;
  border:1px solid #222;
  border-radius:0;
  padding:10px 12px;
  background:#fff;
  color:#000;
}
.home-listing-controls .display-settings-details>summary:before{
  content:"⚙";
  display:inline-block;
  margin-right:5px;
  font-size:15px;
}
.home-listing-controls .display-settings-details[open]>summary{margin-bottom:6px}
.home-listing-controls .display-settings-panel{
  position:absolute;
  right:0;
  width:min(420px,90vw);
  min-width:320px;
  box-shadow:0 8px 24px rgba(0,0,0,.14);
}
.home-listing-controls .display-filter-notice{
  margin:7px 0 0;
}
.home-listing-result-count{
  margin:16px 0 22px;
  text-align:center;
  font-size:14px;
  color:#111;
}
.home-listing-result-count strong{
  font-size:22px;
  font-weight:800;
}

@media(max-width:560px){
  .home-listing-section{padding-top:12px}
  .home-listing-titlebar{min-height:62px;padding:12px 112px 12px 12px}
  .home-listing-title{gap:8px;font-size:18px}
  .home-listing-search-icon{width:20px;height:20px;flex-basis:20px}
  .home-listing-controls .display-settings-details{top:11px;right:10px}
  .home-listing-controls .display-settings-details>summary{font-size:13px;padding:9px 8px}
  .home-listing-controls .display-settings-compact{margin-top:14px;font-size:13px}
  .home-listing-controls .display-current{padding:10px;gap:6px 10px}
  .home-listing-controls .display-current b{font-size:14px}
  .home-listing-controls .display-settings-panel{min-width:0;width:min(92vw,360px)}
  .home-listing-result-count{margin:14px 0 18px}
  .home-listing-result-count strong{font-size:20px}
}


/* トップページ: 現在表示中の範囲 */
.home-listing-range{
  margin:-14px 0 20px;
  text-align:center;
  font-size:12px;
  color:var(--sub);
}

/* カテゴリページ: シンプル・コンパクト見出し */
.category-page .category-hero.category-hero-compact{
  margin:0 0 14px;
  padding:14px 16px;
  background:#f3f3f3;
  color:var(--text);
  border:1px solid #ececec;
  border-radius:0;
  box-shadow:none;
}
.category-hero-compact .category-hero-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.category-hero-compact h1{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0;
  font-size:22px;
  line-height:1.35;
  color:#111;
}
.category-search-icon{
  width:21px;
  height:21px;
  flex:0 0 21px;
  color:#000;
}
.category-hero-compact .category-hero-count{
  flex:0 0 auto;
  font-size:12px;
  font-weight:700;
  color:var(--sub);
}
.category-hero-compact p{
  margin:6px 0 0;
  max-width:none;
  font-size:12px;
  line-height:1.55;
  color:var(--sub);
}
.category-listing-range{
  margin:10px 0 14px;
  text-align:center;
  font-size:12px;
  color:var(--sub);
}
@media(max-width:560px){
  .home-listing-range{margin-top:-10px}
  .category-page .category-hero.category-hero-compact{padding:11px 12px}
  .category-hero-compact h1{font-size:18px;gap:7px}
  .category-search-icon{width:19px;height:19px;flex-basis:19px}
  .category-hero-compact .category-hero-count{font-size:11px}
  .category-hero-compact p{font-size:11px}
}


/* カテゴリ見出し：検索マークなし・明るいシンプル配色 */
.category-heading-simple{
  margin:0 0 14px;
  padding:12px 14px;
  background:var(--panel);
  color:var(--text);
  border:1px solid var(--line);
  border-radius:var(--design-radius,10px);
  box-shadow:none;
}
.category-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.category-heading-simple h1{
  margin:0;
  color:var(--text);
  font-size:calc(20px * var(--design-heading-scale,1));
  line-height:1.4;
  font-weight:800;
}
.category-heading-count{
  flex:0 0 auto;
  color:var(--sub);
  font-size:12px;
  font-weight:700;
}
.category-heading-simple p{
  margin:5px 0 0;
  color:var(--sub);
  font-size:12px;
  line-height:1.55;
}
@media(max-width:560px){
  .category-heading-simple{padding:10px 11px}
  .category-heading-simple h1{font-size:calc(17px * var(--design-heading-scale,1))}
  .category-heading-count{font-size:11px}
}


/* トップページ見出し：検索マークなし・黒背景なし・デザイン設定連動 */
.home-heading-simple{
  min-height:70px;
  display:flex;
  align-items:center;
  margin:0;
  padding:14px 150px 14px 16px;
  background:var(--panel);
  color:var(--text);
  border:1px solid var(--line);
  border-radius:var(--design-radius,10px);
  box-shadow:none;
}
.home-heading-title{
  margin:0;
  font-size:calc(22px * var(--design-heading-scale,1));
  line-height:1.35;
  font-weight:800;
  color:var(--text);
}
/* トップページの操作部も黒固定色を使わずデザイン設定へ統一 */
.home-listing-controls .display-current{
  border-color:var(--line);
  background:var(--panel);
}
.home-listing-controls .display-current b{color:var(--text)}
.home-listing-controls .display-settings-details>summary{
  border-color:var(--line);
  background:var(--panel);
  color:var(--text);
}
.home-listing-result-count{color:var(--text)}
@media(max-width:560px){
  .home-heading-simple{min-height:62px;padding:12px 112px 12px 12px}
  .home-heading-title{font-size:calc(18px * var(--design-heading-scale,1))}
}


/* スマホ専用: 上部カテゴリ横スクロール + 9件以上のカテゴリ一覧切替 */
.mobile-category-toggle,.mobile-category-shell{display:none}
@media(max-width:560px){
  .site-header .head{position:relative;justify-content:center;min-height:50px;padding-left:48px;padding-right:48px}
  .site-header .head:has(.mobile-category-toggle){padding-left:78px}
  .site-header .brand{max-width:calc(100% - 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}
  .site-header .site-nav{position:absolute;right:0;top:50%;transform:translateY(-50%);align-items:center}
  .mobile-category-toggle{
    display:inline-flex;position:absolute;left:0;top:50%;transform:translateY(-50%);
    align-items:center;justify-content:center;min-width:64px;width:auto;height:34px;padding:0 8px;
    border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:0;cursor:pointer;
    font:inherit;font-size:12px;font-weight:700;white-space:nowrap
  }
  .mobile-category-toggle-label{display:block;line-height:1}
  .mobile-category-toggle[aria-expanded="true"]{border-color:var(--accent);color:var(--accent)}
  /* 既存のPC用カテゴリブロック／ヘッダー検索フォームはスマホでは上部ナビに置き換える */
  .block-category-list-wrap{display:none}
  body>.search-form{display:none}
  .mobile-category-shell{
    display:block;position:sticky;top:50px;z-index:29;background:var(--panel);border-bottom:1px solid var(--line)
  }
  .mobile-category-strip{display:block;width:100%;max-width:100vw;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x;scrollbar-width:auto;background:var(--panel)}
  .mobile-category-strip-inner{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:max-content;min-width:max-content;padding:0 6px}
  /* カテゴリが8個以下のときは必ず1行の横スクロール表示にする */
  .mobile-category-scroll-only .mobile-category-strip{overflow-x:scroll}
  .mobile-category-scroll-only .mobile-category-strip-inner{width:max-content;min-width:max-content}
  .mobile-category-scroll-only .mobile-category-strip a{flex:0 0 auto;white-space:nowrap}
  .mobile-category-strip a{
    flex:0 0 auto;display:block;padding:8px 14px 7px;font-size:12px;line-height:1.25;
    white-space:nowrap;color:var(--text);border-right:1px solid var(--line)
  }
  .mobile-category-strip a:first-child{border-left:0}
  .mobile-category-strip a:hover,.mobile-category-strip a:focus{color:var(--accent)}
  .mobile-category-panel{display:none;background:var(--panel);border-top:0;padding:8px 4px 0}
  .mobile-category-panel-title{display:flex;align-items:center;gap:5px;padding:6px 8px 8px;font-size:13px;border-bottom:1px solid var(--line)}
  .mobile-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-left:1px solid var(--line);border-top:1px solid var(--line)}
  .mobile-category-item{
    display:flex;align-items:center;justify-content:center;min-height:42px;padding:6px 4px;text-align:center;
    font-size:12px;line-height:1.25;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel);color:var(--text)
  }
  .mobile-category-item:hover,.mobile-category-item:focus{color:var(--accent);background:var(--bg)}
  .mobile-category-item.mobile-category-extra{display:none}
  .mobile-category-panel.is-expanded .mobile-category-item.mobile-category-extra{display:flex}
  .mobile-category-more{
    display:block;width:100%;padding:9px 8px;border:0;border-bottom:1px solid var(--line);background:var(--panel);
    color:var(--text);font:inherit;font-size:12px;font-weight:700;cursor:pointer
  }
  .mobile-category-more span{font-size:18px;line-height:0;vertical-align:-1px}
  body.mobile-category-open{overflow-x:hidden}
  body.mobile-category-open>.mobile-category-shell .mobile-category-strip{display:none}
  body.mobile-category-open>.mobile-category-shell .mobile-category-panel{display:block}
  body.mobile-category-open>:not(.site-header):not(.mobile-category-shell):not(.mobile-left-sticky-stack):not(.mobile-left-sticky-spacer){display:none!important}
}


/* PC幅でもスマホUAなら、スマホ用カテゴリUIを横スライドで表示 */
html.mobile-ua .site-header .head{position:relative;justify-content:center;min-height:50px;padding-left:48px;padding-right:48px}
html.mobile-ua .site-header .head:has(.mobile-category-toggle){padding-left:78px}
html.mobile-ua .site-header .brand{max-width:calc(100% - 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}
html.mobile-ua .site-header .site-nav{position:absolute;right:0;top:50%;transform:translateY(-50%);align-items:center}
html.mobile-ua .mobile-category-toggle{
  display:inline-flex;position:absolute;left:0;top:50%;transform:translateY(-50%);
  align-items:center;justify-content:center;min-width:64px;width:auto;height:34px;padding:0 8px;
  border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:0;cursor:pointer;
  font:inherit;font-size:12px;font-weight:700;white-space:nowrap
}
html.mobile-ua .mobile-category-toggle-label{display:block;line-height:1}
html.mobile-ua .mobile-category-toggle[aria-expanded="true"]{border-color:var(--accent);color:var(--accent)}
html.mobile-ua .block-category-list-wrap{display:none}
html.mobile-ua body>.search-form{display:none}
html.mobile-ua .mobile-category-shell{
  display:block;position:sticky;top:50px;z-index:29;background:var(--panel);border-bottom:1px solid var(--line)
}
html.mobile-ua .mobile-category-strip{
  display:block;width:100%;max-width:100vw;overflow-x:auto;overflow-y:hidden;
  -webkit-overflow-scrolling:touch;touch-action:pan-x;scrollbar-width:auto;background:var(--panel)
}
html.mobile-ua .mobile-category-strip-inner{
  display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:max-content;min-width:max-content;padding:0 6px
}
html.mobile-ua .mobile-category-scroll-only .mobile-category-strip{overflow-x:scroll}
html.mobile-ua .mobile-category-scroll-only .mobile-category-strip-inner{width:max-content;min-width:max-content}
html.mobile-ua .mobile-category-scroll-only .mobile-category-strip a{flex:0 0 auto;white-space:nowrap}
html.mobile-ua .mobile-category-strip a{
  flex:0 0 auto;display:block;padding:8px 14px 7px;font-size:12px;line-height:1.25;
  white-space:nowrap;color:var(--text);border-right:1px solid var(--line)
}
html.mobile-ua .mobile-category-strip a:first-child{border-left:0}
html.mobile-ua .mobile-category-strip a:hover,html.mobile-ua .mobile-category-strip a:focus{color:var(--accent)}
html.mobile-ua .mobile-category-panel{display:none;background:var(--panel);border-top:0;padding:8px 4px 0}
html.mobile-ua .mobile-category-panel-title{display:flex;align-items:center;gap:5px;padding:6px 8px 8px;font-size:13px;border-bottom:1px solid var(--line)}
html.mobile-ua .mobile-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-left:1px solid var(--line);border-top:1px solid var(--line)}
html.mobile-ua .mobile-category-item{
  display:flex;align-items:center;justify-content:center;min-height:42px;padding:6px 4px;text-align:center;
  font-size:12px;line-height:1.25;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel);color:var(--text)
}
html.mobile-ua .mobile-category-item:hover,html.mobile-ua .mobile-category-item:focus{color:var(--accent);background:var(--bg)}
html.mobile-ua .mobile-category-item.mobile-category-extra{display:none}
html.mobile-ua .mobile-category-panel.is-expanded .mobile-category-item.mobile-category-extra{display:flex}
html.mobile-ua .mobile-category-more{
  display:block;width:100%;padding:9px 8px;border:0;border-bottom:1px solid var(--line);background:var(--panel);
  color:var(--text);font:inherit;font-size:12px;font-weight:700;cursor:pointer
}
html.mobile-ua .mobile-category-more span{font-size:18px;line-height:0;vertical-align:-1px}
html.mobile-ua body.mobile-category-open{overflow-x:hidden}
html.mobile-ua body.mobile-category-open>.mobile-category-shell .mobile-category-strip{display:none}
html.mobile-ua body.mobile-category-open>.mobile-category-shell .mobile-category-panel{display:block}
html.mobile-ua body.mobile-category-open>:not(.site-header):not(.mobile-category-shell):not(.mobile-left-sticky-stack):not(.mobile-left-sticky-spacer){display:none!important}

/* left（左サイド）の category_list は、PCでは左サイドのまま。
   レイアウトが1カラム化する画面幅ではヘッダー側のスマホカテゴリUIへ移動する。 */
@media(max-width:900px){
  .mobile-category-toggle.mobile-category-from-left{
    display:inline-flex;position:absolute;left:0;top:50%;transform:translateY(-50%);
    align-items:center;justify-content:center;min-width:64px;width:auto;height:34px;padding:0 8px;
    border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:0;cursor:pointer;
    font:inherit;font-size:12px;font-weight:700;white-space:nowrap
  }
  .mobile-category-toggle.mobile-category-from-left .mobile-category-toggle-label{display:block;line-height:1}
  .mobile-category-toggle.mobile-category-from-left[aria-expanded="true"]{border-color:var(--accent);color:var(--accent)}
  .mobile-category-shell.mobile-category-from-left{
    display:block;position:sticky;top:50px;z-index:29;background:var(--panel);border-bottom:1px solid var(--line)
  }
  .mobile-category-shell.mobile-category-from-left .mobile-category-strip{
    display:block;width:100%;max-width:100vw;overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;touch-action:pan-x;scrollbar-width:auto;background:var(--panel)
  }
  .mobile-category-shell.mobile-category-from-left .mobile-category-strip-inner{
    display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:max-content;min-width:max-content;padding:0 6px
  }
  .mobile-category-shell.mobile-category-from-left .mobile-category-strip a{
    flex:0 0 auto;display:block;padding:8px 14px 7px;font-size:12px;line-height:1.25;
    white-space:nowrap;color:var(--text);border-right:1px solid var(--line)
  }
  .mobile-category-shell.mobile-category-from-left .mobile-category-panel{display:none;background:var(--panel);border-top:0;padding:8px 4px 0}
  .mobile-category-shell.mobile-category-from-left .mobile-category-panel-title{display:flex;align-items:center;gap:5px;padding:6px 8px 8px;font-size:13px;border-bottom:1px solid var(--line)}
  .mobile-category-shell.mobile-category-from-left .mobile-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-left:1px solid var(--line);border-top:1px solid var(--line)}
  .mobile-category-shell.mobile-category-from-left .mobile-category-item{
    display:flex;align-items:center;justify-content:center;min-height:42px;padding:6px 4px;text-align:center;
    font-size:12px;line-height:1.25;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel);color:var(--text)
  }
  .mobile-category-shell.mobile-category-from-left .mobile-category-item.mobile-category-extra{display:none}
  .mobile-category-shell.mobile-category-from-left .mobile-category-panel.is-expanded .mobile-category-item.mobile-category-extra{display:flex}
  .mobile-category-shell.mobile-category-from-left .mobile-category-more{
    display:block;width:100%;padding:9px 8px;border:0;border-bottom:1px solid var(--line);background:var(--panel);
    color:var(--text);font:inherit;font-size:12px;font-weight:700;cursor:pointer
  }
  /* 左サイドに置いた元のカテゴリブロックだけを隠し、上部UIへ置き換える */
  .mobile-category-shell.mobile-category-from-left ~ .cms-block-layout .cms-block-left .block-category-list-wrap{display:none!important}
  body.mobile-category-open>.mobile-category-shell.mobile-category-from-left .mobile-category-strip{display:none}
  body.mobile-category-open>.mobile-category-shell.mobile-category-from-left .mobile-category-panel{display:block}
}

@media(max-width:900px){
  /* left から移動したカテゴリUIがあるページだけ、ヘッダー内の一覧ボタン用スペースを確保 */
  .site-header .head{position:relative}
  .site-header .head:has(.mobile-category-toggle.mobile-category-from-left){
    justify-content:center;min-height:50px;padding-left:78px;padding-right:48px
  }
  .site-header .head:has(.mobile-category-toggle.mobile-category-from-left) .brand{
    max-width:calc(100% - 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center
  }
  .site-header .head:has(.mobile-category-toggle.mobile-category-from-left) .site-nav{
    position:absolute;right:0;top:50%;transform:translateY(-50%);align-items:center
  }
  /* カテゴリ一覧パネルを開いたときは、ヘッダーとカテゴリUI以外を隠す */
  body.mobile-category-open>.mobile-category-shell.mobile-category-from-left~*{display:none!important}
  /* b2(search_form) が b1(category_list) より前でも、カテゴリ一覧を開いた時は検索を隠す */
  body.mobile-category-open>.mobile-header-search-from-left{display:none!important}
}

/* left（左サイド）の search_form はPCでは左サイドのまま。
   画面幅900px以下、またはPCでスマホUAを指定した場合だけヘッダーへ移動表示する。 */
.mobile-header-search-from-left{display:none}
@media(max-width:900px){
  .mobile-header-search-from-left{display:block;padding:0 12px 8px;background:var(--panel)}
  .mobile-header-search-from-left .mobile-header-search-form{display:flex;flex-wrap:nowrap;gap:6px;max-width:1180px;margin:0 auto}
  .mobile-header-search-from-left .mobile-header-search-form input{flex:1;min-width:0;width:auto;padding:8px 10px}
  .mobile-header-search-from-left .mobile-header-search-form .search-submit-icon{flex:0 0 42px;width:42px;padding:7px 8px}
  /* 元のleft検索フォームは重複させない */
  .cms-block-left .search-form{display:none!important}
}
html.mobile-ua .mobile-header-search-from-left{display:block;padding:0 12px 8px;background:var(--panel)}
html.mobile-ua .mobile-header-search-from-left .mobile-header-search-form{display:flex;flex-wrap:nowrap;gap:6px;max-width:1180px;margin:0 auto}
html.mobile-ua .mobile-header-search-from-left .mobile-header-search-form input{flex:1;min-width:0;width:auto;padding:8px 10px}
html.mobile-ua .mobile-header-search-from-left .mobile-header-search-form .search-submit-icon{flex:0 0 42px;width:42px;padding:7px 8px}
html.mobile-ua .cms-block-left .search-form{display:none!important}



/* 2026-10-05: スマホ時、left由来の元category_listが1カラム化で下部（フッター付近）に再表示されるのを防止。
   上部へ移動したカテゴリUIだけを残し、left内の元カテゴリだけを非表示にする。 */
@media(max-width:900px){
  .cms-block-left .block-category-list-wrap{display:none!important}
}
html.mobile-ua .cms-block-left .block-category-list-wrap{display:none!important}

/* 2026-10-05: left配置のb1/b2をPC・スマホともスクロール追従 */
@media(min-width:901px){
  .cms-block-left{
    position:sticky;
    top:calc(var(--site-header-height,66px) + 16px);
    align-self:start;
    max-height:calc(100vh - 96px);
    overflow-y:auto;
    overflow-x:hidden;
  }
  /* PC左サイド内の検索フォームが横幅を押し広げないようにする */
  .cms-block-left .search-form{max-width:100%;min-width:0}
  .cms-block-left .search-form input{min-width:0;width:100%}
  .cms-block-left .search-form button{flex:0 0 auto}
}

/* スマホ/狭い画面: left由来のb1/b2を指定順のまま固定追従 */
.mobile-left-sticky-stack{display:contents}
.mobile-left-sticky-spacer{display:none;height:0}
@media(max-width:900px){
  .mobile-left-sticky-stack{
    display:block;
    position:fixed;
    left:0;
    right:0;
    top:var(--mobile-left-stack-top,50px);
    z-index:29;
    background:var(--panel);
    border-bottom:1px solid var(--line);
  }
  .mobile-left-sticky-spacer{
    display:block;
    height:var(--mobile-left-stack-height,0px);
    pointer-events:none;
  }
  .mobile-left-sticky-stack .mobile-category-shell.mobile-category-from-left{
    position:static;
    top:auto;
    z-index:auto;
    border-bottom:0;
  }
  .mobile-left-sticky-stack .mobile-header-search-from-left{
    background:var(--panel);
  }
  body.mobile-category-open>.mobile-left-sticky-stack .mobile-category-shell.mobile-category-from-left .mobile-category-strip{display:none}
  body.mobile-category-open>.mobile-left-sticky-stack .mobile-category-shell.mobile-category-from-left .mobile-category-panel{display:block}
  body.mobile-category-open>.mobile-left-sticky-stack{display:block!important}
  body.mobile-category-open>.mobile-left-sticky-stack .mobile-header-search-from-left{display:none!important}
  body.mobile-category-open>.mobile-left-sticky-spacer{display:none!important}
  body.mobile-category-open>:not(.site-header):not(.mobile-left-sticky-stack):not(.mobile-left-sticky-spacer){display:none!important}
}
html.mobile-ua .mobile-left-sticky-stack{
  display:block;
  position:fixed;
  left:0;
  right:0;
  top:var(--mobile-left-stack-top,50px);
  z-index:29;
  background:var(--panel);
  border-bottom:1px solid var(--line);
}
html.mobile-ua .mobile-left-sticky-spacer{
  display:block;
  height:var(--mobile-left-stack-height,0px);
  pointer-events:none;
}
html.mobile-ua .mobile-left-sticky-stack .mobile-category-shell.mobile-category-from-left{
  position:static;
  top:auto;
  z-index:auto;
  border-bottom:0;
}
html.mobile-ua body.mobile-category-open>.mobile-left-sticky-stack .mobile-category-shell.mobile-category-from-left .mobile-category-strip{display:none}
html.mobile-ua body.mobile-category-open>.mobile-left-sticky-stack .mobile-category-shell.mobile-category-from-left .mobile-category-panel{display:block}
html.mobile-ua body.mobile-category-open>.mobile-left-sticky-stack{display:block!important}
html.mobile-ua body.mobile-category-open>.mobile-left-sticky-stack .mobile-header-search-from-left{display:none!important}
html.mobile-ua body.mobile-category-open>.mobile-left-sticky-spacer{display:none!important}
html.mobile-ua body.mobile-category-open>:not(.site-header):not(.mobile-left-sticky-stack):not(.mobile-left-sticky-spacer){display:none!important}



/* 2026-10-05: 表示設定・件数・表示範囲もスクロール追従 */
.home-listing-heading-controls{margin-bottom:0}
.listing-sticky-meta{
  position:sticky;
  top:var(--listing-sticky-top,66px);
  z-index:28;
  margin:0 0 18px;
  padding:4px 0 1px;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.listing-sticky-meta .display-settings-compact{margin-top:6px}
.listing-sticky-meta .home-listing-result-count{margin:10px 0 14px}
.listing-sticky-meta .home-listing-range{margin:-8px 0 10px}
.category-listing-sticky-meta .display-settings-compact{margin:4px 0 8px}
.category-listing-sticky-meta .category-listing-range{margin:6px 0 10px}
@media(max-width:900px){
  .listing-sticky-meta{
    top:var(--listing-sticky-top,50px);
    margin-bottom:12px;
    padding:3px 0 1px;
  }
}
html.mobile-ua .listing-sticky-meta{
  top:var(--listing-sticky-top,50px);
  margin-bottom:12px;
  padding:3px 0 1px;
}

/* 女優紐付け作品：通常記事とは独立した関連カード */
.actress-related-card{margin:22px 0;padding:16px;border:1px solid #dedede;border-radius:9px;background:var(--panel-bg,#fff);min-width:0;overflow-wrap:anywhere}
.actress-related-section-title{font-size:1.05rem;margin:0 0 10px}
.actress-related-title{font-size:1rem;line-height:1.65;margin:0 0 12px}
.actress-related-thumb{margin:0 auto 12px;text-align:center}
.actress-related-thumb img{display:block;max-width:100%;max-height:440px;object-fit:contain;margin:auto;border-radius:5px}
.actress-related-description{white-space:normal;line-height:1.85;font-size:0.95rem;overflow-wrap:anywhere}
.actress-related-details{margin-top:14px;border-top:1px solid #ddd;padding-top:12px}
.actress-related-details summary{display:block;cursor:pointer;text-align:center;padding:11px 14px;border:1px solid currentColor;border-radius:6px;font-weight:600}
.actress-related-details summary::-webkit-details-marker{display:none}
.actress-related-close-label,.actress-related-details[open] .actress-related-open-label{display:none}
.actress-related-details[open] .actress-related-close-label{display:inline}
.actress-related-expanded{padding-top:15px}
/* iframe全体を縮小：FANZAの720×540px（ヘッダー込み）を右側・下側とも切らない。 */
.actress-related-video{position:relative;box-sizing:border-box;width:100%;max-width:560px;aspect-ratio:4/3;margin:0 auto 14px;overflow:hidden}
.actress-related-video iframe{position:absolute;top:0;left:0;width:720px;height:540px;min-width:0;max-width:none;max-height:none;border:0;display:block;overflow:hidden;transform:scale(var(--related-player-scale,1));transform-origin:0 0}
.actress-related-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:14px 0}
.actress-related-gallery img{max-width:100%;height:auto;border-radius:4px}
.related-actress-info-table{width:100%;margin:14px 0}
.actress-related-slider-wrap{margin:24px 0;min-width:0}
.actress-related-slider-wrap h3{margin:0 0 8px;font-size:1.1rem}
.actress-related-slider-controls{display:flex;justify-content:flex-end;gap:8px;margin-bottom:8px}
.actress-related-slider-controls button{border:1px solid #bbb;border-radius:6px;background:transparent;color:inherit;padding:4px 14px;cursor:pointer;font-size:1.35rem}
.actress-related-slider{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding:5px 2px 12px;scrollbar-width:thin}
.actress-related-slide{flex:0 0 147px;width:147px;scroll-snap-align:start;min-width:0}
.actress-related-slide img,.actress-related-noimg{display:block;width:147px;height:200px;max-width:100%;object-fit:contain;border-radius:4px;background:#f1f1f1}
.actress-related-slide a{text-decoration:none;color:inherit}
.actress-related-slide-title{display:block;font-size:0.85rem;line-height:1.5;margin-top:7px;overflow-wrap:anywhere}
@media(max-width:600px){.actress-related-card{padding:12px;margin:16px 0}.actress-related-slide{flex-basis:147px}.actress-related-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 紐付け女優作品：メイン画像は商品リンク、追加画像5枚は記事と同じ拡大表示 */
.actress-related-thumb a{display:inline-block;max-width:100%;text-decoration:none}
.actress-related-thumb a:hover img{opacity:.94}
.actress-related-gallery.extra-images{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0}
.actress-related-gallery .extra-image{min-width:0}
.actress-related-gallery .extra-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;border-radius:5px;cursor:zoom-in;background:rgba(0,0,0,.03)}
@media(max-width:700px){.actress-related-gallery.extra-images{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:440px){.actress-related-gallery.extra-images{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* メイン作品サンプル動画: MP4をスクロールせず画面内に縮小表示 */
.sample-video video { display:block; width:100%; max-width:720px; height:auto; aspect-ratio:16/9; object-fit:contain; margin-inline:auto; background:#000; }

/* 2026-10-10: Related works carousel arrows at the left/right center of the image strip. */
.actress-related-slider-stage{position:relative;min-width:0}
.actress-related-slider-stage .actress-related-slider-controls{
    position:absolute;z-index:4;top:100px;left:2px;right:2px;
    transform:translateY(-50%);display:flex;justify-content:space-between;
    margin:0;pointer-events:none;
}
.actress-related-slider-stage .actress-related-slider-controls button{
    pointer-events:auto;display:flex;align-items:center;justify-content:center;
    width:36px;height:44px;min-width:36px;padding:0;
    background:rgba(255,255,255,.94);border:1px solid rgba(130,130,130,.75);
    color:#222;box-shadow:0 1px 5px rgba(0,0,0,.17);
    border-radius:7px;cursor:pointer;font-size:26px;line-height:1;
}
.actress-related-slider-stage .actress-related-slider-controls button:hover,
.actress-related-slider-stage .actress-related-slider-controls button:focus-visible{
    background:#fff;outline-offset:2px;
}
@media(max-width:480px){
    .actress-related-slider-stage .actress-related-slider-controls button{
        width:31px;height:40px;min-width:31px;font-size:23px;
    }
}
/* Main FANZA iframe: keep full 720x540 internal layout, scale the whole player to fit.
   Controls inside FANZA's cross-origin frame remain controlled by FANZA. */
.sample-video-embed{position:relative;box-sizing:border-box;width:100%;max-width:720px;
    aspect-ratio:4/3;overflow:hidden;margin:0 auto;
}
.sample-video .sample-video-embed iframe{
    position:absolute;top:0;left:0;display:block;width:720px!important;height:540px!important;
    max-width:none!important;max-height:none!important;min-width:0;
    border:0;overflow:hidden;transform-origin:top left;
    transform:scale(var(--main-player-scale,1));
}

/* 2026-10-11 メイン記事: 動画の下の作品メイン画像を従来の約70%に縮小。
   関連作品のサムネイル・拡大画像・追加画像には影響しない。 */
.article .main-image{width:70%;max-width:100%;margin:14px auto;}
.article .main-image a{display:block;width:100%;}
.article .main-image img{display:block;width:100%;height:auto;}

/* 紐付け女優出演作品専用ページ内見出し（b16） */
.actress-related-toc{padding:16px 18px;margin:18px 0 24px;border:1px solid var(--line,#ddd);border-radius:10px;background:var(--panel-bg,#fff);min-width:0;overflow-wrap:anywhere}
.actress-related-toc-caption{font-size:1.14rem;line-height:1.5;margin:0 0 12px;font-weight:700}
.actress-related-toc-entry{padding:8px 0;border-bottom:1px solid var(--line,#e2e2e2)}
.actress-related-toc-entry:last-child{border-bottom:0;padding-bottom:0}
.actress-related-toc-entry h3{font-size:1rem;font-weight:600;line-height:1.6;margin:0}
.actress-related-toc-entry h4{font-size:.91rem;font-weight:400;line-height:1.65;margin:4px 0 0 16px}
.actress-related-toc-entry a{color:var(--accent2,#2868a4);text-decoration:none}
.actress-related-toc-entry a:hover,.actress-related-toc-entry a:focus-visible{text-decoration:underline}
.actress-related-section-title,.actress-related-title,#actress-related-work-other{scroll-margin-top:125px}
@media(prefers-reduced-motion:no-preference){html:has(.actress-related-toc){scroll-behavior:smooth}}
@media(max-width:600px){.actress-related-toc{padding:12px}.actress-related-toc-entry h4{margin-left:12px}}


/* b16 目次: 初期の開閉・追尾する半透明の青い三角ボタン */
.actress-related-toc{scroll-margin-top:135px}
.actress-related-toc-caption{margin-bottom:7px}
.actress-related-toc-details>summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:13px;font-weight:700;color:var(--accent2,#2868a4);background:rgba(40,104,164,.08);border:1px solid rgba(40,104,164,.24);padding:5px 14px;border-radius:999px;user-select:none;list-style:none}
.actress-related-toc-details>summary::-webkit-details-marker{display:none}
.actress-related-toc-details>summary::marker{content:''}
.actress-related-toc-details>summary:hover{background:rgba(40,104,164,.16)}
.actress-related-toc-details>summary:focus-visible{outline:2px solid #287acb;outline-offset:3px}
.actress-related-toc-details .actress-related-toc-label-close{display:none}
.actress-related-toc-details[open] .actress-related-toc-label-open{display:none}
.actress-related-toc-details[open] .actress-related-toc-label-close{display:inline}
.actress-related-toc-list{margin-top:10px}
.actress-related-toc-float{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(22px + env(safe-area-inset-bottom));width:52px;height:52px;display:flex;align-items:center;justify-content:center;z-index:38;color:rgba(26,114,213,.66);text-decoration:none!important;filter:drop-shadow(0 3px 5px rgba(10,42,88,.24));opacity:.96;transition:filter .15s ease,color .15s ease,transform .15s ease;touch-action:manipulation}
.actress-related-toc-float svg{width:52px;height:52px;display:block}
.actress-related-toc-float:hover,.actress-related-toc-float:focus-visible{color:rgba(22,101,201,.87);filter:drop-shadow(0 4px 7px rgba(10,42,88,.32));transform:translateY(-2px)}
.actress-related-toc-float:focus-visible{outline:2px solid #0861b2;outline-offset:4px;border-radius:12px}
.actress-related-toc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.actress-related-toc-float{right:max(12px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));width:46px;height:46px}.actress-related-toc-float svg{width:46px;height:46px}}

/* 紐付け女優が非単体作品のみの場合の案内ブロック */
.actress-related-solo-notice{margin:18px 0;padding:16px 18px;border:1px solid var(--border,#ddd);border-radius:8px;line-height:1.85;overflow-wrap:anywhere;background:var(--card-bg,#fff)}
.actress-related-solo-notice a{text-decoration:underline;text-underline-offset:3px}


/* 公開アンケート（記事末尾） */
.site-survey{padding:18px 20px;margin:24px 0;border:1px solid #d7dfe8;border-radius:12px;background:var(--panel-bg,#fff);scroll-margin-top:135px;max-width:100%;box-sizing:border-box}
.site-survey h3{font-size:1.18rem;margin:0 0 10px}
.site-survey-description{margin:0 0 20px;line-height:1.7}
.site-survey-question{border:0;border-top:1px solid #e2e7ec;padding:16px 0;margin:0;min-width:0}
.site-survey-question legend{float:left;width:100%;font-weight:700;margin:0 0 10px;padding:0;line-height:1.5}
.site-survey-question legend+*{clear:both}
.site-survey-option{display:flex;align-items:center;gap:9px;padding:9px 10px;margin:5px 0;cursor:pointer;background:rgba(120,150,180,.06);border-radius:6px;line-height:1.5}
.site-survey-option input{width:auto!important;min-width:18px;height:18px;flex:none}
.site-survey textarea{display:block;clear:both;width:100%;box-sizing:border-box;padding:11px;resize:vertical;border:1px solid #aebaca;border-radius:6px;font:inherit;background:#fff;color:#222}
.site-survey-required{font-size:11px;color:#9c3a29;margin-left:8px}
.site-survey-submit,.site-survey-secondary{display:inline-block;border:0;background:#2868a4;color:#fff;padding:11px 24px;border-radius:7px;cursor:pointer;font:inherit;text-decoration:none}
.site-survey-secondary{background:#687583}
.site-survey-submit:hover,.site-survey-secondary:hover{filter:brightness(.9)}
.site-survey-page{max-width:780px;margin:26px auto;padding:12px 18px;box-sizing:border-box}
.site-survey-confirm-item{padding:9px 0;border-bottom:1px solid #dedede;overflow-wrap:anywhere}
.site-survey-confirm-item p{margin:7px 0;white-space:pre-wrap}
.site-survey-confirm-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}
.site-survey-confirm-actions form{margin:0}
.site-survey-error{border:1px solid #c87171;color:#a01a1a;padding:12px;background:#fff2f2}
.site-survey-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
@media(max-width:600px){.site-survey{padding:14px}.site-survey-page{padding:10px}}

/* アンケート開閉：見出しは常に表示し、詳細フォームだけ畳む */
.site-survey-details>summary{display:inline-flex;align-items:center;justify-content:center;min-width:74px;min-height:34px;box-sizing:border-box;cursor:pointer;padding:6px 16px;margin:0 0 12px;border:1px solid rgba(40,104,164,.35);border-radius:999px;background:rgba(40,104,164,.08);color:#2868a4;font-size:13px;font-weight:700;list-style:none;user-select:none}
.site-survey-details>summary::-webkit-details-marker{display:none}
.site-survey-details>summary::marker{content:''}
.site-survey-details>summary:hover{background:rgba(40,104,164,.16)}
.site-survey-details>summary:focus-visible{outline:2px solid #287acb;outline-offset:3px}
.site-survey-toggle-close,.site-survey-details[open] .site-survey-toggle-open{display:none}
.site-survey-details[open] .site-survey-toggle-close{display:inline}
.site-survey-details:not([open])>summary{margin-bottom:0}
.site-survey-inner{min-width:0}
