.hh-home .hh-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:28px 0 45px}
.hh-home .hh-catalog-card{min-width:0;background:#f3f4ec;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.hh-home .hh-catalog-visual{aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;background:#e9ede1;overflow:hidden;padding:20px}
.hh-home .hh-catalog-visual img{width:100%;height:100%;object-fit:contain;transition:transform .2s}
.hh-home .hh-catalog-visual:hover img{transform:scale(1.025)}
.hh-home .hh-catalog-visual .hh-leaf{width:64px;height:84px;opacity:.55}
.hh-home .hh-catalog-copy{padding:26px;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:12px;overflow-wrap:anywhere}
.hh-home .hh-catalog-copy h3{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-size:24px;line-height:1.6}
.hh-home .hh-catalog-copy h3 img{width:40px;height:40px;object-fit:contain;border-radius:8px;flex-shrink:0}
.hh-home .hh-catalog-copy>p{font-size:14px;line-height:1.9;color:var(--muted)}
.hh-home .hh-catalog-copy .hh-catalog-catch{color:var(--ink);font-size:16px}
.hh-home .hh-catalog-copy .hh-more{margin-top:auto;padding-top:12px;min-height:44px}
.hh-home .hh-work-no-image{grid-template-columns:1fr}
.hh-home .hh-dynamic-work .hh-detail-visual>img{width:auto;max-width:100%;max-height:480px;transform:none;box-shadow:none}
.hh-home .hh-dynamic-work .hh-detail-visual{min-height:300px}
.hh-home .hh-dynamic-work{overflow-wrap:anywhere}
@media(max-width:600px){.hh-home .hh-catalog-grid{grid-template-columns:1fr;gap:22px}.hh-home .hh-catalog-copy{padding:22px}.hh-home .hh-catalog-copy h3{font-size:22px}}
@media(prefers-reduced-motion:reduce){.hh-home .hh-catalog-visual img{transition:none}}

.hh-work-links{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
.hh-work-links .hh-button{min-height:44px;height:auto;white-space:normal;overflow-wrap:anywhere;text-align:center;max-width:100%;box-sizing:border-box}
@media(max-width:600px){.hh-work-links .hh-button{flex:1 1 100%}}

/* 制作物一覧の表示切り替え。ホームとアプリ一覧のカードには適用しない。 */
.hh-home .hh-work-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:24px 0}
.hh-home .hh-work-count{margin:0;color:var(--muted);font-size:14px}
.hh-home .hh-work-switch{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#f0f1e9}
.hh-home .hh-work-switch[hidden]{display:none}
.hh-home .hh-work-switch button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 15px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);font:inherit;font-size:14px;cursor:pointer;white-space:nowrap}
.hh-home .hh-work-switch button[aria-pressed="true"]{background:var(--sage);color:#fff;border-color:var(--sage);font-weight:700}
.hh-home .hh-work-switch button:hover{border-color:var(--sage)}
.hh-home .hh-work-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:48px}
.hh-home .hh-work-entry{min-width:0;margin:0}
.hh-home .hh-work-tile{display:flex;flex-direction:column;height:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fffefb;color:var(--ink);text-decoration:none;transition:border-color .15s,box-shadow .15s}
.hh-home .hh-work-tile:hover{color:var(--ink);border-color:#9ca991;box-shadow:0 6px 22px #34372f0c}
.hh-home .hh-work-cover{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;min-width:0;padding:24px;background:#eef0e7;box-sizing:border-box;overflow:hidden}
.hh-home .hh-work-cover img{width:100%;height:100%;object-fit:contain}
.hh-home .hh-work-cover .hh-leaf{width:56px;height:72px;opacity:.5}
.hh-home .hh-work-tile-body{display:flex;flex-direction:column;gap:12px;padding:24px;flex:1;min-width:0;overflow-wrap:anywhere}
.hh-home .hh-work-identity{display:flex;align-items:center;gap:14px;min-width:0}
.hh-home .hh-work-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:52px;height:52px;border-radius:12px;background:#f0f2e9;overflow:hidden}
.hh-home .hh-work-icon img{display:block;width:100%;height:100%;object-fit:contain}
.hh-home .hh-work-icon .hh-leaf{width:26px;height:34px;opacity:.6}
.hh-home .hh-work-heading{min-width:0}
.hh-home .hh-work-type{font-size:12px;line-height:1.6;color:var(--muted)}
.hh-home .hh-work-heading h2{font-family:var(--serif);font-size:21px;line-height:1.6;margin:3px 0 0;padding:0;background:none;border:0;color:var(--ink)}
.hh-home .hh-work-heading h2::before,.hh-home .hh-work-heading h2::after{content:none}
.hh-home .hh-work-tagline{font-size:15px;line-height:1.8;margin:0;color:var(--ink)}
.hh-home .hh-work-description{font-size:14px;line-height:1.9;margin:0;color:var(--muted)}
.hh-home .hh-work-open{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:14px;font-size:13px;color:var(--sage)}
.hh-home [data-work-view="list"] .hh-work-collection{grid-template-columns:1fr;gap:14px}
.hh-home [data-work-view="list"] .hh-work-tile{flex-direction:row}
.hh-home [data-work-view="list"] .hh-work-cover{width:29%;max-width:240px;aspect-ratio:auto;flex-shrink:0;min-height:180px}
.hh-home [data-work-view="list"] .hh-work-cover img{height:auto;max-height:200px}
.hh-home [data-work-view="icons"] .hh-work-collection{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
.hh-home [data-work-view="icons"] .hh-work-tile{text-align:center;border-color:transparent;background:transparent}
.hh-home [data-work-view="icons"] .hh-work-tile:hover{border-color:var(--line);background:#fffefb}
.hh-home [data-work-view="icons"] .hh-work-cover,
.hh-home [data-work-view="icons"] .hh-work-tagline,
.hh-home [data-work-view="icons"] .hh-work-description,
.hh-home [data-work-view="icons"] .hh-work-open{display:none}
.hh-home [data-work-view="icons"] .hh-work-tile-body{padding:20px 10px}
.hh-home [data-work-view="icons"] .hh-work-identity{flex-direction:column;gap:14px}
.hh-home [data-work-view="icons"] .hh-work-icon{width:88px;height:88px;border-radius:20px}
.hh-home [data-work-view="icons"] .hh-work-heading h2{font-family:inherit;font-size:15px;line-height:1.7}
.hh-home .hh-work-switch button:focus-visible,.hh-home .hh-work-tile:focus-visible{outline:3px solid #263b50;outline-offset:3px}
@media(max-width:600px){
 .hh-home .hh-work-toolbar{align-items:flex-start;gap:10px}
 .hh-home .hh-work-switch{width:100%;box-sizing:border-box}
 .hh-home .hh-work-switch button{flex:1;padding:9px 7px;font-size:13px}
 .hh-home .hh-work-collection{grid-template-columns:1fr;gap:20px}
 .hh-home .hh-work-tile-body{padding:18px;gap:10px}
 .hh-home .hh-work-heading h2{font-size:19px}
 .hh-home [data-work-view="list"] .hh-work-cover{display:none}
 .hh-home [data-work-view="list"] .hh-work-identity{align-items:flex-start}
 .hh-home [data-work-view="list"] .hh-work-icon{width:64px;height:64px}
 .hh-home [data-work-view="list"] .hh-work-tagline{display:none}
 .hh-home [data-work-view="icons"] .hh-work-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(prefers-reduced-motion:reduce){.hh-home .hh-work-tile{transition:none}}
