/**
 * service-cards.css — サービスカテゴリ 6カード（.wn-store-listings-c / .wn-store-c-card）
 *
 * 旧 cv-blocks.php Section 1 のインライン wp_head CSS を外部化（T3-2）。
 * /listings/ と トップ（front-services が同マークアップを再利用）の両方で読み込む。
 * 出力・見た目は移行前と同一。!important 不使用。
 *
 * @package ListingHiveChild
 */

/* HivePress 標準一覧（検索フォーム・結果・ページネーション）を隠し、独自カードを主役に */
body .wn-store-listings-injected { display: none; }
body .hp-page .hp-page__header,
body .hp-page .hp-form--listing-search,
body .hp-page .hp-listings,
body .hp-page .hp-results,
body .hp-page .hp-pagination { display: none; }

.wn-store-listings-c { margin: 0 auto; padding: 2rem 1rem; max-width: 1100px; }
.wn-store-listings-c__head { text-align: center; margin: 0 auto 1.5rem; }
.wn-store-listings-c__title { font-size: var(--fs-3, clamp(1.5rem, 3vw, 2rem)); font-weight: 800; color: #1a1a1a; line-height: 1.35; margin: 0 0 .5rem; }
.wn-store-listings-c__lead { font-size: .95rem; line-height: 1.7; color: #4A5570; margin: 0; }
html[data-theme="dark"] .wn-store-listings-c__title { color: #e6e8ed; }
html[data-theme="dark"] .wn-store-listings-c__lead { color: #cfd6e2; }
.wn-store-listings-c__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 900px) { .wn-store-listings-c__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .wn-store-listings-c__inner { grid-template-columns: 1fr; } }
.wn-store-c-card { display: flex; flex-direction: column; padding: 1.25rem; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; }
.wn-store-c-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.wn-store-c-card__head { padding-bottom: .75rem; border-bottom: 1px solid rgba(0,0,0,.06); margin-bottom: .85rem; }
.wn-store-c-card__icon { display: inline-block; font-size: 1.5rem; margin-right: .35rem; vertical-align: middle; }
.wn-store-c-card__badge { display: inline-block; padding: 3px 8px; font-size: .68rem; font-weight: 700; color: #fff; background: var(--c-accent, #F26B22); border-radius: 3px; letter-spacing: .04em; vertical-align: middle; }
.wn-store-c-card__title { margin: .5rem 0 .25rem; font-size: 1.05rem; font-weight: 800; color: #1a1a1a; line-height: 1.35; }
.wn-store-c-card__lead { margin: 0; font-size: .85rem; line-height: 1.65; color: #666; }
.wn-store-c-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin: 0 0 .85rem; padding: .65rem .8rem; background: rgba(0,0,0,.03); border-radius: 6px; }
.wn-store-c-card__meta-row { display: flex; flex-direction: column; gap: .15rem; }
.wn-store-c-card__meta dt { margin: 0; font-size: .7rem; font-weight: 600; color: #999; letter-spacing: .04em; }
.wn-store-c-card__meta dd { margin: 0; font-size: .88rem; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
.wn-store-c-card__meta dd.is-price { color: var(--c-accent, #F26B22); }
.wn-store-c-card__listings { list-style: none; margin: 0 0 .85rem; padding: 0; display: grid; gap: .35rem; }
.wn-store-c-card__listing { margin: 0; }
.wn-store-c-card__listing-link { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem .65rem; background: rgba(255,111,61,.05); border-radius: 6px; text-decoration: none; color: #2a2f3a; transition: background .15s ease; }
.wn-store-c-card__listing-link:hover { background: rgba(255,111,61,.14); }
.wn-store-c-card__listing-title { font-size: .85rem; font-weight: 600; color: #1a1a1a; flex: 1; line-height: 1.4; }
.wn-store-c-card__listing-price { font-size: .82rem; font-weight: 700; color: var(--c-accent, #F26B22); white-space: nowrap; }
.wn-store-c-card__empty { margin: 0 0 .85rem; font-size: .85rem; color: var(--c-text-mute); text-align: center; padding: .8rem 0; }
.wn-store-c-card__more { margin-top: auto; padding: .65rem 0 0; font-size: .85rem; font-weight: 700; color: var(--c-accent, #F26B22); text-decoration: none; border-top: 1px solid rgba(0,0,0,.06); text-align: right; }
.wn-store-c-card__more:hover { text-decoration: underline; }
.wn-store-listings-c__note { margin: 1.5rem auto 0; padding: 1rem; font-size: .85rem; line-height: 1.7; color: #666; background: rgba(0,0,0,.03); border-radius: 8px; text-align: center; }
html[data-theme="dark"] .wn-store-c-card { background: #1f2430; border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .wn-store-c-card__title { color: #e6e8ed; }
html[data-theme="dark"] .wn-store-c-card__lead { color: #aab1bf; }
html[data-theme="dark"] .wn-store-c-card__listing-link { color: #e6e8ed; background: rgba(255,111,61,.1); }
html[data-theme="dark"] .wn-store-c-card__listing-link:hover { background: rgba(255,111,61,.22); }
html[data-theme="dark"] .wn-store-c-card__listing-title { color: #e6e8ed; }
html[data-theme="dark"] .wn-store-c-card__more { border-top-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .wn-store-listings-c__note { background: rgba(255,255,255,.05); color: #aab1bf; }
html[data-theme="dark"] .wn-store-c-card__meta { background: rgba(255,255,255,.04); }
html[data-theme="dark"] .wn-store-c-card__meta dt { color: #8a92a2; }
html[data-theme="dark"] .wn-store-c-card__meta dd { color: #e6e8ed; }
@media (max-width: 900px) { .wn-store-c-card__meta { padding: .55rem .7rem; } .wn-store-c-card__meta dd { font-size: .82rem; } }
@media (max-width: 600px) {
    .wn-store-listings-c { padding: 1.25rem .75rem; }
    .wn-store-c-card { padding: 1rem; }
    .wn-store-c-card__meta { padding: .5rem .65rem; }
    .wn-store-c-card__meta dt { font-size: .65rem; }
    .wn-store-c-card__meta dd { font-size: .78rem; }
    .wn-store-c-card__listing-link { padding: .5rem .55rem; }
    .wn-store-c-card__listing-title { font-size: .8rem; }
    .wn-store-c-card__listing-price { font-size: .78rem; }
}

/* ============================================================
   T3-1: トップ front-services 見出し（旧 inline #wn-store-front-services-style）
   body.home / body.page-id-2805 にスコープ（/listings/ には影響しない）
   ============================================================ */
body.home .wn-front-services__head,
body.page-id-2805 .wn-front-services__head { max-width: 1100px; margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) 1rem 0; text-align: center; }
body.home .wn-front-services__eyebrow,
body.page-id-2805 .wn-front-services__eyebrow { color: var(--c-accent, #F26B22); font-size: .76rem; font-weight: 700; letter-spacing: .14em; margin: 0 0 .5rem; }
body.home .wn-front-services__title,
body.page-id-2805 .wn-front-services__title { font-size: var(--fs-3, clamp(1.4rem, 2.8vw, 1.85rem)); font-weight: 800; color: #1a1a1a; margin: 0 0 .5rem; line-height: 1.35; }
body.home .wn-front-services__sub,
body.page-id-2805 .wn-front-services__sub { color: #4A5570; margin: 0; font-size: .98rem; line-height: 1.7; }
html[data-theme="dark"] body.home .wn-front-services__title,
html[data-theme="dark"] body.page-id-2805 .wn-front-services__title { color: #e6e8ed; }
html[data-theme="dark"] body.home .wn-front-services__sub,
html[data-theme="dark"] body.page-id-2805 .wn-front-services__sub { color: #cfd6e2; }
