/* まとめページ（検索の入口。build_print_hubs.py）2026-10-21。色と形は詳細ページ・カード一覧にそろえる */
.print-hub h1{font-size:clamp(28px,3.4vw,40px);line-height:1.45;margin:8px 0 16px}
.hub-lead{font-size:17px;line-height:1.9;color:#4F4B43;margin:0 0 8px;max-width:46em}
.hub-section{padding:36px 0 8px;border-top:1px solid #ECE4D4;margin-top:28px}
.hub-section h2{font-size:26px;margin:0 0 8px}
.hub-note{font-size:15px;line-height:1.85;color:#4F4B43;margin:0 0 20px}
.hub-section h2+.catalog-grid,.hub-section h2+.hub-clocks,.hub-section h2+.hub-makers{margin-top:20px}

/* 時計：番号ごとに見本1枚と、補助を選ぶボタン */
.hub-clocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.hub-clock{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;align-items:center;background:#fff;border:1px solid #ECE4D4;border-radius:22px;padding:16px}
.hub-clock-art{display:block;background:#F7F2E7;border-radius:14px;padding:8px}
.hub-clock-art img{display:block;width:100%;height:auto}
.hub-clock-body h3{font-size:19px;margin:0 0 4px}
.hub-clock-body p{font-size:13px;color:#4F4B43;margin:0 0 8px}
.hub-clock-body .catalog-tags{gap:6px}
.hub-clock-body a.catalog-tag{min-height:40px;display:inline-flex;align-items:center;text-decoration:none;padding:4px 12px;font-size:13px}

/* 自分でつくる：メーカーへの入口 */
.hub-makers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hub-maker{display:flex;flex-direction:column;gap:6px;padding:20px 22px;background:#fff;border:2px solid #2F6B4F;border-radius:22px;text-decoration:none;color:inherit}
.hub-maker strong{color:#245A41;font-size:18px}
.hub-maker strong::after{content:" →"}
.hub-maker span{font-size:14px;line-height:1.8;color:#4F4B43}
.hub-maker:hover{background:#F2F8F4}
.hub-maker:focus-visible{outline:3px solid #2F6B4F;outline-offset:3px}

@media(max-width:760px){
  .hub-clocks,.hub-makers{grid-template-columns:1fr}
  .hub-section h2{font-size:23px}
  .hub-lead{font-size:16px}
}
@media(max-width:400px){
  .hub-clock{grid-template-columns:92px minmax(0,1fr);gap:12px;padding:12px}
}

/* ぬりえ：線画の見本を並べる（2026-10-21） */
.hub-nurie{list-style:none;padding:0;margin:20px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hub-nurie li{background:#fff;border:1px solid #ECE4D4;border-radius:18px;padding:10px 10px 12px;text-align:center}
.hub-nurie img{display:block;width:100%;max-width:170px;margin:0 auto;height:auto;aspect-ratio:1/1;object-fit:contain}
.hub-nurie span{display:block;font-size:13px;color:#4F4B43;margin-top:4px;overflow-wrap:anywhere}
.hub-nurie-go{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:18px 0 0}
.hub-nurie-go .button{margin:0}
.hub-nurie-go span{font-size:14px;color:#4F4B43}
@media(max-width:760px){.hub-nurie{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hub-nurie li{padding:6px 4px 8px;border-radius:14px}.hub-nurie li:nth-child(n+7){display:none}.hub-nurie span{font-size:11px}}

/* 「プリントを探す」の下：まとめページへの入口（2026-10-21） */
.hub-entries{margin:40px 0 8px}
.hub-entries h2{font-size:22px;margin:0 0 16px}
.hub-entries-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hub-entry{display:flex;align-items:center;gap:14px;padding:12px 16px 12px 12px;background:#fff;border:1px solid #ECE4D4;border-radius:20px;text-decoration:none;color:inherit;min-height:88px}
.hub-entry:hover{border-color:#2F6B4F}
.hub-entry:focus-visible{outline:3px solid #2F6B4F;outline-offset:3px}
.hub-entry-art{flex:0 0 64px;height:64px;background:#F7F2E7;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hub-entry-art img{width:100%;height:100%;object-fit:contain}
.hub-entry-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.hub-entry-text strong{font-size:16px;color:#245A41}
.hub-entry-text strong::after{content:" →"}
.hub-entry-text small{font-size:13px;color:#4F4B43}
@media(max-width:760px){.hub-entries-list{grid-template-columns:1fr;gap:10px}}

/* 名前：段階ごとの見本（2026-10-21） */
.hub-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
.hub-stage{background:#fff;border:1px solid #ECE4D4;border-radius:22px;overflow:hidden;display:flex;flex-direction:column}
.hub-stage-art{display:block;background:#F7F2E7;padding:14px}
.hub-stage-art img{display:block;width:100%;height:auto;border-radius:6px;box-shadow:0 4px 12px #3c301a1a}
.hub-stage-body{padding:14px 18px 16px}
.hub-stage-body h3{display:flex;align-items:center;gap:10px;font-size:18px;margin:0 0 6px}
.hub-stage-body h3 span{background:#2F6B4F;color:#fff;width:28px;height:28px;border-radius:50%;font-size:14px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.hub-stage-body p{font-size:14px;line-height:1.8;color:#4F4B43;margin:0 0 6px}
.hub-stage-body a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:#245A41}
@media(max-width:760px){.hub-stages{grid-template-columns:1fr;gap:14px}}
/* たての見本（きく・はなす、ぶんを よむ） */
.hub-stages-tall{grid-template-columns:repeat(3,minmax(0,1fr))}
.hub-stages-tall .hub-stage-art img{max-width:240px;margin:0 auto}
@media(max-width:760px){.hub-stages-tall{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-stages-tall .hub-stage-art{padding:8px}.hub-stages-tall .hub-stage-body{padding:10px 12px 12px}.hub-stages-tall .hub-stage-body h3{font-size:15px;gap:6px}.hub-stages-tall .hub-stage-body h3 span{width:22px;height:22px;font-size:12px}.hub-stages-tall .hub-stage-body p{font-size:12px;line-height:1.7}.hub-stages-tall .hub-stage-body a{font-size:13px}}
/* 段階の見本のあとの「すぐ印刷できるプリント」の見出し（2026-10-21） */
.hub-ready-h{font-size:26px;margin:48px 0 0;padding-top:36px;border-top:2px solid #DDEBE2;display:flex;align-items:baseline;gap:12px}
.hub-ready-h span{font-size:15px;font-weight:700;color:#245A41;background:#DDEBE2;border-radius:999px;padding:2px 12px}
.hub-ready-h+.hub-section{border-top:0;margin-top:0}
@media(max-width:760px){.hub-ready-h{font-size:23px}}
/* すぐ印刷できるPDFの下の「メーカーで変える」（2026-10-22 クリスマスのページ） */
.hub-stage-body .hub-stage-sub{margin:0}
.hub-stage-body .hub-stage-sub a{min-height:36px;font-weight:400;font-size:13px;color:#6B665C}
/* 行事の入口（その時期だけ出る。2026-10-22） */
[data-event-from][hidden]{display:none!important}

/* 2026-10-22 プリントを探す：年齢スライダー・動作ボタンを外したので、見出しのすぐ下の区切り線と大きな余白を消す */
.print-finder+.hub-entries::before{display:none!important}
.print-finder:not([data-finder-list]){padding-bottom:0}
.print-finder+.hub-entries{margin-top:16px}

/* 2026-11-14 ひらがな なぞり書き：50音から選ぶ */
.gojuon{display:flex;flex-direction:column;gap:6px;max-width:520px;margin:10px 0 6px}
.gj-row{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.gj-cell{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;border-radius:12px;background:#fff;border:2px solid #cfe3d4;color:#1f6b45;font-size:clamp(20px,5.5vw,30px);font-weight:700;text-decoration:none;font-family:"UD デジタル 教科書体 N-R","UD Digi Kyokasho N-R","Hiragino Maru Gothic ProN",sans-serif}
a.gj-cell:hover,a.gj-cell:focus-visible{background:#eef8f1;border-color:#2e9d5b}
.gj-blank{background:none;border:0}
.gj-none{color:#c9cfc9;border-color:#eceeec;background:#fafafa}
.gojuon-daku .gj-row{grid-template-columns:repeat(5,1fr)}
.gj-wide{aspect-ratio:auto;padding:10px 0;font-size:clamp(16px,4.2vw,22px)}
