/* らくがき かみずもう — あそびかた・おうちの方へ（段ボールとマーカーの見た目は本体と同じ） */
:root {
  --kraft: #c9a06b; --kraft-deep: #8e6a40; --card: #fffdf7; --ink: #27221e; --ink-soft: #6a5d52; --shu: #dc3f2f;
  --p1: #e5483b; --p2: #2f6fd6; --p3: #eeb12a; --p4: #2a9e66; --night: #2b1d15;
  --f-display: "Dela Gothic One", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-hand: "Yusei Magic", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --f-ui: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --cut: 18px 12px 20px 10px / 12px 20px 10px 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; font-synthesis: none; }   /* 太字の無い書体を にせの太字に しない */
body {
  margin: 0; color: var(--ink); font-family: var(--f-ui); font-weight: 500; font-size: 16px; line-height: 1.8;
  background: var(--kraft) repeating-linear-gradient(90deg, rgba(90, 60, 30, .08) 0 2px, transparent 2px 14px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ai, #2a4d96); text-underline-offset: 3px; }
a, button, summary { touch-action: manipulation; }
.wrap { width: min(100% - 32px, 980px); margin-inline: auto; }
em { font-style: normal; background: linear-gradient(transparent 58%, #ffe066 58%); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 50% 20%, #4a3324, var(--night)); color: var(--card); padding: 34px 0 0; overflow: hidden; }
.hero .wrap { position: relative; }
.hero .wrap { display: grid; justify-items: center; text-align: center; gap: 10px; }
.brand { margin: 0; width: min(64vw, 250px); }
.hero small { font-family: var(--f-hand); font-size: 18px; opacity: .9;  font-weight: 400;}
.hero h1 { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1.05; font-size: clamp(44px, 11vw, 88px); letter-spacing: .02em; transform: rotate(-2deg); }
.hero h1 .raku { display: block; font-family: var(--f-hand); font-size: .5em; }
.hero h1 .raku i { font-style: normal; text-shadow: 3px 0 0 #fff, 2.898px 0.776px 0 #fff, 2.598px 1.5px 0 #fff, 2.121px 2.121px 0 #fff, 1.5px 2.598px 0 #fff, 0.776px 2.898px 0 #fff, 0 3px 0 #fff, -0.776px 2.898px 0 #fff, -1.5px 2.598px 0 #fff, -2.121px 2.121px 0 #fff, -2.598px 1.5px 0 #fff, -2.898px 0.776px 0 #fff, -3px 0 0 #fff, -2.898px -0.776px 0 #fff, -2.598px -1.5px 0 #fff, -2.121px -2.121px 0 #fff, -1.5px -2.598px 0 #fff, -0.776px -2.898px 0 #fff, 0 -3px 0 #fff, 0.776px -2.898px 0 #fff, 1.5px -2.598px 0 #fff, 2.121px -2.121px 0 #fff, 2.598px -1.5px 0 #fff, 2.898px -0.776px 0 #fff; }
.hero h1 .raku i:nth-child(1) { color: var(--p1); } .hero h1 .raku i:nth-child(2) { color: var(--p2); } .hero h1 .raku i:nth-child(3) { color: var(--p3); } .hero h1 .raku i:nth-child(4) { color: var(--p4); }
.hero .lead { margin: 4px 0 6px; font-weight: 700; font-size: 17px; }
.hero .lead span { display: inline-block; }   /* 文節の区切りで折り返す */
.cta {
  display: inline-block; font-family: var(--f-display); font-size: 26px; letter-spacing: .06em; color: #fff; text-decoration: none;
  background: var(--shu); border: 3px solid var(--ink); border-radius: var(--cut); padding: 10px 40px 12px; box-shadow: 0 5px 0 var(--ink); transform: rotate(-1deg);
 font-weight: 400;}
.cta:active { transform: rotate(-1deg) translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.shot { margin-top: 18px; width: min(100%, 860px); border: 3px solid var(--ink); border-bottom: 0; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -6px 30px rgba(0, 0, 0, .35); }

/* ---------- 見出しと札 ---------- */
.sec { padding: 46px 0 8px; }
.sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 18px; }
.sec-head .no { font-family: var(--f-display); font-size: 30px; color: var(--card); background: var(--ink); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; transform: rotate(-6deg); align-self: center;  font-weight: 400;}
.sec-head h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 6vw, 38px); line-height: 1.2; }
.sec-head .kana { margin: 0; font-family: var(--f-hand); font-size: 17px; color: var(--ink-soft);  font-weight: 400;}
.paper { background: var(--card); border: 3px solid var(--ink); border-radius: var(--cut); box-shadow: 5px 6px 0 rgba(39, 34, 30, .28); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.steps li { display: grid; align-content: start; overflow: hidden; }
.steps li:nth-child(odd) { transform: rotate(-.6deg); } .steps li:nth-child(even) { transform: rotate(.5deg); }
.steps img { border-bottom: 3px solid var(--ink); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.step-body { padding: 12px 18px 16px; }
.step-body h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; }
.step-body h3 b { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--shu); color: #fff; font-size: 17px; }
.step-body p { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { padding: 16px 20px 18px; }
.card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.card h3 small { font-size: 14px; color: var(--ink-soft); margin-left: 6px; }
.card ul { margin: 0; padding-left: 1.2em; }
/* こどもむけの 文は 文節ごとに 空白で 区切ってあるので、そこで 折り返す（入りきらない ときだけ どこでも 折る） */
.card { word-break: keep-all; overflow-wrap: anywhere; }
.card p { margin: 0 0 6px; }

/* 色と わざ の表 */
.card .shapes { list-style: none; margin: 8px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .card .shapes { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.shapes li { display: grid; justify-items: center; align-content: start; gap: 2px; text-align: center; padding: 6px 3px 8px; border: 2px dashed rgba(39, 34, 30, .22); border-radius: 12px; line-height: 1.45; }
.shapes svg { width: 48px; height: 48px; fill: #fff; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.shapes svg .g { stroke: var(--kraft-deep); stroke-width: 2; }
.shapes b { font-size: 15px; }
.shapes span { font-size: 12px; font-weight: 700; letter-spacing: 0; }
.sp-good, .sp-bad { display: flex; gap: 1px; justify-content: center; text-align: left; }
.sp-good::before, .sp-bad::before { flex: none; }
.sp-good::before { content: "◎"; color: var(--p4); }
.sp-bad::before { content: "△"; color: var(--shu); }
.sp-bad { color: var(--ink-soft); }
.sp-toku { margin-top: 3px; padding: 1px 8px; border-radius: 99px; background: var(--ink); color: var(--card); font-size: 12px !important; }
.waza { width: 100%; border-collapse: collapse; font-size: 15px; }
.waza th, .waza td { padding: 7px 8px; border-bottom: 2px dashed rgba(39, 34, 30, .2); text-align: left; vertical-align: top; }
.waza th { white-space: nowrap; font-weight: 700; }
.waza th i { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--ink); vertical-align: -3px; margin-right: 6px; background: var(--c); }
.waza tr:last-child th, .waza tr:last-child td { border-bottom: 0; }
.keys kbd { font-family: var(--f-ui); font-weight: 700; font-size: 14px; border: 2px solid var(--ink); border-bottom-width: 4px; border-radius: 6px; padding: 0 7px; background: #fff; }
.note { font-size: 14px; color: #3d3229; margin: 12px 0 0; }

/* ---------- おうちの方へ・よくある質問 ---------- */
.parents { margin-top: 40px; padding-bottom: 30px; background: var(--card); border-top: 3px solid var(--ink); }
.parents .sec-head .no { background: var(--shu); }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pbox { border: 2.5px solid var(--ink); border-radius: 12px; padding: 14px 18px; background: #fff; }
.pbox h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.pbox p { margin: 0 0 6px; font-size: 15px; }
.pbox ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.faq details { border: 2.5px solid var(--ink); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 12px 18px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 16px; top: 10px; font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 18px 14px; font-size: 15px; }

.end { background: var(--night); color: var(--card); text-align: center; padding: 40px 0 30px; }
.end h2 { margin: 0 0 14px; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 7vw, 44px); }
.foot { margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; font-size: 13px; font-weight: 700; color: rgba(255, 253, 247, .8); }
.foot a { color: inherit; }
.foot > * + *::before { content: "/"; display: inline-block; opacity: .55; margin-right: 8px; }

@media (max-width: 720px) {
  .steps, .cards, .pgrid { grid-template-columns: 1fr; }
  .waza { font-size: 14px; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* かいた とおりに かわる：左右で量がちがうので1カラム。かたちの5つは広い画面では2列に */
.cards.one { grid-template-columns: 1fr; }
.cards.one ul { columns: 2; column-gap: 32px; }
.cards.one li { break-inside: avoid; }
@media (max-width: 720px) { .cards.one ul { columns: 1; } }
/* 番付：場所ごとに 写真・番付・場所の名前・ごほうびのペン */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.basho { overflow: hidden; display: grid; align-content: start; }
.basho:nth-child(odd) { transform: rotate(-.6deg); } .basho:nth-child(even) { transform: rotate(.5deg) translateY(6px); }
.basho img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 3px solid var(--ink); }
.bs-body { padding: 10px 12px 12px; display: grid; gap: 2px; }
.bs-rank { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--shu); line-height: 1.3; }
.bs-rank b { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--shu); color: #fff; font-size: 13px; }
.basho h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.bs-sub { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.bs-pen { margin: 6px 0 0; display: grid; justify-items: start; gap: 4px; font-size: 14px; font-weight: 700; line-height: 1.3; }   /* ごほうび の札の下に ペンの名前 */
.bs-pen span { font-size: 11px; color: #fff; background: var(--ink); border-radius: 999px; padding: 1px 8px; }
.bs-pen b { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.bs-pen i { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--c); }
@media (max-width: 980px) { .ladder { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .ladder { grid-template-columns: 1fr; gap: 12px; }
  .basho { grid-template-columns: 42% 1fr; align-items: center; }
  .basho:nth-child(even) { transform: rotate(.5deg); }
  .basho img { height: 100%; border-bottom: 0; border-right: 3px solid var(--ink); }
}

/* ---------- ヒーローの力士たち ---------- */
.ch { padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ch img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .35)); pointer-events: none; }
/* 土俵の上に並んで、順番に トントン（紙ずもうが 台を たたかれて 跳ねる 動き） */
.parade { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(2px, 1.4vw, 14px); width: min(100%, 760px); margin: 16px auto -26px; padding: 0 12px 14px; z-index: 1; }
.parade .dohyo { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; border-radius: 50%; background: #e9cf9d; border: 3px solid var(--ink); box-shadow: inset 0 0 0 7px #e9cf9d, inset 0 0 0 9.5px #c9a04f; z-index: -1; }
.parade .ch { width: clamp(52px, 12vw, 104px); transform-origin: 50% 100%; animation: chHop 2.4s calc(var(--i) * .16s) infinite both; }
.parade .ch:nth-child(even) img { transform: scaleX(-1); }
@keyframes chHop {
  0%, 52%, 100% { transform: none; }
  58% { transform: translateY(-16%) rotate(-5deg); } 64% { transform: scale(1.06, .92); }
  70% { transform: translateY(-9%) rotate(4deg); } 76% { transform: scale(1.04, .95); } 82% { transform: none; }
}
.ch.tap { animation: chTap .7s cubic-bezier(.3, .8, .4, 1) both !important; }
.ch.tap::after { content: "トン！"; position: absolute; left: 50%; top: -6px; transform: translateX(-50%); font-family: var(--f-display); font-size: 18px; color: var(--shu); white-space: nowrap; text-shadow: 2.6px 0 0 #fff, 2.511px 0.673px 0 #fff, 2.252px 1.3px 0 #fff, 1.838px 1.838px 0 #fff, 1.3px 2.252px 0 #fff, 0.673px 2.511px 0 #fff, 0 2.6px 0 #fff, -0.673px 2.511px 0 #fff, -1.3px 2.252px 0 #fff, -1.838px 1.838px 0 #fff, -2.252px 1.3px 0 #fff, -2.511px 0.673px 0 #fff, -2.6px 0 0 #fff, -2.511px -0.673px 0 #fff, -2.252px -1.3px 0 #fff, -1.838px -1.838px 0 #fff, -1.3px -2.252px 0 #fff, -0.673px -2.511px 0 #fff, 0 -2.6px 0 #fff, 0.673px -2.511px 0 #fff, 1.3px -2.252px 0 #fff, 1.838px -1.838px 0 #fff, 2.252px -1.3px 0 #fff, 2.511px -0.673px 0 #fff, 0 3px 0 rgba(0, 0, 0, .3); animation: chTon .7s both; }
.ch { position: relative; }
@keyframes chTap { 0% { transform: none; } 35% { transform: translateY(-42%) rotate(-10deg); } 60% { transform: translateY(0) scale(1.12, .86); } 80% { transform: scale(.96, 1.05); } 100% { transform: none; } }
@keyframes chTon { 0% { opacity: 0; translate: 0 6px; } 25%, 70% { opacity: 1; translate: 0 -10px; } 100% { opacity: 0; translate: 0 -18px; } }
/* PC 幅だけ、見出しの左右に大きめの2人。ゆらゆら */
.side { display: none; }
@media (min-width: 900px) {
  .side { display: block; position: absolute; inset: 0; pointer-events: none; }
  .ch.big { position: absolute; top: 36px; width: 170px; pointer-events: auto; animation: chSway 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
  .ch.big.l { left: 0; --r: -6deg; }
  .ch.big.r { right: 0; --r: 6deg; animation-delay: -1.6s; }
  .ch.big.r img { transform: scaleX(-1); }
}
@keyframes chSway { 0%, 100% { transform: rotate(var(--r)); } 50% { transform: rotate(calc(var(--r) * -.4)) translateY(-8px); } }
@media (max-width: 420px) { .parade .ch:nth-child(n+6) { display: none; } }
@media (prefers-reduced-motion: reduce) { .parade .ch, .ch.big { animation: none; } }
.sec-head h2 .mid { margin: 0 .18em; }   /* 見出しの「・」の左右に余白 */
