@charset "UTF-8";
/* ========================================================================
   作品ページ single.php(カドコミ参考の2カラム構造)
   白(#fff)× 漆黒(#333333)× ティール(#00aebe)アクセント線
   ======================================================================== */

.work-single {
  background: #fff;
  color: #333333;
}
.work-single > section {
  padding: 3rem 1.5rem;
  border-bottom: 1px solid #e5e7e9;
}
.work-single > section:last-of-type {
  border-bottom: none;
}
.work-single .work-hero__inner,
.work-single .work-volumes__inner,
.work-single .work-overview__inner,
.work-single .work-freecontent__inner,
.work-single .work-characters__inner,
.work-single .work-authors__inner,
.work-single .work-stores__inner,
.work-single .work-sns-related__inner,
.work-single .work-line-cta__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  letter-spacing: 0.04em;
  color: #333333;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #333333;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.section-title__sub {
  font-size: 0.7rem;
  color: #888;
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* ========================================================================
   ヒーロー上部 メタ帯
   ======================================================================== */
.work-hero {
  background: #fff;
  padding: 2rem 1.5rem 3rem !important;
}
.work-hero__topmeta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7e9;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.meta-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border-radius: 0;
  position: relative;
}
.meta-badge--status {
  background: #333333;
  color: #fff;
}
.meta-badge--status.meta-badge--completed {
  background: #555;
}
/* 先行配信: 朱色(伝統色「猩々緋」感) */
.meta-badge--advance {
  background: #d63b3b;
  color: #fff;
  font-weight: 500;
  padding-left: 22px;
}
.meta-badge--advance::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}
/* 無料配信: ゴールド系(特別感) */
.meta-badge--free {
  background: linear-gradient(135deg, #c9a961 0%, #d4b572 100%);
  color: #fff;
  font-weight: 500;
  padding-left: 22px;
  letter-spacing: 0.08em;
}
.meta-badge--free::before {
  content: '★';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  line-height: 1;
}
.work-hero__lastupdate {
  margin-left: auto;
  font-size: 0.78rem;
  color: #888;
}

/* ========================================================================
   2カラム構造
   ======================================================================== */
.work-hero__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 880px) {
  .work-hero__two-col { grid-template-columns: 1fr; gap: 24px; }
}

/* ========================================================================
   左カラム
   ======================================================================== */
.work-hero__left { min-width: 0; }

.work-hero__title {
  font-size: 1.6rem;
  line-height: 1.35;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
  color: #333333;
  font-weight: 700;
}
.work-hero__title-en {
  font-size: 0.78rem;
  color: #888;
  margin: 0 0 1rem;
  font-weight: 400;
}

.work-hero__banner {
  margin: 0 0 1.25rem;
}
.work-hero__banner img {
  width: 100%;
  height: auto;
  display: block;
}

.work-hero__credits {
  font-size: 0.85rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7e9;
}
.credit-role {
  color: #888;
  margin-right: 4px;
  font-size: 0.75rem;
}
.credit-pair {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-right: 6px;
}
.credit-name {
  color: #333333;
  text-decoration: underline;
  text-decoration-color: #00aebe;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.credit-name--plain {
  text-decoration: none;
}
.credit-name:hover {
  text-decoration-color: #333333;
  color: #333333;
}
.credit-sep {
  margin: 0 8px;
  color: #cfd4d8;
}

.work-hero__share {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
}
.share-link {
  color: #555;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.share-link:hover { color: #00aebe; }

/* 最新表紙 2枚並列 */
.work-hero__latest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #e5e7e9;
  border-bottom: 1px solid #e5e7e9;
}
.latest-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333333;
}
.latest-card__thumb {
  position: relative;
  width: 130px;
  height: 184px;
  background: #f0f2f4;
  overflow: hidden;
  border: 1px solid #e5e7e9;
  box-shadow: 2px 2px 0 0 #333333;
}
.latest-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.latest-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #333333;
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 9px;
  letter-spacing: 0.08em;
  font-weight: 700;
  z-index: 2;
}
.latest-card__body {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  align-items: center;
}
.latest-card__label {
  font-size: 0.72rem;
  color: #888;
  letter-spacing: 0.06em;
}
.latest-card__count {
  font-size: 0.92rem;
  font-weight: 700;
  color: #333333;
}

/* キャッチ + 紹介 */
.work-hero__catch {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 0.6rem;
  padding-left: 12px;
  border-left: 3px solid #333333;
  line-height: 1.5;
}
.work-hero__intro-wrap {
  margin-bottom: 1.5rem;
}
.work-hero__intro {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #333;
  margin: 0 0 0.6rem;
  white-space: pre-line;
}
/* 折りたたみ初期状態(2行クランプ) */
.work-hero__intro-wrap.is-collapsed .work-hero__intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.work-hero__intro-toggle {
  font-size: 0.78rem;
  color: #00aebe;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px solid #00aebe;
  padding-bottom: 1px;
  font-family: inherit;
}
.work-hero__intro-toggle .caret { margin-left: 2px; }

/* CTA */
.work-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.15s ease;
  text-align: center;
}
.btn--primary {
  background: #333333;
  color: #fff;
  border: 1px solid #333333;
}
.btn--primary:hover {
  background: #fff;
  color: #333333;
}
.btn--secondary {
  background: #fff;
  color: #333333;
  border: 1px solid #333333;
}
.btn--secondary:hover {
  background: #333333;
  color: #fff;
}
.btn--free {
  background: #333333;
  color: #fff;
  border: 1px solid #333333;
  flex-direction: column;
  padding: 0.7rem 1.25rem;
  line-height: 1.3;
  gap: 2px;
}
.btn--free:hover {
  background: #fff;
  color: #333333;
}
.btn__free-label {
  font-weight: 700;
  font-size: 0.95rem;
}
.btn__free-exp {
  font-size: 0.72rem;
  opacity: 0.85;
}
.btn--small { padding: 0.3rem 0.75rem; font-size: 0.8rem; }
.btn--line {
  background: var(--line-green);
  color: #fff;
  border: 1px solid var(--line-green);
}
.btn--line:hover {
  background: #fff;
  color: var(--line-green);
}
.btn--fanletter {
  background: #fff;
  color: #333333;
  border: 1px solid #333333;
}
.btn--fanletter:hover {
  background: #333333;
  color: #fff;
}

/* ========================================================================
   右カラム タブ + リスト
   ======================================================================== */
.work-hero__right { min-width: 0; }

.trial-tabs {
  display: flex;
  gap: 0;
  background: #f7f9fa;
  padding: 4px;
  margin: 0 0 1rem;
}
.trial-tab {
  flex: 1;
  padding: 0.7rem 1rem;
  background: transparent;
  border: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
  text-align: center;
}
.trial-tab:hover {
  color: #333333;
}
.trial-tab.is-active {
  background: #333333;
  color: #fff;
  font-weight: 700;
}
/* 「無料公開」タブだけ特別感のある色(深い緋色) */
.trial-tab[data-trial-tab="freeread"].is-active {
  background: linear-gradient(135deg, #b8860b 0%, #d4a040 100%);
  color: #fff;
  position: relative;
}
.trial-tab[data-trial-tab="freeread"].is-active::after {
  content: '★';
  margin-left: 5px;
  font-size: 0.75rem;
}

.trial-list-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0 0.6rem 0.25rem;
  border-bottom: 2px solid #333333;
  font-size: 0.8rem;
  color: #555;
}
.trial-list-info__count {
  font-weight: 500;
  color: #333333;
}
.trial-sort-btn {
  background: #fff;
  border: 1px solid #cfd4d8;
  cursor: pointer;
  color: #333333;
  font-family: inherit;
  font-size: 0.78rem;
  padding: 5px 10px;
  transition: all 0.15s ease;
}
.trial-sort-btn:hover {
  border-color: #333333;
  background: #333333;
  color: #fff;
}
.trial-sort-btn[aria-pressed="true"] {
  background: #333333;
  color: #fff;
}
.trial-sort-btn .caret { margin-left: 4px; font-size: 0.7rem; }

.trial-panel { display: none; }
.trial-panel.is-active { display: block; }

.trial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 1000px;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .trial-list { max-height: 600px; }
}
.trial-list::-webkit-scrollbar { width: 6px; }
.trial-list::-webkit-scrollbar-thumb { background: #cfd4d8; border-radius: 3px; }

.trial-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f2f4;
}
.trial-row__thumb {
  width: 100px;
  background: #f0f2f4;
  flex: 0 0 100px;
  overflow: hidden;
  border: 1px solid #e5e7e9;
}
.trial-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trial-row__thumb--empty {
  background: linear-gradient(135deg, #f0f2f4 25%, transparent 25%, transparent 50%, #f0f2f4 50%, #f0f2f4 75%, transparent 75%);
  background-size: 8px 8px;
}
.trial-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.trial-row__date {
  font-size: 0.7rem;
  color: #888;
}
.trial-row__title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333333;
  line-height: 1.4;
}
.trial-row__period {
  font-size: 0.7rem;
  color: #555;
}
.trial-row__action {
  flex: 0 0 auto;
  padding: 5px 12px;
  background: #fff;
  color: #333333;
  border: 1px solid #333333;
  font-size: 0.78rem;
  text-decoration: none;
  font-weight: 500;
}
.trial-row__action:hover {
  background: #333333;
  color: #fff;
}

.trial-divider {
  display: block;
  padding: 8px 12px;
  background: #f7f9fa;
  color: #888;
  font-size: 0.75rem;
  text-align: center;
  border-bottom: 1px solid #f0f2f4;
  border-top: 1px solid #f0f2f4;
  margin: 4px 0;
}

.trial-empty {
  padding: 1.5rem 0;
  color: #888;
  font-size: 0.85rem;
  text-align: center;
}

/* ========================================================================
   単行本スライダー(全幅セクション)
   ======================================================================== */
.work-volumes {
  background: #fff;
}
.volumes-slider {
  position: relative;
}
.volumes-slider__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 0 12px;
  scrollbar-width: thin;
}
.volumes-slider__track::-webkit-scrollbar { height: 6px; }
.volumes-slider__track::-webkit-scrollbar-thumb { background: #cfd4d8; border-radius: 3px; }

.volume-card {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: #333333;
}
.volume-card__cover {
  width: 150px;
  height: 213px;
  background: #f0f2f4;
  overflow: hidden;
  border: 1px solid #e5e7e9;
}
.volume-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.volume-card__num {
  font-size: 0.78rem;
  color: #555;
  text-align: center;
}

.volumes-slider__arrow {
  position: absolute;
  top: 60px !important;
  transform: none;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #333333;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.volumes-slider__arrow:hover {
  background: #333333;
  color: #fff;
}
.volumes-slider__arrow.is-disabled {
  opacity: 0.2;
  pointer-events: none;
}
.volumes-slider__arrow--prev { left: -12px; }
.volumes-slider__arrow--next { right: -12px; }

/* ========================================================================
   下段の各セクション
   ======================================================================== */

/* 作品概要 */
.work-overview__body {
  font-size: 1rem;
  line-height: 1.95;
  color: #333333;
}
.work-overview__body p { margin: 0 0 1rem; }

/* 自由フォーム */
.fc-heading { color: #333333; margin: 2rem 0 1rem; }
.fc-text { font-size: 1rem; line-height: 1.95; margin: 0 0 1.5rem; }
.fc-image { margin: 1.5rem 0; }
.fc-image img { max-width: 100%; height: auto; display: block; }
.fc-image figcaption { font-size: 0.85rem; color: #888; margin-top: 0.5rem; }
.fc-gallery { display: grid; gap: 0.75rem; margin: 1.5rem 0; }
.fc-gallery--cols-2 { grid-template-columns: repeat(2, 1fr); }
.fc-gallery--cols-3 { grid-template-columns: repeat(3, 1fr); }
.fc-gallery--cols-4 { grid-template-columns: repeat(4, 1fr); }
.fc-gallery img { width: 100%; height: auto; display: block; }
.fc-gallery__caption { font-size: 0.85rem; color: #888; margin-top: 0.5rem; }
.fc-video { margin: 1.5rem 0; }
.fc-video__embed { position: relative; padding-bottom: 56.25%; height: 0; background: #333; }
.fc-video__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fc-video__caption { font-size: 0.85rem; color: #888; margin-top: 0.5rem; }
.fc-quote {
  border-left: 3px solid #00aebe;
  padding: 0.5rem 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}
.fc-quote cite { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: #888; font-style: normal; }
.fc-button { text-align: center; margin: 1.5rem 0; }
.fc-divider { border: 0; height: 1px; background: #e5e7e9; margin: 2rem 0; }
.fc-divider--space { background: transparent; height: 2rem; }

/* 登場人物 */
.work-characters__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.character-card {
  background: #fff;
  border: 1px solid #e5e7e9;
  padding: 1rem;
}
.character-card__image img { width: 100%; height: auto; display: block; }
.character-card__role { color: #888; font-size: 0.78rem; }
.character-card__name {
  font-size: 1.05rem;
  margin: 0.25rem 0 0.5rem;
  font-weight: 700;
}
.character-card__desc { font-size: 0.9rem; line-height: 1.7; color: #333; }

/* 作家紹介 */
.work-authors__list { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.author-card {
  background: #fff;
  border: 1px solid #e5e7e9;
  padding: 1.25rem;
}
.author-card__header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.author-card__icon {
  width: 72px; height: 72px; flex: 0 0 72px;
  border-radius: 50%; overflow: hidden;
  background: #f0f2f4;
}
.author-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.author-card__role { font-size: 0.78rem; color: #888; }
.author-card__name { font-size: 1.15rem; margin: 0.2rem 0; font-weight: 700; }
.author-card__name a { color: #333333; text-decoration: underline; text-decoration-color: #00aebe; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.author-card__name a:hover { text-decoration-color: #333333; }
.author-card__x-handle { display: inline-block; color: #00aebe; font-size: 0.85rem; text-decoration: none; }
.author-card__x-handle:hover { color: #333333; }
.author-card__bio {
  font-size: 0.92rem; line-height: 1.85; color: #333;
  margin: 0.75rem 0 1rem; white-space: pre-line;
}
.author-card__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ストア */
.work-stores__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
  background: #f7f9fa;
  padding: 4px;
  flex-wrap: wrap;
}
.store-tab {
  background: transparent;
  border: none;
  color: #555;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
  flex: 1;
  min-width: 100px;
  text-align: center;
}
.store-tab:hover {
  color: #333333;
}
.store-tab.is-active {
  background: #333333;
  color: #fff;
  font-weight: 700;
}
.work-stores__panel { display: none; }
.work-stores__panel.is-active { display: block; }
.store-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
}
.store-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: #fff;
  border: 1px solid #e5e7e9;
  color: #333333;
  text-decoration: none;
}
.store-item a:hover {
  background: #f7f9fa;
  border-color: #333333;
}
.store-item.is-advance a {
  border-color: #333333;
  background: #333333;
  color: #fff;
}
.store-item.is-advance a:hover {
  background: #fff;
  color: #333333;
}
.store-item__badge {
  font-size: 0.7rem;
  background: #fff;
  color: #333333;
  padding: 2px 6px;
  border: 1px solid #333333;
}
.store-item.is-advance .store-item__badge {
  background: #fff;
  color: #333333;
  border-color: #fff;
}

/* SNS / 関連作品 */
.work-sns-related__inner > div + div { margin-top: 3rem; }
.work-sns__group { margin-bottom: 1.5rem; }
.work-sns__group-title { font-size: 0.95rem; color: #333333; margin: 0 0 0.5rem; font-weight: 700; }
.sns-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sns-list a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid #333333;
  color: #333333;
  text-decoration: none;
  font-size: 0.85rem;
}
.sns-list a:hover { background: #333333; color: #fff; }
.related-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.related-item a { display: block; text-decoration: none; color: #333333; }
.related-item img { width: 100%; height: auto; display: block; border: 1px solid #e5e7e9; }
.related-item__title { display: block; font-size: 0.85rem; margin-top: 0.5rem; line-height: 1.4; }

/* LINE CTA */
.work-line-cta {
  background: #f7f9fa;
  text-align: center;
}
.work-line-cta__title {
  font-size: 1.3rem;
  color: #333333;
  margin: 0 0 1rem;
  font-weight: 700;
}
.work-line-cta__lead {
  font-size: 0.92rem;
  color: #333;
  margin: 0 0 1.5rem;
}

/* フローティング */
.floating-line {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: var(--line-green);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.floating-line:hover { background: #05a849; color: #fff; }
.floating-line__icon {
  background: #fff;
  color: var(--line-green);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.floating-top {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  background: #fff;
  color: #333333;
  border: 1px solid #333333;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.6rem;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}
.floating-top.is-visible { opacity: 1; visibility: visible; }
.floating-top__arrow { font-size: 0.8rem; line-height: 1; }
.floating-top__text { font-size: 0.55rem; letter-spacing: 0.05em; margin-top: 2px; }

/* ========================================================================
   単行本ストアモーダル
   ======================================================================== */
.vol-modal[hidden] { display: none; }
.vol-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.vol-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  cursor: pointer;
}
.vol-modal__dialog {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 0;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.vol-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #555;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  z-index: 2;
}
.vol-modal__close:hover { color: #333333; }

.vol-modal__header {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #e5e7e9;
}
.vol-modal__thumb {
  width: 80px;
  height: 113px;
  flex: 0 0 80px;
  background: #f0f2f4;
  overflow: hidden;
  border: 1px solid #e5e7e9;
}
.vol-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vol-modal__head-body {
  flex: 1;
  min-width: 0;
}
.vol-modal__title {
  font-size: 1.05rem;
  margin: 0 0 4px;
  font-weight: 700;
  color: #333333;
}
.vol-modal__lead {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

.vol-modal__stores {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vol-modal__store {
  border-bottom: 1px solid #f0f2f4;
}
.vol-modal__store:last-child { border-bottom: none; }
.vol-modal__store a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  text-decoration: none;
  color: #333333;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}
.vol-modal__store a:hover {
  background: #f7f9fa;
}
.vol-modal__store-name { flex: 1; }
.vol-modal__store-badge {
  background: #d63b3b;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 7px;
  letter-spacing: 0.04em;
}
.vol-modal__store-arrow {
  color: #888;
  font-size: 1.2rem;
  line-height: 1;
}
.vol-modal__store.is-advance a {
  background: #fff7f5;
}
.vol-modal__store.is-advance a:hover {
  background: #ffeae5;
}
.vol-modal__empty {
  padding: 2rem 1.5rem;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* volume-card ボタン化対応 */
.volume-card {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.volume-card:hover .volume-card__cover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.volume-card__cover {
  transition: all 0.15s ease;
}

/* ========================================================================
   v0.11.2 追加スタイル
   - work-hero__title-top: メタ帯の上にタイトル
   - work-hero__latest-row: 最新カード + CTAの横並び
   - work-hero__credits: 役職別グルーピング
   - work-hero__label: レーベル表示
   - share-icon: SVGアイコン化
   - trial-shortcut: 最新刊ショートカット行
   - trial-row__badge: 「更新」バッジ
   - trial-row--latest: 最新行ハイライト
   - trial-row--access-*: アクセス制限別の色分け
   - trial-row__subtitle: エピソードタイトル
   - trial-row__period: 期限表記
   - trial-row__action--*: ボタンバリエーション
   - trial-expand-btn: +全表示ボタン
   - read-badge: 既読バッジ
   ======================================================================== */

.work-hero__title-top {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* バナー角丸黒淵 */
.work-hero__banner {
  margin: 0 0 1.25rem;
  border-radius: 8px;
  border: 1px solid #333333;
  overflow: hidden;
}
.work-hero__banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* 作家ブロック(役職別グルーピング) */
.work-hero__credits {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7e9;
}
.credit-line {
  font-size: 0.88rem;
  line-height: 1.7;
  display: block;
}
.credit-line .credit-role {
  display: inline-block;
  min-width: 4em;
  color: #888;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}
.credit-line .credit-name {
  color: #333333;
  text-decoration: underline;
  text-decoration-color: #00aebe;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.credit-line .credit-name:hover {
  text-decoration-color: #333333;
}

/* レーベル */
.work-hero__label {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7e9;
}
.label-line__role {
  color: #888;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}
.label-line__name {
  color: #333333;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #00aebe;
  text-underline-offset: 3px;
}

/* シェアアイコン(SVG) */
.work-hero__share {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  color: #333333;
  border: 1px solid #333333;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: all 0.15s ease;
}
.share-icon:hover {
  background: #333333;
  color: #fff;
}
.share-icon.is-copied {
  background: #00aebe;
  color: #fff;
  border-color: #00aebe;
}

/* 最新カード + CTA 横並び */
.work-hero__latest-row {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  padding: 1rem 0;
  border-top: 1px solid #e5e7e9;
  border-bottom: 1px solid #e5e7e9;
  margin-bottom: 1.25rem;
}
.work-hero__latest-row .latest-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: #333333;
}
.work-hero__latest-row .latest-card__thumb {
  position: relative;
  width: 120px;
  height: 170px;
  background: #f0f2f4;
  overflow: hidden;
  border: 1px solid #e5e7e9;
  border-radius: 4px;
}
.work-hero__latest-row .latest-card__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.work-hero__latest-row .latest-card__thumb-empty {
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: #aaa; font-size: 0.7rem;
}
.work-hero__latest-row .latest-card__badge {
  position: absolute; top: 0; left: 0;
  background: #333333; color: #fff;
  font-size: 0.65rem; padding: 2px 6px;
  letter-spacing: 0.05em;
}
.work-hero__latest-row .latest-card__body {
  text-align: center;
  align-items: center;
  display: flex; flex-direction: column; gap: 2px;
  width: 100%;
}
.work-hero__latest-row .latest-card__label,
.work-hero__latest-row .latest-card__count {
  display: block;
  width: 100%;
  text-align: center;
}
.work-hero__latest-row .latest-card__label {
  font-size: 0.7rem; color: #888;
}
.work-hero__latest-row .latest-card__count {
  font-size: 0.85rem; font-weight: 700; color: #333333;
}
.work-hero__latest-row .work-hero__cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
}

/* 「N話・巻無料配信中」インフォブロック */
.cta-free-info {
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #f9f3e3 0%, #fcf6dd 100%);
  border: 1px solid #c9a961;
  border-radius: 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cta-free-info strong {
  font-size: 0.85rem;
  color: #8b6f3a;
  font-weight: 700;
}
.cta-free-info small {
  font-size: 0.7rem;
  color: #555;
}

/* タブの件数(小) */
.trial-tab__count {
  font-size: 0.75rem;
  color: inherit;
  opacity: 0.7;
  margin-left: 2px;
}

/* 最新刊ショートカット行 */
.trial-shortcut {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #333333;
  color: #fff;
  margin-bottom: 1rem;
  border-radius: 2px;
}
.trial-shortcut__badge {
  background: #fff;
  color: #333333;
  font-size: 0.7rem;
  padding: 3px 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.trial-shortcut__title {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}
.trial-shortcut__action {
  background: #fff;
  color: #333333;
  border: 1px solid #fff;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border-radius: 2px;
}
.trial-shortcut__action:hover {
  background: #00aebe;
  border-color: #00aebe;
  color: #fff;
}

/* リスト各行 - 改良版 */
.trial-row {
  position: relative;
}
.trial-row.is-hidden { display: none; }
.trial-row--latest {
  background: linear-gradient(90deg, #fff5f0 0%, transparent 100%);
}
.trial-row__badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 2px 7px;
  margin-right: 6px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.trial-row__badge--update {
  background: #ff6b35;
  color: #fff;
}
.trial-row__subtitle {
  display: block;
  font-size: 0.78rem;
  color: #555;
  font-weight: 400;
  margin-top: 2px;
}
.trial-row__period {
  font-size: 0.7rem;
  color: #888;
}
.trial-row__period--free {
  color: #b8860b;
  font-weight: 500;
}

/* アクセス制限ごとの行スタイル */
.trial-row--access-members_only {
  background: #f9f5fa;
}
/* v0.12.5b: タイトル前の鍵マークは削除(会員限定は別ラベルで案内) */

/* ボタンバリエーション */
.trial-row__action--members {
  background: #d63b3b;
  color: #fff;
  border-color: #d63b3b;
}
.trial-row__action--members:hover {
  background: #fff;
  color: #d63b3b;
}
.trial-row__action--free {
  background: linear-gradient(135deg, #b8860b 0%, #d4a040 100%);
  color: #fff;
  border-color: #c9a961;
}
.trial-row__action--free:hover {
  background: #fff;
  color: #b8860b;
}
.trial-row__action--disabled {
  background: #f0f2f4;
  color: #888;
  border-color: #e5e7e9;
  pointer-events: none;
  cursor: not-allowed;
}

/* 「+全N話を表示」ボタン */
.trial-expand-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #333333;
  border: 1px dashed #cfd4d8;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 0.5rem;
  text-align: center;
  border-radius: 2px;
  transition: all 0.15s ease;
}
.trial-expand-btn:hover {
  border-style: solid;
  border-color: #333333;
  background: #f7f9fa;
}

/* 既読バッジ */
.read-badge {
  display: inline-block;
  background: #e5e7e9;
  color: #555;
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}
.trial-row.is-read {
  opacity: 0.65;
}
.trial-row.is-read .trial-row__title {
  color: #666;
}

/* サムネを角丸黒淵に */
.trial-row__thumb {
  border-radius: 4px;
  border: 1px solid #333333;
}
.trial-row__thumb img {
  display: block;
}
.trial-row__thumb-empty {
  width: 100%; height: 142px;
  background: linear-gradient(135deg, #f0f2f4 25%, transparent 25%, transparent 50%, #f0f2f4 50%, #f0f2f4 75%, transparent 75%);
  background-size: 8px 8px;
}

/* タイトル(枠の中の話タイトル) */
.trial-row__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
  display: block;
  line-height: 1.4;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .work-hero__title-top { font-size: 1.25rem; }
  .work-hero__latest-row { flex-direction: column; }
  .work-hero__latest-row .latest-card { align-items: center; }
  .trial-shortcut { flex-wrap: wrap; }
  .trial-shortcut__title { width: 100%; }
}

/* ========================================================================
   v0.11.2d UI修正
   - バナー黒淵 3px
   - 作家ブロック横並び
   - 「更新」リボン(サムネ左上から斜め)
   - 連載 行全体クリック
   - コミックスCTA情報
   - サムネ 横幅120px+3px黒淵、padding 14px
   ======================================================================== */

/* バナー黒淵 3px */
.work-hero__banner {
  border: 3px solid #333333;
}

/* 作家ブロック横並び */
.work-hero__credits {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7e9;
}
.credit-segment {
  display: inline-flex;
  align-items: baseline;
}
.credit-segment .credit-role {
  display: inline;
  min-width: 0;
  margin-right: 0.4em;
  color: #888;
  font-size: 0.75rem;
}
.work-hero__credits .credit-sep {
  margin: 0 0.6em;
  color: #cfd4d8;
}

/* 行のレイアウト・サムネ */
.trial-row {
  padding: 14px;
  border-bottom: 1px solid #f0f2f4;
}
.trial-row__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
a.trial-row__inner:hover {
  background: #f7f9fa;
  border-radius: 4px;
}
a.trial-row__inner {
  transition: background 0.15s ease;
}

/* サムネ: 横幅120px固定、縦は成り行き、黒淵3px */
.trial-row__thumb {
  position: relative;
  overflow: hidden;
  width: 120px;
  flex: 0 0 120px;
  border: 3px solid #333333;
  border-radius: 4px;
  background: #f0f2f4;
}
.trial-row__thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.trial-row__thumb-empty {
  width: 100%;
  aspect-ratio: 120 / 170;
  background: linear-gradient(135deg, #f0f2f4 25%, transparent 25%, transparent 50%, #f0f2f4 50%, #f0f2f4 75%, transparent 75%);
  background-size: 8px 8px;
}

/* 「更新」リボン(左上から斜め) */
.trial-row__ribbon {
  position: absolute;
  top: 8px;
  left: -25px;
  background: #ff6b35;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 25px;
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  z-index: 2;
  text-align: center;
  line-height: 1.2;
}

.trial-row__period--members {
  color: #d63b3b;
  font-weight: 500;
}
.trial-row__period--expired,
.trial-row__period--pre {
  color: #888;
}

/* 配信ストアCTA の上のコミックス情報 */
.cta-volume-info {
  padding: 0.6rem 0.75rem;
  background: #f7f9fa;
  border-left: 3px solid #333333;
  font-size: 0.78rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cta-volume-info__label {
  font-size: 0.7rem;
  color: #888;
  letter-spacing: 0.04em;
}
.cta-volume-info__title {
  color: #333333;
}
.cta-volume-info__title strong {
  font-weight: 700;
  margin-left: 4px;
  color: #333333;
}
.cta-volume-info__date {
  font-size: 0.7rem;
  color: #555;
}

/* リスト行のフレックス再調整(行全体クリック対応で構造変化) */
.trial-list .trial-row {
  display: block;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .work-hero__credits {
    flex-direction: column;
  }
  .work-hero__credits .credit-sep {
    display: none;
  }
  .credit-segment {
    margin-bottom: 0.3rem;
  }
}

/* ========================================================================
   v0.11.3a UI 微調整
   - リボン: 右上 → 左上
   - サムネ: 幅120px固定、縦は成り行き
   - サムネ黒淵: 1px → 3px
   - .trial-row の padding: 全方向 14px
   ======================================================================== */

/* リボンを左上に移動 */
.trial-row__ribbon {
  top: 8px;
  left: -22px;
  right: auto;
  transform: rotate(-45deg);
}

/* リストサムネを幅120px固定、縦は自動、黒淵3px */
.trial-row__thumb {
  width: 120px;
  height: auto;
  flex: 0 0 120px;
  border: 3px solid #333333;
  border-radius: 4px;
}
.trial-row__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.trial-row__thumb-empty {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #f0f2f4 25%, transparent 25%, transparent 50%, #f0f2f4 50%, #f0f2f4 75%, transparent 75%);
  background-size: 8px 8px;
}

/* trial-row の padding を全方向 14px に */
.trial-row {
  padding: 14px;
  border-bottom: 1px solid #f0f2f4;
}

/* 行全体クリック対応の inner はマージン調整不要に */
a.trial-row__inner {
  padding: 0;
  margin: 0;
}
a.trial-row__inner:hover {
  background: #f7f9fa;
  border-radius: 4px;
}

/* ========================================================================
   v0.11.3a 微調整
   - リボン左上化、サムネ120px固定+成り行き縦・黒淵3px、padding 14px
   ======================================================================== */

/* リボン左上に変更 */
.trial-row__ribbon {
  top: 8px;
  left: -22px;
  right: auto;
  transform: rotate(-45deg);
}

/* サムネ: 横120px固定、縦は成り行き、黒淵3px */
.trial-row__thumb {
  width: 120px;
  height: auto;
  flex: 0 0 120px;
  border: 3px solid #333333;
  border-radius: 4px;
}
.trial-row__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.trial-row__thumb-empty {
  width: 120px;
}

/* .trial-row 全体に padding 14px */
.trial-row {
  padding: 14px;
  border-bottom: 1px solid #f0f2f4;
}
.trial-row > .trial-row__inner,
a.trial-row__inner {
  padding: 0;
  margin: 0;
}
a.trial-row__inner:hover {
  background: transparent;
}
.trial-row:hover {
  background: #f7f9fa;
}

/* ========================================================================
   v0.11.3b アスペクト比の出し分け + NoImage 対応
   - 連載タブ(episodes): 115:73 (横長)
   - コミックスタブ(volumes): 3:4 (縦長)
   ======================================================================== */

/* 連載タブ(panel=episodes)配下のサムネ: 横長(幅100px、高さは画像のアスペクト比に従う)
   v0.12.2d: 縦横比は画像のまま、NO IMAGE プレースホルダーのみ 115:73 横長 */
.trial-panel[data-trial-panel="episodes"] .trial-row__thumb {
  width: 100px;
}
.trial-panel[data-trial-panel="episodes"] .trial-row__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.trial-panel[data-trial-panel="episodes"] .trial-row__thumb-empty {
  width: 100px;
  aspect-ratio: 115 / 73;
  height: auto;
}

/* コミックスタブ(panel=volumes)配下のサムネ: 縦長 3:4 */
.trial-panel[data-trial-panel="volumes"] .trial-row__thumb,
.trial-panel[data-trial-panel="volumes"] .trial-row__thumb-empty {
  width: 100px;
  aspect-ratio: 3 / 4;
  height: auto;
}
.trial-panel[data-trial-panel="volumes"] .trial-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NoImage 表示(画像なし時の placeholder) */
.trial-row__thumb-empty {
  background: #f0f2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  position: relative;
}
.trial-row__thumb-empty::before {
  content: 'NO IMAGE';
  font-weight: 600;
  color: #b0b6bc;
}

/* リボン位置調整(コミックスタブの縦長サムネだとリボンが食い込む可能性) */
.trial-row__ribbon {
  z-index: 3;
}

/* ========================================================================
   v0.11.3c 修正
   - read-badge タグ風(角丸枠線・透明背景)
   - ホバー時の背景はそのまま、バッジは独立
   - trial-list スクロール無効を再確認
   ======================================================================== */

/* タグ風 read-badge(最終定義) */
.read-badge {
  display: inline-block;
  border: 1px solid #b0b6bc;
  color: #888;
  background: transparent;
  padding: 1px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.5;
}

.trial-row:hover .read-badge {
  background: #fff;  /* hover時の row 背景でバッジが沈まないよう */
}

/* trial-row のスタイル安定化(最終定義) */
.trial-row {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 14px;
  border-bottom: 1px solid #f0f2f4;
}
.trial-row__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.trial-row:hover {
  background: #f7f9fa;
}

/* 「最新」行のグラデは控えめに */
.trial-row--latest {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.04) 0%, transparent 60%);
}
.trial-row--latest:hover {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.08) 0%, #f7f9fa 60%);
}

/* trial-list のスクロール無効を最終的に強制 */
.trial-panel,
.trial-list {
  max-height: none !important;
  overflow: visible !important;
}

/* is-hidden を確実に効かせる */
.trial-row.is-hidden {
  display: none !important;
}

/* ========================================================================
   v0.11.3d 微修正
   - read-badge の幅をコンテンツ幅に(flex子要素対応)
   ======================================================================== */

.read-badge {
  align-self: flex-start;
  width: auto;
}

/* ========================================================================
   v0.11.4a 修正
   - read-badge を確実に文字幅+左寄せ(タグデザイン)
   - 古い順時の「+全表示」ボタンを最上部
   - cta-volume-info デザイン変更(背景・ボーダーなし、タイトル大)
   ======================================================================== */

/* read-badge: 確実にコンテンツ幅 + 左寄せ */
.read-badge {
  align-self: flex-start !important;
  width: auto !important;
  max-width: max-content;
  flex: 0 0 auto;
}

/* trial-row 自体の hover ハイライトを強める */
.trial-row .read-badge {
  margin-left: 0;
  margin-top: 4px;
}

/* cta-volume-info: 背景色・ボーダー無し、タイトル大きめ */
.cta-volume-info {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}
.cta-volume-info__label {
  font-size: 0.7rem;
  color: #888;
  letter-spacing: 0.04em;
}
.cta-volume-info__title {
  font-size: 0.9rem !important;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
}
.cta-volume-info__title strong {
  font-size: 1.15rem !important;
  margin-left: 6px;
  color: #333333;
  font-weight: 700;
}
.cta-volume-info__date {
  font-size: 0.75rem !important;
  color: #555;
}

/* ========================================================================
   v0.11.5 配信ストアのアイコン表示
   - ロゴはもとのサイズを保持しつつ、CSS で一律高さ揃え
   - ホバーで浮き上がり、先行配信は枠線で強調
   ======================================================================== */

.store-list--icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.store-list--icons .store-item {
  list-style: none;
  margin: 0;
}
.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background: #fff;
  border: 3px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  color: #333333;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
  min-width: 0;
}
.store-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #333333;
}
.store-logo {
  height: 36px;          /* 一律高さ揃え */
  max-height: 30px !important;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.store-label-fallback {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0 4px;
}

/* 先行配信ストア(目立たせる) - 通常と同じ border 3px に統一 */
.store-item.is-advance .store-link {
  border-color: #ff6b35;
  padding: 3px;
}
.store-item__badge {
  position: absolute;
  top: -8px; right: -8px;
  background: #ff6b35;
  color: #fff;
  font-size: 0.6rem;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  font-weight: 700;
  white-space: nowrap;
}

/* 単行本ストアモーダル内のアイコン表示 */
.vol-modal__stores--icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.vol-modal__store {
  list-style: none;
  margin: 0;
}
.vol-modal__store-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background: #fff;
  border: 3px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  color: #333333;
  transition: all 0.15s ease;
  position: relative;
  min-height: 50px;
}
.vol-modal__store-link:hover {
  border-color: #333333;
  background: #f7f9fa;
}
.vol-modal__store-logo {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.vol-modal__store.is-advance .vol-modal__store-link {
  border-color: #ff6b35;
  border-width: 2px;
  padding: 3px;
}
.vol-modal__store-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: #ff6b35;
  color: #fff;
  font-size: 0.55rem;
  padding: 1px 5px;
  border-radius: 3px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .store-logo { height: 30px; }
  .store-link { padding: 6px 10px; }
}

/* ========================================================================
   v0.11.5b ストアアイコン白地対応
   - 白背景のロゴが多いため、コンテナを淡いグレーに変更
   - ホバー時に白背景に切り替わって浮き上がり感を演出
   ======================================================================== */

.store-link {
  background: #f7f9fa !important;
  border: 1px solid #c5cad0 !important;
  padding: 10px 14px !important;
}
.store-link:hover {
  background: #fff !important;
  border-color: #333333 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10) !important;
}

/* 単行本ストアモーダル内も同様に */
.vol-modal__store-link {
  background: #f7f9fa !important;
  border: 1px solid #c5cad0 !important;
}
.vol-modal__store-link:hover {
  background: #fff !important;
  border-color: #333333 !important;
}

/* ロゴ画像の余白を確保(白ロゴが背景と一体化しないよう) */
.store-logo,
.vol-modal__store-logo {
  margin: 2px 0;
}

/* 先行配信ストアの強調を維持 */
.store-item.is-advance .store-link {
  background: #fff4ee !important;
  border-color: #ff6b35 !important;
  border-width: 2px !important;
  padding: 9px 13px !important;
}
.store-item.is-advance .store-link:hover {
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25) !important;
}
.vol-modal__store.is-advance .vol-modal__store-link {
  background: #fff4ee !important;
  border-color: #ff6b35 !important;
  border-width: 2px !important;
}

/* ========================================================================
   v0.11.5c UI微調整
   - ストアアイコン: 白背景・3px枠・is-advance は枠線のみコーラル
   - ストアバッジ: 黒地白字
   - 最新表紙・volumes-slider画像枠を 3px solid #333333 + radius 4px
   - btn--primary に色付け + radius 4px
   - コミックスリスト: 画像右に回り込み
   ======================================================================== */

/* === 1. .store-link: 白背景に戻し、枠 3px、is-advance は枠線のみコーラル === */
.store-link {
  background: #fff !important;
  border: 3px solid #c5cad0 !important;
  padding: 8px 12px !important;
}
.store-link:hover {
  background: #fff !important;
  border-color: #333333 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10) !important;
}
.store-item.is-advance .store-link {
  background: #fff !important;
  border: 3px solid #ff6b35 !important;
  padding: 8px 12px !important;
}
.store-item.is-advance .store-link:hover {
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.30) !important;
}

/* モーダル内も同様(枠3px・白背景) */
.vol-modal__store-link {
  background: #fff !important;
  border: 3px solid #c5cad0 !important;
}
.vol-modal__store-link:hover {
  background: #fff !important;
  border-color: #333333 !important;
}
.vol-modal__store.is-advance .vol-modal__store-link {
  background: #fff !important;
  border: 3px solid #ff6b35 !important;
}

/* === 2. .store-item__badge を黒地白字 === */
.store-item__badge {
  background: #333333 !important;
  color: #fff !important;
  border: 1px solid #333333;
}
.vol-modal__store-badge {
  background: #333333 !important;
  color: #fff !important;
}

/* === 3. 最新表紙(latest-card)とvolumes-slider内表紙の枠 === */
.latest-card__thumb,
.volume-card__cover,
.work-hero__latest-row .latest-card__thumb {
  border: 3px solid #333333 !important;
  border-radius: 4px !important;
  overflow: hidden;
}
/* 旧定義の互換用 */
.volumes-slider__track .vol-item__thumb,
.volumes-slider__track [class*="thumb"] {
  border: 3px solid #333333 !important;
  border-radius: 4px !important;
  overflow: hidden;
}

/* === 4. .btn.btn--primary 色付け + radius 4px === */
.btn,
.btn--primary,
.btn--secondary {
  border-radius: 4px !important;
}
.btn--primary {
  background: #ff6b35 !important;
  color: #fff !important;
  border: 2px solid #ff6b35 !important;
  font-weight: 600;
  transition: all 0.15s ease;
}
.btn--primary:hover {
  background: #e85a28 !important;
  border-color: #e85a28 !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.30);
  transform: translateY(-1px);
}
.btn--secondary {
  background: #fff !important;
  color: #333333 !important;
  border: 2px solid #333333 !important;
}
.btn--secondary:hover {
  background: #333333 !important;
  color: #fff !important;
}

/* === 5. cta-free-info (表示はそのまま、データ側で volume のみ集計に変更済) === */

/* === 6. 連載中バッジ (PHP側で件数付与済) === */

/* === 7. コミックスリスト: 画像右に body + action を回り込ませる === */
.trial-panel[data-trial-panel="volumes"] .trial-row__inner {
  display: block !important;  /* flex 解除 */
}
.trial-panel[data-trial-panel="volumes"] .trial-row__thumb {
  float: left;
  margin-right: 14px;
  margin-bottom: 4px;
}
.trial-panel[data-trial-panel="volumes"] .trial-row::after {
  content: '';
  display: block;
  clear: both;
}
.trial-panel[data-trial-panel="volumes"] .trial-row__body {
  display: block !important;
  /* flex column 解除し、回り込みに対応 */
}
.trial-panel[data-trial-panel="volumes"] .trial-row__title,
.trial-panel[data-trial-panel="volumes"] .trial-row__date,
.trial-panel[data-trial-panel="volumes"] .trial-row__period {
  display: block;
  margin-bottom: 4px;
}
.trial-panel[data-trial-panel="volumes"] .trial-row__action {
  margin-top: 8px;
  display: inline-block;
}

/* ========================================================================
   v0.11.5g UI微調整
   ======================================================================== */

/* === 1. .work-hero padding 強制 === */
.work-hero {
  padding: 2rem 1rem 3rem !important;
}

/* === 2. スマホ閲覧時もwork-hero__latest-row内、CTAは右に回り込む === */
@media (max-width: 768px) {
  .work-hero__latest-row {
    flex-direction: row !important;
    align-items: stretch !important;
  }
  .work-hero__latest-row .latest-card {
    flex: 0 0 auto !important;
    align-items: flex-start !important;
  }
  .work-hero__latest-row .work-hero__cta {
    flex: 1 !important;
    min-width: 0 !important;
  }
}

/* === 3. スマホ閲覧時、連載・コミックスの一覧 左右 padding を 0 === */
@media (max-width: 768px) {
  .trial-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .trial-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .trial-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* === 4. 単行本スライダー: 表紙を少し小さく(3.5枚見せ)+ 矢印中央位置調整 === */
.volume-card {
  flex: 0 0 110px !important;  /* 150 → 110 */
}
.volume-card__cover {
  width: 110px !important;     /* 150 → 110 */
  height: 156px !important;    /* 213 → 156(3:4キープ) */
}
/* 矢印を表紙の縦中央に配置(volume-card__num の高さを除外) */
.volumes-slider {
  position: relative;
}
.volumes-slider__arrow {
  top: 60px !important;
  transform: none !important;
  margin-top: 4px;             /* スライダー padding 分 */
}

/* スマホ時のスライダー: 表紙さらに小さめで 3.5 枚見せ */
@media (max-width: 768px) {
  .volume-card {
    flex: 0 0 28vw !important;     /* 100/3.5 ≒ 28vw */
  }
  .volume-card__cover {
    width: 28vw !important;
    height: calc(28vw * 4 / 3) !important;
  }
  .volumes-slider__arrow {
    top: calc(28vw * 2 / 3) !important;   /* 高さの半分 */
  }
}

/* === 5. コミックスタブに「N巻無料配信中」副表示 === */
.trial-tab {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trial-tab__free {
  display: block;
  font-size: 0.65rem;
  color: #b8860b;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.trial-tab.is-active .trial-tab__free {
  color: #ff6b35;
}

/* ========================================================================
   v0.11.5h スマホ時の work-hero__right を画面端まで広げる
   - .work-hero の padding: 2rem 1rem 3rem の左右1remを負のマージンで相殺
   - これにより連載/コミックスタブ〜リスト末尾まで画面端まで届く
   ======================================================================== */

@media (max-width: 768px) {
  .work-hero__right {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
  }
  /* タブ内・リストもしっかり画面幅を使う */
  .work-hero__right .trial-tabs,
  .work-hero__right .trial-list-info,
  .work-hero__right .trial-shortcut,
  .work-hero__right .trial-panel,
  .work-hero__right .trial-list {
    width: 100%;
  }
}

/* ========================================================================
   v0.11.5i スマホ閲覧時の細部調整
   ======================================================================== */

@media (max-width: 768px) {
  /* trial-tabs: 背景無し・上下マージン無し・padding 10px */
  .trial-tabs {
    background: transparent !important;
    padding: 10px !important;
    margin: 0 !important;
  }
  /* trial-tab: padding 0.5rem・黒枠 3px・マージン無し */
  .trial-tab {
    padding: 0.5rem !important;
    border: 3px solid #333 !important;
    margin: 0 !important;
  }
  /* trial-list-info: 内余白調整 */
  .trial-list-info {
    padding: 0.6rem 0 0.6rem 0.25rem !important;
  }
  /* trial-shortcut: padding 無し */
  .trial-shortcut {
    padding: 0 !important;
  }
  /* trial-row: 7px 10px に圧縮 */
  .trial-row {
    padding: 7px 10px !important;
  }
  /* trial-expand-btn: 左右に余白 */
  .trial-expand-btn {
    margin-left: 10px !important;
    margin-right: 10px !important;
    width: calc(100% - 20px) !important;
  }
}

/* === ストアリンクを 380px 以下で 3列グリッド配置 === */
@media (max-width: 380px) {
  .store-list--icons {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .store-list--icons .store-item {
    width: 100%;
    margin: 0;
  }
  .store-list--icons .store-link {
    width: 100% !important;
    padding: 6px 4px !important;
    box-sizing: border-box;
  }
  .store-logo {
    max-width: 100% !important;
    height: auto !important;
    max-height: 32px !important;
  }
}

/* ========================================================================
   v0.11.5j スマホ閲覧時の細部調整(続き)
   ======================================================================== */

@media (max-width: 768px) {
  /* work-hero padding 統一 */
  .work-hero {
    padding: 1rem !important;
  }

  /* 各セクションに左右 padding を均等付与 */
  .work-single > section {
    padding: 1rem;
  }

  /* trial-shortcut: padding 12px、角丸なし */
  .trial-shortcut {
    padding: 12px !important;
    border-radius: 0 !important;
  }

  /* trial-list-info: 4方向均等の 0.6rem */
  .trial-list-info {
    padding: 0.6rem !important;
  }

  /* ストアリンクを 3列グリッド固定(iPhone15 等の幅でも均等配置) */
  .store-list--icons {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .store-list--icons .store-item {
    width: 100%;
    margin: 0;
  }
  .store-list--icons .store-link {
    width: 100% !important;
    padding: 8px 6px !important;
    box-sizing: border-box;
  }
  .store-logo {
    max-width: 100% !important;
    height: auto !important;
    max-height: 36px !important;
  }
}

/* ========================================================================
   v0.11.5k UI微調整
   ======================================================================== */

/* === credits: スマホ時も横並び維持(改行なし、はみ出し時は横スクロール) === */
@media (max-width: 768px) {
  .work-hero__credits {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .work-hero__credits::-webkit-scrollbar {
    height: 4px;
  }
  .work-hero__credits::-webkit-scrollbar-thumb {
    background: #cfd4d8;
    border-radius: 2px;
  }
  .credit-segment {
    flex-shrink: 0;
  }
}

/* === work-hero__catch: border 無し・色 #d63b3b === */
.work-hero__catch {
  border: none !important;
  border-left: none !important;
  padding: 0 !important;
  color: #d63b3b !important;
}

/* === cta-free-info: 改行しない・横並び === */
/* v0.12.3a: 旧 row !important を解除(3行縦並びにするため) */
.cta-free-info {
  flex-direction: column !important;
  align-items: stretch !important;
  white-space: normal !important;
  text-align: left !important;
}
.cta-free-info strong,
.cta-free-info small {
  white-space: normal !important;
}

/* === latest-card__body: 中央配置 === */
.latest-card__body {
  text-align: center !important;
  align-items: center !important;
}

/* === store-link: grid セル内で中央配置 === */
.store-list--icons .store-link {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
  text-align: center;
}

/* === 連載タブ: 上下中央配置(副表示なし時) === */
.trial-tab {
  justify-content: center !important;
}
.trial-tab__update {
  display: block;
  font-size: 0.65rem;
  color: #ff6b35;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.trial-tab.is-active .trial-tab__update {
  color: #ff6b35;
}

/* ========================================================================
   v0.11.5l 微調整
   ======================================================================== */

/* === スライダースクロールバー非表示 === */
.volumes-slider__track {
  scrollbar-width: none !important;
  -ms-overflow-style: none;
}
.volumes-slider__track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* === スマホ時の表紙サイズ縮小(4枚目が右に少し見える 22vw 設定) === */
@media (max-width: 768px) {
  .volume-card {
    flex: 0 0 25vw !important;
  }
  .volume-card__cover {
    width: 25vw !important;
    height: calc(25vw * 4 / 3) !important;
  }
  .volumes-slider__arrow {
    top: calc(17vw * 2 / 3) !important;
  }
}

/* === cta-free-info の文字サイズ === */
.cta-free-info strong {
  font-size: 0.7rem !important;
}
.cta-free-info small {
  font-size: 0.6rem !important;
}

/* === latest-card__body を確実に中央合わせ === */
.work-hero__latest-row .latest-card__body,
.latest-card__body {
  display: block !important;
  text-align: center !important;
}
.latest-card__body .latest-card__label,
.latest-card__body .latest-card__count {
  display: block !important;
  text-align: center !important;
  width: 100%;
}

/* ========================================================================
   v0.11.5m UI微調整
   ======================================================================== */

/* === trial-row__thumb 100px === */
.trial-row__thumb {
  flex: 0 0 100px !important;
}
.trial-panel[data-trial-panel="volumes"] .trial-row__thumb,
.trial-panel[data-trial-panel="volumes"] .trial-row__thumb-empty {
  width: 100px !important;
  flex: 0 0 100px !important;
}

/* === スマホ時の単行本スライダー: 17vw 設定(5枚以上見え) === */
@media (max-width: 768px) {
  .volume-card {
    flex: 0 0 25vw !important;
  }
  .volume-card__cover {
    width: 25vw !important;
    height: calc(25vw * 4 / 3) !important;
  }
  .volumes-slider__arrow {
    top: calc(17vw * 2 / 3) !important;
  }
}

/* === store-list--icons PC時 gap 10px === */
@media (min-width: 769px) {
  .store-list--icons {
    gap: 10px !important;
  }
}

/* === trial-expand-btn 色調整(ゴールド系) === */
.trial-expand-btn {
  background: linear-gradient(135deg, #f9f3e3 0%, #fcf6dd 100%) !important;
  color: #8b6f3a !important;
  border: 1px dashed #c9a961 !important;
}
.trial-expand-btn:hover {
  border-color: #c9a961 !important;
  border-style: solid !important;
  background: linear-gradient(135deg, #fcf6dd 0%, #f9f3e3 100%) !important;
}

/* === モーダル dialog border-radius === */
.vol-modal__dialog {
  border-radius: 10px !important;
}

/* === モーダル header の新構造 === */
.vol-modal__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: #333333;
  line-height: 1.4;
}
.vol-modal__title-sep {
  color: #888;
  margin: 0 0.2em;
}
.vol-modal__status {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
  font-weight: 500;
}

/* === モーダル ストアアイコン: padding + スマホ時 3列 === */
.vol-modal__stores--icons {
  padding: 20px 14px !important;
}
@media (max-width: 768px) {
  .vol-modal__stores--icons {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ========================================================================
   v0.11.6a 修正
   ======================================================================== */

/* === 単行本一覧サムネを 22vw に戻す(17vw→22vw)+ 矢印位置も対応 === */
@media (max-width: 768px) {
  .volume-card {
    flex: 0 0 25vw !important;
  }
  .volume-card__cover {
    width: 25vw !important;
    height: calc(25vw * 4 / 3) !important;
  }
  .volumes-slider__arrow {
    top: calc(17vw * 2 / 3) !important;
  }
}

/* === 作家クレジット: 区切り「／」横並び、はみ出し時は改行(横スクロールなし) === */
.work-hero__credits {
  display: block !important;
  overflow: visible !important;
  white-space: normal !important;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .work-hero__credits {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    white-space: normal !important;
  }
}
.credit-segment {
  display: inline;
  flex-shrink: initial;
  white-space: nowrap;
}
.credit-segment + .credit-segment::before {
  content: '／';
  color: #888;
  margin: 0 0.25em;
}
.credit-segment__role {
  margin-right: 0.4em;
}

/* ========================================================================
   v0.12.2c-e: 連載タブの「最新話固定カード」
   ======================================================================== */
.latest-episode-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 0 0 12px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.latest-episode-card__thumb {
  flex: 0 0 100px;
  width: 100px;
}
.latest-episode-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
  border: 3px solid #333;
  border-radius: 4px;
  box-sizing: border-box;
}
.latest-episode-card__thumb-empty {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f0f2f4;
  border: 3px solid #333;
  border-radius: 4px;
  box-sizing: border-box;
  position: relative;
}
.latest-episode-card__thumb-empty::before {
  content: 'NO IMAGE';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b6bc;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.latest-episode-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
}
.latest-episode-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1f2933;
  white-space: normal;
  word-break: break-word;
  width: 100%;
}
.latest-episode-card__count {
  font-size: 0.8rem;
  color: #6b7280;
}

/* ========================================================================
   v0.12.2c: 配信日(未来)・無料期間 表示
   ======================================================================== */
.trial-row__date--future {
  color: #d97706;
  font-weight: 600;
}
.trial-row__period--free {
  color: #c2410c;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ========================================================================
   v0.12.2c: 単行本スライダー、未来配信日ラベル
   ======================================================================== */
.volume-card__future-date {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  color: #d97706;
  font-weight: 600;
  text-align: center;
}

/* ========================================================================
   v0.12.2g-h: cta-free-info(連載・コミックス情報 + アンカーリンク)
   ======================================================================== */
.cta-free-info {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cta-free-info__label {
  font-size: 0.7rem;
  color: #333333;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.cta-free-info__body {
  font-size: 0.85rem;
  color: #c2410c;
  line-height: 1.4;
}
.cta-free-info__body strong {
  font-weight: 700;
  color: #c2410c;
  margin-right: 4px;
}
.cta-free-info__exp {
  font-size: 0.78rem;
  color: #c2410c;
}
/* v0.12.2h-i: ラベル/本文は縦、ボタンは横並び */
.cta-free-info__links {
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin-top: 4px;
}
.cta-free-info__link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #333333;
  border-radius: 4px;
  color: #333333;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.cta-free-info__link:hover {
  background: #333333;
  color: #ffffff;
}

/* v0.12.4a: コミックスタブの「立ち読み」ボタン */
.trial-row__action--trial {
  background: #fff !important;
  color: #1f2933 !important;
  border: 1px solid #1f2933 !important;
}
.trial-row__action--trial:hover {
  background: #1f2933 !important;
  color: #fff !important;
}
.trial-row__action--disabled {
  background: #f0f0f0 !important;
  color: #999 !important;
  border: 1px solid #ddd !important;
  cursor: not-allowed;
}

/* v0.12.5: read-badge を trial-row__title の右にインライン表示 */
.trial-row__body {
  /* タイトルとバッジが横並びになるよう調整 */
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trial-row__title + .read-badge {
  display: inline-block;
  margin-top: 0;
  vertical-align: middle;
  font-size: 0.65rem;
  padding: 1px 6px;
}
/* タイトル行とバッジを同じ行に並べる */
.trial-row__body > .trial-row__title:has(+ .read-badge) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* v0.12.5a: 連載 period の「会員ユーザー限定」リンクスタイル */
a.trial-row__period.trial-row__period--members {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.trial-row__period.trial-row__period--members:hover {
  filter: brightness(0.95);
}
/* pre + members 同時表示時、改行 */
.trial-row__period--pre + .trial-row__period--members {
  margin-top: 4px;
}

/* ========================================================================
   v0.12.5d: 単行本カードの NEW リボン(斜め・trial-row__ribbon と同様)
   ======================================================================== */
.volume-card { position: relative; }
.volume-card__cover { position: relative; overflow: hidden; }
.volume-card__ribbon {
  position: absolute;
  top: 8px;
  left: -25px;
  background: #ff6b35;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 25px;
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  z-index: 2;
  text-align: center;
  line-height: 1.2;
}

/* ========================================================================
   v0.12.5c: サイト全体の黒 (#333333) を 落ち着いた濃グレー (#333333) に
   ※ #333 / #333333 は別途残す(リーダー背景など)
   ======================================================================== */
:root {
  --dc-text-primary: #333333;
}
body {
  color: #333333;
  font-size: 0.88rem;
}
/* 見出し・強調系はサイズ指定維持(下記でも明示的にサイズ指定済みのものに影響なし) */
h1, h2, h3, h4, h5, h6, strong, b, .section-title, .work-hero__title-top {
  /* font-size は元の指定を維持(これらは別途 rem 指定済み) */
}

/* ========================================================================
   v0.12.5d: 作品紹介・登場人物・自由フォームの本文サイズを 0.88rem に
   ======================================================================== */
.work-overview__body,
.work-overview__body p,
.work-characters .fc-text,
.fc-text,
.work-freecontent,
.work-freecontent p,
.work-freecontent__body {
  font-size: 0.88rem;
}
