/* Bridgeの原本が出力する要素を既存サイトのデザインへ合わせます。 */
.bridge-list:empty{min-height:0}
.bridge-list .bb-news-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 30px}
.bridge-list .bb-news-item{display:block;min-width:0;border-bottom:1px solid var(--line);padding-bottom:25px}
.bridge-list .bb-news-media{aspect-ratio:4/5;overflow:hidden;background:var(--light)}
.bridge-list .bb-news-image,.bridge-list .bb-news-video{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.bridge-list .bb-news-item:hover .bb-news-image,.bridge-list .bb-news-item:hover .bb-news-video{transform:scale(1.025)}
.bridge-list .bb-news-body{padding-top:19px;overflow-wrap:anywhere}
.bridge-list .bb-news-date,.bb-detail-date{display:block;font-size:11px;letter-spacing:.08em;color:var(--muted);line-height:1.7}
.bridge-list .bb-news-title{font-family:inherit;font-size:15px;line-height:1.9;color:var(--ink);margin-top:9px}
.bridge-list .bb-news-text{font-family:inherit;font-size:12px;line-height:2;color:var(--muted);margin-top:9px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.bridge-list .bb-empty,.bridge-detail .bb-empty{padding:32px 0;font-size:13px;color:var(--muted)}
.bridge-follow{margin:32px 0 0;font-size:12px;color:var(--muted)}
.bridge-follow a{text-decoration:underline;text-underline-offset:4px}
.bridge-pagination:empty{display:none}
.bridge-pagination .bb-pagination{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:42px 0 0;padding:0}
.bridge-pagination .bb-pagination-item a{display:grid;place-items:center;min-width:42px;min-height:42px;padding:8px 12px;border:1px solid var(--line);font-size:13px}
.bridge-pagination .bb-pagination-item.is-current a{background:var(--blush);border-color:var(--button-line,var(--line))}
.bridge-pagination a:hover{background:var(--light)}
.bridge-article-heading{max-width:860px}
.bridge-article-heading h1{max-width:44em;overflow-wrap:anywhere;line-height:1.9}
.bridge-detail{max-width:860px;margin-inline:auto;padding-bottom:72px;overflow-wrap:anywhere}
.bridge-detail .bb-detail-date{margin-bottom:24px}
.bridge-detail .bb-detail-media{background:var(--light);margin-bottom:32px}
.bridge-detail .bb-detail-image,.bridge-detail .bb-detail-video{display:block;width:100%;height:auto;max-height:760px;object-fit:contain}
.bridge-detail .bb-detail-body{font-family:inherit;font-size:14px;line-height:2.15;letter-spacing:.035em;overflow-wrap:anywhere}
.bridge-detail .bb-detail-body p{font-size:inherit;line-height:inherit;margin:0 0 1.5em}
.bridge-detail .bb-detail-body :is(h1,h2,h3,h4){font-family:inherit;font-size:20px;font-weight:400;line-height:1.8;margin:2em 0 1em}
.bridge-detail .bb-detail-body img{max-width:100%;height:auto;object-fit:contain}
.bridge-detail .bb-detail-body :is(video,iframe){max-width:100%}
.bridge-detail .bb-detail-body a{text-decoration:underline;text-underline-offset:4px}
.bridge-detail .bb-detail-body :is(pre,table){display:block;max-width:100%;overflow:auto}
.bridge-return{max-width:860px;margin:0 auto 72px;border-top:1px solid var(--line);padding-top:28px}
@media(max-width:800px){
 .bridge-list .bb-news-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 22px}
 .bridge-list .bb-news-title{font-size:14px}
 .bridge-detail .bb-detail-image,.bridge-detail .bb-detail-video{max-height:650px}
}
@media(max-width:560px){
 .bridge-list .bb-news-list{grid-template-columns:1fr;gap:30px}
 .bridge-list .bb-news-media{aspect-ratio:1}
 .bridge-list .bb-news-body{padding-top:15px}
 .bridge-list .bb-news-text{font-size:12px}
 .bridge-detail{padding-bottom:45px}
 .bridge-detail .bb-detail-body{font-size:13px}
 .bridge-detail .bb-detail-body :is(h1,h2,h3,h4){font-size:18px}
 .bridge-return{margin-bottom:50px}
}
@media(prefers-reduced-motion:reduce){.bridge-list .bb-news-image,.bridge-list .bb-news-video{transition:none}}
