/* CMS由来の長い文言・図版を、2026-11-13納品の枠へ収める。 */
.posts-card-image:empty,.library-cover:empty{background:linear-gradient(125deg,#edf5f4,#ededf8)}
.posts-card-image img,.library-cover img{object-fit:contain}
.posts-card,.fn-card,.library-card{overflow-wrap:anywhere}
.posts-pagination .current{display:inline-flex;align-items:center;justify-content:center;background:#29333e;color:#fff}
.posts-pagination .is-prev svg{transform:rotate(180deg)}
.redesign-empty{padding:32px 0;color:#596875;line-height:1.9}
.fn-category-bar{top:var(--site-header-height,var(--posts-header))}
.fn-section{scroll-margin-top:calc(var(--site-header-height,var(--posts-header)) + 90px)}
.fd-hero-visual>img,.fd-section-visual img,.fd-related-art>img{display:block;width:100%;height:100%;object-fit:contain}
.fd-section-visual>figure,.fd-section-visual>.wp-block-group{height:100%;margin:0}
.fd-body,.fd-section-copy,.fd-section-figure{min-width:0;overflow-wrap:anywhere}
.fd-body img,.fd-body video,.fd-body iframe{max-width:100%;height:auto}
.fd-body .wp-block-columns{display:flex;gap:24px}
.fd-body .wp-block-column{min-width:0;flex:1}
.fd-body h2,.fd-body h3{margin:24px 0 16px;line-height:1.6}
.fd-body table{max-width:100%;border-collapse:collapse}
.fd-body td,.fd-body th{border:1px solid #dce5eb;padding:12px}
.fd-body .wp-block-table{overflow-x:auto}
.fd-section-visual figcaption{font-size:12px}
.fd-related[hidden],.fd-contents[hidden],.library-section[hidden],.library-card[hidden]{display:none}
.fd-related:has(.fd-related-grid:empty),.fd-contents:has(.fd-anchor-list:empty),.fd-hero-visual:empty{display:none}
.fd-hero-grid:has(.fd-hero-visual:empty){grid-template-columns:1fr}
.fn-visual>img{display:block;width:100%;height:100%;object-fit:contain}
.fn-visual:empty{display:none}
.library-cover img{max-width:100%;height:100%}
.library-filters{flex-wrap:wrap}
.library-filter[aria-pressed=true]{background:#29333e;color:#fff;border-color:#29333e}
@media(max-width:699px){.fd-body .wp-block-columns{display:block}.library-filter{overflow-wrap:anywhere}.fn-category-links{grid-template-columns:repeat(auto-fit,minmax(76px,1fr))}}

/* モバイルもPCと同じ四角い矢印。納品の半幅・別行配置を解除する。 */
@media(max-width:699px){
 .posts-pagination{gap:4px}
 .posts-pagination .posts-page-arrow{box-sizing:border-box;flex:0 0 44px;width:44px;min-width:44px;height:44px;margin-top:0;order:0}
 .posts-pagination .posts-page-arrow svg{width:16px;height:16px}
}
/* 関連機能の一覧導線も関連記事と同じ表示に揃える。 */
.fd-page .fd-related-head .fd-back-link{font-size:14px;font-weight:600;text-decoration:none;transition:opacity .2s ease}
.fd-page .fd-related-head .fd-back-link:hover{opacity:.7;text-decoration:none}
@media(prefers-reduced-motion:reduce){.fd-page .fd-related-head .fd-back-link{transition:none}}
/* 資料表紙の枠を実画像に合わせ、カードの導線を下端に揃える。 */
.library-page #library-list .library-cover img{width:auto;height:auto;max-width:min(100%,340px);max-height:192px;object-fit:contain}
.library-page #library-list .library-card-copy h3{margin-bottom:20px}
.library-page #library-list .library-card-link{margin-top:auto}
@media(max-width:699px){.library-page #library-list .library-card-copy h3{margin-bottom:13px}}

/* 機能Singleの横長画像枠を16:9へ統一する。 */
.fd-page .fd-hero-visual,.fd-page .fd-section-visual{aspect-ratio:16/9}
@media(min-width:700px){.fd-page .fd-related-art{aspect-ratio:16/9}}

/* 機能一覧のアイキャッチ枠も16:9に揃える。 */
.fn-page .fn-visual{aspect-ratio:16/9}

/* 詳細リンクの罫線を外し、文言を右端の矢印の隣へ揃える。 */
.fn-page .fn-card-copy .fn-detail-link{border-top:0;justify-content:flex-end}
.fn-page .fn-more-link{border-top:0;justify-content:flex-end;gap:10px}
.fn-page .fn-conversion-card .posts-button{justify-content:center;gap:10px;padding-inline:18px}
