/* 遊べるお寺プロジェクト｜全国 の見た目（2026年11月19日・重いの192）
   手本＝くまモンランドの見た目の部品（色の地の上に白い角丸の箱・太い枠・箱の端から顔を出すキャラ・丸い札・丸い矢印のボタン・波の帯）。
   色とキャラは遊べるお寺の名刺から（空色 #38B6FF・黄 #FFDE59・墨の線・ブッダ／地蔵／鬼たち）。
   style.css のあとに読む。外すときは _build.py の THEME_ASOBI = False で、前の白地の見た目に戻る。 */
:root{
  --sky:#38b6ff; --sky-deep:#1f8fd6; --yellow:#ffde59; --orange:#faa935; --ink:#2b2b2b; --cloud-green:#539d5a;
  --accent:#1f8fd6; --accent-soft:#e3f4ff;
  --round:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN","Hiragino Sans",sans-serif;
}
body{ background:var(--sky); color:var(--ink); }
a{ color:var(--sky-deep); }
h1,h2,h3,.btn,.nav a,.en,.lbl,.for,.who,.kind,.go,.more a{ font-family:var(--round); }

/* いちばん上（全国｜高島）と、公開前の帯 */
.topbar{ background:transparent; border:0; }
.switch{ border:3px solid var(--ink); }
.switch span{ background:var(--yellow); color:var(--ink); }

/* ヘッダー：左上の白い角にロゴ（くまモンランドの左上の白い丸みと同じ置き方） */
.site-header{ background:transparent; border:0; position:relative; }
.site-header .wrap{ padding-top:0; padding-bottom:14px; align-items:flex-end; }
.logo{ display:flex; align-items:center; gap:10px; background:#fff; border:3px solid var(--ink); border-radius:0 0 34px 34px; border-top:0; padding:14px 22px 14px; margin-top:-3px; }
.logo img{ width:260px; height:auto; }
.logo .zenkoku{ font-family:var(--round); font-weight:800; font-size:15px; background:var(--yellow); color:var(--ink); border:3px solid var(--ink); border-radius:999px; padding:0 12px; line-height:1.7; white-space:nowrap; }
.nav{ gap:6px; }
.nav a{ background:#fff; color:var(--ink); border:3px solid var(--ink); border-radius:999px; padding:5px 14px; font-weight:800; }
.nav a:hover, .nav a[aria-current="page"]{ background:var(--yellow); color:var(--ink); }
.nav a.cta.dark{ background:var(--ink); color:#fff; }
.nav a.cta.sanka{ background:var(--yellow); color:var(--ink); }
@media (max-width:760px){
  .logo{ width:100%; justify-content:center; border-radius:0 0 28px 28px; padding:12px 14px; }
  .logo img{ width:210px; }
  .nav a{ padding:6px 2px; background:#fff; border-width:2px; }
}

/* 白い角丸の箱（くまモンランドの NEWS の箱の形）：トップの段と、下のページの中身 */
.hero{ background:transparent; border:0; padding:6px 0 18px; position:relative; }
.hero::before{ content:""; position:absolute; right:3%; top:-38px; width:260px; height:90px; background:url(/images/asobi/cloud.png) no-repeat right top/contain; pointer-events:none; }
.hero .grid{ background:#fff; border:3px solid var(--ink); border-radius:36px; padding:40px 40px 44px; position:relative; }
.hero .grid::after{ content:""; position:absolute; right:-14px; bottom:-18px; width:120px; height:148px; background:url(/images/asobi/chara-buddha.png) no-repeat center bottom/contain; pointer-events:none; }
.hero figure img{ border:3px solid var(--ink); border-radius:28px; }
.eyebrow{ color:var(--sky-deep); }
.three li:first-child{ color:var(--ink); }

.section{ padding:14px 0; }
.section.soft{ background:transparent; }
.section > .wrap{ background:#fff; border:3px solid var(--ink); border-radius:36px; padding-top:44px; padding-bottom:44px; position:relative; }
@media (min-width:900px){ .section > .wrap{ padding-left:48px; padding-right:48px; } }
.section > .wrap, .hero > .wrap, .page-head > .wrap, main > .wrap, main > .tool, .next{ max-width:calc(var(--maxw) - 40px); }
@media (max-width:760px){
  .section > .wrap, .hero .grid, main > .wrap, main > .tool, .page-head > .wrap{ margin-left:10px; margin-right:10px; border-radius:26px; }
  .hero .grid{ padding:26px 18px 34px; }
  .hero .grid::after{ width:84px; height:104px; right:-6px; bottom:-14px; }
  .hero::before{ width:160px; top:-26px; }
}

/* 見出しの札（くまモンランドの赤い枠の札を、黄色の札に） */
.sec-head .en, .page-head .eyebrow{ display:inline-block; background:var(--yellow); color:var(--ink); border:2px solid var(--ink); border-radius:999px; padding:0 12px; font-size:13px; letter-spacing:.08em; margin-bottom:8px; }
.sec-head h2{ font-weight:800; }
.sec-head p{ color:#4b5560; }

/* 小さな箱（入口・取り組み・参加する・受け取る・カード）：太い枠と大きな角丸 */
.entry, .action, .join a, .receive > div, .card, .door, .step, .tier, .case, .flow li, .faq details, .rules li, .count, .pain li, .tool .book, .tool .scenes > div, .chips li{ border:3px solid var(--ink); border-radius:24px; }
.entry:hover, .join a:hover, a.card:hover, a.door:hover, a.step:hover{ border-color:var(--ink); background:#fffbe6; }
.entry .who{ text-decoration:underline; text-decoration-color:var(--yellow); text-decoration-thickness:6px; text-underline-offset:-2px; }
.entry .go, .join .go, .door .go, .step .go{ color:var(--ink); }
.entry .go::after, .join .go::after{ content:""; }
.card img{ border-bottom:3px solid var(--ink); }
.tier.here{ border-color:var(--ink); background:#fffbe6; }
.tier.empty{ border-style:dashed; }

/* 取り組み：右上から赤鬼が顔を出す */
#torikumi > .wrap::after{ content:""; position:absolute; right:40px; top:-62px; width:86px; height:128px; background:url(/images/asobi/chara-akaoni.png) no-repeat center bottom/contain; pointer-events:none; }
.action .lbl{ display:inline-block; align-self:flex-start; background:var(--sky); color:#fff; border:2px solid var(--ink); border-radius:999px; padding:0 12px; letter-spacing:.06em; }
.subs a .go{ display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--ink); color:#fff; font-size:13px; }

/* お知らせ：左に見出しと地蔵（くまモンランドの NEWS の左の欄と同じ置き方） */
@media (min-width:900px){
  #news > .wrap{ display:grid; grid-template-columns:230px 1fr; gap:10px 34px; align-items:start; min-height:280px; }
  #news .sec-head{ margin:0; padding-bottom:150px; background:url(/images/asobi/chara-jizo.png) no-repeat left bottom/auto 140px; }
}
.news{ border-top:0; }
.news li{ border-bottom:2px dashed #c9d3da; }
.news .when{ color:var(--ink); }
.news a::after{ content:"›"; grid-column:2; justify-self:end; margin-top:-30px; font-size:24px; font-weight:800; color:var(--sky-deep); line-height:1; }

/* 参加する：4つの箱の右下に、それぞれのキャラ */
.join a{ position:relative; padding-bottom:64px; }
.join a::after{ content:""; position:absolute; right:12px; bottom:10px; width:56px; height:56px; background:no-repeat right bottom/contain; }
.join a:nth-child(1)::after{ background-image:url(/images/asobi/chara-jizo.png); }
.join a:nth-child(2)::after{ background-image:url(/images/asobi/chara-hotei.png); }
.join a:nth-child(3)::after{ background-image:url(/images/asobi/chara-kioni.png); width:72px; }
.join a:nth-child(4)::after{ background-image:url(/images/asobi/chara-benzaiten.png); }
.join .for{ color:var(--sky-deep); }

/* 受け取る：黄色の波の帯に、点線の内枠の箱（くまモンランドの下の赤い帯と同じ形） */
#uketoru{ background:var(--yellow); margin-top:40px; padding:56px 0 64px; border-top:3px solid var(--ink); border-radius:50% 50% 0 0 / 46px 46px 0 0; }
#uketoru > .wrap{ background:transparent; border:0; padding-top:0; padding-bottom:0; }
#uketoru .sec-head{ text-align:center; margin-left:auto; margin-right:auto; }
#uketoru .sec-head .en{ background:#fff; }
.receive{ margin:0 auto; justify-content:center; }
.receive > div{ position:relative; text-align:center; align-items:center; padding:30px 24px 28px; }
.receive > div::before{ content:""; position:absolute; inset:8px; border:2px dashed var(--ink); border-radius:17px; pointer-events:none; }
.receive h3::before{ content:"＼ "; } .receive h3::after{ content:" ／"; }
.receive > div:last-child::after{ content:""; position:absolute; left:-20px; bottom:-14px; width:84px; height:84px; background:url(/images/asobi/chara-aooni.png) no-repeat left bottom/contain; pointer-events:none; }
.receive .btn{ border-radius:999px; border:3px solid var(--ink); position:relative; z-index:1; }

/* ボタン：丸い形・太い枠 */
.btn{ border-radius:999px; border:3px solid var(--ink); font-weight:800; }
.btn.primary{ background:var(--ink); color:#fff; }
.btn.ghost{ background:#fff; color:var(--ink); }
.btn.line{ border-color:var(--ink); }
.more a{ display:inline-flex; align-items:center; gap:10px; border:3px solid var(--ink); border-radius:999px; padding:8px 18px 8px 22px; color:var(--ink); background:#fff; }
.more a:hover{ background:var(--yellow); }

/* 下のページ：頭と中身を白い箱に */
.page-head{ background:transparent; border:0; padding:8px 0 10px; }
.page-head > .wrap{ background:#fff; border:3px solid var(--ink); border-radius:36px; padding-top:34px; padding-bottom:30px; position:relative; }
.page-head > .wrap::after{ content:""; position:absolute; right:22px; bottom:-10px; width:80px; height:100px; background:url(/images/asobi/chara-buddha.png) no-repeat right bottom/contain; pointer-events:none; }
@media (max-width:760px){ .page-head > .wrap::after{ display:none; } }
.page-head p{ max-width:640px; }
.jump a{ border:2px solid var(--ink); color:var(--ink); }
main > .wrap, main > .tool{ background:#fff; border:3px solid var(--ink); border-radius:36px; margin-top:14px; margin-bottom:14px; padding-bottom:40px; }
main > .tool{ margin-left:auto; margin-right:auto; }
.block h2, .tool h2{ border-bottom:3px dashed var(--ink); }
.next{ padding:10px 0 30px; }
.next a{ background:var(--yellow); border:3px solid var(--ink); border-radius:999px; }
.next a > span:last-child{ color:var(--ink); }
.kosen-box, .draft-block{ border-radius:18px; }

/* 終わりの帯と下 */
.band{ background:var(--ink); }
.band .btn.primary{ background:var(--yellow); color:var(--ink); border-color:var(--yellow); }
.site-footer{ background:var(--ink); color:#cfd6db; border:0; position:relative; padding-bottom:26px; }
.site-footer a{ color:#fff; text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(255,255,255,.35); }
.fmap b{ color:var(--yellow); font-family:var(--round); }
.site-footer::after{ content:""; display:block; height:26px; background:var(--sky); border-radius:50% 50% 0 0 / 26px 26px 0 0; margin-top:10px; }

/* 11/19 見直し：最初の箱の幅をほかの箱にそろえる・入口5つを1列に・受け取るの箱を真ん中に */
.hero > .wrap{ padding-left:0; padding-right:0; }
.entries{ grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); }
.receive{ grid-template-columns:repeat(auto-fit,minmax(280px,380px)); }
@media (max-width:760px){
  .hero .grid{ margin-left:10px; margin-right:10px; }
  .entries{ grid-template-columns:1fr 1fr; }
}

/* ===== 11/19夜 NOTの①③⑫と「減らす」（重いの192・チャット「11/19 前のPC 02」）=====
   本人「見てみた感じはごちゃごちゃしてて見にくかった」→ 太い枠は大きな箱とボタンだけ。中は線で区切る。キャラはページに3体まで */

/* ② メニュー6つは、ふつうの字（箱にしない）。箱は右のボタン2つだけ */
.nav{ align-items:center; gap:2px 4px; }
.nav a:not(.cta){ background:transparent; border:0; border-radius:8px; padding:6px 9px; font-size:15px; }
.nav a:not(.cta):hover{ background:rgba(255,255,255,.55); }
.nav a:not(.cta)[aria-current="page"]{ background:transparent; text-decoration:underline; text-decoration-color:var(--yellow); text-decoration-thickness:5px; text-underline-offset:5px; }
.nav a.cta{ margin-left:6px; padding:7px 18px; }
@media (max-width:760px){
  .nav a:not(.cta){ background:transparent; padding:5px 0; font-size:13px; }
  .nav a.cta{ margin-left:0; padding:8px 4px; }
}

/* ① 上の帯は画面の上に残る。下に送ると細くなる（.is-stuck はスクリプトがつける） */
.hdr-sentinel{ height:1px; }
.site-header{ position:sticky; top:0; z-index:50; transition:background .15s; }
.site-header.is-stuck{ background:var(--sky); border-bottom:3px solid var(--ink); }
.site-header.is-stuck > .wrap{ padding-bottom:6px; align-items:center; flex-wrap:nowrap; }
.site-header.is-stuck .nav{ flex-wrap:nowrap; }
.site-header.is-stuck .nav a:not(.cta){ padding:6px 7px; font-size:14px; }
.site-header.is-stuck .nav a.cta{ padding:6px 14px; }
.site-header.is-stuck .logo{ padding:6px 14px 7px; border-radius:0 0 22px 22px; }
.site-header.is-stuck .logo img{ width:150px; }
.site-header.is-stuck .logo .zenkoku{ font-size:12px; padding:0 8px; }
@media (max-width:760px){
  /* スマホで細くなったときは、ロゴ（小さく）とボタン2つだけの1行に */
  .site-header.is-stuck > .wrap{ flex-wrap:nowrap; gap:8px; padding-left:8px; padding-right:8px; }
  .site-header.is-stuck .logo{ width:auto; flex:0 0 auto; padding:5px 10px 6px; }
  .site-header.is-stuck .logo img{ width:118px; }
  .site-header.is-stuck .logo .zenkoku{ display:none; }
  .site-header.is-stuck .nav{ width:auto; flex:1; display:flex; gap:6px; justify-content:flex-end; }
  .site-header.is-stuck .nav a:not(.cta){ display:none; }
  .site-header.is-stuck .nav a.cta{ padding:6px 12px; font-size:13px; }
}

/* ③ ［参加する］で開く4つの入口の箱（上の帯の下に重なって出る） */
.sanka-panel{ position:absolute; left:0; right:0; top:100%; padding-top:8px; }
.sanka-panel[hidden]{ display:none; }
.site-header .sanka-panel > .wrap{ display:block; max-width:calc(var(--maxw) - 40px); background:#fff; border:3px solid var(--ink); border-radius:28px; padding:18px 24px 24px; box-shadow:0 10px 0 rgba(0,0,0,.14); }
.sp-head{ display:flex; justify-content:space-between; align-items:center; margin:0 0 12px; font-family:var(--round); font-size:17px; }
.sp-close{ width:36px; height:36px; border-radius:50%; border:3px solid var(--ink); background:#fff; font-size:18px; font-weight:800; line-height:1; cursor:pointer; }
.sp-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.sp-grid a{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; text-decoration:none; color:var(--ink); background:#fff8d6; border-radius:20px; padding:16px 10px 14px; }
.sp-grid a:hover{ background:var(--yellow); }
.sp-grid img{ width:56px; height:56px; object-fit:contain; }
.sp-grid .for{ font-size:12px; font-weight:700; color:#4b5560; }
.sp-grid b{ font-family:var(--round); font-size:18px; }
.sp-grid .go{ display:none; }
@media (max-width:760px){
  .site-header .sanka-panel > .wrap{ margin:0 8px; padding:14px 14px 16px; border-radius:22px; }
  .sp-grid{ grid-template-columns:1fr 1fr; gap:8px; }
  .sp-grid a{ padding:10px 6px; }
  .sp-grid img{ width:44px; height:44px; }
  .sp-grid b{ font-size:16px; }
}

/* ⑤ 最初の画面：見出し＋1行＋ボタン1つ */
.hero-lead{ margin:0 0 26px; font-size:clamp(15px,1.7vw,17px); font-weight:600; color:#4b5560; }

/* ⑥ 入口5つ：箱にせず、線で区切る（PCは横に5つ・スマホは縦に） */
.entry-line{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); }
.entry-line li{ margin:0; }
.entry-line li + li{ border-left:2px dashed #c9d3da; }
.entry-line a{ display:flex; flex-direction:column; gap:6px; height:100%; padding:6px 16px 10px; text-decoration:none; color:var(--ink); border-radius:14px; }
.entry-line a:hover{ background:#fff8d6; }
.entry-line b{ font-family:var(--round); font-size:16px; line-height:1.5; }
.entry-line b::after{ content:" ›"; color:var(--sky-deep); }
.entry-line span{ font-size:13px; color:#4b5560; line-height:1.7; }
@media (max-width:760px){
  .entry-line{ grid-template-columns:1fr; }
  .entry-line li + li{ border-left:0; border-top:2px dashed #c9d3da; }
  .entry-line a{ padding:12px 4px; }
}

/* ⑦ 取り組み：2つは箱にせず、点線で左右に分ける。中は名前＋1行 */
.actions{ gap:0; }
.action{ border:0; border-radius:0; background:transparent; padding:0 4px; }
@media (min-width:761px){ .action + .action{ border-left:2px dashed #c9d3da; padding-left:30px; margin-left:26px; } .actions{ grid-template-columns:1fr 1fr; } }
@media (max-width:760px){ .action + .action{ border-top:2px dashed #c9d3da; padding-top:22px; margin-top:22px; } }
.subs{ border-top:2px solid var(--ink); }
.subs li{ border-bottom:1px solid #d9e1e6; }

/* ⑨ 参加する4つ：箱の枠を外し、うすい黄色の札に。「〜したい方向け」＋名前＋→ だけ */
.join{ grid-template-columns:repeat(4,1fr); gap:12px; }
.join a{ border:0; border-radius:22px; background:#fff8d6; padding:18px 18px 16px; display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto; gap:2px 10px; align-items:center; }
.join a:hover{ background:var(--yellow); }
.join a::after{ display:none; }
.join .for{ grid-column:1; font-size:12px; color:#4b5560; }
.join a b{ grid-column:1; font-family:var(--round); font-size:19px; }
.join .go{ grid-column:2; grid-row:1 / span 2; display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:var(--ink); color:#fff; padding:0; margin:0; font-size:15px; }
@media (max-width:900px){ .join{ grid-template-columns:1fr 1fr; } }
@media (max-width:420px){ .join a{ padding:14px 12px; } .join a b{ font-size:16px; } .join .go{ width:28px; height:28px; } }

/* キャラはページに3体まで（最初の箱のブッダ・取り組みの赤鬼・お知らせの地蔵）。受け取るの青鬼は外す */
.receive > div:last-child::after{ display:none; }
@media (max-width:420px){ .sp-grid .for, .join .for{ font-size:11px; letter-spacing:0; } }

/* ===== 11/19夜 NOTの⑧⑩⑪⑬〜⑳（重いの192・チャット「11/19 前のPC 02」・本人「⑤〜⑳も入れる」）===== */

/* ⑬ パンくず */
.crumb .wrap{ max-width:calc(var(--maxw) - 40px); padding-top:2px; padding-bottom:8px; font-size:13px; font-weight:700; display:flex; flex-wrap:wrap; gap:4px 8px; color:var(--ink); }
.crumb a{ color:var(--ink); text-decoration:underline; text-decoration-color:rgba(43,43,43,.35); text-underline-offset:3px; }
.crumb span[aria-hidden]{ opacity:.6; }
@media (max-width:760px){ .crumb .wrap{ padding-left:14px; padding-right:14px; font-size:12px; } }

/* ⑮ 右下に浮かぶ「まずは相談」（団体・施設向けのページだけ） */
.float-soudan{ position:fixed; right:18px; bottom:18px; z-index:40; display:flex; flex-direction:column; align-items:center; background:#fff; color:var(--ink); border:3px solid var(--ink); border-radius:20px; padding:8px 18px 10px; font-family:var(--round); font-size:12px; text-decoration:none; box-shadow:0 6px 0 var(--yellow); line-height:1.4; }
.float-soudan b{ font-size:16px; }
.float-soudan:hover{ background:var(--yellow); }
@media (max-width:760px){ .float-soudan{ right:10px; bottom:10px; padding:6px 12px 7px; } .float-soudan b{ font-size:14px; } }

/* ⑪ 下の地図：小さい前置き＋大きい行き先 */
.fmap small{ display:block; font-size:11px; color:#9fb0bb; text-decoration:none; letter-spacing:.04em; }

/* ⑧ お知らせの種類の札 */
.news .kind{ display:inline-block; font-style:normal; font-family:var(--round); font-size:12px; font-weight:800; background:#fff; border:2px solid var(--ink); border-radius:999px; padding:0 10px; margin-right:8px; line-height:1.6; vertical-align:1px; }

/* ⑩ 受け取る：「だれ向け」を吹き出しの札に */
.receive .for{ position:relative; display:inline-block; align-self:center; background:var(--yellow); color:var(--ink); border:2px solid var(--ink); border-radius:999px; padding:2px 16px; margin-top:-46px; margin-bottom:8px; font-size:13px; z-index:1; }
.receive .for::after{ content:""; position:absolute; left:50%; bottom:-8px; margin-left:-6px; border:6px solid transparent; border-top-color:var(--ink); border-bottom:0; }
.receive > div{ margin-top:22px; }

/* ⑭ ページの中の目次（ご依頼） */
.jump.toc{ background:#f3f9ff; border-radius:20px; padding:14px 16px; margin:26px 0 6px; }

/* ⑰ 実績を数で */
.counts{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:14px 0 8px; }
.counts > div{ background:#fff8d6; border-radius:22px; padding:16px 18px; text-align:center; }
.counts span{ display:block; font-family:var(--round); font-weight:800; font-size:14px; }
.counts b{ display:block; font-family:var(--round); font-size:44px; line-height:1.2; }
.counts b small{ font-size:16px; margin-left:2px; }
.counts p{ margin:4px 0 0; font-size:13px; color:#4b5560; text-align:left; }
@media (max-width:640px){ .counts{ grid-template-columns:1fr; } }

/* ⑱ 流れの1段目：よくある相談の例と、同じページのフォームへ */
.flow .ex-head{ display:block; margin-top:10px; font-size:13px; font-weight:700; color:var(--ink); }
.flow .ex{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:6px; }
.flow .ex i{ font-style:normal; background:#fff8d6; border-radius:12px; padding:8px 12px; font-size:14px; color:var(--ink); }
.flow .ex-go{ display:inline-block; margin-top:10px; font-weight:800; font-size:14px; color:var(--ink); }
@media (max-width:640px){ .flow .ex{ grid-template-columns:1fr; } }
.form select{ width:100%; font:inherit; padding:10px 12px; border:1px solid #b9c2c7; border-radius:6px; background:#fff; color:var(--ink); }

/* ⑯ 悩み3つ → ▼ → 答えの帯 ／ ⑲ 同じ箱を頭にも */
ul.worry{ list-style:none; padding:0 !important; margin:14px 0 0; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
ul.worry li{ margin:0; background:var(--ink); color:#fff; border-radius:18px; padding:16px 16px; font-weight:700; font-size:15px; line-height:1.7; }
.answer{ position:relative; margin:34px 0 0; background:var(--yellow); border-radius:18px; padding:16px 20px; text-align:center; font-family:var(--round); font-weight:800; font-size:16px; line-height:1.7; }
.answer::before{ content:""; position:absolute; left:50%; top:-26px; margin-left:-14px; border:14px solid transparent; border-top:14px solid #8a949b; border-bottom:0; }
@media (max-width:760px){ ul.worry{ grid-template-columns:1fr; } }
.next.top{ margin:18px auto 0; padding:0; max-width:none; }
/* 見直し：答えの帯の上の▼が悩みの箱に重なっていた（.block p の余白が勝っていた）／スマホの「次の一歩」の箱が丸すぎて字が崩れていた */
.block p.answer{ margin:40px 0 0; }
@media (max-width:760px){
  .next a{ border-radius:22px; flex-direction:column; align-items:flex-start; padding:16px 18px; }
}

/* 11/20 NOTの④㉑（重いの192） */
/* ④ スマホ：上の帯を開いたとき、ボタン2つ（お問い合わせ・参加する）をいちばん上に。メニュー6つはその下 */
@media (max-width:760px){
  .site-header:not(.is-stuck) .nav a.cta{ order:-1; margin-bottom:4px; }
}
/* ㉑ 応援：品をボタンで並べ、1つにオススメ。同じ箱を頭と終わりに（NOTの寄付の金額のボタンの形。月額の寄付はまねない） */
.pick{ max-width:860px; margin:40px auto 6px; }
.pick .pick-head{ font-family:var(--round); font-weight:800; font-size:18px; margin:0 0 18px; }
.pick-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.pick-grid a{ position:relative; display:flex; flex-direction:column; gap:3px; text-decoration:none; color:var(--ink); background:#fff; border:3px solid var(--ink); border-radius:18px; padding:16px 14px 14px; }
.pick-grid a:hover{ background:var(--accent-soft); }
.pick-grid a span{ font-size:12px; font-weight:700; color:#666; }
.pick-grid a b{ font-family:var(--round); font-size:16px; line-height:1.45; }
.pick-grid a em{ font-style:normal; font-weight:800; font-size:15px; margin-top:auto; padding-top:8px; }
.pick-grid a.osusume{ background:var(--yellow); }
.pick-grid a.osusume i{ position:absolute; top:-14px; left:12px; font-style:normal; font-family:var(--round); font-weight:800; font-size:12px; background:#e23636; color:#fff; border:2px solid var(--ink); border-radius:999px; padding:1px 10px; }
.pick-end{ padding-top:4px; }
@media (max-width:760px){
  .pick-grid{ grid-template-columns:1fr 1fr; gap:18px 10px; }
  .pick-grid a{ padding:16px 12px 12px; }
  .pick-grid a b{ font-size:14px; }
}

/* ===== 11/20 下のページの「減らす」（重いの192・6-3の続き）=====
   本人「見てみた感じはごちゃごちゃしてて見にくかった」→ トップと同じ考え方を下のページにも：
   太い墨の枠は、大きな白い箱・ボタン・大事な1つ（次の一歩・オススメ・参加する）だけ。中の箱は、細い薄い線か、線で区切るだけにする */
:root{ --thin:#d5dee4; }
/* カード・扉・段・事例・数の箱：細い薄い線に（さわると墨の線） */
.card, .door, .tier, .case, .count, .tool .book, .tool .scenes > div{ border:2px solid var(--thin); border-radius:22px; }
a.card:hover, a.door:hover{ border-color:var(--ink); background:#fffbe6; }
.card img{ border-bottom:0; }
.tier.here{ border-color:var(--yellow); background:#fffbe6; }
.tier.empty{ border:2px dashed var(--thin); background:#f7f9fa; }
/* 順番（会の始め方・相談の流れ・ご依頼の流れ）：箱にせず、点線で区切った1本の流れに */
.steps{ gap:0; }
.step{ border:0; border-radius:0; background:transparent; padding:16px 4px; }
.steps > li + li .step, .steps > .step + .step{ border-top:2px dashed #c9d3da; }
a.step:hover{ background:#fff8d6; border-radius:14px; }
.flow{ gap:0; }
.flow li{ border:0; border-radius:0; background:transparent; padding:16px 4px 16px 50px; }
.flow li + li{ border-top:2px dashed #c9d3da; }
.flow li::before{ left:6px; top:16px; }
/* よくある質問：箱にせず、線で区切る */
.faq details{ border:0; border-radius:0; background:transparent; margin:0; border-bottom:2px dashed #c9d3da; }
.faq details:first-of-type{ border-top:2px dashed #c9d3da; }
.faq summary{ padding:14px 4px; }
.faq details p{ padding:0 4px 14px; }
/* 決まり・困りごと・ご一緒した先：枠を外して、うすい地の色だけ */
.rules li{ border:0; border-radius:16px; background:#f3f7fa; }
.pain{ gap:0; }
.pain li{ border:0; border-radius:0; background:transparent; border-bottom:1px solid #e1e8ec; }
.pain li:first-child{ border-top:1px solid #e1e8ec; }
.chips li{ border:0; border-radius:999px; background:#eef5fa; }
/* ページの頭の飛び先：細い薄い線に */
.jump a{ border:2px solid var(--thin); background:#fff; }
.jump a:hover{ border-color:var(--ink); }
/* 終わりの「次の一歩」：もう1つの白い箱に入れず、空色の上にそのまま */
main > .wrap:has(> .next){ background:transparent; border:0; padding-bottom:0; margin-top:4px; }
/* スマホの細い幅：参加する4つは1列に（2列だと「会に来てみ／る」と折れていた） */
@media (max-width:420px){
  .join{ grid-template-columns:1fr; gap:8px; }
  .join a{ padding:12px 14px; }
}

/* 11/20 上の帯：下に送っても跳ねない形（本人「最初に下にスクロールするところで、変な感じになる」）
   前は帯が sticky のまま縮み、ページが縮んで上に戻され、太い帯と細い帯を行き来していた。
   今：もとの帯はページと一緒に流れる（高さは .hdr-wrap が取っておく）→ 出きったら、細い帯が上からすっと出る */
.hdr-wrap{ position:relative; }
.site-header{ position:relative; top:auto; }
.site-header.is-stuck{ position:fixed; top:0; left:0; right:0; animation:hdr-in .22s ease-out; box-shadow:0 4px 0 rgba(0,0,0,.08); }
@keyframes hdr-in{ from{ transform:translateY(-100%); } to{ transform:none; } }
@media (prefers-reduced-motion:reduce){ .site-header.is-stuck{ animation:none; } }
/* ページの中の飛び先は、細い帯に隠れないように少し下で止める */
[id]{ scroll-margin-top:84px; }

/* ===== 11/20 見やすくする（見本：自分の町で会を開きたい方へ）=====
   本人「文章だけだったり、わかりにくいから…画像を張ったり、写真を張ったり、ちょっとレイアウト変えたり」 */
/* 型A：ページの頭の右に、会の様子の写真を1枚 */
.page-head.with-photo > .wrap{ display:grid; grid-template-columns:1fr minmax(260px,380px); gap:20px 36px; align-items:center; }
.page-head.with-photo > .wrap::after{ display:none; }
.page-head.with-photo figure{ margin:0; }
.page-head.with-photo figure img{ display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border:3px solid var(--ink); border-radius:26px; }
@media (max-width:760px){
  .page-head.with-photo > .wrap{ grid-template-columns:1fr; }
  .page-head.with-photo figure img{ aspect-ratio:16/10; border-radius:20px; }
}
/* 型C：カードの上に、道具・本・会の絵。下に「〜を見る →」 */
.cards.pics .card img{ aspect-ratio:16/10; }
.cards.pics .card .go{ margin-top:auto; padding-top:6px; font-family:var(--round); font-weight:800; font-size:14px; color:var(--sky-deep); }
.cards.pics a.card:hover .go{ text-decoration:underline; }
/* 本の表紙がまだないあいだの、字だけの表紙（仮） */
.card .cover{ aspect-ratio:16/10; display:grid; place-items:center; background:#fff8d6; }
.card .cover > span{ display:flex; flex-direction:column; justify-content:space-between; width:34%; aspect-ratio:3/4.3; background:var(--sky); color:#fff; border:3px solid var(--ink); border-radius:4px 10px 10px 4px; padding:10px 9px; box-shadow:5px 5px 0 rgba(0,0,0,.12); }
.card .cover b{ font-family:var(--round); font-size:12px; line-height:1.45; }
.card .cover small{ font-size:10px; font-weight:700; text-align:right; }
/* 実例：写真つきの小さいカード2つ */
.ex-cases{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ex-cases a{ display:flex; flex-direction:column; gap:4px; text-decoration:none; color:var(--ink); border:2px solid var(--thin); border-radius:22px; overflow:hidden; padding-bottom:16px; background:#fff; }
.ex-cases a:hover{ border-color:var(--ink); background:#fffbe6; }
.ex-cases img{ width:100%; aspect-ratio:16/9; object-fit:cover; margin-bottom:8px; }
.ex-cases .when, .ex-cases b, .ex-cases span:last-child{ padding:0 18px; }
.ex-cases .when{ font-size:12px; font-weight:700; color:var(--sky-deep); }
.ex-cases b{ font-family:var(--round); font-size:18px; }
.ex-cases span:last-child{ font-size:14px; color:#4b5560; line-height:1.7; }
@media (max-width:640px){ .ex-cases{ grid-template-columns:1fr; } }
/* 入口4ページにも同じ型（11/20）：写真がないカードは、うすい黄色の地にキャラ／正方形の絵（ラジオのサムネ）は切らずに入れる／実例で写真がないものは字だけ */
.card .chara-tile{ aspect-ratio:16/10; display:grid; place-items:center; background:#fff8d6; }
.card .chara-tile img{ width:auto; height:78%; aspect-ratio:auto; object-fit:contain; background:transparent; }
.cards.pics .card img.contain{ object-fit:contain; background:#fff8d6; }
.ex-cases{ grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.ex-cases a.noimg{ background:#fff8d6; border-color:#fff8d6; padding:22px 0 18px; justify-content:center; }
.ex-cases a.noimg:hover{ border-color:var(--ink); }
/* 字だけの実例は、となりの写真の高さに伸ばさない（伸ばすと、空の黄色い箱に見えた） */
.ex-cases a.noimg{ align-self:start; justify-content:flex-start; }
/* 実例が4つのときは2つずつ2段（11/21夜・行政・社協の方へ。3列だと1つだけ下の段に残った） */
.ex-cases.two{ grid-template-columns:1fr 1fr; }
@media (max-width:640px){ .ex-cases.two{ grid-template-columns:1fr; } }

/* ===== 11/20 見やすくする：残り11ページ（1回目＝とは・たかしまーじゃん・ご依頼。チャット「11/20 新しいPC 04」）===== */
/* 型B：写真と文の左右（段の頭の部分だけ）。.flip で写真を右に */
.split{ display:grid; grid-template-columns:minmax(220px,340px) 1fr; gap:16px 30px; align-items:start; margin:8px 0 14px; }
.split.flip{ grid-template-columns:1fr minmax(220px,340px); }
.split.flip > figure{ order:2; }
.split > figure{ margin:0; }
.split > figure img{ display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border:2px solid var(--thin); border-radius:20px; }
.split > figure img.contain{ object-fit:contain; background:#fff8d6; }
.split > div{ min-width:0; }
.split > div > :first-child{ margin-top:0; }
.split > div > :last-child{ margin-bottom:0; }
@media (max-width:760px){ .split, .split.flip{ grid-template-columns:1fr; } .split.flip > figure{ order:0; } .split > figure img{ aspect-ratio:16/10; } }
/* 三方よし：3つを丸に一言 */
ul.sanpo3{ list-style:none; padding:0 !important; margin:0; display:grid; gap:14px; }
ul.sanpo3 li{ display:grid; grid-template-columns:78px 1fr; gap:16px; align-items:center; margin:0; }
ul.sanpo3 b{ width:78px; height:78px; border-radius:50%; background:var(--yellow); border:3px solid var(--ink); display:grid; place-items:center; text-align:center; font-family:var(--round); font-size:16px; line-height:1.25; }
ul.sanpo3 span{ font-size:16px; line-height:1.7; }
.split.sanpo{ align-items:center; }

/* 型D：流れの図（番号の丸を横に並べて矢印でつなぐ・スマホは縦） */
ol.flowfig{ list-style:none; margin:16px 0 8px; padding:0 !important; display:grid; grid-template-columns:repeat(var(--n,4),minmax(0,1fr)); counter-reset:ff; }
ol.flowfig > li{ counter-increment:ff; position:relative; margin:0; padding:0 12px; display:flex; flex-direction:column; align-items:center; gap:6px; }
ol.flowfig > li::before{ content:counter(ff); flex:none; width:54px; height:54px; border-radius:50%; background:var(--sky); color:#fff; border:3px solid var(--ink); font-family:var(--round); font-weight:800; font-size:22px; display:grid; place-items:center; }
ol.flowfig > li + li::after{ content:"→"; position:absolute; top:10px; left:-.55em; font-family:var(--round); font-weight:800; font-size:26px; line-height:1; color:var(--ink); }
ol.flowfig b{ font-family:var(--round); font-size:17px; line-height:1.5; text-align:center; }
ol.flowfig span{ font-size:14px; line-height:1.75; color:#4b5560; }
@media (max-width:760px){
  ol.flowfig{ grid-template-columns:1fr; row-gap:30px; }
  ol.flowfig > li{ display:grid; grid-template-columns:54px 1fr; column-gap:14px; row-gap:2px; align-items:start; padding:0; }
  ol.flowfig > li::before{ grid-row:1 / span 2; }
  ol.flowfig b{ text-align:left; padding-top:12px; }
  ol.flowfig b, ol.flowfig span{ grid-column:2; }
  ol.flowfig > li + li::after{ content:"↓"; top:-26px; left:16px; font-size:22px; }
}
/* 流れの図の下の「たとえば」（ご依頼の1段目にあったもの） */
.flow-ex{ background:#f3f9ff; border-radius:20px; padding:12px 18px 16px; margin:14px 0 6px; }
.flow-ex .ex-head{ display:block; font-size:13px; font-weight:700; color:var(--ink); }
.flow-ex .ex{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:6px; }
.flow-ex .ex i{ font-style:normal; background:#fff8d6; border-radius:12px; padding:8px 12px; font-size:14px; color:var(--ink); }
.flow-ex .ex-go{ display:inline-block; margin-top:10px; font-weight:800; font-size:14px; color:var(--ink); }
@media (max-width:640px){ .flow-ex .ex{ grid-template-columns:1fr; } }

/* 型E：数と写真の帯（とはの実績） */
.numband{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:12px 0 8px; }
.numband > div{ background:#fff8d6; border-radius:22px; overflow:hidden; display:flex; flex-direction:column; }
.numband img{ display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.numband .when{ font-size:12px; font-weight:700; color:var(--sky-deep); padding:12px 18px 0; }
.numband b{ font-family:var(--round); font-size:42px; line-height:1.15; padding:0 18px; }
.numband b small{ font-size:16px; margin-left:3px; }
.numband p{ margin:4px 0 0; padding:0 18px 16px; font-size:14px; color:#4b5560; line-height:1.7; }
@media (max-width:760px){ .numband{ grid-template-columns:1fr; } }

/* たかしまーじゃんのいいところ：4つに写真 */
.tool .points-pic{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0 0 14px; }
.tool .points-pic figure{ margin:0; border:2px solid var(--thin); border-radius:20px; overflow:hidden; background:#fff; }
.tool .points-pic img{ display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.tool .points-pic img.contain{ object-fit:contain; background:#fff8d6; }
.tool .points-pic figcaption{ padding:10px 14px 14px; font-family:var(--round); font-weight:800; font-size:16px; line-height:1.5; }
.tool .points-pic figcaption span{ display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--yellow); border:2px solid var(--ink); font-size:14px; margin-right:8px; vertical-align:1px; }
@media (max-width:900px){ .tool .points-pic{ grid-template-columns:1fr 1fr; } }

/* ===== 11/20 見やすくする：残り8ページ（2回目。チャット「11/20 新しいPC 04」）===== */
/* 頭に移した1行目（たかしまーじゃん・伴走） */
.page-head p.lead{ font-family:var(--round); font-weight:800; font-size:18px; line-height:1.6; color:var(--ink); }
/* 型F：たたむ（「くわしく読む」で開く） */
details.fold{ margin:6px 0 14px; }
details.fold > summary{ cursor:pointer; list-style:none; display:inline-flex; align-items:center; gap:8px; padding:7px 18px; border:2px solid var(--ink); border-radius:999px; background:#fff; font-family:var(--round); font-weight:800; font-size:14px; color:var(--ink); }
details.fold > summary::-webkit-details-marker{ display:none; }
details.fold > summary::after{ content:"▼"; font-size:10px; }
details.fold[open] > summary{ background:#fff8d6; }
details.fold[open] > summary::after{ content:"▲"; }
details.fold > summary:hover{ background:#fff8d6; }
details.fold[open]{ border-left:3px solid var(--yellow); padding-left:16px; }
details.fold[open] > summary{ margin-left:-19px; margin-bottom:12px; }
/* 流れの図：太字の題がない段（伴走の使い方） */
ol.flowfig.plain span{ color:var(--ink); font-size:15px; }
/* 3つを横に（道具の「使ってみたら」） */
.trio{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.trio > div{ background:#fff8d6; border-radius:22px; padding:16px 18px; }
.trio h3{ margin-top:0; }
.trio p{ margin:0; font-size:15px; }
@media (max-width:760px){ .trio{ grid-template-columns:1fr; } }
/* 伴走「こんなときに」：4つを札に（？の丸つき） */
.tool ul.worries.qs{ list-style:none; padding:0; margin:0 0 14px; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tool ul.worries.qs li{ margin:0; display:grid; grid-template-columns:34px 1fr; gap:10px; align-items:center; background:#f3f9ff; border-radius:16px; padding:12px 14px; font-weight:700; line-height:1.6; }
.tool ul.worries.qs li::before{ content:"？"; width:34px; height:34px; border-radius:50%; background:var(--yellow); border:2px solid var(--ink); display:grid; place-items:center; font-family:var(--round); font-weight:800; }
@media (max-width:640px){ .tool ul.worries.qs{ grid-template-columns:1fr; } }
/* 各地の会：入れ子の図（本体の中に、町と、あなたの会） */
.nest{ background:#e3f4ff; border:3px solid var(--ink); border-radius:28px; padding:20px 22px 22px; }
.nest .lv{ display:inline-block; font-family:var(--round); font-weight:800; font-size:13px; background:var(--ink); color:#fff; border-radius:999px; padding:2px 12px; }
.nest .name{ font-family:var(--round); font-weight:800; font-size:20px; margin:6px 0 4px; }
.nest p{ margin:0 0 8px; font-size:15px; }
.nest-in{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:12px; }
.nest-in > div{ background:#fff; border:2px solid var(--thin); border-radius:22px; padding:16px 18px; }
.nest-in > div.empty{ border:2px dashed #9fb0bb; background:#fffdf3; }
.nest-in .name{ font-size:18px; }
@media (max-width:760px){ .nest{ padding:16px 14px 16px; } .nest-in{ grid-template-columns:1fr; } }
/* 決まり4つ：しるしつき */
.rules.marks li{ position:relative; padding-left:58px; }
.rules.marks li::before{ content:"✓"; position:absolute; left:14px; top:14px; width:32px; height:32px; border-radius:50%; background:var(--sky); color:#fff; border:2px solid var(--ink); display:grid; place-items:center; font-weight:800; font-size:16px; }
/* 事例集：写真1枚＋数3つ */
.case-top{ display:grid; grid-template-columns:minmax(200px,300px) 1fr; gap:14px 20px; align-items:stretch; margin:10px 0 12px; }
.case-top img{ display:block; width:100%; height:100%; min-height:150px; aspect-ratio:4/3; object-fit:cover; border-radius:18px; }
.case-top.noimg{ grid-template-columns:1fr; }
.facts{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; align-content:center; }
.facts > div{ background:#fff8d6; border-radius:18px; padding:12px 14px; text-align:center; }
.facts span{ display:block; font-size:12px; font-weight:700; color:var(--sky-deep); }
.facts b{ display:block; font-family:var(--round); font-size:22px; line-height:1.3; }
.facts b small{ font-size:13px; }
@media (max-width:760px){ .case-top{ grid-template-columns:1fr; } .case-top img{ height:auto; aspect-ratio:16/10; } .facts b{ font-size:18px; } .facts > div{ padding:10px 8px; } }
/* 実績：一覧の行に、ある分だけ小さい写真 */
.log.thumbs li{ grid-template-columns:130px 1fr 104px; align-items:center; }
.log.thumbs li img{ grid-column:3; grid-row:1; width:104px; aspect-ratio:4/3; object-fit:cover; border-radius:12px; display:block; }
.log.thumbs li img.contain{ object-fit:contain; background:#fff8d6; }
@media (max-width:640px){ .log.thumbs li{ grid-template-columns:1fr 84px; } .log.thumbs li img{ grid-column:2; grid-row:1 / span 2; width:84px; } }
/* こーせんについて：数の帯（加入率）と、写真つきの「こんな方と」 */
.stat{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 14px; background:#fff8d6; border-radius:22px; padding:14px 20px; margin:4px 0 14px; }
.stat b{ font-family:var(--round); font-size:40px; line-height:1.1; }
.stat b small{ font-size:16px; }
.stat i{ font-style:normal; font-family:var(--round); font-weight:800; font-size:26px; }
.stat span{ flex-basis:100%; font-size:13px; font-weight:700; color:#4b5560; }
.who-rows{ display:grid; gap:14px; }
.who-rows > div{ display:grid; grid-template-columns:150px 1fr; gap:16px; align-items:center; }
.who-rows img{ display:block; width:150px; aspect-ratio:4/3; object-fit:cover; border-radius:16px; }
.who-rows b{ display:block; font-family:var(--round); font-size:16px; margin-bottom:4px; }
.who-rows p{ margin:0; font-size:15px; }
@media (max-width:640px){ .who-rows > div{ grid-template-columns:96px 1fr; align-items:start; } .who-rows img{ width:96px; } }
/* 4枚の箱が「3つ＋1つ」に割れないように：ちょうど4枚のカードは4つ並び（狭いと2×2）。伴走の4つの場面・決まり4つは2×2 */
@media (min-width:900px){ .cards:has(> .card:nth-child(4):last-child){ grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (min-width:561px) and (max-width:899px){ .cards:has(> .card:nth-child(4):last-child){ grid-template-columns:1fr 1fr; } }
@media (min-width:641px){ .tool .scenes{ grid-template-columns:1fr 1fr; } .rules.marks{ grid-template-columns:1fr 1fr; } }
.card .chara-tile{ overflow:hidden; }
.cards:not(.pics) .card .chara-tile{ aspect-ratio:4/3; }
/* スマホ：写真がない行の字が、写真の細い列に入らないように／事例集の数を少し小さく */
@media (max-width:640px){ .log.thumbs li > span{ grid-column:1; } .facts b{ font-size:16px; } }
@media (max-width:640px){ .log.thumbs li:not(:has(img)){ grid-template-columns:1fr; } }

/* ===== 11/20夜 段ごとの絵（重いの200・チャット「11/20 新しいPC 06」）=====
   トップの段に1体ずつ、その段の中身をしているキャラの絵（Geminiで描いて白を抜いたもの）。今の飾りのキャラは入れかえて重ねない。
   トップだけに出す：最初の箱は main:has(#torikumi)（ご依頼のページにも .hero があるため）、参加する・受け取るは main > #sanka／main > #uketoru（下のページでは </main> の外に出る）。
   この段を消せば、前の飾り（ブッダ・赤鬼・地蔵・参加するの札のキャラなし・受け取るの青鬼なし）に戻る。1体だけ外すときは、その行を消す。 */
/* 1 最初の画面：ブッダ（両手を広げて「ようこそ」） */
main:has(#torikumi) .hero .grid::after{ width:150px; height:173px; right:-22px; bottom:-24px; background-image:url(/images/asobi/sec-hero-buddha.png); }
/* 2 だれへ：地蔵（芽の出た鉢を差し出す）。広い画面は箱の右に、狭い画面はボタンの右（最初の箱のブッダと縦に並ばないように） */
.section.whom > .wrap::after{ content:""; position:absolute; right:12px; bottom:20px; width:76px; height:99px; background:url(/images/asobi/sec-dare-jizo.png) no-repeat center bottom/contain; pointer-events:none; }
@media (max-width:899px){ .section.whom .sec-head .btns{ margin-right:80px; } }
@media (min-width:900px){
  .section.whom .sec-head{ padding-right:230px; }
  .section.whom > .wrap::after{ right:60px; top:50%; bottom:auto; width:190px; height:247px; margin-top:-124px; }
}
/* 3 入口：布袋（字のない道しるべの横で「こちらへ」） */
#iriguchi > .wrap::after{ content:""; position:absolute; right:48px; top:-22px; width:150px; height:151px; background:url(/images/asobi/sec-iriguchi-hotei.png) no-repeat center bottom/contain; pointer-events:none; }
/* 4 取り組み：赤鬼（道具の箱を抱えて運ぶ）＝前の「顔を出す赤鬼」と入れかえ */
#torikumi > .wrap::after{ right:44px; top:-86px; width:104px; height:164px; background-image:url(/images/asobi/sec-torikumi-akaoni.png); }
/* 5 お知らせ：弁財天（字のない巻物を広げる）＝前の左の欄の地蔵と入れかえ */
@media (min-width:900px){
  #news .sec-head{ padding-bottom:182px; background-image:url(/images/asobi/sec-news-benzaiten.png); background-size:auto 170px; }
}
/* 6 参加する（トップだけ）：黄鬼（手を挙げて「はーい」） */
main > #sanka > .wrap::after{ content:""; position:absolute; right:52px; top:-62px; width:112px; height:160px; background:url(/images/asobi/sec-sanka-kioni.png) no-repeat center bottom/contain; pointer-events:none; }
/* 7 受け取る（トップだけ）：青鬼（封筒を胸に抱く）＝11/19に外した、箱の左下の場所 */
main > #uketoru .receive > div:last-child::after{ display:block; content:""; position:absolute; left:-104px; bottom:-12px; width:100px; height:154px; background:url(/images/asobi/sec-uketoru-aooni.png) no-repeat left bottom/contain; pointer-events:none; }
@media (max-width:760px){
  main:has(#torikumi) .hero .grid::after{ width:96px; height:110px; right:-6px; bottom:-14px; }
  #iriguchi > .wrap::after{ right:12px; top:12px; width:72px; height:73px; }
  #torikumi > .wrap::after{ right:18px; top:-64px; width:70px; height:110px; }
  main > #sanka > .wrap::after{ right:16px; top:-50px; width:76px; height:108px; }
  main > #uketoru .receive > div:last-child::after{ left:-10px; bottom:-52px; width:52px; height:80px; }
}

/* 11/24 スマホのお知らせ：日付が1字ずつ縦に折れていた（右の「›」が2列目を作り、日付の列が細くなっていた）。
   日付と題を左の列に縦に並べ、「›」は右の列で上下の真ん中に（重いの217・決めるだけシートの「決めなくてよいもの」） */
@media (max-width:640px){
  .news a{ grid-template-columns:1fr auto; }
  .news a > span{ grid-column:1; }
  .news a::after{ grid-column:2; grid-row:1 / span 2; align-self:center; margin-top:0; }
}

/* ===== 11/28 雲（重いの255・チャット＝11/28夜・「11/28 外出用③」から渡された、絵と雲のチャット（Fable））=====
   本人「この雲も見切れてるの直してほしいし、もうちょっといくつかちりばめてほしい」。
   前の雲（cloud.png）は、絵そのものが上・下・右でまっすぐ切れていた（名刺の裏から小さく切り出したもの。上は名刺の端で平ら）うえ、白い箱のうしろに下半分がかくれる置き方だった。
   今：名刺の裏の雲を、切れていない形に起こし直した2枚（cloud-a.png＝頭が右／cloud-b.png＝左右を返したもの・720×281）を、空の見えるところにだけ置く。
   字・ボタン・写真・キャラ・白い箱に重ねない。画面の端でも切らない。大きさと向きを少しずつ変える。
   この段を消せば、前の雲（箱の右上のうしろから出る1つ）に戻る。作った道具＝点検の道具/kumo_tsukuru.py */
.hero::before{ display:none; }   /* 前の雲は出さない（下で、置き場所ごとに出し直す） */

/* 1 上の帯（.hero のあるページ＝トップとご依頼）：ロゴの右の空に大きい雲。広い画面（1040px〜）は少し上に上げて、メニューの右にも小さい雲
   （狭い画面で上げると、右上の「全国｜高島」に重なるので、上げるのは1040pxから） */
@media (min-width:761px){
  body:has(.hero) .hdr-wrap::before{ content:""; position:absolute; inset:0; pointer-events:none;
    background:url(/images/asobi/cloud-a.png) no-repeat calc(50% + 170px) 4px / 190px auto; }
}
@media (min-width:1040px){
  body:has(.hero) .hdr-wrap::before{ inset:-36px 0 0 0; background:
    url(/images/asobi/cloud-a.png) no-repeat calc(50% + 230px) 12px / 218px auto,
    url(/images/asobi/cloud-b.png) no-repeat calc(50% + min(440px, 50% - 16px)) 134px / 120px auto; }
}
/* 2 スマホ：メニューと最初の箱のあいだを雲の分だけ空けて、右に雲、左に小さい雲 */
@media (max-width:760px){
  .hero{ padding-top:48px; }
  .hero::before{ display:block; left:0; right:0; top:-10px; width:auto; height:52px;
    background:url(/images/asobi/cloud-a.png) no-repeat right 16px top 0 / 112px auto,
               url(/images/asobi/cloud-b.png) no-repeat left 26px bottom 0 / 62px auto; }
}
/* 3 段のあいだ（トップだけ・1280pxより狭い画面）：入口の上の左、お知らせの上の右。あいだを雲の分だけ空ける */
@media (max-width:1279px){
  main > #iriguchi, main > #news{ position:relative; padding-top:78px; }
  main > #iriguchi::before, main > #news::before{ content:""; position:absolute; top:12px; width:150px; aspect-ratio:720/281; background:url(/images/asobi/cloud-a.png) no-repeat center/contain; pointer-events:none; }
  main > #iriguchi::before{ left:7%; }
  main > #news::before{ right:8%; top:16px; width:132px; background-image:url(/images/asobi/cloud-b.png); }
}
@media (max-width:760px){
  main > #iriguchi, main > #news{ padding-top:60px; }
  main > #iriguchi::before{ left:22px; top:10px; width:108px; }
  main > #news::before{ right:26px; top:14px; width:94px; }
}
/* 4 広い画面（1280px〜・トップだけ）：白い箱の左右の空に小さい雲を4つ（左・右・左・右）。空の幅に合わせて大きさが変わる */
@media (min-width:1280px){
  main:has(#torikumi) > .section.whom, main > #torikumi, main > #news{ position:relative; }
  main:has(#torikumi) > .hero::before, main:has(#torikumi) > .section.whom::before, main > #torikumi::before, main > #news::before{
    content:""; display:block; position:absolute; pointer-events:none;
    --m:calc((100% - var(--maxw) + 40px) / 2); --cw:clamp(88px, calc(var(--m) - 40px), 190px);
    width:var(--cw); height:auto; aspect-ratio:720/281; background:url(/images/asobi/cloud-b.png) no-repeat center/contain; }
  main:has(#torikumi) > .hero::before{ left:calc((var(--m) - var(--cw)) / 2); right:auto; top:300px; }
  main:has(#torikumi) > .section.whom::before{ right:calc((var(--m) - var(--cw)) / 2); top:120px; background-image:url(/images/asobi/cloud-a.png); }
  main > #torikumi::before{ left:calc((var(--m) - var(--cw)) / 2); top:36%; background-image:url(/images/asobi/cloud-a.png); }
  main > #news::before{ right:calc((var(--m) - var(--cw)) / 2); top:44%; }
}
/* 5 黄色い段（受け取る）の丘の上の空に1つ（トップだけ）。あいだを雲の分だけ空ける */
main > #uketoru{ position:relative; margin-top:66px; }
main > #uketoru::before{ content:""; position:absolute; left:max(18px, calc(50% - 500px)); top:-70px; width:150px; aspect-ratio:720/281; background:url(/images/asobi/cloud-a.png) no-repeat center/contain; pointer-events:none; }
@media (max-width:760px){
  main > #uketoru{ margin-top:54px; }
  main > #uketoru::before{ left:18px; top:-56px; width:104px; }
}

/* ===== 11/28 最初の画面のブッダの絵を描き直した（重いの254・チャット＝11/28夜・「11/28 外出用③」から渡された、絵と雲のチャット（Fable））=====
   本人「これの頭身がおかしいから直してほしい」。前の絵（11/20）は、頭が全体の約6割で体がとても小さかった（約1.6頭身）。
   今：10/18に通った立ち絵（ブッダ_正面立ち_手を振る・約2.1頭身）を土台に、両手を広げたポーズで描き直した絵（sec-hero-buddha.png を同じ名前で入れかえ）。
   体が長くなった分、顔の大きさが前と同じくらいに見えるように、置く箱を少し高くした。前の絵と大きさは 控え_絵と雲の前（2026年11月28日）/ に */
main:has(#torikumi) .hero .grid::after{ width:160px; height:200px; right:-22px; bottom:-28px; }
@media (min-width:1280px){ main:has(#torikumi) .hero .grid::after{ right:-38px; } }   /* 左右の空が広い画面は、写真の角にかかりすぎないように少し右へ */
@media (max-width:760px){
  main:has(#torikumi) .hero .grid::after{ width:98px; height:122px; right:-6px; bottom:-14px; }
}

/* ===== 11/28 タブレットくらいの幅（761〜1095px）で、ページが横にはみ出すのを直した（本人「直して」・チャット＝11/28夜・「11/28 外出用③」から渡された、絵と雲のチャット（Fable））=====
   白い箱が画面いっぱいになる幅で、最初の箱のブッダの絵が箱の右へ出て、ページが横に動いていた（トップ19px・ご依頼11px。11/20より前から）。
   → 箱の左右の空が狭いあいだは、絵を内側へ寄せる＝絵の右端は、画面の端から9px内側。空が広くなったら、今までどおり（トップ right:-22px・ご依頼 right:-14px）。
   式の中の 100% は白い箱の幅・100vw は画面の幅。スクロールの帯（約17px）のあるパソコンでも、はみ出さない。
   この段を消せば、前の形に戻る。 */
@media (min-width:761px) and (max-width:1279px){
  .hero .grid::after{ right:max(-14px, calc(9px + (100% - 100vw) / 2)); }
  main:has(#torikumi) .hero .grid::after{ right:max(-22px, calc(9px + (100% - 100vw) / 2)); }
}

/* ===== 11/29 ロゴの白い箱の上が切れて見えるのを直した（本人「ここも上が見切れてるの直して」・チャット＝11/28夜・「11/28 外出用③」から渡された、絵と雲のチャット（Fable））=====
   前：箱は、上からぶら下がる形（上の線なし・上の角が四角）。でも、その上に「全国｜高島」の帯があるので、空の途中で切れて見えていた。
   今：上にも線と丸みをつけて、閉じた箱にした。箱の外の大きさと場所は前と同じ（上の線の3pxぶん、中の空きを減らした）＝パソコンでは、メニュー・雲・下の箱は動かない。
   スマホだけ、右上の「全国｜高島」と近すぎるので、箱を7px下げた（その下も7px下がる）。
   下に送ったときの細い帯（.is-stuck）は、画面の上の端からぶら下がる形のまま（変えていない）。
   この段を消せば、前の形に戻る。 */
.site-header:not(.is-stuck) .logo{ border-top:3px solid var(--ink); border-radius:34px; padding-top:13px; padding-bottom:12px; }
@media (max-width:760px){
  .site-header:not(.is-stuck) .logo{ border-radius:28px; padding-top:11px; padding-bottom:10px; margin-top:4px; }
}

/* ===== 11/29 下に送ったときの細い帯：幅761〜860pxで、右の「参加する」のボタンが画面から出ていたのを直した（重いの257）。
   この幅のときだけ、ロゴを少し小さくして「全国」の印を外し、メニューの字のあいだを詰める。この段を消せば、前の形に戻る。 ===== */
@media (min-width:761px) and (max-width:860px){
  .site-header.is-stuck > .wrap{ gap:8px; padding-left:10px; padding-right:10px; }
  .site-header.is-stuck .logo{ padding:5px 10px 6px; }
  .site-header.is-stuck .logo img{ width:118px; }
  .site-header.is-stuck .logo .zenkoku{ display:none; }
  .site-header.is-stuck .nav{ gap:2px; }
  .site-header.is-stuck .nav a:not(.cta){ padding:6px 5px; font-size:13px; }
  .site-header.is-stuck .nav a.cta{ padding:6px 11px; font-size:13px; }
}
