/* M04 content-fit adjustments; S01-F01 Visual Master remains unchanged. */
.s01-story{padding-bottom:0}
.s01-story .s-header{flex-wrap:wrap}
.s01-story .s-header .s-home-link{margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;font:600 .875rem/1.5 var(--ui);letter-spacing:.04em;white-space:nowrap}
.s01-story .s-photo .s-frame{transform:rotate(var(--photo-tilt,0deg))}
.s01-story .s-image img{transform:none}
.s01-story .s-photo figcaption{font-size:12px;letter-spacing:1px;line-height:1.65;overflow-wrap:anywhere}
.s01-story .s-photo .rotate-original{position:relative;aspect-ratio:var(--source-ratio)}
.s01-story .s-photo .rotate-original img{position:absolute;width:var(--source-width);height:auto;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-90deg)}
.s01-story .s-era.collage .s-era-photos{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}
.s01-story .s-era.collage .s-photo{width:100%;margin:0}
.s01-story .s-era.collage .s-photo:nth-child(1){grid-column:1/5;grid-row:1;--photo-tilt:-3deg}
.s01-story .s-era.collage .s-photo:nth-child(2){grid-column:7/13;grid-row:1/3;margin-top:70px;--photo-tilt:4deg}
.s01-story .s-era.collage .s-photo:nth-child(3){grid-column:2/5;grid-row:2;--photo-tilt:2deg}
.s01-story .s-era.pair .s-photo{width:48%}
.s01-story .s-era.pair .s-photo.s-kaho{width:40%;margin-top:85px}
.s01-story .single.s-kaho .s-photo{width:70%;margin-right:8%}
.s01-story .s-then-photo{width:50%;max-width:630px}
.s01-story .s-then-top>div{font-size:22px}
.s01-story .day-photo-2 img,.s01-story .day-photo-3 img{aspect-ratio:auto;object-fit:contain}
.s01-story .s-proposal-bottom>p.s-jp{font:400 18px/1.95 Arial,'Hiragino Kaku Gothic ProN',sans-serif}
.s01-story .s-proposal-pair{display:flex;justify-content:flex-end;align-items:flex-start;gap:5%;margin-top:42px}
.s01-story .s-proposal-pair .s-photo{width:28%;--photo-tilt:-3deg}
.s01-story .s-proposal-pair .s-photo:nth-child(2){width:24%;margin-top:70px;--photo-tilt:4deg}
.s01-story .s-wedding-collage .wedding-photo-1{grid-column:6/13}
.s01-story .s-wedding-collage .wedding-photo-2{grid-column:2/7;grid-row:2}
.s01-story .s-wedding-copy{grid-column:8/13;grid-row:2;align-self:center}
.s01-story .s-wedding-date>.s-jp{text-align:center;margin-top:32px}
@media(max-width:700px){
.s01-story .s-era.collage .s-era-photos{gap:18px 6px}
.s01-story .s-era.collage .s-photo:nth-child(1){grid-column:1/9;grid-row:1}
.s01-story .s-era.collage .s-photo:nth-child(2){grid-column:3/13;grid-row:2;margin-top:0}
.s01-story .s-era.collage .s-photo:nth-child(3){grid-column:1/8;grid-row:3}
.s01-story .s-era.pair .s-era-photos{display:flex;flex-direction:column;gap:24px}
.s01-story .s-era.pair .s-photo{width:94%}
.s01-story .s-era.pair .s-photo.s-kaho{width:86%;align-self:flex-end;margin-top:0}
.s01-story .single.s-kaho .s-photo{width:100%;margin-right:0}
.s01-story .s-then-photo{width:96%}
.s01-story .s-then-top>div{font-size:17px}
.s01-story .s-then-bottom .s-date p{font-size:10px;letter-spacing:1px}
.s01-story .s-proposal-bottom .s-photo{width:100%}
.s01-story .s-proposal-bottom>p.s-jp{font-size:16px;margin-left:18%}
.s01-story .s-proposal-pair{gap:8px;justify-content:space-between}
.s01-story .s-proposal-pair .s-photo{width:52%}
.s01-story .s-proposal-pair .s-photo:nth-child(2){width:44%;margin-top:44px}
.s01-story .s-wedding-collage .wedding-photo-1{grid-column:2/13;grid-row:2}
.s01-story .s-wedding-collage .wedding-photo-2{grid-column:1/11;grid-row:3}
.s01-story .s-wedding-copy{grid-column:2/13;grid-row:4;margin-top:6px}
}
