/* Kanau の公開ページ共通のスタイル(説明書・サポート・プライバシー)。
   白を基調に、トップ(index.html)と同じ字と色(2026-10-24)。それまではアプリの暗い色を使っていた。 */

:root {
  color-scheme: light;

  --paper:    #ffffff;
  --ink:      #1b1b1f;
  --sub:      #55555c;
  --mute:     #6a6a72;   /* 白地で 5.36:1(4.5:1 を越える。2026-10-24 夜に #7a7a82 = 4.26:1 から) */
  --soft:     #f6f5f3;
  --soft2:    #efeeea;
  --rule:     #ececee;
  --edge:     #d9d8dc;

  /* 琥珀は飾り(点・線・印)にだけ。白地の上の字にすると薄すぎるので、字は濃い琥珀 */
  --amber:    #e9962f;
  --amberInk: #a65f0c;
  --red:      #d93a2b;
  --live:     #1f9d5c;
  --remote:   #1a8fb5;
  --off:      #7b5cc4;

  --radius:   16px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  max-width: 42rem;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ---- 見出し —— 軽い字で大きさの段を作る(トップの h1 と同じ考え) ---- */

h1 {
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 5rem 0 0.75rem;
  padding-top: 0.25rem;
}
h1:first-of-type { margin-top: 0; }

h2 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 3.25rem 0 0.6rem;
}

h3 {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 2.1rem 0 0.4rem;
  color: var(--sub);
}

p { margin: 0.9rem 0; }

/* 字の上下に印を積む言語は、行間を詰めない */
:lang(th), :lang(hi) { line-height: 1.9; }

strong { color: var(--ink); font-weight: 650; }

.sub {
  color: var(--mute);
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

/* ---- 題字と印 ---- */

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.25rem;
}
.brand img {
  width: 48px; height: 48px;
  border-radius: 12px;
  flex: none;
}
.brand h1 { margin: 0; }

/* ---- 行き先 ---- */

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(233,150,47,0.55);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-color: var(--amber); }

nav {
  display: flex; flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.75rem 0 2.75rem;
  font-size: 0.88rem;
}
nav a {
  white-space: nowrap;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--sub);
  text-decoration: none;
}
nav a:hover { background: var(--soft2); color: var(--ink); }

.top {
  display: block; text-align: end;
  font-size: 0.82rem; margin-top: 2.25rem;
  color: var(--mute);
  text-decoration: none;
}
.top:hover { color: var(--ink); }

/* ---- 表 ---- */

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.1rem 0 1.4rem;
  font-size: 0.93rem;
  display: block;
  overflow-x: auto;
}
th, td {
  border-bottom: 1px solid var(--rule);
  padding: 0.6rem 0.75rem;
  text-align: start;
  vertical-align: top;
}
th {
  color: var(--mute);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-bottom-color: var(--edge);
}
tr:last-child td { border-bottom: 0; }
th:first-child, td:first-child { padding-inline-start: 0; }

@media (max-width: 620px) {
  th, td { padding: 0.6rem 0.55rem; }
  table { font-size: 0.9rem; }
}

/* ---- 画面の言葉 ---- */

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  background: var(--soft);
  color: var(--ink);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  white-space: nowrap;
}
/* 画面の文を丸ごと引いたものは折り返す。札は nowrap のまま(割れると画面で探せない) */
code.q { white-space: normal; overflow-wrap: break-word; }

pre {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  overflow-x: auto;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--sub);
}
pre code { background: none; padding: 0; color: inherit; }

blockquote {
  margin: 1rem 0;
  padding-block: 0.1rem;
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--amber);
  color: var(--sub);
}

hr { border: 0; border-top: 1px solid var(--rule); margin: 3.5rem 0; }

ul, ol { padding-inline-start: 1.3rem; }
li { margin: 0.4rem 0; }
li::marker { color: var(--amber); }

/* ---- 画面写真 ---- */

figure.shot { margin: 2rem 0 2.5rem; }

figure.shot .wrap {
  position: relative;
  display: inline-block;
  max-width: 300px;
  border-radius: 22px;
  overflow: hidden;
  border: 6px solid #141417;
  box-shadow: 0 28px 56px -18px rgba(27,27,31,0.28), 0 8px 20px -8px rgba(27,27,31,0.12);
}
figure.shot img { display: block; width: 100%; height: auto; }

figure.shot .pin {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 1.5rem; height: 1.5rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 700 0.85rem/1.5rem -apple-system, sans-serif;
  text-align: center;
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,0.45);
}

figure.shot figcaption {
  font-size: 0.86rem;
  color: var(--mute);
  margin: 0.8rem 0 0;
  max-width: 34rem;
}

figure.shot ul.pins {
  list-style: none; padding: 0;
  margin: 1rem 0 0;
  font-size: 0.93rem;
}
figure.shot ul.pins li {
  margin: 0.45rem 0;
  padding-inline-start: 2.1rem;
  text-indent: -2.1rem;
  color: var(--sub);
}
figure.shot ul.pins b {
  display: inline-block;
  width: 1.5rem; height: 1.5rem;
  margin-inline-end: 0.6rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.85rem; line-height: 1.5rem;
  text-align: center; text-indent: 0;
  font-weight: 700;
}

/* ---- 入口の一覧(サポート・プライバシーの頁) ---- */

.links { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.links li { margin: 0.6rem 0; }
.links a {
  display: block;
  padding: 0.9rem 1.2rem;
  background: var(--soft);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}
.links a:hover { background: var(--soft2); }

@media (max-width: 480px) {
  body { padding: 2rem 1.1rem 4.5rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.22rem; }
  .brand img { width: 42px; height: 42px; }
}

/* ---- 頭 ---- */

.hero { margin-bottom: 2.75rem; scroll-margin-top: 3.5rem; }
.hero h1 { font-size: 2.6rem; font-weight: 300; margin: 0; letter-spacing: -0.03em; }
.kicker { margin: 0.15rem 0 0; color: var(--mute);
          font-size: 0.9rem; letter-spacing: 0.04em; }
.hero .sub { margin: 1.1rem 0 0; color: var(--sub); font-size: 1rem; line-height: 1.65; }
.appnote { margin: 0.7rem 0 0; color: var(--mute); font-size: 0.85rem;
           border-inline-start: 2px solid var(--rule); padding-inline-start: 0.7rem; }
.ver { color: var(--mute); font-size: 0.8rem; margin: 1.25rem 0 0; }

.doors { display: grid; gap: 0.6rem; margin: 1.9rem 0 1rem;
         grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.door { display: block; padding: 1rem 1.2rem;
        background: var(--soft); border-radius: var(--radius); color: var(--ink);
        text-decoration: none; }
.door b { display: block; font-size: 1rem; font-weight: 500; }
.door span { display: block; color: var(--mute); font-size: 0.85rem; margin-top: 0.15rem; }
.door:hover { background: var(--soft2); }

.adv { font-size: 0.86rem; color: var(--mute); margin: 0.4rem 0 0; }
.adv a { margin-inline-end: 0.9rem; white-space: nowrap; color: var(--mute); }
.adv a:hover { color: var(--ink); }
.owner { margin-top: 3.5rem; }

/* 説明書の目次 —— 番号・章の名前・一行(2026-10-31、「もう少しわかりやすいホームが欲しい」) */
.hero .findbar { margin: 1.9rem 0 0; }
.hero .doors { margin: 0.8rem 0 0; }
nav.chapters { display: block; margin: 0 0 1rem; font-size: 1rem;
               border-top: 1px solid var(--rule); }
nav.chapters a.chap { display: grid; grid-template-columns: 2.2rem 1fr; align-content: start;
                      padding: 0.75rem 0.6rem; background: none;
                      border-bottom: 1px solid var(--rule); border-radius: 0;
                      color: var(--ink); white-space: normal; text-decoration: none; }
nav.chapters a.chap:hover { background: var(--soft); border-radius: 12px; }
.chap .n { grid-row: 1 / span 2; color: var(--mute); font-size: 0.85rem;
           font-variant-numeric: tabular-nums; padding-top: 0.15rem; }
.chap b { font-weight: 500; }
.chap .d { color: var(--mute); font-size: 0.85rem; line-height: 1.5; margin-top: 0.15rem; }
.chap .d { text-wrap: pretty; display: -webkit-box; -webkit-box-orient: vertical;
           -webkit-line-clamp: 3; overflow: hidden; }
:lang(ja) .chap b, :lang(ja) .chap .d { word-break: auto-phrase; }
:lang(ko) .chap b, :lang(ko) .chap .d { word-break: keep-all; }
nav.chapters + .ver { margin: 0 0 3rem; }
nav.chapters + .ver a { color: var(--mute); }

/* ---- 検索 ---- */

.findbar { position: relative; margin: 0 0 1.75rem; }
#q { width: 100%; padding: 0.75rem 1.1rem;
     background: var(--soft); color: var(--ink);
     border: 1px solid transparent; border-radius: 999px;
     font: 16px/1.4 var(--font); }
#q:focus { outline: none; border-color: var(--edge); background: #fff; }
#q::placeholder { color: var(--mute); }

#results { position: absolute; z-index: 40; inset-inline: 0; top: calc(100% + 0.5rem);
           max-height: 60vh; overflow-y: auto;
           background: #fff; border: 1px solid var(--rule);
           border-radius: var(--radius); box-shadow: 0 20px 40px -12px rgba(27,27,31,0.18); }
#results a { display: block; padding: 0.6rem 1.1rem; color: var(--ink); text-decoration: none;
             border-bottom: 1px solid var(--rule); font-size: 0.93rem; }
#results a:last-child { border-bottom: 0; }
#results a:hover { background: var(--soft); }
#results a span { display: block; color: var(--mute); font-size: 0.8rem; }
#results .none { padding: 0.8rem 1.1rem; color: var(--mute); margin: 0; font-size: 0.9rem; }

/* ---- 上に貼りつく帯(スマートフォン) ---- */

.stickybar { display: none; }
@media (max-width: 620px) {
  .stickybar { display: flex; gap: 0.4rem; align-items: center;
               position: sticky; top: 0; z-index: 50;
               margin: -2rem -1.1rem 1.4rem; padding: 0.55rem 1.1rem;
               background: rgba(255,255,255,0.88);
               -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
               border-bottom: 1px solid var(--rule); }
  .stickybar a, .stickybar button {
    padding: 0.3rem 0.65rem; border-radius: 999px;
    background: var(--soft); border: 0;
    color: var(--sub); font-size: 0.85rem; font-family: inherit; cursor: pointer;
    text-decoration: none; white-space: nowrap; }
  .stickybar button { flex: none; }
  .stickybar .home { display: inline-flex; align-items: center; gap: 0.4rem;
                     padding: 0.35rem 0.7rem; font-size: 0.92rem; font-weight: 500;
                     color: var(--ink); flex: none; }
  .stickybar .home img { width: 19px; height: 19px; border-radius: 5px; flex: none; }
  .stickybar button, .stickybar .trouble { padding: 0.3rem 0.55rem; }
  @media (max-width: 360px) { .stickybar .home .lbl { display: none; } }   /* 狭い画面は「↑」だけ */
  .stickybar .trouble { margin-inline-start: auto; color: var(--ink);
                        min-width: 0; overflow: hidden;
                        text-overflow: ellipsis; white-space: nowrap; }
  .stickybar .lang { min-width: 0; }
  .brand .lang { display: none; }
  .stickybar .lang select { padding: 0.3rem 0.45rem; font-size: 0.8rem;
                            max-width: 6.4rem; }
}

/* ---- 章 ---- */

.chapter { scroll-margin-top: 3.5rem; }
.chapter + .chapter { border-top: 1px solid var(--rule); margin-top: 4rem; padding-top: 1rem; }
h1, h2, h3 { scroll-margin-top: 3.5rem; }

p.lead { color: var(--sub); font-size: 1.05rem; margin: 0.5rem 0 1.75rem; }

.next { margin: 2.75rem 0 0; padding: 1rem 1.2rem;
        background: var(--soft); border-radius: var(--radius); }
.next b { display: block; color: var(--mute); font-size: 0.76rem; font-weight: 500;
          letter-spacing: 0.08em; margin-bottom: 0.35rem; }
.next ul { list-style: none; padding: 0; margin: 0; }
.next li { margin: 0.25rem 0; font-size: 0.93rem; }

a.xref { white-space: nowrap; }

/* 「次に読む」は行ぜんぶが押せる。字は本文の色、行き先(章)だけを濃い琥珀に */
.next li a.nextline { display: block; color: var(--ink);
                      padding: 0.55rem 0; text-decoration: none; }
.next li a.nextline .xref { color: var(--amberInk); white-space: nowrap; }
.next li a.nextline:hover .xref { text-decoration: underline; }

/* ---- NOTE / IMPORTANT / WARNING ---- */

.box { margin: 1.4rem 0; padding: 0.95rem 1.2rem;
       border-radius: var(--radius); background: var(--soft);
       border-inline-start: 3px solid var(--edge); }
.box b { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.box p { margin: 0; font-size: 0.95rem; color: var(--sub); }
.box.note      { border-inline-start-color: var(--remote); }
.box.note b    { color: var(--remote); }
.box.important { border-inline-start-color: var(--amber); }
.box.important b { color: var(--amberInk); }
.box.warning   { border-inline-start-color: var(--red); background: #fdf2f0; }
.box.warning b { color: var(--red); }
.box.warning p { color: var(--ink); }

/* ---- 言語の切り替え ---- */

.brand { position: relative; }
.brand .lang {
  margin-inline-start: auto; align-self: flex-start;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  background: var(--soft); color: var(--sub); font-size: 0.82rem; white-space: nowrap;
  text-decoration: none;
}
.brand .lang:hover { background: var(--soft2); color: var(--ink); }

/* ---- 頭の Instagram ---- */
.social { margin: 0.1rem 0 0.9rem; }
.social .ig {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.75rem; border-radius: 999px;
  background: var(--soft); color: var(--sub); font-size: 0.85rem; white-space: nowrap;
  text-decoration: none;
}
.social .ig:hover { background: var(--soft2); color: var(--ink); }
.social .ig svg { flex: none; }


/* ---- RTL の土台 —— 意味のある方向は論理プロパティで書く。
   物理方向に意味があるもの(画面写真の中の番号の位置、Pan Left / Right)は反転させない ---- */

.box { border-inline-start-style: solid; }

code, pre, .ver { unicode-bidi: isolate; }
[dir="rtl"] code, [dir="rtl"] pre { direction: ltr; text-align: start; }

figure.shot .wrap { direction: ltr; }

.lang select {
  background: var(--soft); color: var(--sub);
  border: 0; border-radius: 999px;
  padding: 0.3rem 0.65rem; font: inherit; font-size: 0.85rem; cursor: pointer;
}
.lang select:hover { background: var(--soft2); color: var(--ink); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden;
      clip-path: inset(50%); white-space: nowrap; }

/* サポート・プライバシーの頁の言語の選び(23 言語)。説明書の .lang と違い、スマホでも畳まない */
.pagelang { display: flex; justify-content: flex-end; margin-bottom: 0.75rem; }   /* 題の上、行の終わりに置く(題の長さに押されない) */
.hero .brand > div { min-width: 0; }
.hero .brand h1 { hyphens: auto; overflow-wrap: break-word; }   /* 1 語の長い題(Datenschutzerklärung)も枠の中で折る */
.pagelang select {
  background: var(--soft); color: var(--sub);
  border: 0; border-radius: 999px;
  padding: 0.3rem 0.65rem; font: inherit; font-size: 0.85rem; cursor: pointer; max-width: 9rem;
}
.pagelang select:hover { background: var(--soft2); color: var(--ink); }

/* ---- 組版(2026-10-24) ----
   見出しは行の長さを揃え、段落は最後の行に 1 語だけ落とさない。日本語・中国語は禁則を厳しく、
   日本語は語の切れ目で折る(対応するブラウザだけ)。韓国語は語の中で折らない。 */
h1, h2, h3, .hero .sub, p.lead, figcaption { text-wrap: balance; }
p, li, td, .box p { text-wrap: pretty; }
:lang(ja), :lang(zh-Hans), :lang(zh-Hant) { line-break: strict; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { font-feature-settings: "palt"; letter-spacing: .02em; }
/* 文節で折るのは見出しと短い添え書きだけ。本文は字の境目で折る(右端が揃い、長い英語の札の並びでもはみ出さない) */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) figcaption { word-break: auto-phrase; }
:lang(ko) p, :lang(ko) li, :lang(ko) td, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { word-break: keep-all; overflow-wrap: break-word; }
.nw { white-space: nowrap; }

/* ---- 灯体の一覧(fixtures*.html、2026-10-24) ---- */
.fxfind { margin: 1.5rem 0 1.25rem; }
.fxfind input { width: 100%; font: inherit; font-size: 1rem; padding: 0.7rem 1rem; border-radius: 999px;
  border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.fxfind input:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: transparent; }
.fxmaker { border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.fxmaker:last-of-type { border-bottom: 1px solid var(--rule); }
.fxmaker summary { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.85rem 0.15rem; cursor: pointer;
  list-style: none; font-size: 1.05rem; font-weight: 500; }
.fxmaker summary::-webkit-details-marker { display: none; }
.fxmaker summary::after { content: ""; margin-inline-start: auto; align-self: center; width: 0.5rem; height: 0.5rem;
  border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: rotate(45deg) translateY(-0.15rem);
  transition: transform .15s; }
.fxmaker[open] summary::after { transform: rotate(-135deg) translateY(-0.1rem); }
.fxmaker summary:hover .fxname { color: var(--amber); }
.fxn { font-size: 0.8rem; font-weight: 400; color: var(--mute); font-variant-numeric: tabular-nums; }
.fxmaker .fxlist { margin: 0 0 1.1rem; }
.fxlist { list-style: none; padding: 0; columns: 2 14rem; column-gap: 2rem; }
.fxlist li { break-inside: avoid; padding: 0.28rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; text-wrap: wrap; }
.fxlist li { margin: 0; }
.fxalso { display: block; font-size: 0.8rem; color: var(--mute); }
.fxnote { margin-top: 2.5rem; color: var(--mute); font-size: 0.85rem; }
.fxnone { color: var(--mute); }
.fxgeneric { margin: 0 0 0.6rem; color: var(--sub); font-size: 0.9rem; }

/* ---- サイトの頭と足(2026-10-25「説明書とホームページのシームレスなつながり」) ----
   トップ(home.css の nav / footer)と同じ並び・同じ大きさ。chrome.py が書く */
.sitenav { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem;
           flex-wrap: wrap; margin: -1.5rem 0 2.5rem; }
.sitebrand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 18px;
             color: var(--ink); text-decoration: none; }
.sitebrand img { width: 28px; height: 28px; border-radius: 7px; }
.sitenavr { display: flex; align-items: center; gap: 0.5rem 1.4rem; flex-wrap: wrap; }
.sitelinks { display: flex; gap: 0.35rem 1.4rem; flex-wrap: wrap; font-size: 14px; }
.sitelinks a { color: var(--mute); text-decoration: none; white-space: nowrap; }
.sitelinks a:hover, .sitelinks a[aria-current="page"] { color: var(--ink); }
.sitelinks a[aria-current="page"] { box-shadow: inset 0 -1.5px 0 var(--amber); }
.sitenav select { background: transparent; border: 0; padding: 4px 2px; font: inherit; font-size: 14px;
                  color: var(--mute); cursor: pointer; max-width: 9.5em; }
.sitenav select:hover { color: var(--ink); }
.sitenav .lang, .sitenav .langsel { display: inline-block; }
.sitefoot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
            margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
            font-size: 13px; color: var(--mute); }
.sitefootl { display: flex; gap: 22px; flex-wrap: wrap; }
.sitefoot a { color: var(--mute); text-decoration: none; }
.sitefoot a:hover { color: var(--ink); }
@media (max-width: 620px) {
  /* スマホ: 印と言語を 1 行目に、行き先を 2 行目に(トップと同じ形) */
  .sitenav { margin: -1.5rem 0 1.25rem; }
  .sitenavr { display: contents; }
  .sitenav .lang, .sitenav .langsel { order: 2; margin-inline-start: auto; }
  .sitelinks { order: 3; width: 100%; gap: 4px 20px; }
  /* 説明書では、言語の選びは貼りつく帯に任せる(上で 2 つ並ばないように) */
  body:has(.stickybar) .sitenav .lang { display: none; }
  .sitenav + .stickybar { margin-top: 0; }
}
/* 広い画面では、頭と足をトップと同じ幅(1080px − 両側 32px)に広げる。本文の細い列の外へ出す —— 頁を移っても印の位置が動かない */
@media (min-width: 621px) {
  /* 両側の余白を同じだけ負にする —— 右から左の頁(アラビア語)でもずれない(left + transform は RTL で 72px ずれた) */
  .sitenav, .sitefoot { --w: min(1016px, calc(100vw - 64px));
                        width: var(--w); margin-inline: calc((100% - var(--w)) / 2); }
}
/* 題の長い 1 語(Datenschutzerklärung など)も枠の中で折る。頭を共通にしたとき、題が .brand の外へ出て前の指定が外れた */
.hero h1 { hyphens: auto; overflow-wrap: break-word; }
/* 目次の札は、長い章名(10 Vergrendelingen, veiligheid)なら札の中で折る。1 行のままだと 320px の画面を越えた */
nav a { max-width: 100%; }
@media (max-width: 380px) { nav a { white-space: normal; } }
/* 長い字の札(code)も、狭い画面では札の中で折る(中国語の説明書で 320px を 21px 越えた) */
@media (max-width: 380px) { p code, li code { overflow-wrap: anywhere; } }
/* 中国語の「DIM、COLOR、PIXELS、FX」のような英字と読点の並びは禁則で折れず、320px を越えた。収まらないときだけ字の途中で折る */
:lang(zh-Hans) p, :lang(zh-Hans) li, :lang(zh-Hant) p, :lang(zh-Hant) li { overflow-wrap: anywhere; }

/* ---- 字(2026-10-25「マック以外の人にも、iPhone 以外のスマートフォンの人にもみやすいサイトに」) ----
   日本語・韓国語・中国語に、Android の Noto と Windows のメイリオ・Malgun Gothic・Microsoft YaHei / JhengHei を足す
   (ヒラギノだけだと、Windows と Android では字がブラウザ任せになっていた)。
   足した字はすべてヒラギノの後ろ —— Mac・iPhone は今までと同じ順で同じ字を選ぶ(「Mac や iPhone での見え方は変えてない?」) */
body:lang(ja) { font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", "Meiryo", "Helvetica Neue", Arial, sans-serif; }
body:lang(ko) { font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif; }
body:lang(zh-Hans) { font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; }
body:lang(zh-Hant) { font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif; }
/* 折りたたみスマホの閉じた画面(280px)で、説明書の帯の言語の選びが 4〜20px はみ出した(スペイン語・フランス語など) */
@media (max-width: 400px) { .stickybar .lang select { max-width: 5.4rem; } }   /* nl の「Handleiding・Problemen」で 4px はみ出した */
@media (max-width: 300px) { .stickybar .lang select { max-width: 4.6rem; } .stickybar { gap: 0.25rem; } }

/* 日本語は jbreak.js が文節の間に <wbr> を置き、html に .jb を付ける。付いたら字の間では折らない ——
   Chrome の auto-phrase と Safari の字の間の折り返しを揃える(2026-10-31)。入らない長さの文節だけは枠の端で折る */
html.jb.jb.jb.jb body, html.jb.jb.jb.jb body * { word-break: keep-all; overflow-wrap: break-word; }   /* :lang(ja) .chap .d の auto-phrase(0,3,0)より強く —— 混ざると Chrome だけ「割り|当て」と割れた */
html.jb.jb.jb.jb code, html.jb.jb.jb.jb pre { word-break: normal; }
th, .chap b, .door b { text-wrap: balance; }
/* 長い語(フィンランド語・ドイツ語)は表の升の中で音節で折る。折れないと 3 列の表が画面の 1.3 倍に広がった */
/* 英語では「show-ing」「Moni-tor」と短い語まで割れたので、長い複合語の言語だけ、10 字以上の語だけを割る */
:lang(de) td, :lang(fi) td, :lang(nl) td, :lang(sv) td, :lang(da) td, :lang(no) td, :lang(pl) td, :lang(cs) td, :lang(tr) td,
:lang(id) td, :lang(it) td, :lang(es) td, :lang(pt-BR) td, :lang(fr) td {
  hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
/* 1 語の長い題(Datenschutzerklärung)を、スマホでは字を小さくして 1 行に収める */
@media (max-width: 480px) { .hero h1 { font-size: clamp(1.75rem, 8.4vw, 2.6rem); } }
th { white-space: normal; }   /* 1 行に縛ると、スマホで表が画面より広くなる(英語でも)。日本語・中国語は jbreak.js が語で折る */
html:lang(ko) body { word-break: keep-all; overflow-wrap: break-word; }
