.record-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:32px}.record-filters a{border:1px solid #ccd6df;border-radius:30px;padding:9px 17px;text-decoration:none;color:#19365a}.record-filters a.selected{background:#19365a;color:white}.record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.record-card{background:white;border:1px solid #e1e6ed;border-radius:9px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 5px 15px #132c4b0c}.record-card img,.record-noimage{width:100%;aspect-ratio:4/3;object-fit:cover}.record-noimage{display:grid;place-items:center;background:#e5ebf1;color:#617389;font-size:.85rem}.record-card-body{padding:18px}.record-card-body small{color:#65758b}.record-card-body h2{font-size:1.15rem;line-height:1.6;margin:8px 0 18px}.record-card-body span{color:#24517f}.record-pages{display:flex;justify-content:center;gap:24px;margin-top:35px}.record-detail{max-width:880px}.record-body{font-size:1.04rem;line-height:2;overflow-wrap:anywhere;white-space:normal}.record-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:35px}.record-gallery img{width:100%;height:auto;border-radius:7px}.record-back{margin-top:40px}@media(max-width:760px){.record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.record-grid,.record-gallery{grid-template-columns:1fr}}
/* v0.2: 記録ページ固有の表示調整 */
body:has(.record-filters) .header,body:has(.record-detail) .header{position:relative;top:auto}
.record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:25px}
.record-card{display:block;min-width:0}
.record-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.record-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;grid-auto-flow:row;gap:16px}
.record-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;align-self:start;margin:0}
@media(max-width:760px){.record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.record-grid,.record-gallery{grid-template-columns:1fr}}

/* 記事内の文章・写真ブロック */
.record-content{display:flex;flex-direction:column;gap:22px}.record-content .record-body{white-space:normal;min-height:0}.record-figure{margin:0 auto;text-align:center;max-width:100%}.record-figure.size-small{width:40%}.record-figure.size-medium{width:65%}.record-figure.size-large{width:100%}.record-figure img{display:block;width:100%;height:auto;border-radius:7px}.record-figure figcaption{margin-top:9px;color:#566779;font-size:.92rem;line-height:1.7;overflow-wrap:anywhere}.record-lightbox-link{display:block;cursor:zoom-in}.record-gallery a img{width:100%}@media(max-width:600px){.record-figure.size-small,.record-figure.size-medium{width:100%}}
.record-lightbox{position:fixed;inset:0;margin:auto;padding:54px 52px 38px;border:0;border-radius:10px;max-width:96vw;max-height:96vh;background:#0d1724;color:white;box-shadow:0 12px 50px #0008}.record-lightbox::backdrop{background:#000c}.record-lightbox img{display:block;max-width:calc(96vw - 104px);max-height:calc(96vh - 110px);object-fit:contain}.record-lightbox button{position:absolute;border:0;color:white;background:#273a54cc;cursor:pointer;border-radius:5px;padding:8px 12px;font-size:22px}.record-lightbox .lb-close{top:8px;right:12px;font-size:14px}.record-lightbox .lb-prev{top:48%;left:8px}.record-lightbox .lb-next{top:48%;right:8px}.record-lightbox .lb-count{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);font-size:13px}@media(max-width:600px){.record-lightbox{padding:45px 25px 30px}.record-lightbox img{max-width:calc(96vw - 50px);max-height:calc(96vh - 80px)}}
