/* いんさつカゴのページ */
.kago-page{max-width:820px;margin:0 auto}
.kago-heading{padding:16px 0 28px}
.kago-heading h1{font-size:clamp(30px,3.6vw,44px);margin:0 0 10px}
.kago-heading .lead{margin:0}
.kago-empty{padding:48px 24px;border:1px dashed #D9D0BE;border-radius:24px;background:#fff;text-align:center}
.kago-empty h2{font-size:22px;margin:0 0 8px}.kago-empty p{color:#4F4B43}
.kago-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.kago-list-heading h2{font-size:22px;margin:0}
#kago-summary{font-family:'Zen Kaku Gothic New',sans-serif;font-size:15px;font-weight:400;color:#4F4B43;margin-left:8px}
.kago-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.kago-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto auto auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid #ECE4D4;border-radius:20px;background:#fff}
.kago-item.is-missing{grid-template-columns:1fr auto;background:#FAF7F0}
.kago-thumb img{display:block;width:64px;height:90px;object-fit:contain;background:#fff;box-shadow:0 3px 10px #3c301a1f}
.kago-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.kago-title{font-weight:700;font-size:17px;line-height:1.5;color:#2B2A26;text-decoration:none}
.kago-title:hover{text-decoration:underline}
.kago-sub{font-size:13px;color:#4F4B43}
.kago-missing{margin:0;font-size:14px;color:#4F4B43}
.kago-copies,.kago-order{display:flex;align-items:center;gap:4px}
.kago-copies-value{min-width:40px;text-align:center;font-weight:700}
.kago-icon-button{font:inherit;width:44px;height:44px;border-radius:999px;border:1px solid #D9D0BE;background:#fff;color:#2B2A26;font-size:18px;cursor:pointer}
.kago-icon-button:disabled{opacity:.35;cursor:default}
.kago-icon-button:not(:disabled):hover{border-color:#2E9D5B;background:#EAF6EE}
.kago-text-button{font:inherit;min-height:44px;padding:6px 10px;background:none;border:0;color:#8A3B1B;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.kago-print{margin-top:24px;padding:24px;border-radius:24px;background:#EAF6EE;text-align:center}
.kago-page .kago-make,.kago-page .kago-open{width:100%;max-width:420px;min-height:60px;margin:0 auto;font-size:19px;border:0;border-radius:999px;background:#2E9D5B;color:#fff;cursor:pointer;font-family:inherit}
.kago-page .kago-make:hover,.kago-page .kago-open:hover{background:#237A46}
.kago-page .kago-make:disabled{background:#9DB8A6;cursor:default}
.kago-print-note{font-size:13px;color:#4F4B43;margin:10px 0 0}
.kago-result{margin-top:20px;padding:20px;border-radius:18px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:10px}
.kago-result-title{font-weight:700;font-size:17px;margin:0}
.kago-save{min-height:44px;display:inline-flex;align-items:center;font-size:15px}
.kago-hint{font-size:13px;color:#4F4B43;margin:0;max-width:420px}
.kago-fallback{text-align:left;margin:0;padding-left:1.2em}.kago-fallback a{display:inline-flex;min-height:44px;align-items:center}
.kago-storage-note{margin-top:28px;font-size:13px;color:#4F4B43}
@media(max-width:650px){
  .kago-item{grid-template-columns:56px minmax(0,1fr);grid-template-areas:"thumb info" "copies copies" "order remove";row-gap:10px}
  .kago-thumb{grid-area:thumb}.kago-thumb img{width:56px;height:79px}.kago-info{grid-area:info}
  .kago-copies{grid-area:copies}.kago-order{grid-area:order}.kago-remove{grid-area:remove;justify-self:end}
  .kago-print{padding:18px}
}
.kago-makers{margin-top:32px}.kago-makers h3{font-size:19px;margin:0 0 4px}.kago-makers-note{font-size:14px;color:#4F4B43;margin:0 0 12px}
.kago-maker-thumb{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:14px;background:#F2ECDF;overflow:hidden}
.kago-maker-thumb img{width:64px;height:64px;object-fit:contain;box-shadow:none}
.kago-maker-mark{font-size:12px;font-weight:700;color:#2F6B4F}
.kago-open-maker{display:inline-flex;align-items:center;min-height:44px;padding:6px 16px;border-radius:999px;border:2px solid #2E9D5B;color:#1F6E40;font-weight:700;text-decoration:none;white-space:nowrap}
.kago-open-maker:hover{background:#EAF6EE}
@media(max-width:650px){.kago-maker-item .kago-open-maker{grid-area:copies;justify-self:start}.kago-maker-thumb,.kago-maker-thumb img{width:56px;height:56px}}
.kago-page [hidden]{display:none!important}
/* 2026-10-07 簡素化：枚数・並べかえなし、外すはゴミ箱 */
.kago-item{grid-template-columns:64px minmax(0,1fr) auto}
.kago-maker-item{grid-template-columns:64px minmax(0,1fr) auto auto}
.kago-remove{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:999px;border:1px solid #E5DCCB;background:#fff;color:#8A3B1B;cursor:pointer}
.kago-remove:hover{background:#FDEDE9;border-color:#E0533D}.kago-remove:focus-visible{outline:3px solid #2563EB;outline-offset:2px}
@media(max-width:650px){
  .kago-item{grid-template-columns:56px minmax(0,1fr) auto;grid-template-areas:none;row-gap:0}
  .kago-thumb,.kago-info,.kago-remove{grid-area:auto}
  .kago-maker-item{grid-template-columns:56px minmax(0,1fr) auto;grid-template-areas:"thumb info remove" "open open open";row-gap:10px}
  .kago-maker-item .kago-thumb{grid-area:thumb}.kago-maker-item .kago-info{grid-area:info}.kago-maker-item .kago-remove{grid-area:remove}.kago-maker-item .kago-open-maker{grid-area:open;justify-self:start}
}
.kago-print-frame{position:fixed;right:0;bottom:0;width:1px;height:1px;border:0;opacity:0;pointer-events:none}
#kago-clear{white-space:nowrap;flex:none}
