/* ブリッジブックスが出力する固定classに、村山工業の共通意匠を適用。 */
.bridge-section { padding: 64px 0; border-top: 1px solid var(--line); background: var(--paper); }
.home-reference .home-blog .section-top { margin-bottom: 30px; }
.home-reference .home-blog .section-top h2 { font-size: 28px; }
.home-reference .home-blog .section-top .en { font-size: 13px; }
.blog-space.bridge-list { padding: 38px 0 64px; min-height: 34vh; margin-bottom: 0; }
.bridge-detail { width: min(90.6%, 900px); padding: 0 0 72px; min-height: 40vh; }
.bridge-widget { min-width: 0; }
.bridge-widget [aria-busy="true"] { min-height: 80px; }
.bridge-fallback, .bridge-noscript, .bb-empty { padding: 40px 0; color: #62635b; font-size: 15px; line-height: 2; }
.bridge-actions { display: flex; justify-content: center; margin-top: 36px; }
.bridge-actions .outline-link { margin: 0; min-width: 220px; font-size: 15px; }
.bb-news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 28px; }
.bb-news-item { display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.bb-news-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-dark); }
.bb-news-image, .bb-news-video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bb-news-body { padding-top: 18px; min-width: 0; }
.bb-news-date, .bb-detail-date, .bb-voice-date { display: block; color: #706756; font-family: Georgia, serif; font-size: 13px; letter-spacing: .07em; }
.bb-news-title { font-size: 19px; line-height: 1.7; margin-top: 8px; font-weight: 700; overflow-wrap: anywhere; }
.bb-news-text { color: #55594f; font-size: 14px; line-height: 1.9; margin-top: 10px; overflow-wrap: anywhere; }
@media (hover: hover) { .bb-news-item:hover .bb-news-image, .bb-news-item:hover .bb-news-video { transform: scale(1.025); } }
.bb-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 38px 0 0; padding: 0; list-style: none; }
.bb-pagination-item a { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 5px 10px; border: 1px solid var(--line); font-size: 15px; }
.bb-pagination-item.is-current a { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bb-detail-date { margin-bottom: 20px; }
.bb-detail-media { margin-bottom: 32px; }
.bb-detail-image, .bb-detail-video { display: block; width: 100%; height: auto; max-height: 720px; object-fit: contain; margin: 0 auto; background: var(--paper-dark); }
.bb-detail-body { font-size: 16px; line-height: 2.1; overflow-wrap: anywhere; }
.bb-detail-body > * + * { margin-top: 1.4em; }
.bb-detail-body h1, .bb-detail-body h2, .bb-detail-body h3 { font-size: 24px; line-height: 1.7; font-weight: 700; margin: 1.8em 0 .8em; }
.bb-detail-body p { margin: 0 0 1.4em; }
.bb-detail-body ul, .bb-detail-body ol { list-style: revert; padding-left: 1.6em; }
.bb-detail-body a { text-decoration: underline; text-underline-offset: .2em; }
.bb-detail-body img, .bb-detail-body video, .bb-detail-body iframe { max-width: 100%; height: auto; }
.bb-detail-body iframe { aspect-ratio: 16 / 9; }
.bb-detail-body pre { max-width: 100%; overflow: auto; white-space: pre-wrap; }
.bb-detail-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.bb-detail-body th, .bb-detail-body td { padding: 10px; border: 1px solid var(--line); }
.bridge-voice-section { background: #e7e3d9; }
.bb-voice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bb-voice-item { padding: 26px; min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.bb-voice-header { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; align-items: center; }
.bb-voice-avatar { grid-row: 1 / 3; display: block; width: 40px; height: 40px; object-fit: cover; border-radius: 50%; background: var(--paper-dark); }
.bb-voice-avatar.is-empty { border: 1px solid var(--line); }
.bb-voice-name { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.bb-voice-date { font-size: 12px; }
.bb-voice-rating { display: flex; gap: 4px; margin-top: 16px; }
.bb-star { display: inline-block; width: 16px; height: 16px; background: #d4d0c4; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 93%, 50% 71%, 21% 93%, 32% 57%, 2% 35%, 39% 35%); }
.bb-star.is-on { background: #987638; }
.bb-star.is-half { background: linear-gradient(to right, #987638 50%, #d4d0c4 50%); }
.bb-voice-text { margin-top: 14px; font-size: 14px; line-height: 2; overflow-wrap: anywhere; }
.bridge-source { margin-top: 24px; color: #62635b; font-size: 13px; }
@media (max-width: 850px) {
  .bb-news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
}
@media (max-width: 600px) {
  .bridge-section { padding: 38px 0; }
  .home-reference .home-blog .section-top h2 { font-size: 23px; }
  .home-reference .home-blog .section-top .en { font-size: 11px; }
  .home-reference .home-blog .section-top { margin-bottom: 24px; }
  .blog-space.bridge-list { padding: 28px 0 44px; }
  .bridge-detail { padding-bottom: 48px; }
  .bb-news-list, .bb-voice-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bb-news-title { font-size: 19px; }
  .bb-news-body { padding-top: 14px; }
  .bb-news-text, .bb-detail-body { font-size: 14px; }
  .bb-detail-body h1, .bb-detail-body h2, .bb-detail-body h3 { font-size: 21px; }
  .bb-detail-media { margin-bottom: 24px; }
  .bb-voice-item { padding: 22px; }
  .bridge-fallback, .bridge-noscript, .bb-empty { font-size: 14px; padding: 28px 0; }
  .bridge-actions { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .bb-news-image, .bb-news-video { transition: none; } }
