:root {
  color-scheme: light;
  --paper: #f5f0e5;
  --ink: #28251f;
  --red: #a43d2b;
  --rule: #d6cbbb;
  --muted: #655d51;
  --wash: #eee6d8;
  --light: #faf7f0;
  --serif: 'Noto Serif JP', 'Noto Serif CJK JP', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  --sans: 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Yu Gothic', 'YuGothic', Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 2; line-break: strict; font-kerning: normal; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
::selection { color: var(--ink); background: #e8c5ad; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.6; letter-spacing: .025em; font-feature-settings: 'palt' 1, 'kern' 1; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1.4em; }
ul, ol { padding-left: 1.5em; }
li + li { margin-top: .65em; }
svg { display: block; max-width: 100%; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 12px; transform: translateY(-180%); background: var(--ink); color: var(--paper); padding: 8px 18px; z-index: 5; }
.skip:focus { transform: none; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 2px solid var(--ink); }
.brand { text-decoration: none; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; white-space: nowrap; letter-spacing: .03em; }
.brand-mark { display: inline-grid; place-items: center; background: var(--red); color: var(--paper); font-size: 1rem; width: 32px; height: 36px; margin-right: 12px; }
.main-nav { display: flex; gap: 10px 24px; flex-wrap: wrap; font-size: .82rem; }
.main-nav a { text-decoration: none; padding: 5px 0; border-bottom: 2px solid transparent; }
.main-nav a[aria-current], .main-nav a:hover { color: var(--red); border-color: var(--red); }
.eyebrow { color: var(--red); font-size: .76rem; font-weight: 700; letter-spacing: .13em; margin-bottom: 20px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; padding: 56px 0 72px; align-items: start; }
.hero-copy { padding: 20px 0; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 4.5rem); line-height: 1.38; letter-spacing: 0; margin-bottom: 28px; }
.intro { color: var(--muted); }
.hero .intro { font-size: .95rem; line-height: 2.15; }
.hero-actions { display: flex; gap: 14px 28px; flex-wrap: wrap; margin-top: 32px; font-size: .88rem; }
.text-link { font-weight: 700; color: var(--red); }
.panel-art { position: relative; border: 2px solid var(--ink); padding: 14px; background: var(--light); align-self: start; margin-top: 8px; overflow: visible; }
.panel-art::before, .page-head::before, .section-bar::before { content: ''; position: absolute; width: 36px; height: 5px; background: var(--red); right: 0; top: -3px; }
.reading-cue { font-size: .75rem; letter-spacing: .12em; color: var(--muted); text-align: right; margin: 0 0 10px; }
.art-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); direction: rtl; gap: 10px; margin-bottom: 10px; }
.art-cell { direction: ltr; border: 2px solid var(--ink); font-weight: 600; min-width: 0; padding: 18px 12px; display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--serif); font-size: 1.5rem; }
.art-top .art-cell { min-height: 170px; flex-direction: row-reverse; }
.art-top .art-cell > span { writing-mode: vertical-rl; letter-spacing: .12em; }
.art-cell small { font-family: var(--sans); color: var(--red); font-size: .75rem; letter-spacing: .06em; }
.art-top small { writing-mode: vertical-rl; }
.art-top .tcy { text-combine-upright: all; letter-spacing: 0; }
.art-wide { position: relative; min-height: 205px; align-items: flex-start; flex-direction: column; padding: 22px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.45; margin-right: -38px; border-right: 0; background: var(--light); }
.panel-mark { width: 64px; position: absolute; right: 15px; top: 18px; color: var(--red); }
.art-note { margin: 12px 0 0; font-size: .75rem; text-align: right; color: var(--muted); }
.site-section { margin-bottom: 64px; scroll-margin-top: 24px; }
.section-bar { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 2px solid var(--ink); padding-top: 24px; margin-bottom: 28px; }
.section-bar h2 { margin: 0; font-size: 1.6rem; }
.section-bar > span { font-size: .75rem; color: var(--muted); flex-shrink: 0; }
.cards { display: grid; gap: 56px; padding-top: 28px; }
.card-page { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card-page::before { position: absolute; top: -32px; left: 0; font-size: .75rem; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-page:nth-child(1)::before { content: "01—09" / ""; }
.card-page:nth-child(2)::before { content: "10—18" / ""; }
.card-page:nth-child(3)::before { content: "19—27" / ""; }
.card { position: relative; min-width: 0; padding: 24px; border: 2px solid var(--ink); background: var(--light); display: flex; flex-direction: column; }
.card .number { color: var(--muted); font-size: .76rem; letter-spacing: .05em; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.card h3 { margin-bottom: 18px; font-size: 1.3rem; line-height: 1.7; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card p { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.card .first-step { font-weight: 500; font-size: .78rem; color: var(--ink); margin-top: auto; margin-bottom: 0; padding-top: 16px; border-top: 1px solid var(--rule); }
.card::before { content: ''; position: absolute; right: -2px; top: -4px; width: 28px; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: right; }
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card:hover, .card:focus-within { border-color: var(--red); background: var(--light); }
.card:hover h3, .card:focus-within h3 { color: var(--red); }
.weekly-callout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; margin: 0 0 80px; padding: 40px; background: var(--ink); color: var(--paper); border-top: 5px solid var(--red); }
.weekly-callout > div:first-child { border-right: 1px solid #746b5c; padding-right: 24px; }
.weekly-callout .eyebrow, .weekly-callout .meta { color: #e2ccaa; }
.weekly-callout h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
.weekly-callout h2 a { text-decoration: none; }
.weekly-callout p { font-size: .88rem; }
.weekly-callout a:hover, .weekly-callout .text-link { color: #f2b6a5; }
.weekly-callout :focus-visible { outline-color: #f2b6a5; }
.page-head { position: relative; max-width: 100%; padding: 40px 0 35px; margin-top: 32px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
main > .page-head:first-child { margin-top: 0; border-top: 0; }
.page-head h1 { max-width: 20em; margin-bottom: 24px; }
.page-head .intro, .page-head .meta { margin-bottom: 0; }
.breadcrumb { font-size: .75rem; color: var(--muted); margin: 24px 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 40em); gap: 64px; align-items: start; margin: 48px 0 88px; }
.toc { border-top: 2px solid var(--ink); padding-top: 18px; font-size: .78rem; line-height: 1.85; }
.toc h2 { font-family: var(--sans); font-size: .85rem; }
.toc ol { list-style: none; padding: 0; }
.toc li { margin: 0; border-bottom: 1px solid var(--rule); }
.toc a { display: inline-block; padding-block: 9px; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose { min-width: 0; max-width: 40em; overflow-wrap: anywhere; }
.prose p { line-height: 2.1; hanging-punctuation: allow-end; }
.prose h2 { margin-top: 56px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); font-size: 1.5rem; scroll-margin-top: 24px; }
.prose h3 { margin-top: 32px; }
.prose li::marker { color: var(--red); }
.editor-note { font-size: .8rem; border-left: 3px solid var(--red); padding: 18px 22px; background: var(--wash); color: var(--muted); margin: 0 0 36px; }
.meta { color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.sources { font-size: .85rem; }
.sources ul { list-style: none; padding: 0; }
.sources li { padding: 15px 0; margin: 0; border-bottom: 1px solid var(--rule); }
.source-url { display: block; color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
.related { margin-top: 48px; padding: 24px; border: 1px solid var(--ink); }
.related h2 { margin: 0 0 16px; padding: 0; border: 0; font-size: 1.1rem; }
.related p { margin: 0; }
.document { max-width: 40em; margin: 48px auto 80px; }
.document.prose { margin-left: 284px; margin-right: auto; }
.page-head:has(+ .document.prose) > * { margin-left: 284px; }
.document h2 { margin-top: 44px; border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
.about-note { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 40px; border-top: 1px solid var(--ink); padding-top: 32px; }
.about-note h2 { margin: 0; border: 0; }
.about-note p { grid-column: 2; max-width: 38em; }
.archive-row { border-top: 1px solid var(--ink); padding: 28px 0; margin: 0; }
.archive-row:first-of-type { margin-top: 36px; border-top: 3px solid var(--ink); }
.archive-row .eyebrow { margin-bottom: 12px; }
.archive-row h2 { border: 0; margin: 0 0 16px; padding: 0; }
.archive-row h2 a { text-decoration: none; }
.archive-row > p:not(.eyebrow) { font-size: .9rem; }
.archive-row .text-link { font-size: .82rem; }
.footer { border-top: 2px solid var(--ink); padding: 32px 0 40px; font-size: .75rem; color: var(--muted); display: flex; justify-content: space-between; gap: 24px; }
.footer p { margin: 0; }
.footer a { display: inline-block; padding: 4px 0; margin-right: 18px; }
.footer .footer-name { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .82rem; margin: 24px 0; }
.prose caption { text-align: left; margin-bottom: 10px; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 10px; vertical-align: top; overflow-wrap: anywhere; }
.prose th { text-align: left; background: var(--wash); }
@supports (word-break: auto-phrase) { h1, h2, h3, .toc a { word-break: auto-phrase; } }
@supports (text-wrap: pretty) { .prose p { text-wrap: pretty; } }
@supports (word-break: auto-phrase) and (text-wrap: balance) { .card h3, .section-bar h2, .weekly-callout h2, .archive-row h2, .toc a { text-wrap: balance; } }
#main:focus { outline: none; }
@media (forced-colors: active) { .brand-mark { border: 1px solid CanvasText; } }
@media (prefers-reduced-motion: no-preference) {
  .card::before { transition: transform 160ms ease; }
  a, .card { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
}
@media screen and (min-width: 1001px) {
  .hero-copy { position: sticky; top: 32px; }
  .toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
  .toc a:focus-visible { outline-offset: -3px; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px); }
  .masthead { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero { gap: 24px; }
  .card-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-page > .card:last-child { grid-column: 1 / -1; }
  .document.prose { margin-left: 212px; }
  .page-head:has(+ .document.prose) > * { margin-left: 212px; }
  .article-layout { grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .masthead { padding: 20px 0; }
  .brand { font-size: 1.35rem; }
  .main-nav { gap: 5px 20px; font-size: .78rem; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 28px 0 48px; gap: 24px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2rem, 6.6vw, 3rem); }
  .hero .intro { font-size: .88rem; }
  .hero-actions { gap: 12px 20px; margin-top: 24px; font-size: .8rem; }
  .panel-art { width: 100%; padding: 12px; margin-top: 0; }
  .art-top .art-cell { min-height: 84px; padding: 12px 8px; flex-direction: column; gap: 8px; }
  .art-top .art-cell > span, .art-top small { writing-mode: horizontal-tb; }
  .art-cell { font-size: 1.2rem; }
  .art-top .art-cell > span { letter-spacing: 0; font-size: 1rem; }
  .art-wide { min-height: 0; padding: 16px; font-size: 1.5rem; margin-right: -26px; }
  .panel-mark { width: 44px; }
  .section-bar { display: block; }
  .section-bar h2 { font-size: 1.35rem; margin-bottom: 8px; }
  .cards { gap: 48px; }
  .card-page { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 2px solid var(--ink); }
  .card { padding: 16px 0; border-width: 0 0 1px; background: none; }
  .card-page > .card:last-child { border-bottom: 0; }
  .card:hover, .card:focus-within { background: none; }
  .card h3, .card p { margin-bottom: 8px; }
  .card p { line-height: 1.75; }
  .card .first-step { padding-top: 0; border-top: 0; margin-bottom: 0; }
  .card .number { margin-bottom: 6px; line-height: 1.5; }
  .card h3 { font-size: 1.25rem; line-height: 1.5; }
  .weekly-callout { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; margin-bottom: 48px; }
  .weekly-callout > div:first-child { border-right: 0; border-bottom: 1px solid #746b5c; padding: 0 0 18px; }
  .weekly-callout .eyebrow { margin-bottom: 8px; }
  .weekly-callout .meta { margin-bottom: 0; }
  .weekly-callout h2 br { display: none; }
  .about-note { display: block; }
  .about-note h2 { margin-bottom: 24px; }
  .article-layout { display: block; margin: 28px 0 48px; }
  .toc { margin-bottom: 36px; }
  .page-head { padding: 28px 0; }
  .page-head h1 { font-size: 2rem; }
  .prose h2 { font-size: 1.35rem; }
  .document { margin: 32px auto 48px; }
  .document.prose { margin-left: 0; }
  .page-head:has(+ .document.prose) > * { margin-left: 0; }
  .footer { flex-direction: column; gap: 20px; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .shell { width: 100%; }
  .main-nav, .toc, .hero-actions, .related, .skip, .panel-art { display: none; }
  .hero, .article-layout, .about-note, .weekly-callout { display: block; }
  .prose, .document { max-width: none; }
  .document.prose { margin-left: 0; }
  .page-head:has(+ .document.prose) > * { margin-left: 0; }
  .breadcrumb { display: none; }
  .weekly-callout, .editor-note, .card:nth-child(n) { background: none; color: black; }
  .weekly-callout a, .weekly-callout .eyebrow, .weekly-callout .meta { color: black; }
  .page-head { padding: 20px 0; }
  h2, h3 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  .sources li, .card, .archive-row { break-inside: avoid; }
  .footer { margin-top: 24px; }
  a { color: inherit; }
}

/* Pilot comics: white paper and percentage coordinates stay with the artwork. */
.comic { background: #fff; color: #111; font-family: var(--serif); width: 100%; }
.comic-v4 { display: grid; gap: 16px; }
.koma { position: relative; border: 3px solid #111; container-type: inline-size; overflow: hidden; background: #fff; }
.comic img, .trial img { display: block; width: 100%; height: auto; }
.comic .fuki { position: absolute; margin: 0; background: #fff; border: 2px solid #111; border-radius: 50%; writing-mode: vertical-rl; font-size: 5.2cqw; line-height: 1.45; padding: 5cqw 3.4cqw; font-weight: 600; color: #111; letter-spacing: .04em; white-space: nowrap; overflow-wrap: normal; }
.fuki::after { content: ""; position: absolute; top: 58%; width: 0; height: 0; border: 1.6cqw solid transparent; }
.fuki.tail-r::after { right: -3.2cqw; border-left: 2.4cqw solid #111; border-right: 0; }
.fuki.tail-l::after { left: -3.2cqw; border-right: 2.4cqw solid #111; border-left: 0; }
.fuda { position: absolute; writing-mode: vertical-rl; color: #222; font-weight: 700; line-height: 1; transform-origin: center; white-space: nowrap; letter-spacing: .05em; }
/* Keep public lettering consistent across the home, P1 and P4 layouts. */
.comic .koma:has(img[src$="p1-b01.webp"]) .fuda { font-size: 2.4cqw !important; top: 68.5% !important; }
.comic .koma:has(img[src$="shared-04.webp"]) .fuda { display: none; }
/* 600-unit manuscript: panels 296, gutter 8, row gap 24, drop 24. */
.comic-p22 { position: relative; aspect-ratio: 600 / 520; container-type: inline-size; }
.comic-p22 .koma { position: absolute; width: 49.333333%; aspect-ratio: 4 / 3; border-width: .5cqw; }
.comic-p22 .koma img { height: 100%; }
.comic-p22 .k1 { right: 0; top: 0; }
.comic-p22 .k2 { left: 0; top: 0; }
.comic-p22 .k3 { right: 0; top: 47.307692%; }
.comic-p22 .k4 { left: 0; top: 47.307692%; }
.comic-p22.drop .k3 { top: 51.923077%; }
.comic-page { position: relative; container-type: inline-size; }
.comic-page .fuki { font-size: 4.2cqw; padding: 3.6cqw 2.6cqw; }
.hero-comic { min-width: 0; }
.hero-comic figure, .trial figure { margin: 0; min-width: 0; }
.hero-comic figcaption, .trial figcaption { font-size: .8rem; line-height: 1.8; margin-top: 12px; }
.hero-comic h2 { font-size: 1.3rem; }
.comic-transcript { margin: 16px 0 24px; font-size: .85rem; }
.comic-transcript p { margin-bottom: 8px; }
.comic-transcript ol { list-style: none; padding: 0; }
.comic-transcript li { margin-top: .25em; }
.comic-notes, .ai-disclosure { font-size: .8rem; }
.ai-disclosure { padding: 12px 16px; border-left: 3px solid var(--red); background: var(--wash); }
.trial { margin-top: 56px; padding-top: 12px; border-top: 3px solid var(--ink); }
.trial-status { font-weight: 700; color: var(--red); }
.trial-prereg { overflow-wrap: anywhere; font-size: .8rem; }
.trial-prereg code { font-size: .85em; }
.trial-log { font-size: .85rem; }
.trial-log dt { font-weight: 700; border-top: 1px solid var(--rule); padding-top: 12px; }
.trial-log dd { margin: 0 0 12px; }
.trial-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.trial-label { display: block; font-weight: 700; margin-bottom: 12px; }
.trial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.trial-grid img { max-height: 300px; object-fit: contain; background: #fff; }
#trial-p3 .trial-grid img { max-height: none; }
.trial-grid a { display: block; }
.trial .trial-grid .comic-transcript { font-size: .75rem; }
.process-flow { list-style: none; padding: 0; display: grid; gap: 14px; }
.process-flow li { border: 1px solid var(--rule); padding: 16px; margin: 0; }
.process-flow li + li::before { content: '↓'; display: block; color: var(--red); }
.process-flow a { font-weight: 700; }
.process-flow small { display: block; }
@media (max-width: 700px) {
 .trial-comparison { grid-template-columns: minmax(0, 1fr); }
 .trial-grid { gap: 24px 12px; }
 .trial th, .trial td { padding: 6px; }
}
@media print {
 .comic { print-color-adjust: exact; }
 .hero-comic { max-width: 400px; }
 .comic-p22, .comic-page, .koma { break-inside: avoid; }
 .trial-comparison { gap: 16px; }
}
/* キャラ絵のだし方（絵柄レシピ） */
.look-page { margin: 40px 0 88px; }
.look-page > section { margin-top: 56px; }
.look-page h2 { padding-bottom: 14px; border-bottom: 1px solid var(--rule); font-size: 1.45rem; }
.look-page h3 { font-size: 1rem; margin-top: 28px; }
.look-page p, .look-page li, .look-page dd { max-width: 44em; }
.look-hint { font-size: .8rem; color: var(--muted); }
.look-toc { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .8rem; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 12px 0; }
.look-toc a { text-decoration: none; }
.look-grid { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.look-grid li + li { margin: 0; }
.look-card a { display: block; position: relative; text-decoration: none; background: var(--light); border: 2px solid var(--ink); padding: 8px 8px 12px; height: 100%; }
.look-card a:hover, .look-card a:focus-visible { border-color: var(--red); color: var(--ink); }
.look-card a:hover .look-name, .look-card a:focus-visible .look-name { color: var(--red); }
.look-card img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); background: #fff; }
.look-no { position: absolute; top: 0; left: 0; background: var(--ink); color: var(--paper); font-size: .72rem; font-weight: 700; padding: 2px 9px; font-variant-numeric: tabular-nums; }
.look-name { display: block; font-family: var(--serif); font-weight: 700; font-size: 1rem; line-height: 1.5; margin-top: 10px; }
.look-verdict { display: inline-block; font-size: .7rem; line-height: 1.6; margin-top: 6px; padding: 1px 8px; border: 1px solid currentColor; }
.look-ok { color: #2f5d3a; }
.look-part { color: #7a5a17; }
.look-ng { color: var(--red); }
.look-pair { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; margin: 24px 0; max-width: 1040px; }
.look-pair:has(.look-strong) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
.look-page figure { margin: 0; }
.look-page figure img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); background: #fff; }
.look-page figcaption { font-size: .74rem; color: var(--muted); line-height: 1.7; margin-top: 8px; }
.look-base-row { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 24px; }
.look-strong-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0; max-width: 820px; }
.look-recipe { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--sans); font-size: .86rem; line-height: 1.9; background: var(--light); border: 1px solid var(--ink); border-left: 5px solid var(--red); padding: 20px 22px; margin: 18px 0; max-width: 46em; user-select: all; }
.look-details { margin: 12px 0; max-width: 46em; }
.look-details summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--red); }
.look-meaning { margin: 18px 0; max-width: 46em; }
.look-meaning dt { font-weight: 700; margin-top: 16px; }
.look-meaning dd { margin: 4px 0 0; font-size: .9rem; }
.look-meaning ul { padding-left: 1.2em; margin: 8px 0 0; }
.look-meaning li::marker { color: var(--red); }
.look-line { display: block; font-weight: 700; font-size: .85rem; }
.look-params { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 6px 16px; font-size: .88rem; max-width: 44em; }
.look-params dt { font-weight: 700; }
.look-params dd { margin: 0; }
.look-table-wrap { overflow-x: auto; margin: 20px 0; }
.look-score { border-collapse: collapse; font-size: .8rem; min-width: 640px; width: 100%; max-width: 900px; }
.look-score caption { text-align: left; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.look-score th, .look-score td { border: 1px solid var(--rule); padding: 7px 9px; text-align: center; }
.look-score thead th { background: var(--wash); }
.look-score tbody th { text-align: left; font-weight: 400; }
.look-sources li { max-width: 50em; }
.look-src-note { display: block; font-size: .8rem; margin-top: 4px; }
.look-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); font-size: .85rem; }
.look-band { position: relative; margin: 0 0 80px; padding: 32px; border: 2px solid var(--ink); background: var(--light); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; align-items: center; }
.look-band::before { content: ''; position: absolute; width: 36px; height: 5px; background: var(--red); right: 0; top: -3px; }
.look-band h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); margin-bottom: 14px; }
.look-band h2 a { text-decoration: none; }
.look-band p { font-size: .88rem; }
.look-band-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.look-band-strip li + li { margin: 0; }
.look-band-strip a { display: block; border: 1px solid var(--ink); background: #fff; }
.look-band-strip a:hover, .look-band-strip a:focus-visible { border-color: var(--red); }
.look-band-strip img { display: block; width: 100%; height: auto; }
.look-band .ai-disclosure { margin: 14px 0 0; }
@media (max-width: 1000px) {
  .look-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .look-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .look-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .look-name { font-size: .9rem; }
  .look-pair, .look-pair:has(.look-strong) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .look-pair .look-main { grid-column: 1 / -1; }
  .look-base-row { grid-template-columns: minmax(0, 1fr); }
  .look-base-row figure { max-width: 260px; }
  .look-strong-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .look-recipe { font-size: .8rem; padding: 14px; }
  .look-params { grid-template-columns: minmax(0, 1fr); }
  .look-params dd { margin-bottom: 8px; }
  .look-band { padding: 20px; margin-bottom: 48px; }
  .look-band-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media print { .look-pager, .look-toc { display: none; } }
/* 絵柄の出し方（art-style gallery） */
.st-pair { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: end; margin: 24px 0; max-width: 900px; }
.st-control { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0; max-width: 780px; }
.st-group-h { margin-top: 48px; padding-top: 12px; border-top: 2px solid var(--ink); font-family: var(--serif); font-size: 1.2rem; }
.st-group-h span { display: block; font-family: var(--sans); font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.st-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.st-list li + li { margin: 0; }
.st-item { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px; background: var(--light); border: 1px solid var(--rule); }
.st-thumb { position: relative; display: block; border: 2px solid var(--ink); background: #fff; }
.st-thumb:hover, .st-thumb:focus-visible { border-color: var(--red); }
.st-thumb img { display: block; width: 100%; height: auto; }
.st-body p { margin: 0 0 8px; }
.st-name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1.5; }
.st-name a { text-decoration: none; }
.st-lead { font-size: .82rem; line-height: 1.75; }
.st-body .look-recipe { font-size: .78rem; padding: 12px 14px; }
.st-why { margin: 18px 0; max-width: 50em; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-top: 1px solid var(--rule); }
.st-why dt, .st-why dd { margin: 0; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); font-size: .86rem; }
.st-why dt { font-weight: 400; }
.st-axis { display: block; font-size: .72rem; font-weight: 700; color: var(--red); }
.st-rights li, .st-steps li { margin-bottom: 8px; max-width: 46em; }
.st-vocab td:first-child { text-align: left; }
.st-vocab td:nth-child(2) { text-align: left; }
@media (max-width: 1000px) { .st-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .st-item { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .st-pair { grid-template-columns: minmax(0, 1fr); }
  .st-pair .st-control-mini { max-width: 180px; }
  .st-control { gap: 8px; }
  .st-why { grid-template-columns: minmax(0, 1fr); }
  .st-why dt { border-bottom: 0; padding-bottom: 2px; }
}
.pc-list{list-style:none;padding:0;margin:0 0 1.5rem;display:grid;gap:.9rem}
.pc-item{border:1px solid var(--line,#ddd);border-radius:10px;padding:.8rem 1rem;background:#fff}
.pc-item p{margin:.2rem 0}
.pc-head{display:flex;flex-wrap:wrap;gap:.6rem;align-items:baseline;font-weight:700}
.pc-time,.pc-meta,.pc-count{font-size:.85rem;color:#666;font-weight:400}
.pc-mine{font-size:.92rem}
.pc-ai{display:inline-block;margin-left:.4rem;font-size:.78rem;color:#666}
.pc-url .source-url{font-size:.78rem;color:#777;word-break:break-all}
.ty-grid{list-style:none;padding:0;margin:0 0 1.5rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:1rem}
.ty-card{border:1px solid var(--line,#ddd);border-radius:10px;padding:.6rem;background:#fff;position:relative}
.ty-card a{display:block;text-decoration:none;color:inherit}
.ty-card img{width:100%;height:auto;border-radius:6px;display:block}
.ty-card .look-no{position:absolute;top:.9rem;left:.9rem}
.ty-name{display:block;font-weight:700;margin-top:.4rem}
.ty-era,.ty-sum{font-size:.85rem;margin:.2rem 0}
.ty-era{color:#666}
.ty-mark{display:inline-block;min-width:1.4em;font-weight:700;margin-right:.3rem}
.ty-ok{color:#2b6a3a}.ty-part{color:#8a6a10}.ty-ng{color:#a33}
.ty-mini{width:48px;height:auto;vertical-align:middle;margin-right:.4rem;border-radius:4px}
.ty-mini-link{display:inline-flex;align-items:center;gap:.2rem}
.ty-retry{max-width:320px}.ty-retry img{width:100%;height:auto}
/* 新しい書き方で再挑戦（前後比較） */
.rw-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin: 24px 0; max-width: 760px; }
.rw-pair img { width: 100%; height: auto; }
.rw-pair.rw-small { max-width: 420px; gap: 10px; }
/* 定番の顔芸・表情の見本 */
.fx-index{list-style:none;padding:0;margin:0 0 2rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.6rem}
.fx-index a{display:block;text-decoration:none;color:inherit;font-size:.78rem;line-height:1.4}
.fx-index img,.fx-fig img{width:100%;height:auto;display:block;border:1px solid var(--line,#ddd)}
.fx-type{border-top:1px solid var(--ink);padding-top:1.2rem;margin-top:2.2rem}
.fx-type h3 .look-verdict{vertical-align:middle;margin-left:.4rem}
.fx-body{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:24px;align-items:start;margin:12px 0}
.fx-label{font-size:.8rem;font-weight:700;margin:12px 0 -10px}
.fx-refused{border-left:4px solid #a33;padding:6px 12px;background:#fff6f4}
.fx-fails li{margin:.3rem 0}
@media (max-width:720px){.fx-body{grid-template-columns:minmax(0,1fr)}.fx-fig{max-width:360px}}
.fx-no{display:inline-block;min-width:2.2em;margin-right:.3rem;padding:0 .4em;background:var(--ink);color:#fff;font-size:.85em;text-align:center}
.sd-labels { list-style: none; padding: 0; margin: 14px 0 6px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px 14px; font-size: .78rem; max-width: 900px; }
.sd-labels li { display: flex; gap: 6px; align-items: baseline; }
@media (max-width: 640px) { .sd-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 一覧画像（複数の生成結果を1枚にまとめたもの） */
.trial-sheet figure, .st-control-sheet figure { margin: 0; }
.trial-sheet img, .st-control-sheet img { width: 100%; height: auto; background: #fff; }
.trial-sheet { max-width: 848px; }
.trial-sheet-list { margin-top: 12px; font-size: .85rem; }
.st-control-sheet { max-width: 780px; margin: 24px 0; }
