/* 小学生の勉強：トップ（index.html）と 教科の目次の頭（tp-band）だけの見た目（2026-11-15）。
   shogaku.css の上に重ねる。単元ページは このファイルを読まない */
:root { --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", sans-serif; --cream: #fffaf1; --cream2: #fdf1dc; }

/* ===== トップ ===== */
body.sh.sh-top { background: var(--cream); }
.tp-step-ico .sh-ico, .tp-go .sh-ico { background: none; padding: 0; border-radius: 0; color: inherit; box-sizing: border-box; }
.sh-top ruby rt { color: inherit; opacity: .8; }

/* ヒーロー：ふわっとした背景・浮かぶ札・色分けの題 */
.tp-hero { position: relative; overflow: hidden; padding: 18px 16px 84px; text-align: center;
  background:
    radial-gradient(520px 320px at 10% 18%, rgba(242, 107, 58, .16), transparent 70%),
    radial-gradient(480px 300px at 90% 14%, rgba(59, 130, 224, .15), transparent 70%),
    radial-gradient(560px 360px at 84% 92%, rgba(139, 92, 246, .13), transparent 70%),
    radial-gradient(520px 340px at 14% 96%, rgba(47, 163, 107, .15), transparent 70%),
    linear-gradient(180deg, #fdf0dc, var(--cream)); }
.tp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; background: var(--cream); clip-path: ellipse(70% 100% at 50% 100%); }
.tp-hero-in { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.sh .tp-crumb { position: relative; z-index: 2; max-width: 720px; text-align: left; margin: 0 auto 14px; }
.tp-eyebrow { display: inline-block; margin: 0; font-size: .8rem; letter-spacing: .16em; color: var(--sub); border: 1.5px solid #ead7b8; border-radius: 999px; padding: 2px 14px; background: rgba(255, 255, 255, .7); }
.tp-pre { font-family: var(--maru); font-weight: 900; font-size: clamp(1.15rem, 4.6vw, 1.7rem); letter-spacing: .06em; margin: 16px 0 0; line-height: 2.1; }
.tp-pre ruby rt { font-size: .42em; font-weight: 700; letter-spacing: .1em; }
.tp-title ruby rt { font-size: .22em; font-weight: 700; letter-spacing: 0; ruby-align: center; }
.tp-title { font-family: var(--maru); font-weight: 900; font-size: clamp(2.5rem, 12vw, 4.6rem); line-height: 1.5; letter-spacing: .06em; margin: 0; white-space: nowrap;
  text-shadow: 0 3px 0 #fff, 0 6px 14px rgba(120, 80, 20, .12); }
.tp-title ruby > span { display: inline-block; animation: tp-hop 4.8s ease-in-out infinite; }
.tp-title > :nth-child(2) > span { animation-delay: .25s; } .tp-title > :nth-child(3) > span { animation-delay: .5s; }
.tp-title > :nth-child(5) > span { animation-delay: .75s; } .tp-title > :nth-child(6) > span { animation-delay: 1s; }
.tp-title .no { color: var(--ink); font-size: .7em; }
.tp-title ruby rt { color: var(--sub); opacity: 1; }
@keyframes tp-hop { 0%, 80%, 100% { transform: translateY(0); } 88% { transform: translateY(-8px); } }
.tp-catch { font-family: var(--maru); font-weight: 900; font-size: clamp(1.2rem, 4.6vw, 1.6rem); letter-spacing: .12em; margin: 2px 0 6px; color: var(--ink); }
.tp-lead { color: var(--sub); max-width: 30em; margin: 0 auto; font-size: 1rem; line-height: 2.1; }

/* 先生と ひかる・大きな数 */
.tp-duo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; margin: 18px auto 0; max-width: 680px; }
.tp-who { margin: 0; display: flex; flex-direction: column; align-items: center; }
.tp-who img { width: 128px; height: 128px; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--ring), 0 10px 22px rgba(60, 40, 10, .16); animation: tp-float 6s ease-in-out infinite; }
.tp-who-l { --ring: #0f766e; } .tp-who-r { --ring: #d97706; }
.tp-who-r img { animation-delay: -3s; }
.tp-who figcaption { margin-top: 10px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--ring); border-radius: 999px; padding: 0 12px; line-height: 2; }
.tp-bub { position: relative; margin: 0 0 14px; white-space: nowrap; font-family: var(--maru); font-weight: 700; font-size: .95rem; line-height: 1.8; background: #fff; border: 2px solid var(--ring); border-radius: 14px; padding: 4px 14px; }
.tp-bub::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 12px; background: #fff; border-right: 2px solid var(--ring); border-bottom: 2px solid var(--ring); transform: translateX(-50%) rotate(45deg); }
.tp-stat { align-self: center; background: #fff; border: 2.5px solid var(--ink); border-radius: 22px; padding: 10px 26px 10px; box-shadow: 7px 7px 0 #f9b48f; }
.tp-stat-main { margin: 0; font-family: var(--maru); font-weight: 900; line-height: 1.1; display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.tp-stat-main b { font-size: clamp(2.6rem, 11vw, 4rem); color: #e2552a; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tp-stat-main span { font-size: 1.15rem; }
.tp-stat-sub { margin: 4px 0 0; font-size: .82rem; color: var(--sub); line-height: 2; white-space: nowrap; }
.tp-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.tp-jump a { display: inline-flex; align-items: center; min-height: 48px; padding: 4px 22px; border-radius: 999px; font-family: var(--maru); font-weight: 900; text-decoration: none; color: #fff; background: #0f8a72; box-shadow: 0 4px 0 #0a5f4f; transition: transform .15s, box-shadow .15s; }
.tp-jump a + a { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #e4d3b4; border: 2px solid #e4d3b4; }
.tp-jump a:hover { transform: translateY(2px); box-shadow: 0 2px 0 #0a5f4f; }
.tp-jump a + a:hover { box-shadow: 0 2px 0 #e4d3b4; }
.tp-jump rt { color: inherit; }

/* 浮かぶ札（かざり） */
.tp-tiles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tp-tile { position: absolute; left: var(--x); top: var(--y); width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 18px; background: #fff;
  border: 3px solid var(--c); color: var(--cd); display: grid; place-items: center; font-family: var(--maru); font-weight: 900; font-size: 1.9rem; line-height: 1;
  box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 45%, #fff), 0 12px 24px rgba(80, 55, 20, .12); transform: rotate(var(--r)); animation: tp-float 6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes tp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* 中身 */
.sh-main.tp-main { max-width: 1080px; padding-top: 4px; }
.sh-review.tp-review { position: relative; z-index: 3; max-width: 720px; margin: 0 auto 18px; text-align: left; box-shadow: 0 10px 26px rgba(80, 55, 20, .14); }
.tp-sec { margin: 0 0 56px; scroll-margin-top: 80px; }
.tp-h { text-align: center; margin: 0 0 22px; font-family: var(--maru); font-weight: 900; font-size: clamp(1.35rem, 4.6vw, 1.8rem); line-height: 2; }
.tp-h span { display: inline-block; padding: 0 6px; background: linear-gradient(transparent 62%, #ffe2a8 62%, #ffe2a8 92%, transparent 92%); }

/* 教科の カード */
.tp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tp-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink);
  border: 2px solid color-mix(in srgb, var(--c) 30%, #fff); box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 30%, #fff), 0 12px 26px rgba(80, 55, 20, .08); transition: transform .2s, box-shadow .2s; }
.tp-card:hover, .tp-card:focus-visible { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 9px 0 color-mix(in srgb, var(--c) 35%, #fff), 0 18px 34px rgba(80, 55, 20, .14); }
.tp-card-art { position: relative; display: block; aspect-ratio: 16 / 10; background: radial-gradient(circle at 70% 40%, #fff 0 30%, transparent 70%), var(--bg); border-bottom: 4px solid var(--c); overflow: hidden; }
.tp-card-img { position: absolute; right: 4%; top: 50%; width: 62%; height: auto; aspect-ratio: 1; object-fit: contain; transform: translateY(-50%); mix-blend-mode: multiply; transition: transform .4s; }
.tp-card:hover .tp-card-img { transform: translateY(-50%) scale(1.06) rotate(-2deg); }
.tp-card-tile { position: absolute; left: 18px; bottom: 16px; width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--cd);
  border: 3px solid var(--c); font-family: var(--maru); font-weight: 900; font-size: 2.4rem; line-height: 1; box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 45%, #fff); transform: rotate(-6deg); }
.tp-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 20px 20px; }
.tp-card-g { align-self: flex-start; font-size: .78rem; font-weight: 700; color: #fff; background: var(--cd); border-radius: 999px; padding: 0 12px; line-height: 2.2; }
.tp-card-g rt { color: #fff; }
.tp-card-h { margin: 6px 0 2px; font-family: var(--maru); font-weight: 900; font-size: 1.6rem; line-height: 1.9; color: var(--cd); }
.tp-card-say { color: var(--sub); font-size: .95rem; line-height: 2; margin: 0 0 12px; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tp-chip { font-size: .82rem; font-weight: 700; color: var(--cd); background: var(--bg); border-radius: 999px; padding: 0 12px; line-height: 2.3; }
.tp-chip rt { color: var(--cd); }
.tp-soon { color: var(--sub); background: #f1efe9; }
.tp-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 20px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; transition: gap .2s; }
.tp-card:hover .tp-go { gap: 12px; }
.tp-go svg { width: 18px; height: 18px; display: block; }
.tp-card.is-soon .tp-go { background: #9ca3af; }

/* 学年から さがす */
.tp-grades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tp-grade { background: #fff; border-radius: 20px; padding: 14px 16px 16px; border: 2px solid #efe2c9; box-shadow: 0 4px 0 #efe2c9; scroll-margin-top: 90px; }
.tp-grade:target { border-color: #0f8a72; box-shadow: 0 4px 0 #0f8a72; }
.tp-grade-h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; }
.tp-grade-h b { font-family: var(--maru); font-weight: 900; font-size: 1.9rem; line-height: 1.6; color: var(--ink); }
.tp-grade-h b rt { font-size: .38em; }
.tp-grade-h span { font-size: .85rem; color: var(--sub); }
.tp-grade-l { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-grade-l a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 2px 6px 2px 14px; border-radius: 14px; text-decoration: none; color: var(--cd); background: var(--bg);
  border: 2px solid color-mix(in srgb, var(--c) 40%, #fff); font-weight: 700; transition: transform .15s, background .15s; }
.tp-grade-l a:hover { transform: translateY(-2px); background: #fff; }
.tp-grade-l a rt { color: var(--cd); }
.tp-grade-l small { font-size: .75rem; color: #fff; background: var(--cd); border-radius: 999px; padding: 0 8px; line-height: 1.8; font-weight: 700; }

/* 1ページの ながれ */
.tp-flow { background: #fff; border-radius: 28px; padding: 30px 24px 26px; border: 2px solid #efe2c9; }
.tp-flow-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 26px; align-items: center; }
.tp-flow-sample { position: relative; display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(60, 40, 10, .16); border: 3px solid #fff; outline: 2px solid #efe2c9; }
.tp-flow-sample img { display: block; width: 100%; height: auto; }
.tp-flow-play { position: absolute; left: 10px; bottom: 10px; background: rgba(15, 138, 114, .95); color: #fff; font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 0 14px; line-height: 2.3; }
.tp-flow-play rt { color: #fff; }
.tp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 14px; counter-reset: st; }
.tp-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; counter-increment: st; }
.tp-step-ico { position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 4px;
  background: hsl(calc(160 - var(--i) * 30) 62% 42%); box-shadow: 0 4px 0 hsl(calc(160 - var(--i) * 30) 62% 30%); }
.tp-step-ico::after { content: counter(st); position: absolute; right: -6px; top: -6px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); font-weight: 900; font-size: .85rem; line-height: 22px; border: 2px solid currentColor; }
.tp-step-ico svg { width: 34px; height: 34px; }
.tp-steps b { font-family: var(--maru); font-weight: 900; font-size: 1.05rem; line-height: 2; }
.tp-steps small { font-size: .8rem; color: var(--sub); line-height: 1.9; }
.tp-steps li:not(:nth-child(3n))::after { content: ""; position: absolute; top: 26px; right: -14px; width: 14px; height: 14px; border-top: 3px solid #d9c7a5; border-right: 3px solid #d9c7a5; transform: rotate(45deg); }
.tp-flow-next { display: flex; align-items: center; gap: 14px; margin: 24px auto 0; max-width: 720px; background: #fff8e6; border: 2px dashed #f2c46b; border-radius: 18px; padding: 10px 16px; }
.tp-flow-next img { width: 64px; height: 64px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px #0f766e; }
.tp-flow-next p { margin: 0; font-size: .95rem; line-height: 2.1; }

/* 大きな数 */
.tp-nums ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tp-nums li { background: var(--bg); border-radius: 22px; padding: 18px 12px 14px; text-align: center; border: 2.5px solid var(--c); box-shadow: 5px 5px 0 var(--c); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tp-nums b { font-family: var(--maru); font-weight: 900; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.2; color: var(--cd); font-variant-numeric: tabular-nums; }
.tp-nums span { font-size: .85rem; font-weight: 700; color: var(--ink); line-height: 2; }
.tp-nums-note { text-align: center; font-size: .78rem; color: var(--sub); margin: 14px 0 0; }

/* おうちの方へ（大人の文） */
.tp-parents { max-width: 860px; margin-left: auto; margin-right: auto; background: #fff; border-radius: 24px; padding: 26px 28px 12px; border: 1.5px solid #efe2c9; position: relative; }
.tp-parents::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 5px; border-radius: 0 0 5px 5px; background: linear-gradient(90deg, #f26b3a, #f0a51a, #2fa36b, #3b82e0, #8b5cf6, #e2557f); }
.tp-parents .tp-h { font-size: 1.3rem; margin-bottom: 12px; }
.tp-pa { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; }
.tp-pa li { padding: 8px 0 8px 22px; position: relative; }
.tp-pa li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 12px; border-radius: 4px; background: #1abc9c; }
.tp-pa b { display: block; font-size: 1rem; }
.tp-pa p { margin: 2px 0 0; font-size: .92rem; color: var(--sub); line-height: 1.85; }

/* ===== 教科の目次の頭（sansu.html・rika.html …） ===== */
.tp-band { position: relative; display: flex; align-items: center; gap: 16px; overflow: hidden; margin: 0 0 16px; padding: 18px 20px; border-radius: 22px;
  background: radial-gradient(circle at 88% 50%, #fff 0 22%, transparent 60%), var(--bg); border: 2.5px solid var(--c); box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 40%, #fff); }
.tp-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--c); }
.tp-band-tile { flex: none; width: 78px; height: 78px; margin-left: 6px; border-radius: 22px; display: grid; place-items: center; background: #fff; color: var(--cd); border: 3px solid var(--c);
  font-family: var(--maru); font-weight: 900; font-size: 2.6rem; line-height: 1; transform: rotate(-6deg); box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 45%, #fff); animation: tp-float 6s ease-in-out infinite; }
.tp-band-txt { flex: 1; min-width: 0; position: relative; z-index: 1; }
.tp-band-g { margin: 0; display: inline-block; font-size: .78rem; font-weight: 700; color: #fff; background: var(--cd); border-radius: 999px; padding: 0 12px; line-height: 2.2; }
.tp-band-g rt { color: #fff; }
.tp-band-h { margin: 2px 0 0; font-family: var(--maru); font-weight: 900; font-size: 1.15rem; line-height: 1.9; color: var(--ink); }
.tp-band-h span { display: block; font-size: 2.1rem; line-height: 1.6; color: var(--cd); }
.tp-band-h rt { font-size: .4em; }
.tp-band-say { margin: 0; color: var(--sub); font-size: .92rem; line-height: 2; }
.tp-band-n { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.tp-band-n span { font-size: .82rem; font-weight: 700; background: #fff; color: var(--cd); border-radius: 999px; padding: 0 12px; line-height: 2.2; border: 1.5px solid color-mix(in srgb, var(--c) 40%, #fff); }
.tp-band-n b { font-size: 1.05rem; margin-right: 2px; }
.tp-band-n rt { color: var(--cd); }
.tp-band-art { flex: none; width: 150px; height: 150px; margin: -10px -6px -10px 0; object-fit: contain; mix-blend-mode: multiply; }

/* せまい PC・タブレット：内がわの札（偶数番）を かくして、文字に かからないように */
@media (min-width: 761px) and (max-width: 1180px) {
  .tp-tile:nth-child(even) { display: none; }
  .tp-tile { width: 52px; height: 52px; margin: -26px 0 0 -26px; font-size: 1.6rem; }
  .tp-tile { left: clamp(34px, var(--x), 100% - 34px); }
}

/* ===== スマホ ===== */
@media (max-width: 900px) {
  .tp-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tp-grades { grid-template-columns: repeat(2, 1fr); }
  .tp-flow-in { grid-template-columns: 1fr; }
  .tp-flow-sample { max-width: 520px; margin: 0 auto; }
  .tp-nums ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tp-hero { padding: 12px 16px 70px; }
  .tp-tiles { position: static; display: grid; grid-template-columns: repeat(6, 40px); justify-content: center; gap: 10px 12px; margin: 4px auto 6px; }
  .tp-tile { position: static; margin: 0; width: 40px; height: 40px; border-radius: 12px; font-size: 1.2rem; border-width: 2.5px; box-shadow: 0 3px 0 color-mix(in srgb, var(--c) 45%, #fff); }
  .sh .tp-crumb { margin-bottom: 8px; }
  .tp-duo { grid-template-columns: 1fr 1fr; gap: 14px 8px; }
  .tp-stat { grid-column: 1 / -1; grid-row: 2; justify-self: center; padding: 8px 22px; }
  .tp-who img { width: 96px; height: 96px; }
  .tp-bub { font-size: .8rem; padding: 3px 9px; }
  .tp-lead { font-size: .95rem; }
  .tp-sec { margin-bottom: 44px; }
  .tp-cards { grid-template-columns: 1fr; }
  .tp-card { display: grid; grid-template-columns: 38% 1fr; }
  .tp-card-art { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 4px solid var(--c); }
  .tp-card-img { width: 92%; right: 4%; top: 42%; }
  .tp-card-tile { left: 8px; bottom: 10px; width: 50px; height: 50px; font-size: 1.6rem; border-radius: 14px; border-width: 2.5px; }
  .tp-card-body { padding: 10px 14px 14px; }
  .tp-card-h { font-size: 1.35rem; margin: 2px 0 0; }
  .tp-card-say { font-size: .86rem; margin-bottom: 8px; }
  .tp-chips { margin-bottom: 10px; }
  .tp-chip { font-size: .75rem; padding: 0 9px; }
  .tp-go { padding: 3px 16px; font-size: .9rem; }
  .tp-grades { grid-template-columns: 1fr; gap: 12px; }
  .tp-grade { padding: 10px 12px 12px; }
  .tp-grade-l a { padding-left: 10px; font-size: .95rem; }
  .tp-flow { padding: 22px 14px 18px; border-radius: 22px; }
  .tp-steps { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .tp-steps li:not(:nth-child(3n))::after { display: none; }
  .tp-steps li:nth-child(odd)::after { content: ""; display: block; position: absolute; top: 26px; right: -10px; width: 12px; height: 12px; border-top: 3px solid #d9c7a5; border-right: 3px solid #d9c7a5; transform: rotate(45deg); }
  .tp-flow-next { align-items: flex-start; }
  .tp-flow-next img { width: 52px; height: 52px; }
  .tp-flow-next p { font-size: .9rem; }
  .tp-nums ul { gap: 12px; }
  .tp-nums li { padding: 12px 6px 10px; border-radius: 18px; box-shadow: 4px 4px 0 var(--c); }
  .tp-nums span { font-size: .78rem; line-height: 1.8; }
  .tp-parents { padding: 22px 16px 8px; }
  .tp-pa { grid-template-columns: 1fr; }
  .tp-band { padding: 14px 12px 14px 16px; gap: 10px; }
  .tp-band-tile { width: 54px; height: 54px; font-size: 1.8rem; border-radius: 16px; align-self: flex-start; margin-top: 4px; }
  .tp-band-h span { font-size: 1.7rem; }
  .tp-band-art { position: absolute; right: -14px; bottom: -14px; width: 110px; height: 110px; opacity: .9; margin: 0; z-index: 0; }
  .tp-band-say { font-size: .86rem; padding-right: 60px; }
}

/* 動きを止める（目の疲れ・酔いやすい子のために） */
@media (prefers-reduced-motion: reduce) {
  .tp-tile, .tp-who img, .tp-title ruby > span, .tp-band-tile { animation: none !important; }
  .tp-card, .tp-card-img, .tp-jump a, .tp-grade-l a { transition: none !important; }
  .tp-card:hover, .tp-card:focus-visible { transform: none; }
}
/* 上の帯：たのしいシリーズと同じ 細い パンくず（2026-11-15） */
.sh-top > header[hidden] { display: none !important; }
.tp-top { position: relative; z-index: 3; background: #f3e7d3; }
.tp-top-in { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 8px; font-size: .82rem; flex-wrap: wrap; }
.tp-top-in img { width: 28px; height: 28px; display: block; }
.tp-top-in a { text-decoration: none; color: #6e6356; }
.tp-top-in a:hover { color: #2d2620; text-decoration: underline; }
.tp-top-in .sep { color: #c4b49b; }
.tp-top-in strong { font-weight: 700; color: #2d2620; }
/* 学びラボ共通 site-nav.js の「続きから」バー：中学のページの履歴が出るので 小学生のトップでは出さない（2026-11-15 理事長） */
.sh-top .ks-resume { display: none !important; }
