/* WaDaily 紹介サイトの見た目。古いパソコンの画面のつもりで、黒い線・白い紙・みかん色だけで組む。
   ウィンドウと机の仕組みは desk.css、動きは motion.css。 */
/* iPhone・Mac には MS ゴシックも BIZ UD もないので、サイトで使う文字だけに絞った BIZ UD（OFL、fonts/OFL.txt）を置く。
   Windows では手元のフォントが先に当たるので、ここは読み込まれない。作り直しは website/tools/subset-fonts.cjs。 */
@font-face { font-family: "WaDaily UD Gothic"; src: local("BIZ UDGothic"), url("/fonts/wadapo-ud-gothic.woff2?v=20261126b") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WaDaily UDP Gothic"; src: local("BIZ UDPGothic"), url("/fonts/wadapo-udp-gothic.woff2?v=20261126b") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WaDaily UDP Gothic"; src: local("BIZ UDPGothic Bold"), url("/fonts/wadapo-udp-gothic-bold.woff2?v=20261126b") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --ink: #161616;
  --paper: #fffdf6;
  --muted: #55524a;
  --accent: #f08a24;
  --leaf: #3f6b2f;
  --note: #ffe27a;
  --shade: #e9e5d8;
  --ui: "MS Gothic", "ＭＳ ゴシック", "WaDaily UD Gothic", monospace;
  --text: "BIZ UDPGothic", "WaDaily UDP Gothic", "Yu Gothic UI", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--ink);
  font-family: var(--text);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font-size: 15px; line-height: 1.75; overflow-x: clip; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
figure, p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--ui); font-weight: 400; line-height: 1.4; }
h2 { font-size: 21px; }
h3 { font-size: 16px; }
p + p { margin-top: 12px; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px dotted var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 6000; top: 8px; left: 8px; padding: 8px 14px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.zoomable-image { cursor: zoom-in; }

/* ---- ボタン ---- */
.study-demo-toggle, #make-it-fall, .tool-clear, .palette-picker button, .site-effect-picker button, .mikan-controls button,
.hero-play button, .real-screen-picker button, .demo-quiz button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0; padding: 6px 16px;
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px; box-shadow: none;
  font: 14px/1.3 var(--ui); text-decoration: none;
}
.study-demo-toggle:hover, #make-it-fall:hover, .tool-clear:hover, .palette-picker button:hover, .site-effect-picker button:hover,
.mikan-controls button:hover, .hero-play button:hover, .real-screen-picker button:hover, .demo-quiz button:hover,
.palette-picker button[aria-pressed="true"], .real-screen-picker button.active { background: var(--ink); color: var(--paper); }
.study-demo-toggle, #make-it-fall { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.button { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px; background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); text-decoration: none; font-family: var(--ui); }
.button:hover { background: var(--paper); color: var(--ink); }
.platform-icon { width: 22px; height: 22px; flex: none; fill: currentColor; }
.platform-copy { display: flex; flex-direction: column; line-height: 1.35; }
.platform-copy b { font-size: 16px; font-weight: 400; }
.platform-copy small { font-size: 12px; }

/* ---- 上の帯 ---- */
.site-header { position: relative; z-index: 40; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 2px 16px; background: var(--paper); border-bottom: 1.5px solid var(--ink); font-family: var(--ui); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 24px; height: 24px; object-fit: contain; }
.brand small { font-size: 11px; }
.site-nav { display: flex; gap: 2px; margin-left: 8px; }
.site-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; text-decoration: none; }
.site-nav a:hover { background: var(--ink); color: var(--paper); }
.header-download { display: inline-flex; align-items: center; margin-left: auto; min-height: 32px; padding: 2px 12px; border: 1.5px solid var(--ink); border-radius: 8px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.header-download:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 44px; height: 44px; margin-left: auto; padding: 0; background: var(--paper); border: 1.5px solid var(--ink); }
.nav-toggle i { width: 18px; height: 2px; background: currentColor; }

/* ---- はじめに.txt ---- */
.eyebrow { margin-bottom: 14px; font: 13px/1.4 var(--ui); }
.hero h1 { font-size: clamp(27px, 6.2vw, 38px); line-height: 1.45; }
.hero h1 em { font-style: normal; padding: 0 .15em; background: var(--ink); color: var(--paper); }
.hero-lead { margin-top: 18px; }
.hero-lead strong { display: block; margin-top: 8px; }
.hero-actions { margin-top: 22px; }
.setup-guide-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font: 13px var(--ui); }
.availability { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 12px/1.5 var(--ui); }
.status-dot { width: 8px; height: 8px; flex: none; background: var(--leaf); }
.personal-project-note { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* ---- ホーム.png と付箋 ---- */
.desk-screen > a { display: block; }
.desk-screen img { display: block; width: 100%; height: auto; }
.desk-screen figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 10px; border-top: 1.5px solid var(--ink); font: 12px var(--ui); }
.desk-screen figcaption a { display: inline-flex; align-items: center; min-height: 30px; }
.desk-note { z-index: 2; min-width: 204px; padding: 6px 12px 0; background: var(--note); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-family: var(--ui); }
.desk-note > span { display: block; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 11px; }
.desk-note p { min-height: 48px; margin-top: 6px; font-size: 14px; line-height: 1.65; }
.desk-note button { display: block; min-height: 44px; margin-left: auto; padding: 0; background: none; border: 0; font: 12px var(--ui); text-decoration: underline; text-underline-offset: 4px; }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.hero-demo-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; background: var(--paper); border: 1.5px solid var(--ink); font: 13px var(--ui); text-decoration: none; }
.hero-play { display: flex; align-items: center; gap: 10px; }
.hero-play > span:not(.sr-only) { padding: 1px 6px; background: var(--paper); font: 11px/1.5 var(--ui); }
.site-effect-thumb { display: inline-block; width: 22px; height: 22px; flex: none; object-fit: contain; }
#screensaver-button svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1; shape-rendering: crispEdges; }

/* ---- 今日の予定 ---- */
.daily-copy p, .real-screens-head > p, .appearance-head > p { margin-top: 8px; color: var(--muted); }
.daily-ledger { border-top: 1.5px solid var(--ink); }
.daily-ledger a { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 2px 16px; align-items: baseline; padding: 11px 6px; border-bottom: 1px dotted var(--ink); text-decoration: none; }
.daily-ledger a:hover { background: var(--ink); color: var(--paper); }
.ledger-question { font: 13px var(--ui); }
.daily-ledger b { display: block; font-size: 15px; }
.daily-ledger small { display: block; font-size: 12.5px; color: var(--muted); }
.daily-ledger a:hover small { color: inherit; }

/* ---- 動画ノート ---- */
.core-copy > p { margin-top: 10px; }
.core-warning { position: relative; margin-top: 16px; padding: 10px 12px 10px 46px; border: 1.5px solid var(--ink); font-size: 13px; }
.core-warning::before { content: "!"; position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%; font: 14px/19px var(--ui); text-align: center; }
.core-copy .core-permission { font-size: 13px; }
.core-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.core-tags span, .effects-cloud > span { padding: 0 8px; border: 1px solid var(--ink); font: 12.5px/1.7 var(--ui); }
.study-demo { min-width: 0; scroll-margin-top: 16px; }
.study-demo-intro h2 { font-size: 17px; }
.study-demo-intro > p { margin-top: 8px; color: var(--muted); }
.study-demo-toggle { margin-top: 16px; }
.study-demo-intro > .study-demo-status { min-height: 1.75em; margin-top: 14px; color: var(--ink); font: 13px/1.75 var(--ui); }
.study-demo-intro > .study-demo-disclosure { margin-top: 2px; font-size: 12px; }
.study-demo-scene { position: relative; min-width: 0; padding: 16px; background: var(--shade); border: 1.5px solid var(--ink); }
.paper-flight-layer { display: none; }
.study-demo-sources { max-width: 470px; margin-inline: auto; }
.demo-desk-label { margin-bottom: 8px; font: 12px var(--ui); }
.demo-scrap { margin-bottom: 12px; padding: 8px 14px 10px; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-family: var(--ui); }
.demo-scrap:nth-of-type(2) { margin-left: 26px; background: var(--note); }
.demo-scrap:nth-of-type(3) { margin-left: 10px; margin-bottom: 4px; }
.demo-scrap > span:first-child { display: block; margin-bottom: 6px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 11px; }
.demo-scrap p { font-size: 13px; line-height: 1.7; }
.demo-scrap strong { font-weight: 400; text-decoration: underline; }
.demo-scrap .scrap-pencil { display: block; margin-top: 4px; font-size: 12px; text-align: right; }
.study-demo-result { max-width: 540px; margin-inline: auto; padding: 12px 18px 16px; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.demo-notebook-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font: 12px var(--ui); }
.demo-done-mark { padding: 0 6px; border: 1.5px solid var(--ink); font-size: 11px; }
.study-demo-result h3 { font-size: 19px; }
.demo-result-label { margin-top: 12px; font: 12px var(--ui); }
.demo-result-label::before { content: "■ "; }
.study-demo-result ul { margin: 6px 0 12px; padding-left: 20px; font-size: 13px; }
.demo-term { padding-left: 10px; border-left: 3px solid var(--ink); font-size: 13px; }
.demo-term b, .demo-term span { display: block; }
.demo-term span { color: var(--muted); }
.demo-quiz { margin-top: 14px; padding-top: 12px; border-top: 1px dotted var(--ink); }
.demo-quiz > p { font-size: 13px; }
.demo-quiz > p > span { display: block; font: 12px var(--ui); }
.demo-quiz button { margin-top: 4px; font-size: 13px; }
#study-demo-hint { margin-top: 6px; font-size: 13px; }
#study-demo-hint summary { min-height: 44px; padding: 10px 0; cursor: pointer; }
#study-demo-hint p { margin-bottom: 6px; padding-left: 10px; border-left: 3px solid var(--ink); }
#study-demo-answer { margin-top: 8px; padding: 10px 12px; border: 1px dotted var(--ink); font-size: 13px; }
.demo-working { padding-block: 8px; border-block: 1px dotted var(--ink); font: 13px/1.8 var(--ui); }
.demo-source { margin-top: 12px; font-size: 11px; color: var(--muted); }
.core-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.core-shot { border: 1.5px solid var(--ink); }
.core-shot img, .real-screen-panel img, .lightbox-image { display: block; width: 100%; height: auto; }
.core-shot figcaption { padding: 5px 10px; border-top: 1.5px solid var(--ink); font-size: 12px; }
.core-shot figcaption b { margin-right: 8px; font: 12px var(--ui); }

/* ---- レポート・送り方 ---- */
.hassle-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; border: 1.5px solid var(--ink); }
.hassle-cards article { padding: 12px 16px 14px; }
.hassle-cards article + article { border-left: 1px dotted var(--ink); }
.hassle-cards p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.hassle-cards a { display: inline-block; margin-top: 8px; font: 13px var(--ui); }
.flow-track { border: 1.5px solid var(--ink); }
.flow-track > b { display: none; }
.flow-track article { display: grid; grid-template-columns: 2em 13em minmax(0, 1fr); gap: 2px 12px; align-items: baseline; padding: 9px 12px; }
.flow-track article + article { border-top: 1px dotted var(--ink); }
.flow-track article > span { font: 13px/1.6 var(--ui); }
.flow-track article > span::after { content: "."; }
.flow-track h3 { font-size: 14px; line-height: 1.5; }
.flow-track p { font-size: 13px; color: var(--muted); }

/* ---- スクショ ---- */
.real-screen-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.real-screen-picker button { padding: 4px 6px; border-radius: 0; font-size: 13px; }
.real-screen-stage { margin-top: 8px; border: 1.5px solid var(--ink); }
.real-screen-panel figcaption { display: flex; gap: 16px; padding: 7px 12px; border-top: 1.5px solid var(--ink); font-size: 13px; }
.real-screen-panel figcaption b { flex: none; font: 13px/1.75 var(--ui); }

/* ---- らくがき ---- */
.doodle-copy h2 { font-size: 23px; }
.doodle-copy > p { margin-top: 8px; }
.doodle-lab { min-width: 0; padding: 12px; border: 1.5px solid var(--ink); }
.doodle-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.doodle-toolbar .color { width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--ink); border-radius: 0; box-shadow: inset 0 0 0 5px var(--paper); }
.doodle-toolbar .color.active { box-shadow: inset 0 0 0 2px var(--paper); }
.color.ink { background: #10384c; }
.color.pink { background: #ee4d7a; }
.color.orange { background: #f4982b; }
.color.blue { background: #1b98c2; }
.tool-clear { margin-left: auto; }
.canvas-wrap { position: relative; aspect-ratio: 640 / 330; background: #fff; border: 1.5px solid var(--ink); }
#doodle-canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.canvas-placeholder { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: var(--muted); font: 14px var(--ui); }
.has-ink .canvas-placeholder { display: none; }
.doodle-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.doodle-actions span { font-size: 12px; color: var(--muted); }

/* ---- 着せ替え ---- */
.appearance-lab[data-site-palette="sun"] { --paper: #fff0d6; }
.appearance-lab[data-site-palette="ink"] { --paper: #ecebe6; }
.appearance-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.palette-workbench { --sample-accent: #1f6f8a; --sample-paper: #dcecf2; --sample-ink: #16323d; padding: 12px; border: 1.5px solid var(--ink); }
.palette-workbench[data-palette="sun"] { --sample-accent: #b8541c; --sample-paper: #fbe3bd; --sample-ink: #4a2d17; }
.palette-workbench[data-palette="ink"] { --sample-accent: #444; --sample-paper: #e6e3dc; --sample-ink: #222; }
.sample-top { margin-bottom: 8px; font: 13px var(--ui); }
.sample-sheet { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 150px; padding: 18px; background: var(--sample-paper); color: var(--sample-ink); border: 1.5px solid var(--ink); }
.sample-kicker { display: block; margin-bottom: 4px; font: 11px/1.4 var(--ui); opacity: .78; }
.sample-sheet p { font-size: 18px; line-height: 1.6; }
.sample-type { font: 40px/1 serif; }
.sample-button { display: inline-flex; width: fit-content; padding: 6px 16px; border-radius: 999px; background: var(--sample-accent); color: #fff; font-size: 13px; }
.palette-picker, .site-effect-picker { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
.palette-picker legend, .site-effect-picker legend { margin-bottom: 6px; padding: 0; font: 13px var(--ui); }
.palette-picker i { width: 12px; height: 12px; flex: none; border: 1px solid var(--ink); background: #1f6f8a; }
.palette-picker [data-palette-choice="sun"] i { background: #d57838; }
.palette-picker [data-palette-choice="ink"] i { background: #555; }
.palette-reaction { margin-top: 10px; font: 13px var(--ui); }
.sample-note { margin-top: 2px; font-size: 12px; color: var(--muted); }
.effects-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.effects-cloud > p { width: 100%; font: 13px var(--ui); }
.effects-cloud > .scribbled { border-style: dashed; }
.effects-cloud small { width: 100%; font-size: 12px; color: var(--muted); }
.mobile-effect-note { display: none; }
.site-effect-picker { margin-top: 16px; padding-top: 12px; border-top: 1px dotted var(--ink); }
.site-effect-picker #site-effects-stop { border: 0; text-decoration: underline; text-underline-offset: 4px; }
.site-effects-status { min-height: 1.75em; margin-top: 8px; font-size: 12px; color: var(--muted); }

/* ---- 機能一覧・入れ方・よくある質問 ---- */
.feature-disclosure { margin-top: 10px; }
.feature-disclosure summary { min-height: 48px; padding: 12px 0; border-block: 1px dotted var(--ink); cursor: pointer; font: 14px/1.6 var(--ui); }
.feature-disclosure summary small { margin-left: 12px; font-size: 12px; color: var(--muted); }
.feature-dump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.feature-dump b { font: 14px var(--ui); }
.feature-dump ul { padding-left: 18px; font-size: 13px; color: var(--muted); }
.download-card { display: grid; gap: 22px; }
.download-card > div > p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.download-card .button { margin-top: 16px; }
.download-card > div > .download-meta { margin-top: 12px; font: 12px var(--ui); }
.download-card ol { padding: 0; list-style: none; }
.download-card li { display: flex; gap: 10px; padding: 12px 0; border-top: 1px dotted var(--ink); }
.download-card li:first-child { padding-top: 0; border-top: 0; }
.download-card li > span { flex: 0 0 22px; font: 15px/1.6 var(--ui); }
.download-card li > span::after { content: "."; }
.download-card strong { display: block; font-size: 15px; line-height: 1.6; }
.download-card li p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px dotted var(--ink); }
.faq-list summary { position: relative; min-height: 48px; padding: 12px 8px 12px 24px; cursor: pointer; list-style: none; font-size: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "▶"; position: absolute; left: 4px; top: 16px; font: 10px/1.6 var(--ui); }
.faq-list details[open] summary::before { content: "▼"; }
.faq-list p { padding: 0 8px 14px 24px; font-size: 13.5px; color: var(--muted); }

/* ---- このサイト ---- */
footer { display: grid; justify-items: center; gap: 8px; padding: 22px 16px 18px; background: var(--paper); border-top: 1.5px solid var(--ink); text-align: center; }
.footer-signoff { font: 20px/1.5 var(--ui); }
.footer-notes p { margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.footer-notes .creator-credit { font: 12px var(--ui); color: var(--ink); }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.copyright { font: 11px var(--ui); }

/* ---- 画像の拡大 ---- */
.screen-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 60px 16px 16px; background: transparent; border: 0; overflow: auto; }
.screen-lightbox[open] { display: grid; place-items: center; }
.screen-lightbox::backdrop { background: #161616c4; }
.lightbox-frame { width: min(1580px, 100%); min-width: 0; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.lightbox-image { width: auto; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); margin: auto; object-fit: contain; }
.lightbox-caption { padding: 5px 10px; border-top: 1.5px solid var(--ink); font: 12px var(--ui); }
.lightbox-close { position: fixed; z-index: 1; right: max(12px, env(safe-area-inset-right)); top: max(8px, env(safe-area-inset-top)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); font: 22px/1 var(--ui); }

/* ---- 狭い画面 ---- */
@media (max-width: 900px) { .header-download { display: none; } }
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; top: 100%; right: 12px; flex-direction: column; gap: 0; min-width: 190px; margin: 4px 0 0; padding: 4px; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
  .site-nav.open { display: flex; }
  .real-screen-picker { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .desktop-break { display: none; }
  .hero-actions .button, .download-card .button, .study-demo-toggle, #make-it-fall { width: 100%; justify-content: center; }
  .daily-ledger a { grid-template-columns: minmax(0, 1fr); }
  .core-proof, .hassle-cards { grid-template-columns: minmax(0, 1fr); }
  .hassle-cards article + article { border-left: 0; border-top: 1px dotted var(--ink); }
  .flow-track article { grid-template-columns: 1.8em minmax(0, 1fr); gap: 2px 6px; padding: 9px 10px; }
  .flow-track p { grid-column: 2; }
  .real-screen-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .real-screen-panel figcaption { flex-direction: column; gap: 0; }
  .feature-dump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-disclosure summary small { display: block; margin-left: 0; }
  .demo-scrap:nth-of-type(2) { margin-left: 12px; }
  .sample-type { display: none; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- 文言を足したところ ---- */
.readme-list { margin-top: 10px; padding: 0; list-style: none; font: 15px/1.9 var(--ui); }
.readme-list li::before { content: "・"; }
.readme-aside { margin-top: 10px; font-size: 13px; color: var(--muted); }
.less-hassle-section, .flow-section { margin-top: 26px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.less-hassle-section h2, .flow-section h2 { font-size: 17px; }
.flow-section .flow-track { margin-top: 12px; }
.section-heading h3, .flow-title h3 { font-size: 17px; }
.brand-mark, .desk-icon img, .break-illustration, .site-effect-thumb, .site-particle-mikan { image-rendering: pixelated; }
h1, h2, h3 { text-wrap: balance; }
@media (max-width: 620px) {
  h2 { font-size: 19px; }
  .hero .desk-note { margin: 0 4px 0 auto; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-demo-link { justify-content: space-between; }
  .hero-play button { flex: none; white-space: nowrap; }
  .hero-play > span:not(.sr-only) { background: none; padding: 0; }
  .real-screen-picker button { font-size: 13px; }
  .sample-sheet { grid-template-columns: minmax(0, 1fr); }
}

/* ---- mikan.scr ---- */
.saver { position: fixed; inset: 0; z-index: 9000; overflow: hidden; background: #161616; cursor: pointer; }
.saver:focus { outline: none; }
.saver-mikan { position: absolute; left: 0; top: 0; height: auto; image-rendering: pixelated; pointer-events: none; user-select: none; }
.saver-count, .saver-hint { position: absolute; left: 0; right: 0; margin: 0; color: #fffdf6; font: 13px var(--ui); text-align: center; }
.saver-count { bottom: 40px; }
.saver-hint { bottom: 16px; opacity: .6; }

/* ---- Android版（スマホ版.apk） ---- */
.button.secondary { background: var(--paper); color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: var(--paper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.download-android-pointer { margin-top: 14px; font: 12.5px/1.6 var(--ui); }
.android-copy h2 { margin-top: 6px; }
.android-copy > p { margin-top: 10px; font-size: 14px; line-height: 1.75; }
.android-copy .button { margin-top: 18px; }
.android-copy > .download-meta { margin-top: 12px; font: 12px var(--ui); color: var(--muted); }
.android-steps { margin-top: 18px; padding: 0; list-style: none; }
.android-steps li { display: flex; gap: 10px; padding: 12px 0; border-top: 1px dotted var(--ink); }
.android-steps li:first-child { border-top: 0; }
.android-steps li > span { flex: 0 0 22px; font: 15px/1.6 var(--ui); }
.android-steps li > span::after { content: "."; }
.android-steps strong { display: block; font-size: 15px; line-height: 1.6; }
.android-steps li p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.android-note { margin-top: 12px; font: 12px/1.6 var(--ui); color: var(--muted); }
/* 小さなスマホ：画像の上に押せる場所を重ねたデモ。 */
.android-gallery { display: grid; justify-items: center; gap: 14px; margin-top: 24px; }
.android-phone { width: min(296px, 80vw); padding: 8px; background: var(--ink); border-radius: 28px; box-shadow: 5px 5px 0 rgba(22, 22, 22, .35); }
.android-screen { position: relative; overflow: hidden; border-radius: 20px; background: var(--paper); aspect-ratio: 540 / 1075; }
.android-screen-img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.android-screen-img.is-from-right { animation: android-in-right .22s ease-out; }
.android-screen-img.is-from-left { animation: android-in-left .22s ease-out; }
.android-screen-img.is-from-fade { animation: android-fade .18s ease-out; }
@keyframes android-in-right { from { transform: translateX(28%); opacity: .3; } }
@keyframes android-in-left { from { transform: translateX(-28%); opacity: .3; } }
@keyframes android-fade { from { opacity: .35; } }
.android-spots { position: absolute; inset: 0; }
.android-spot { position: absolute; padding: 0; background: transparent; border: 0; border-radius: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .16s ease; }
.android-spot:hover { background: rgba(240, 138, 36, .16); }
.android-screen.is-hinting .android-spot { background: rgba(240, 138, 36, .18); box-shadow: inset 0 0 0 1px rgba(240, 138, 36, .48); }
.android-spot:focus-visible { outline: 2px dashed #f08a24; outline-offset: -2px; }
.android-ripple { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(22, 22, 22, .18); pointer-events: none; animation: android-ripple .4s ease-out forwards; }
@keyframes android-ripple { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.android-info { display: grid; gap: 8px; max-width: 340px; text-align: center; }
.android-hint { margin: 0; font: 14px/1.5 var(--ui); }
.android-hint b { font-weight: 400; }
.android-caption { display: grid; gap: 2px; margin: 0; font: 12.5px/1.5 var(--ui); }
.android-caption b { font-size: 14px; font-weight: 400; }
.android-caption span, .android-try { color: var(--muted); }
.android-try { margin: 0; font: 12px/1.6 var(--ui); }
.android-shots-note { margin: 0; font: 12px/1.6 var(--ui); color: var(--muted); }
.android-exclusives { margin-top: 28px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.android-exclusives-head h3 { font-size: 18px; }
.android-exclusives-head p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.android-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: stretch; }
.android-feature-card { display: flex; flex-direction: column; min-width: 0; border: 1.5px solid var(--ink); background: var(--paper); }
.android-feature-shot { margin: 0; background: var(--shade); border-bottom: 1.5px solid var(--ink); }
.android-feature-shot img { display: block; width: 100%; height: auto; }
.android-feature-text { padding: 12px 14px 14px; }
.android-feature-text h4 { margin: 0; font-family: var(--head, var(--ui)); font-size: 15px; line-height: 1.45; font-weight: 400; text-wrap: balance; }
.android-feature-text p { margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.android-feature-text .android-feature-meta { margin-top: 8px; font-size: 11.5px; line-height: 1.55; }
@media (max-width: 620px) {
  .hero-actions { gap: 12px; }
  .android-copy .button { width: 100%; justify-content: center; }
  .android-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ---- 締切よけ.exe ---- */
.dodge { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(22, 22, 22, .45); }
.dodge-window { display: flex; flex-direction: column; max-width: 100%; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.dodge-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-bottom: 1.5px solid var(--ink); }
.dodge-bar::before, .dodge-bar::after { content: ""; flex: 1; height: 13px; background: repeating-linear-gradient(to bottom, var(--ink) 0 1.5px, transparent 1.5px 4.5px); }
.dodge-close { order: -1; flex: none; width: 16px; height: 16px; padding: 0; background: var(--paper); border: 1.5px solid var(--ink); position: relative; }
.dodge-close::after { content: ""; position: absolute; inset: -12px; }
.dodge-close:hover, .dodge-close:focus-visible { background: var(--ink); outline: none; }
.dodge-title { font: 13px/1 var(--ui); white-space: nowrap; }
.dodge-bar::after { order: 2; }
.dodge-canvas { display: block; touch-action: none; cursor: crosshair; }
.dodge-canvas:focus { outline: none; }
.dodge-foot { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; border-top: 1.5px solid var(--ink); }
.dodge-start { flex: none; min-height: 40px; padding: 0 18px; background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); border-radius: 0; box-shadow: inset 2px 2px 0 #5a5a5a, inset -2px -2px 0 #000; font: 14px var(--ui); cursor: pointer; }
.dodge-start:hover, .dodge-start:focus-visible { background: #2e2e2e; color: var(--paper); outline: none; }
.dodge-start:active { box-shadow: inset 2px 2px 0 #000, inset -1px -1px 0 #5a5a5a; }
.dodge-status { margin: 0; font: 12px/1.5 var(--ui); }

.android-hint b::before { content: "↑ "; }
html.desk .android-hint b::before { content: "← "; }

/* 旧名 WadaPo からの案内（2026年11月の改名）。 */
.rename-note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.rename-banner { position: relative; z-index: 60; margin: 0; padding: 10px 44px 10px 16px; background: #fff7e6; border-bottom: 2px solid #1d1d1f; color: #1d1d1f; font-size: 14px; line-height: 1.6; }
.rename-banner[hidden] { display: none; }
.rename-banner-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 1.5px solid #1d1d1f; background: #fff; font: inherit; cursor: pointer; }
