.history-intro{padding:70px 0 40px;background:#f4f4f4}.history-intro h1{font-size:clamp(38px,5vw,72px);line-height:1.2;margin:22px 0}.history-intro p{max-width:740px}.history-cover img{display:block;width:100%;height:auto}.history-cover{margin-top:35px}.history-story{max-width:850px}.history-story h3{font-size:28px;margin:30px 0 18px}.history-story p{line-height:2}.history-gallery{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:35px}.history-gallery figure{margin:0;background:white;align-self:start}.history-gallery img{display:block;width:100%;height:auto}.history-gallery figcaption{padding:20px;font-size:15px}.history-gallery figcaption span{display:block;color:var(--red);font-size:12px;margin-bottom:8px}.history-ending{max-width:850px}.history-ending p{line-height:2}@media(max-width:700px){.history-gallery{grid-template-columns:1fr;gap:25px}.history-intro{padding:40px 0 25px}}
.history-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.history-gallery a{display:block;background:#e9e9e9}.history-gallery img{height:180px;object-fit:contain}.history-gallery figcaption{padding:12px;font-size:12px}#history-viewer{border:0;background:#151515;color:white;width:96vw;max-width:1400px;padding:45px 55px;max-height:96vh}#history-viewer::backdrop{background:#000d}#history-viewer figure{margin:0;text-align:center}#history-viewer img{display:block;max-width:100%;max-height:76vh;width:auto;height:auto;margin:auto;object-fit:contain}#history-viewer figcaption{padding-top:15px;font-size:14px}#history-viewer button{position:absolute;background:#333;color:white;border:0;font-size:36px;cursor:pointer;width:42px;height:48px}.viewer-close{right:8px;top:5px}.viewer-prev{left:5px;top:45%}.viewer-next{right:5px;top:45%}@media(max-width:900px){.history-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.history-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.history-gallery img{height:130px}#history-viewer{padding:50px 35px;width:98vw}}
