
.work-page .work-kind { padding: 96px 0 120px; }

.work-page #workOpener + .work-kind { padding-top: 24px; }
.work-page .work-kind.is-plain { background: #fffdf9; background-image: none; }
.work-page .work-kind .how-head { margin: 0 0 8px; }
.work-page .work-rail-head { justify-content: flex-end; margin-bottom: 20px; }
@media (max-width: 760px) {
  .work-page .work-kind { padding: 64px 0 72px; }
  .work-page #workOpener + .work-kind { padding-top: 8px; }
}


.lib-open { display: block; padding: 0; border: 0; border-radius: 18px; background: none; cursor: zoom-in; }
.lib-open:focus-visible { outline: 3px solid #e2622b; outline-offset: 3px; }
.lib-open .lib-shot { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
.lib-open:hover .lib-shot { transform: translateY(-3px); }
.lib-text b[data-lib-open] { cursor: pointer; }
.lib-text b[data-lib-open]:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lib-text small a { color: inherit; text-decoration: underline; text-decoration-color: rgba(23, 21, 15, .25); text-underline-offset: 3px; }
.lib-text small a:hover { color: #17150f; text-decoration-color: currentColor; }
.lib-box { inset: 0; margin: auto; width: min(1080px, 94vw); height: fit-content; max-height: min(92vh, 1200px); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #fffdf9; color: #17150f; overflow: hidden; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7); }
.lib-box[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lib-box::backdrop { background: rgba(8, 7, 6, .78); backdrop-filter: blur(6px); }
.lib-box-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 24px; border-bottom: 1px solid rgba(23, 21, 15, .08); }
.lib-box-head p { display: grid; gap: 3px; min-width: 0; margin: 0; }
.lib-box-head b { font: 500 18px/1.3 'Satoshi', sans-serif; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-box-head small { font: 400 14px/1.3 'Switzer', sans-serif; color: rgba(23, 21, 15, .62); }
.lib-box-head small a { color: inherit; text-underline-offset: 3px; }
.lib-box-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1eee8; color: #17150f; font: 400 24px/40px 'Satoshi', sans-serif; cursor: pointer; }
.lib-box-close:focus-visible { outline: 2px solid #e2622b; outline-offset: 2px; }
.lib-box-scroll { max-height: calc(min(92vh, 1200px) - 74px); overflow-y: auto; overscroll-behavior: contain; background: #eceae4; }
.lib-box-scroll img { display: block; width: 100%; max-width: 1000px; height: auto; margin: 0 auto; }
@media (max-width: 720px) {
  .lib-box { width: 100vw; max-height: 100dvh; border-radius: 0; }
  .lib-box-scroll { max-height: calc(100dvh - 74px); }
}
