/* site.css — Open Coral Network の d3「夕方の写真」を 22 ページに広げるための部品。style.css の後に読む。
 * style.css（d3）は変えない。d3 の不具合の直しも、ここで上書きする。新しい色は --tint だけ。
 * 中身: 0 d3 の直し / 1 ヘッダーとメニュー / 2 フッター / 3 ページの頭 / 4 文の列 / 5 大きな行 / 6 数 / 7 情報の並び /
 *       8 表 / 10 囲みと印 / 11 書類 / 12 記事 / 13 写真の行と前後 / 14 終わりの帯 / 15 フォーム / 16 サイトで足したもの / 印刷
 */

:root { --tint: #e3e1dc; }

/* 0. fixes for d3 itself */
[hidden] { display: none !important; }            /* .form{display:flex} beat the hidden attribute */
.done { grid-column: 6 / span 6; align-self: start; } /* the done box had no grid column */
.hero { background: #2a2826; }                     /* white text stays readable if the photo fails */
.h2-lg { font-size: 32px; line-height: 1.35; letter-spacing: -0.005em; } /* replaces #meetup-title */

/* 1. header and nav on every page */
.mark { white-space: nowrap; }
.nav a[aria-current] { text-decoration: underline; }
.nav .menu-btn,
.menu-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  border: 0; background: none; color: inherit;
  font: inherit; font-size: 15px; letter-spacing: 0.06em; text-decoration: none; cursor: pointer;
}
.menu-btn:hover { text-decoration: underline; }
.page-plain .topbar .menu-btn { text-shadow: none; }

.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow-y: auto;
  background: var(--ground); color: var(--ink);
}
.menu::backdrop { background: rgba(var(--shade), .4); }
html:has(.menu[open]) { overflow: hidden; }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); }
.menu-top { position: sticky; top: 0; z-index: 1; background: var(--ground); }   /* the dialog scrolls; 閉じる stays in view */
.menu-top .mark { color: var(--ink); }
.menu .menu-close { display: inline-flex; }
.menu-body { display: grid; gap: 32px; padding: 16px var(--gutter) 40px; }
.menu-k { font-size: 15px; line-height: 1.6; color: var(--ink2); margin-bottom: 8px; }
.menu ul { border-top: 1px solid var(--rule); }
.menu li a {
  display: flex; align-items: center; min-height: 56px; padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 18px; font-weight: 500; line-height: 1.5; text-decoration: none;
}
.menu li a:hover,
.menu li a[aria-current="page"] { text-decoration: underline; }
.menu-foot { padding: 0 var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
.menu-foot .btn { width: 100%; }
.menu :focus-visible { outline-color: var(--ink); }
@media (max-width: 1023px) { .nav .nav-l { display: none; } }        /* 団体について */
@media (max-width: 760px)  { .nav .nav-join { display: none; } }     /* 参加登録（d3 の style.css が .nav-x を隠す） */
@media (min-width: 761px) {
  .menu-body { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .menu-foot .btn { width: auto; }
}

/* 2. footer for 18 pages (d3 .foot + three link groups) */
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
.foot-org { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.7; color: var(--ink2); }
.foot .foot-nav { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-k { font-size: 14px; line-height: 1.7; color: var(--ink2); margin-bottom: 4px; }
.foot .foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.5; color: var(--ink); text-decoration: none; }
.foot .foot-nav a:hover,
.foot .foot-nav a[aria-current="page"] { text-decoration: underline; }
.foot-org a { color: var(--ink2); }
@media (max-width: 1023px) {
  .foot-org,
  .foot .foot-nav { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .foot .foot-nav { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .foot-nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
}

/* 3. page head on paper (pages without the photo hero) */
.phead { padding-top: 96px; }
.phead .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.phead-up { font-size: 15px; line-height: 1.6; color: var(--ink2); }
.phead-up a { display: inline-block; padding-block: 11px; margin-block: -11px; }   /* 44px to tap; the line does not move */
.phead h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; max-width: 24em; }
.phead-lead { font-size: 19px; line-height: 1.95; max-width: 36em; }
.phead-meta { font-size: 14px; line-height: 1.6; color: var(--ink2); letter-spacing: 0.04em; }
.phead-photo { align-self: stretch; margin-top: 20px; }
.phead-photo .photo { aspect-ratio: 21 / 9; }
.phead + .sec { padding-top: 112px; }

/* 3b. photo hero for a subpage (optional; shorter than the top page) */
.hero-sub { min-height: 560px; min-height: clamp(460px, 68svh, 720px); }
.hero-sub h1 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.35; }
.hero-sub .hero-up { font-size: 15px; color: #f3f1ec; letter-spacing: 0.04em; }
.hero-sub .hero-up a { color: #f3f1ec; }

/* 4. text inside the content column */
.flow { max-width: 36em; }
.flow > * + * { margin-top: 1.1em; }
.flow h3 { font-size: 20px; font-weight: 600; line-height: 1.55; margin-top: 48px; }
.flow h3 + * { margin-top: 12px; }
.flow > :first-child { margin-top: 0; }
.dots li { position: relative; padding-left: 1em; }
.dots li::before { content: '・'; position: absolute; left: 0; }
.dots li + li { margin-top: 6px; }
.more { display: inline-block; padding: 7px 0; }   /* 44px high */
.more .arw { display: inline-block; margin-left: 8px; font-family: 'Geist', sans-serif; } /* inline-block: the link underline stops before the arrow */
.body > .more,
.body > .btn { margin-top: 28px; }

/* 5. big lines (generalised from .promise li) */
.lines { border-top: 1px solid var(--rule); }
.lines li { font-size: 24px; line-height: 1.7; font-weight: 500; letter-spacing: 0.01em; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.lines .n { display: block; font-family: 'Geist', sans-serif; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--ink2); letter-spacing: 0.04em; }
.lines.sm li { font-size: 20px; padding: 18px 0; }
.lines li small { display: block; margin-top: 4px; font-size: 16px; font-weight: 400; line-height: 1.8; color: var(--ink2); }
.lines li > a { display: inline-block; padding-block: 11px; margin-block: -11px; }

/* 6. numbers */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--rule); }
.stats > div { display: flex; flex-direction: column; gap: 4px; padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
.stats dt { font-size: 15px; line-height: 1.6; color: var(--ink2); }
.stats dd { margin-top: auto; font-size: 17px; font-weight: 500; line-height: 1.4; }   /* numbers in a row share a baseline when a label wraps */
.stats .num { font-family: 'Geist', sans-serif; font-size: 44px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; margin-right: 4px; }
@media (min-width: 1024px) { .stats.x4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 7. facts list: d3 .details with a wider label */
.details.wide div { grid-template-columns: 9em minmax(0, 1fr); }   /* 9em: 「アプリケーション・」 (15px) fits the label column */
.details dd small { display: block; font-size: 15px; font-weight: 400; color: var(--ink2); }

/* 8. tables */
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.7; }
.table caption { text-align: left; padding-bottom: 16px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.table caption span { display: block; font-size: 14px; font-weight: 400; color: var(--ink2); letter-spacing: 0.04em; }
.table th,
.table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; font-weight: 400; }
.table thead th { padding-top: 0; font-size: 15px; color: var(--ink2); border-bottom-color: var(--ink2); }
.table .n { padding-right: 0; text-align: right; white-space: nowrap; font-family: 'Geist', 'Murecho', sans-serif; font-variant-numeric: tabular-nums; }
.table .grp th { padding-top: 28px; font-size: 15px; font-weight: 500; color: var(--ink2); }
.table .sub th { padding-left: 1em; }
.table .tot th,
.table .tot td { font-weight: 600; border-top: 1px solid var(--ink); }
.table .grand th,
.table .grand td { font-weight: 600; border-top: 2px solid var(--ink); }

/* 10. boxes and marks */
.box { padding: 24px 28px; background: #fff; border: 1px solid var(--rule); border-radius: 2px; }
.box-t { font-size: 18px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.box p { font-size: 16px; line-height: 1.8; color: var(--ink2); }
.box p + p { margin-top: 8px; }
.tag { display: inline-block; margin: 0 4px; padding: 0 6px; border: 1px solid var(--ink); border-radius: 2px; font-size: 14px; font-weight: 500; line-height: 1.6; letter-spacing: 0.04em; vertical-align: 0.15em; white-space: nowrap; }
.tag-dash { border-style: dashed; }
.rv { text-decoration: underline dotted 1px; text-underline-offset: 5px; }
.src { margin-left: 2px; font-family: 'Geist', 'Murecho', sans-serif; font-size: 14px; line-height: 1; vertical-align: 0.4em; text-decoration: none; }
.src { display: inline-block; padding: 10px 6px; margin: -10px -4px; }   /* bigger tap area; the text stays where it was */
.src:hover { text-decoration: underline; }

/* 11. documents */
.docs { border-top: 1px solid var(--rule); }
.docs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.docs h3 { font-size: 18px; font-weight: 500; line-height: 1.6; }
.docs .small { font-size: 15px; }
.docs a { white-space: nowrap; display: inline-block; padding-block: 11px; margin-block: -11px; }

/* 12. article: table of contents in the label column, prose in the content column */
.split > .toc { grid-column: 1 / span 3; position: sticky; top: 24px; align-self: start; }
.toc ol { margin-top: 12px; border-top: 1px solid var(--rule); }
.toc a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.6; color: var(--ink2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: none; }   /* h2 rules run to the end of the column, like the lists after the article */
.prose > :is(p, ul, ol, h3, blockquote, .box) { max-width: 36em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 22px; font-weight: 600; line-height: 1.5; letter-spacing: 0.01em; }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 40px; font-size: 19px; font-weight: 600; line-height: 1.6; }
.prose h2 + *,
.prose h3 + * { margin-top: 12px; }
.prose ul li { position: relative; padding-left: 1em; }
.prose ul li::before { content: '・'; position: absolute; left: 0; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 1.8em; }
.prose ol li::before { content: counter(n) '.'; position: absolute; left: 0; font-family: 'Geist', sans-serif; color: var(--ink2); }
.prose li + li { margin-top: 6px; }
.prose blockquote { margin: 40px 0; padding-left: 20px; border-left: 2px solid var(--ink); font-size: 19px; line-height: 1.95; }
.prose figure { margin: 48px 0; }
.prose strong { font-weight: 600; }

/* 13. article rows (reuses .act) and the pager */
.act-meta { margin-bottom: 8px; font-size: 15px; line-height: 1.6; color: var(--ink2); letter-spacing: 0.04em; }
.act h3 a { text-decoration: none; }
.act h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.act-text .more { margin-top: 12px; }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pager a { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 24px 0; text-decoration: none; }
.pager a[rel="next"] { grid-column: 2; align-items: flex-end; text-align: right; padding: 24px 0 24px 24px; border-left: 1px solid var(--rule); }
.pager-k { font-size: 15px; line-height: 1.6; color: var(--ink2); }
.pager-t { font-size: 20px; font-weight: 600; line-height: 1.55; }
.pager a:hover .pager-t { text-decoration: underline; text-decoration-thickness: 1px; }

/* 14. end band on subpages (same paper band as the sign-up) */
.end-body { grid-column: 6 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* 15. form parts d3 does not have */
.field textarea {
  font: inherit; font-size: 17px; line-height: 1.8;
  min-height: 168px; padding: 12px 16px; resize: vertical;
  border: 1px solid var(--field); border-radius: 2px; background: #fff; color: var(--ink);
}
.field textarea[aria-invalid="true"] { border: 2px solid var(--error); padding: 11px 15px; }
.help { font-size: 15px; line-height: 1.7; color: var(--ink2); }
fieldset.field[aria-invalid="true"] .opt { border-color: var(--error); }

/* tablet */
@media (min-width: 761px) and (max-width: 1023px) {
  .done,
  .end-body { grid-column: 6 / span 7; }
}

/* phone */
@media (max-width: 760px) {
  .phead { padding-top: 48px; }
  .phead .wrap { gap: 16px; }
  .phead-lead { font-size: 17px; }
  .phead-photo .photo { aspect-ratio: 3 / 2; }
  .phead + .sec { padding-top: 72px; }
  .hero-sub { min-height: 520px; min-height: clamp(440px, 72svh, 640px); }
  .hero-sub h1 { font-size: min(30px, 7.8vw); }
  .h2-lg { font-size: 26px; }
  .done,
  .end-body { grid-column: 1 / -1; }
  .end-body .btn { width: 100%; }
  .lines li { font-size: 19px; padding: 18px 0; }
  .lines.sm li { font-size: 17px; }
  .stats .num { font-size: 36px; }
  .box { padding: 20px; }
  .docs li { grid-template-columns: minmax(0, 1fr); }
  .split > .toc { display: none; }
  .prose h2 { margin-top: 56px; font-size: 20px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager a[rel="next"] { grid-column: 1; align-items: flex-start; text-align: left; padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .pager a[rel="prev"] { padding-right: 0; }
  .pager-t { font-size: 18px; }
}
@media (min-width: 761px) and (max-width: 1023px) {
  .split > .toc { display: none; }
}

/* 16. site additions (spec-d3 §4-1) */
.mission .op + .op { margin-top: 4px; }
.meet-text .more { align-self: flex-start; }
.stack > * + * { margin-top: 28px; }
.stack > p { max-width: 40em; }
.stack > h3 { margin-top: 56px; font-size: 20px; font-weight: 600; line-height: 1.55; }
.stack > h3 + * { margin-top: 12px; }
.stack > .cap { margin-top: 12px; }
.stack > :first-child { margin-top: 0; }
/* two ruled lists in a row: the second continues the first (one rule between them, not two 28px apart);
   a figure or a box after a ruled list starts a new block */
.stack > :is(.stats, .table-scroll, .steps) + :is(.details, .steps) { margin-top: 0; border-top: 0; }
.stack > :is(.stats, .details, .steps, .table-scroll) + :is(.xf, .box) { margin-top: 56px; }
.mores { display: flex; flex-wrap: wrap; gap: 0 28px; }
.mores .more { margin-top: 0; }
.lines a .arw { display: inline-block; margin-left: 8px; font-family: 'Geist', sans-serif; font-weight: 400; }
.fold > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.fold[open] > summary { margin-bottom: 16px; }
/* the same +/− as the FAQ, so the summary reads as open/closed and not as a link (absolute: no underline on the mark) */
.fold > summary { list-style: none; position: relative; padding-right: 28px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: '+'; content: '+' / ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: 'Geist', sans-serif; font-weight: 400; font-size: 20px; line-height: 1; color: var(--ink2); }
.fold[open] > summary::after { content: '−'; content: '−' / ''; }
.jump { display: flex; flex-wrap: wrap; gap: 0 24px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.phead .details { align-self: stretch; max-width: 40em; }
.phead .btn { margin-top: 4px; }
.phead h1 .h1-sub { display: block; margin-top: 8px; font-size: 19px; font-weight: 500; line-height: 1.7; letter-spacing: 0.01em; color: var(--ink2); }
/* .photo.photo: (0,3,0) ties with d3's `.act.wide .photo` and wins because site.css loads after style.css */
.photo.photo.pos-15 { object-position: 50% 15%; }
.photo.photo.pos-20 { object-position: 50% 20%; }
.photo.photo.pos-30 { object-position: 50% 30%; }
.photo.photo.pos-40 { object-position: 50% 40%; }
.photo.photo.pos-50 { object-position: 50% 50%; }
.photo.photo.pos-60 { object-position: 50% 60%; }
.photo.photo.pos-70 { object-position: 50% 70%; }
.photo.photo.pos-80 { object-position: 50% 80%; }
@media (min-width: 1024px) { .stats.x3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.which { display: flex; flex-wrap: wrap; gap: 8px; }
.which button {
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule); border-radius: 2px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; text-align: left; cursor: pointer;
}
.which button:hover { border-color: var(--field); }
.which button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.which-out { margin-top: 12px; font-size: 16px; font-weight: 500; line-height: 1.8; }
.which-out:empty { margin-top: 0; }   /* no height, but it stays in the accessibility tree so the live region is announced */
.stack > .which-group { margin-top: 56px; }   /* the group starts with its own h3 (hidden with it when there is no JS or on paper) */
.thanks .lines { align-self: stretch; margin-top: 8px; }
.prose > .box { margin-top: 48px; }
.steps li > h3:only-child { grid-column: 1 / -1; }  /* integration: a step with a title only uses the whole row */
/* the section a menu link jumped to holds the focus (so Tab goes on from there); it is not a control, so no ring */
[data-jump]:focus { outline: none; }
/* phone bottom bar: hidden while the footer is in view (site.js adds is-past; on index too). After .is-on, so it wins */
.sticky-cta.is-past { transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
@media (prefers-reduced-motion: reduce) {
  .sticky-cta.is-past { transition: none; }
}
@media (min-width: 761px) and (max-width: 1023px) {
  /* the label column was 3 columns (159px at 768) and 29 of 101 labels wrapped; use the empty 12th column */
  .split > .h2 { grid-column: 1 / span 4; }
  .split > .body { grid-column: 5 / span 8; }
}
@media (max-width: 760px) {
  .stack > h3 { margin-top: 40px; }
  .stack > .which-group { margin-top: 40px; }
  .stack > :is(.stats, .details, .steps, .table-scroll) + :is(.xf, .box) { margin-top: 40px; }
  .phead h1 .h1-sub { font-size: 17px; }
  /* focus and scrollIntoView stop above the bottom bar (73px + safe area) */
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  /* wide facts list: the label above its value, so the value gets the whole width */
  .details.wide div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  /* the 3-column table fits 343px at 375 without a 3px side scroll */
  .table th,
  .table td { padding-right: 12px; }
  /* phone: headings and labels are balanced, so the last line is not one or two characters.
     Only here: at 768 and wider, balance moved breaks onto Chrome's weak phrase splits (ふりか|えり, 方|法, 生成|AI) */
  :is(h1, h2, h3, dt, summary, .lines li):not(.hero h1) { text-wrap: balance; }   /* d3's photo hero keeps its own lines */
  .lines li small { text-wrap: wrap; }   /* the note under a line is running text */
}
@media print {
  .jump, .which-group, .fold > summary { display: none !important; }
  .fold > *:not(summary) { display: block !important; }
}

/* print: paper, no chrome */
@media print {
  body { background: #fff; font-size: 11pt; }
  .skip, .nav, .menu, .menu-btn, .sticky-cta, .credits summary, .join .btn, .end-body .btn { display: none !important; }
  .topbar, .page-plain .topbar { position: static; color: var(--ink); }
  .topbar a { color: var(--ink); text-shadow: none; }
  .hero { min-height: 0; color: var(--ink); background: none; }
  .hero picture, .hero .shade { display: none; }
  .hero-body { padding-top: 24px; }
  .sec { padding: 32px 0; }
  .details div, .table tr, .lines li, .docs li { break-inside: avoid; }
  .split > .toc { display: none; }
  a[href^="http"]::after { content: '（' attr(href) '）'; font-size: 9pt; color: var(--ink2); word-break: break-all; }
}

/* 17. learning #nagare (flow of one session): one step list, no chart and nothing to press.
   The venue session and the online session get the same small heading (name + length).
   Step titles carry a hanging number and the length, so order and times read even where
   Safari drops the list semantics of list-style:none (role="list" is set too). */
#nagare .nagare-min { margin-left: .6em; font-family: 'Geist', 'Murecho', sans-serif; font-size: 16px; font-weight: 400; letter-spacing: .02em; color: var(--ink2); white-space: nowrap; }
#nagare .nagare h4 { margin: 0; padding-left: 28px; font-size: 18px; font-weight: 600; line-height: 1.55; }
#nagare .nagare-no { display: inline-block; width: 28px; margin-left: -28px; font-family: 'Geist', 'Murecho', sans-serif; font-size: 16px; font-weight: 400; color: var(--ink2); }
#nagare .nagare-take { font-size: 15px; line-height: 1.7; color: var(--ink2); }
#nagare .nagare-take b { font-weight: 500; color: var(--ink); }
@media (min-width: 1024px) {   /* name and length on the left (14em fits "3 発表とふりかえり 30分" on one line), text on the right */
  #nagare .nagare li { grid-template-columns: 14em minmax(0, 1fr); }
  #nagare .nagare h4 { grid-row: 1 / span 2; }
  #nagare .nagare li > p { grid-column: 2; }
}
@media (max-width: 1023px) {   /* one column; the text lines up with the name, the number hangs */
  #nagare .nagare li { grid-template-columns: minmax(0, 1fr); }
  #nagare .nagare li > p { padding-left: 28px; }
}
#nagare .stack > .nagare-src { margin-top: 32px; }   /* the source covers both sessions, so it stands apart from the online text */
@media (max-width: 760px), print {   /* keep the section title (18px here) larger than its subheadings */
  #nagare .stack > h3 { font-size: 17px; }
  #nagare .nagare h4 { font-size: 16px; }
}
@media print { #nagare .nagare li { break-inside: avoid; } }

/* 試し版: トップの写真はパソコンとスマホで違う写真なので、説明も出し分ける */
.hero-cap .cap-v { display: none; }
@media (max-width: 760px) { .hero-cap .cap-h { display: none; } .hero-cap .cap-v { display: inline; } }
