/* 縦書き本文（創作寄席・風待ち書斎・湯と歴史）。tategaki.js が .tate を付ける */
.tate-hint{font-size:.8rem;letter-spacing:.12em;color:var(--sumi-soft);margin:0 0 10px;max-width:none;display:flex;align-items:center;gap:8px}
.tate-hint::before{content:"←";color:var(--enji)}
.tate{
  writing-mode:vertical-rl;-webkit-writing-mode:vertical-rl;text-orientation:mixed;
  height:min(74vh,38em);min-height:300px;width:100%;max-width:100%;
  overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
  font-family:var(--f-display);font-size:1.06rem;line-height:2;
  padding:1.1em .4em;border-block:1px solid var(--line);
  scrollbar-width:thin;scrollbar-color:var(--line) transparent;
}
.tate:focus-visible{outline:2px solid var(--enji);outline-offset:4px}
.tate *{max-width:none}
.tate p{margin:0;margin-block-end:.5em;max-width:none;font-family:inherit;font-size:inherit;line-height:inherit}
.tate h2{margin:0;margin-block:1.4em .9em;font-size:1.22rem;letter-spacing:.12em;line-height:1.6}
.tate h2:first-child{margin-block-start:0}
.tate ruby rt{font-size:.5em}
.tate .tcy{text-combine-upright:all;-webkit-text-combine:horizontal}

/* 寄席 */
.tate.rk{line-height:2}
.tate.rk p{margin:0;margin-block-end:0}
.tate.rk p.q{padding:0;padding-inline-start:1em;text-indent:-1em}
.tate.rk p.gap{margin-block-start:0}
.tate.rk p.end{margin:0;border:0;padding:0}
details.past .tate.rk{padding-top:1.1em;margin-top:14px}

/* 風待ち書斎 */
.nv .tate.tx p{margin:0;margin-block-end:0;text-indent:1em;font-size:inherit;line-height:2}
.nv .tate.tx p.dl,.nv .tate.tx p.loc{text-indent:0}
.nv .tate.tx p.loc{margin:0;margin-block:0 1em;padding-block-start:0;font-family:var(--f-body);font-size:.84rem;letter-spacing:.2em;color:var(--enji)}
.nv .tate.tx p:not(:first-child).loc{margin-block-start:1.8em}
.nv .tate.tx p.sb{margin:0;margin-block:0;text-indent:0;text-align:center}

/* 湯と歴史 */
.article:has(>.tate){max-width:none}
.article .tate{margin:4px 0 30px}
.article .tate p{text-indent:1em;margin-block-end:.3em}

/* PCのみ：創作寄席・風待ち書斎の本文は、開いた手の平でつかんでページ送り */
@media (hover:hover) and (pointer:fine){
  .tate.rk,.nv .tate.tx{cursor:grab}
  .tate.rk.grabbing,.nv .tate.tx.grabbing{cursor:grabbing;user-select:none;-webkit-user-select:none}
  .tate.rk a,.nv .tate.tx a,.tate.rk button,.nv .tate.tx button{cursor:pointer}
}

@media (max-width:680px){
  .tate{height:min(70vh,32em);font-size:1rem;line-height:1.95}
  .tate.rk,.nv .tate.tx p{line-height:1.9}
}

/* 全体は中央960px、縦書きの箇所だけ画面いっぱい（2026-10-13） */
@media (min-width:1000px){
  .wrap .stage,.wrap article.nv{margin-left:calc(50% - 50vw + 20px)!important;margin-right:calc(50% - 50vw + 20px)!important;max-width:none!important;width:auto!important}
  .wrap .article>.tate,.wrap .article>.tate-hint,.wrap details.past .tate,.wrap details.past .tate-hint{width:calc(100vw - 40px)!important;max-width:none!important;margin-left:calc(50% - 50vw + 20px)!important;margin-right:0!important}
}
