/* ============================================================
   レメラボ カスタムCSS（整理版）
   方針：
     - 既存の本体構成を維持
     - H2 / work-card / article-end-links を統合整理
     - 追記で重なっていた角丸解除・CTA流用・スマホ2列化を反映
   ============================================================ */

/* ============================================================
   00. 補助・共通
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

.single-post-main .widget {
  margin: 0 !important;
}

.banner {
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.banner .label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #999;
  border: 1px solid #999;
  padding: 0.15em 0.45em;
  flex-shrink: 0;
  opacity: 0.8;
}

.banner .text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.7rem;
  color: #ccc;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.banner .text span {
  margin: 0 0.5em;
  color: #555;
}

/* ============================================================
   01. 基盤
   ============================================================ */

body {
  font-family: -apple-system, BlinkMacSystemFont,
               'Helvetica Neue', 'Segoe UI',
               'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

/* DIVER single-main のJS強制指定解除 */
body.single #single-main {
  margin-right: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

@media screen and (min-width: 769px) {
  body.single #single-main {
    max-width: calc(100% - 320px) !important;
  }
}

@media screen and (max-width: 1024px) {
  body.single #single-main {
    max-width: 100% !important;
    width: 100% !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
}

/* 記事本文の基準余白 */
body.single #single-main .content {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  body.single #single-main .content {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* テキスト要素のみ：読みやすい最大幅 */
body.single #single-main .content p,
body.single #single-main .content ul,
body.single #single-main .content ol {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  body.single #single-main .content p,
  body.single #single-main .content ul,
  body.single #single-main .content ol {
    max-width: 100%;
  }
}

/* 画像：中央寄せ */
body.single #single-main .content img.aligncenter,
body.single #single-main .content figure.aligncenter img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 見出し：左右フル幅 */
body.single #single-main .content h1,
body.single #single-main .content h2,
body.single #single-main .content h3,
body.single #single-main .content h4,
body.single #single-main .content h5,
body.single #single-main .content h6 {
  margin-left: -32px;
  margin-right: -32px;
}

@media screen and (max-width: 768px) {
  body.single #single-main .content h1,
  body.single #single-main .content h2,
  body.single #single-main .content h3,
  body.single #single-main .content h4,
  body.single #single-main .content h5,
  body.single #single-main .content h6 {
    margin-left: -14px;
    margin-right: -14px;
  }
}

/* H3：文字だけ本文位置 */
body.single #single-main .content h3 {
  padding-left: 32px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  body.single #single-main .content h3 {
    padding-left: 14px;
  }
}

/* 記事下ウィジェット余白 */
.single-post-main .bottom_ad .widget {
  margin: 20px 0 !important;
}
.single-post-main {
  margin-bottom: -60px;
}

/* キャプション付き画像 */
figure.wp-caption.aligncenter {
  margin-bottom: 32px;
}
figure.wp-caption figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #777;
}

/* サムネイル：lazyload × position:absolute 不具合回避 */
.post-thumbnail__wrap {
  position: relative;
  aspect-ratio: 16 / 9;
}
.post-thumbnail__wrap::before {
  display: none;
}

/* sc_article.list サムネ幅固定 */
.sc_article.list .post_list_thumb {
  width: 170px;
  flex: 0 0 170px;
}
.sc_article.list .post_list_thumb img {
  width: 100%;
  height: auto;
}
.sc_article.list .sc_article_title {
  font-size: 16px;
}

/* ============================================================
   02. ヘッダー
   ============================================================ */

/* 黒帯（タグライン）スリム化 */
.header_small_menu {
  padding: 1px 0 !important;
  background: rgba(0, 0, 0, 0.85);
}
.header_small_menu #description {
  font-size: 12px;
  line-height: 1.4;
}

/* PC：長文 / SP：短文 切り替え */
#description .desc-sp {
  display: none;
}
@media (max-width: 768px) {
  #description .desc-pc { display: none; }
  #description .desc-sp { display: inline; }
}

/* ヘッダーメッセージ帯 */
.header_message {
  background: linear-gradient(
    90deg,
    #1a1a2e,
    #ff88bb,
    #1a1a2e,
    #ff88bb,
    #1a1a2e
  ) !important;
  background-size: 200% 100% !important;
  animation: headerFlow 8s linear infinite;
  text-align: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset;
}

.header_message,
.header_message a {
  color: #fff !important;
}

/* ヘッダーメッセージバッジ（「DLsite情報」ラベル） */
.header_message_badge {
  background: #1a0010 !important;
  color: #ff88bb !important;
  border: 1px solid #ff2d78 !important;
  border-radius: 1px !important;
  font-weight: 700 !important;
}

/* ヘッダーバナーホバー */
.header_message a {
  position: relative;
  transition: all 0.25s ease;
}
.header_message a:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.45);
  filter: brightness(1.15) saturate(1.2);
  animation: pulse 0.9s ease-in-out infinite alternate;
}
.header_message a::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.25s ease;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
}
.header_message a:hover::after {
  opacity: 1;
}

/* ============================================================
   03. サイドバー
   ============================================================ */

#sidebar,
#sidebar .sidebar-inner,
#sidebar .widget-area,
#sidebar .widget {
  background: #000 !important;
}
#sidebar {
  color: #cfcfcf;
}

#sidebar a {
  color: #e0e0e0;
  text-decoration: none;
}

/* カテゴリ・アーカイブ */
#sidebar .widget_categories a,
#sidebar .widget_archive a {
  color: #e0e0e0;
  font-size: 13px;
  line-height: 1.6;
}
#sidebar .widget_categories a:hover,
#sidebar .widget_archive a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* タグクラウド */
#sidebar .tagcloud a {
  display: inline-block;
  margin: 4px 4px 0 0;
  padding: 4px 10px;
  font-size: 12px !important;
  color: #e6e6e6;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  transition: all 0.2s ease;
}
#sidebar .tagcloud a:hover {
  color: #ffffff;
  border-color: #ff88bb;
  background: rgba(255, 136, 187, 0.15);
}

#sidebar .cat-item span,
#sidebar .tag-link-count {
  color: #aaaaaa;
  font-size: 11px;
}

/* 人気記事リスト */
#sidebar .widget_post_list a,
#sidebar .widget_post_list a:visited {
  color: inherit !important;
}
#sidebar .widget_post_list .post_list_title {
  color: #eaeaea !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
#sidebar .widget_post_list .post_list_views {
  color: #cccccc !important;
  font-weight: 600;
  font-size: 0.9em;
}
#sidebar .widget_post_list a:hover .post_list_title {
  color: #ffffff !important;
}
#sidebar .widget_post_list .post_list_tag {
  color: #dddddd !important;
  font-weight: 650;
  font-size: 0.95em;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* ウィジェットタイトル */
.widgettitle {
  background: linear-gradient(
    90deg,
    #ff88bb,
    #ff2d78,
    #c2006e,
    #1a0010,
    #ff88bb
  ) !important;
  background-size: 200% 100% !important;
  animation: headerFlow 8s linear infinite;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset;
  color: #fff !important;
}

/* サイドバー作品カード */
#sidebar .sidebar-item {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
  background: #000;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
#sidebar .sidebar-thumb {
  overflow: hidden;
}
#sidebar .sidebar-thumb img {
  width: 100%;
  display: block;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
    filter 0.45s ease;
}
#sidebar .sidebar-title {
  margin: 12px 16px 6px;
}
#sidebar .sidebar-title-text a {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  text-decoration: none;
}
#sidebar .sidebar-title-text a:hover {
  text-decoration: underline;
}
#sidebar .sidebar-hook {
  display: inline-block;
  margin: 6px 16px 0;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  background: #ffd400;
  border-radius: 12px;
}
#sidebar .sidebar-desc {
  margin: 10px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #e0e0e0;
}
#sidebar .sidebar-video {
  margin: 0 16px 10px;
  position: relative;
  width: calc(100% - 32px);
  padding-top: 56.25%;
}
#sidebar .sidebar-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}
#sidebar .sidebar-cta {
  display: flex;
  gap: 8px;
  margin: 10px 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 10px;
}
#sidebar .sidebar-cta .cta {
  flex: 1;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.28s ease,
    filter 0.28s ease;
}
#sidebar .cta.dlsite { background: #ff4900; }
#sidebar .cta.fanza  { background: #ff88bb; color: #000; }
#sidebar .cta.review { background: #1e90ff; }

#sidebar .sidebar-cta .cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  filter: brightness(1.1);
}

#sidebar .sidebar-cta a.cta:not([href]),
#sidebar .sidebar-cta a.cta[href=""],
.sidebar-cta .cta[href="#"] {
  background: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

#sidebar .sidebar-item:hover {
  border-color: #ff88bb;
  box-shadow:
    0 0 0 1px rgba(255, 136, 187, 0.6),
    0 0 12px rgba(255, 136, 187, 0.35);
}
#sidebar .sidebar-item:hover .sidebar-thumb img {
  transform: scale(1.08);
  filter: brightness(1.1);
}
#sidebar .sidebar-item:hover .sidebar-title-text a {
  color: #ff88bb;
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media screen and (max-width: 768px) {
  .dlsite-ranking-pc-only {
    display: none;
  }
}

/* ============================================================
   04. 記事本文：見出し（H2 / H3 / H4）
   ============================================================ */

/* カテゴリタイトル帯 */
.wrap-post-title {
  background: linear-gradient(
    90deg,
    #7b5cff,
    #4823ff,
    #1a1a2e,
    #4823ff,
    #7b5cff
  ) !important;
  background-size: 200% 100% !important;
  animation: headerFlow 8s linear infinite;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset;
}
.wrap-post-title,
.wrap-post-title a {
  color: #fff !important;
}

/* DIVER既存H2背景を無効化 */
.content h2 {
  background-image: none !important;
}

/* H2：ヘッダー色調に寄せて調整 */
.content h2 {
  position: relative;
  font-size: 1.12em;
  line-height: 1.65;
  font-weight: 800;
  color: #2f2330;
  padding: 0.72em 1em 0.68em 1.55em;
  background: linear-gradient(180deg, #fffefe 0%, #f7f2f6 100%);
  border-top: 1px solid rgba(94, 46, 72, 0.12);
  border-bottom: 1px solid rgba(94, 46, 72, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.content h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ff8fc1 0%, #ff4f9a 42%, #c92f78 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  box-shadow: 0 0 0 1px rgba(120, 24, 68, 0.12);
}

.content h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, #e36aa0 0%, #c94884 38%, #9b3d73 68%, #5c294f 100%);
}

/* H3：従来寄りの軽めデザイン */
.content h3 {
  position: relative;
  font-size: 1.05em;
  line-height: 1.6;
  font-weight: 600;
  padding: 0.55em 1em 0.55em 1.4em;
  color: #333;
  background-image: repeating-linear-gradient(
    -45deg,
    #f2f2f2 0,
    #f2f2f2 3px,
    #ffffff 3px,
    #ffffff 6px
  );
}

.content h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #5fa9e6 0%, #8b6fe6 45%, #b23b7a 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

/* .review-wu-bars 内のH3はデザイン除外 */
.review-wu-bars h3 {
  position: static;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  padding: 0;
  color: inherit;
  background-image: none;
}
.review-wu-bars h3::before,
.review-wu-bars h3::after {
  display: none !important;
  content: none !important;
}

/* H2 simple-heading：装飾なし・白文字 */
.content h2.simple-heading {
  all: unset;
  display: block;
  padding: 0 !important;
  margin: 28px 0 16px;
  color: #ffffff !important;
  font-size: 1.05em;
  font-weight: 600;
  line-height: 1.6;
  position: static;
}
.content h2.simple-heading::before,
.content h2.simple-heading::after {
  content: none !important;
  display: none !important;
}

/* H4 review-good / review-bad：共通ベース */
body.single #single-main .content h4.review-good,
body.single #single-main .content h4.review-bad {
  all: unset;
  display: block;
  box-sizing: border-box;
  margin: 32px 0 6px;
  padding: 10px 30px 18px;
  font-size: 1.1em;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #000;
  position: relative;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.022),
    rgba(0, 0, 0, 0.022) 3px,
    rgba(255, 255, 255, 0) 3px,
    rgba(255, 255, 255, 0) 6px
  );
}

/* H4 グラデーションライン（JS着火待ち） */
body.single #single-main .content h4.review-good::after,
body.single #single-main .content h4.review-bad::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transform-origin: left;
  transform: scaleX(0);
}

/* review-good：青→紫→赤紫→アンバー */
body.single #single-main .content h4.review-good::after {
  background: linear-gradient(
    90deg,
    #3b82f6,
    #6d5dfc,
    #9b3cff,
    #c2185b,
    #e6b35c,
    rgba(230, 179, 92, 0.35)
  );
}

/* review-bad：青→青紫→ピンク→オレンジ赤→アンバー */
body.single #single-main .content h4.review-bad::after {
  background: linear-gradient(
    90deg,
    #3b82f6,
    #6d5dfc,
    #f65dfc,
    #fe603c,
    #e6b35c
  );
}

/* JS が .is-visible を付与したら着火 */
body.single #single-main .content h4.review-good.is-visible::after,
body.single #single-main .content h4.review-bad.is-visible::after {
  animation: gaugeGrow 1.2s ease-out forwards;
}

/* H4直下の箇条書き */
body.single #single-main .content h4.review-good + ul,
body.single #single-main .content h4.review-bad + ul {
  margin: 6px 0 22px;
  padding: 0 0 0 20px;
}
body.single #single-main .content h4.review-good + ul li,
body.single #single-main .content h4.review-bad + ul li {
  margin: 4px 0;
  font-size: 0.92em;
  line-height: 1.45;
}

/* review-bad直下の箇条書きに下線 */
body.single #single-main .content h4.review-bad + ul {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0 0 28px;
  padding: 6px 18px 10px 22px;
}

/* ============================================================
   05. 記事本文：作品カード・レビューゲージ
   ============================================================ */

.work-aff-like {
  color: #fff;
  font-weight: bold;
  margin-top: 0;
}

.work-price {
  font-size: 16px;
  color: #ffd257;
  font-weight: bold;
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.review-gauge {
  height: 14px;
  width: 260px;
  margin: 8px auto;
  background: #222;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.review-gauge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to right,
    transparent,
    transparent 25px,
    rgba(255, 255, 255, 0.35) 26px
  );
  pointer-events: none;
}

.review-gauge-bar {
  position: relative;
  height: 100%;
  border-radius: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(
    90deg,
    #6a00ff,
    #b00080,
    #ff3a3a,
    #b00080,
    #6a00ff
  );
  background-size: 200% 100%;
}

.review-gauge-bar.is-visible {
  animation: gaugeGrow 1.2s ease-out forwards;
}

.review-gauge-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: gaugeShine 3s infinite;
}

.review-gauge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.review-gauge-score {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}

/* =========================================================
   work-card
   ========================================================= */

.work-card {
  max-width: 640px;
  margin: 4px auto;
  padding: 8px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 0 !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.work-card-head,
.work-card-media,
.work-card-spec,
.work-card-cta,
.past-compare,
.past-compare-head,
.past-compare-inner,
.past-compare-thumb,
.past-compare-btn {
  border-radius: 0 !important;
}

/* 作品タイトル帯 */
.work-card-head {
  position: relative;
  overflow: hidden;
  margin: -8px -8px 8px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #3a0f21 0%, #551631 55%, #2a0c18 100%) !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 1.08em;
  line-height: 1.5;
  letter-spacing: 0.02em;
  border-left: 4px solid #ff5aa5;
  border-bottom: 2px solid #8d2c5f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.work-card-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.00) 42%);
  pointer-events: none;
}

.work-card-media {
  background: #111;
  padding: 8px;
}

.work-card .work-aff {
  width: 100%;
  border-radius: 0 !important;
  overflow: hidden;
}

.work-card .work-aff img,
.work-card .work-aff iframe,
.work-card .work-aff ins,
.work-card .work-aff a,
.work-card .work-aff > div,
.work-card .work-card-media img,
.work-card .work-card-media .aligncenter {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  border-radius: 0 !important;
  display: block;
}

.work-card-spec {
  margin-top: 4px;
  font-size: 0.95em;
}

.work-card-title {
  font-weight: 700;
  margin-bottom: 3px;
}

.spec-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 4px 0;
  border-top: 1px solid #eee;
}

.work-card-spec .spec-row:first-of-type {
  border-top: none;
}

.spec-row span:first-child {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85em;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #555;
  min-height: 26px;
}

.spec-row span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* work-card内CTAは article-end-links を流用 */
.work-card-cta {
  margin-top: 14px;
  padding-top: 0;
}

.work-card-cta .aep-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.work-card-cta .aep-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 10px 6px;
  font-size: 0.96em;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  border-radius: 0 !important;
  animation: none;
}

/* PC：左画像を少し大きめに */
@media (min-width: 900px) and (max-width: 1199px) {
  .work-card {
    max-width: 1020px;
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    grid-template-areas:
      "head head"
      "media spec"
      "cta cta";
    gap: 12px 14px;
    align-items: start;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }

  .work-card-head  { grid-area: head; }
  .work-card-media { grid-area: media; }
  .work-card-spec  { grid-area: spec; margin-top: 0; }
  .work-card-cta   { grid-area: cta; }
}

@media (min-width: 1200px) {
  .work-card {
    max-width: 1080px;
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    grid-template-areas:
      "head head"
      "media spec"
      "cta cta";
    gap: 14px 18px;
    align-items: start;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }

  .work-card-head  { grid-area: head; }
  .work-card-media { grid-area: media; }
  .work-card-spec  { grid-area: spec; margin-top: 0; }
  .work-card-cta   { grid-area: cta; }
}

@media (min-width: 900px) {
  .work-card-media {
    background: #000;
    padding: 8px !important;
  }

  .work-card-spec .spec-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}

/* スマホ：作品情報を二列でコンパクト化 */
@media (max-width: 767px) {
  .work-card-spec {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 6px;
  }

  .work-card-spec .work-card-title {
    grid-column: 1 / -1;
    margin: 0 0 2px;
    padding: 0 0 4px;
    font-size: 0.88em;
    line-height: 1.3;
  }

  .work-card-spec .spec-row {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 1px;
    margin: 0;
    padding: 5px 7px 6px;
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 0;
    min-width: 0;
  }

  .work-card-spec .spec-row > span:first-child {
    display: block;
    margin: 0;
    min-height: 0;
    padding: 0;
    background: none;
    font-size: 0.64em;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #777;
  }

  .work-card-spec .spec-row > span:last-child,
  .work-card-spec .spec-row > strong,
  .work-card-spec .spec-row a {
    display: block;
    margin: 0;
    font-size: 0.81em;
    line-height: 1.28;
    font-weight: 500;
    color: #222;
    word-break: break-word;
  }

  .work-card-spec .spec-row strong {
    font-weight: 700;
  }

  .work-card-spec .spec-row:nth-last-child(2),
  .work-card-spec .spec-row:last-child {
    grid-column: 1 / -1;
  }

  .work-card-cta .aep-table {
    gap: 6px;
  }

  .work-card-cta .aep-link {
    min-height: 42px;
    padding: 9px 4px;
    font-size: 0.9em;
  }
}

@media (max-width: 520px) {
  .work-card {
    transition: none;
  }

  .work-card-cta .aep-link {
    animation: none !important;
  }
}

@media (hover: hover) {
  .work-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  }

  .work-card-media {
    position: relative;
    overflow: hidden;
  }

  .work-card-media img {
    transition: transform 0.35s ease;
  }

  .work-card-media:hover img {
    transform: scale(1.05);
  }

  .work-card-media::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -60%;
    width: 40%;
    height: 160%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0)
    );
    transform: rotate(18deg);
    opacity: 0;
    pointer-events: none;
  }

  .work-card-media:hover::after {
    opacity: 1;
    animation: shine-sweep 0.9s ease-out 1;
  }
}

/* =========================================================
   past-compare
   ========================================================= */

.past-compare {
  margin: 10px 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 0 !important;
  overflow: hidden;
  font-size: 0.92em;
  line-height: 1.6;
}

.past-compare-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-weight: 900;
  font-size: 0.95em;
  letter-spacing: 0.02em;
  background: linear-gradient(
    90deg,
    rgba(109, 93, 252, 0.10),
    rgba(155, 60, 255, 0.07),
    rgba(255, 214, 235, 0.11)
  );
  color: #111 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.past-compare-inner {
  display: flex;
  gap: 12px;
  padding: 10px;
  align-items: flex-start;
  background: #fff;
}

.past-compare-left {
  flex: 0 0 140px;
  background: #000;
  padding: 8px 12px;
  border-radius: 0 !important;
}

.past-compare-thumb a,
.past-compare-thumb img {
  display: block;
}

.past-compare-thumb img {
  width: 120px;
  height: auto;
  border-radius: 0 !important;
  background: #000;
}

.past-compare-btn {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  text-align: center;
  font-weight: 900;
  font-size: 0.86em;
  white-space: nowrap;
  background: #ffd6eb;
  border: 1px solid #ffc2da;
  color: #7a2b52;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.past-compare-body {
  flex: 1 1 auto;
  min-width: 0;
}

.past-compare-title {
  font-weight: 900;
  font-size: 1.02em;
  margin: 0 0 6px;
  padding: 0;
  color: #222;
}

.past-compare-comment {
  font-size: 0.88em;
  line-height: 1.55;
  color: #444;
  padding: 8px 10px;
  margin-top: 4px;
  background: linear-gradient(
    90deg,
    rgba(109, 93, 252, 0.07),
    rgba(155, 60, 255, 0.05)
  );
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0 !important;
}

@media (min-width: 900px) {
  .past-compare {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
}

@media (hover: hover) {
  .past-compare:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  }

  .past-compare-title {
    transition: color 0.18s ease, letter-spacing 0.18s ease;
  }

  .past-compare-title:hover {
    color: #5f4ce6;
    letter-spacing: 0.02em;
  }

  .past-compare-btn {
    animation: past-btn-breathe 2.6s ease-in-out infinite;
  }

  .past-compare-btn:hover {
    animation: none;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    filter: brightness(1.02);
  }

  .past-compare-btn[href="#"],
  .past-compare-btn[href=""],
  .past-compare-btn:not([href]) {
    animation: none !important;
    pointer-events: none;
    opacity: 0.5;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 520px) {
  .past-compare-inner {
    flex-direction: column;
    gap: 8px;
  }

  .past-compare-left {
    flex: none;
    width: 100%;
  }

  .past-compare-thumb img {
    margin: 0 auto;
  }

  .past-compare-btn {
    width: 100%;
    animation: none !important;
  }
}

/* ============================================================
   06. 記事本文：各種コンポーネント
   ============================================================ */

.strategy-memo-box {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 9px 11px;
  margin: 16px 0;
  background: #fcfcfc;
}

.strategy-memo-title {
  display: inline-block;
  font-size: 0.82em;
  font-weight: 700;
  color: #555;
  background: #f3f3f3;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.strategy-memo-body {
  font-size: 0.88em;
}

.strategy-memo-body ul {
  margin: 0;
  padding-left: 1.15em;
}

.strategy-memo-body li {
  margin: 0.25em 0;
  line-height: 1.7;
  color: #444;
}

body.single #single-main .content p.review-note {
  font-size: 0.8em;
  color: #888;
  line-height: 1.7;
  margin: 0.4em 0 0.9em;
  padding: 0.45em 0.7em;
  background: rgba(0, 0, 0, 0.025);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.single-post .content p.attention,
.single .content p.attention {
  margin: 16px 0 20px !important;
  padding: 10px 14px !important;
  background: #f7f7f9 !important;
  border-left: 4px solid #4423ff !important;
  color: #444 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  box-sizing: border-box !important;
}
.single-post .content p.attention strong,
.single .content p.attention strong {
  font-weight: 600 !important;
}

.notice-fix {
  margin-top: 12px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  line-height: 1.65;
}
.widget_diver_widget_profile .meta .notice-fix {
  display: block !important;
  margin: 12px 0 0 !important;
  padding: 12px !important;
  background: #ffffff !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10) !important;
  line-height: 1.7 !important;
}

.widget_diver_widget_profile .meta {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 92%);
  margin: 18px 0 10px;
  padding: 6px 18px 16px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font-size: 0.95em;
  line-height: 1.75;
  text-align: left;
  box-sizing: border-box;
}
.widget_diver_widget_profile .meta > *:first-child { margin-top: 0; }
.widget_diver_widget_profile .meta > *:last-child  { margin-bottom: 0; }
.widget_diver_widget_profile .meta a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.35);
}
.widget_diver_widget_profile .meta a:hover {
  border-bottom-style: solid;
}

.post-profile {
  margin: 22px 0 10px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-size: 0.95em;
  line-height: 1.75;
}
.post-profile a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.35);
}
.post-profile a:hover {
  border-bottom-style: solid;
}

.sc_toggle_box {
  position: relative;
  box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.04), 0 0 0 1px rgba(176, 181, 193, 0.2);
  border-radius: 3px;
  background: rgba(120, 140, 255, 0.18) !important;
  color: #eef !important;
  margin-bottom: 0.5em;
}
.sc_toggle_box .sc_toggle_content {
  visibility: hidden;
  height: 0;
  position: fixed;
  background: transparent !important;
  box-shadow: 0 0 5px rgba(120, 120, 120, 0.1) inset;
}
.sc_toggle_title {
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s ease-out;
}
.sc_toggle_title:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  filter: brightness(1.08);
}

/* ============================================================
   07. 記事末リンク（article-end-links）
   ============================================================ */

.article-end-links {
  width: 100%;
  margin: 16px 0 8px;
  text-align: center;
}

.article-end-links .aep-table {
  display: table;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 18px 0;
}

.article-end-links .aep-link {
  position: relative;
  display: table-cell;
  padding: 12px 36px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-radius: 0;
  text-decoration: none;
  color: #fff;
  animation: float-text-sync 2.2s ease-in-out infinite;
}

.article-end-links .aep-link.dlsite { background: #1e90ff; }
.article-end-links .aep-link.fanza  { background: #ff4900; }
.article-end-links .aep-link.hbox   { background: #ff88bb; color: #000; }

.article-end-links .aep-link[href="#"],
.article-end-links .aep-link:not([href]) {
  background: #aaa !important;
  color: #666 !important;
  animation: none;
  pointer-events: none;
}

.article-end-links .aep-link:hover {
  transform: translateY(-4px) scale(1.04);
}

@media (max-width: 768px) {
  .article-end-links .aep-table {
    display: flex;
    border-spacing: 0;
    gap: 6px;
  }

  .article-end-links .aep-link {
    display: block;
    flex: 1;
    padding: 14px 4px;
    font-size: 13px;
    line-height: 1.2;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .article-end-links .aep-link {
    font-size: 13px;
    padding: 14px 4px;
  }
}

/* ============================================================
   08. フッター
   ============================================================ */

.footer-category {
  margin-top: 20px;
  font-size: 0.9em;
}
.footer-cat-group {
  margin-bottom: 18px;
  clear: both;
}
.footer-cat-title {
  font-weight: 700;
  margin-bottom: 6px;
}
.footer-category ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.footer-category li {
  margin: 4px 0;
}
.footer-category a {
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}
.footer-category a:hover {
  opacity: 1;
}

/* ============================================================
   09. カテゴリページ
   ============================================================ */

.category {
  background: #0f0f0f;
}
.category .content,
.category .main,
.category #main,
.category .cat-post-main {
  background: transparent !important;
}
.category .cat-post-main,
.category .cat-post-main p {
  color: #cfcfcf;
}
.category .cat-post-main {
  padding: 0.0em 0.8em 0.8em !important;
}
.category .catpage_inner_content {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.category .catpage_content_wrap .inner {
  padding: 0 !important;
}
.category h1.catpage_title {
  letter-spacing: 0.02em;
}
.category h1.catpage_title::before {
  content: "□";
  margin-right: 8px;
  color: #fff;
}
.category h2 {
  background: transparent !important;
  font-size: 0.8em;
  font-weight: 600;
  color: #ddd;
  margin: 1em 0 0.2em;
  padding-bottom: 0.8em;
  border-bottom: 4px solid #222;
}
.category p {
  margin-bottom: 0.2em;
}
.small-note {
  font-size: 0.85em;
  margin: 0.5em 0 1em;
  opacity: 0.7;
}
.category .wrap-post-title {
  padding: 0.4em 0.8em !important;
}
.category .wrap-post-title h1 {
  font-size: 1.05em;
  letter-spacing: 0.04em;
}
.category .sc_toggle_title {
  background: rgba(140, 110, 200, 0.18) !important;
  color: #f2ecff !important;
  border-left: 4px solid #9a7cff;
  padding: 0.55em 0.8em;
  font-size: 0.95em;
}
.category .diver_question {
  background: transparent !important;
  color: #cbbdff;
  font-weight: normal;
}
.category .sc_toggle_content {
  background: transparent !important;
  color: #ccc;
  padding: 0.6em 0.8em 0.8em;
}
.category .cat-post-main p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .category .cat-post-main p {
    max-width: 92%;
  }
}
.cat-post-main .content {
  margin: 0 15px;
}
.cat-post-main {
  padding: 1em 2em;
  margin-bottom: -16px;
}
.catpage_content_wrap .innner {
  padding: 0;
  width: 90%;
  margin: 0 auto;
}

.cat-description {
  background: #ffffff;
  padding: 22px 24px;
  margin: 28px 0 36px;
  color: #333;
}
.cat-desc-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #111;
}
.cat-description .lead {
  font-weight: bold;
  margin-bottom: 14px;
}
.cat-description p {
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.cat-description p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   10. バッジ（post-cat / post-tag）
   ============================================================ */

/* カテゴリページの記事カード：同人音声を青系に */
.post-cat:has(a[href*="/category/voice/"]) {
  background: linear-gradient(135deg, #1e90ff, #0060cc) !important;
}

/* 記事ページのカテゴリバッジ（single-post-category）：post-catと統一 */
.single-post-category {
  background: linear-gradient(135deg, #ff1a6e, #e0005a) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.15) inset !important;
  border-radius: 4px !important;
  border: none !important;
}

/* 同人音声カテゴリだけ青系に上書き */
.single-post-category:has(a[href*="/category/voice/"]) {
  background: linear-gradient(135deg, #1e90ff, #0060cc) !important;
}

.single-post-category a[href*="/category/voice/"] {
  background: linear-gradient(135deg, #1e90ff, #0060cc) !important;
}

.post-cat {
  background: linear-gradient(135deg, #ff1a6e, #e0005a) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.15) inset !important;
  border-radius: 4px !important;
  border: none !important;
}

.post-tag {
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  border-radius: 4px !important;
  border: none !important;
}

/* ============================================================
   11. アニメーション・アクセシビリティ
   ============================================================ */

@keyframes headerFlow {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

@keyframes gaugeGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes gaugeShine {
  0%   { left: -40%; }
  100% { left: 100%; }
}

@keyframes shine-sweep {
  0%   { left: -60%; }
  100% { left: 140%; }
}

@keyframes cta-breathe {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

@keyframes past-btn-breathe {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-1px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes float-text-sync {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-5px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes pulse {
  from { box-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }
  to   { box-shadow: 0 0 22px rgba(255, 255, 255, 0.9); }
}

@media (prefers-reduced-motion: reduce) {
  .work-card,
  .past-compare,
  .work-card-media img,
  .work-card-media::after,
  .past-compare-btn,
  .article-end-links .aep-link,
  .work-card-cta .aep-link {
    animation: none !important;
    transition: none !important;
  }
}

@media screen and (max-width: 959px) {
  .page #sidebar {
    margin-top: 50px !important;
  }
}














/* ============================================================
   過去記事デザインを維持するためにwork-card-ctaへのCSSが必須 ============================================================ */

.work-card-cta {
  position: relative;
  margin-top: 14px;
  padding-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-top: none;
}
.work-card-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #5fa9e6, #8b6fe6, #b23b7a);
  opacity: 0.7;
}
.work-card-cta .cta {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, 0.10);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.work-card-cta .cta.dlsite { background: #1e90ff; border-color: #1876d2; color: #fff; }
.work-card-cta .cta.fanza  { background: #ff4900; border-color: #d63d00; color: #fff; }
.work-card-cta .cta.review { background: #ff88bb; border-color: #e06c9e; color: #000; }

.work-card-cta .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
  filter: brightness(1.02);
}
.work-card-cta .cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.work-card-cta .cta:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}

.work-card-cta .cta[href="#"],
.work-card-cta .cta[href=""],
.work-card-cta .cta:not([href]) {
  background: #5f5f5f !important;
  border-color: #4f4f4f !important;
  color: #e6e6e6 !important;
  pointer-events: none;
  cursor: default;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1;
  animation: none !important;
}

@media (min-width: 900px) {
  .work-card {
    max-width: 980px;
    display: grid;
    grid-template-columns: 380px 1fr;
    grid-template-areas:
      "head head"
      "media spec"
      "cta  cta";
    gap: 12px 16px;
    align-items: start;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
  .work-card-head  { grid-area: head; }
  .work-card-media { grid-area: media; }
  .work-card-spec  { grid-area: spec; margin-top: 0; }
  .work-card-cta   { grid-area: cta; justify-content: center; gap: 12px; }
  .work-card-cta .cta { flex: 0 1 220px; min-width: 200px; }
  .work-card-media {
    background: #000;
    padding: 10px;
    border-radius: 10px;
  }
}

@media (min-width: 900px) and (max-width: 1050px) {
  .work-card { grid-template-columns: 340px 1fr; }
  .work-card-cta .cta { flex-basis: 180px; min-width: 160px; }
}

@media (max-width: 899px) {
  .work-card-media {
    background: #111;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
  .work-card-media img { border-radius: 6px; }
}

@media (max-width: 520px) {
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .work-card { transition: none; }
  .work-card-cta .cta { animation: none !important; }
}

@media (hover: hover) {
  .work-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  }
  .work-card-media {
    position: relative;
    overflow: hidden;
  }
  .work-card-media img {
    transition: transform 0.35s ease;
  }
  .work-card-media:hover img {
    transform: scale(1.05);
  }
  .work-card-media::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -60%;
    width: 40%;
    height: 160%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0)
    );
    transform: rotate(18deg);
    opacity: 0;
    pointer-events: none;
  }
  .work-card-media:hover::after {
    opacity: 1;
    animation: shine-sweep 0.9s ease-out 1;
  }
  .work-card-cta .cta {
    animation: cta-breathe 2.6s ease-in-out infinite;
  }
  .work-card-cta .cta:hover {
    animation: none;
  }
}



.work-card-head {
  position: relative !important;
  overflow: hidden !important;
  padding: 7px 16px 6px !important;
  background: linear-gradient(
    90deg,
    #1a1a2e,
    #ff88bb,
    #1a1a2e,
    #ff88bb,
    #1a1a2e
  ) !important;
  background-size: 200% 100% !important;
  animation: headerFlow 8s linear infinite !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.08em !important;
  line-height: 1.3 !important;
  letter-spacing: .025em !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -1px 0 rgba(0,0,0,.2) !important;
}
.work-card-head::before {
  content: none !important;
}





/* ========================================
   攻略メモボックス
   ・記事内の補助情報用ボックス
   ・薄青ベースでやわらかく視認性を上げる
======================================== */
.strategy-memo-box{
  border:1px solid #d7e8f7;
  border-radius:6px;
  padding:10px 12px;
  margin:16px 0;
  background:linear-gradient(180deg,#f8fcff 0%,#f2f8fd 100%);
  box-shadow:0 1px 0 rgba(255,255,255,0.85) inset;
}

/* ========================================
   攻略メモタイトル
   ・h4化して見出し構造に参加
   ・他のh4装飾と干渉しないよう専用指定
   ・少しだけ太くして目に入りやすくする
======================================== */
body.single #single-main .content h4.strategy-memo-title{
  all:unset;
  display:inline-block;
  box-sizing:border-box;
  font-size:.84em;
  font-weight:800;
  line-height:1.4;
  color:#2f5f86;
  background:linear-gradient(180deg,#eef7ff 0%,#e3f0fb 100%);
  border:1px solid #c9def0;
  border-radius:999px;
  padding:2px 9px;
  margin:0 0 8px;
  letter-spacing:.02em;
  box-shadow:0 1px 0 rgba(255,255,255,0.9) inset;
}

/* ========================================
   テーマ側のh4疑似要素を無効化
   ・before/afterの飾り線や装飾を消す
   ・攻略メモだけはシンプル表示にする
======================================== */
body.single #single-main .content h4.strategy-memo-title::before,
body.single #single-main .content h4.strategy-memo-title::after{
  content:none !important;
  display:none !important;
}

/* ========================================
   攻略メモ本文全体
   ・本文より少しだけ小さめ
   ・補助情報として軽さを残す
======================================== */
.strategy-memo-body{
  font-size:.9em;
}

/* ========================================
   リスト全体
   ・余白を整理
   ・左インデントは控えめに
======================================== */
.strategy-memo-body ul{
  margin:0;
  padding-left:1.15em;
}

/* ========================================
   各リスト項目
   ・本文を明らかに太くして目に入りやすくする
   ・攻略目的の読者が拾いやすいよう強調
======================================== */
.strategy-memo-body li{
  margin:.3em 0;
  line-height:1.72;
  color:#3f4d5a;
  font-weight:600;
}

/* ========================================
   リストマーカー色
   ・薄青アクセントで情報ボックス感を追加
======================================== */
.strategy-memo-body li::marker{
  color:#7aaed6;
}


/* サークル名リンク：URL未設定（href="#"）のときは通常テキストとして表示 */
.spec-circle-link[href="#"]{
color:inherit;
text-decoration:none;
pointer-events:none;
cursor:default;
opacity:1;
}



/*スマホ表示の記事一覧サムネイル枠を縦に広げる*/
@media screen and (max-width:599px){
.post-box-thumbnail__wrap:before{
/*数値を上げるほどサムネイルの縦幅が広がる。61%が元の比率、80%でやや縦長*/
padding-top:75%!important;
}
}




/* ==================================================
購入前ミニチェック
H3前に置く小さめのQ&A確認枠
================================================== */

.review-mini-check{
margin:1.2em 0 1.6em;
padding:14px 16px;
border:1px solid #ddd;
border-radius:0;
background:#fff;
font-size:.95em;
line-height:1.75;
}

/* 各Q&A項目 */
.review-mini-check-item{
margin:0 0 .9em;
padding:0 0 .9em;
border-bottom:1px dashed #ddd;
}

/* 最後の項目だけ区切り線を消す */
.review-mini-check-item:last-child{
margin-bottom:0;
padding-bottom:0;
border-bottom:none;
}

/* Q/A共通：左にラベルを出すための余白 */
.review-mini-check-q,
.review-mini-check-a{
position:relative;
padding-left:2.4em;
}

/* 質問文 */
.review-mini-check-q{
margin:0 0 .28em;
font-weight:700;
color:#222;
}

/* 回答文 */
.review-mini-check-a{
margin:0;
color:#444;
}

/* Q/Aラベル共通 */
.review-mini-check-q::before,
.review-mini-check-a::before{
position:absolute;
left:0;
top:.12em;
display:inline-flex;
align-items:center;
justify-content:center;
width:1.65em;
height:1.65em;
border-radius:0;
font-size:.82em;
font-weight:700;
line-height:1;
color:#fff;
}

/* Qラベル：レメラボ寄せの紫 */
.review-mini-check-q::before{
content:"Q";
background:#5628e8;
}

/* Aラベル：レメラボ寄せのピンク */
.review-mini-check-a::before{
content:"A";
background:#e0007a;
}

/* DLsite星評価：未選択部分 */
.review-mini-stars{
position:relative;
display:inline-block;
margin:0 .2em;
letter-spacing:.04em;
color:#d8d8d8;
}

/* DLsite星評価：選択部分
HTML側の style="--rating:4.5;" で幅を調整 */
.review-mini-stars::before{
content:"★★★★★";
position:absolute;
left:0;
top:0;
width:calc(var(--rating) / 5 * 100%);
overflow:hidden;
white-space:nowrap;
color:#ffb300;
}

/* 評価数値 */
.review-mini-score{
font-weight:700;
color:#222;
}

/* スマホ調整 */
@media(max-width:600px){
.review-mini-check{
padding:12px 13px;
font-size:.93em;
}
.review-mini-check-q,
.review-mini-check-a{
padding-left:2.25em;
}
}






/* 記事ページ本文内のCTAだけ調整 */
body.single #single-main .content .article-end-links{
width:100%;
padding:0 8px;
box-sizing:border-box;
}

body.single #single-main .content .article-end-links .aep-table{
width:100%;
max-width:620px;
margin:0 auto;
}



/* brがグリッドの1要素として扱われるのを防ぐ */
body.single #single-main .content .article-end-links .aep-table br{
display:none!important;
}

@media(max-width:768px){
body.single #single-main .content .article-end-links{
padding:0;
}

body.single #single-main .content .article-end-links .aep-table{
display:grid!important;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:8px;
width:100%;
}

body.single #single-main .content .article-end-links .aep-link{
display:flex!important;
align-items:center;
justify-content:center;
min-width:0;
width:100%;
padding:14px 6px;
font-size:13px;
line-height:1.2;
box-sizing:border-box;
white-space:normal;
overflow-wrap:anywhere;
word-break:keep-all;
text-align:center;
}
}

/* 記事末CTAでは上部グラデーションラインを消す */
body.single #single-main .content .work-card-cta.article-end-links::before{
content:none!important;
display:none!important;
}

body.single #single-main .content .work-card-cta.article-end-links{
padding-top:0!important;
}



/* ==================================================
トップページ：姉妹サイト・まとめ記事リンクカード
・親サイトからまとめ記事へ送る固定リンクカード
・画像は .top-matome-thumb 内でクロップ管理
・通常時の枠線は border ではなく box-shadow で表現
・ホバー時は紫系の発光＋画像ズーム＋右矢印
================================================== */

.top-matome-card{
position:relative;
display:flex;
align-items:stretch;
gap:0;
height:88px;
background:#fff;
color:#222;
text-decoration:none;
padding:0 40px 0 0;
border:none;
overflow:hidden;
box-sizing:border-box;
opacity:1!important;
filter:none!important;
box-shadow:0 0 0 1px #ddd;
transition:
transform .28s cubic-bezier(.25,.8,.25,1),
box-shadow .28s ease;
}

/* 右側の矢印：ホバー時のみ表示 */
.top-matome-card::after{
content:"→";
position:absolute;
right:13px;
top:50%;
transform:translate(-6px,-50%);
opacity:0;
font-size:20px;
font-weight:700;
color:#d9c4ff;
transition:
opacity .24s ease,
transform .24s ease;
z-index:5;
}

/* カードホバー：紫系発光 */
.top-matome-card:hover{
background:#fff;
color:#222;
text-decoration:none;
transform:translateY(-2px);
box-shadow:
0 0 0 1px rgba(217,196,255,.85),
0 0 16px rgba(217,196,255,.65),
0 0 30px rgba(190,140,255,.45),
0 6px 16px rgba(0,0,0,.22);
opacity:1!important;
filter:none!important;
}

.top-matome-card:hover::after{
opacity:1;
transform:translate(0,-50%);
}

/* サムネイル枠 */
.top-matome-thumb{
position:relative;
z-index:1;
width:128px;
height:100%;
overflow:hidden;
flex-shrink:0;
background:#000;
}

/* サムネイル画像 */
.top-matome-thumb img{
display:block;
width:100%;
height:100%;
object-fit:cover;
transform:scale(1.06);
opacity:1!important;
filter:none!important;
transition:
transform .42s cubic-bezier(.25,.8,.25,1),
filter .42s ease;
}

/* サムネイル画像ホバー */
.top-matome-card:hover .top-matome-thumb img{
transform:scale(1.20);
filter:brightness(1.08)!important;
opacity:1!important;
}

/* テキストエリア */
.top-matome-card-body{
position:relative;
z-index:2;
min-width:0;
padding:8px 0 8px 12px;
display:flex;
flex-direction:column;
justify-content:center;
background:#fff;
}

/* ラベル */
.top-matome-label{
display:inline-block;
align-self:flex-start;
background:#e4007f;
color:#fff;
font-size:11px;
font-weight:700;
line-height:1;
padding:3px 7px;
margin-bottom:5px;
transition:
transform .24s ease,
box-shadow .24s ease;
}

/* ラベルホバー */
.top-matome-card:hover .top-matome-label{
transform:translateX(2px);
box-shadow:0 0 8px rgba(228,0,127,.35);
}

/* タイトル */
.top-matome-title{
font-size:14px;
font-weight:700;
line-height:1.35;
color:#222;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

/* 説明文 */
.top-matome-desc{
font-size:12px;
line-height:1.4;
color:#555;
margin-top:3px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

/* スマホ調整 */
@media(max-width:600px){
.top-matome-card{
height:78px;
padding-right:32px;
}

.top-matome-thumb{
width:104px;
}

.top-matome-card-body{
padding:7px 0 7px 9px;
}

.top-matome-label{
font-size:10px;
padding:3px 6px;
margin-bottom:4px;
}

.top-matome-title{
font-size:13px;
line-height:1.3;
}

.top-matome-desc{
font-size:11px;
line-height:1.35;
}

.top-matome-card::after{
right:9px;
font-size:17px;
}
}





/* まとめリンクカード：準備中表示 */
.top-matome-card-disabled{
pointer-events:none;
cursor:default;
}

.top-matome-card-disabled::after{
content:"";
display:none;
}

.top-matome-card-disabled:hover{
transform:none;
box-shadow:0 0 0 1px #ddd;
}

.top-matome-card-disabled .top-matome-thumb img{
filter:grayscale(.15) brightness(.92)!important;
}

.top-matome-card-disabled .top-matome-label{
background:#777;
box-shadow:none;
}

.top-matome-card-disabled .top-matome-title{
color:#333;
}

.top-matome-card-disabled .top-matome-desc{
color:#777;
}


/* まとめリンクカード：コンパクト版 */
.top-matome-card-compact{
height:68px;
padding-right:28px;
}

.top-matome-card-compact .top-matome-thumb{
width:104px;
}

.top-matome-card-compact .top-matome-card-body{
padding:6px 0 6px 10px;
}

.top-matome-card-compact .top-matome-label{
font-size:10px;
padding:3px 6px;
margin-bottom:4px;
}

.top-matome-card-compact .top-matome-title{
font-size:13px;
line-height:1.3;
}

.top-matome-card-compact .top-matome-desc{
font-size:11px;
line-height:1.3;
margin-top:2px;
}

.top-matome-card-compact::after{
right:9px;
font-size:17px;
}


.eyecatch-affiliate-link{
display:block;
}
.eyecatch-affiliate-link img{
display:block;
}






/* =========================================================
記事タイトル・注釈文・アイキャッチ周りの余白調整
========================================================= */

/* 記事タイトル下の余白 */
.single-post h1.entry-title,
.single-post .single_title h1,
.single-post .single-title h1,
.single-post .content h1{
margin-bottom:6px;
}

/* タイトル下レビュー注釈 */
.single-post .review-note-under-title{
font-size:11.5px!important;
line-height:1.45!important;
color:#666!important;
background:linear-gradient(90deg,#fafafa,#fff)!important;
border-left:3px solid rgba(190,45,120,.38)!important;
padding:5px 9px!important;
margin:0 0 4px!important;
box-shadow:0 1px 4px rgba(0,0,0,.035)!important;
}

/* DIVER側のメタ情報欄余白を詰める */
.single-post .post-meta-bottom{
margin:0!important;
padding:0!important;
min-height:0!important;
height:auto!important;
}

/* singletop-widgetの内側余白を削除 */
.singletop-widget>div{
margin:-10px;
padding:0;
}

.single-post .singletop-widget>div{
padding:0!important;
}

/* アイキャッチ周りの余白を詰める */
.single-post header figure.single_thumbnail,
.single-post .post_meta figure.single_thumbnail,
.single-post figure.single_thumbnail,
.single-post .single_thumbnail{
margin-top:0!important;
padding-top:0!important;
margin-bottom:0!important;
}

/* =========================================================
アイキャッチ画像リンク化・ホバー演出
========================================================= */

/* DIVERアイキャッチ背景全体 */
.single-post figure.single_thumbnail,
.single-post .single_thumbnail{
position:relative;
transition:background-color .22s ease,box-shadow .22s ease,filter .22s ease;
}

/* アイキャッチ上のクリック導線帯用スペース */
.single-post figure.single_thumbnail:has(.eyecatch-affiliate-link),
.single-post .single_thumbnail:has(.eyecatch-affiliate-link){
padding-top:23px!important;
box-sizing:border-box;
}

/* アイキャッチ上のクリック導線帯：文字が右から左へ流れる版 */
.single-post figure.single_thumbnail:has(.eyecatch-affiliate-link)::after,
.single-post .single_thumbnail:has(.eyecatch-affiliate-link)::after{
content:"アイキャッチから販売ページに飛べるようにしました";
position:absolute;
top:0;
left:0;
right:0;
z-index:10;
display:block;
font-size:11px;
font-weight:600;
line-height:1.25;
color:rgba(255,255,255,.94);
text-align:left;
background:rgba(0,0,0,.72);
padding:4px 8px;
text-shadow:0 1px 1px rgba(0,0,0,.55);
pointer-events:none;
box-sizing:border-box;
white-space:nowrap;
overflow:hidden;
text-indent:100%;
animation:eyecatch-top-band-marquee 7.5s linear infinite;
}

@keyframes eyecatch-top-band-marquee{
0%{
text-indent:100%;
}
100%{
text-indent:-18em;
}
}

/* ホバー時：背景画像をカラーで活かす */
.single-post figure.single_thumbnail:has(.eyecatch-affiliate-link:hover),
.single-post .single_thumbnail:has(.eyecatch-affiliate-link:hover){
background-color:#050505!important;
box-shadow:0 0 18px rgba(215,47,134,.16);
}

/* DIVERの背景レイヤーをカラー寄りに見せる */
.single-post figure.single_thumbnail:has(.eyecatch-affiliate-link:hover)::before,
.single-post .single_thumbnail:has(.eyecatch-affiliate-link:hover)::before{
filter:brightness(.72) saturate(1.25)!important;
opacity:1!important;
}

/* アイキャッチ画像リンク本体 */
.eyecatch-affiliate-link{
display:inline-block;
max-width:100%;
vertical-align:top;
cursor:pointer;
overflow:hidden;
position:relative;
border-radius:0;
box-shadow:0 0 0 0 rgba(220,45,135,0);
transition:transform .22s ease,box-shadow .22s ease;
}

/* アイキャッチ画像 */
.eyecatch-affiliate-link img{
display:block;
max-width:100%;
height:auto;
opacity:1!important;
filter:none!important;
border-radius:0;
transition:transform .22s ease;
}

/* ホバー時：画像本体をズーム＋控えめ赤紫発光 */
.eyecatch-affiliate-link:hover{
transform:translateY(-2px);
box-shadow:
0 0 0 2px rgba(220,45,135,.55),
0 0 12px rgba(220,45,135,.38),
0 0 24px rgba(150,75,255,.24),
0 10px 22px rgba(0,0,0,.28);
}

/* ホバー時：薄くせずズーム */
.eyecatch-affiliate-link:hover img{
opacity:1!important;
filter:none!important;
transform:scale(1.03);
}

/* クリックできる感を出す赤紫の光レイヤー */
.eyecatch-affiliate-link::after{
content:"";
position:absolute;
inset:0;
pointer-events:none;
background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,0) 45%,rgba(255,72,160,.12));
opacity:0;
transition:opacity .22s ease;
}

.eyecatch-affiliate-link:hover::after{
opacity:1;
}

/* DIVER側のホバー演出を打ち消す */
.single-post figure.single_thumbnail:hover,
.single-post .single_thumbnail:hover,
.single-post figure.single_thumbnail a:hover,
.single-post .single_thumbnail a:hover,
.single-post figure.single_thumbnail:hover img,
.single-post .single_thumbnail:hover img,
.single-post figure.single_thumbnail a:hover img,
.single-post .single_thumbnail a:hover img{
opacity:1!important;
filter:none!important;
}

/* =========================================================
アイキャッチ下のクリック案内文：細め黒帯
========================================================= */

.eyecatch-affiliate-caption{
display:block;
font-size:11px;
font-weight:600;
line-height:1.3;
color:rgba(255,255,255,.92);
text-align:center;
background:rgba(0,0,0,.80);
padding:4px 10px;
margin:0 0 12px;
text-shadow:0 1px 1px rgba(0,0,0,.45);
transition:background .22s ease,color .22s ease,transform .22s ease,box-shadow .22s ease;
}

/* ホバー時に案内文も赤紫系で強調 */
.single_thumbnail:has(.eyecatch-affiliate-link:hover)+.eyecatch-affiliate-caption,
.eyecatch-affiliate-link:hover+.eyecatch-affiliate-caption{
color:#fff;
background:rgba(80,20,55,.72);
transform:translateY(-1px);
box-shadow:0 0 8px rgba(220,45,135,.18);
}

/* =========================================================
スマホ表示調整
========================================================= */

@media screen and (max-width:767px){
.single-post .review-note-under-title{
font-size:10px!important;
line-height:1.35!important;
padding:4px 7px!important;
margin:0 0 3px!important;
border-left-width:2px!important;
box-shadow:none!important;
}

.single-post figure.single_thumbnail:has(.eyecatch-affiliate-link),
.single-post .single_thumbnail:has(.eyecatch-affiliate-link){
padding-top:21px!important;
}

.single-post figure.single_thumbnail:has(.eyecatch-affiliate-link)::after,
.single-post .single_thumbnail:has(.eyecatch-affiliate-link)::after{
font-size:10px;
font-weight:600;
padding:3px 7px;
animation-duration:6.8s;
}

.eyecatch-affiliate-link{
box-shadow:
0 0 0 1px rgba(220,45,135,.35),
0 0 10px rgba(220,45,135,.18);
}

.eyecatch-affiliate-caption{
font-size:10.5px;
line-height:1.3;
padding:4px 8px;
margin:0 0 13px;
}
}

/* =========================================================
DIVER/WordPress側のアイキャッチ画像キャプションを非表示
※自前のクリック案内文 .eyecatch-affiliate-caption は残す
========================================================= */

.single-post figure.single_thumbnail figcaption,
.single-post .single_thumbnail figcaption,
.single-post figure.single_thumbnail .wp-caption-text,
.single-post .single_thumbnail .wp-caption-text,
.single-post figure.single_thumbnail .caption,
.single-post .single_thumbnail .caption{
display:none!important;
}

/* =========================================================
H2/H3見出し調整
========================================================= */

/* H2/H3見出しの左上三角マークを削除 */
body.single #single-main .content h2::before,
body.single #single-main .content h3::before{
content:none!important;
display:none!important;
}

/* H3見出しを太文字化 */
body.single #single-main .content h3{
font-weight:800!important;
}

/* 動きを減らす設定のユーザーには流れる帯を止める */
@media (prefers-reduced-motion:reduce){
.single-post figure.single_thumbnail:has(.eyecatch-affiliate-link)::after,
.single-post .single_thumbnail:has(.eyecatch-affiliate-link)::after{
animation:none!important;
text-indent:0!important;
text-align:center;
}
}


/* ============================================================
カテゴリーページ：共通土台
============================================================ */
.category{
background:#0f0f0f;
}

.category .content,
.category .main,
.category #main,
.category .cat-post-main,
.category .catpage_content_wrap{
background:transparent!important;
}

.category .catpage_content_wrap{
margin-top:0!important;
padding-top:0!important;
}

.category .catpage_content_wrap > .cover,
.category .catpage_content_wrap > .cover.lazyloaded{
display:none!important;
background:none!important;
}

.category .catpage_content_wrap .inner,
.category .catpage_content_wrap .innner,
.category .catpage_inner_content{
margin-top:0!important;
padding:0!important;
background:none!important;
border:none!important;
box-sizing:border-box!important;
}

/* ============================================================
カテゴリーページ：パンくず
============================================================ */
.category #breadcrumb{
font-size:11.5px!important;
line-height:1.35!important;
padding:5px 10px 0!important;
margin:0!important;
}

.category #breadcrumb a,
.category #breadcrumb span{
font-size:11.5px!important;
line-height:1.35!important;
}

.category #breadcrumb ul,
.category #breadcrumb ol,
.category #breadcrumb li{
line-height:1.35!important;
margin-top:0!important;
margin-bottom:0!important;
}

/* ============================================================
カテゴリーページ：H1控えめ版
============================================================ */
.category h1.catpage_title{
background:none!important;
background-image:none!important;
box-shadow:none!important;
text-shadow:none!important;
border:none!important;
border-bottom:1px solid rgba(255,255,255,.08)!important;
font-size:.86em!important;
font-weight:400!important;
line-height:1.32!important;
color:#c9c5d5!important;
padding:.12em 0 .18em!important;
margin:0 0 .25em!important;
letter-spacing:0!important;
}

.category h1.catpage_title::before,
.category h1.catpage_title::after{
content:none!important;
display:none!important;
}

/* ============================================================
カテゴリーページ：本文・記事一覧エリア
============================================================ */
.category .cat-post-main{
padding:0 0 0.8em!important;
margin-bottom:-16px;
}

.category .cat-post-main,
.category .cat-post-main p{
color:#cfcfcf;
}

.category .cat-post-main .content{
margin-left:0!important;
margin-right:0!important;
}

.category .wrap-post-title{
margin-left:0!important;
margin-right:0!important;
padding:.4em .8em!important;
}

.category .wrap-post-title h1{
font-size:1.05em;
letter-spacing:.04em;
}

.category .wrap-grid-post-box{
margin-left:0!important;
margin-right:0!important;
padding-left:0!important;
padding-right:0!important;
}

/* ============================================================
カテゴリーページ：ミニジャンル案内
============================================================ */
.category .cat-guide-mini{
width:100%;
max-width:none;
margin:0 0 10px;
padding:5px;
color:#cfcfcf;
background:rgba(255,255,255,.035);
border:1px solid rgba(255,255,255,.08);
box-sizing:border-box;
}

/* DIVER見出し装飾リセット */
.category .cat-guide-mini h2,
.category .cat-guide-mini h3{
background:none!important;
background-image:none!important;
box-shadow:none!important;
border:none!important;
position:static!important;
}

.category .cat-guide-mini h2::before,
.category .cat-guide-mini h2::after,
.category .cat-guide-mini h3::before,
.category .cat-guide-mini h3::after{
content:none!important;
display:none!important;
}

/* 案内ブロック見出し */
.category .cat-guide-mini h2{
font-size:13px!important;
line-height:1.32!important;
margin:0 0 .28em!important;
padding:0 0 .18em!important;
color:#f4edff!important;
font-weight:700!important;
border-bottom:1px solid rgba(255,255,255,.16)!important;
}

/* 導入文 */
.category .cat-guide-mini > p{
font-size:9.8px!important;
line-height:1.42!important;
padding:.12em .25em .2em!important;
margin:0 0 .25em!important;
color:#b8b8c8!important;
opacity:.9;
}

/* ============================================================
カテゴリーページ：ジャンルカード
PC 3×2 / 中幅 2×3 / スマホ 2×3
============================================================ */
.category .cat-guide-grid{
display:grid!important;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:4px 5px!important;
width:100%!important;
max-width:none!important;
margin:0!important;
padding:0!important;
box-sizing:border-box!important;
align-items:stretch!important;
justify-items:stretch!important;
}

.category .cat-guide-grid > *{
width:100%!important;
max-width:none!important;
min-width:0!important;
margin:0!important;
padding:0!important;
box-sizing:border-box!important;
justify-self:stretch!important;
align-self:stretch!important;
}

/* WPがaをpで包む対策 */
.category .cat-guide-grid > p{
display:block!important;
font-size:0!important;
line-height:0!important;
margin:0!important;
padding:0!important;
}

.category .cat-guide-grid > p br{
display:none!important;
}

.category .cat-guide-card,
.category .cat-guide-grid a.cat-guide-card,
.category .cat-guide-grid > p a.cat-guide-card{
display:block!important;
width:100%!important;
max-width:none!important;
height:100%!important;
min-width:0!important;
margin:0!important;
padding:0!important;
font-size:0!important;
line-height:0!important;
text-decoration:none!important;
color:inherit!important;
background:transparent!important;
border:none!important;
box-sizing:border-box!important;
transition:background .15s ease, filter .15s ease;
}

.category .cat-guide-card:hover{
transform:none!important;
filter:none!important;
text-decoration:none!important;
}

.category .cat-guide-title{
display:block!important;
width:100%!important;
max-width:none!important;
box-sizing:border-box!important;
margin:0!important;
padding:.28em .46em .26em!important;
font-size:11.6px!important;
line-height:1.18!important;
color:#fff!important;
background:linear-gradient(90deg,#ff6fb5,#8c63ee)!important;
border:1px solid rgba(255,255,255,.24)!important;
border-bottom:none!important;
font-weight:600!important;
letter-spacing:.005em!important;
text-shadow:none!important;
box-shadow:none!important;
}

.category .cat-guide-text{
display:block!important;
width:100%!important;
max-width:none!important;
box-sizing:border-box!important;
margin:0!important;
padding:.24em .16em .28em .18em!important;
font-size:9.6px!important;
line-height:1.28!important;
color:#817989!important;
background:rgba(255,255,255,.06)!important;
border:1px solid rgba(255,255,255,.08)!important;
border-top:none!important;
text-shadow:none!important;
box-shadow:none!important;
font-weight:400!important;
}

.category .cat-guide-card:hover .cat-guide-title{
background:linear-gradient(90deg,#ff82c0,#9a72f5)!important;
}

.category .cat-guide-card:hover .cat-guide-text{
background:rgba(255,255,255,.075)!important;
}

/* 親カテゴリ：同人エロゲーム総合一覧カード 赤系強調版 */
.category .cat-guide-grid a.cat-guide-card[href="https://remelaboratory.com/category/game/"] .cat-guide-title,
.category .cat-guide-grid > p a.cat-guide-card[href="https://remelaboratory.com/category/game/"] .cat-guide-title{
background:linear-gradient(90deg,#ff2d78 0%,#e0005a 48%,#9b1bff 100%)!important;
color:#fff!important;
border-color:rgba(255,255,255,.28)!important;
font-weight:700!important;
}

.category .cat-guide-grid a.cat-guide-card[href="https://remelaboratory.com/category/game/"] .cat-guide-text,
.category .cat-guide-grid > p a.cat-guide-card[href="https://remelaboratory.com/category/game/"] .cat-guide-text{
background:rgba(255,45,120,.085)!important;
color:#8d7480!important;
border-color:rgba(255,90,150,.14)!important;
}

.category .cat-guide-grid a.cat-guide-card[href="https://remelaboratory.com/category/game/"]:hover .cat-guide-title,
.category .cat-guide-grid > p a.cat-guide-card[href="https://remelaboratory.com/category/game/"]:hover .cat-guide-title{
background:linear-gradient(90deg,#ff3f86 0%,#f01468 48%,#a83cff 100%)!important;
}

.category .cat-guide-grid a.cat-guide-card[href="https://remelaboratory.com/category/game/"]:hover .cat-guide-text,
.category .cat-guide-grid > p a.cat-guide-card[href="https://remelaboratory.com/category/game/"]:hover .cat-guide-text{
background:rgba(255,45,120,.11)!important;
}

/* 中幅：2×3 */
@media screen and (max-width:1100px){
.category .cat-guide-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

/* ============================================================
スマホ表示：2列維持＋余白圧縮
============================================================ */
@media screen and (max-width:768px){
.category #breadcrumb{
font-size:10.8px!important;
line-height:1.3!important;
padding:4px 8px 0!important;
}

.category #breadcrumb a,
.category #breadcrumb span{
font-size:10.8px!important;
line-height:1.3!important;
}

.category h1.catpage_title{
font-size:.78em!important;
line-height:1.28!important;
padding:.1em 0 .16em!important;
margin-bottom:.22em!important;
}

.category .cat-post-main{
padding:0 0 0.8em!important;
}

.category .cat-post-main .content{
margin-left:0!important;
margin-right:0!important;
padding-left:0!important;
padding-right:0!important;
}

.category .wrap-post-title{
margin-left:0!important;
margin-right:0!important;
}

.category .wrap-grid-post-box{
margin-left:0!important;
margin-right:0!important;
padding-left:0!important;
padding-right:0!important;
}

.category .cat-guide-mini{
width:100%!important;
max-width:none!important;
margin-left:0!important;
margin-right:0!important;
margin-bottom:7px!important;
padding:3px 0!important;
box-sizing:border-box!important;
}

.category .cat-guide-mini h2{
font-size:12.4px!important;
line-height:1.28!important;
margin-bottom:.22em!important;
padding-bottom:.15em!important;
}

.category .cat-guide-mini > p{
font-size:9.2px!important;
line-height:1.36!important;
padding:.1em .2em .16em!important;
margin-bottom:.22em!important;
}

.category .cat-guide-grid{
grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:2px!important;
column-gap:2px!important;
row-gap:2px!important;
}

.category .cat-guide-title,
.category .cat-guide-text{
display:block!important;
width:100%!important;
max-width:none!important;
min-width:0!important;
height:auto!important;
min-height:0!important;
margin:0!important;
box-sizing:border-box!important;
text-align:left!important;
}

.category .cat-guide-title{
font-size:10.4px!important;
line-height:1.12!important;
padding:.22em .3em .2em!important;
}

.category .cat-guide-text{
font-size:8.6px!important;
line-height:1.18!important;
padding:.18em .08em .2em .1em!important;
}
}


#sidebar .widget a {
    color: #fff;
}




.review-mini-check{
margin:0.2em 0 0.6em!important;
padding:0!important;
}
.review-mini-check .review-mini-check-item{
margin:0!important;
padding:0!important;
}



@media screen and (min-width:769px){
#onlynav .menu{
display:flex;
justify-content:center;
align-items:stretch;
}
#onlynav .menu > li{
float:none!important;
}
#onlynav .menu > li > a{
padding-left:38px!important;
padding-right:38px!important;
}
}



#main-wrap {
    margin: 10px auto;
}


.wrap-post-title{
line-height:0.7!important;
}
