:root {
  --ink: #241c28;
  --muted: #756a78;
  --pink: #e85d8d;
  --pink2: #f8dce7;
  --paper: #fceef4;
  --line: #eadde3;
  --dark: #2b1d2e;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    sans-serif;
  line-height: 1.7;
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* 絞り込みチェックからの遷移時、ページが唐突に白く切り替わらないようフェードアウトさせる */
html.is-navigating body {
  opacity: 0.35;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}
.sp-only {
  display: none;
}
.pc-only {
  display: block;
}

/* ========================================
  Age Gate
======================================== */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(43, 29, 46, 0.97), rgba(232, 93, 141, 0.9));
}

html.age-verified .age-gate {
  display: none;
}

.age-gate-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}
.age-gate-box p {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 14px;
}
.age-gate-box .age-gate-eyebrow {
  margin: 0 0 12px;
  color: var(--pink);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 12px;
}

.age-gate-box h2 {
  margin: 0 0 16px;
  font-size: 26px;
}



.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.age-gate-actions .btn {
  width: 100%;
}

.age-gate-box .age-gate-note {
  margin: 20px 0 0;
  font-size: 11px;
}
@media (max-width: 560px) {
.age-gate {
  padding: 5vw;
}

.age-gate-box {
  padding: 6vw 5vw;
}
.age-gate-box p {
  margin: 2vw 0 3vw;
  font-size: 3.2vw;
}
.age-gate-box .age-gate-eyebrow {
  margin: 0 0 1vw;
  font-size: 2vw;
}

.age-gate-box h2 {
  margin: 0 0 3vw;
  font-size: 5vw;
}



.age-gate-actions {
  gap: 2vw;
}

.age-gate-box .age-gate-note {
  margin: 4vw 0 0;
  font-size: 2.7vw;
}
}


/* ========================================
  Page Top
======================================== */

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 150px;
  height: 150px;
  padding: 0;
  border: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  background: none;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top.is-footer-near {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
@media (max-width: 560px) {
.page-top {
  right: 2vw;
  bottom: 2vw;
  width: 20vw;
  height: auto;
}
}


/* ========================================
  Header
======================================== */

.site-header {
  position: fixed;
  width: 100%;
  top: 20px;
  z-index: 58;
}

.header-inner {
  height: 76px;
  width: 94%;
  padding: 0 40px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(252, 238, 244, 0.94);
  border-radius: 100vh;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-ja {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-en {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--pink);
}

.primary-nav ul,
.footer-grid ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-weight: 700;
  font-size: 14px;
}

.primary-nav .menu-item-sale > a {
  color: var(--pink);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-toggle,
.site-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}

.menu-toggle {
  display: none;
}

.menu-toggle:hover,
.site-search-toggle:hover {
  background: var(--pink2);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(43, 29, 46, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* 検索は虫眼鏡アイコンの直下に、メガメニュー的なパネルとして展開する(スマホも同じ挙動)。 */
.site-search-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 640px;
  margin-top: 8px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(44, 25, 39, 0.15);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}

.site-search-mega.is-open {
  max-height: 100px;
  opacity: 1;
  padding: 16px 20px;
}

.site-search-mega-form {
  display: flex;
  gap: 10px;
}

.site-search-mega-form input {
  flex: 1;
  height: 44px;
}

.site-search-mega-form button {
  height: 44px;
  min-height: 44px;
  min-width: 100px;
  padding: 0 20px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .site-search-mega {
    width: 92vw;
    padding: 0;
  }
  .site-search-mega.is-open {
    padding: 3vw 4vw;
  }
  .site-search-mega-form {
    gap: 2vw;
  }
  .site-search-mega-form input {
    height: 10vw;
    min-width: 0;
  }
  .site-search-mega-form button {
    height: 10vw;
    padding: 0 4vw;
    font-size: 3vw;
    min-width: 18vw;
  }
}


/* ========================================
  Breadcrumbs
======================================== */

.breadcrumbs {
  padding: 18px 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.breadcrumbs li {
  font-size: 12px;
  color: var(--muted);
}

.breadcrumbs a {
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--pink);
}

.breadcrumbs-sep {
  color: var(--line);
}


/* ========================================
  Hero
======================================== */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    135deg,
    #fff 0%,
    #fff5f8 60%,
    #f7e7ef 100%
  );
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/kumiko-fv-optimized.jpg);
  background-size: cover;
  background-position: top center;
  z-index: 0;
}

.hero::after {
  z-index: 1;
  filter: blur(22px);
  transform: scale(1.15);
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 40%,
    transparent 70%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 40%,
    transparent 70%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: block;
  color: var(--pink);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-bottom: 12px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero h1 span {
  color: var(--pink);
}
.hero h1 span rt {
  font-size: 25%;
  color:var(--pink2);;
  opacity: 0.6;
  padding: 0 10px 2px;
}

.hero-copy > p {
  font-size: 17px;
  color: var(--pink2);
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 30px 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-weight: 800;
  min-width: 200px;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
}
.kumiko-cta .btn-primary {
  background: var(--pink);
  color: #fff;
}

.btn-fanza {
  background: #e6342c;
}

.btn-fanza:hover {
  background: #c6241d;
}

.btn-dlsite {
  background: #1e6fd9;
}

.btn-dlsite:hover {
  background: #1857ad;
}

.btn-x {
  background: #000;
  color: #fff;
}

.btn-x:hover {
  background: #2b2b2b;
}

.btn-line {
  background: #06c755;
  color: #fff;
}

.btn-line:hover {
  background: #05a648;
}

.work-share {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0 0;
}

.work-share-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.work-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.work-share-icon:hover {
  transform: translateY(-2px);
}

.work-share-icon--x {
  background: #000;
  color: #fff;
}

.work-share-icon--x:hover {
  background: #2b2b2b;
}

.work-share-icon--line {
  background: #06c755;
  color: #fff;
}

.work-share-icon--line:hover {
  background: #05a648;
}

.work-share-icon--copy {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.work-share-icon--copy:hover {
  background: var(--pink2);
  color: var(--pink);
}

.work-share-copied {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 8px;
  white-space: nowrap;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(2px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.work-share-copied.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-wide {
  width: 100%;
  margin-top: 22px;
}

.tag-samples,
.chips {
  display: flex;
  gap: 2px 7px;
  flex-wrap: wrap;
  max-width: 760px;
}

.tag-samples span,
.chips span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100vh;
  padding: 2px 11px;
  font-size: 12px;
}

.chips a {
  display: inline-flex;
}

.tag-samples a:hover span {
  background: var(--pink2);
}

.chip-reserve {
  background: var(--dark) !important;
  color: #fff !important;
  border-color: transparent !important;
  font-weight: 800;
  align-self: flex-start;
}

.chip-exclusive {
  padding: 2px 11px !important;
  font-size: 12px !important;
  border-color: transparent !important;
  color: #fff !important;
  font-weight: 800;
  align-self: flex-start;
}
.chip-exclusive.is-fanza { background: #e6342c !important; }
.chip-exclusive.is-dlsite { background: #1e6fd9 !important; }

.chip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 8px;
}

.chip-tags a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.chip-tags a:hover {
  color: var(--pink);
}

.hero-character {
  align-self: end;
}

.hero-character img {
  width: 100%;
  max-height: 610px;
  object-fit: cover;
  object-position: 18% 5%;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 30px 70px rgba(66, 30, 50, 0.13);
}


/* ========================================
  Search Panel
======================================== */

.search-panel-wrap {
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.search-panel-wrap .container {
  width: calc(100% - 40px);
  max-width: 1180px;
}

.search-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 16px 50px rgba(47, 31, 42, 0.12);
}

.search-panel .field select {
  transition: opacity 0.15s ease;
}

/* 絞り込み条件上、そのタクソノミーに選択可能なタームが0件の場合 */
.search-panel .field.is-unavailable {
  opacity: 0.48;
}

.search-panel .field.is-unavailable select {
  cursor: not-allowed;
}

.search-panel.is-loading .field select {
  opacity: 0.5;
}

.search-panel-loading {
  display: none;
  position: absolute;
  bottom: 35px;
  right: 30px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: konomikku-spin 0.7s linear infinite;
}

.search-panel.is-loading .search-panel-loading {
  display: block;
}

@keyframes konomikku-spin {
  to {
    transform: rotate(360deg);
  }
}

.search-panel-wrap--archive {
  margin-top: 0;
}

.search-panel-wrap--archive .search-panel {
  box-shadow: none;
}

.search-panel-toggle {
  display: none;
}

.search-panel .field {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 14px 4px;
}

.search-panel label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--muted);
}

.search-panel .field select {
  height: 28px;
  border: 0;
  padding: 0;
}

input,
select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
}

.search-panel button {
  grid-column: 1 / -1;
  border: 0;
  background: var(--dark);
  color: #fff;
  border-radius: 12px;
  padding: 0 22px;
  height: 48px;
  font-weight: 800;
}


/* ========================================
  Section
======================================== */

.section {
  padding: 60px 0 120px;
}

.section-soft {
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 14px;
  color: var(--pink);
  white-space: nowrap;
  transition: color 0.2s, transform 0.2s;
}

.section-head a:hover {
  color: var(--dark);
  transform: translateX(3px);
}

.sale-section .section-head {
  justify-content: center;
  text-align: center;
  margin-bottom: 0;
}

.sale-more-row {
  display: flex;
  justify-content: center;
  margin: 20px 0 60px;
}

.sale-more-btn {
  min-height: 58px;
  padding: 0 44px;
  font-size: 17px;
}

.section h2 {
  font-size: 34px;
  line-height: 1.3;
  margin: 0 0 30px;
}

@media (max-width: 560px) {
  .section h2 {
  font-size: 6vw;
  margin: 0 0 4vw;
  }
  .sale-section .section-head {
    justify-content: center;
    flex-direction:row;
  }
  .sale-more-row {
  margin: 6vw 0 10vw;
}
}

/* ========================================
  Genres
======================================== */

.genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.genre-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 130px;
  text-align: center;
}

.genre-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
}

.genre-item:hover .genre-icon {
  border-color: var(--pink);
  transform: translateY(-4px);
}

.genre-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.genre-icon-fallback {
  font-size: 48px;
  font-weight: 800;
  color: var(--pink);
}

.genre-name {
  font-size: 13px;
  font-weight: 700;
}


/* ========================================
  Comic
======================================== */

.comic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.comic-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: 0.2s;
}

.comic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(44, 25, 39, 0.08);
}

.comic-thumb {
  position: relative;
  aspect-ratio: 12 / 10;
  background: #f3edf0;
  overflow: hidden;
}

.badge-reserve {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  box-shadow: 0 5px 16px rgba(44, 25, 39, 0.2);
}

.ribbon-exclusive {
  position: absolute;
  top: 10px;
  left: -32px;
  z-index: 3;
  width: 110px;
  padding: 3px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(44, 25, 39, 0.25);
}
.ribbon-exclusive.is-fanza { background: #e6342c; }
.ribbon-exclusive.is-dlsite { background: #1e6fd9; }

.comic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image {
  height: 100%;
  display: grid;
  place-items: center;
  color: #a99ca4;
  font-weight: 800;
}

.comic-card-body {
  padding: 16px;
}

.card-creator {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  margin: 10px 0 0;
  line-height: 1.4;
}

.comic-card h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0 8px;
}

.card-creator + h3 {
  margin-top: 2px;
}

.rating {
  color: #c64371;
  font-weight: 900;
}

.card-offers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.card-offer .work-offer-price-wrap {
  margin-top: 2px;
  line-height: 1;
}

.card-offers.has-multiple {
  gap: 6px;
}

.card-offers.has-multiple .card-offer {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.card-offers.has-multiple .card-offer .work-offer-price-wrap {
  margin-top: 2px;
  line-height: 1;
}

.card-offer-store {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--muted);
}

.card-offer-store.is-fanza {
  background: #e6342c;
}

.card-offer-store.is-dlsite {
  background: #1e6fd9;
}

.card-offer-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.card-offer-head .offer-sale {
  margin-left: 0;
}


/* ========================================
  Concierge
======================================== */

.concierge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}


/* ========================================
  Posts
======================================== */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: 0.2s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(44, 25, 39, 0.08);
}

.post-card:hover img {
  transform: scale(1.04);
}

.post-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.post-card-body {
  padding: 20px;
}

.post-card-category {
  display: inline-block;
  margin: 0 8px 6px 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--pink2);
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
}

/* トップページの各コラムセクションアイコンと同じ配色(性癖ワード解説=青、はじめての作品ガイド=緑、情報局=水色)に揃える。 */
.post-card-category.is-r18word { background: rgba(30, 111, 217, 0.12); color: #1e6fd9; }
.post-card-category.is-beginner { background: rgba(47, 158, 92, 0.12); color: #2f9e5c; }
.post-card-category.is-information { background: rgba(28, 154, 163, 0.12); color: #1c9aa3; }

.post-card time {
  font-size: 12px;
  color: var(--muted);
}

.post-card h3,
.post-card h2 {
  font-size: 20px;
  margin: 8px 0;
}

.post-card p {
  color: var(--muted);
  font-size: 14px;
}


/* ========================================
  Page Hero
======================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 46px;
  background: var(--paper);
}

.page-hero h1 {
  font-size: 48px;
  color:var(--dark) ;
}

.page-hero.has-header-image .container {
  position: relative;
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  position: absolute;
  top: 0;
  /* .container の右端(width: min(var(--max), calc(100% - 40px)))と揃える */
  right: max(20px, calc((100% - var(--max)) / 2));
  width: 20%;
  height: 100%;
  object-fit: cover;
}

.page-hero-text {
  min-width: 0;
  max-width: 640px;
}

.fsti-page-ogp {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 60px;
  border-radius: 20px;
}
@media (max-width: 560px) {
.page-hero {
  padding: 8vw 0 6.5vw;
}
.page-hero p{
  font-size: 2.7vw;;
}
.fsti-page-ogp {
  margin: 0 auto 5vw;
  border-radius:10px;
}
}

/* ========================================
  Archive
======================================== */

.archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.archive-section {
  --max: 1400px;
}

.archive-sidebar {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  position: sticky;
  top: 116px;
  max-height: calc(100vh - 136px);
}

.archive-sidebar-scroll {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.archive-sidebar-submit {
  flex: none;
  margin-top: 16px;
}

@media (min-width: 901px) {
  .archive-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1300px) {
  .archive-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.filter-search {
  margin-bottom: 18px;
}

.filter-search label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--muted);
}

.filter-group {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.filter-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.filter-group summary {
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::after {
  content: "+";
  color: var(--pink);
  font-weight: 900;
}

.filter-group[open] summary::after {
  content: "−";
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

.filter-checkbox input {
  width: 16px;
  height: 16px;
  flex: none;
}

.filter-checkbox-name {
  flex: 1;
}

.filter-checkbox-count {
  color: var(--muted);
  font-size: 11px;
}

.filter-summary {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.archive-sort-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.archive-toolbar select {
  width: auto;
}

.archive-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-toggle {
  display: inline-flex;
  gap: 2px;
  background: var(--paper);
  border-radius: 999px;
  padding: 3px;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.view-toggle-btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(44, 25, 39, 0.12);
}

.ai-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ai-toggle-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.ai-toggle {
  display: inline-flex;
  gap: 2px;
  background: var(--paper);
  border-radius: 999px;
  padding: 3px;
}

.ai-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.ai-toggle-btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(44, 25, 39, 0.12);
}

@media (max-width: 560px) {
  .ai-toggle-label { display: none; }
}

.archive-grid.is-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.archive-grid.is-list .comic-card > a {
  display: flex;
  align-items: stretch;
}

.archive-grid.is-list .comic-thumb {
  flex: none;
  width: 220px;
  aspect-ratio: 16 / 10;
}

.archive-grid.is-list .comic-card-body {
  flex: 1;
  min-width: 0;
  padding: 20px 24px;
}

.archive-grid.is-list .card-offers {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-grid.is-list .card-offers.has-multiple .card-offer {
  min-width: 200px;
  flex: 1 1 200px;
}

.archive-grid.is-list .sale-card-end {
  margin-top: 4px;
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.archive-grid {
  margin-top: 10px;
}

.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.pagination a.page-numbers:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-1px);
}

.pagination .page-numbers.current {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.pagination .page-numbers.dots {
  background: transparent;
  border: 0;
  color: var(--muted);
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
  padding: 0 18px;
  background: var(--paper);
}


/* ========================================
  Comic Detail
======================================== */

.comic-detail-header {
  margin-bottom: 32px;
}

.comic-detail-header h1 {
  font-size: 36px;
  line-height: 1.35;
  margin: 14px 0 0;
}

.comic-detail-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: start;
}

.comic-detail-image img {
  width: 100%;
  border-radius: 20px;
}

.big-rating {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0;
}

.big-rating b {
  font-size: 30px;
  color: #c64371;
}

.big-rating span {
  font-size: 12px;
  color: var(--muted);
}

.spec-list {
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.spec-list dt {
  font-weight: 800;
}

.spec-list dd {
  margin: 0;
}

.entry-content-wrap:not(.is-expanded) .entry-content {
  max-height: 150px;
  overflow: hidden;
}

.entry-content-more {
  display: block;
  margin: 14px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
}

.entry-content-more:hover {
  background: var(--paper);
}

.related-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.related-tab-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: var(--muted);
}

.related-tab-btn.is-active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.related-tab-panel {
  display: none;
}

.related-tab-panel.is-active {
  display: block;
}

.related-tab-more {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 13px;
}

.work-analysis-side {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin:0 auto 30px;
}

.work-analysis-radar {
  flex: 0 0 380px;
}

.work-analysis-radar-svg {
  display: block;
  width: 100%;
  height: auto;
}

.work-analysis-side .work-analysis-scores {
  flex: 1;
  min-width: 0;
}

@media (max-width: 560px) {
  .work-analysis-side {
    flex-direction: column;
  }
  .work-analysis-radar {
    flex: none;
    width: 100%;
    max-width: 84vw;
  }
  .work-analysis-side .work-analysis-scores {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

.work-analysis-catch {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 10px;
}

.work-analysis-summary {
  margin: 0 0 16px;
  line-height: 1.8;
}

.work-analysis-scores {
  list-style: none;
  margin: 0;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border:2px solid var(--paper);
  border-radius: 10px;
}

.work-analysis-scores li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px solid var(--paper);
  padding: 0 0 6px;
}
.work-analysis-scores li:last-child {
  border: none;
  padding: 0;
}

.work-analysis-score-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.work-analysis-score-stars {
  display: inline-flex;
  gap: 2px;
}

.work-analysis-score-stars .star {
  font-size: 14px;
  line-height: 1;
  color: var(--line);
}

.work-analysis-score-stars .star.is-filled {
  color: var(--pink);
}

.work-analysis-point {
  background: var(--paper);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
}

.work-analysis-recommend-label {
  font-weight: 800;
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--muted);
}

.work-analysis-recommend ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.work-analysis-recommend li {
  font-size: 13px;
  font-weight: 700;
  background: var(--pink2);
  color: var(--pink);
  padding: 4px 12px;
  border-radius: 999px;
}

.work-analysis-disclaimer {
  margin: 16px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trend-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.trend-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.trend-card-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}

.trend-card-value {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.trend-sparkline {
  display: block;
  width: 100%;
  height: 80px;
}

.trend-card-range {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
  text-align: right;
}

@media (max-width: 560px) {
  .trend-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================
  Article / Column
======================================== */

.content-narrow {
  max-width: 820px;
}

.column-container {
  max-width: 900px;
}

.article-toc {
  margin: 32px 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.article-toc-title {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 14px;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.article-toc-item {
  margin: 0 0 8px;
  font-size: 14px;
}

.article-toc-level-2 {
  counter-increment: toc;
}

.article-toc-item::before {
  content: counter(toc) ".";
  margin-right: 6px;
  color: var(--pink);
  font-weight: 800;
}

.article-toc-item a {
  color: var(--ink);
  text-decoration: none;
}

.article-toc-item a:hover {
  color: var(--pink);
  text-decoration: underline;
}

.article-toc-level-3 {
  margin-left: 20px;
  font-size: 13px;
}

.article-toc-level-3::before {
  content: "-";
  color: var(--muted);
}

.article-follow-cta {
  margin: 48px 0 0;
  padding: 32px;
  border-radius: 20px;
  background: var(--paper);
  text-align: center;
}

.article-follow-cta p {
  margin: 0 0 16px;
  font-weight: 700;
}

.article-follow-account {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 16px;
}

.article-follow-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.article-follow-account-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.article-follow-account-text strong {
  font-size: 14px;
}

.article-follow-account-text span {
  color: var(--muted);
  font-size: 13px;
}

.entry-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}

.entry-content p {
  margin: 0 0 1.7em;
}


/* ----------------------------------------
  Heading
---------------------------------------- */

.entry-content h2 {
  position: relative;
  scroll-margin-top: 120px;
  margin: 3em 0 1.2em;
  padding: 14px 18px 14px 22px;
  background: var(--paper);
  border-radius: 12px;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--ink);
}

.entry-content h2::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--pink);
  border-radius: 12px 0 0 12px;
}

.entry-content h3 {
  scroll-margin-top: 120px;
  margin: 2.2em 0 0.9em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pink2);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--ink);
}

.entry-content h4 {
  margin: 1.8em 0 0.7em;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--ink);
}


/* ----------------------------------------
  List
---------------------------------------- */

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.8em;
  padding: 18px 20px 18px 42px;
  background: #fff8fb;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.entry-content li {
  margin: 0 0 0.6em;
}

.entry-content li:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------
  Link
---------------------------------------- */

.entry-content a {
  color:var(--pink);
  font-weight: 700;
  transition:0.2s all;
}

.entry-content a:hover {
  color: var(--dark);
}

.entry-content a.wp-element-button {
  background-color:var(--pink);
  color:#fff;
}

.entry-content a.wp-element-button:hover {
  background-color: var(--dark);
}


/* ----------------------------------------
  Article CTA
---------------------------------------- */

.entry-content .article-search-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 1.8em 0 2.4em;
  padding: 16px 20px;
  background: var(--pink);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(232, 93, 141, 0.16);
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.entry-content .article-search-link::after {
  content: "→";
  flex: none;
  font-size: 18px;
  transition: transform 0.2s;
}

.entry-content .article-search-link:hover {
  color: #fff;
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 93, 141, 0.22);
  text-decoration: none;
}

.entry-content .article-search-link:hover::after {
  transform: translateX(3px);
}

.is-style-marker strong {
  background: linear-gradient(transparent 65%, #ffe98a 65%);
  font-weight: 700;
  padding: 0 .1em;
}


/* ----------------------------------------
  Blockquote
---------------------------------------- */

.entry-content blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  background: var(--paper);
  border-radius: 12px;
  color: var(--muted);
  font-style: normal;
  font-size: 95%;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------
  Figure / Image
---------------------------------------- */

.entry-content figure {
  margin: 2.2em 0;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.entry-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}


/* ----------------------------------------
  Table
---------------------------------------- */

.entry-content table {
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-right-color: #000;
  border-bottom-color: #000;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  font-size: 15px;
}

.entry-content th,
.entry-content td {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry-content th:last-child,
.entry-content td:last-child {
  border-right: 0;
}

.entry-content tr:last-child th,
.entry-content tr:last-child td {
  border-bottom: 0;
}

.entry-content thead th {
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.entry-content tbody th {
  background: #fff8fb;
  color: var(--ink);
  font-weight: 800;
}

.entry-content .wp-block-buttons {
  justify-content: center;
}


/* ----------------------------------------
  Strong
---------------------------------------- */

.entry-content strong {
  font-weight: 800;
}


/* ----------------------------------------
  HR
---------------------------------------- */

.entry-content hr {
  height: 1px;
  margin: 3em 0;
  border: 0;
  background: var(--line);
}


/* ----------------------------------------
  Article Head
---------------------------------------- */

.article-head {
  margin-bottom: 32px;
}

.article-head .eyebrow {
  margin-bottom: 10px;
}

.article-head h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.4;
}

.article-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.article-category {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--pink2);
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
}

.article-cover {
  display: block;
  width: 100%;
  margin: 0 0 36px;
  border-radius: 20px;
}

.column-related {
  margin: 40px 0;
}

.column-related__label {
  margin: 0 0 10px;
  color: #e83e70;
  font-size: 14px;
  font-weight: 700;
}

.column-related__card {
  display: flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  color: #333;
  text-decoration: none;
  transition: 0.2s ease;
}

.column-related__card:hover {
  border-color: #f2a8bd;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.column-related__image {
  width: 280px;
  flex-shrink: 0;
}

.column-related__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.column-related__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
}

.column-related__category {
  margin-bottom: 7px;
  color: #e83e70;
  font-size: 12px;
  font-weight: 700;
}

.column-related__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}

.column-related__more {
  margin-top: 10px;
  color: #e83e70;
  font-size: 13px;
  font-weight: 700;
}

/* SP */
@media (max-width: 767px) {
  .column-related {
    margin: 28px 0;
  }

  .column-related__image {
    width: 38%;
  }

  .column-related__body {
    padding: 12px;
  }

  .column-related__category {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .column-related__title {
    font-size: 13px;
    line-height: 1.5;
  }

  .column-related__more {
    margin-top: 6px;
    font-size: 11px;
  }
}


/* ========================================
  Smartphone
======================================== */

@media (max-width: 560px) {

  .entry-content {
    font-size: 15px;
    line-height: 1.9;
  }

  .entry-content p {
    margin-bottom: 1.6em;
  }


  /* Heading */

  .entry-content h2 {
    margin-top: 2.5em;
    padding: 3.5vw 4vw 3.5vw 5vw;
    border-radius: 2.5vw;
    font-size: 5.2vw;
  }

  .entry-content h2::before {
    width: 1vw;
    border-radius: 2.5vw 0 0 2.5vw;
  }

  .entry-content h3 {
    margin-top: 2em;
    padding-bottom: 2vw;
    font-size: 4.5vw;
  }

  .entry-content h4 {
    font-size: 4vw;
  }


  /* List */

  .entry-content ul,
  .entry-content ol {
    padding: 4vw 4vw 4vw 9vw;
    border-radius: 2.5vw;
  }


  /* CTA */

  .entry-content .article-search-link {
    gap: 3vw;
    margin: 5vw 0 7vw;
    padding: 4vw 4.5vw;
    border-radius: 2.5vw;
    font-size: 3.8vw;
  }

  .entry-content .article-search-link::after {
    font-size: 4.5vw;
  }


  /* Blockquote */

  .entry-content blockquote {
    margin: 5vw 0;
    padding: 4vw 4.5vw;
    border-left-width: 1vw;
    border-radius: 0 2.5vw 2.5vw 0;
  }


  /* Figure */

  .entry-content figure {
    margin: 6vw 0;
  }

  .entry-content img {
    border-radius: 3vw;
  }

  .entry-content figcaption {
    margin-top: 2vw;
    font-size: 3vw;
  }


  /* Table */

  .entry-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    margin: 6vw 0;
    border-radius: 2.5vw;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .entry-content th,
  .entry-content td {
    min-width: 130px;
    padding: 3vw 3.5vw;
    font-size: 13px;
  }


  /* HR */

  .entry-content hr {
    margin: 8vw 0;
  }


  /* Article Head */

  .article-head {
    margin-bottom: 6vw;
  }

  .article-head h1 {
    margin-bottom: 2vw;
    font-size: 6vw;
  }

  .article-meta {
    font-size: 3vw;
  }

  .article-cover {
    margin-bottom: 7vw;
    border-radius: 3vw;
  }
}
.not-found {
  text-align: center;
}

.not-found-figure {
  margin: 0 0 28px;
}

.not-found-figure img {
  margin: 0 auto 12px;
  border-radius: 50%;
}

.not-found-figure p {
  color: var(--muted);
  font-weight: 700;
}

.not-found-search {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 24px;
}

.not-found-search input {
  flex: 1;
}

.not-found-search button {
  flex: none;
  width: auto;
  min-width: 0;
  padding: 0 24px;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 560px) {
  .kumiko-page .entry-content h2:not(:first-child) {
  margin-top: 8vw;
  padding-top: 8vw;
}
  .not-found-search {
    flex-direction: column;
  }
}

.kumiko-profile-wrap {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin: 50px 0 24px;
}

.kumiko-profile-media {
  flex: 0 0 250px;
  display: flex;
  align-items: center;
  justify-content: center;
      padding: 0px 60px;
}

.kumiko-profile-image {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  border-radius: 20px;
  background: none;
  object-fit: contain;
}

.entry-content table.kumiko-profile {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

@media (max-width: 700px) {
  .kumiko-profile-wrap {
    flex-direction: column;
  }

  .kumiko-profile-media {
    flex: none;
    max-width: 28vw;
    height: auto;
    margin: 0 auto;
    padding: 0;
  }
}

.kumiko-profile th,
.kumiko-profile td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.kumiko-profile th {
  width: 140px;
  color: var(--pink);
  font-weight: 800;
  background: var(--paper);
}

.kumiko-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.kumiko-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 200px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
}

.kumiko-steps li:not(:last-child)::after {
  content: "→";
  margin-left: auto;
  color: var(--pink);
  font-weight: 900;
}

.kumiko-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.kumiko-cta {
  margin: 32px 0 8px;
  text-align: center;
}

.kumiko-combo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.entry-content .kumiko-combo-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kumiko-combo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(76, 43, 57, 0.1);
}

.kumiko-combo-label {
  font-weight: 800;
  color: var(--pink);
}

.kumiko-combo-comment {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.parody-term-section {
  padding: 60px 0 20px;
}
.parody-term-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.parody-term-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.parody-term-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(76, 43, 57, 0.1);
}

.parody-term-label {
  font-weight: 800;
  color: var(--pink);
}

.parody-term-suffix {
  font-size: 80%;
  font-weight: 700;
}

.parody-term-count {
  font-size: 12px;
  color: var(--muted);
}

.kumiko-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
  align-items: stretch;
}

@media (max-width: 900px) {
  .kumiko-routes {
    grid-template-columns: 1fr 1fr;
  }
}

.kumiko-route {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.kumiko-route h3 {
  margin: 0;
}

.kumiko-route .kumiko-steps {
  margin: 4px 0 0;
}

.kumiko-route .btn {
  align-self: flex-start;
  margin-top: auto;
  color: #fff;
  text-decoration: none;
}

.kumiko-route-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.kumiko-faq {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kumiko-faq-item {
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.kumiko-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.kumiko-faq-item summary::-webkit-details-marker {
  display: none;
}

.kumiko-faq-icon {
  flex: none;
  color: var(--pink);
  font-size: 12px;
  transition: transform 0.25s ease;
}

.kumiko-faq-item[open] .kumiko-faq-icon {
  transform: rotate(180deg);
}

.kumiko-faq-body {
  height: 0;
  overflow: hidden;
  transition: height 0.25s ease;
}

.kumiko-faq-item[open] .kumiko-faq-body {
  height: auto;
}

.kumiko-faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 560px) {
  .kumiko-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .kumiko-steps li:not(:last-child)::after {
    content: "↓";
    margin-left: 0;
    align-self: center;
  }

  .kumiko-steps li {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .kumiko-combo-grid {
    grid-template-columns: 1fr;
  }

  .kumiko-routes {
    grid-template-columns: 1fr;
  }
}


/* ========================================
  Contact Form 7
======================================== */

.contact-form-wrap {
  margin-top: 10px;
}

.contact-form-wrap p {
  margin: 0 0 20px;
}

.contact-form-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-wrap textarea {
  width: 100%;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  font: inherit;
  resize: vertical;
}

.contact-form-wrap input[type="submit"] {
  border: 0;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  min-height: 52px;
  min-width: 200px;
  padding: 0 32px;
  font-weight: 800;
  cursor: pointer;
}

.contact-form-wrap input[type="submit"]:hover {
  background: var(--dark);
}

.wpcf7-not-valid-tip {
  display: block;
  color: #c64371;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}

.wpcf7-response-output {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.wpcf7-mail-sent-ok {
  border-color: var(--pink);
  color: var(--pink);
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  border-color: #c64371;
  color: #c64371;
}


/* ========================================
  Footer
======================================== */

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 60px 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  font-size: 28px;
  font-weight: 900;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 18px;
  font-size: 12px;
  color: #c9bcc8;
}


/* ========================================
  Tablet
======================================== */

@media (max-width: 900px) {

  
  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 60;
    width: min(320px, 86vw);
    background: #fff;
    box-shadow: none;
    padding: 28px 24px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
    box-shadow: 20px 0 50px rgba(44, 25, 39, 0.18);
  }

  .primary-nav ul {
    display: grid;
    gap: 4vw;
  }
  .primary-nav a {
    font-size: 3.7vw;
}

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
padding-top: 18vw;
        padding-bottom: 8vw;
    }

  .hero-character {
    max-width: 560px;
    margin: auto;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .comic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .comic-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .archive-layout {
    grid-template-columns: 1fr;
  }

  .archive-sidebar {
    display: none;
  }

  .page-hero-bg img {
    right: 0;
    width: 45%;
    mask-image: linear-gradient(to right, transparent 0%, #000 40%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%);
  }

  .page-hero-text {
    text-shadow:
      0 0 6px rgba(255, 255, 255, 0.95),
      0 0 14px rgba(255, 255, 255, 0.95),
      0 0 28px rgba(255, 255, 255, 0.9);
  }
}


/* ========================================
  Smartphone
======================================== */

@media (max-width: 560px) {
  .sp-only {
  display: block;
}
  .pc-only {
  display: none;
}
.eyebrow {
    font-size: 2.7vw;
    margin-bottom: 2vw;
}
.hero-actions {
    gap: 2.5vw;
    margin: 5vw 0;
    font-size: 3.4vw;
}
.btn {
    min-height: 4vw;
    padding: 2vw 3vw;
    min-width: 100%;
}
  .header-inner {
  height: 10vw;
  width: 94%;
  padding: 0 3vw 0 5vw;
}
    .hero-grid {
padding-top: 18vw;
        padding-bottom: 8vw;
    }
.brand {
  width: 24%;
}
  .container {
    width:90vw;
  }

  .hero::before, .hero::after {
    background-position: top right -33vw;
}

  .hero h1 {
    font-size: 8.5vw;
  }
  .hero h1 span rt {
  padding: 0 2vw 0.3vw;
}
  .hero-copy > p {
    font-size: 3.2vw;
}


  .hero-actions {
    display: grid;
  }

  .search-panel-wrap {
    margin-top: 5.1vw;
  }

  .search-panel-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100vw;
    padding: 3.2vw 4.5vw;
    font-size: 3.4vw;
    font-weight: 800;
    color: var(--ink);
  }

  .search-panel-toggle-icon {
    font-size: 4.2vw;
    font-weight: 900;
    color: var(--pink);
    line-height: 1;
  }

  .search-panel-wrap:not(.is-open) .search-panel {
    display: none;
  }

  .search-panel-wrap.is-open .search-panel {
    margin-top: 3vw;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-panel button {
    border-radius: 100vw;
    padding: 3vw;
}

  .archive-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 3.1vw;
  }

  .archive-toolbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .archive-grid.is-list .comic-thumb {
    width: 30vw;
  }

  .archive-grid.is-list .comic-card-body {
    padding: 3vw 4vw;
  }

  .section {
    padding: 6vw 0 8vw;
  }

  .comic-grid {
    gap: 3.1vw;
  }

  .comic-card-body {
    padding: 3.1vw;
  }

  .section-head,
  .concierge,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
    .section-head {
margin-bottom: 4vw;
    }

  .comic-detail-header h1 {
    font-size: 7.2vw;
  }

  .comic-detail-header {
    margin-bottom: 5.1vw;
  }

  .page-hero h1 {
    font-size: 8vw;
  }

  .footer-brand .brand {
    width: 100%;
  }

  .footer-grid ul {
    flex-direction: column;
  }

  .genre-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.1vw;
  }

  .genre-item {
    width: auto;
  }

  .genre-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}
/* v5: 販売先ごとの価格・リンク */
.work-offers {
  margin-top: 28px;
}

.work-offers h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.work-offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.work-offer-card:last-child {
  border-bottom: 1px solid var(--line);
}

.offer-sale {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--pink2);
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
}

/* 専売バッジ。隣接する販売サイト名(is-fanza/is-dlsite)と同じブランドカラーに揃える。 */
.offer-price {
  margin: 4px 0 0;
  color: var(--pink);
  font-size: 24px;
  font-weight: 900;
}

@media (max-width: 560px) {
  .work-offer-card {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ========================================
  Work Offer Detail
======================================== */

.work-offer-card {
  padding: 22px 0;
}

.work-offer-main {
  min-width: 0;
}

.work-offer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.work-offer-store {
  font-size: 16px;
}

.work-offer-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.work-offer-price-wrap .offer-price {
  margin: 0;
}

.offer-regular {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.offer-sale-end {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.offer-sale-end span {
  color: var(--pink);
  font-weight: 800;
}

.offer-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}

.offer-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 14px;
}

.offer-stat b {
  font-size: 16px;
}

.offer-stat small {
  color: var(--muted);
  font-size: 11px;
}

.offer-stat-rating b {
  color: #c64371;
}

.offer-ranks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.offer-ranks span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
}

.offer-ranks b {
  color: var(--ink);
}

.work-offer-action {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.work-offer-action .btn {
  min-width: 220px;
}

.work-offer-action > small {
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 560px) {
  .work-offer-card {
    gap: 4.6vw;
    padding: 5vw 0;
  }

  .work-offer-price-wrap {
    gap: 2vw;
  }

  .offer-sale-end {
    margin-top: 2vw;
  }

  .offer-stats {
    margin-top: 3vw;
  }

  .offer-ranks {
    margin-top: 2.5vw;
  }

  .work-offer-action {
    width: 100%;
  }

  .work-offer-action .btn {
    width: 100%;
    min-width: 0;
  }
}

/* ========================================
  Work Gallery
======================================== */

.work-gallery {
  width: 100%;
}

.work-gallery-main {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
}

.work-gallery-main img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.work-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(43, 29, 46, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.work-gallery-nav:hover {
  background: rgba(43, 29, 46, 0.8);
}

.work-gallery-prev {
  left: 14px;
}

.work-gallery-next {
  right: 14px;
}

@media (max-width: 560px) {
  .work-gallery-nav {
    width: 9vw;
    height: 9vw;
  }

  .work-gallery-prev {
    left: 2vw;
  }

  .work-gallery-next {
    right: 2vw;
  }
}

.work-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.work-gallery-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  transition:
    border-color 0.2s,
    opacity 0.2s;
}

.work-gallery-thumb:hover {
  opacity: 0.8;
}

.work-gallery-thumb.is-active {
  border-color: var(--pink);
}

.work-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

@media (max-width: 560px) {
  .work-gallery-main {
    border-radius: 4vw;
  }

  .work-gallery-thumbs {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5vw;
    margin-top: 2vw;
  }

  .work-gallery-thumb {
    border-radius: 2vw;
  }
}

/* ========================================
  Top SALE Works
======================================== */

.sale-section {
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
        padding: 60px 0;
}

.sale-controls {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 28px;
  box-shadow: 0 14px 34px rgba(44, 25, 39, 0.06);
}

.sale-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sale-tab-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sale-group-label {
  display: inline-flex;
  align-items: center;
  min-width: 66px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
}

@media (max-width: 560px) {
  .sale-sort {
    flex-direction: column;
    align-items: flex-start;
    gap: 2vw;
  }

  .sale-tab-group .sale-group-label {
    flex-basis: 100%;
  }

  .sale-group-label {
    min-width: 0;
  }
}

.sale-tab {
  border: 0;
  background: var(--pink2);
  color: var(--dark);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.sale-tab:hover {
  transform: translateY(-1px);
}

.sale-tab.is-active {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 6px 14px rgba(232, 93, 141, 0.35);
}

.arrival-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.arrival-tab {
  border: 0;
  background: var(--pink2);
  color: var(--dark);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.arrival-tab:hover {
  transform: translateY(-1px);
}

.arrival-tab.is-active {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 6px 14px rgba(232, 93, 141, 0.35);
}

.new-arrivals-grid {
  display: none;
}

.new-arrivals-grid.is-active {
  display: grid;
}

.sale-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sale-sort .sale-group-label {
  color: var(--muted);
}

.sale-sort-toggle {
  display: inline-flex;
  gap: 2px;
  background: var(--paper);
  border-radius: 999px;
  padding: 3px;
}

.sale-sort-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.sale-sort-btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(44, 25, 39, 0.12);
}

.sale-card.is-hidden {
  display: none;
}

.sale-empty {
  display: none;
  margin: 20px 0 0;
  color: var(--muted);
}

.sale-empty.is-visible {
  display: block;
}

.sale-card {
  position: relative;
}

.sale-card-thumb {
  position: relative;
}

.sale-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 5px 16px rgba(44, 25, 39, 0.14);
}

.sale-card-store {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.sale-card-store.is-fanza {
  background: #e6342c;
  color: #fff;
}

.sale-card-store.is-dlsite {
  background: #1e6fd9;
  color: #fff;
}

.sale-card-body .work-offer-price-wrap {
  margin-top: 8px;
}

.sale-card-end {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.sale-card-end .sale-countdown {
  display: inline-block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--pink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.offer-sale-end .sale-countdown {
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.sale-countdown.is-ended {
  color: var(--muted) !important;
  font-weight: 700;
}

/* ========================================
  Front page: SALE marquee (search-panel直下)
======================================== */

.sale-marquee-wrap {
  overflow: hidden;
  padding: 26px 0 20px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.sale-marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 0 16px;
  animation: sale-marquee-scroll var(--marquee-duration, 160s) linear infinite;
}

.sale-marquee-wrap:hover .sale-marquee-track {
  animation-play-state: paused;
}

@keyframes sale-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.sale-marquee-card {
  display: block;
  flex: none;
  width: 200px;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: visible;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sale-marquee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(44, 25, 39, 0.12);
}

.sale-marquee-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3edf0;
  overflow: visible;
  border-radius: 6px 6px 0 0;
}

.sale-marquee-thumb img,
.sale-marquee-thumb .no-image {
  border-radius: 6px 6px 0 0;
}

.sale-marquee-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sale-marquee-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(44, 25, 39, 0.3);
}

.sale-marquee-badge-num {
  font-size: 19px;
  font-weight: 900;
}

.sale-marquee-badge-percent {
  font-size: 0.65em;
  font-weight: 800;
}

.sale-marquee-badge-label {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.sale-marquee-body {
  padding: 4px 12px 6px;
}

.sale-marquee-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.sale-marquee-price {
  color: var(--pink);
  font-size: 24px;
  list-style: 1;
  font-weight: 900;
}

.sale-marquee-regular {
  color: var(--muted);
  font-size: 12px;
  text-decoration: line-through;
}

.sale-marquee-store {
  display: block;
  width: 100%;
  padding: 4px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
  border-radius: 0 0 6px 6px;
}

.sale-marquee-store.is-fanza {
  background: #e6342c;
  color: #fff;
}

.sale-marquee-store.is-dlsite {
  background: #1e6fd9;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .sale-marquee-track {
    animation: none;
  }
}

@media (max-width: 560px) {

  .sale-marquee-wrap {
    padding: 7vw 0 6vw;
  }
  .sale-marquee-card {
    width: 38vw;
  }

  .sale-marquee-badge {
    width: 12.5vw;
    height: 12.5vw;
  }

  .sale-marquee-badge-num {
    font-size: 4.2vw;
  }

  .sale-marquee-badge-label {
    font-size: 2.4vw;
  }

  .sale-marquee-price {
    font-size: 5.2vw;
  }

  .sale-marquee-regular {
    font-size: 2.8vw;
  }

  .sale-marquee-store {
    font-size: 3vw;
    padding: 1.2vw 0;
  }
}

@media (max-width: 560px) {
  .sale-card-badge {
    top: 2vw;
    left: 2vw;
    padding: 1.2vw 2vw;
    font-size: 2.8vw;
  }

  .sale-card-store {
    right: 2vw;
    bottom: 2vw;
    padding: 1vw 1.8vw;
    font-size: 2.4vw;
  }

  .sale-card-body .work-offer-price-wrap {
    gap: 1.5vw;
  }

  .sale-card-end {
    margin-top: 1vw;
    font-size: 2.4vw;
  }
  .sale-card-end .sale-countdown {
  display: block;
}
}



/* ========================================
   Progressive facet filters (v7)
======================================== */
.selected-filters {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff8fb;
}
.selected-filters--compact { margin-bottom: 16px; }
.selected-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 900;
}
.selected-filters-clear {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
}
.selected-filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.selected-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px 6px 11px;
  border: 1px solid rgba(229, 72, 132, .25);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.selected-filter-chip:hover { border-color: var(--pink); color: var(--pink); }
.selected-filter-chip-x { color: var(--pink); font-size: 15px; line-height: 1; }

/* ========================================
  管理人イチオシ 追従バナー
======================================== */

.admin-pick-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  max-width: 440px;
  margin: 0;
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.admin-pick-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.admin-pick-banner.is-visible.is-footer-near {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.admin-pick-banner-link {
  position: relative;
  display: block;
  flex: 1;
  min-width: 0;
  line-height: 0;
  border-radius: 16px;
  overflow: hidden;
}

.admin-pick-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.admin-pick-banner-photo {
  position: absolute;
  left: 82.5%;
  top: 39%;
  width: 14.5%;
  height: 49%;
  object-fit: cover;
  border-radius: 2px;
  filter: blur(5px);
  transform: translate(-50%, -50%) rotate(10deg);
}

.admin-pick-banner-close {
  position: absolute;
  top: -2px;
  right: -10px;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.admin-pick-banner-close:hover {
  background: var(--paper);
  color: var(--ink);
}

@media (max-width: 560px) {
  .admin-pick-banner {
    left: 28vw;
    right: 2vw;
    bottom: 2vw;
  }
}



/* ===================================
   このみっく：作品紹介カード
=================================== */

.konomikku-book-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 32px 0;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

/* 表紙画像 */
.konomikku-book-card__image {
  flex: 0 0 180px;
  max-width: 180px;
}

.konomikku-book-card__image a {
  display: block;
}

.konomikku-book-card__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 作品情報 */
.konomikku-book-card__content {
  flex: 1;
  min-width: 0;
}

/* タイトル */
.konomikku-book-card__title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

/* ジャンル */
.konomikku-book-card__genre {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fff0f5;
  color: #d14c82;
  font-size: 12px;
  font-weight: 700;
}

/* 紹介文 */
.konomikku-book-card__description {
  margin: 0 0 16px;
  color: #444;
  font-size: 14px;
  line-height: 1.9;
}

/* 注目ポイント */
.konomikku-book-card__point {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 3px solid #e88bae;
  border-radius: 0 6px 6px 0;
  background: #fff6f9;
  font-size: 13px;
  line-height: 1.8;
}

.konomikku-book-card__point strong {
  display: block;
  margin-bottom: 4px;
  color: #bd4774;
}

.konomikku-book-card__point p {
  margin: 0;
}

/* DMMボタン */
.konomikku-book-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 6px;
  background: #e94f87;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.konomikku-book-card__button:hover {
  opacity: 0.8;
}

/* スマートフォン */
@media screen and (max-width: 767px) {

  .konomikku-book-card {
    gap: 14px;
  }

  .konomikku-book-card__image {
    flex-basis: 105px;
    max-width: 105px;
  }

  .konomikku-book-card__title {
    font-size: 16px;
  }

  .konomikku-book-card__description {
    font-size: 13px;
  }

  .konomikku-book-card__point {
    padding: 10px;
    font-size: 12px;
  }

  .konomikku-book-card__button {
    padding: 11px 8px;
    font-size: 12px;
  }
}

/* さらに狭い画面では縦並び */
@media screen and (max-width: 380px) {

  .konomikku-book-card {
    flex-direction: column;
  }

  .konomikku-book-card__image {
    width: 130px;
    max-width: 130px;
    flex-basis: auto;
    margin: 0 auto;
  }

  .konomikku-book-card__content {
    width: 100%;
  }
}


/* FANZAブックス 初回購入クーポン */
.fanza-first-coupon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 520px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 93, 141, .28);
  border-radius: 10px;
  background: var(--pink2);
}

.fanza-first-coupon__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fanza-first-coupon__badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.fanza-first-coupon__head strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.fanza-first-coupon small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .fanza-first-coupon {
    gap: 2.5vw;
    margin-top: 3vw;
    padding: 2.8vw 3vw;
  }

  .fanza-first-coupon__head strong {
    font-size: 3.5vw;
  }

  .fanza-first-coupon small {
    font-size: 2.6vw;
  }
}
