/* 販促ポスター固有の補正。共通設定はstyle.css / category.cssを使用。 */
body.poster-page .poster-hero {
  min-height: 420px;
  padding: 94px 32px 38px;
  background-image: url('../img/keyvisual/keyvisual-poster.jpg');
  background-position: center right;
}
.poster-page .poster-hero .ct-hero-inner { max-width: 1200px; }
.poster-page .poster-hero::before { background:linear-gradient(100deg,rgba(7,20,34,.98) 0%,rgba(7,20,34,.94) 42%,rgba(7,20,34,.48) 68%,rgba(7,20,34,.2) 100%); }
.poster-page .poster-hero h1 { font-size: clamp(28px,3.1vw,42px); line-height: 1.4; max-width: 780px; }
.poster-page .poster-hero h1 .accent { display:inline-block; white-space:nowrap; }
.poster-page .poster-hero .ct-breadcrumb { margin-bottom: 20px; }
.poster-page .poster-hero .ct-eyebrow { margin-bottom: 10px; }
.poster-page .poster-hero .ct-hero-sub { margin-bottom: 18px; }
.poster-page .poster-hero .ct-hero-tags { margin-bottom: 0; }
.poster-page .ct-features { padding: 30px 32px; }
.poster-page .ct-features-grid { margin-top: 0; }
.poster-page .ct-feature-title { font-size: 14px; }
.poster-page .ct-feature-text { font-size: 13px; }
.poster-page .poster-category-nav { display:block; position: relative; z-index: 1; padding: 0 32px 24px; background: var(--pd-bg2); }
.poster-page .poster-category-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width:1200px; margin:0 auto; }
.poster-page .poster-category-nav a { padding: 10px 16px; background:#fff; border:1px solid #c6e1ee; border-radius:8px; color:#287b9e; font-size:13px; font-weight:600; }
.poster-page .poster-category-nav a:hover { background:#e5f3fa; border-color:#4eb3d8; }
.poster-page .poster-category-nav a:focus-visible { outline: 3px solid #27769a; outline-offset:3px; }
.poster-page .ct-main { padding-top: 30px; padding-bottom: 48px; }
.poster-page .ct-section { margin-bottom: 38px; scroll-margin-top: 90px; }
.poster-page .ct-section-header { margin-bottom: 20px; }
.poster-page .ct-section-title-wrap { min-width: 0; }
.poster-page .ct-section-title { line-height: 1.5; }
.poster-page .ct-grid, .poster-page .ct-grid-compact { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.poster-page .ct-card, .poster-page .ct-card-compact { min-width: 0; border-radius: 14px; }
.poster-page .ct-card-img, .poster-page .ct-card-compact-img { display: block; aspect-ratio: auto; background: #fff; }
.poster-page .ct-card-img img, .poster-page .ct-card-compact-img img { display: block; width: 100%; height: auto; object-fit: contain; padding: 0; }
/* 元画像の白い外余白は表示枠で除き、ポスター本体の縦横比を維持する。 */
.poster-page .poster-image-fill { position: relative; aspect-ratio: var(--poster-ratio); overflow: hidden; }
.poster-page .poster-image-fill img { position: absolute; left: var(--poster-left); top: var(--poster-top); width: var(--poster-width); max-width: none; height: auto; }
.poster-page .ct-card:hover .ct-card-img img, .poster-page .ct-card-compact:hover .ct-card-compact-img img { transform: none; }
.poster-page .ct-card-body, .poster-page .ct-card-compact-body { padding: 16px; gap: 0; }
.poster-page .ct-card-name, .poster-page .ct-card-compact-name { font-size: 15px; line-height: 1.55; margin-bottom: 8px; }
.poster-page .ct-card-num, .poster-page .ct-card-compact-num { font-size: 11px; }
.poster-page .ct-card-price, .poster-page .ct-card-compact-price { font-size: 18px; margin-bottom: 14px; }
.poster-page .poster-shop-btn, .poster-page .ct-card-compact .poster-shop-btn {
  width: 100%; border:1px solid #d6e0e6; background:#edf2f5; color:#617381;
  font-family:inherit; font-size:12px; font-weight:600; line-height:1.5;
  padding:10px 6px; box-shadow:none; opacity:1; transform:none; cursor:default;
}
.poster-page .poster-detail-btn { margin-bottom: 8px; }
.poster-page .ct-price-note { display:flex; flex-wrap:wrap; margin-bottom:18px; line-height:1.7; }
.poster-page .ct-price-note span { font-size:12px; }
/* クラス付与でstyle.css末尾の共通フッターを適用。 */
@media (max-width: 1024px) {
  .poster-page .ct-grid, .poster-page .ct-grid-compact { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  body.poster-page .poster-hero { min-height:0; padding:88px 20px 30px !important; }
  .poster-page .poster-hero h1 { font-size:clamp(26px,5.2vw,36px); }
  .poster-page .poster-hero::before { background:linear-gradient(100deg,rgba(7,20,34,.94),rgba(7,20,34,.76)); }
  .poster-page .poster-hero .ct-hero-sub { font-size:14px; }
  .poster-page .poster-hero .ct-hero-sub br { display:none; }
  .poster-page .ct-features { padding:24px 18px; }
  .poster-page .ct-features-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .poster-page .ct-feature-card { padding:16px 12px; }
  .poster-page .poster-category-nav { padding:0 18px 22px; }
  .poster-page .poster-category-inner { gap:8px; justify-content:flex-start; }
  .poster-page .poster-category-nav a { padding:9px 11px; font-size:12px; }
  .poster-page .ct-main { padding:24px 18px 38px; }
  .poster-page .ct-section { margin-bottom:30px; }
  .poster-page .ct-section-header { gap:10px; margin-bottom:16px; }
  .poster-page .ct-section-title { font-size:17px; }
  .poster-page .ct-grid, .poster-page .ct-grid-compact { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .poster-page .ct-card-body, .poster-page .ct-card-compact-body { padding:12px 10px; }
  .poster-page .ct-card-name, .poster-page .ct-card-compact-name { font-size:13px; }
  .poster-page .ct-card-price, .poster-page .ct-card-compact-price { font-size:16px; }
  .poster-page .poster-shop-btn, .poster-page .ct-card-compact .poster-shop-btn { font-size:11px; letter-spacing:0; }
}
@media (prefers-reduced-motion: reduce) {
  .poster-page .ct-card, .poster-page .ct-card-compact, .poster-page .fade-in { transition:none; }
}
